diff --git a/src/api/accounts/v1/accounts_v1_pb.ts b/src/api/accounts/v1/accounts_v1_pb.ts new file mode 100644 index 0000000..58af111 --- /dev/null +++ b/src/api/accounts/v1/accounts_v1_pb.ts @@ -0,0 +1,248 @@ +/// This file has messages for describing environments + +// @generated by protoc-gen-es v2.12.0 with parameter "target=ts" +// @generated from file accounts/v1/accounts_v1.proto (package accounts, 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 accounts/v1/accounts_v1.proto. + */ +export const file_accounts_v1_accounts_v1: GenFile = /*@__PURE__*/ + fileDesc("Ch1hY2NvdW50cy92MS9hY2NvdW50c192MS5wcm90bxIIYWNjb3VudHMiIQoNRW1haWxWZXJpZmllZBIQCgh2ZXJpZmllZBgBIAEoCCIXCglBY2NvdW50SWQSCgoCaWQYASABKAkiIwoPQWNjb3VudFBhc3N3b3JkEhAKCHBhc3N3b3JkGAEgASgJIioKC0FjY291bnREYXRhEgwKBG5hbWUYASABKAkSDQoFZW1haWwYAiABKAkiZwoTQWNjb3VudFdpdGhQYXNzd29yZBIjCgRkYXRhGAEgASgLMhUuYWNjb3VudHMuQWNjb3VudERhdGESKwoIcGFzc3dvcmQYAiABKAsyGS5hY2NvdW50cy5BY2NvdW50UGFzc3dvcmQifAoaQWNjb3VudFdpdGhQYXNzd29yZEFuZENvZGUSIwoEZGF0YRgBIAEoCzIVLmFjY291bnRzLkFjY291bnREYXRhEisKCHBhc3N3b3JkGAIgASgLMhkuYWNjb3VudHMuQWNjb3VudFBhc3N3b3JkEgwKBGNvZGUYAyABKAkiUwoLQWNjb3VudEZ1bGwSHwoCaWQYASABKAsyEy5hY2NvdW50cy5BY2NvdW50SWQSIwoEZGF0YRgCIAEoCzIVLmFjY291bnRzLkFjY291bnREYXRhImsKFEFjY291bnRGdWxsV2l0aFRva2VuEh8KAmlkGAEgASgLMhMuYWNjb3VudHMuQWNjb3VudElkEiMKBGRhdGEYAiABKAsyFS5hY2NvdW50cy5BY2NvdW50RGF0YRINCgV0b2tlbhgDIAEoCTL2AgoIQWNjb3VudHMSSQoGU2lnblVwEh0uYWNjb3VudHMuQWNjb3VudFdpdGhQYXNzd29yZBoeLmFjY291bnRzLkFjY291bnRGdWxsV2l0aFRva2VuIgASSQoGU2lnbkluEh0uYWNjb3VudHMuQWNjb3VudFdpdGhQYXNzd29yZBoeLmFjY291bnRzLkFjY291bnRGdWxsV2l0aFRva2VuIgASQAoNUmVzZXRQYXNzd29yZBIVLmFjY291bnRzLkFjY291bnREYXRhGhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5IgASTQoLTmV3UGFzc3dvcmQSJC5hY2NvdW50cy5BY2NvdW50V2l0aFBhc3N3b3JkQW5kQ29kZRoWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eSIAEkMKD0lzRW1haWxWZXJpZmllZBIVLmFjY291bnRzLkFjY291bnREYXRhGhcuYWNjb3VudHMuRW1haWxWZXJpZmllZCIAQkZaRGdpdGVhLmJhZGhvdXNlcGxhbnRzLm5ldC9zb2Z0cGxheWVyL3NvZnRwbGF5ZXItZ28tcHJvdG8vcGtnL2FjY291bnRzYgZwcm90bzM", [file_google_protobuf_empty]); + +/** + * @generated from message accounts.EmailVerified + */ +export type EmailVerified = Message<"accounts.EmailVerified"> & { + /** + * @generated from field: bool verified = 1; + */ + verified: boolean; +}; + +/** + * Describes the message accounts.EmailVerified. + * Use `create(EmailVerifiedSchema)` to create a new message. + */ +export const EmailVerifiedSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_accounts_v1_accounts_v1, 0); + +/** + * * + * Represents a environment UUID only + * + * @generated from message accounts.AccountId + */ +export type AccountId = Message<"accounts.AccountId"> & { + /** + * Contour ID: UUID + * + * @generated from field: string id = 1; + */ + id: string; +}; + +/** + * Describes the message accounts.AccountId. + * Use `create(AccountIdSchema)` to create a new message. + */ +export const AccountIdSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_accounts_v1_accounts_v1, 1); + +/** + * @generated from message accounts.AccountPassword + */ +export type AccountPassword = Message<"accounts.AccountPassword"> & { + /** + * @generated from field: string password = 1; + */ + password: string; +}; + +/** + * Describes the message accounts.AccountPassword. + * Use `create(AccountPasswordSchema)` to create a new message. + */ +export const AccountPasswordSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_accounts_v1_accounts_v1, 2); + +/** + * @generated from message accounts.AccountData + */ +export type AccountData = Message<"accounts.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.AccountData. + * Use `create(AccountDataSchema)` to create a new message. + */ +export const AccountDataSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_accounts_v1_accounts_v1, 3); + +/** + * @generated from message accounts.AccountWithPassword + */ +export type AccountWithPassword = Message<"accounts.AccountWithPassword"> & { + /** + * @generated from field: accounts.AccountData data = 1; + */ + data?: AccountData | undefined; + + /** + * @generated from field: accounts.AccountPassword password = 2; + */ + password?: AccountPassword | undefined; +}; + +/** + * Describes the message accounts.AccountWithPassword. + * Use `create(AccountWithPasswordSchema)` to create a new message. + */ +export const AccountWithPasswordSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_accounts_v1_accounts_v1, 4); + +/** + * @generated from message accounts.AccountWithPasswordAndCode + */ +export type AccountWithPasswordAndCode = Message<"accounts.AccountWithPasswordAndCode"> & { + /** + * @generated from field: accounts.AccountData data = 1; + */ + data?: AccountData | undefined; + + /** + * @generated from field: accounts.AccountPassword password = 2; + */ + password?: AccountPassword | undefined; + + /** + * @generated from field: string code = 3; + */ + code: string; +}; + +/** + * Describes the message accounts.AccountWithPasswordAndCode. + * Use `create(AccountWithPasswordAndCodeSchema)` to create a new message. + */ +export const AccountWithPasswordAndCodeSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_accounts_v1_accounts_v1, 5); + +/** + * @generated from message accounts.AccountFull + */ +export type AccountFull = Message<"accounts.AccountFull"> & { + /** + * @generated from field: accounts.AccountId id = 1; + */ + id?: AccountId | undefined; + + /** + * @generated from field: accounts.AccountData data = 2; + */ + data?: AccountData | undefined; +}; + +/** + * Describes the message accounts.AccountFull. + * Use `create(AccountFullSchema)` to create a new message. + */ +export const AccountFullSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_accounts_v1_accounts_v1, 6); + +/** + * @generated from message accounts.AccountFullWithToken + */ +export type AccountFullWithToken = Message<"accounts.AccountFullWithToken"> & { + /** + * @generated from field: accounts.AccountId id = 1; + */ + id?: AccountId | undefined; + + /** + * @generated from field: accounts.AccountData data = 2; + */ + data?: AccountData | undefined; + + /** + * @generated from field: string token = 3; + */ + token: string; +}; + +/** + * Describes the message accounts.AccountFullWithToken. + * Use `create(AccountFullWithTokenSchema)` to create a new message. + */ +export const AccountFullWithTokenSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_accounts_v1_accounts_v1, 7); + +/** + * * + * Service for handling environments + * + * @generated from service accounts.Accounts + */ +export const Accounts: GenService<{ + /** + * @generated from rpc accounts.Accounts.SignUp + */ + signUp: { + methodKind: "unary"; + input: typeof AccountWithPasswordSchema; + output: typeof AccountFullWithTokenSchema; + }, + /** + * @generated from rpc accounts.Accounts.SignIn + */ + signIn: { + methodKind: "unary"; + input: typeof AccountWithPasswordSchema; + output: typeof AccountFullWithTokenSchema; + }, + /** + * @generated from rpc accounts.Accounts.ResetPassword + */ + resetPassword: { + methodKind: "unary"; + input: typeof AccountDataSchema; + output: typeof EmptySchema; + }, + /** + * @generated from rpc accounts.Accounts.NewPassword + */ + newPassword: { + methodKind: "unary"; + input: typeof AccountWithPasswordAndCodeSchema; + output: typeof EmptySchema; + }, + /** + * @generated from rpc accounts.Accounts.IsEmailVerified + */ + isEmailVerified: { + methodKind: "unary"; + input: typeof AccountDataSchema; + output: typeof EmailVerifiedSchema; + }, +}> = /*@__PURE__*/ + serviceDesc(file_accounts_v1_accounts_v1, 0); + diff --git a/src/api/applications/v1/applications_v1_pb.ts b/src/api/applications/v1/applications_v1_pb.ts new file mode 100644 index 0000000..3306aca --- /dev/null +++ b/src/api/applications/v1/applications_v1_pb.ts @@ -0,0 +1,369 @@ +/// 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("CiVhcHBsaWNhdGlvbnMvdjEvYXBwbGljYXRpb25zX3YxLnByb3RvEgxhcHBsaWNhdGlvbnMiFwoHT3duZXJJZBIMCgR1dWlkGAEgASgJIhYKBVRva2VuEg0KBXRva2VuGAEgASgJIr4BCg1DcmVhdGVPcHRpb25zEjMKCG1ldGFkYXRhGAEgASgLMiEuYXBwbGljYXRpb25zLkFwcGxpY2F0aW9uTWV0YWRhdGESKwoEc3BlYxgCIAEoCzIdLmFwcGxpY2F0aW9ucy5BcHBsaWNhdGlvblNwZWMSJwoIb3duZXJfaWQYAyABKAsyFS5hcHBsaWNhdGlvbnMuT3duZXJJZBIiCgV0b2tlbhgEIAEoCzITLmFwcGxpY2F0aW9ucy5Ub2tlbiLnAQoNVXBkYXRlT3B0aW9ucxInCgJpZBgBIAEoCzIbLmFwcGxpY2F0aW9ucy5BcHBsaWNhdGlvbklkEjMKCG1ldGFkYXRhGAIg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lvbhgBIAEoCRIPCgd2ZXJzaW9uGAIgASgJEhYKDmVudmlyb25lbW50X2lkGAMgASgJEjkKBmNvbmZpZxgEIAMoCzIpLmFwcGxpY2F0aW9ucy5BcHBsaWNhdGlvblNwZWMuQ29uZmlnRW50cnkSEgoKcmF3X2NvbmZpZxgFIAEoCRotCgtDb25maWdFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBIpwBCg9BcHBsaWNhdGlvbkZ1bGwSMwoIbWV0YWRhdGEYASABKAsyIS5hcHBsaWNhdGlvbnMuQXBwbGljYXRpb25NZXRhZGF0YRIrCgRzcGVjGAIgASgLMh0uYXBwbGljYXRpb25zLkFwcGxpY2F0aW9uU3BlYxInCgJpZBgDIAEoCzIbLmFwcGxpY2F0aW9ucy5BcHBsaWNhdGlvbklkMucCCgxBcHBsaWNhdGlvbnMSRgoGQ3JlYXRlEhsuYXBwbGljYXRpb25zLkNyZWF0ZU9wdGlvbnMaHS5hcHBsaWNhdGlvbnMuQXBwbGljYXRpb25GdWxsIgASRgoGVXBkYXRlEhsuYXBwbGljYXRpb25zLlVwZGF0ZU9wdGlvbnMaHS5hcHBsaWNhdGlvbnMuQXBwbGljYXRpb25GdWxsIgASPwoGRGVsZXRlEhsuYXBwbGljYXRpb25zLkRlbGV0ZU9wdGlvbnMaFi5nb29nbGUucHJvdG9idWYuRW1wdHkiABJACgNHZXQSGC5hcHBsaWNhdGlvbnMuR2V0T3B0aW9ucxodLmFwcGxpY2F0aW9ucy5BcHBsaWNhdGlvbkZ1bGwiABJECgRMaXN0EhkuYXBwbGljYXRpb25zLkxpc3RPcHRpb25zGh0uYXBwbGljYXRpb25zLkFwcGxpY2F0aW9uRnVsbCIAMAFCSlpIZ2l0ZWEuYmFkaG91c2VwbGFudHMubmV0L3NvZnRwbGF5ZXIvc29mdHBsYXllci1nby1wcm90by9wa2cvYXBwbGljYXRpb25zYgZwcm90bzM", [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 = /*@__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 = /*@__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 = /*@__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 = /*@__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 = /*@__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 = /*@__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 = /*@__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 = /*@__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 = /*@__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 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 = /*@__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 = /*@__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); + diff --git a/src/api/email/v1/email_v1_pb.ts b/src/api/email/v1/email_v1_pb.ts new file mode 100644 index 0000000..2a5ed98 --- /dev/null +++ b/src/api/email/v1/email_v1_pb.ts @@ -0,0 +1,81 @@ +// @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 = /*@__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 = /*@__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); + diff --git a/src/api/environments/v1/environments_v1_pb.ts b/src/api/environments/v1/environments_v1_pb.ts new file mode 100644 index 0000000..60aa09c --- /dev/null +++ b/src/api/environments/v1/environments_v1_pb.ts @@ -0,0 +1,505 @@ +/// This file has messages for describing environments + +// @generated by protoc-gen-es v2.12.0 with parameter "target=ts" +// @generated from file environments/v1/environments_v1.proto (package environments, syntax proto3) +/* eslint-disable */ + +import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; +import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2"; +import type { EmptySchema } from "@bufbuild/protobuf/wkt"; +import { file_google_protobuf_empty } from "@bufbuild/protobuf/wkt"; +import type { Message } from "@bufbuild/protobuf"; + +/** + * Describes the file environments/v1/environments_v1.proto. + */ +export const file_environments_v1_environments_v1: GenFile = /*@__PURE__*/ + fileDesc("CiVlbnZpcm9ubWVudHMvdjEvZW52aXJvbm1lbnRzX3YxLnByb3RvEgxlbnZpcm9ubWVudHMiFwoHT3duZXJJZBIMCgR1dWlkGAEgASgJIhYKBVRva2VuEg0KBXRva2VuGAEgASgJIr4BCg1DcmVhdGVPcHRpb25zEjMKCG1ldGFkYXRhGAEgASgLMiEuZW52aXJvbm1lbnRzLkVudmlyb25tZW50TWV0YWRhdGESKwoEc3BlYxgCIAEoCzIdLmVudmlyb25tZW50cy5FbnZpcm9ubWVudFNwZWMSJwoIb3duZXJfaWQYAyABKAsyFS5lbnZpcm9ubWVudHMuT3duZXJJZBIiCgV0b2tlbhgEIAEoCzITLmVudmlyb25tZW50cy5Ub2tlbiLnAQoNVXBkYXRlT3B0aW9ucxInCgJpZBgBIAEoCzIbLmVudmlyb25tZW50cy5FbnZpcm9ubWVudElkEjMKCG1ldGFkYXRhGAIgASgLMiEuZW52aXJvbm1lbnRzLkVudmlyb25tZW50TWV0YWRhdGESKwoEc3BlYxgDIAEoCzIdLmVudmlyb25tZW50cy5FbnZpcm9ubWVudFNwZWMSJwoIb3duZXJfaWQYBCABKAsy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lbnRGdWxsIgASRgoGVXBkYXRlEhsuZW52aXJvbm1lbnRzLlVwZGF0ZU9wdGlvbnMaHS5lbnZpcm9ubWVudHMuRW52aXJvbm1lbnRGdWxsIgASPwoGRGVsZXRlEhsuZW52aXJvbm1lbnRzLkRlbGV0ZU9wdGlvbnMaFi5nb29nbGUucHJvdG9idWYuRW1wdHkiABJACgNHZXQSGC5lbnZpcm9ubWVudHMuR2V0T3B0aW9ucxodLmVudmlyb25tZW50cy5FbnZpcm9ubWVudEZ1bGwiABJECgRMaXN0EhkuZW52aXJvbm1lbnRzLkxpc3RPcHRpb25zGh0uZW52aXJvbm1lbnRzLkVudmlyb25tZW50RnVsbCIAMAFCSlpIZ2l0ZWEuYmFkaG91c2VwbGFudHMubmV0L3NvZnRwbGF5ZXIvc29mdHBsYXllci1nby1wcm90by9wa2cvZW52aXJvbm1lbnRzYgZwcm90bzM", [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 = /*@__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 = /*@__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 = /*@__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 = /*@__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 = /*@__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 = /*@__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 = /*@__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 = /*@__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 = /*@__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 = /*@__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 = /*@__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 = /*@__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 = /*@__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 = /*@__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 = /*@__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); + diff --git a/src/api/v1/test_v1_pb.ts b/src/api/test/v1/test_v1_pb.ts similarity index 97% rename from src/api/v1/test_v1_pb.ts rename to src/api/test/v1/test_v1_pb.ts index 36a27a3..2ad4d3c 100644 --- a/src/api/v1/test_v1_pb.ts +++ b/src/api/test/v1/test_v1_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.11.0 with parameter "target=ts" +// @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 */