Compare commits
8 Commits
implement-
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 1c62bf5edd | |||
| 797a803ddd | |||
| 2feefafb97 | |||
| 2a197f8475 | |||
| eaea181469 | |||
| 5c9c3e6f8d | |||
| 0a9bbfa062 | |||
| 1e962b31be |
@@ -14,7 +14,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|||||||
* Describes the file accounts/v1/accounts_v1.proto.
|
* Describes the file accounts/v1/accounts_v1.proto.
|
||||||
*/
|
*/
|
||||||
export const file_accounts_v1_accounts_v1: GenFile = /*@__PURE__*/
|
export const file_accounts_v1_accounts_v1: GenFile = /*@__PURE__*/
|
||||||
fileDesc("Ch1hY2NvdW50cy92MS9hY2NvdW50c192MS5wcm90bxILYWNjb3VudHMudjEiIwoPQWNjb3VudFBhc3N3b3JkEhAKCHBhc3N3b3JkGAEgASgJIioKC0FjY291bnREYXRhEgwKBG5hbWUYASABKAkSDQoFZW1haWwYAiABKAkiZwoNU2lnblVwUmVxdWVzdBImCgRkYXRhGAEgASgLMhguYWNjb3VudHMudjEuQWNjb3VudERhdGESLgoIcGFzc3dvcmQYAiABKAsyHC5hY2NvdW50cy52MS5BY2NvdW50UGFzc3dvcmQiLwoNU2lnbkluUmVxdWVzdBIMCgRjb2RlGAEgASgJEhAKCHZlcmlmaWVyGAIgASgJIj4KFFJlc2V0UGFzc3dvcmRSZXF1ZXN0EiYKBGRhdGEYASABKAsyGC5hY2NvdW50cy52MS5BY2NvdW50RGF0YSJ6ChJOZXdQYXNzd29yZFJlcXVlc3QSJgoEZGF0YRgBIAEoCzIYLmFjY291bnRzLnYxLkFjY291bnREYXRhEi4KCHBhc3N3b3JkGAIgASgLMhwuYWNjb3VudHMudjEuQWNjb3VudFBhc3N3b3JkEgwKBGNvZGUYAyABKAkiQAoWSXNFbWFpbFZlcmlmaWVkUmVxdWVzdBImCgRkYXRhGAEgASgLMhguYWNjb3VudHMudjEuQWNjb3VudERhdGEiKwoXSXNFbWFpbFZlcmlmaW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AoWSXNFbWFpbFZlcmlmaWVkUmVxdWVzdBImCgRkYXRhGAEgASgLMhguYWNjb3VudHMudjEuQWNjb3VudERhdGEiKwoXSXNFbWFpbFZlcmlmaWVkUmVzcG9uc2USEAoIdmVyaWZpZWQYASABKAgiKQoTUmVmcmVzaFRva2VuUmVxdWVzdBISCgpzZXNzaW9uX2lkGAEgASgJMpcBChVQdWJsaWNBY2NvdW50c1NlcnZpY2USPgoGU2lnbkluEhouYWNjb3VudHMudjEuU2lnbkluUmVxdWVzdBoWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eSIAEj4KBlNpZ25VcBIaLmFjY291bnRzLnYxLlNpZ25VcFJlcXVlc3QaFi5nb29nbGUucHJvdG9idWYuRW1wdHkiADL9AQoPQWNjb3VudHNTZXJ2aWNlEl4KD0lzRW1haWxWZXJpZmllZBIjLmFjY291bnRzLnYxLklzRW1haWxWZXJpZmllZFJlcXVlc3QaJC5hY2NvdW50cy52MS5Jc0VtYWlsVmVyaWZpZWRSZXNwb25zZSIAEkIKDlJlZnJlc2hTZXNzaW9uEhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5GhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5IgASRgoSVG9rZW5BdXRob3JpemF0aW9uEhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5GhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5IgBCSVpHZ2l0ZWEuYmFkaG91c2VwbGFudHMubmV0L3NvZnRwbGF5ZXIvc29mdHBsYXllci1nby1wcm90by9wa2cvYWNjb3VudHMvdjFiBnByb3RvMw", [file_google_protobuf_empty]);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @generated from message accounts.v1.AccountPassword
|
* @generated from message accounts.v1.AccountPassword
|
||||||
@@ -64,14 +64,14 @@ export const AccountDataSchema: GenMessage<AccountData> = /*@__PURE__*/
|
|||||||
*/
|
*/
|
||||||
export type SignUpRequest = Message<"accounts.v1.SignUpRequest"> & {
|
export type SignUpRequest = Message<"accounts.v1.SignUpRequest"> & {
|
||||||
/**
|
/**
|
||||||
* @generated from field: accounts.v1.AccountData data = 1;
|
* @generated from field: string email = 1;
|
||||||
*/
|
*/
|
||||||
data?: AccountData | undefined;
|
email: string;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @generated from field: accounts.v1.AccountPassword password = 2;
|
* @generated from field: string password = 2;
|
||||||
*/
|
*/
|
||||||
password?: AccountPassword | undefined;
|
password: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -86,14 +86,14 @@ export const SignUpRequestSchema: GenMessage<SignUpRequest> = /*@__PURE__*/
|
|||||||
*/
|
*/
|
||||||
export type SignInRequest = Message<"accounts.v1.SignInRequest"> & {
|
export type SignInRequest = Message<"accounts.v1.SignInRequest"> & {
|
||||||
/**
|
/**
|
||||||
* @generated from field: string code = 1;
|
* @generated from field: string email = 1;
|
||||||
*/
|
*/
|
||||||
code: string;
|
email: string;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @generated from field: string verifier = 2;
|
* @generated from field: string password = 2;
|
||||||
*/
|
*/
|
||||||
verifier: string;
|
password: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -181,38 +181,61 @@ export type IsEmailVerifiedResponse = Message<"accounts.v1.IsEmailVerifiedRespon
|
|||||||
export const IsEmailVerifiedResponseSchema: GenMessage<IsEmailVerifiedResponse> = /*@__PURE__*/
|
export const IsEmailVerifiedResponseSchema: GenMessage<IsEmailVerifiedResponse> = /*@__PURE__*/
|
||||||
messageDesc(file_accounts_v1_accounts_v1, 7);
|
messageDesc(file_accounts_v1_accounts_v1, 7);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @generated from message accounts.v1.RefreshTokenRequest
|
||||||
|
*/
|
||||||
|
export type RefreshTokenRequest = Message<"accounts.v1.RefreshTokenRequest"> & {
|
||||||
|
/**
|
||||||
|
* @generated from field: string session_id = 1;
|
||||||
|
*/
|
||||||
|
sessionId: string;
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Describes the message accounts.v1.RefreshTokenRequest.
|
||||||
|
* Use `create(RefreshTokenRequestSchema)` to create a new message.
|
||||||
|
*/
|
||||||
|
export const RefreshTokenRequestSchema: GenMessage<RefreshTokenRequest> = /*@__PURE__*/
|
||||||
|
messageDesc(file_accounts_v1_accounts_v1, 8);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* *
|
* *
|
||||||
* Service for handling accounts that do not require authentication
|
* Service for handling accounts that do not require authentication
|
||||||
*
|
*
|
||||||
* @generated from service accounts.v1.AccountsNoAuthService
|
* @generated from service accounts.v1.PublicAccountsService
|
||||||
*/
|
*/
|
||||||
export const AccountsNoAuthService: GenService<{
|
export const PublicAccountsService: GenService<{
|
||||||
/**
|
/**
|
||||||
* Sing in into an existing account
|
* Sing in into an existing account
|
||||||
*
|
*
|
||||||
* @generated from rpc accounts.v1.AccountsNoAuthService.SignIn
|
* @generated from rpc accounts.v1.PublicAccountsService.SignIn
|
||||||
*/
|
*/
|
||||||
signIn: {
|
signIn: {
|
||||||
methodKind: "unary";
|
methodKind: "unary";
|
||||||
input: typeof SignInRequestSchema;
|
input: typeof SignInRequestSchema;
|
||||||
output: typeof EmptySchema;
|
output: typeof EmptySchema;
|
||||||
},
|
},
|
||||||
|
/**
|
||||||
|
* Create a new account
|
||||||
|
*
|
||||||
|
* @generated from rpc accounts.v1.PublicAccountsService.SignUp
|
||||||
|
*/
|
||||||
|
signUp: {
|
||||||
|
methodKind: "unary";
|
||||||
|
input: typeof SignUpRequestSchema;
|
||||||
|
output: typeof EmptySchema;
|
||||||
|
},
|
||||||
}> = /*@__PURE__*/
|
}> = /*@__PURE__*/
|
||||||
serviceDesc(file_accounts_v1_accounts_v1, 0);
|
serviceDesc(file_accounts_v1_accounts_v1, 0);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* *
|
* @generated from service accounts.v1.AccountsService
|
||||||
* Service for handling accounts that do require authentication
|
|
||||||
* Tokens should be sent via metadata, so the service is able to authenticate a user for a request
|
|
||||||
*
|
|
||||||
* @generated from service accounts.v1.AccountsAuthService
|
|
||||||
*/
|
*/
|
||||||
export const AccountsAuthService: GenService<{
|
export const AccountsService: GenService<{
|
||||||
/**
|
/**
|
||||||
* Is email for the current account verified
|
* Is email for the current account verified
|
||||||
*
|
*
|
||||||
* @generated from rpc accounts.v1.AccountsAuthService.IsEmailVerified
|
* @generated from rpc accounts.v1.AccountsService.IsEmailVerified
|
||||||
*/
|
*/
|
||||||
isEmailVerified: {
|
isEmailVerified: {
|
||||||
methodKind: "unary";
|
methodKind: "unary";
|
||||||
@@ -220,9 +243,19 @@ export const AccountsAuthService: GenService<{
|
|||||||
output: typeof IsEmailVerifiedResponseSchema;
|
output: typeof IsEmailVerifiedResponseSchema;
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* @generated from rpc accounts.v1.AccountsAuthService.RefreshToken
|
* @generated from rpc accounts.v1.AccountsService.RefreshSession
|
||||||
*/
|
*/
|
||||||
refreshToken: {
|
refreshSession: {
|
||||||
|
methodKind: "unary";
|
||||||
|
input: typeof EmptySchema;
|
||||||
|
output: typeof EmptySchema;
|
||||||
|
},
|
||||||
|
/**
|
||||||
|
* Authorize using long living tokens
|
||||||
|
*
|
||||||
|
* @generated from rpc accounts.v1.AccountsService.TokenAuthorization
|
||||||
|
*/
|
||||||
|
tokenAuthorization: {
|
||||||
methodKind: "unary";
|
methodKind: "unary";
|
||||||
input: typeof EmptySchema;
|
input: typeof EmptySchema;
|
||||||
output: typeof EmptySchema;
|
output: typeof EmptySchema;
|
||||||
|
|||||||
@@ -1,369 +0,0 @@
|
|||||||
/// This file has messages for describing applications
|
|
||||||
|
|
||||||
// @generated by protoc-gen-es v2.12.0 with parameter "target=ts"
|
|
||||||
// @generated from file applications/v1/applications_v1.proto (package applications, syntax proto3)
|
|
||||||
/* eslint-disable */
|
|
||||||
|
|
||||||
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
||||||
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
||||||
import type { EmptySchema } from "@bufbuild/protobuf/wkt";
|
|
||||||
import { file_google_protobuf_empty } from "@bufbuild/protobuf/wkt";
|
|
||||||
import type { Message } from "@bufbuild/protobuf";
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Describes the file applications/v1/applications_v1.proto.
|
|
||||||
*/
|
|
||||||
export const file_applications_v1_applications_v1: GenFile = /*@__PURE__*/
|
|
||||||
fileDesc("CiVhcHBsaWNhdGlvbnMvdjEvYXBwbGljYXRpb25zX3YxLnByb3RvEgxhcHBsaWNhdGlvbnMiFwoHT3duZXJJZBIMCgR1dWlkGAEgASgJIhYKBVRva2VuEg0KBXRva2VuGAEgASgJIr4BCg1DcmVhdGVPcHRpb25zEjMKCG1ldGFkYXRhGAEgASgLMiEuYXBwbGljYXRpb25zLkFwcGxpY2F0aW9uTWV0YWRhdGESKwoEc3BlYxgCIAEoCzIdLmFwcGxpY2F0aW9ucy5BcHBsaWNhdGlvblNwZWMSJwoIb3duZXJfaWQYAyABKAsyFS5hcHBsaWNhdGlvbnMuT3duZXJJZBIiCgV0b2tlbhgEIAEoCzITLmFwcGxpY2F0aW9ucy5Ub2tlbiLnAQoNVXBkYXRlT3B0aW9ucxInCgJpZBgBIAEoCzIbLmFwcGxpY2F0aW9ucy5BcHBsaWNhdGlvbklkEjMKCG1ldGFkYXRhGAIgASgLMiEuYXBwbGljYXRpb25zLkFwcGxpY2F0aW9uTWV0YWRhdGESKwoEc3BlYxgDIAEoCzIdLmFwcGxpY2F0aW9ucy5BcHBsaWNhdGlvblNwZWMSJwoIb3duZXJfaWQYBCABKAsyFS5hcHBsaWNhdGlvbnMuT3duZXJJZBIiCgV0b2tlbhgFIAEoCzITLmFwcGxpY2F0aW9ucy5Ub2tlbiK6AQoNRGVsZXRlT3B0aW9ucxInCgJpZBgBIAEoCzIbLmFwcGxpY2F0aW9ucy5BcHB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syIS5hcHBsaWNhdGlvbnMuQXBwbGljYXRpb25NZXRhZGF0YRIrCgRzcGVjGAIgASgLMh0uYXBwbGljYXRpb25zLkFwcGxpY2F0aW9uU3BlYxInCgJpZBgDIAEoCzIbLmFwcGxpY2F0aW9ucy5BcHBsaWNhdGlvbklkMucCCgxBcHBsaWNhdGlvbnMSRgoGQ3JlYXRlEhsuYXBwbGljYXRpb25zLkNyZWF0ZU9wdGlvbnMaHS5hcHBsaWNhdGlvbnMuQXBwbGljYXRpb25GdWxsIgASRgoGVXBkYXRlEhsuYXBwbGljYXRpb25zLlVwZGF0ZU9wdGlvbnMaHS5hcHBsaWNhdGlvbnMuQXBwbGljYXRpb25GdWxsIgASPwoGRGVsZXRlEhsuYXBwbGljYXRpb25zLkRlbGV0ZU9wdGlvbnMaFi5nb29nbGUucHJvdG9idWYuRW1wdHkiABJACgNHZXQSGC5hcHBsaWNhdGlvbnMuR2V0T3B0aW9ucxodLmFwcGxpY2F0aW9ucy5BcHBsaWNhdGlvbkZ1bGwiABJECgRMaXN0EhkuYXBwbGljYXRpb25zLkxpc3RPcHRpb25zGh0uYXBwbGljYXRpb25zLkFwcGxpY2F0aW9uRnVsbCIAMAFCSlpIZ2l0ZWEuYmFkaG91c2VwbGFudHMubmV0L3NvZnRwbGF5ZXIvc29mdHBsYXllci1nby1wcm90by9wa2cvYXBwbGljYXRpb25zYgZwcm90bzM", [file_google_protobuf_empty]);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message applications.OwnerId
|
|
||||||
*/
|
|
||||||
export type OwnerId = Message<"applications.OwnerId"> & {
|
|
||||||
/**
|
|
||||||
* UUID of a user that is creating an environemnt
|
|
||||||
*
|
|
||||||
* @generated from field: string uuid = 1;
|
|
||||||
*/
|
|
||||||
uuid: string;
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Describes the message applications.OwnerId.
|
|
||||||
* Use `create(OwnerIdSchema)` to create a new message.
|
|
||||||
*/
|
|
||||||
export const OwnerIdSchema: GenMessage<OwnerId> = /*@__PURE__*/
|
|
||||||
messageDesc(file_applications_v1_applications_v1, 0);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message applications.Token
|
|
||||||
*/
|
|
||||||
export type Token = Message<"applications.Token"> & {
|
|
||||||
/**
|
|
||||||
* Token that should be used to create an environment
|
|
||||||
*
|
|
||||||
* @generated from field: string token = 1;
|
|
||||||
*/
|
|
||||||
token: string;
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Describes the message applications.Token.
|
|
||||||
* Use `create(TokenSchema)` to create a new message.
|
|
||||||
*/
|
|
||||||
export const TokenSchema: GenMessage<Token> = /*@__PURE__*/
|
|
||||||
messageDesc(file_applications_v1_applications_v1, 1);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message applications.CreateOptions
|
|
||||||
*/
|
|
||||||
export type CreateOptions = Message<"applications.CreateOptions"> & {
|
|
||||||
/**
|
|
||||||
* @generated from field: applications.ApplicationMetadata metadata = 1;
|
|
||||||
*/
|
|
||||||
metadata?: ApplicationMetadata | undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: applications.ApplicationSpec spec = 2;
|
|
||||||
*/
|
|
||||||
spec?: ApplicationSpec | undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: applications.OwnerId owner_id = 3;
|
|
||||||
*/
|
|
||||||
ownerId?: OwnerId | undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: applications.Token token = 4;
|
|
||||||
*/
|
|
||||||
token?: Token | undefined;
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Describes the message applications.CreateOptions.
|
|
||||||
* Use `create(CreateOptionsSchema)` to create a new message.
|
|
||||||
*/
|
|
||||||
export const CreateOptionsSchema: GenMessage<CreateOptions> = /*@__PURE__*/
|
|
||||||
messageDesc(file_applications_v1_applications_v1, 2);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message applications.UpdateOptions
|
|
||||||
*/
|
|
||||||
export type UpdateOptions = Message<"applications.UpdateOptions"> & {
|
|
||||||
/**
|
|
||||||
* @generated from field: applications.ApplicationId id = 1;
|
|
||||||
*/
|
|
||||||
id?: ApplicationId | undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: applications.ApplicationMetadata metadata = 2;
|
|
||||||
*/
|
|
||||||
metadata?: ApplicationMetadata | undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: applications.ApplicationSpec spec = 3;
|
|
||||||
*/
|
|
||||||
spec?: ApplicationSpec | undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: applications.OwnerId owner_id = 4;
|
|
||||||
*/
|
|
||||||
ownerId?: OwnerId | undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: applications.Token token = 5;
|
|
||||||
*/
|
|
||||||
token?: Token | undefined;
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Describes the message applications.UpdateOptions.
|
|
||||||
* Use `create(UpdateOptionsSchema)` to create a new message.
|
|
||||||
*/
|
|
||||||
export const UpdateOptionsSchema: GenMessage<UpdateOptions> = /*@__PURE__*/
|
|
||||||
messageDesc(file_applications_v1_applications_v1, 3);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message applications.DeleteOptions
|
|
||||||
*/
|
|
||||||
export type DeleteOptions = Message<"applications.DeleteOptions"> & {
|
|
||||||
/**
|
|
||||||
* @generated from field: applications.ApplicationId id = 1;
|
|
||||||
*/
|
|
||||||
id?: ApplicationId | undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: applications.ApplicationMetadata metadata = 2;
|
|
||||||
*/
|
|
||||||
metadata?: ApplicationMetadata | undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: applications.OwnerId owner_id = 3;
|
|
||||||
*/
|
|
||||||
ownerId?: OwnerId | undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: applications.Token token = 4;
|
|
||||||
*/
|
|
||||||
token?: Token | undefined;
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Describes the message applications.DeleteOptions.
|
|
||||||
* Use `create(DeleteOptionsSchema)` to create a new message.
|
|
||||||
*/
|
|
||||||
export const DeleteOptionsSchema: GenMessage<DeleteOptions> = /*@__PURE__*/
|
|
||||||
messageDesc(file_applications_v1_applications_v1, 4);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message applications.GetOptions
|
|
||||||
*/
|
|
||||||
export type GetOptions = Message<"applications.GetOptions"> & {
|
|
||||||
/**
|
|
||||||
* @generated from field: applications.ApplicationId id = 1;
|
|
||||||
*/
|
|
||||||
id?: ApplicationId | undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: applications.ApplicationMetadata metadata = 2;
|
|
||||||
*/
|
|
||||||
metadata?: ApplicationMetadata | undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: applications.OwnerId owner_id = 3;
|
|
||||||
*/
|
|
||||||
ownerId?: OwnerId | undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: applications.Token token = 4;
|
|
||||||
*/
|
|
||||||
token?: Token | undefined;
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Describes the message applications.GetOptions.
|
|
||||||
* Use `create(GetOptionsSchema)` to create a new message.
|
|
||||||
*/
|
|
||||||
export const GetOptionsSchema: GenMessage<GetOptions> = /*@__PURE__*/
|
|
||||||
messageDesc(file_applications_v1_applications_v1, 5);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message applications.ListOptions
|
|
||||||
*/
|
|
||||||
export type ListOptions = Message<"applications.ListOptions"> & {
|
|
||||||
/**
|
|
||||||
* @generated from field: applications.ApplicationMetadata metadata = 1;
|
|
||||||
*/
|
|
||||||
metadata?: ApplicationMetadata | undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: applications.OwnerId owner_id = 2;
|
|
||||||
*/
|
|
||||||
ownerId?: OwnerId | undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: applications.Token token = 3;
|
|
||||||
*/
|
|
||||||
token?: Token | undefined;
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Describes the message applications.ListOptions.
|
|
||||||
* Use `create(ListOptionsSchema)` to create a new message.
|
|
||||||
*/
|
|
||||||
export const ListOptionsSchema: GenMessage<ListOptions> = /*@__PURE__*/
|
|
||||||
messageDesc(file_applications_v1_applications_v1, 6);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message applications.ApplicationId
|
|
||||||
*/
|
|
||||||
export type ApplicationId = Message<"applications.ApplicationId"> & {
|
|
||||||
/**
|
|
||||||
* @generated from field: string uuid = 1;
|
|
||||||
*/
|
|
||||||
uuid: string;
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Describes the message applications.ApplicationId.
|
|
||||||
* Use `create(ApplicationIdSchema)` to create a new message.
|
|
||||||
*/
|
|
||||||
export const ApplicationIdSchema: GenMessage<ApplicationId> = /*@__PURE__*/
|
|
||||||
messageDesc(file_applications_v1_applications_v1, 7);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message applications.ApplicationMetadata
|
|
||||||
*/
|
|
||||||
export type ApplicationMetadata = Message<"applications.ApplicationMetadata"> & {
|
|
||||||
/**
|
|
||||||
* @generated from field: string name = 1;
|
|
||||||
*/
|
|
||||||
name: string;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: string description = 2;
|
|
||||||
*/
|
|
||||||
description: string;
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Describes the message applications.ApplicationMetadata.
|
|
||||||
* Use `create(ApplicationMetadataSchema)` to create a new message.
|
|
||||||
*/
|
|
||||||
export const ApplicationMetadataSchema: GenMessage<ApplicationMetadata> = /*@__PURE__*/
|
|
||||||
messageDesc(file_applications_v1_applications_v1, 8);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message applications.ApplicationSpec
|
|
||||||
*/
|
|
||||||
export type ApplicationSpec = Message<"applications.ApplicationSpec"> & {
|
|
||||||
/**
|
|
||||||
* @generated from field: string application = 1;
|
|
||||||
*/
|
|
||||||
application: string;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: string version = 2;
|
|
||||||
*/
|
|
||||||
version: string;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: string environemnt_id = 3;
|
|
||||||
*/
|
|
||||||
environemntId: string;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: map<string, string> config = 4;
|
|
||||||
*/
|
|
||||||
config: { [key: string]: string };
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: string raw_config = 5;
|
|
||||||
*/
|
|
||||||
rawConfig: string;
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Describes the message applications.ApplicationSpec.
|
|
||||||
* Use `create(ApplicationSpecSchema)` to create a new message.
|
|
||||||
*/
|
|
||||||
export const ApplicationSpecSchema: GenMessage<ApplicationSpec> = /*@__PURE__*/
|
|
||||||
messageDesc(file_applications_v1_applications_v1, 9);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message applications.ApplicationFull
|
|
||||||
*/
|
|
||||||
export type ApplicationFull = Message<"applications.ApplicationFull"> & {
|
|
||||||
/**
|
|
||||||
* @generated from field: applications.ApplicationMetadata metadata = 1;
|
|
||||||
*/
|
|
||||||
metadata?: ApplicationMetadata | undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: applications.ApplicationSpec spec = 2;
|
|
||||||
*/
|
|
||||||
spec?: ApplicationSpec | undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: applications.ApplicationId id = 3;
|
|
||||||
*/
|
|
||||||
id?: ApplicationId | undefined;
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Describes the message applications.ApplicationFull.
|
|
||||||
* Use `create(ApplicationFullSchema)` to create a new message.
|
|
||||||
*/
|
|
||||||
export const ApplicationFullSchema: GenMessage<ApplicationFull> = /*@__PURE__*/
|
|
||||||
messageDesc(file_applications_v1_applications_v1, 10);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* *
|
|
||||||
* Service for handling applications
|
|
||||||
*
|
|
||||||
* @generated from service applications.Applications
|
|
||||||
*/
|
|
||||||
export const Applications: GenService<{
|
|
||||||
/**
|
|
||||||
* @generated from rpc applications.Applications.Create
|
|
||||||
*/
|
|
||||||
create: {
|
|
||||||
methodKind: "unary";
|
|
||||||
input: typeof CreateOptionsSchema;
|
|
||||||
output: typeof ApplicationFullSchema;
|
|
||||||
},
|
|
||||||
/**
|
|
||||||
* @generated from rpc applications.Applications.Update
|
|
||||||
*/
|
|
||||||
update: {
|
|
||||||
methodKind: "unary";
|
|
||||||
input: typeof UpdateOptionsSchema;
|
|
||||||
output: typeof ApplicationFullSchema;
|
|
||||||
},
|
|
||||||
/**
|
|
||||||
* @generated from rpc applications.Applications.Delete
|
|
||||||
*/
|
|
||||||
delete: {
|
|
||||||
methodKind: "unary";
|
|
||||||
input: typeof DeleteOptionsSchema;
|
|
||||||
output: typeof EmptySchema;
|
|
||||||
},
|
|
||||||
/**
|
|
||||||
* @generated from rpc applications.Applications.Get
|
|
||||||
*/
|
|
||||||
get: {
|
|
||||||
methodKind: "unary";
|
|
||||||
input: typeof GetOptionsSchema;
|
|
||||||
output: typeof ApplicationFullSchema;
|
|
||||||
},
|
|
||||||
/**
|
|
||||||
* @generated from rpc applications.Applications.List
|
|
||||||
*/
|
|
||||||
list: {
|
|
||||||
methodKind: "server_streaming";
|
|
||||||
input: typeof ListOptionsSchema;
|
|
||||||
output: typeof ApplicationFullSchema;
|
|
||||||
},
|
|
||||||
}> = /*@__PURE__*/
|
|
||||||
serviceDesc(file_applications_v1_applications_v1, 0);
|
|
||||||
|
|
||||||
@@ -1,81 +0,0 @@
|
|||||||
// @generated by protoc-gen-es v2.12.0 with parameter "target=ts"
|
|
||||||
// @generated from file email/v1/email_v1.proto (package email, syntax proto3)
|
|
||||||
/* eslint-disable */
|
|
||||||
|
|
||||||
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
||||||
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
||||||
import type { EmptySchema } from "@bufbuild/protobuf/wkt";
|
|
||||||
import { file_google_protobuf_empty } from "@bufbuild/protobuf/wkt";
|
|
||||||
import type { Message } from "@bufbuild/protobuf";
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Describes the file email/v1/email_v1.proto.
|
|
||||||
*/
|
|
||||||
export const file_email_v1_email_v1: GenFile = /*@__PURE__*/
|
|
||||||
fileDesc("ChdlbWFpbC92MS9lbWFpbF92MS5wcm90bxIFZW1haWwiJAoRUmVxdWVzdFZhbGlkYXRpb24SDwoHdXNlcl9pZBgBIAEoCSIyChFDb25maXJtVmFsaWRhdGlvbhIPCgd1c2VyX2lkGAEgASgJEgwKBGNvZGUYAiABKAUymQEKD0VtYWlsVmFsaWRhdGlvbhJBCgtTZW5kUmVxdWVzdBIYLmVtYWlsLlJlcXVlc3RWYWxpZGF0aW9uGhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5IgASQwoNVmFsaWRhdGVFbWFpbBIYLmVtYWlsLkNvbmZpcm1WYWxpZGF0aW9uGhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5IgBCQ1pBZ2l0ZWEuYmFkaG91c2VwbGFudHMubmV0L3NvZnRwbGF5ZXIvc29mdHBsYXllci1nby1wcm90by9wa2cvZW1haWxiBnByb3RvMw", [file_google_protobuf_empty]);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message email.RequestValidation
|
|
||||||
*/
|
|
||||||
export type RequestValidation = Message<"email.RequestValidation"> & {
|
|
||||||
/**
|
|
||||||
* @generated from field: string user_id = 1;
|
|
||||||
*/
|
|
||||||
userId: string;
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Describes the message email.RequestValidation.
|
|
||||||
* Use `create(RequestValidationSchema)` to create a new message.
|
|
||||||
*/
|
|
||||||
export const RequestValidationSchema: GenMessage<RequestValidation> = /*@__PURE__*/
|
|
||||||
messageDesc(file_email_v1_email_v1, 0);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message email.ConfirmValidation
|
|
||||||
*/
|
|
||||||
export type ConfirmValidation = Message<"email.ConfirmValidation"> & {
|
|
||||||
/**
|
|
||||||
* @generated from field: string user_id = 1;
|
|
||||||
*/
|
|
||||||
userId: string;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: int32 code = 2;
|
|
||||||
*/
|
|
||||||
code: number;
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Describes the message email.ConfirmValidation.
|
|
||||||
* Use `create(ConfirmValidationSchema)` to create a new message.
|
|
||||||
*/
|
|
||||||
export const ConfirmValidationSchema: GenMessage<ConfirmValidation> = /*@__PURE__*/
|
|
||||||
messageDesc(file_email_v1_email_v1, 1);
|
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* A service that should handle email validation
|
|
||||||
*
|
|
||||||
* @generated from service email.EmailValidation
|
|
||||||
*/
|
|
||||||
export const EmailValidation: GenService<{
|
|
||||||
/**
|
|
||||||
* @generated from rpc email.EmailValidation.SendRequest
|
|
||||||
*/
|
|
||||||
sendRequest: {
|
|
||||||
methodKind: "unary";
|
|
||||||
input: typeof RequestValidationSchema;
|
|
||||||
output: typeof EmptySchema;
|
|
||||||
},
|
|
||||||
/**
|
|
||||||
* @generated from rpc email.EmailValidation.ValidateEmail
|
|
||||||
*/
|
|
||||||
validateEmail: {
|
|
||||||
methodKind: "unary";
|
|
||||||
input: typeof ConfirmValidationSchema;
|
|
||||||
output: typeof EmptySchema;
|
|
||||||
},
|
|
||||||
}> = /*@__PURE__*/
|
|
||||||
serviceDesc(file_email_v1_email_v1, 0);
|
|
||||||
|
|
||||||
@@ -1,505 +0,0 @@
|
|||||||
/// This file has messages for describing environments
|
|
||||||
|
|
||||||
// @generated by protoc-gen-es v2.12.0 with parameter "target=ts"
|
|
||||||
// @generated from file environments/v1/environments_v1.proto (package environments, syntax proto3)
|
|
||||||
/* eslint-disable */
|
|
||||||
|
|
||||||
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
||||||
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
||||||
import type { EmptySchema } from "@bufbuild/protobuf/wkt";
|
|
||||||
import { file_google_protobuf_empty } from "@bufbuild/protobuf/wkt";
|
|
||||||
import type { Message } from "@bufbuild/protobuf";
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Describes the file environments/v1/environments_v1.proto.
|
|
||||||
*/
|
|
||||||
export const file_environments_v1_environments_v1: GenFile = /*@__PURE__*/
|
|
||||||
fileDesc("CiVlbnZpcm9ubWVudHMvdjEvZW52aXJvbm1lbnRzX3YxLnByb3RvEgxlbnZpcm9ubWVudHMiFwoHT3duZXJJZBIMCgR1dWlkGAEgASgJIhYKBVRva2VuEg0KBXRva2VuGAEgASgJIr4BCg1DcmVhdGVPcHRpb25zEjMKCG1ldGFkYXRhGAEgASgLMiEuZW52aXJvbm1lbnRzLkVudmlyb25tZW50TWV0YWRhdGESKwoEc3BlYxgCIAEoCzIdLmVudmlyb25tZW50cy5FbnZpcm9ubWVudFNwZWMSJwoIb3duZXJfaWQYAyABKAsyFS5lbnZpcm9ubWVudHMuT3duZXJJZBIiCgV0b2tlbhgEIAEoCzITLmVudmlyb25tZW50cy5Ub2tlbiLnAQoNVXBkYXRlT3B0aW9ucxInCgJpZBgBIAEoCzIbLmVudmlyb25tZW50cy5FbnZpcm9ubWVudElkEjMKCG1ldGFkYXRhGAIgASgLMiEuZW52aXJvbm1lbnRzLkVudmlyb25tZW50TWV0YWRhdGESKwoEc3BlYxg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suZW52aXJvbm1lbnRzLkNyZWF0ZU9wdGlvbnMaHS5lbnZpcm9ubWVudHMuRW52aXJvbm1lbnRGdWxsIgASRgoGVXBkYXRlEhsuZW52aXJvbm1lbnRzLlVwZGF0ZU9wdGlvbnMaHS5lbnZpcm9ubWVudHMuRW52aXJvbm1lbnRGdWxsIgASPwoGRGVsZXRlEhsuZW52aXJvbm1lbnRzLkRlbGV0ZU9wdGlvbnMaFi5nb29nbGUucHJvdG9idWYuRW1wdHkiABJACgNHZXQSGC5lbnZpcm9ubWVudHMuR2V0T3B0aW9ucxodLmVudmlyb25tZW50cy5FbnZpcm9ubWVudEZ1bGwiABJECgRMaXN0EhkuZW52aXJvbm1lbnRzLkxpc3RPcHRpb25zGh0uZW52aXJvbm1lbnRzLkVudmlyb25tZW50RnVsbCIAMAFCSlpIZ2l0ZWEuYmFkaG91c2VwbGFudHMubmV0L3NvZnRwbGF5ZXIvc29mdHBsYXllci1nby1wcm90by9wa2cvZW52aXJvbm1lbnRzYgZwcm90bzM", [file_google_protobuf_empty]);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message environments.OwnerId
|
|
||||||
*/
|
|
||||||
export type OwnerId = Message<"environments.OwnerId"> & {
|
|
||||||
/**
|
|
||||||
* UUID of a user that is creating an environemnt
|
|
||||||
*
|
|
||||||
* @generated from field: string uuid = 1;
|
|
||||||
*/
|
|
||||||
uuid: string;
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Describes the message environments.OwnerId.
|
|
||||||
* Use `create(OwnerIdSchema)` to create a new message.
|
|
||||||
*/
|
|
||||||
export const OwnerIdSchema: GenMessage<OwnerId> = /*@__PURE__*/
|
|
||||||
messageDesc(file_environments_v1_environments_v1, 0);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message environments.Token
|
|
||||||
*/
|
|
||||||
export type Token = Message<"environments.Token"> & {
|
|
||||||
/**
|
|
||||||
* Token that should be used to create an environment
|
|
||||||
*
|
|
||||||
* @generated from field: string token = 1;
|
|
||||||
*/
|
|
||||||
token: string;
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Describes the message environments.Token.
|
|
||||||
* Use `create(TokenSchema)` to create a new message.
|
|
||||||
*/
|
|
||||||
export const TokenSchema: GenMessage<Token> = /*@__PURE__*/
|
|
||||||
messageDesc(file_environments_v1_environments_v1, 1);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message environments.CreateOptions
|
|
||||||
*/
|
|
||||||
export type CreateOptions = Message<"environments.CreateOptions"> & {
|
|
||||||
/**
|
|
||||||
* @generated from field: environments.EnvironmentMetadata metadata = 1;
|
|
||||||
*/
|
|
||||||
metadata?: EnvironmentMetadata | undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: environments.EnvironmentSpec spec = 2;
|
|
||||||
*/
|
|
||||||
spec?: EnvironmentSpec | undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: environments.OwnerId owner_id = 3;
|
|
||||||
*/
|
|
||||||
ownerId?: OwnerId | undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: environments.Token token = 4;
|
|
||||||
*/
|
|
||||||
token?: Token | undefined;
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Describes the message environments.CreateOptions.
|
|
||||||
* Use `create(CreateOptionsSchema)` to create a new message.
|
|
||||||
*/
|
|
||||||
export const CreateOptionsSchema: GenMessage<CreateOptions> = /*@__PURE__*/
|
|
||||||
messageDesc(file_environments_v1_environments_v1, 2);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message environments.UpdateOptions
|
|
||||||
*/
|
|
||||||
export type UpdateOptions = Message<"environments.UpdateOptions"> & {
|
|
||||||
/**
|
|
||||||
* @generated from field: environments.EnvironmentId id = 1;
|
|
||||||
*/
|
|
||||||
id?: EnvironmentId | undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: environments.EnvironmentMetadata metadata = 2;
|
|
||||||
*/
|
|
||||||
metadata?: EnvironmentMetadata | undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: environments.EnvironmentSpec spec = 3;
|
|
||||||
*/
|
|
||||||
spec?: EnvironmentSpec | undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: environments.OwnerId owner_id = 4;
|
|
||||||
*/
|
|
||||||
ownerId?: OwnerId | undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: environments.Token token = 5;
|
|
||||||
*/
|
|
||||||
token?: Token | undefined;
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Describes the message environments.UpdateOptions.
|
|
||||||
* Use `create(UpdateOptionsSchema)` to create a new message.
|
|
||||||
*/
|
|
||||||
export const UpdateOptionsSchema: GenMessage<UpdateOptions> = /*@__PURE__*/
|
|
||||||
messageDesc(file_environments_v1_environments_v1, 3);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message environments.DeleteOptions
|
|
||||||
*/
|
|
||||||
export type DeleteOptions = Message<"environments.DeleteOptions"> & {
|
|
||||||
/**
|
|
||||||
* @generated from field: environments.EnvironmentId id = 1;
|
|
||||||
*/
|
|
||||||
id?: EnvironmentId | undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: environments.EnvironmentMetadata metadata = 2;
|
|
||||||
*/
|
|
||||||
metadata?: EnvironmentMetadata | undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: environments.OwnerId owner_id = 3;
|
|
||||||
*/
|
|
||||||
ownerId?: OwnerId | undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: environments.Token token = 4;
|
|
||||||
*/
|
|
||||||
token?: Token | undefined;
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Describes the message environments.DeleteOptions.
|
|
||||||
* Use `create(DeleteOptionsSchema)` to create a new message.
|
|
||||||
*/
|
|
||||||
export const DeleteOptionsSchema: GenMessage<DeleteOptions> = /*@__PURE__*/
|
|
||||||
messageDesc(file_environments_v1_environments_v1, 4);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message environments.GetOptions
|
|
||||||
*/
|
|
||||||
export type GetOptions = Message<"environments.GetOptions"> & {
|
|
||||||
/**
|
|
||||||
* @generated from field: environments.EnvironmentId id = 1;
|
|
||||||
*/
|
|
||||||
id?: EnvironmentId | undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: environments.EnvironmentMetadata metadata = 2;
|
|
||||||
*/
|
|
||||||
metadata?: EnvironmentMetadata | undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: environments.OwnerId owner_id = 3;
|
|
||||||
*/
|
|
||||||
ownerId?: OwnerId | undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: environments.Token token = 4;
|
|
||||||
*/
|
|
||||||
token?: Token | undefined;
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Describes the message environments.GetOptions.
|
|
||||||
* Use `create(GetOptionsSchema)` to create a new message.
|
|
||||||
*/
|
|
||||||
export const GetOptionsSchema: GenMessage<GetOptions> = /*@__PURE__*/
|
|
||||||
messageDesc(file_environments_v1_environments_v1, 5);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message environments.ListOptions
|
|
||||||
*/
|
|
||||||
export type ListOptions = Message<"environments.ListOptions"> & {
|
|
||||||
/**
|
|
||||||
* @generated from field: environments.EnvironmentMetadata metadata = 1;
|
|
||||||
*/
|
|
||||||
metadata?: EnvironmentMetadata | undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: string search_string = 2;
|
|
||||||
*/
|
|
||||||
searchString: string;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: environments.OwnerId owner_id = 3;
|
|
||||||
*/
|
|
||||||
ownerId?: OwnerId | undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: environments.Token token = 4;
|
|
||||||
*/
|
|
||||||
token?: Token | undefined;
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Describes the message environments.ListOptions.
|
|
||||||
* Use `create(ListOptionsSchema)` to create a new message.
|
|
||||||
*/
|
|
||||||
export const ListOptionsSchema: GenMessage<ListOptions> = /*@__PURE__*/
|
|
||||||
messageDesc(file_environments_v1_environments_v1, 6);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message environments.EnvironmentId
|
|
||||||
*/
|
|
||||||
export type EnvironmentId = Message<"environments.EnvironmentId"> & {
|
|
||||||
/**
|
|
||||||
* @generated from field: string uuid = 1;
|
|
||||||
*/
|
|
||||||
uuid: string;
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Describes the message environments.EnvironmentId.
|
|
||||||
* Use `create(EnvironmentIdSchema)` to create a new message.
|
|
||||||
*/
|
|
||||||
export const EnvironmentIdSchema: GenMessage<EnvironmentId> = /*@__PURE__*/
|
|
||||||
messageDesc(file_environments_v1_environments_v1, 7);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message environments.EnvironmentMetadata
|
|
||||||
*/
|
|
||||||
export type EnvironmentMetadata = Message<"environments.EnvironmentMetadata"> & {
|
|
||||||
/**
|
|
||||||
* A name of the environment
|
|
||||||
*
|
|
||||||
* @generated from field: string name = 1;
|
|
||||||
*/
|
|
||||||
name: string;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: string description = 2;
|
|
||||||
*/
|
|
||||||
description: string;
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Describes the message environments.EnvironmentMetadata.
|
|
||||||
* Use `create(EnvironmentMetadataSchema)` to create a new message.
|
|
||||||
*/
|
|
||||||
export const EnvironmentMetadataSchema: GenMessage<EnvironmentMetadata> = /*@__PURE__*/
|
|
||||||
messageDesc(file_environments_v1_environments_v1, 8);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message environments.EnvironmentSpec
|
|
||||||
*/
|
|
||||||
export type EnvironmentSpec = Message<"environments.EnvironmentSpec"> & {
|
|
||||||
/**
|
|
||||||
* Provide
|
|
||||||
*
|
|
||||||
* @generated from field: environments.Provider provider = 1;
|
|
||||||
*/
|
|
||||||
provider: Provider;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: environments.Kubernetes kubernetes = 2;
|
|
||||||
*/
|
|
||||||
kubernetes: Kubernetes;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: environments.ServerType server_type = 3;
|
|
||||||
*/
|
|
||||||
serverType: ServerType;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: environments.Location server_location = 4;
|
|
||||||
*/
|
|
||||||
serverLocation: Location;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: int32 disk_size = 5;
|
|
||||||
*/
|
|
||||||
diskSize: number;
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Describes the message environments.EnvironmentSpec.
|
|
||||||
* Use `create(EnvironmentSpecSchema)` to create a new message.
|
|
||||||
*/
|
|
||||||
export const EnvironmentSpecSchema: GenMessage<EnvironmentSpec> = /*@__PURE__*/
|
|
||||||
messageDesc(file_environments_v1_environments_v1, 9);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message environments.EnvironmentFull
|
|
||||||
*/
|
|
||||||
export type EnvironmentFull = Message<"environments.EnvironmentFull"> & {
|
|
||||||
/**
|
|
||||||
* @generated from field: environments.EnvironmentMetadata metadata = 1;
|
|
||||||
*/
|
|
||||||
metadata?: EnvironmentMetadata | undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: environments.EnvironmentSpec spec = 2;
|
|
||||||
*/
|
|
||||||
spec?: EnvironmentSpec | undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: environments.EnvironmentId id = 3;
|
|
||||||
*/
|
|
||||||
id?: EnvironmentId | undefined;
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Describes the message environments.EnvironmentFull.
|
|
||||||
* Use `create(EnvironmentFullSchema)` to create a new message.
|
|
||||||
*/
|
|
||||||
export const EnvironmentFullSchema: GenMessage<EnvironmentFull> = /*@__PURE__*/
|
|
||||||
messageDesc(file_environments_v1_environments_v1, 10);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* *
|
|
||||||
* Helpers and other messages
|
|
||||||
*
|
|
||||||
* @generated from enum environments.Provider
|
|
||||||
*/
|
|
||||||
export enum Provider {
|
|
||||||
/**
|
|
||||||
* @generated from enum value: PROVIDER_UNSPECIFIED = 0;
|
|
||||||
*/
|
|
||||||
UNSPECIFIED = 0,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from enum value: PROVIDER_HETZNER = 1;
|
|
||||||
*/
|
|
||||||
HETZNER = 1,
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Describes the enum environments.Provider.
|
|
||||||
*/
|
|
||||||
export const ProviderSchema: GenEnum<Provider> = /*@__PURE__*/
|
|
||||||
enumDesc(file_environments_v1_environments_v1, 0);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from enum environments.ServerType
|
|
||||||
*/
|
|
||||||
export enum ServerType {
|
|
||||||
/**
|
|
||||||
* @generated from enum value: SERVER_TYPE_UNSPECIFIED = 0;
|
|
||||||
*/
|
|
||||||
UNSPECIFIED = 0,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from enum value: SERVER_TYPE_STARTER = 1;
|
|
||||||
*/
|
|
||||||
STARTER = 1,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from enum value: SERVER_TYPE_REGULAR = 2;
|
|
||||||
*/
|
|
||||||
REGULAR = 2,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from enum value: SERVER_TYPE_PLUS = 3;
|
|
||||||
*/
|
|
||||||
PLUS = 3,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from enum value: SERVER_TYPE_PRO = 4;
|
|
||||||
*/
|
|
||||||
PRO = 4,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from enum value: SERVER_TYPE_CUSTOM = 5;
|
|
||||||
*/
|
|
||||||
CUSTOM = 5,
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Describes the enum environments.ServerType.
|
|
||||||
*/
|
|
||||||
export const ServerTypeSchema: GenEnum<ServerType> = /*@__PURE__*/
|
|
||||||
enumDesc(file_environments_v1_environments_v1, 1);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from enum environments.Location
|
|
||||||
*/
|
|
||||||
export enum Location {
|
|
||||||
/**
|
|
||||||
* @generated from enum value: LOCATION_UNSPECIFIED = 0;
|
|
||||||
*/
|
|
||||||
UNSPECIFIED = 0,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from enum value: LOCATION_HETZNER_NUREMBERG = 1;
|
|
||||||
*/
|
|
||||||
HETZNER_NUREMBERG = 1,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from enum value: LOCATION_HETZNER_FALKENSTEIN = 2;
|
|
||||||
*/
|
|
||||||
HETZNER_FALKENSTEIN = 2,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from enum value: LOCATION_HETZNER_HELSINKI = 3;
|
|
||||||
*/
|
|
||||||
HETZNER_HELSINKI = 3,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from enum value: LOCATION_HETZNER_HILLSBORO = 4;
|
|
||||||
*/
|
|
||||||
HETZNER_HILLSBORO = 4,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from enum value: LOCATION_HETZNER_ASHBURN = 5;
|
|
||||||
*/
|
|
||||||
HETZNER_ASHBURN = 5,
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Describes the enum environments.Location.
|
|
||||||
*/
|
|
||||||
export const LocationSchema: GenEnum<Location> = /*@__PURE__*/
|
|
||||||
enumDesc(file_environments_v1_environments_v1, 2);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from enum environments.Kubernetes
|
|
||||||
*/
|
|
||||||
export enum Kubernetes {
|
|
||||||
/**
|
|
||||||
* @generated from enum value: KUBERNETES_UNSPECIFIED = 0;
|
|
||||||
*/
|
|
||||||
UNSPECIFIED = 0,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from enum value: KUBERNETES_K3S = 1;
|
|
||||||
*/
|
|
||||||
K3S = 1,
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Describes the enum environments.Kubernetes.
|
|
||||||
*/
|
|
||||||
export const KubernetesSchema: GenEnum<Kubernetes> = /*@__PURE__*/
|
|
||||||
enumDesc(file_environments_v1_environments_v1, 3);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* *
|
|
||||||
* Service for handling environments
|
|
||||||
*
|
|
||||||
* @generated from service environments.Environments
|
|
||||||
*/
|
|
||||||
export const Environments: GenService<{
|
|
||||||
/**
|
|
||||||
* @generated from rpc environments.Environments.Create
|
|
||||||
*/
|
|
||||||
create: {
|
|
||||||
methodKind: "unary";
|
|
||||||
input: typeof CreateOptionsSchema;
|
|
||||||
output: typeof EnvironmentFullSchema;
|
|
||||||
},
|
|
||||||
/**
|
|
||||||
* @generated from rpc environments.Environments.Update
|
|
||||||
*/
|
|
||||||
update: {
|
|
||||||
methodKind: "unary";
|
|
||||||
input: typeof UpdateOptionsSchema;
|
|
||||||
output: typeof EnvironmentFullSchema;
|
|
||||||
},
|
|
||||||
/**
|
|
||||||
* @generated from rpc environments.Environments.Delete
|
|
||||||
*/
|
|
||||||
delete: {
|
|
||||||
methodKind: "unary";
|
|
||||||
input: typeof DeleteOptionsSchema;
|
|
||||||
output: typeof EmptySchema;
|
|
||||||
},
|
|
||||||
/**
|
|
||||||
* @generated from rpc environments.Environments.Get
|
|
||||||
*/
|
|
||||||
get: {
|
|
||||||
methodKind: "unary";
|
|
||||||
input: typeof GetOptionsSchema;
|
|
||||||
output: typeof EnvironmentFullSchema;
|
|
||||||
},
|
|
||||||
/**
|
|
||||||
* @generated from rpc environments.Environments.List
|
|
||||||
*/
|
|
||||||
list: {
|
|
||||||
methodKind: "server_streaming";
|
|
||||||
input: typeof ListOptionsSchema;
|
|
||||||
output: typeof EnvironmentFullSchema;
|
|
||||||
},
|
|
||||||
}> = /*@__PURE__*/
|
|
||||||
serviceDesc(file_environments_v1_environments_v1, 0);
|
|
||||||
|
|
||||||
@@ -10,7 +10,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|||||||
* Describes the file test/v1/test_v1.proto.
|
* Describes the file test/v1/test_v1.proto.
|
||||||
*/
|
*/
|
||||||
export const file_test_v1_test_v1: GenFile = /*@__PURE__*/
|
export const file_test_v1_test_v1: GenFile = /*@__PURE__*/
|
||||||
fileDesc("ChV0ZXN0L3YxL3Rlc3RfdjEucHJvdG8SB3Rlc3QudjEiDQoLUGluZ1JlcXVlc3QiDgoMUGluZ1Jlc3BvbnNlIg0KC1BvbmdSZXF1ZXN0Ig4KDFBvbmdSZXNwb25zZTJKChFUZXN0Tm9BdXRoU2VydmljZRI1CgRQaW5nEhQudGVzdC52MS5QaW5nUmVxdWVzdBoVLnRlc3QudjEuUGluZ1Jlc3BvbnNlIgAySAoPVGVzdEF1dGhTZXJ2aWNlEjUKBFBvbmcSFC50ZXN0LnYxLlBvbmdSZXF1ZXN0GhUudGVzdC52MS5Qb25nUmVzcG9uc2UiAEJFWkNnaXRlYS5iYWRob3VzZXBsYW50cy5uZXQvc29mdHBsYXllci9zb2Z0cGxheWVyLWdvLXByb3RvL3BrZy90ZXN0L3YxYgZwcm90bzM");
|
fileDesc("ChV0ZXN0L3YxL3Rlc3RfdjEucHJvdG8SB3Rlc3QudjEiDQoLUGluZ1JlcXVlc3QiDgoMUGluZ1Jlc3BvbnNlIg0KC1BvbmdSZXF1ZXN0Ig4KDFBvbmdSZXNwb25zZTJKChFQdWJsaWNUZXN0U2VydmljZRI1CgRQaW5nEhQudGVzdC52MS5QaW5nUmVxdWVzdBoVLnRlc3QudjEuUGluZ1Jlc3BvbnNlIgAyRAoLVGVzdFNlcnZpY2USNQoEUG9uZxIULnRlc3QudjEuUG9uZ1JlcXVlc3QaFS50ZXN0LnYxLlBvbmdSZXNwb25zZSIAQkVaQ2dpdGVhLmJhZGhvdXNlcGxhbnRzLm5ldC9zb2Z0cGxheWVyL3NvZnRwbGF5ZXItZ28tcHJvdG8vcGtnL3Rlc3QvdjFiBnByb3RvMw");
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @generated from message test.v1.PingRequest
|
* @generated from message test.v1.PingRequest
|
||||||
@@ -68,11 +68,11 @@ export const PongResponseSchema: GenMessage<PongResponse> = /*@__PURE__*/
|
|||||||
* *
|
* *
|
||||||
* Service for handling environments
|
* Service for handling environments
|
||||||
*
|
*
|
||||||
* @generated from service test.v1.TestNoAuthService
|
* @generated from service test.v1.PublicTestService
|
||||||
*/
|
*/
|
||||||
export const TestNoAuthService: GenService<{
|
export const PublicTestService: GenService<{
|
||||||
/**
|
/**
|
||||||
* @generated from rpc test.v1.TestNoAuthService.Ping
|
* @generated from rpc test.v1.PublicTestService.Ping
|
||||||
*/
|
*/
|
||||||
ping: {
|
ping: {
|
||||||
methodKind: "unary";
|
methodKind: "unary";
|
||||||
@@ -83,11 +83,11 @@ export const TestNoAuthService: GenService<{
|
|||||||
serviceDesc(file_test_v1_test_v1, 0);
|
serviceDesc(file_test_v1_test_v1, 0);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @generated from service test.v1.TestAuthService
|
* @generated from service test.v1.TestService
|
||||||
*/
|
*/
|
||||||
export const TestAuthService: GenService<{
|
export const TestService: GenService<{
|
||||||
/**
|
/**
|
||||||
* @generated from rpc test.v1.TestAuthService.Pong
|
* @generated from rpc test.v1.TestService.Pong
|
||||||
*/
|
*/
|
||||||
pong: {
|
pong: {
|
||||||
methodKind: "unary";
|
methodKind: "unary";
|
||||||
|
|||||||
396
src/api/tokens/v1/tokens_v1_pb.ts
Normal file
396
src/api/tokens/v1/tokens_v1_pb.ts
Normal file
@@ -0,0 +1,396 @@
|
|||||||
|
/// Protobuf definitions for the accounts service.
|
||||||
|
|
||||||
|
// @generated by protoc-gen-es v2.12.0 with parameter "target=ts"
|
||||||
|
// @generated from file tokens/v1/tokens_v1.proto (package tokens.v1, syntax proto3)
|
||||||
|
/* eslint-disable */
|
||||||
|
|
||||||
|
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
||||||
|
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
||||||
|
import type { EmptySchema, Timestamp } from "@bufbuild/protobuf/wkt";
|
||||||
|
import { file_google_protobuf_empty, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
||||||
|
import type { Message } from "@bufbuild/protobuf";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Describes the file tokens/v1/tokens_v1.proto.
|
||||||
|
*/
|
||||||
|
export const file_tokens_v1_tokens_v1: GenFile = /*@__PURE__*/
|
||||||
|
fileDesc("Chl0b2tlbnMvdjEvdG9rZW5zX3YxLnByb3RvEgl0b2tlbnMudjEiTQoNVG9rZW5NZXRhZGF0YRIMCgRuYW1lGAEgASgJEi4KCmV4cGlyZXNfYXQYAiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wIhkKCVRva2VuVVVJRBIMCgR1dWlkGAEgASgJIhsKClRva2VuVmFsdWUSDQoFdG9rZW4YASABKAkiEgoQVG9rZW5QZXJtaXNzaW9ucyJ+ChJDcmVhdGVUb2tlblJlcXVlc3QSMAoOdG9rZW5fbWV0YWRhdGEYASABKAsyGC50b2tlbnMudjEuVG9rZW5NZXRhZGF0YRI2ChF0b2tlbl9wZXJtaXNzaW9ucxgCIAEoCzIbLnRva2Vucy52MS5Ub2tlblBlcm1pc3Npb25zItUBChNDcmVhdGVUb2tlblJlc3BvbnNlEigKCnRva2VuX3V1aWQYASABKAsyFC50b2tlbnMudjEuVG9rZW5VVUlEEjAKDnRva2VuX21ldGFk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VwbGFudHMubmV0L3NvZnRwbGF5ZXIvc29mdHBsYXllci1nby1wcm90by9wa2cvdG9rZW5zL3YxYgZwcm90bzM", [file_google_protobuf_empty, file_google_protobuf_timestamp]);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @generated from message tokens.v1.TokenMetadata
|
||||||
|
*/
|
||||||
|
export type TokenMetadata = Message<"tokens.v1.TokenMetadata"> & {
|
||||||
|
/**
|
||||||
|
* A token name
|
||||||
|
*
|
||||||
|
* @generated from field: string name = 1;
|
||||||
|
*/
|
||||||
|
name: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Token expiration timestamp
|
||||||
|
*
|
||||||
|
* @generated from field: google.protobuf.Timestamp expires_at = 2;
|
||||||
|
*/
|
||||||
|
expiresAt?: Timestamp | undefined;
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Describes the message tokens.v1.TokenMetadata.
|
||||||
|
* Use `create(TokenMetadataSchema)` to create a new message.
|
||||||
|
*/
|
||||||
|
export const TokenMetadataSchema: GenMessage<TokenMetadata> = /*@__PURE__*/
|
||||||
|
messageDesc(file_tokens_v1_tokens_v1, 0);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @generated from message tokens.v1.TokenUUID
|
||||||
|
*/
|
||||||
|
export type TokenUUID = Message<"tokens.v1.TokenUUID"> & {
|
||||||
|
/**
|
||||||
|
* An ID of a token
|
||||||
|
*
|
||||||
|
* @generated from field: string uuid = 1;
|
||||||
|
*/
|
||||||
|
uuid: string;
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Describes the message tokens.v1.TokenUUID.
|
||||||
|
* Use `create(TokenUUIDSchema)` to create a new message.
|
||||||
|
*/
|
||||||
|
export const TokenUUIDSchema: GenMessage<TokenUUID> = /*@__PURE__*/
|
||||||
|
messageDesc(file_tokens_v1_tokens_v1, 1);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @generated from message tokens.v1.TokenValue
|
||||||
|
*/
|
||||||
|
export type TokenValue = Message<"tokens.v1.TokenValue"> & {
|
||||||
|
/**
|
||||||
|
* Token value
|
||||||
|
* Can be only retrieved once after the generation
|
||||||
|
*
|
||||||
|
* @generated from field: string token = 1;
|
||||||
|
*/
|
||||||
|
token: string;
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Describes the message tokens.v1.TokenValue.
|
||||||
|
* Use `create(TokenValueSchema)` to create a new message.
|
||||||
|
*/
|
||||||
|
export const TokenValueSchema: GenMessage<TokenValue> = /*@__PURE__*/
|
||||||
|
messageDesc(file_tokens_v1_tokens_v1, 2);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @generated from message tokens.v1.TokenPermissions
|
||||||
|
*/
|
||||||
|
export type TokenPermissions = Message<"tokens.v1.TokenPermissions"> & {
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Describes the message tokens.v1.TokenPermissions.
|
||||||
|
* Use `create(TokenPermissionsSchema)` to create a new message.
|
||||||
|
*/
|
||||||
|
export const TokenPermissionsSchema: GenMessage<TokenPermissions> = /*@__PURE__*/
|
||||||
|
messageDesc(file_tokens_v1_tokens_v1, 3);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @generated from message tokens.v1.CreateTokenRequest
|
||||||
|
*/
|
||||||
|
export type CreateTokenRequest = Message<"tokens.v1.CreateTokenRequest"> & {
|
||||||
|
/**
|
||||||
|
* @generated from field: tokens.v1.TokenMetadata token_metadata = 1;
|
||||||
|
*/
|
||||||
|
tokenMetadata?: TokenMetadata | undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @generated from field: tokens.v1.TokenPermissions token_permissions = 2;
|
||||||
|
*/
|
||||||
|
tokenPermissions?: TokenPermissions | undefined;
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Describes the message tokens.v1.CreateTokenRequest.
|
||||||
|
* Use `create(CreateTokenRequestSchema)` to create a new message.
|
||||||
|
*/
|
||||||
|
export const CreateTokenRequestSchema: GenMessage<CreateTokenRequest> = /*@__PURE__*/
|
||||||
|
messageDesc(file_tokens_v1_tokens_v1, 4);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @generated from message tokens.v1.CreateTokenResponse
|
||||||
|
*/
|
||||||
|
export type CreateTokenResponse = Message<"tokens.v1.CreateTokenResponse"> & {
|
||||||
|
/**
|
||||||
|
* @generated from field: tokens.v1.TokenUUID token_uuid = 1;
|
||||||
|
*/
|
||||||
|
tokenUuid?: TokenUUID | undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @generated from field: tokens.v1.TokenMetadata token_metadata = 2;
|
||||||
|
*/
|
||||||
|
tokenMetadata?: TokenMetadata | undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @generated from field: tokens.v1.TokenPermissions token_permissions = 3;
|
||||||
|
*/
|
||||||
|
tokenPermissions?: TokenPermissions | undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @generated from field: tokens.v1.TokenValue token_value = 4;
|
||||||
|
*/
|
||||||
|
tokenValue?: TokenValue | undefined;
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Describes the message tokens.v1.CreateTokenResponse.
|
||||||
|
* Use `create(CreateTokenResponseSchema)` to create a new message.
|
||||||
|
*/
|
||||||
|
export const CreateTokenResponseSchema: GenMessage<CreateTokenResponse> = /*@__PURE__*/
|
||||||
|
messageDesc(file_tokens_v1_tokens_v1, 5);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @generated from message tokens.v1.UpdateTokenRequest
|
||||||
|
*/
|
||||||
|
export type UpdateTokenRequest = Message<"tokens.v1.UpdateTokenRequest"> & {
|
||||||
|
/**
|
||||||
|
* @generated from field: tokens.v1.TokenUUID token_uuid = 1;
|
||||||
|
*/
|
||||||
|
tokenUuid?: TokenUUID | undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @generated from field: tokens.v1.TokenMetadata token_metadata = 2;
|
||||||
|
*/
|
||||||
|
tokenMetadata?: TokenMetadata | undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @generated from field: tokens.v1.TokenPermissions token_permissions = 3;
|
||||||
|
*/
|
||||||
|
tokenPermissions?: TokenPermissions | undefined;
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Describes the message tokens.v1.UpdateTokenRequest.
|
||||||
|
* Use `create(UpdateTokenRequestSchema)` to create a new message.
|
||||||
|
*/
|
||||||
|
export const UpdateTokenRequestSchema: GenMessage<UpdateTokenRequest> = /*@__PURE__*/
|
||||||
|
messageDesc(file_tokens_v1_tokens_v1, 6);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @generated from message tokens.v1.UpdateTokenResponse
|
||||||
|
*/
|
||||||
|
export type UpdateTokenResponse = Message<"tokens.v1.UpdateTokenResponse"> & {
|
||||||
|
/**
|
||||||
|
* @generated from field: tokens.v1.TokenUUID token_uuid = 1;
|
||||||
|
*/
|
||||||
|
tokenUuid?: TokenUUID | undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @generated from field: tokens.v1.TokenMetadata token_metadata = 2;
|
||||||
|
*/
|
||||||
|
tokenMetadata?: TokenMetadata | undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @generated from field: tokens.v1.TokenPermissions token_permissions = 3;
|
||||||
|
*/
|
||||||
|
tokenPermissions?: TokenPermissions | undefined;
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Describes the message tokens.v1.UpdateTokenResponse.
|
||||||
|
* Use `create(UpdateTokenResponseSchema)` to create a new message.
|
||||||
|
*/
|
||||||
|
export const UpdateTokenResponseSchema: GenMessage<UpdateTokenResponse> = /*@__PURE__*/
|
||||||
|
messageDesc(file_tokens_v1_tokens_v1, 7);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @generated from message tokens.v1.ForceTokenExpirationRequest
|
||||||
|
*/
|
||||||
|
export type ForceTokenExpirationRequest = Message<"tokens.v1.ForceTokenExpirationRequest"> & {
|
||||||
|
/**
|
||||||
|
* @generated from field: tokens.v1.TokenUUID token_uuid = 1;
|
||||||
|
*/
|
||||||
|
tokenUuid?: TokenUUID | undefined;
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Describes the message tokens.v1.ForceTokenExpirationRequest.
|
||||||
|
* Use `create(ForceTokenExpirationRequestSchema)` to create a new message.
|
||||||
|
*/
|
||||||
|
export const ForceTokenExpirationRequestSchema: GenMessage<ForceTokenExpirationRequest> = /*@__PURE__*/
|
||||||
|
messageDesc(file_tokens_v1_tokens_v1, 8);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @generated from message tokens.v1.RegenerateTokenRequest
|
||||||
|
*/
|
||||||
|
export type RegenerateTokenRequest = Message<"tokens.v1.RegenerateTokenRequest"> & {
|
||||||
|
/**
|
||||||
|
* @generated from field: tokens.v1.TokenUUID token_uuid = 1;
|
||||||
|
*/
|
||||||
|
tokenUuid?: TokenUUID | undefined;
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Describes the message tokens.v1.RegenerateTokenRequest.
|
||||||
|
* Use `create(RegenerateTokenRequestSchema)` to create a new message.
|
||||||
|
*/
|
||||||
|
export const RegenerateTokenRequestSchema: GenMessage<RegenerateTokenRequest> = /*@__PURE__*/
|
||||||
|
messageDesc(file_tokens_v1_tokens_v1, 9);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @generated from message tokens.v1.RegenerateTokenResponse
|
||||||
|
*/
|
||||||
|
export type RegenerateTokenResponse = Message<"tokens.v1.RegenerateTokenResponse"> & {
|
||||||
|
/**
|
||||||
|
* @generated from field: tokens.v1.TokenValue token_value = 1;
|
||||||
|
*/
|
||||||
|
tokenValue?: TokenValue | undefined;
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Describes the message tokens.v1.RegenerateTokenResponse.
|
||||||
|
* Use `create(RegenerateTokenResponseSchema)` to create a new message.
|
||||||
|
*/
|
||||||
|
export const RegenerateTokenResponseSchema: GenMessage<RegenerateTokenResponse> = /*@__PURE__*/
|
||||||
|
messageDesc(file_tokens_v1_tokens_v1, 10);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @generated from message tokens.v1.GetTokenRequest
|
||||||
|
*/
|
||||||
|
export type GetTokenRequest = Message<"tokens.v1.GetTokenRequest"> & {
|
||||||
|
/**
|
||||||
|
* @generated from field: tokens.v1.TokenUUID token_uuid = 1;
|
||||||
|
*/
|
||||||
|
tokenUuid?: TokenUUID | undefined;
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Describes the message tokens.v1.GetTokenRequest.
|
||||||
|
* Use `create(GetTokenRequestSchema)` to create a new message.
|
||||||
|
*/
|
||||||
|
export const GetTokenRequestSchema: GenMessage<GetTokenRequest> = /*@__PURE__*/
|
||||||
|
messageDesc(file_tokens_v1_tokens_v1, 11);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @generated from message tokens.v1.GetTokenResponse
|
||||||
|
*/
|
||||||
|
export type GetTokenResponse = Message<"tokens.v1.GetTokenResponse"> & {
|
||||||
|
/**
|
||||||
|
* @generated from field: tokens.v1.TokenUUID token_uuid = 1;
|
||||||
|
*/
|
||||||
|
tokenUuid?: TokenUUID | undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @generated from field: tokens.v1.TokenMetadata token_metadata = 2;
|
||||||
|
*/
|
||||||
|
tokenMetadata?: TokenMetadata | undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @generated from field: tokens.v1.TokenPermissions token_permissions = 3;
|
||||||
|
*/
|
||||||
|
tokenPermissions?: TokenPermissions | undefined;
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Describes the message tokens.v1.GetTokenResponse.
|
||||||
|
* Use `create(GetTokenResponseSchema)` to create a new message.
|
||||||
|
*/
|
||||||
|
export const GetTokenResponseSchema: GenMessage<GetTokenResponse> = /*@__PURE__*/
|
||||||
|
messageDesc(file_tokens_v1_tokens_v1, 12);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @generated from message tokens.v1.ListTokensResponse
|
||||||
|
*/
|
||||||
|
export type ListTokensResponse = Message<"tokens.v1.ListTokensResponse"> & {
|
||||||
|
/**
|
||||||
|
* @generated from field: tokens.v1.TokenUUID token_uuid = 1;
|
||||||
|
*/
|
||||||
|
tokenUuid?: TokenUUID | undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @generated from field: tokens.v1.TokenMetadata token_metadata = 2;
|
||||||
|
*/
|
||||||
|
tokenMetadata?: TokenMetadata | undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @generated from field: tokens.v1.TokenPermissions token_permissions = 3;
|
||||||
|
*/
|
||||||
|
tokenPermissions?: TokenPermissions | undefined;
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Describes the message tokens.v1.ListTokensResponse.
|
||||||
|
* Use `create(ListTokensResponseSchema)` to create a new message.
|
||||||
|
*/
|
||||||
|
export const ListTokensResponseSchema: GenMessage<ListTokensResponse> = /*@__PURE__*/
|
||||||
|
messageDesc(file_tokens_v1_tokens_v1, 13);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Tokens should be used for programmatic access
|
||||||
|
* For example CLI or terraform modules
|
||||||
|
*
|
||||||
|
* @generated from service tokens.v1.TokensService
|
||||||
|
*/
|
||||||
|
export const TokensService: GenService<{
|
||||||
|
/**
|
||||||
|
* Create a new token
|
||||||
|
*
|
||||||
|
* @generated from rpc tokens.v1.TokensService.CreateToken
|
||||||
|
*/
|
||||||
|
createToken: {
|
||||||
|
methodKind: "unary";
|
||||||
|
input: typeof CreateTokenRequestSchema;
|
||||||
|
output: typeof CreateTokenResponseSchema;
|
||||||
|
},
|
||||||
|
/**
|
||||||
|
* Update an existing token
|
||||||
|
*
|
||||||
|
* @generated from rpc tokens.v1.TokensService.UpdateToken
|
||||||
|
*/
|
||||||
|
updateToken: {
|
||||||
|
methodKind: "unary";
|
||||||
|
input: typeof UpdateTokenRequestSchema;
|
||||||
|
output: typeof UpdateTokenResponseSchema;
|
||||||
|
},
|
||||||
|
/**
|
||||||
|
* Expire an existing token
|
||||||
|
*
|
||||||
|
* @generated from rpc tokens.v1.TokensService.ForceTokenExpiration
|
||||||
|
*/
|
||||||
|
forceTokenExpiration: {
|
||||||
|
methodKind: "unary";
|
||||||
|
input: typeof ForceTokenExpirationRequestSchema;
|
||||||
|
output: typeof EmptySchema;
|
||||||
|
},
|
||||||
|
/**
|
||||||
|
* Create a new token with the same UUID
|
||||||
|
*
|
||||||
|
* @generated from rpc tokens.v1.TokensService.RegenerateToken
|
||||||
|
*/
|
||||||
|
regenerateToken: {
|
||||||
|
methodKind: "unary";
|
||||||
|
input: typeof RegenerateTokenRequestSchema;
|
||||||
|
output: typeof RegenerateTokenResponseSchema;
|
||||||
|
},
|
||||||
|
/**
|
||||||
|
* Get an existing token
|
||||||
|
*
|
||||||
|
* @generated from rpc tokens.v1.TokensService.GetToken
|
||||||
|
*/
|
||||||
|
getToken: {
|
||||||
|
methodKind: "unary";
|
||||||
|
input: typeof GetTokenRequestSchema;
|
||||||
|
output: typeof GetTokenResponseSchema;
|
||||||
|
},
|
||||||
|
/**
|
||||||
|
* List all existing tokens
|
||||||
|
*
|
||||||
|
* @generated from rpc tokens.v1.TokensService.ListTokens
|
||||||
|
*/
|
||||||
|
listTokens: {
|
||||||
|
methodKind: "server_streaming";
|
||||||
|
input: typeof EmptySchema;
|
||||||
|
output: typeof ListTokensResponseSchema;
|
||||||
|
},
|
||||||
|
}> = /*@__PURE__*/
|
||||||
|
serviceDesc(file_tokens_v1_tokens_v1, 0);
|
||||||
|
|
||||||
Reference in New Issue
Block a user