Compare commits
9 Commits
account-au
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 1c62bf5edd | |||
| 797a803ddd | |||
| 2feefafb97 | |||
| 2a197f8475 | |||
| eaea181469 | |||
| 5c9c3e6f8d | |||
| 0a9bbfa062 | |||
| 1e962b31be | |||
| a06b132427 |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1 +1,2 @@
|
||||
node_modules/
|
||||
dist/
|
||||
|
||||
223
dist/api/accounts/v1/accounts_v1_pb.d.ts
vendored
223
dist/api/accounts/v1/accounts_v1_pb.d.ts
vendored
@@ -1,223 +0,0 @@
|
||||
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
||||
import type { EmptySchema } from "@bufbuild/protobuf/wkt";
|
||||
import type { Message } from "@bufbuild/protobuf";
|
||||
/**
|
||||
* Describes the file accounts/v1/accounts_v1.proto.
|
||||
*/
|
||||
export declare const file_accounts_v1_accounts_v1: GenFile;
|
||||
/**
|
||||
* @generated from message accounts.v1.AccountPassword
|
||||
*/
|
||||
export type AccountPassword = Message<"accounts.v1.AccountPassword"> & {
|
||||
/**
|
||||
* @generated from field: string password = 1;
|
||||
*/
|
||||
password: string;
|
||||
};
|
||||
/**
|
||||
* Describes the message accounts.v1.AccountPassword.
|
||||
* Use `create(AccountPasswordSchema)` to create a new message.
|
||||
*/
|
||||
export declare const AccountPasswordSchema: GenMessage<AccountPassword>;
|
||||
/**
|
||||
* @generated from message accounts.v1.AccountData
|
||||
*/
|
||||
export type AccountData = Message<"accounts.v1.AccountData"> & {
|
||||
/**
|
||||
* Account name
|
||||
*
|
||||
* @generated from field: string name = 1;
|
||||
*/
|
||||
name: string;
|
||||
/**
|
||||
* Account email
|
||||
*
|
||||
* @generated from field: string email = 2;
|
||||
*/
|
||||
email: string;
|
||||
};
|
||||
/**
|
||||
* Describes the message accounts.v1.AccountData.
|
||||
* Use `create(AccountDataSchema)` to create a new message.
|
||||
*/
|
||||
export declare const AccountDataSchema: GenMessage<AccountData>;
|
||||
/**
|
||||
* @generated from message accounts.v1.SignUpRequest
|
||||
*/
|
||||
export type SignUpRequest = Message<"accounts.v1.SignUpRequest"> & {
|
||||
/**
|
||||
* @generated from field: accounts.v1.AccountData data = 1;
|
||||
*/
|
||||
data?: AccountData | undefined;
|
||||
/**
|
||||
* @generated from field: accounts.v1.AccountPassword password = 2;
|
||||
*/
|
||||
password?: AccountPassword | undefined;
|
||||
};
|
||||
/**
|
||||
* Describes the message accounts.v1.SignUpRequest.
|
||||
* Use `create(SignUpRequestSchema)` to create a new message.
|
||||
*/
|
||||
export declare const SignUpRequestSchema: GenMessage<SignUpRequest>;
|
||||
/**
|
||||
* @generated from message accounts.v1.SignInRequest
|
||||
*/
|
||||
export type SignInRequest = Message<"accounts.v1.SignInRequest"> & {
|
||||
/**
|
||||
* @generated from field: accounts.v1.AccountData data = 1;
|
||||
*/
|
||||
data?: AccountData | undefined;
|
||||
/**
|
||||
* @generated from field: accounts.v1.AccountPassword password = 2;
|
||||
*/
|
||||
password?: AccountPassword | undefined;
|
||||
};
|
||||
/**
|
||||
* Describes the message accounts.v1.SignInRequest.
|
||||
* Use `create(SignInRequestSchema)` to create a new message.
|
||||
*/
|
||||
export declare const SignInRequestSchema: GenMessage<SignInRequest>;
|
||||
/**
|
||||
* @generated from message accounts.v1.ResetPasswordRequest
|
||||
*/
|
||||
export type ResetPasswordRequest = Message<"accounts.v1.ResetPasswordRequest"> & {
|
||||
/**
|
||||
* @generated from field: accounts.v1.AccountData data = 1;
|
||||
*/
|
||||
data?: AccountData | undefined;
|
||||
};
|
||||
/**
|
||||
* Describes the message accounts.v1.ResetPasswordRequest.
|
||||
* Use `create(ResetPasswordRequestSchema)` to create a new message.
|
||||
*/
|
||||
export declare const ResetPasswordRequestSchema: GenMessage<ResetPasswordRequest>;
|
||||
/**
|
||||
* @generated from message accounts.v1.NewPasswordRequest
|
||||
*/
|
||||
export type NewPasswordRequest = Message<"accounts.v1.NewPasswordRequest"> & {
|
||||
/**
|
||||
* @generated from field: accounts.v1.AccountData data = 1;
|
||||
*/
|
||||
data?: AccountData | undefined;
|
||||
/**
|
||||
* @generated from field: accounts.v1.AccountPassword password = 2;
|
||||
*/
|
||||
password?: AccountPassword | undefined;
|
||||
/**
|
||||
* @generated from field: string code = 3;
|
||||
*/
|
||||
code: string;
|
||||
};
|
||||
/**
|
||||
* Describes the message accounts.v1.NewPasswordRequest.
|
||||
* Use `create(NewPasswordRequestSchema)` to create a new message.
|
||||
*/
|
||||
export declare const NewPasswordRequestSchema: GenMessage<NewPasswordRequest>;
|
||||
/**
|
||||
* @generated from message accounts.v1.IsEmailVerifiedRequest
|
||||
*/
|
||||
export type IsEmailVerifiedRequest = Message<"accounts.v1.IsEmailVerifiedRequest"> & {
|
||||
/**
|
||||
* @generated from field: accounts.v1.AccountData data = 1;
|
||||
*/
|
||||
data?: AccountData | undefined;
|
||||
};
|
||||
/**
|
||||
* Describes the message accounts.v1.IsEmailVerifiedRequest.
|
||||
* Use `create(IsEmailVerifiedRequestSchema)` to create a new message.
|
||||
*/
|
||||
export declare const IsEmailVerifiedRequestSchema: GenMessage<IsEmailVerifiedRequest>;
|
||||
/**
|
||||
* @generated from message accounts.v1.IsEmailVerifiedResponse
|
||||
*/
|
||||
export type IsEmailVerifiedResponse = Message<"accounts.v1.IsEmailVerifiedResponse"> & {
|
||||
/**
|
||||
* @generated from field: bool verified = 1;
|
||||
*/
|
||||
verified: boolean;
|
||||
};
|
||||
/**
|
||||
* Describes the message accounts.v1.IsEmailVerifiedResponse.
|
||||
* Use `create(IsEmailVerifiedResponseSchema)` to create a new message.
|
||||
*/
|
||||
export declare const IsEmailVerifiedResponseSchema: GenMessage<IsEmailVerifiedResponse>;
|
||||
/**
|
||||
* *
|
||||
* Service for handling accounts that do not require authentication
|
||||
*
|
||||
* @generated from service accounts.v1.AccountsNoAuthService
|
||||
*/
|
||||
export declare const AccountsNoAuthService: GenService<{
|
||||
/**
|
||||
* Create a new user
|
||||
*
|
||||
* @generated from rpc accounts.v1.AccountsNoAuthService.SignUp
|
||||
*/
|
||||
signUp: {
|
||||
methodKind: "unary";
|
||||
input: typeof SignUpRequestSchema;
|
||||
output: typeof EmptySchema;
|
||||
};
|
||||
/**
|
||||
* Sing in into an existing account
|
||||
*
|
||||
* @generated from rpc accounts.v1.AccountsNoAuthService.SignIn
|
||||
*/
|
||||
signIn: {
|
||||
methodKind: "unary";
|
||||
input: typeof SignInRequestSchema;
|
||||
output: typeof EmptySchema;
|
||||
};
|
||||
/**
|
||||
* Reset the password, if it was lost
|
||||
*
|
||||
* @generated from rpc accounts.v1.AccountsNoAuthService.ResetPassword
|
||||
*/
|
||||
resetPassword: {
|
||||
methodKind: "unary";
|
||||
input: typeof ResetPasswordRequestSchema;
|
||||
output: typeof EmptySchema;
|
||||
};
|
||||
/**
|
||||
* Set the new password after reset
|
||||
*
|
||||
* @generated from rpc accounts.v1.AccountsNoAuthService.NewPassword
|
||||
*/
|
||||
newPassword: {
|
||||
methodKind: "unary";
|
||||
input: typeof NewPasswordRequestSchema;
|
||||
output: typeof EmptySchema;
|
||||
};
|
||||
/**
|
||||
* Send the refresh token request, token should be passed in the metadata.
|
||||
* This rpc does requier auth, but it should be handled not on the middleware level,
|
||||
* that's why it set in the NoAuth service
|
||||
*
|
||||
* @generated from rpc accounts.v1.AccountsNoAuthService.RefreshToken
|
||||
*/
|
||||
refreshToken: {
|
||||
methodKind: "unary";
|
||||
input: typeof EmptySchema;
|
||||
output: typeof EmptySchema;
|
||||
};
|
||||
}>;
|
||||
/**
|
||||
* *
|
||||
* 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.AccountAuthService
|
||||
*/
|
||||
export declare const AccountAuthService: GenService<{
|
||||
/**
|
||||
* Is email for the current account verified
|
||||
*
|
||||
* @generated from rpc accounts.v1.AccountAuthService.IsEmailVerified
|
||||
*/
|
||||
isEmailVerified: {
|
||||
methodKind: "unary";
|
||||
input: typeof IsEmailVerifiedRequestSchema;
|
||||
output: typeof IsEmailVerifiedResponseSchema;
|
||||
};
|
||||
}>;
|
||||
//# sourceMappingURL=accounts_v1_pb.d.ts.map
|
||||
1
dist/api/accounts/v1/accounts_v1_pb.d.ts.map
vendored
1
dist/api/accounts/v1/accounts_v1_pb.d.ts.map
vendored
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"accounts_v1_pb.d.ts","sourceRoot":"","sources":["../../../../src/api/accounts/v1/accounts_v1_pb.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAEpF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAE1D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,4BAA4B,EAAE,OAC2kD,CAAC;AAEvnD;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC,6BAA6B,CAAC,GAAG;IACrE;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,qBAAqB,EAAE,UAAU,CAAC,eAAe,CAChB,CAAC;AAE/C;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC,yBAAyB,CAAC,GAAG;IAC7D;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,EAAE,UAAU,CAAC,WAAW,CACR,CAAC;AAE/C;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,OAAO,CAAC,2BAA2B,CAAC,GAAG;IACjE;;OAEG;IACH,IAAI,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;IAE/B;;OAEG;IACH,QAAQ,CAAC,EAAE,eAAe,GAAG,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ist/api/accounts/v1/accounts_v1_pb.js
vendored
62
dist/api/accounts/v1/accounts_v1_pb.js
vendored
@@ -1,62 +0,0 @@
|
||||
/// Protobuf definitions for the accounts service.
|
||||
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
||||
import { file_google_protobuf_empty } from "@bufbuild/protobuf/wkt";
|
||||
/**
|
||||
* Describes the file accounts/v1/accounts_v1.proto.
|
||||
*/
|
||||
export const file_accounts_v1_accounts_v1 = /*@__PURE__*/ fileDesc("Ch1hY2NvdW50cy92MS9hY2NvdW50c192MS5wcm90bxILYWNjb3VudHMudjEiIwoPQWNjb3VudFBhc3N3b3JkEhAKCHBhc3N3b3JkGAEgASgJIioKC0FjY291bnREYXRhEgwKBG5hbWUYASABKAkSDQoFZW1haWwYAiABKAkiZwoNU2lnblVwUmVxdWVzdBImCgRkYXRhGAEgASgLMhguYWNjb3VudHMudjEuQWNjb3VudERhdGESLgoIcGFzc3dvcmQYAiABKAsyHC5hY2NvdW50cy52MS5BY2NvdW50UGFzc3dvcmQiZwoNU2lnbkluUmVxdWVzdBImCgRkYXRhGAEgASgLMhguYWNjb3VudHMudjEuQWNjb3VudERhdGESLgoIcGFzc3dvcmQYAiABKAsyHC5hY2NvdW50cy52MS5BY2NvdW50UGFzc3dvcmQiPgoUUmVzZXRQYXNzd29yZFJlcXVlc3QSJgoEZGF0YRgBIAEoCzIYLmFjY291bnRzLnYxLkFjY291bnREYXRhInoKEk5ld1Bhc3N3b3JkUmVxdWVzdBImCgRkYXRhGAEgASgLMhguYWNjb3VudHMudjEuQWNjb3VudERhdGESLgoIcGFzc3dvcmQYAiABKAsyHC5hY2NvdW50cy52MS5BY2NvdW50UGFzc3dvcmQSDAoEY29kZRgDIAEoCSJAChZJc0VtYWlsVmVyaWZpZWRSZXF1ZXN0EiYKBGRhdGEYASABKAsyGC5hY2NvdW50cy52MS5BY2NvdW50RGF0YSIrChdJc0VtYWlsVmVyaWZpZWRSZXNwb25zZRIQCgh2ZXJpZmllZBgBIAEoCDLxAgoVQWNjb3VudHNOb0F1dGhTZXJ2aWNlEj4KBlNpZ25VcBIaLmFjY291bnRzLnYxLlNpZ25VcFJlcXVlc3QaFi5nb29nbGUucHJvdG9idWYuRW1wdHkiABI+CgZTaWduSW4SGi5hY2NvdW50cy52MS5TaWduSW5SZXF1ZXN0GhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5IgASTAoNUmVzZXRQYXNzd29yZBIhLmFjY291bnRzLnYxLlJlc2V0UGFzc3dvcmRSZXF1ZXN0GhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5IgASSAoLTmV3UGFzc3dvcmQSHy5hY2NvdW50cy52MS5OZXdQYXNzd29yZFJlcXVlc3QaFi5nb29nbGUucHJvdG9idWYuRW1wdHkiABJACgxSZWZyZXNoVG9rZW4SFi5nb29nbGUucHJvdG9idWYuRW1wdHkaFi5nb29nbGUucHJvdG9idWYuRW1wdHkiADJ0ChJBY2NvdW50QXV0aFNlcnZpY2USXgoPSXNFbWFpbFZlcmlmaWVkEiMuYWNjb3VudHMudjEuSXNFbWFpbFZlcmlmaWVkUmVxdWVzdBokLmFjY291bnRzLnYxLklzRW1haWxWZXJpZmllZFJlc3BvbnNlIgBCSVpHZ2l0ZWEuYmFkaG91c2VwbGFudHMubmV0L3NvZnRwbGF5ZXIvc29mdHBsYXllci1nby1wcm90by9wa2cvYWNjb3VudHMvdjFiBnByb3RvMw", [file_google_protobuf_empty]);
|
||||
/**
|
||||
* Describes the message accounts.v1.AccountPassword.
|
||||
* Use `create(AccountPasswordSchema)` to create a new message.
|
||||
*/
|
||||
export const AccountPasswordSchema = /*@__PURE__*/ messageDesc(file_accounts_v1_accounts_v1, 0);
|
||||
/**
|
||||
* Describes the message accounts.v1.AccountData.
|
||||
* Use `create(AccountDataSchema)` to create a new message.
|
||||
*/
|
||||
export const AccountDataSchema = /*@__PURE__*/ messageDesc(file_accounts_v1_accounts_v1, 1);
|
||||
/**
|
||||
* Describes the message accounts.v1.SignUpRequest.
|
||||
* Use `create(SignUpRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const SignUpRequestSchema = /*@__PURE__*/ messageDesc(file_accounts_v1_accounts_v1, 2);
|
||||
/**
|
||||
* Describes the message accounts.v1.SignInRequest.
|
||||
* Use `create(SignInRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const SignInRequestSchema = /*@__PURE__*/ messageDesc(file_accounts_v1_accounts_v1, 3);
|
||||
/**
|
||||
* Describes the message accounts.v1.ResetPasswordRequest.
|
||||
* Use `create(ResetPasswordRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const ResetPasswordRequestSchema = /*@__PURE__*/ messageDesc(file_accounts_v1_accounts_v1, 4);
|
||||
/**
|
||||
* Describes the message accounts.v1.NewPasswordRequest.
|
||||
* Use `create(NewPasswordRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const NewPasswordRequestSchema = /*@__PURE__*/ messageDesc(file_accounts_v1_accounts_v1, 5);
|
||||
/**
|
||||
* Describes the message accounts.v1.IsEmailVerifiedRequest.
|
||||
* Use `create(IsEmailVerifiedRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const IsEmailVerifiedRequestSchema = /*@__PURE__*/ messageDesc(file_accounts_v1_accounts_v1, 6);
|
||||
/**
|
||||
* Describes the message accounts.v1.IsEmailVerifiedResponse.
|
||||
* Use `create(IsEmailVerifiedResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const IsEmailVerifiedResponseSchema = /*@__PURE__*/ messageDesc(file_accounts_v1_accounts_v1, 7);
|
||||
/**
|
||||
* *
|
||||
* Service for handling accounts that do not require authentication
|
||||
*
|
||||
* @generated from service accounts.v1.AccountsNoAuthService
|
||||
*/
|
||||
export const AccountsNoAuthService = /*@__PURE__*/ serviceDesc(file_accounts_v1_accounts_v1, 0);
|
||||
/**
|
||||
* *
|
||||
* 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.AccountAuthService
|
||||
*/
|
||||
export const AccountAuthService = /*@__PURE__*/ serviceDesc(file_accounts_v1_accounts_v1, 1);
|
||||
304
dist/api/applications/v1/applications_v1_pb.d.ts
vendored
304
dist/api/applications/v1/applications_v1_pb.d.ts
vendored
@@ -1,304 +0,0 @@
|
||||
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
||||
import type { EmptySchema } from "@bufbuild/protobuf/wkt";
|
||||
import type { Message } from "@bufbuild/protobuf";
|
||||
/**
|
||||
* Describes the file applications/v1/applications_v1.proto.
|
||||
*/
|
||||
export declare const file_applications_v1_applications_v1: GenFile;
|
||||
/**
|
||||
* @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 declare const OwnerIdSchema: GenMessage<OwnerId>;
|
||||
/**
|
||||
* @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 declare const TokenSchema: GenMessage<Token>;
|
||||
/**
|
||||
* @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 declare const CreateOptionsSchema: GenMessage<CreateOptions>;
|
||||
/**
|
||||
* @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 declare const UpdateOptionsSchema: GenMessage<UpdateOptions>;
|
||||
/**
|
||||
* @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 declare const DeleteOptionsSchema: GenMessage<DeleteOptions>;
|
||||
/**
|
||||
* @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 declare const GetOptionsSchema: GenMessage<GetOptions>;
|
||||
/**
|
||||
* @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 declare const ListOptionsSchema: GenMessage<ListOptions>;
|
||||
/**
|
||||
* @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 declare const ApplicationIdSchema: GenMessage<ApplicationId>;
|
||||
/**
|
||||
* @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 declare const ApplicationMetadataSchema: GenMessage<ApplicationMetadata>;
|
||||
/**
|
||||
* @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 declare const ApplicationSpecSchema: GenMessage<ApplicationSpec>;
|
||||
/**
|
||||
* @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 declare const ApplicationFullSchema: GenMessage<ApplicationFull>;
|
||||
/**
|
||||
* *
|
||||
* Service for handling applications
|
||||
*
|
||||
* @generated from service applications.Applications
|
||||
*/
|
||||
export declare 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;
|
||||
};
|
||||
}>;
|
||||
//# sourceMappingURL=applications_v1_pb.d.ts.map
|
||||
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"applications_v1_pb.d.ts","sourceRoot":"","sources":["../../../../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O,CAAC,8BAA8B,CAAC,GAAG;IACtE;;OAEG;IACH,QAAQ,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAC;IAE3C;;OAEG;IACH,IAAI,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC;IAEnC;;OAEG;IACH,EAAE,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,qBAAqB,EAAE,UAAU,CAAC,eAAe,CACP,CAAC;AAExD;;;;;GAKG;AACH,eAAO,MAAM,YAAY,EAAE,UAAU,CAAC;IACpC;;OAEG;IACH,MAAM,EAAE;QACN,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,mBAAmB,CAAC;QAClC,MAAM,EAAE,OAAO,qBAAqB,CAAC;KACtC,CAAC;IACF;;OAEG;IACH,MAAM,EAAE;QACN,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,mBAAmB,CAAC;QAClC,MAAM,EAAE,OAAO,qBAAqB,CAAC;KACtC,CAAC;IACF;;OAEG;IACH,MAAM,EAAE;QACN,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,mBAAmB,CAAC;QAClC,MAAM,EAAE,OAAO,WAAW,CAAC;KAC5B,CAAC;IACF;;OAEG;IACH,GAAG,EAAE;QACH,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,gBAAgB,CAAC;QAC/B,MAAM,EAAE,OAAO,qBAAqB,CAAC;KACtC,CAAC;IACF;;OAEG;IACH,IAAI,EAAE;QACJ,UAAU,EAAE,kBAAkB,CAAC;QAC/B,KAAK,EAAE,OAAO,iBAAiB,CAAC;QAChC,MAAM,EAAE,OAAO,qBAAqB,CAAC;KACtC,CAAC;CACH,CACqD,CAAC"}
|
||||
69
dist/api/applications/v1/applications_v1_pb.js
vendored
69
dist/api/applications/v1/applications_v1_pb.js
vendored
@@ -1,69 +0,0 @@
|
||||
/// This file has messages for describing applications
|
||||
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
||||
import { file_google_protobuf_empty } from "@bufbuild/protobuf/wkt";
|
||||
/**
|
||||
* Describes the file applications/v1/applications_v1.proto.
|
||||
*/
|
||||
export const file_applications_v1_applications_v1 = /*@__PURE__*/ fileDesc("CiVhcHBsaWNhdGlvbnMvdjEvYXBwbGljYXRpb25zX3YxLnByb3RvEgxhcHBsaWNhdGlvbnMiFwoHT3duZXJJZBIMCgR1dWlkGAEgASgJIhYKBVRva2VuEg0KBXRva2VuGAEgASgJIr4BCg1DcmVhdGVPcHRpb25zEjMKCG1ldGFkYXRhGAEgASgLMiEuYXBwbGljYXRpb25zLkFwcGxpY2F0aW9uTWV0YWRhdGESKwoEc3BlYxgCIAEoCzIdLmFwcGxpY2F0aW9ucy5BcHBsaWNhdGlvblNwZWMSJwoIb3duZXJfaWQYAyABKAsyFS5hcHBsaWNhdGlvbnMuT3duZXJJZBIiCgV0b2tlbhgEIAEoCzITLmFwcGxpY2F0aW9ucy5Ub2tlbiLnAQoNVXBkYXRlT3B0aW9ucxInCgJpZBgBIAEoCzIbLmFwcGxpY2F0aW9ucy5BcHBsaWNhdGlvbklkEjMKCG1ldGFkYXRhGAIgASgLMiEuYXBwbGljYXRpb25zLkFwcGxpY2F0aW9uTWV0YWRhdGESKwoEc3BlYxgDIAEoCzIdLmFwcGxpY2F0aW9ucy5BcHBsaWNhdGlvblNwZWMSJwoIb3duZXJfaWQYBCABKAsyFS5hcHBsaWNhdGlvbnMuT3duZXJJZBIiCgV0b2tlbhgFIAEoCzITLmFwcGxpY2F0aW9ucy5Ub2tlbiK6AQoNRGVsZXRlT3B0aW9ucxInCgJpZBgBIAEoCzIbLmFwcGxpY2F0aW9ucy5BcHBsaWNhdGlvbklkEjMKCG1ldGFkYXRhGAIgASgLMiEuYXBwbGljYXRpb25zLkFwcGxpY2F0aW9uTWV0YWRhdGESJwoIb3duZXJfaWQYAyABKAsyFS5hcHBsaWN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AEoCzIbLmFwcGxpY2F0aW9ucy5BcHBsaWNhdGlvbklkMucCCgxBcHBsaWNhdGlvbnMSRgoGQ3JlYXRlEhsuYXBwbGljYXRpb25zLkNyZWF0ZU9wdGlvbnMaHS5hcHBsaWNhdGlvbnMuQXBwbGljYXRpb25GdWxsIgASRgoGVXBkYXRlEhsuYXBwbGljYXRpb25zLlVwZGF0ZU9wdGlvbnMaHS5hcHBsaWNhdGlvbnMuQXBwbGljYXRpb25GdWxsIgASPwoGRGVsZXRlEhsuYXBwbGljYXRpb25zLkRlbGV0ZU9wdGlvbnMaFi5nb29nbGUucHJvdG9idWYuRW1wdHkiABJACgNHZXQSGC5hcHBsaWNhdGlvbnMuR2V0T3B0aW9ucxodLmFwcGxpY2F0aW9ucy5BcHBsaWNhdGlvbkZ1bGwiABJECgRMaXN0EhkuYXBwbGljYXRpb25zLkxpc3RPcHRpb25zGh0uYXBwbGljYXRpb25zLkFwcGxpY2F0aW9uRnVsbCIAMAFCSlpIZ2l0ZWEuYmFkaG91c2VwbGFudHMubmV0L3NvZnRwbGF5ZXIvc29mdHBsYXllci1nby1wcm90by9wa2cvYXBwbGljYXRpb25zYgZwcm90bzM", [file_google_protobuf_empty]);
|
||||
/**
|
||||
* Describes the message applications.OwnerId.
|
||||
* Use `create(OwnerIdSchema)` to create a new message.
|
||||
*/
|
||||
export const OwnerIdSchema = /*@__PURE__*/ messageDesc(file_applications_v1_applications_v1, 0);
|
||||
/**
|
||||
* Describes the message applications.Token.
|
||||
* Use `create(TokenSchema)` to create a new message.
|
||||
*/
|
||||
export const TokenSchema = /*@__PURE__*/ messageDesc(file_applications_v1_applications_v1, 1);
|
||||
/**
|
||||
* Describes the message applications.CreateOptions.
|
||||
* Use `create(CreateOptionsSchema)` to create a new message.
|
||||
*/
|
||||
export const CreateOptionsSchema = /*@__PURE__*/ messageDesc(file_applications_v1_applications_v1, 2);
|
||||
/**
|
||||
* Describes the message applications.UpdateOptions.
|
||||
* Use `create(UpdateOptionsSchema)` to create a new message.
|
||||
*/
|
||||
export const UpdateOptionsSchema = /*@__PURE__*/ messageDesc(file_applications_v1_applications_v1, 3);
|
||||
/**
|
||||
* Describes the message applications.DeleteOptions.
|
||||
* Use `create(DeleteOptionsSchema)` to create a new message.
|
||||
*/
|
||||
export const DeleteOptionsSchema = /*@__PURE__*/ messageDesc(file_applications_v1_applications_v1, 4);
|
||||
/**
|
||||
* Describes the message applications.GetOptions.
|
||||
* Use `create(GetOptionsSchema)` to create a new message.
|
||||
*/
|
||||
export const GetOptionsSchema = /*@__PURE__*/ messageDesc(file_applications_v1_applications_v1, 5);
|
||||
/**
|
||||
* Describes the message applications.ListOptions.
|
||||
* Use `create(ListOptionsSchema)` to create a new message.
|
||||
*/
|
||||
export const ListOptionsSchema = /*@__PURE__*/ messageDesc(file_applications_v1_applications_v1, 6);
|
||||
/**
|
||||
* Describes the message applications.ApplicationId.
|
||||
* Use `create(ApplicationIdSchema)` to create a new message.
|
||||
*/
|
||||
export const ApplicationIdSchema = /*@__PURE__*/ messageDesc(file_applications_v1_applications_v1, 7);
|
||||
/**
|
||||
* Describes the message applications.ApplicationMetadata.
|
||||
* Use `create(ApplicationMetadataSchema)` to create a new message.
|
||||
*/
|
||||
export const ApplicationMetadataSchema = /*@__PURE__*/ messageDesc(file_applications_v1_applications_v1, 8);
|
||||
/**
|
||||
* Describes the message applications.ApplicationSpec.
|
||||
* Use `create(ApplicationSpecSchema)` to create a new message.
|
||||
*/
|
||||
export const ApplicationSpecSchema = /*@__PURE__*/ messageDesc(file_applications_v1_applications_v1, 9);
|
||||
/**
|
||||
* Describes the message applications.ApplicationFull.
|
||||
* Use `create(ApplicationFullSchema)` to create a new message.
|
||||
*/
|
||||
export const ApplicationFullSchema = /*@__PURE__*/ messageDesc(file_applications_v1_applications_v1, 10);
|
||||
/**
|
||||
* *
|
||||
* Service for handling applications
|
||||
*
|
||||
* @generated from service applications.Applications
|
||||
*/
|
||||
export const Applications = /*@__PURE__*/ serviceDesc(file_applications_v1_applications_v1, 0);
|
||||
64
dist/api/email/v1/email_v1_pb.d.ts
vendored
64
dist/api/email/v1/email_v1_pb.d.ts
vendored
@@ -1,64 +0,0 @@
|
||||
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
||||
import type { EmptySchema } from "@bufbuild/protobuf/wkt";
|
||||
import type { Message } from "@bufbuild/protobuf";
|
||||
/**
|
||||
* Describes the file email/v1/email_v1.proto.
|
||||
*/
|
||||
export declare const file_email_v1_email_v1: GenFile;
|
||||
/**
|
||||
* @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 declare const RequestValidationSchema: GenMessage<RequestValidation>;
|
||||
/**
|
||||
* @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 declare const ConfirmValidationSchema: GenMessage<ConfirmValidation>;
|
||||
/**
|
||||
*
|
||||
* A service that should handle email validation
|
||||
*
|
||||
* @generated from service email.EmailValidation
|
||||
*/
|
||||
export declare 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;
|
||||
};
|
||||
}>;
|
||||
//# sourceMappingURL=email_v1_pb.d.ts.map
|
||||
1
dist/api/email/v1/email_v1_pb.d.ts.map
vendored
1
dist/api/email/v1/email_v1_pb.d.ts.map
vendored
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"email_v1_pb.d.ts","sourceRoot":"","sources":["../../../../src/api/email/v1/email_v1_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAEpF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAE1D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,sBAAsB,EAAE,OACie,CAAC;AAEvgB;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,yBAAyB,CAAC,GAAG;IACnE;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,uBAAuB,EAAE,UAAU,CAAC,iBAAiB,CAC1B,CAAC;AAEzC;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,yBAAyB,CAAC,GAAG;IACnE;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,uBAAuB,EAAE,UAAU,CAAC,iBAAiB,CAC1B,CAAC;AAEzC;;;;;GAKG;AACH,eAAO,MAAM,eAAe,EAAE,UAAU,CAAC;IACvC;;OAEG;IACH,WAAW,EAAE;QACX,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,uBAAuB,CAAC;QACtC,MAAM,EAAE,OAAO,WAAW,CAAC;KAC5B,CAAC;IACF;;OAEG;IACH,aAAa,EAAE;QACb,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,uBAAuB,CAAC;QACtC,MAAM,EAAE,OAAO,WAAW,CAAC;KAC5B,CAAC;CACH,CACuC,CAAC"}
|
||||
26
dist/api/email/v1/email_v1_pb.js
vendored
26
dist/api/email/v1/email_v1_pb.js
vendored
@@ -1,26 +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 { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
||||
import { file_google_protobuf_empty } from "@bufbuild/protobuf/wkt";
|
||||
/**
|
||||
* Describes the file email/v1/email_v1.proto.
|
||||
*/
|
||||
export const file_email_v1_email_v1 = /*@__PURE__*/ fileDesc("ChdlbWFpbC92MS9lbWFpbF92MS5wcm90bxIFZW1haWwiJAoRUmVxdWVzdFZhbGlkYXRpb24SDwoHdXNlcl9pZBgBIAEoCSIyChFDb25maXJtVmFsaWRhdGlvbhIPCgd1c2VyX2lkGAEgASgJEgwKBGNvZGUYAiABKAUymQEKD0VtYWlsVmFsaWRhdGlvbhJBCgtTZW5kUmVxdWVzdBIYLmVtYWlsLlJlcXVlc3RWYWxpZGF0aW9uGhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5IgASQwoNVmFsaWRhdGVFbWFpbBIYLmVtYWlsLkNvbmZpcm1WYWxpZGF0aW9uGhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5IgBCQ1pBZ2l0ZWEuYmFkaG91c2VwbGFudHMubmV0L3NvZnRwbGF5ZXIvc29mdHBsYXllci1nby1wcm90by9wa2cvZW1haWxiBnByb3RvMw", [file_google_protobuf_empty]);
|
||||
/**
|
||||
* Describes the message email.RequestValidation.
|
||||
* Use `create(RequestValidationSchema)` to create a new message.
|
||||
*/
|
||||
export const RequestValidationSchema = /*@__PURE__*/ messageDesc(file_email_v1_email_v1, 0);
|
||||
/**
|
||||
* Describes the message email.ConfirmValidation.
|
||||
* Use `create(ConfirmValidationSchema)` to create a new message.
|
||||
*/
|
||||
export const ConfirmValidationSchema = /*@__PURE__*/ messageDesc(file_email_v1_email_v1, 1);
|
||||
/**
|
||||
*
|
||||
* A service that should handle email validation
|
||||
*
|
||||
* @generated from service email.EmailValidation
|
||||
*/
|
||||
export const EmailValidation = /*@__PURE__*/ serviceDesc(file_email_v1_email_v1, 0);
|
||||
413
dist/api/environments/v1/environments_v1_pb.d.ts
vendored
413
dist/api/environments/v1/environments_v1_pb.d.ts
vendored
@@ -1,413 +0,0 @@
|
||||
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
||||
import type { EmptySchema } from "@bufbuild/protobuf/wkt";
|
||||
import type { Message } from "@bufbuild/protobuf";
|
||||
/**
|
||||
* Describes the file environments/v1/environments_v1.proto.
|
||||
*/
|
||||
export declare const file_environments_v1_environments_v1: GenFile;
|
||||
/**
|
||||
* @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 declare const OwnerIdSchema: GenMessage<OwnerId>;
|
||||
/**
|
||||
* @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 declare const TokenSchema: GenMessage<Token>;
|
||||
/**
|
||||
* @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 declare const CreateOptionsSchema: GenMessage<CreateOptions>;
|
||||
/**
|
||||
* @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 declare const UpdateOptionsSchema: GenMessage<UpdateOptions>;
|
||||
/**
|
||||
* @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 declare const DeleteOptionsSchema: GenMessage<DeleteOptions>;
|
||||
/**
|
||||
* @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 declare const GetOptionsSchema: GenMessage<GetOptions>;
|
||||
/**
|
||||
* @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 declare const ListOptionsSchema: GenMessage<ListOptions>;
|
||||
/**
|
||||
* @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 declare const EnvironmentIdSchema: GenMessage<EnvironmentId>;
|
||||
/**
|
||||
* @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 declare const EnvironmentMetadataSchema: GenMessage<EnvironmentMetadata>;
|
||||
/**
|
||||
* @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 declare const EnvironmentSpecSchema: GenMessage<EnvironmentSpec>;
|
||||
/**
|
||||
* @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 declare const EnvironmentFullSchema: GenMessage<EnvironmentFull>;
|
||||
/**
|
||||
* *
|
||||
* Helpers and other messages
|
||||
*
|
||||
* @generated from enum environments.Provider
|
||||
*/
|
||||
export declare 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 declare const ProviderSchema: GenEnum<Provider>;
|
||||
/**
|
||||
* @generated from enum environments.ServerType
|
||||
*/
|
||||
export declare 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 declare const ServerTypeSchema: GenEnum<ServerType>;
|
||||
/**
|
||||
* @generated from enum environments.Location
|
||||
*/
|
||||
export declare 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 declare const LocationSchema: GenEnum<Location>;
|
||||
/**
|
||||
* @generated from enum environments.Kubernetes
|
||||
*/
|
||||
export declare 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 declare const KubernetesSchema: GenEnum<Kubernetes>;
|
||||
/**
|
||||
* *
|
||||
* Service for handling environments
|
||||
*
|
||||
* @generated from service environments.Environments
|
||||
*/
|
||||
export declare 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;
|
||||
};
|
||||
}>;
|
||||
//# sourceMappingURL=environments_v1_pb.d.ts.map
|
||||
File diff suppressed because one or more lines are too long
176
dist/api/environments/v1/environments_v1_pb.js
vendored
176
dist/api/environments/v1/environments_v1_pb.js
vendored
@@ -1,176 +0,0 @@
|
||||
/// This file has messages for describing environments
|
||||
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
||||
import { file_google_protobuf_empty } from "@bufbuild/protobuf/wkt";
|
||||
/**
|
||||
* Describes the file environments/v1/environments_v1.proto.
|
||||
*/
|
||||
export const file_environments_v1_environments_v1 = /*@__PURE__*/ fileDesc("CiVlbnZpcm9ubWVudHMvdjEvZW52aXJvbm1lbnRzX3YxLnByb3RvEgxlbnZpcm9ubWVudHMiFwoHT3duZXJJZBIMCgR1dWlkGAEgASgJIhYKBVRva2VuEg0KBXRva2VuGAEgASgJIr4BCg1DcmVhdGVPcHRpb25zEjMKCG1ldGFkYXRhGAEgASgLMiEuZW52aXJvbm1lbnRzLkVudmlyb25tZW50TWV0YWRhdGESKwoEc3BlYxgCIAEoCzIdLmVudmlyb25tZW50cy5FbnZpcm9ubWVudFNwZWMSJwoIb3duZXJfaWQYAyABKAsyFS5lbnZpcm9ubWVudHMuT3duZXJJZBIiCgV0b2tlbhgEIAEoCzITLmVudmlyb25tZW50cy5Ub2tlbiLnAQoNVXBkYXRlT3B0aW9ucxInCgJpZBgBIAEoCzIbLmVudmlyb25tZW50cy5FbnZpcm9ubWVudElkEjMKCG1ldGFkYXRhGAIgASgLMiEuZW52aXJvbm1lbnRzLkVudmlyb25tZW50TWV0YWRhdGESKwoEc3BlYxgDIAEoCzIdLmVudmlyb25tZW50cy5FbnZpcm9ubWVudFNwZWMSJwoIb3duZXJfaWQYBCABKAsyFS5lbnZpcm9ubWVudHMuT3duZXJJZBIiCgV0b2tlbhgFIAEoCzITLmVudmlyb25tZW50cy5Ub2tlbiK6AQoNRGVsZXRlT3B0aW9ucxInCgJpZBgBIAEoCzIbLmVudmlyb25tZW50cy5FbnZpcm9ubWVudElkEjMKCG1ldGFkYXRhGAIgASgLMiEuZW52aXJvbm1lbnRzLkVudmlyb25tZW50TWV0YWRhdGESJwoIb3duZXJfaWQYAyABKAsyFS5lbnZpcm9ubWVudHMuT3duZXJJZBIi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bGwiABJECgRMaXN0EhkuZW52aXJvbm1lbnRzLkxpc3RPcHRpb25zGh0uZW52aXJvbm1lbnRzLkVudmlyb25tZW50RnVsbCIAMAFCSlpIZ2l0ZWEuYmFkaG91c2VwbGFudHMubmV0L3NvZnRwbGF5ZXIvc29mdHBsYXllci1nby1wcm90by9wa2cvZW52aXJvbm1lbnRzYgZwcm90bzM", [file_google_protobuf_empty]);
|
||||
/**
|
||||
* Describes the message environments.OwnerId.
|
||||
* Use `create(OwnerIdSchema)` to create a new message.
|
||||
*/
|
||||
export const OwnerIdSchema = /*@__PURE__*/ messageDesc(file_environments_v1_environments_v1, 0);
|
||||
/**
|
||||
* Describes the message environments.Token.
|
||||
* Use `create(TokenSchema)` to create a new message.
|
||||
*/
|
||||
export const TokenSchema = /*@__PURE__*/ messageDesc(file_environments_v1_environments_v1, 1);
|
||||
/**
|
||||
* Describes the message environments.CreateOptions.
|
||||
* Use `create(CreateOptionsSchema)` to create a new message.
|
||||
*/
|
||||
export const CreateOptionsSchema = /*@__PURE__*/ messageDesc(file_environments_v1_environments_v1, 2);
|
||||
/**
|
||||
* Describes the message environments.UpdateOptions.
|
||||
* Use `create(UpdateOptionsSchema)` to create a new message.
|
||||
*/
|
||||
export const UpdateOptionsSchema = /*@__PURE__*/ messageDesc(file_environments_v1_environments_v1, 3);
|
||||
/**
|
||||
* Describes the message environments.DeleteOptions.
|
||||
* Use `create(DeleteOptionsSchema)` to create a new message.
|
||||
*/
|
||||
export const DeleteOptionsSchema = /*@__PURE__*/ messageDesc(file_environments_v1_environments_v1, 4);
|
||||
/**
|
||||
* Describes the message environments.GetOptions.
|
||||
* Use `create(GetOptionsSchema)` to create a new message.
|
||||
*/
|
||||
export const GetOptionsSchema = /*@__PURE__*/ messageDesc(file_environments_v1_environments_v1, 5);
|
||||
/**
|
||||
* Describes the message environments.ListOptions.
|
||||
* Use `create(ListOptionsSchema)` to create a new message.
|
||||
*/
|
||||
export const ListOptionsSchema = /*@__PURE__*/ messageDesc(file_environments_v1_environments_v1, 6);
|
||||
/**
|
||||
* Describes the message environments.EnvironmentId.
|
||||
* Use `create(EnvironmentIdSchema)` to create a new message.
|
||||
*/
|
||||
export const EnvironmentIdSchema = /*@__PURE__*/ messageDesc(file_environments_v1_environments_v1, 7);
|
||||
/**
|
||||
* Describes the message environments.EnvironmentMetadata.
|
||||
* Use `create(EnvironmentMetadataSchema)` to create a new message.
|
||||
*/
|
||||
export const EnvironmentMetadataSchema = /*@__PURE__*/ messageDesc(file_environments_v1_environments_v1, 8);
|
||||
/**
|
||||
* Describes the message environments.EnvironmentSpec.
|
||||
* Use `create(EnvironmentSpecSchema)` to create a new message.
|
||||
*/
|
||||
export const EnvironmentSpecSchema = /*@__PURE__*/ messageDesc(file_environments_v1_environments_v1, 9);
|
||||
/**
|
||||
* Describes the message environments.EnvironmentFull.
|
||||
* Use `create(EnvironmentFullSchema)` to create a new message.
|
||||
*/
|
||||
export const EnvironmentFullSchema = /*@__PURE__*/ messageDesc(file_environments_v1_environments_v1, 10);
|
||||
/**
|
||||
* *
|
||||
* Helpers and other messages
|
||||
*
|
||||
* @generated from enum environments.Provider
|
||||
*/
|
||||
export var Provider;
|
||||
(function (Provider) {
|
||||
/**
|
||||
* @generated from enum value: PROVIDER_UNSPECIFIED = 0;
|
||||
*/
|
||||
Provider[Provider["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
||||
/**
|
||||
* @generated from enum value: PROVIDER_HETZNER = 1;
|
||||
*/
|
||||
Provider[Provider["HETZNER"] = 1] = "HETZNER";
|
||||
})(Provider || (Provider = {}));
|
||||
/**
|
||||
* Describes the enum environments.Provider.
|
||||
*/
|
||||
export const ProviderSchema = /*@__PURE__*/ enumDesc(file_environments_v1_environments_v1, 0);
|
||||
/**
|
||||
* @generated from enum environments.ServerType
|
||||
*/
|
||||
export var ServerType;
|
||||
(function (ServerType) {
|
||||
/**
|
||||
* @generated from enum value: SERVER_TYPE_UNSPECIFIED = 0;
|
||||
*/
|
||||
ServerType[ServerType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
||||
/**
|
||||
* @generated from enum value: SERVER_TYPE_STARTER = 1;
|
||||
*/
|
||||
ServerType[ServerType["STARTER"] = 1] = "STARTER";
|
||||
/**
|
||||
* @generated from enum value: SERVER_TYPE_REGULAR = 2;
|
||||
*/
|
||||
ServerType[ServerType["REGULAR"] = 2] = "REGULAR";
|
||||
/**
|
||||
* @generated from enum value: SERVER_TYPE_PLUS = 3;
|
||||
*/
|
||||
ServerType[ServerType["PLUS"] = 3] = "PLUS";
|
||||
/**
|
||||
* @generated from enum value: SERVER_TYPE_PRO = 4;
|
||||
*/
|
||||
ServerType[ServerType["PRO"] = 4] = "PRO";
|
||||
/**
|
||||
* @generated from enum value: SERVER_TYPE_CUSTOM = 5;
|
||||
*/
|
||||
ServerType[ServerType["CUSTOM"] = 5] = "CUSTOM";
|
||||
})(ServerType || (ServerType = {}));
|
||||
/**
|
||||
* Describes the enum environments.ServerType.
|
||||
*/
|
||||
export const ServerTypeSchema = /*@__PURE__*/ enumDesc(file_environments_v1_environments_v1, 1);
|
||||
/**
|
||||
* @generated from enum environments.Location
|
||||
*/
|
||||
export var Location;
|
||||
(function (Location) {
|
||||
/**
|
||||
* @generated from enum value: LOCATION_UNSPECIFIED = 0;
|
||||
*/
|
||||
Location[Location["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
||||
/**
|
||||
* @generated from enum value: LOCATION_HETZNER_NUREMBERG = 1;
|
||||
*/
|
||||
Location[Location["HETZNER_NUREMBERG"] = 1] = "HETZNER_NUREMBERG";
|
||||
/**
|
||||
* @generated from enum value: LOCATION_HETZNER_FALKENSTEIN = 2;
|
||||
*/
|
||||
Location[Location["HETZNER_FALKENSTEIN"] = 2] = "HETZNER_FALKENSTEIN";
|
||||
/**
|
||||
* @generated from enum value: LOCATION_HETZNER_HELSINKI = 3;
|
||||
*/
|
||||
Location[Location["HETZNER_HELSINKI"] = 3] = "HETZNER_HELSINKI";
|
||||
/**
|
||||
* @generated from enum value: LOCATION_HETZNER_HILLSBORO = 4;
|
||||
*/
|
||||
Location[Location["HETZNER_HILLSBORO"] = 4] = "HETZNER_HILLSBORO";
|
||||
/**
|
||||
* @generated from enum value: LOCATION_HETZNER_ASHBURN = 5;
|
||||
*/
|
||||
Location[Location["HETZNER_ASHBURN"] = 5] = "HETZNER_ASHBURN";
|
||||
})(Location || (Location = {}));
|
||||
/**
|
||||
* Describes the enum environments.Location.
|
||||
*/
|
||||
export const LocationSchema = /*@__PURE__*/ enumDesc(file_environments_v1_environments_v1, 2);
|
||||
/**
|
||||
* @generated from enum environments.Kubernetes
|
||||
*/
|
||||
export var Kubernetes;
|
||||
(function (Kubernetes) {
|
||||
/**
|
||||
* @generated from enum value: KUBERNETES_UNSPECIFIED = 0;
|
||||
*/
|
||||
Kubernetes[Kubernetes["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
||||
/**
|
||||
* @generated from enum value: KUBERNETES_K3S = 1;
|
||||
*/
|
||||
Kubernetes[Kubernetes["K3S"] = 1] = "K3S";
|
||||
})(Kubernetes || (Kubernetes = {}));
|
||||
/**
|
||||
* Describes the enum environments.Kubernetes.
|
||||
*/
|
||||
export const KubernetesSchema = /*@__PURE__*/ enumDesc(file_environments_v1_environments_v1, 3);
|
||||
/**
|
||||
* *
|
||||
* Service for handling environments
|
||||
*
|
||||
* @generated from service environments.Environments
|
||||
*/
|
||||
export const Environments = /*@__PURE__*/ serviceDesc(file_environments_v1_environments_v1, 0);
|
||||
67
dist/api/test/v1/test_v1_pb.d.ts
vendored
67
dist/api/test/v1/test_v1_pb.d.ts
vendored
@@ -1,67 +0,0 @@
|
||||
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
||||
import type { Message } from "@bufbuild/protobuf";
|
||||
/**
|
||||
* Describes the file test/v1/test_v1.proto.
|
||||
*/
|
||||
export declare const file_test_v1_test_v1: GenFile;
|
||||
/**
|
||||
* @generated from message test.v1.PingRequest
|
||||
*/
|
||||
export type PingRequest = Message<"test.v1.PingRequest"> & {};
|
||||
/**
|
||||
* Describes the message test.v1.PingRequest.
|
||||
* Use `create(PingRequestSchema)` to create a new message.
|
||||
*/
|
||||
export declare const PingRequestSchema: GenMessage<PingRequest>;
|
||||
/**
|
||||
* @generated from message test.v1.PingResponse
|
||||
*/
|
||||
export type PingResponse = Message<"test.v1.PingResponse"> & {};
|
||||
/**
|
||||
* Describes the message test.v1.PingResponse.
|
||||
* Use `create(PingResponseSchema)` to create a new message.
|
||||
*/
|
||||
export declare const PingResponseSchema: GenMessage<PingResponse>;
|
||||
/**
|
||||
* @generated from message test.v1.PongRequest
|
||||
*/
|
||||
export type PongRequest = Message<"test.v1.PongRequest"> & {};
|
||||
/**
|
||||
* Describes the message test.v1.PongRequest.
|
||||
* Use `create(PongRequestSchema)` to create a new message.
|
||||
*/
|
||||
export declare const PongRequestSchema: GenMessage<PongRequest>;
|
||||
/**
|
||||
* @generated from message test.v1.PongResponse
|
||||
*/
|
||||
export type PongResponse = Message<"test.v1.PongResponse"> & {};
|
||||
/**
|
||||
* Describes the message test.v1.PongResponse.
|
||||
* Use `create(PongResponseSchema)` to create a new message.
|
||||
*/
|
||||
export declare const PongResponseSchema: GenMessage<PongResponse>;
|
||||
/**
|
||||
* *
|
||||
* Service for handling environments
|
||||
*
|
||||
* @generated from service test.v1.TestService
|
||||
*/
|
||||
export declare const TestService: GenService<{
|
||||
/**
|
||||
* @generated from rpc test.v1.TestService.Ping
|
||||
*/
|
||||
ping: {
|
||||
methodKind: "unary";
|
||||
input: typeof PingRequestSchema;
|
||||
output: typeof PingResponseSchema;
|
||||
};
|
||||
/**
|
||||
* @generated from rpc test.v1.TestService.Pong
|
||||
*/
|
||||
pong: {
|
||||
methodKind: "unary";
|
||||
input: typeof PongRequestSchema;
|
||||
output: typeof PongResponseSchema;
|
||||
};
|
||||
}>;
|
||||
//# sourceMappingURL=test_v1_pb.d.ts.map
|
||||
1
dist/api/test/v1/test_v1_pb.d.ts.map
vendored
1
dist/api/test/v1/test_v1_pb.d.ts.map
vendored
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"test_v1_pb.d.ts","sourceRoot":"","sources":["../../../../src/api/test/v1/test_v1_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAEpF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,oBAAoB,EAAE,OACyX,CAAC;AAE7Z;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC,qBAAqB,CAAC,GAAG,EAC1D,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,EAAE,UAAU,CAAC,WAAW,CAChB,CAAC;AAEvC;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,OAAO,CAAC,sBAAsB,CAAC,GAAG,EAC5D,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kBAAkB,EAAE,UAAU,CAAC,YAAY,CAClB,CAAC;AAEvC;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC,qBAAqB,CAAC,GAAG,EAC1D,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,EAAE,UAAU,CAAC,WAAW,CAChB,CAAC;AAEvC;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,OAAO,CAAC,sBAAsB,CAAC,GAAG,EAC5D,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kBAAkB,EAAE,UAAU,CAAC,YAAY,CAClB,CAAC;AAEvC;;;;;GAKG;AACH,eAAO,MAAM,WAAW,EAAE,UAAU,CAAC;IACnC;;OAEG;IACH,IAAI,EAAE;QACJ,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,iBAAiB,CAAC;QAChC,MAAM,EAAE,OAAO,kBAAkB,CAAC;KACnC,CAAC;IACF;;OAEG;IACH,IAAI,EAAE;QACJ,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,iBAAiB,CAAC;QAChC,MAAM,EAAE,OAAO,kBAAkB,CAAC;KACnC,CAAC;CACH,CACqC,CAAC"}
|
||||
35
dist/api/test/v1/test_v1_pb.js
vendored
35
dist/api/test/v1/test_v1_pb.js
vendored
@@ -1,35 +0,0 @@
|
||||
// @generated by protoc-gen-es v2.12.0 with parameter "target=ts"
|
||||
// @generated from file test/v1/test_v1.proto (package test.v1, syntax proto3)
|
||||
/* eslint-disable */
|
||||
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
||||
/**
|
||||
* Describes the file test/v1/test_v1.proto.
|
||||
*/
|
||||
export const file_test_v1_test_v1 = /*@__PURE__*/ fileDesc("ChV0ZXN0L3YxL3Rlc3RfdjEucHJvdG8SB3Rlc3QudjEiDQoLUGluZ1JlcXVlc3QiDgoMUGluZ1Jlc3BvbnNlIg0KC1BvbmdSZXF1ZXN0Ig4KDFBvbmdSZXNwb25zZTJ7CgtUZXN0U2VydmljZRI1CgRQaW5nEhQudGVzdC52MS5QaW5nUmVxdWVzdBoVLnRlc3QudjEuUGluZ1Jlc3BvbnNlIgASNQoEUG9uZxIULnRlc3QudjEuUG9uZ1JlcXVlc3QaFS50ZXN0LnYxLlBvbmdSZXNwb25zZSIAQkVaQ2dpdGVhLmJhZGhvdXNlcGxhbnRzLm5ldC9zb2Z0cGxheWVyL3NvZnRwbGF5ZXItZ28tcHJvdG8vcGtnL3Rlc3QvdjFiBnByb3RvMw");
|
||||
/**
|
||||
* Describes the message test.v1.PingRequest.
|
||||
* Use `create(PingRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const PingRequestSchema = /*@__PURE__*/ messageDesc(file_test_v1_test_v1, 0);
|
||||
/**
|
||||
* Describes the message test.v1.PingResponse.
|
||||
* Use `create(PingResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const PingResponseSchema = /*@__PURE__*/ messageDesc(file_test_v1_test_v1, 1);
|
||||
/**
|
||||
* Describes the message test.v1.PongRequest.
|
||||
* Use `create(PongRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const PongRequestSchema = /*@__PURE__*/ messageDesc(file_test_v1_test_v1, 2);
|
||||
/**
|
||||
* Describes the message test.v1.PongResponse.
|
||||
* Use `create(PongResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const PongResponseSchema = /*@__PURE__*/ messageDesc(file_test_v1_test_v1, 3);
|
||||
/**
|
||||
* *
|
||||
* Service for handling environments
|
||||
*
|
||||
* @generated from service test.v1.TestService
|
||||
*/
|
||||
export const TestService = /*@__PURE__*/ serviceDesc(file_test_v1_test_v1, 0);
|
||||
2
dist/index.d.ts
vendored
2
dist/index.d.ts
vendored
@@ -1,2 +0,0 @@
|
||||
export * from "api/accounts/v1/accounts_v1_pb";
|
||||
//# sourceMappingURL=index.d.ts.map
|
||||
1
dist/index.d.ts.map
vendored
1
dist/index.d.ts.map
vendored
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC"}
|
||||
1
dist/index.js
vendored
1
dist/index.js
vendored
@@ -1 +0,0 @@
|
||||
export * from "api/accounts/v1/accounts_v1_pb";
|
||||
@@ -4,8 +4,7 @@
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"files": [
|
||||
"src",
|
||||
"tsconfig.json"
|
||||
"src"
|
||||
],
|
||||
"scripts": {
|
||||
"prepare": "tsc"
|
||||
|
||||
@@ -14,7 +14,7 @@ import type { Message } from "@bufbuild/protobuf";
|
||||
* Describes the file accounts/v1/accounts_v1.proto.
|
||||
*/
|
||||
export const file_accounts_v1_accounts_v1: GenFile = /*@__PURE__*/
|
||||
fileDesc("Ch1hY2NvdW50cy92MS9hY2NvdW50c192MS5wcm90bxILYWNjb3VudHMudjEiIwoPQWNjb3VudFBhc3N3b3JkEhAKC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WZXJpZmllZBIjLmFjY291bnRzLnYxLklzRW1haWxWZXJpZmllZFJlcXVlc3QaJC5hY2NvdW50cy52MS5Jc0VtYWlsVmVyaWZpZWRSZXNwb25zZSIAEkIKDlJlZnJlc2hTZXNzaW9uEhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5GhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5IgASRgoSVG9rZW5BdXRob3JpemF0aW9uEhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5GhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5IgBCSVpHZ2l0ZWEuYmFkaG91c2VwbGFudHMubmV0L3NvZnRwbGF5ZXIvc29mdHBsYXllci1nby1wcm90by9wa2cvYWNjb3VudHMvdjFiBnByb3RvMw", [file_google_protobuf_empty]);
|
||||
|
||||
/**
|
||||
* @generated from message accounts.v1.AccountPassword
|
||||
@@ -64,14 +64,14 @@ export const AccountDataSchema: GenMessage<AccountData> = /*@__PURE__*/
|
||||
*/
|
||||
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"> & {
|
||||
/**
|
||||
* @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__*/
|
||||
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
|
||||
*
|
||||
* @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
|
||||
*
|
||||
* @generated from rpc accounts.v1.AccountsNoAuthService.SignIn
|
||||
* @generated from rpc accounts.v1.PublicAccountsService.SignIn
|
||||
*/
|
||||
signIn: {
|
||||
methodKind: "unary";
|
||||
input: typeof SignInRequestSchema;
|
||||
output: typeof EmptySchema;
|
||||
},
|
||||
/**
|
||||
* Create a new account
|
||||
*
|
||||
* @generated from rpc accounts.v1.PublicAccountsService.SignUp
|
||||
*/
|
||||
signUp: {
|
||||
methodKind: "unary";
|
||||
input: typeof SignUpRequestSchema;
|
||||
output: typeof EmptySchema;
|
||||
},
|
||||
}> = /*@__PURE__*/
|
||||
serviceDesc(file_accounts_v1_accounts_v1, 0);
|
||||
|
||||
/**
|
||||
* *
|
||||
* 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
|
||||
* @generated from service accounts.v1.AccountsService
|
||||
*/
|
||||
export const AccountsAuthService: GenService<{
|
||||
export const AccountsService: GenService<{
|
||||
/**
|
||||
* Is email for the current account verified
|
||||
*
|
||||
* @generated from rpc accounts.v1.AccountsAuthService.IsEmailVerified
|
||||
* @generated from rpc accounts.v1.AccountsService.IsEmailVerified
|
||||
*/
|
||||
isEmailVerified: {
|
||||
methodKind: "unary";
|
||||
@@ -220,9 +243,19 @@ export const AccountsAuthService: GenService<{
|
||||
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";
|
||||
input: 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("CiVhcHBsaWNhdGlvbnMvdjEvYXBwbGljYXRpb25zX3YxLnByb3RvEgxhcHBsaWNhdGlvbnMiFwoHT3duZXJJZBIMCgR1dWlkGAEgASgJIhYKBVRva2VuEg0KBXRva2VuGAEgASgJIr4BCg1DcmVhdGVPcHRpb25zEjMKCG1ldGFkYXRhGAEgASgLMiEuYXBwbGljYXRpb25zLkFwcGxpY2F0aW9uTWV0YWRhdGESKwoEc3BlYxgCIAEoCzIdLmFwcGxpY2F0aW9ucy5BcHBsaWNhdGlvblNwZWMSJwoIb3duZXJfaWQYAyABKAsyFS5hcHBsaWNhdGlvbnMuT3duZXJJZBIiCgV0b2tlbhgEIAEoCzITLmFwcGxpY2F0aW9ucy5Ub2tlbiLnAQoNVXBkYXRlT3B0aW9ucxInCgJpZBgBIAEoCzIbLmFwcGxpY2F0aW9ucy5BcHBsaWNhdGlvbklkEjMKCG1ldGFkYXRhGAIgASgLMiEuYXBwbGljYXRpb25zLkFwcGxpY2F0aW9uTWV0YWRhdGESKwoEc3BlYxgDIAEoCzIdLmFwcGxpY2F0aW9ucy5BcHBsaWNhdGlvblNwZWMSJwoIb3duZXJfaWQYBCABKAsyFS5hcHBsaWNhdGlvbnMuT3duZXJJZBIiCgV0b2tlbhgFIAEoCzITLmFwcGxpY2F0aW9ucy5Ub2tlbiK6AQoNRGVsZXRlT3B0aW9ucxInCgJpZBgBIAEoCzIbLmFwcGxpY2F0aW9ucy5BcHBsaWNhdGlvbklkEjMKCG1ldGFkYXRhGAIgASgLMiEuYXBwbGljYXRpb25zLkFwcGxpY2F0aW9uTWV0YWRhdGESJwoIb3duZXJfaWQYAyABKAsyFS5hcHBsaWNhdGlvbnMuT3duZXJJZBIiCgV0b2tlbhgEIAEoCzITLmFwcGxpY2F0aW9ucy5Ub2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nMSRgoGQ3JlYXRlEhsuYXBwbGljYXRpb25zLkNyZWF0ZU9wdGlvbnMaHS5hcHBsaWNhdGlvbnMuQXBwbGljYXRpb25GdWxsIgASRgoGVXBkYXRlEhsuYXBwbGljYXRpb25zLlVwZGF0ZU9wdGlvbnMaHS5hcHBsaWNhdGlvbnMuQXBwbGljYXRpb25GdWxsIgASPwoGRGVsZXRlEhsuYXBwbGljYXRpb25zLkRlbGV0ZU9wdGlvbnMaFi5nb29nbGUucHJvdG9idWYuRW1wdHkiABJACgNHZXQSGC5hcHBsaWNhdGlvbnMuR2V0T3B0aW9ucxodLmFwcGxpY2F0aW9ucy5BcHBsaWNhdGlvbkZ1bGwiABJECgRMaXN0EhkuYXBwbGljYXRpb25zLkxpc3RPcHRpb25zGh0uYXBwbGljYXRpb25zLkFwcGxpY2F0aW9uRnVsbCIAMAFCSlpIZ2l0ZWEuYmFkaG91c2VwbGFudHMubmV0L3NvZnRwbGF5ZXIvc29mdHBsYXllci1nby1wcm90by9wa2cvYXBwbGljYXRpb25zYgZwcm90bzM", [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__*/
|
||||
fileD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Jvbm1lbnRzYgZwcm90bzM", [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.
|
||||
*/
|
||||
export const file_test_v1_test_v1: GenFile = /*@__PURE__*/
|
||||
fileDesc("ChV0ZXN0L3YxL3Rlc3RfdjEucHJvdG8SB3Rlc3QudjEiDQoLUGluZ1JlcXVlc3QiDgoMUGluZ1Jlc3BvbnNlIg0KC1BvbmdSZXF1ZXN0Ig4KDFBvbmdSZXNwb25zZTJKChFUZXN0Tm9BdXRoU2VydmljZRI1CgRQaW5nEhQudGVzdC52MS5QaW5nUmVxdWVzdBoVLnRlc3QudjEuUGluZ1Jlc3BvbnNlIgAySAoPVGVzdEF1dGhTZXJ2aWNlEjUKBFBvbmcSFC50ZXN0LnYxLlBvbmdSZXF1ZXN0GhUudGVzdC52MS5Qb25nUmVzcG9uc2UiAEJFWkNnaXRlYS5iYWRob3VzZXBsYW50cy5uZXQvc29mdHBsYXllci9zb2Z0cGxheWVyLWdvLXByb3RvL3BrZy90ZXN0L3YxYgZwcm90bzM");
|
||||
fileDesc("ChV0ZXN0L3YxL3Rlc3RfdjEucHJvdG8SB3Rlc3QudjEiDQoLUGluZ1JlcXVlc3QiDgoMUGluZ1Jlc3BvbnNlIg0KC1BvbmdSZXF1ZXN0Ig4KDFBvbmdSZXNwb25zZTJKChFQdWJsaWNUZXN0U2VydmljZRI1CgRQaW5nEhQudGVzdC52MS5QaW5nUmVxdWVzdBoVLnRlc3QudjEuUGluZ1Jlc3BvbnNlIgAyRAoLVGVzdFNlcnZpY2USNQoEUG9uZxIULnRlc3QudjEuUG9uZ1JlcXVlc3QaFS50ZXN0LnYxLlBvbmdSZXNwb25zZSIAQkVaQ2dpdGVhLmJhZGhvdXNlcGxhbnRzLm5ldC9zb2Z0cGxheWVyL3NvZnRwbGF5ZXItZ28tcHJvdG8vcGtnL3Rlc3QvdjFiBnByb3RvMw");
|
||||
|
||||
/**
|
||||
* @generated from message test.v1.PingRequest
|
||||
@@ -68,11 +68,11 @@ export const PongResponseSchema: GenMessage<PongResponse> = /*@__PURE__*/
|
||||
* *
|
||||
* 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: {
|
||||
methodKind: "unary";
|
||||
@@ -83,11 +83,11 @@ export const TestNoAuthService: GenService<{
|
||||
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: {
|
||||
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+ChJDcmVhdGVUb2tlblJlcXVlc3QSMAoOdG9rZW5fbWV0YWRhdGEYASABKAsyGC50b2tlbnMudjEuVG9rZW5NZXRhZGF0YRI2ChF0b2tlbl9wZXJtaXNzaW9ucxgCIAEoCzIbLnRva2Vucy52MS5Ub2tlblBlcm1pc3Npb25zItUBChNDcmVhdGVUb2tlblJlc3BvbnNlEigKCnRva2VuX3V1aWQYASABKAsyFC50b2tlbnMudjEuVG9rZW5VVUlEEjAKDnRva2VuX21ldGFkYXRhGAIgASgLMhgudG9rZW5zLnYxLlRva2VuTWV0YWRhdGESNgoRdG9rZW5fcGVybWlzc2lvbnMYAyABKAsyGy50b2tlbnMudjEuVG9rZW5QZXJtaXNzaW9ucxIqCgt0b2tlbl92YWx1ZRgEIAEoCzIVLnRva2Vucy52MS5Ub2tlblZhbHVlIqgBChJVcGRhdGVUb2tlblJlcXVlc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nYxLlRva2VuVVVJRBIwCg50b2tlbl9tZXRhZGF0YRgCIAEoCzIYLnRva2Vucy52MS5Ub2tlbk1ldGFkYXRhEjYKEXRva2VuX3Blcm1pc3Npb25zGAMgASgLMhsudG9rZW5zLnYxLlRva2VuUGVybWlzc2lvbnMy9QMKDVRva2Vuc1NlcnZpY2USTgoLQ3JlYXRlVG9rZW4SHS50b2tlbnMudjEuQ3JlYXRlVG9rZW5SZXF1ZXN0Gh4udG9rZW5zLnYxLkNyZWF0ZVRva2VuUmVzcG9uc2UiABJOCgtVcGRhdGVUb2tlbhIdLnRva2Vucy52MS5VcGRhdGVUb2tlblJlcXVlc3QaHi50b2tlbnMudjEuVXBkYXRlVG9rZW5SZXNwb25zZSIAElgKFEZvcmNlVG9rZW5FeHBpcmF0aW9uEiYudG9rZW5zLnYxLkZvcmNlVG9rZW5FeHBpcmF0aW9uUmVxdWVzdBoWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eSIAEloKD1JlZ2VuZXJhdGVUb2tlbhIhLnRva2Vucy52MS5SZWdlbmVyYXRlVG9rZW5SZXF1ZXN0GiIudG9rZW5zLnYxLlJlZ2VuZXJhdGVUb2tlblJlc3BvbnNlIgASRQoIR2V0VG9rZW4SGi50b2tlbnMudjEuR2V0VG9rZW5SZXF1ZXN0GhsudG9rZW5zLnYxLkdldFRva2VuUmVzcG9uc2UiABJHCgpMaXN0VG9rZW5zEhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5Gh0udG9rZW5zLnYxLkxpc3RUb2tlbnNSZXNwb25zZSIAMAFCR1pFZ2l0ZWEuYmFkaG91c2VwbGFudHMubmV0L3NvZnRwbGF5ZXIvc29mdHBsYXllci1nby1wcm90by9wa2cvdG9rZW5zL3YxYgZwcm90bzM", [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