@leaflow/sdk 0.0.0-dev.43.g1ad4bd0 → 0.0.0-dev.433.g7e48b8f
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -26
- package/dist/account/v1/generated/functions.d.ts +596 -0
- package/dist/account/v1/generated/functions.js +599 -0
- package/dist/account/v1/generated/models.d.ts +618 -0
- package/dist/account/v1/generated/models.js +71 -0
- package/dist/account/v1/generated/schemas.zod.d.ts +224 -0
- package/dist/account/v1/generated/schemas.zod.js +220 -0
- package/dist/account/v1/generated/validators/acceptConsentsRequestBody.zod.d.ts +38 -0
- package/dist/account/v1/generated/validators/acceptConsentsRequestBody.zod.js +30 -0
- package/dist/account/v1/generated/validators/acceptInvitationByTokenRequestBody.zod.d.ts +32 -0
- package/dist/account/v1/generated/validators/acceptInvitationByTokenRequestBody.zod.js +34 -0
- package/dist/account/v1/generated/validators/acceptedInvitationResponseBody.zod.d.ts +55 -0
- package/dist/account/v1/generated/validators/acceptedInvitationResponseBody.zod.js +30 -0
- package/dist/account/v1/generated/validators/accountDeletionObjectionResource.zod.d.ts +32 -0
- package/dist/account/v1/generated/validators/accountDeletionObjectionResource.zod.js +32 -0
- package/dist/account/v1/generated/validators/accountDeletionResource.zod.d.ts +69 -0
- package/dist/account/v1/generated/validators/accountDeletionResource.zod.js +53 -0
- package/dist/account/v1/generated/validators/accountDeletionState.zod.d.ts +34 -0
- package/dist/account/v1/generated/validators/accountDeletionState.zod.js +29 -0
- package/dist/account/v1/generated/validators/accountResource.zod.d.ts +54 -0
- package/dist/account/v1/generated/validators/accountResource.zod.js +45 -0
- package/dist/account/v1/generated/validators/agreementListResponseBody.zod.d.ts +40 -0
- package/dist/account/v1/generated/validators/agreementListResponseBody.zod.js +30 -0
- package/dist/account/v1/generated/validators/agreementResource.zod.d.ts +38 -0
- package/dist/account/v1/generated/validators/agreementResource.zod.js +34 -0
- package/dist/account/v1/generated/validators/consentBody.zod.d.ts +37 -0
- package/dist/account/v1/generated/validators/consentBody.zod.js +31 -0
- package/dist/account/v1/generated/validators/consentListResponseBody.zod.d.ts +43 -0
- package/dist/account/v1/generated/validators/consentListResponseBody.zod.js +30 -0
- package/dist/account/v1/generated/validators/consentResource.zod.d.ts +41 -0
- package/dist/account/v1/generated/validators/consentResource.zod.js +34 -0
- package/dist/account/v1/generated/validators/countryOption.zod.d.ts +32 -0
- package/dist/account/v1/generated/validators/countryOption.zod.js +30 -0
- package/dist/account/v1/generated/validators/createProjectRequestBody.zod.d.ts +36 -0
- package/dist/account/v1/generated/validators/createProjectRequestBody.zod.js +38 -0
- package/dist/account/v1/generated/validators/cursorPagination.zod.d.ts +32 -0
- package/dist/account/v1/generated/validators/cursorPagination.zod.js +32 -0
- package/dist/account/v1/generated/validators/error.zod.d.ts +43 -0
- package/dist/account/v1/generated/validators/error.zod.js +32 -0
- package/dist/account/v1/generated/validators/errorStatus.zod.d.ts +41 -0
- package/dist/account/v1/generated/validators/errorStatus.zod.js +56 -0
- package/dist/account/v1/generated/validators/fieldViolation.zod.d.ts +32 -0
- package/dist/account/v1/generated/validators/fieldViolation.zod.js +35 -0
- package/dist/account/v1/generated/validators/grantResource.zod.d.ts +44 -0
- package/dist/account/v1/generated/validators/grantResource.zod.js +36 -0
- package/dist/account/v1/generated/validators/identityVerificationResource.zod.d.ts +40 -0
- package/dist/account/v1/generated/validators/identityVerificationResource.zod.js +34 -0
- package/dist/account/v1/generated/validators/invitationPreviewResource.zod.d.ts +35 -0
- package/dist/account/v1/generated/validators/invitationPreviewResource.zod.js +42 -0
- package/dist/account/v1/generated/validators/invitationResource.zod.d.ts +40 -0
- package/dist/account/v1/generated/validators/invitationResource.zod.js +43 -0
- package/dist/account/v1/generated/validators/languageOption.zod.d.ts +36 -0
- package/dist/account/v1/generated/validators/languageOption.zod.js +33 -0
- package/dist/account/v1/generated/validators/lengthAwarePageInvitationResource.zod.d.ts +45 -0
- package/dist/account/v1/generated/validators/lengthAwarePageInvitationResource.zod.js +33 -0
- package/dist/account/v1/generated/validators/lengthAwarePageProjectAccessResource.zod.d.ts +76 -0
- package/dist/account/v1/generated/validators/lengthAwarePageProjectAccessResource.zod.js +33 -0
- package/dist/account/v1/generated/validators/listMyInvitationsParams.zod.d.ts +37 -0
- package/dist/account/v1/generated/validators/listMyInvitationsParams.zod.js +43 -0
- package/dist/account/v1/generated/validators/listProjectsParams.zod.d.ts +41 -0
- package/dist/account/v1/generated/validators/listProjectsParams.zod.js +47 -0
- package/dist/account/v1/generated/validators/locale.zod.d.ts +33 -0
- package/dist/account/v1/generated/validators/locale.zod.js +29 -0
- package/dist/account/v1/generated/validators/localeOptionsResource.zod.d.ts +42 -0
- package/dist/account/v1/generated/validators/localeOptionsResource.zod.js +32 -0
- package/dist/account/v1/generated/validators/offsetPagination.zod.d.ts +34 -0
- package/dist/account/v1/generated/validators/offsetPagination.zod.js +34 -0
- package/dist/account/v1/generated/validators/previewInvitationByTokenParams.zod.d.ts +32 -0
- package/dist/account/v1/generated/validators/previewInvitationByTokenParams.zod.js +30 -0
- package/dist/account/v1/generated/validators/projectAccessList.zod.d.ts +78 -0
- package/dist/account/v1/generated/validators/projectAccessList.zod.js +32 -0
- package/dist/account/v1/generated/validators/projectAccessResource.zod.d.ts +71 -0
- package/dist/account/v1/generated/validators/projectAccessResource.zod.js +32 -0
- package/dist/account/v1/generated/validators/projectResource.zod.d.ts +54 -0
- package/dist/account/v1/generated/validators/projectResource.zod.js +49 -0
- package/dist/account/v1/generated/validators/projectSlugAvailabilityResource.zod.d.ts +36 -0
- package/dist/account/v1/generated/validators/projectSlugAvailabilityResource.zod.js +32 -0
- package/dist/account/v1/generated/validators/projectStatus.zod.d.ts +33 -0
- package/dist/account/v1/generated/validators/projectStatus.zod.js +29 -0
- package/dist/account/v1/generated/validators/projectTraitResource.zod.d.ts +37 -0
- package/dist/account/v1/generated/validators/projectTraitResource.zod.js +32 -0
- package/dist/account/v1/generated/validators/registerRequestBody.zod.d.ts +46 -0
- package/dist/account/v1/generated/validators/registerRequestBody.zod.js +42 -0
- package/dist/account/v1/generated/validators/requestAccountDeletionParams.zod.d.ts +31 -0
- package/dist/account/v1/generated/validators/requestAccountDeletionParams.zod.js +29 -0
- package/dist/account/v1/generated/validators/resourceRefResource.zod.d.ts +32 -0
- package/dist/account/v1/generated/validators/resourceRefResource.zod.js +34 -0
- package/dist/account/v1/generated/validators/ruleResource.zod.d.ts +39 -0
- package/dist/account/v1/generated/validators/ruleResource.zod.js +38 -0
- package/dist/account/v1/generated/validators/scopedTokenResponseBody.zod.d.ts +75 -0
- package/dist/account/v1/generated/validators/scopedTokenResponseBody.zod.js +38 -0
- package/dist/account/v1/generated/validators/searchProjectsRequestBody.zod.d.ts +41 -0
- package/dist/account/v1/generated/validators/searchProjectsRequestBody.zod.js +54 -0
- package/dist/account/v1/generated/validators/settingsResource.zod.d.ts +42 -0
- package/dist/account/v1/generated/validators/settingsResource.zod.js +40 -0
- package/dist/account/v1/generated/validators/submitIdentityVerificationRequestBody.zod.d.ts +35 -0
- package/dist/account/v1/generated/validators/submitIdentityVerificationRequestBody.zod.js +41 -0
- package/dist/account/v1/generated/validators/updateAccountRequestBody.zod.d.ts +38 -0
- package/dist/account/v1/generated/validators/updateAccountRequestBody.zod.js +40 -0
- package/dist/account/v1/index.d.ts +3 -44
- package/dist/account/v1/index.js +3 -5
- package/dist/assistant/v1/generated/functions.d.ts +1721 -0
- package/dist/assistant/v1/generated/functions.js +1899 -0
- package/dist/assistant/v1/generated/models.d.ts +2193 -0
- package/dist/assistant/v1/generated/models.js +293 -0
- package/dist/assistant/v1/generated/schemas.zod.d.ts +914 -0
- package/dist/assistant/v1/generated/schemas.zod.js +855 -0
- package/dist/assistant/v1/generated/validators/answerQuestionRequestBody.zod.d.ts +30 -0
- package/dist/assistant/v1/generated/validators/answerQuestionRequestBody.zod.js +28 -0
- package/dist/assistant/v1/generated/validators/approvalMode.zod.d.ts +32 -0
- package/dist/assistant/v1/generated/validators/approvalMode.zod.js +28 -0
- package/dist/assistant/v1/generated/validators/attachmentResource.zod.d.ts +39 -0
- package/dist/assistant/v1/generated/validators/attachmentResource.zod.js +38 -0
- package/dist/assistant/v1/generated/validators/bindingCodeResponseBody.zod.d.ts +31 -0
- package/dist/assistant/v1/generated/validators/bindingCodeResponseBody.zod.js +29 -0
- package/dist/assistant/v1/generated/validators/bindingResource.zod.d.ts +46 -0
- package/dist/assistant/v1/generated/validators/bindingResource.zod.js +35 -0
- package/dist/assistant/v1/generated/validators/channelResource.zod.d.ts +56 -0
- package/dist/assistant/v1/generated/validators/channelResource.zod.js +48 -0
- package/dist/assistant/v1/generated/validators/channelWithSecretResponseBody.zod.d.ts +57 -0
- package/dist/assistant/v1/generated/validators/channelWithSecretResponseBody.zod.js +52 -0
- package/dist/assistant/v1/generated/validators/checkSenderParams.zod.d.ts +31 -0
- package/dist/assistant/v1/generated/validators/checkSenderParams.zod.js +34 -0
- package/dist/assistant/v1/generated/validators/choiceResource.zod.d.ts +31 -0
- package/dist/assistant/v1/generated/validators/choiceResource.zod.js +29 -0
- package/dist/assistant/v1/generated/validators/clientActionRequest.zod.d.ts +42 -0
- package/dist/assistant/v1/generated/validators/clientActionRequest.zod.js +42 -0
- package/dist/assistant/v1/generated/validators/clientContextPart.zod.d.ts +31 -0
- package/dist/assistant/v1/generated/validators/clientContextPart.zod.js +31 -0
- package/dist/assistant/v1/generated/validators/clientContextRequest.zod.d.ts +47 -0
- package/dist/assistant/v1/generated/validators/clientContextRequest.zod.js +48 -0
- package/dist/assistant/v1/generated/validators/clientFunctionRequest.zod.d.ts +35 -0
- package/dist/assistant/v1/generated/validators/clientFunctionRequest.zod.js +43 -0
- package/dist/assistant/v1/generated/validators/completeUploadRequestBody.zod.d.ts +30 -0
- package/dist/assistant/v1/generated/validators/completeUploadRequestBody.zod.js +28 -0
- package/dist/assistant/v1/generated/validators/contextUsageResource.zod.d.ts +31 -0
- package/dist/assistant/v1/generated/validators/contextUsageResource.zod.js +37 -0
- package/dist/assistant/v1/generated/validators/createChannelRequestBody.zod.d.ts +39 -0
- package/dist/assistant/v1/generated/validators/createChannelRequestBody.zod.js +40 -0
- package/dist/assistant/v1/generated/validators/createFolderRequestBody.zod.d.ts +31 -0
- package/dist/assistant/v1/generated/validators/createFolderRequestBody.zod.js +29 -0
- package/dist/assistant/v1/generated/validators/createTaskRequestBody.zod.d.ts +61 -0
- package/dist/assistant/v1/generated/validators/createTaskRequestBody.zod.js +35 -0
- package/dist/assistant/v1/generated/validators/createThreadRequestBody.zod.d.ts +70 -0
- package/dist/assistant/v1/generated/validators/createThreadRequestBody.zod.js +48 -0
- package/dist/assistant/v1/generated/validators/createThreadResponseBody.zod.d.ts +119 -0
- package/dist/assistant/v1/generated/validators/createThreadResponseBody.zod.js +33 -0
- package/dist/assistant/v1/generated/validators/createUploadRequestBody.zod.d.ts +37 -0
- package/dist/assistant/v1/generated/validators/createUploadRequestBody.zod.js +35 -0
- package/dist/assistant/v1/generated/validators/credentialFieldResource.zod.d.ts +34 -0
- package/dist/assistant/v1/generated/validators/credentialFieldResource.zod.js +32 -0
- package/dist/assistant/v1/generated/validators/cursorPagination.zod.d.ts +31 -0
- package/dist/assistant/v1/generated/validators/cursorPagination.zod.js +31 -0
- package/dist/assistant/v1/generated/validators/decideToolCallsRequestBody.zod.d.ts +33 -0
- package/dist/assistant/v1/generated/validators/decideToolCallsRequestBody.zod.js +38 -0
- package/dist/assistant/v1/generated/validators/defaultModelResource.zod.d.ts +39 -0
- package/dist/assistant/v1/generated/validators/defaultModelResource.zod.js +38 -0
- package/dist/assistant/v1/generated/validators/error.zod.d.ts +42 -0
- package/dist/assistant/v1/generated/validators/error.zod.js +31 -0
- package/dist/assistant/v1/generated/validators/errorStatus.zod.d.ts +40 -0
- package/dist/assistant/v1/generated/validators/errorStatus.zod.js +55 -0
- package/dist/assistant/v1/generated/validators/fieldViolation.zod.d.ts +31 -0
- package/dist/assistant/v1/generated/validators/fieldViolation.zod.js +34 -0
- package/dist/assistant/v1/generated/validators/fileDiffResource.zod.d.ts +38 -0
- package/dist/assistant/v1/generated/validators/fileDiffResource.zod.js +37 -0
- package/dist/assistant/v1/generated/validators/folderCountsResource.zod.d.ts +35 -0
- package/dist/assistant/v1/generated/validators/folderCountsResource.zod.js +35 -0
- package/dist/assistant/v1/generated/validators/folderListResponseBody.zod.d.ts +45 -0
- package/dist/assistant/v1/generated/validators/folderListResponseBody.zod.js +29 -0
- package/dist/assistant/v1/generated/validators/folderResource.zod.d.ts +44 -0
- package/dist/assistant/v1/generated/validators/folderResource.zod.js +38 -0
- package/dist/assistant/v1/generated/validators/itemFrame.zod.d.ts +36 -0
- package/dist/assistant/v1/generated/validators/itemFrame.zod.js +32 -0
- package/dist/assistant/v1/generated/validators/itemSourceResource.zod.d.ts +36 -0
- package/dist/assistant/v1/generated/validators/itemSourceResource.zod.js +31 -0
- package/dist/assistant/v1/generated/validators/lastTurnResource.zod.d.ts +43 -0
- package/dist/assistant/v1/generated/validators/lastTurnResource.zod.js +37 -0
- package/dist/assistant/v1/generated/validators/lengthAwarePageBindingResource.zod.d.ts +51 -0
- package/dist/assistant/v1/generated/validators/lengthAwarePageBindingResource.zod.js +32 -0
- package/dist/assistant/v1/generated/validators/lengthAwarePageChannelResource.zod.d.ts +61 -0
- package/dist/assistant/v1/generated/validators/lengthAwarePageChannelResource.zod.js +32 -0
- package/dist/assistant/v1/generated/validators/listBindingsParams.zod.d.ts +39 -0
- package/dist/assistant/v1/generated/validators/listBindingsParams.zod.js +41 -0
- package/dist/assistant/v1/generated/validators/listChannelRejectionsParams.zod.d.ts +33 -0
- package/dist/assistant/v1/generated/validators/listChannelRejectionsParams.zod.js +35 -0
- package/dist/assistant/v1/generated/validators/listChannelsParams.zod.d.ts +38 -0
- package/dist/assistant/v1/generated/validators/listChannelsParams.zod.js +40 -0
- package/dist/assistant/v1/generated/validators/listTaskRunsParams.zod.d.ts +34 -0
- package/dist/assistant/v1/generated/validators/listTaskRunsParams.zod.js +32 -0
- package/dist/assistant/v1/generated/validators/listThreadItemsParams.zod.d.ts +38 -0
- package/dist/assistant/v1/generated/validators/listThreadItemsParams.zod.js +40 -0
- package/dist/assistant/v1/generated/validators/listThreadMessagesParams.zod.d.ts +36 -0
- package/dist/assistant/v1/generated/validators/listThreadMessagesParams.zod.js +42 -0
- package/dist/assistant/v1/generated/validators/listThreadTurnsParams.zod.d.ts +36 -0
- package/dist/assistant/v1/generated/validators/listThreadTurnsParams.zod.js +38 -0
- package/dist/assistant/v1/generated/validators/loginResource.zod.d.ts +41 -0
- package/dist/assistant/v1/generated/validators/loginResource.zod.js +36 -0
- package/dist/assistant/v1/generated/validators/memoryListResponseBody.zod.d.ts +37 -0
- package/dist/assistant/v1/generated/validators/memoryListResponseBody.zod.js +29 -0
- package/dist/assistant/v1/generated/validators/memoryResource.zod.d.ts +35 -0
- package/dist/assistant/v1/generated/validators/memoryResource.zod.js +38 -0
- package/dist/assistant/v1/generated/validators/messagePart.zod.d.ts +34 -0
- package/dist/assistant/v1/generated/validators/messagePart.zod.js +37 -0
- package/dist/assistant/v1/generated/validators/moveFolderRequestBody.zod.d.ts +32 -0
- package/dist/assistant/v1/generated/validators/moveFolderRequestBody.zod.js +30 -0
- package/dist/assistant/v1/generated/validators/offsetPagination.zod.d.ts +33 -0
- package/dist/assistant/v1/generated/validators/offsetPagination.zod.js +33 -0
- package/dist/assistant/v1/generated/validators/openRealtimeParams.zod.d.ts +31 -0
- package/dist/assistant/v1/generated/validators/openRealtimeParams.zod.js +29 -0
- package/dist/assistant/v1/generated/validators/partResource.zod.d.ts +36 -0
- package/dist/assistant/v1/generated/validators/partResource.zod.js +36 -0
- package/dist/assistant/v1/generated/validators/pendingActionResource.zod.d.ts +35 -0
- package/dist/assistant/v1/generated/validators/pendingActionResource.zod.js +37 -0
- package/dist/assistant/v1/generated/validators/placeThreadRequestBody.zod.d.ts +33 -0
- package/dist/assistant/v1/generated/validators/placeThreadRequestBody.zod.js +34 -0
- package/dist/assistant/v1/generated/validators/platformListResponseBody.zod.d.ts +56 -0
- package/dist/assistant/v1/generated/validators/platformListResponseBody.zod.js +29 -0
- package/dist/assistant/v1/generated/validators/platformResource.zod.d.ts +54 -0
- package/dist/assistant/v1/generated/validators/platformResource.zod.js +41 -0
- package/dist/assistant/v1/generated/validators/presentationResource.zod.d.ts +43 -0
- package/dist/assistant/v1/generated/validators/presentationResource.zod.js +34 -0
- package/dist/assistant/v1/generated/validators/putUploadPartHeaders.zod.d.ts +30 -0
- package/dist/assistant/v1/generated/validators/putUploadPartHeaders.zod.js +28 -0
- package/dist/assistant/v1/generated/validators/putUploadPartParams.zod.d.ts +30 -0
- package/dist/assistant/v1/generated/validators/putUploadPartParams.zod.js +28 -0
- package/dist/assistant/v1/generated/validators/questionResource.zod.d.ts +36 -0
- package/dist/assistant/v1/generated/validators/questionResource.zod.js +34 -0
- package/dist/assistant/v1/generated/validators/realtimeClientMessage.zod.d.ts +38 -0
- package/dist/assistant/v1/generated/validators/realtimeClientMessage.zod.js +42 -0
- package/dist/assistant/v1/generated/validators/realtimeExchange.zod.d.ts +285 -0
- package/dist/assistant/v1/generated/validators/realtimeExchange.zod.js +33 -0
- package/dist/assistant/v1/generated/validators/realtimeServerMessage.zod.d.ts +274 -0
- package/dist/assistant/v1/generated/validators/realtimeServerMessage.zod.js +64 -0
- package/dist/assistant/v1/generated/validators/realtimeTicketResource.zod.d.ts +32 -0
- package/dist/assistant/v1/generated/validators/realtimeTicketResource.zod.js +30 -0
- package/dist/assistant/v1/generated/validators/reasoningEffort.zod.d.ts +32 -0
- package/dist/assistant/v1/generated/validators/reasoningEffort.zod.js +28 -0
- package/dist/assistant/v1/generated/validators/rejectionListResponseBody.zod.d.ts +38 -0
- package/dist/assistant/v1/generated/validators/rejectionListResponseBody.zod.js +29 -0
- package/dist/assistant/v1/generated/validators/rejectionResource.zod.d.ts +36 -0
- package/dist/assistant/v1/generated/validators/rejectionResource.zod.js +34 -0
- package/dist/assistant/v1/generated/validators/resumeThreadRequestBody.zod.d.ts +31 -0
- package/dist/assistant/v1/generated/validators/resumeThreadRequestBody.zod.js +33 -0
- package/dist/assistant/v1/generated/validators/revertRequestBody.zod.d.ts +31 -0
- package/dist/assistant/v1/generated/validators/revertRequestBody.zod.js +32 -0
- package/dist/assistant/v1/generated/validators/revertedCountResponseBody.zod.d.ts +31 -0
- package/dist/assistant/v1/generated/validators/revertedCountResponseBody.zod.js +29 -0
- package/dist/assistant/v1/generated/validators/rotateSecretRequestBody.zod.d.ts +30 -0
- package/dist/assistant/v1/generated/validators/rotateSecretRequestBody.zod.js +31 -0
- package/dist/assistant/v1/generated/validators/searchTasksRequestBody.zod.d.ts +52 -0
- package/dist/assistant/v1/generated/validators/searchTasksRequestBody.zod.js +45 -0
- package/dist/assistant/v1/generated/validators/searchThreadsRequestBody.zod.d.ts +62 -0
- package/dist/assistant/v1/generated/validators/searchThreadsRequestBody.zod.js +83 -0
- package/dist/assistant/v1/generated/validators/sendMessageRequestBody.zod.d.ts +52 -0
- package/dist/assistant/v1/generated/validators/sendMessageRequestBody.zod.js +34 -0
- package/dist/assistant/v1/generated/validators/sendMessageResponseBody.zod.d.ts +33 -0
- package/dist/assistant/v1/generated/validators/sendMessageResponseBody.zod.js +37 -0
- package/dist/assistant/v1/generated/validators/senderCheckResource.zod.d.ts +39 -0
- package/dist/assistant/v1/generated/validators/senderCheckResource.zod.js +37 -0
- package/dist/assistant/v1/generated/validators/settingsResource.zod.d.ts +47 -0
- package/dist/assistant/v1/generated/validators/settingsResource.zod.js +34 -0
- package/dist/assistant/v1/generated/validators/skillEnabledRequestBody.zod.d.ts +30 -0
- package/dist/assistant/v1/generated/validators/skillEnabledRequestBody.zod.js +28 -0
- package/dist/assistant/v1/generated/validators/skillListResponseBody.zod.d.ts +42 -0
- package/dist/assistant/v1/generated/validators/skillListResponseBody.zod.js +29 -0
- package/dist/assistant/v1/generated/validators/skillRequestBody.zod.d.ts +38 -0
- package/dist/assistant/v1/generated/validators/skillRequestBody.zod.js +46 -0
- package/dist/assistant/v1/generated/validators/skillResource.zod.d.ts +40 -0
- package/dist/assistant/v1/generated/validators/skillResource.zod.js +47 -0
- package/dist/assistant/v1/generated/validators/subagentCountResource.zod.d.ts +33 -0
- package/dist/assistant/v1/generated/validators/subagentCountResource.zod.js +31 -0
- package/dist/assistant/v1/generated/validators/taskAction.zod.d.ts +41 -0
- package/dist/assistant/v1/generated/validators/taskAction.zod.js +51 -0
- package/dist/assistant/v1/generated/validators/taskListResponseBody.zod.d.ts +94 -0
- package/dist/assistant/v1/generated/validators/taskListResponseBody.zod.js +30 -0
- package/dist/assistant/v1/generated/validators/taskResource.zod.d.ts +91 -0
- package/dist/assistant/v1/generated/validators/taskResource.zod.js +45 -0
- package/dist/assistant/v1/generated/validators/taskRunListResponseBody.zod.d.ts +52 -0
- package/dist/assistant/v1/generated/validators/taskRunListResponseBody.zod.js +30 -0
- package/dist/assistant/v1/generated/validators/taskRunResource.zod.d.ts +49 -0
- package/dist/assistant/v1/generated/validators/taskRunResource.zod.js +41 -0
- package/dist/assistant/v1/generated/validators/taskTrigger.zod.d.ts +51 -0
- package/dist/assistant/v1/generated/validators/taskTrigger.zod.js +64 -0
- package/dist/assistant/v1/generated/validators/threadCountsResource.zod.d.ts +37 -0
- package/dist/assistant/v1/generated/validators/threadCountsResource.zod.js +37 -0
- package/dist/assistant/v1/generated/validators/threadItemListResponseBody.zod.d.ts +238 -0
- package/dist/assistant/v1/generated/validators/threadItemListResponseBody.zod.js +46 -0
- package/dist/assistant/v1/generated/validators/threadItemResource.zod.d.ts +129 -0
- package/dist/assistant/v1/generated/validators/threadItemResource.zod.js +89 -0
- package/dist/assistant/v1/generated/validators/threadListResponseBody.zod.d.ts +125 -0
- package/dist/assistant/v1/generated/validators/threadListResponseBody.zod.js +34 -0
- package/dist/assistant/v1/generated/validators/threadMessageListResponseBody.zod.d.ts +40 -0
- package/dist/assistant/v1/generated/validators/threadMessageListResponseBody.zod.js +34 -0
- package/dist/assistant/v1/generated/validators/threadMessageResource.zod.d.ts +37 -0
- package/dist/assistant/v1/generated/validators/threadMessageResource.zod.js +44 -0
- package/dist/assistant/v1/generated/validators/threadResource.zod.d.ts +118 -0
- package/dist/assistant/v1/generated/validators/threadResource.zod.js +99 -0
- package/dist/assistant/v1/generated/validators/threadStatus.zod.d.ts +35 -0
- package/dist/assistant/v1/generated/validators/threadStatus.zod.js +28 -0
- package/dist/assistant/v1/generated/validators/threadTurnListResponseBody.zod.d.ts +75 -0
- package/dist/assistant/v1/generated/validators/threadTurnListResponseBody.zod.js +30 -0
- package/dist/assistant/v1/generated/validators/threadTurnResource.zod.d.ts +74 -0
- package/dist/assistant/v1/generated/validators/threadTurnResource.zod.js +74 -0
- package/dist/assistant/v1/generated/validators/todoResource.zod.d.ts +36 -0
- package/dist/assistant/v1/generated/validators/todoResource.zod.js +34 -0
- package/dist/assistant/v1/generated/validators/toolCallResource.zod.d.ts +65 -0
- package/dist/assistant/v1/generated/validators/toolCallResource.zod.js +80 -0
- package/dist/assistant/v1/generated/validators/toolResultRequestBody.zod.d.ts +36 -0
- package/dist/assistant/v1/generated/validators/toolResultRequestBody.zod.js +48 -0
- package/dist/assistant/v1/generated/validators/turnStartedResponseBody.zod.d.ts +30 -0
- package/dist/assistant/v1/generated/validators/turnStartedResponseBody.zod.js +28 -0
- package/dist/assistant/v1/generated/validators/turnStatus.zod.d.ts +34 -0
- package/dist/assistant/v1/generated/validators/turnStatus.zod.js +28 -0
- package/dist/assistant/v1/generated/validators/turnType.zod.d.ts +31 -0
- package/dist/assistant/v1/generated/validators/turnType.zod.js +28 -0
- package/dist/assistant/v1/generated/validators/updateChannelRequestBody.zod.d.ts +38 -0
- package/dist/assistant/v1/generated/validators/updateChannelRequestBody.zod.js +42 -0
- package/dist/assistant/v1/generated/validators/updateFolderRequestBody.zod.d.ts +31 -0
- package/dist/assistant/v1/generated/validators/updateFolderRequestBody.zod.js +29 -0
- package/dist/assistant/v1/generated/validators/updateSettingsRequestBody.zod.d.ts +36 -0
- package/dist/assistant/v1/generated/validators/updateSettingsRequestBody.zod.js +31 -0
- package/dist/assistant/v1/generated/validators/updateTaskRequestBody.zod.d.ts +59 -0
- package/dist/assistant/v1/generated/validators/updateTaskRequestBody.zod.js +33 -0
- package/dist/assistant/v1/generated/validators/updateThreadRequestBody.zod.d.ts +44 -0
- package/dist/assistant/v1/generated/validators/updateThreadRequestBody.zod.js +36 -0
- package/dist/assistant/v1/generated/validators/updateUploadRequestBody.zod.d.ts +31 -0
- package/dist/assistant/v1/generated/validators/updateUploadRequestBody.zod.js +29 -0
- package/dist/assistant/v1/generated/validators/uploadAttachmentParams.zod.d.ts +31 -0
- package/dist/assistant/v1/generated/validators/uploadAttachmentParams.zod.js +29 -0
- package/dist/assistant/v1/generated/validators/uploadConfigurationResource.zod.d.ts +35 -0
- package/dist/assistant/v1/generated/validators/uploadConfigurationResource.zod.js +33 -0
- package/dist/assistant/v1/generated/validators/uploadListResponseBody.zod.d.ts +44 -0
- package/dist/assistant/v1/generated/validators/uploadListResponseBody.zod.js +29 -0
- package/dist/assistant/v1/generated/validators/uploadPartResource.zod.d.ts +32 -0
- package/dist/assistant/v1/generated/validators/uploadPartResource.zod.js +30 -0
- package/dist/assistant/v1/generated/validators/uploadResource.zod.d.ts +42 -0
- package/dist/assistant/v1/generated/validators/uploadResource.zod.js +37 -0
- package/dist/assistant/v1/generated/validators/uploadedResource.zod.d.ts +40 -0
- package/dist/assistant/v1/generated/validators/uploadedResource.zod.js +40 -0
- package/dist/assistant/v1/generated/validators/usage.zod.d.ts +44 -0
- package/dist/assistant/v1/generated/validators/usage.zod.js +61 -0
- package/dist/assistant/v1/generated/validators/verifyCodeRequestBody.zod.d.ts +30 -0
- package/dist/assistant/v1/generated/validators/verifyCodeRequestBody.zod.js +28 -0
- package/dist/assistant/v1/generated/validators/webhookSecretResponseBody.zod.d.ts +30 -0
- package/dist/assistant/v1/generated/validators/webhookSecretResponseBody.zod.js +28 -0
- package/dist/assistant/v1/index.d.ts +3 -84
- package/dist/assistant/v1/index.js +3 -5
- package/dist/billing/type/cancellation/v1/generated/functions.d.ts +8 -0
- package/dist/billing/type/cancellation/v1/generated/functions.js +8 -0
- package/dist/billing/type/cancellation/v1/generated/models.d.ts +19 -0
- package/dist/billing/type/cancellation/v1/generated/models.js +4 -0
- package/dist/billing/type/cancellation/v1/generated/schemas.zod.d.ts +8 -0
- package/dist/billing/type/cancellation/v1/generated/schemas.zod.js +8 -0
- package/dist/billing/type/cancellation/v1/generated/validators/cancellationMode.zod.d.ts +14 -0
- package/dist/billing/type/cancellation/v1/generated/validators/cancellationMode.zod.js +11 -0
- package/dist/billing/type/checkout/v1/generated/functions.d.ts +8 -0
- package/dist/billing/type/checkout/v1/generated/functions.js +8 -0
- package/dist/billing/type/checkout/v1/generated/models.d.ts +57 -0
- package/dist/billing/type/checkout/v1/generated/models.js +4 -0
- package/dist/billing/type/checkout/v1/generated/schemas.zod.d.ts +8 -0
- package/dist/billing/type/checkout/v1/generated/schemas.zod.js +8 -0
- package/dist/billing/type/checkout/v1/generated/validators/checkoutMode.zod.d.ts +14 -0
- package/dist/billing/type/checkout/v1/generated/validators/checkoutMode.zod.js +11 -0
- package/dist/billing/type/checkout/v1/generated/validators/checkoutOptions.zod.d.ts +21 -0
- package/dist/billing/type/checkout/v1/generated/validators/checkoutOptions.zod.js +26 -0
- package/dist/billing/type/checkout/v1/generated/validators/money.zod.d.ts +11 -0
- package/dist/billing/type/checkout/v1/generated/validators/money.zod.js +11 -0
- package/dist/billing/type/funds/v1/generated/functions.d.ts +8 -0
- package/dist/billing/type/funds/v1/generated/functions.js +8 -0
- package/dist/billing/type/funds/v1/generated/models.d.ts +38 -0
- package/dist/billing/type/funds/v1/generated/models.js +1 -0
- package/dist/billing/type/funds/v1/generated/schemas.zod.d.ts +8 -0
- package/dist/billing/type/funds/v1/generated/schemas.zod.js +8 -0
- package/dist/billing/type/funds/v1/generated/validators/funds.zod.d.ts +18 -0
- package/dist/billing/type/funds/v1/generated/validators/funds.zod.js +19 -0
- package/dist/billing/type/funds/v1/generated/validators/money.zod.d.ts +11 -0
- package/dist/billing/type/funds/v1/generated/validators/money.zod.js +11 -0
- package/dist/billing/type/order/v1/generated/functions.d.ts +8 -0
- package/dist/billing/type/order/v1/generated/functions.js +8 -0
- package/dist/billing/type/order/v1/generated/models.d.ts +2890 -0
- package/dist/billing/type/order/v1/generated/models.js +367 -0
- package/dist/billing/type/order/v1/generated/schemas.zod.d.ts +8 -0
- package/dist/billing/type/order/v1/generated/schemas.zod.js +8 -0
- package/dist/billing/type/order/v1/generated/validators/accountBalance.zod.d.ts +135 -0
- package/dist/billing/type/order/v1/generated/validators/accountBalance.zod.js +27 -0
- package/dist/billing/type/order/v1/generated/validators/accountDeletionObjection.zod.d.ts +19 -0
- package/dist/billing/type/order/v1/generated/validators/accountDeletionObjection.zod.js +19 -0
- package/dist/billing/type/order/v1/generated/validators/accountDeletionReadiness.zod.d.ts +45 -0
- package/dist/billing/type/order/v1/generated/validators/accountDeletionReadiness.zod.js +14 -0
- package/dist/billing/type/order/v1/generated/validators/accountDeletionReadinessItem.zod.d.ts +43 -0
- package/dist/billing/type/order/v1/generated/validators/accountDeletionReadinessItem.zod.js +19 -0
- package/dist/billing/type/order/v1/generated/validators/accountIdentity.zod.d.ts +15 -0
- package/dist/billing/type/order/v1/generated/validators/accountIdentity.zod.js +13 -0
- package/dist/billing/type/order/v1/generated/validators/activeResource.zod.d.ts +41 -0
- package/dist/billing/type/order/v1/generated/validators/activeResource.zod.js +39 -0
- package/dist/billing/type/order/v1/generated/validators/activeResourceList.zod.d.ts +48 -0
- package/dist/billing/type/order/v1/generated/validators/activeResourceList.zod.js +14 -0
- package/dist/billing/type/order/v1/generated/validators/allowance.zod.d.ts +44 -0
- package/dist/billing/type/order/v1/generated/validators/allowance.zod.js +41 -0
- package/dist/billing/type/order/v1/generated/validators/allowanceList.zod.d.ts +51 -0
- package/dist/billing/type/order/v1/generated/validators/allowanceList.zod.js +14 -0
- package/dist/billing/type/order/v1/generated/validators/applicability.zod.d.ts +119 -0
- package/dist/billing/type/order/v1/generated/validators/applicability.zod.js +41 -0
- package/dist/billing/type/order/v1/generated/validators/applicablePlan.zod.d.ts +15 -0
- package/dist/billing/type/order/v1/generated/validators/applicablePlan.zod.js +15 -0
- package/dist/billing/type/order/v1/generated/validators/appliedCredit.zod.d.ts +15 -0
- package/dist/billing/type/order/v1/generated/validators/appliedCredit.zod.js +16 -0
- package/dist/billing/type/order/v1/generated/validators/autoRenewSet.zod.d.ts +13 -0
- package/dist/billing/type/order/v1/generated/validators/autoRenewSet.zod.js +11 -0
- package/dist/billing/type/order/v1/generated/validators/billingAccount.zod.d.ts +30 -0
- package/dist/billing/type/order/v1/generated/validators/billingAccount.zod.js +34 -0
- package/dist/billing/type/order/v1/generated/validators/billingAccountCreate.zod.d.ts +17 -0
- package/dist/billing/type/order/v1/generated/validators/billingAccountCreate.zod.js +15 -0
- package/dist/billing/type/order/v1/generated/validators/billingAccountList.zod.d.ts +37 -0
- package/dist/billing/type/order/v1/generated/validators/billingAccountList.zod.js +14 -0
- package/dist/billing/type/order/v1/generated/validators/billingAccountUpdate.zod.d.ts +15 -0
- package/dist/billing/type/order/v1/generated/validators/billingAccountUpdate.zod.js +16 -0
- package/dist/billing/type/order/v1/generated/validators/billingScheme.zod.d.ts +14 -0
- package/dist/billing/type/order/v1/generated/validators/billingScheme.zod.js +11 -0
- package/dist/billing/type/order/v1/generated/validators/cancelSubscriptionRequest.zod.d.ts +21 -0
- package/dist/billing/type/order/v1/generated/validators/cancelSubscriptionRequest.zod.js +21 -0
- package/dist/billing/type/order/v1/generated/validators/cancellation.zod.d.ts +67 -0
- package/dist/billing/type/order/v1/generated/validators/cancellation.zod.js +39 -0
- package/dist/billing/type/order/v1/generated/validators/cancellationCreate.zod.d.ts +23 -0
- package/dist/billing/type/order/v1/generated/validators/cancellationCreate.zod.js +31 -0
- package/dist/billing/type/order/v1/generated/validators/cancellationItem.zod.d.ts +38 -0
- package/dist/billing/type/order/v1/generated/validators/cancellationItem.zod.js +36 -0
- package/dist/billing/type/order/v1/generated/validators/cancellationList.zod.d.ts +74 -0
- package/dist/billing/type/order/v1/generated/validators/cancellationList.zod.js +14 -0
- package/dist/billing/type/order/v1/generated/validators/cancellationPolicy.zod.d.ts +14 -0
- package/dist/billing/type/order/v1/generated/validators/cancellationPolicy.zod.js +11 -0
- package/dist/billing/type/order/v1/generated/validators/cancellationRefundPreview.zod.d.ts +51 -0
- package/dist/billing/type/order/v1/generated/validators/cancellationRefundPreview.zod.js +33 -0
- package/dist/billing/type/order/v1/generated/validators/cancellationRefundPreviewItem.zod.d.ts +35 -0
- package/dist/billing/type/order/v1/generated/validators/cancellationRefundPreviewItem.zod.js +35 -0
- package/dist/billing/type/order/v1/generated/validators/contact.zod.d.ts +41 -0
- package/dist/billing/type/order/v1/generated/validators/contact.zod.js +39 -0
- package/dist/billing/type/order/v1/generated/validators/contactCreate.zod.d.ts +32 -0
- package/dist/billing/type/order/v1/generated/validators/contactCreate.zod.js +30 -0
- package/dist/billing/type/order/v1/generated/validators/contactList.zod.d.ts +38 -0
- package/dist/billing/type/order/v1/generated/validators/contactList.zod.js +14 -0
- package/dist/billing/type/order/v1/generated/validators/contactUpdate.zod.d.ts +33 -0
- package/dist/billing/type/order/v1/generated/validators/contactUpdate.zod.js +31 -0
- package/dist/billing/type/order/v1/generated/validators/creditGrant.zod.d.ts +137 -0
- package/dist/billing/type/order/v1/generated/validators/creditGrant.zod.js +27 -0
- package/dist/billing/type/order/v1/generated/validators/creditGrantList.zod.d.ts +144 -0
- package/dist/billing/type/order/v1/generated/validators/creditGrantList.zod.js +14 -0
- package/dist/billing/type/order/v1/generated/validators/creditGroup.zod.d.ts +123 -0
- package/dist/billing/type/order/v1/generated/validators/creditGroup.zod.js +18 -0
- package/dist/billing/type/order/v1/generated/validators/creditNote.zod.d.ts +34 -0
- package/dist/billing/type/order/v1/generated/validators/creditNote.zod.js +40 -0
- package/dist/billing/type/order/v1/generated/validators/creditNoteItem.zod.d.ts +17 -0
- package/dist/billing/type/order/v1/generated/validators/creditNoteItem.zod.js +16 -0
- package/dist/billing/type/order/v1/generated/validators/creditNoteItemList.zod.d.ts +24 -0
- package/dist/billing/type/order/v1/generated/validators/creditNoteItemList.zod.js +14 -0
- package/dist/billing/type/order/v1/generated/validators/creditNoteList.zod.d.ts +41 -0
- package/dist/billing/type/order/v1/generated/validators/creditNoteList.zod.js +14 -0
- package/dist/billing/type/order/v1/generated/validators/currency.zod.d.ts +21 -0
- package/dist/billing/type/order/v1/generated/validators/currency.zod.js +30 -0
- package/dist/billing/type/order/v1/generated/validators/currencyList.zod.d.ts +23 -0
- package/dist/billing/type/order/v1/generated/validators/currencyList.zod.js +14 -0
- package/dist/billing/type/order/v1/generated/validators/cursorPagination.zod.d.ts +14 -0
- package/dist/billing/type/order/v1/generated/validators/cursorPagination.zod.js +14 -0
- package/dist/billing/type/order/v1/generated/validators/discount.zod.d.ts +153 -0
- package/dist/billing/type/order/v1/generated/validators/discount.zod.js +44 -0
- package/dist/billing/type/order/v1/generated/validators/discountList.zod.d.ts +160 -0
- package/dist/billing/type/order/v1/generated/validators/discountList.zod.js +14 -0
- package/dist/billing/type/order/v1/generated/validators/entitlement.zod.d.ts +25 -0
- package/dist/billing/type/order/v1/generated/validators/entitlement.zod.js +20 -0
- package/dist/billing/type/order/v1/generated/validators/entitlementList.zod.d.ts +32 -0
- package/dist/billing/type/order/v1/generated/validators/entitlementList.zod.js +14 -0
- package/dist/billing/type/order/v1/generated/validators/error.zod.d.ts +16 -0
- package/dist/billing/type/order/v1/generated/validators/error.zod.js +17 -0
- package/dist/billing/type/order/v1/generated/validators/featureGrant.zod.d.ts +33 -0
- package/dist/billing/type/order/v1/generated/validators/featureGrant.zod.js +24 -0
- package/dist/billing/type/order/v1/generated/validators/featureGrantList.zod.d.ts +40 -0
- package/dist/billing/type/order/v1/generated/validators/featureGrantList.zod.js +14 -0
- package/dist/billing/type/order/v1/generated/validators/featureGrantStatus.zod.d.ts +16 -0
- package/dist/billing/type/order/v1/generated/validators/featureGrantStatus.zod.js +11 -0
- package/dist/billing/type/order/v1/generated/validators/funds.zod.d.ts +18 -0
- package/dist/billing/type/order/v1/generated/validators/funds.zod.js +19 -0
- package/dist/billing/type/order/v1/generated/validators/invoice.zod.d.ts +63 -0
- package/dist/billing/type/order/v1/generated/validators/invoice.zod.js +54 -0
- package/dist/billing/type/order/v1/generated/validators/invoiceItem.zod.d.ts +46 -0
- package/dist/billing/type/order/v1/generated/validators/invoiceItem.zod.js +60 -0
- package/dist/billing/type/order/v1/generated/validators/invoiceItemList.zod.d.ts +53 -0
- package/dist/billing/type/order/v1/generated/validators/invoiceItemList.zod.js +14 -0
- package/dist/billing/type/order/v1/generated/validators/invoiceItemProration.zod.d.ts +18 -0
- package/dist/billing/type/order/v1/generated/validators/invoiceItemProration.zod.js +21 -0
- package/dist/billing/type/order/v1/generated/validators/invoiceList.zod.d.ts +70 -0
- package/dist/billing/type/order/v1/generated/validators/invoiceList.zod.js +14 -0
- package/dist/billing/type/order/v1/generated/validators/invoiceStatus.zod.d.ts +16 -0
- package/dist/billing/type/order/v1/generated/validators/invoiceStatus.zod.js +11 -0
- package/dist/billing/type/order/v1/generated/validators/invoiceSummary.zod.d.ts +32 -0
- package/dist/billing/type/order/v1/generated/validators/invoiceSummary.zod.js +34 -0
- package/dist/billing/type/order/v1/generated/validators/money.zod.d.ts +11 -0
- package/dist/billing/type/order/v1/generated/validators/money.zod.js +11 -0
- package/dist/billing/type/order/v1/generated/validators/monthlyStatement.zod.d.ts +38 -0
- package/dist/billing/type/order/v1/generated/validators/monthlyStatement.zod.js +30 -0
- package/dist/billing/type/order/v1/generated/validators/monthlyStatementList.zod.d.ts +45 -0
- package/dist/billing/type/order/v1/generated/validators/monthlyStatementList.zod.js +14 -0
- package/dist/billing/type/order/v1/generated/validators/namedIdentity.zod.d.ts +15 -0
- package/dist/billing/type/order/v1/generated/validators/namedIdentity.zod.js +15 -0
- package/dist/billing/type/order/v1/generated/validators/objectIdentity.zod.d.ts +15 -0
- package/dist/billing/type/order/v1/generated/validators/objectIdentity.zod.js +15 -0
- package/dist/billing/type/order/v1/generated/validators/offsetPagination.zod.d.ts +16 -0
- package/dist/billing/type/order/v1/generated/validators/offsetPagination.zod.js +16 -0
- package/dist/billing/type/order/v1/generated/validators/order.zod.d.ts +148 -0
- package/dist/billing/type/order/v1/generated/validators/order.zod.js +63 -0
- package/dist/billing/type/order/v1/generated/validators/orderCancel.zod.d.ts +14 -0
- package/dist/billing/type/order/v1/generated/validators/orderCancel.zod.js +17 -0
- package/dist/billing/type/order/v1/generated/validators/orderItem.zod.d.ts +75 -0
- package/dist/billing/type/order/v1/generated/validators/orderItem.zod.js +88 -0
- package/dist/billing/type/order/v1/generated/validators/orderItemList.zod.d.ts +81 -0
- package/dist/billing/type/order/v1/generated/validators/orderItemList.zod.js +14 -0
- package/dist/billing/type/order/v1/generated/validators/orderItemStatus.zod.d.ts +16 -0
- package/dist/billing/type/order/v1/generated/validators/orderItemStatus.zod.js +11 -0
- package/dist/billing/type/order/v1/generated/validators/orderList.zod.d.ts +155 -0
- package/dist/billing/type/order/v1/generated/validators/orderList.zod.js +14 -0
- package/dist/billing/type/order/v1/generated/validators/orderRefundQuote.zod.d.ts +17 -0
- package/dist/billing/type/order/v1/generated/validators/orderRefundQuote.zod.js +18 -0
- package/dist/billing/type/order/v1/generated/validators/orderRefundQuoteInput.zod.d.ts +15 -0
- package/dist/billing/type/order/v1/generated/validators/orderRefundQuoteInput.zod.js +20 -0
- package/dist/billing/type/order/v1/generated/validators/orderStatus.zod.d.ts +18 -0
- package/dist/billing/type/order/v1/generated/validators/orderStatus.zod.js +11 -0
- package/dist/billing/type/order/v1/generated/validators/paidWith.zod.d.ts +17 -0
- package/dist/billing/type/order/v1/generated/validators/paidWith.zod.js +25 -0
- package/dist/billing/type/order/v1/generated/validators/payInvoiceRequest.zod.d.ts +26 -0
- package/dist/billing/type/order/v1/generated/validators/payInvoiceRequest.zod.js +53 -0
- package/dist/billing/type/order/v1/generated/validators/payTogetherRequest.zod.d.ts +18 -0
- package/dist/billing/type/order/v1/generated/validators/payTogetherRequest.zod.js +21 -0
- package/dist/billing/type/order/v1/generated/validators/paymentAction.zod.d.ts +22 -0
- package/dist/billing/type/order/v1/generated/validators/paymentAction.zod.js +24 -0
- package/dist/billing/type/order/v1/generated/validators/paymentCancellationReason.zod.d.ts +14 -0
- package/dist/billing/type/order/v1/generated/validators/paymentCancellationReason.zod.js +11 -0
- package/dist/billing/type/order/v1/generated/validators/paymentMethod.zod.d.ts +25 -0
- package/dist/billing/type/order/v1/generated/validators/paymentMethod.zod.js +19 -0
- package/dist/billing/type/order/v1/generated/validators/paymentMethodList.zod.d.ts +32 -0
- package/dist/billing/type/order/v1/generated/validators/paymentMethodList.zod.js +14 -0
- package/dist/billing/type/order/v1/generated/validators/paymentMethodSetup.zod.d.ts +15 -0
- package/dist/billing/type/order/v1/generated/validators/paymentMethodSetup.zod.js +17 -0
- package/dist/billing/type/order/v1/generated/validators/paymentMethodSetupResult.zod.d.ts +26 -0
- package/dist/billing/type/order/v1/generated/validators/paymentMethodSetupResult.zod.js +16 -0
- package/dist/billing/type/order/v1/generated/validators/paymentOption.zod.d.ts +17 -0
- package/dist/billing/type/order/v1/generated/validators/paymentOption.zod.js +15 -0
- package/dist/billing/type/order/v1/generated/validators/paymentOptionList.zod.d.ts +24 -0
- package/dist/billing/type/order/v1/generated/validators/paymentOptionList.zod.js +14 -0
- package/dist/billing/type/order/v1/generated/validators/paymentOptionMethod.zod.d.ts +14 -0
- package/dist/billing/type/order/v1/generated/validators/paymentOptionMethod.zod.js +16 -0
- package/dist/billing/type/order/v1/generated/validators/paymentPreview.zod.d.ts +38 -0
- package/dist/billing/type/order/v1/generated/validators/paymentPreview.zod.js +30 -0
- package/dist/billing/type/order/v1/generated/validators/paymentPreviewInvoice.zod.d.ts +17 -0
- package/dist/billing/type/order/v1/generated/validators/paymentPreviewInvoice.zod.js +16 -0
- package/dist/billing/type/order/v1/generated/validators/paymentResult.zod.d.ts +87 -0
- package/dist/billing/type/order/v1/generated/validators/paymentResult.zod.js +36 -0
- package/dist/billing/type/order/v1/generated/validators/paymentStatus.zod.d.ts +16 -0
- package/dist/billing/type/order/v1/generated/validators/paymentStatus.zod.js +11 -0
- package/dist/billing/type/order/v1/generated/validators/placedOrder.zod.d.ts +35 -0
- package/dist/billing/type/order/v1/generated/validators/placedOrder.zod.js +16 -0
- package/dist/billing/type/order/v1/generated/validators/plan.zod.d.ts +31 -0
- package/dist/billing/type/order/v1/generated/validators/plan.zod.js +23 -0
- package/dist/billing/type/order/v1/generated/validators/planFeature.zod.d.ts +18 -0
- package/dist/billing/type/order/v1/generated/validators/planFeature.zod.js +13 -0
- package/dist/billing/type/order/v1/generated/validators/planList.zod.d.ts +38 -0
- package/dist/billing/type/order/v1/generated/validators/planList.zod.js +14 -0
- package/dist/billing/type/order/v1/generated/validators/price.zod.d.ts +86 -0
- package/dist/billing/type/order/v1/generated/validators/price.zod.js +78 -0
- package/dist/billing/type/order/v1/generated/validators/priceList.zod.d.ts +93 -0
- package/dist/billing/type/order/v1/generated/validators/priceList.zod.js +14 -0
- package/dist/billing/type/order/v1/generated/validators/priceOption.zod.d.ts +46 -0
- package/dist/billing/type/order/v1/generated/validators/priceOption.zod.js +32 -0
- package/dist/billing/type/order/v1/generated/validators/priceType.zod.d.ts +14 -0
- package/dist/billing/type/order/v1/generated/validators/priceType.zod.js +11 -0
- package/dist/billing/type/order/v1/generated/validators/product.zod.d.ts +15 -0
- package/dist/billing/type/order/v1/generated/validators/product.zod.js +14 -0
- package/dist/billing/type/order/v1/generated/validators/productID.zod.d.ts +13 -0
- package/dist/billing/type/order/v1/generated/validators/productID.zod.js +16 -0
- package/dist/billing/type/order/v1/generated/validators/productList.zod.d.ts +22 -0
- package/dist/billing/type/order/v1/generated/validators/productList.zod.js +14 -0
- package/dist/billing/type/order/v1/generated/validators/projectAssignment.zod.d.ts +22 -0
- package/dist/billing/type/order/v1/generated/validators/projectAssignment.zod.js +23 -0
- package/dist/billing/type/order/v1/generated/validators/projectAssignmentList.zod.d.ts +29 -0
- package/dist/billing/type/order/v1/generated/validators/projectAssignmentList.zod.js +14 -0
- package/dist/billing/type/order/v1/generated/validators/purchaseOperation.zod.d.ts +15 -0
- package/dist/billing/type/order/v1/generated/validators/purchaseOperation.zod.js +11 -0
- package/dist/billing/type/order/v1/generated/validators/quote.zod.d.ts +112 -0
- package/dist/billing/type/order/v1/generated/validators/quote.zod.js +32 -0
- package/dist/billing/type/order/v1/generated/validators/quoteCancellation.zod.d.ts +18 -0
- package/dist/billing/type/order/v1/generated/validators/quoteCancellation.zod.js +20 -0
- package/dist/billing/type/order/v1/generated/validators/quoteItem.zod.d.ts +25 -0
- package/dist/billing/type/order/v1/generated/validators/quoteItem.zod.js +38 -0
- package/dist/billing/type/order/v1/generated/validators/quoteItemInput.zod.d.ts +45 -0
- package/dist/billing/type/order/v1/generated/validators/quoteItemInput.zod.js +41 -0
- package/dist/billing/type/order/v1/generated/validators/quoteRenewal.zod.d.ts +27 -0
- package/dist/billing/type/order/v1/generated/validators/quoteRenewal.zod.js +26 -0
- package/dist/billing/type/order/v1/generated/validators/quoteRenewalResult.zod.d.ts +27 -0
- package/dist/billing/type/order/v1/generated/validators/quoteRenewalResult.zod.js +24 -0
- package/dist/billing/type/order/v1/generated/validators/quoteRequest.zod.d.ts +75 -0
- package/dist/billing/type/order/v1/generated/validators/quoteRequest.zod.js +42 -0
- package/dist/billing/type/order/v1/generated/validators/quotedDiscount.zod.d.ts +19 -0
- package/dist/billing/type/order/v1/generated/validators/quotedDiscount.zod.js +21 -0
- package/dist/billing/type/order/v1/generated/validators/rate.zod.d.ts +49 -0
- package/dist/billing/type/order/v1/generated/validators/rate.zod.js +41 -0
- package/dist/billing/type/order/v1/generated/validators/rateList.zod.d.ts +56 -0
- package/dist/billing/type/order/v1/generated/validators/rateList.zod.js +14 -0
- package/dist/billing/type/order/v1/generated/validators/refund.zod.d.ts +93 -0
- package/dist/billing/type/order/v1/generated/validators/refund.zod.js +44 -0
- package/dist/billing/type/order/v1/generated/validators/refundList.zod.d.ts +100 -0
- package/dist/billing/type/order/v1/generated/validators/refundList.zod.js +14 -0
- package/dist/billing/type/order/v1/generated/validators/refundPolicy.zod.d.ts +15 -0
- package/dist/billing/type/order/v1/generated/validators/refundPolicy.zod.js +11 -0
- package/dist/billing/type/order/v1/generated/validators/refundReason.zod.d.ts +23 -0
- package/dist/billing/type/order/v1/generated/validators/refundReason.zod.js +23 -0
- package/dist/billing/type/order/v1/generated/validators/renewRequest.zod.d.ts +31 -0
- package/dist/billing/type/order/v1/generated/validators/renewRequest.zod.js +42 -0
- package/dist/billing/type/order/v1/generated/validators/renewalOrderRequest.zod.d.ts +25 -0
- package/dist/billing/type/order/v1/generated/validators/renewalOrderRequest.zod.js +25 -0
- package/dist/billing/type/order/v1/generated/validators/renewalPrice.zod.d.ts +33 -0
- package/dist/billing/type/order/v1/generated/validators/renewalPrice.zod.js +25 -0
- package/dist/billing/type/order/v1/generated/validators/renewalPriceList.zod.d.ts +40 -0
- package/dist/billing/type/order/v1/generated/validators/renewalPriceList.zod.js +14 -0
- package/dist/billing/type/order/v1/generated/validators/scheduledChange.zod.d.ts +34 -0
- package/dist/billing/type/order/v1/generated/validators/scheduledChange.zod.js +26 -0
- package/dist/billing/type/order/v1/generated/validators/setProjectAssignmentRequest.zod.d.ts +13 -0
- package/dist/billing/type/order/v1/generated/validators/setProjectAssignmentRequest.zod.js +11 -0
- package/dist/billing/type/order/v1/generated/validators/spendRow.zod.d.ts +30 -0
- package/dist/billing/type/order/v1/generated/validators/spendRow.zod.js +29 -0
- package/dist/billing/type/order/v1/generated/validators/spendRowList.zod.d.ts +39 -0
- package/dist/billing/type/order/v1/generated/validators/spendRowList.zod.js +17 -0
- package/dist/billing/type/order/v1/generated/validators/statement.zod.d.ts +40 -0
- package/dist/billing/type/order/v1/generated/validators/statement.zod.js +36 -0
- package/dist/billing/type/order/v1/generated/validators/statementAmounts.zod.d.ts +17 -0
- package/dist/billing/type/order/v1/generated/validators/statementAmounts.zod.js +16 -0
- package/dist/billing/type/order/v1/generated/validators/statementItem.zod.d.ts +20 -0
- package/dist/billing/type/order/v1/generated/validators/statementItem.zod.js +25 -0
- package/dist/billing/type/order/v1/generated/validators/statementList.zod.d.ts +47 -0
- package/dist/billing/type/order/v1/generated/validators/statementList.zod.js +14 -0
- package/dist/billing/type/order/v1/generated/validators/statementStatus.zod.d.ts +14 -0
- package/dist/billing/type/order/v1/generated/validators/statementStatus.zod.js +9 -0
- package/dist/billing/type/order/v1/generated/validators/statementSummary.zod.d.ts +36 -0
- package/dist/billing/type/order/v1/generated/validators/statementSummary.zod.js +19 -0
- package/dist/billing/type/order/v1/generated/validators/statementType.zod.d.ts +15 -0
- package/dist/billing/type/order/v1/generated/validators/statementType.zod.js +11 -0
- package/dist/billing/type/order/v1/generated/validators/subscription.zod.d.ts +149 -0
- package/dist/billing/type/order/v1/generated/validators/subscription.zod.js +119 -0
- package/dist/billing/type/order/v1/generated/validators/subscriptionCancellation.zod.d.ts +37 -0
- package/dist/billing/type/order/v1/generated/validators/subscriptionCancellation.zod.js +30 -0
- package/dist/billing/type/order/v1/generated/validators/subscriptionList.zod.d.ts +155 -0
- package/dist/billing/type/order/v1/generated/validators/subscriptionList.zod.js +14 -0
- package/dist/billing/type/order/v1/generated/validators/subscriptionRestriction.zod.d.ts +17 -0
- package/dist/billing/type/order/v1/generated/validators/subscriptionRestriction.zod.js +17 -0
- package/dist/billing/type/order/v1/generated/validators/taxItem.zod.d.ts +21 -0
- package/dist/billing/type/order/v1/generated/validators/taxItem.zod.js +21 -0
- package/dist/billing/type/order/v1/generated/validators/tier.zod.d.ts +15 -0
- package/dist/billing/type/order/v1/generated/validators/tier.zod.js +17 -0
- package/dist/billing/type/order/v1/generated/validators/topUp.zod.d.ts +51 -0
- package/dist/billing/type/order/v1/generated/validators/topUp.zod.js +46 -0
- package/dist/billing/type/order/v1/generated/validators/topUpCreate.zod.d.ts +22 -0
- package/dist/billing/type/order/v1/generated/validators/topUpCreate.zod.js +34 -0
- package/dist/billing/type/order/v1/generated/validators/topUpList.zod.d.ts +58 -0
- package/dist/billing/type/order/v1/generated/validators/topUpList.zod.js +14 -0
- package/dist/billing/type/order/v1/generated/validators/transaction.zod.d.ts +54 -0
- package/dist/billing/type/order/v1/generated/validators/transaction.zod.js +48 -0
- package/dist/billing/type/order/v1/generated/validators/transactionList.zod.d.ts +61 -0
- package/dist/billing/type/order/v1/generated/validators/transactionList.zod.js +14 -0
- package/dist/billing/type/order/v1/generated/validators/transactionType.zod.d.ts +17 -0
- package/dist/billing/type/order/v1/generated/validators/transactionType.zod.js +11 -0
- package/dist/billing/type/order/v1/generated/validators/usageCharge.zod.d.ts +44 -0
- package/dist/billing/type/order/v1/generated/validators/usageCharge.zod.js +58 -0
- package/dist/billing/type/order/v1/generated/validators/usageChargeList.zod.d.ts +51 -0
- package/dist/billing/type/order/v1/generated/validators/usageChargeList.zod.js +14 -0
- package/dist/billing/type/order/v1/generated/validators/usageType.zod.d.ts +14 -0
- package/dist/billing/type/order/v1/generated/validators/usageType.zod.js +11 -0
- package/dist/billing/type/order/v1/generated/validators/withdrawal.zod.d.ts +40 -0
- package/dist/billing/type/order/v1/generated/validators/withdrawal.zod.js +43 -0
- package/dist/billing/type/order/v1/generated/validators/withdrawalAllocation.zod.d.ts +19 -0
- package/dist/billing/type/order/v1/generated/validators/withdrawalAllocation.zod.js +17 -0
- package/dist/billing/type/order/v1/generated/validators/withdrawalCreate.zod.d.ts +25 -0
- package/dist/billing/type/order/v1/generated/validators/withdrawalCreate.zod.js +19 -0
- package/dist/billing/type/order/v1/generated/validators/withdrawalItem.zod.d.ts +46 -0
- package/dist/billing/type/order/v1/generated/validators/withdrawalItem.zod.js +37 -0
- package/dist/billing/type/order/v1/generated/validators/withdrawalItemList.zod.d.ts +48 -0
- package/dist/billing/type/order/v1/generated/validators/withdrawalItemList.zod.js +14 -0
- package/dist/billing/type/order/v1/generated/validators/withdrawalList.zod.d.ts +39 -0
- package/dist/billing/type/order/v1/generated/validators/withdrawalList.zod.js +14 -0
- package/dist/billing/type/order/v1/generated/validators/withdrawalPreview.zod.d.ts +40 -0
- package/dist/billing/type/order/v1/generated/validators/withdrawalPreview.zod.js +25 -0
- package/dist/billing/type/order/v1/generated/validators/withdrawalPreviewItem.zod.d.ts +28 -0
- package/dist/billing/type/order/v1/generated/validators/withdrawalPreviewItem.zod.js +19 -0
- package/dist/billing/type/order/v1/generated/validators/withdrawalPreviewRequest.zod.d.ts +15 -0
- package/dist/billing/type/order/v1/generated/validators/withdrawalPreviewRequest.zod.js +13 -0
- package/dist/billing/type/order/v1/generated/validators/withdrawalSource.zod.d.ts +23 -0
- package/dist/billing/type/order/v1/generated/validators/withdrawalSource.zod.js +23 -0
- package/dist/billing/type/quote/v1/generated/functions.d.ts +8 -0
- package/dist/billing/type/quote/v1/generated/functions.js +8 -0
- package/dist/billing/type/quote/v1/generated/models.d.ts +190 -0
- package/dist/billing/type/quote/v1/generated/models.js +18 -0
- package/dist/billing/type/quote/v1/generated/schemas.zod.d.ts +8 -0
- package/dist/billing/type/quote/v1/generated/schemas.zod.js +8 -0
- package/dist/billing/type/quote/v1/generated/validators/funds.zod.d.ts +18 -0
- package/dist/billing/type/quote/v1/generated/validators/funds.zod.js +19 -0
- package/dist/billing/type/quote/v1/generated/validators/money.zod.d.ts +11 -0
- package/dist/billing/type/quote/v1/generated/validators/money.zod.js +11 -0
- package/dist/billing/type/quote/v1/generated/validators/quote.zod.d.ts +65 -0
- package/dist/billing/type/quote/v1/generated/validators/quote.zod.js +37 -0
- package/dist/billing/type/quote/v1/generated/validators/quoteItem.zod.d.ts +43 -0
- package/dist/billing/type/quote/v1/generated/validators/quoteItem.zod.js +51 -0
- package/dist/billing/v1/generated/functions.d.ts +2137 -0
- package/dist/billing/v1/generated/functions.js +2487 -0
- package/dist/billing/v1/generated/models.d.ts +4277 -0
- package/dist/billing/v1/generated/models.js +452 -0
- package/dist/billing/v1/generated/schemas.zod.d.ts +1290 -0
- package/dist/billing/v1/generated/schemas.zod.js +1719 -0
- package/dist/billing/v1/generated/validators/accountBalance.zod.d.ts +135 -0
- package/dist/billing/v1/generated/validators/accountBalance.zod.js +27 -0
- package/dist/billing/v1/generated/validators/accountDeletionObjection.zod.d.ts +19 -0
- package/dist/billing/v1/generated/validators/accountDeletionObjection.zod.js +19 -0
- package/dist/billing/v1/generated/validators/accountDeletionReadiness.zod.d.ts +45 -0
- package/dist/billing/v1/generated/validators/accountDeletionReadiness.zod.js +14 -0
- package/dist/billing/v1/generated/validators/accountDeletionReadinessItem.zod.d.ts +43 -0
- package/dist/billing/v1/generated/validators/accountDeletionReadinessItem.zod.js +19 -0
- package/dist/billing/v1/generated/validators/accountIdentity.zod.d.ts +15 -0
- package/dist/billing/v1/generated/validators/accountIdentity.zod.js +13 -0
- package/dist/billing/v1/generated/validators/activeResource.zod.d.ts +41 -0
- package/dist/billing/v1/generated/validators/activeResource.zod.js +39 -0
- package/dist/billing/v1/generated/validators/activeResourceList.zod.d.ts +48 -0
- package/dist/billing/v1/generated/validators/activeResourceList.zod.js +14 -0
- package/dist/billing/v1/generated/validators/allowance.zod.d.ts +44 -0
- package/dist/billing/v1/generated/validators/allowance.zod.js +41 -0
- package/dist/billing/v1/generated/validators/allowanceList.zod.d.ts +51 -0
- package/dist/billing/v1/generated/validators/allowanceList.zod.js +14 -0
- package/dist/billing/v1/generated/validators/applicability.zod.d.ts +119 -0
- package/dist/billing/v1/generated/validators/applicability.zod.js +41 -0
- package/dist/billing/v1/generated/validators/applicablePlan.zod.d.ts +15 -0
- package/dist/billing/v1/generated/validators/applicablePlan.zod.js +15 -0
- package/dist/billing/v1/generated/validators/appliedCredit.zod.d.ts +15 -0
- package/dist/billing/v1/generated/validators/appliedCredit.zod.js +16 -0
- package/dist/billing/v1/generated/validators/autoRenewSet.zod.d.ts +13 -0
- package/dist/billing/v1/generated/validators/autoRenewSet.zod.js +11 -0
- package/dist/billing/v1/generated/validators/billingAccount.zod.d.ts +30 -0
- package/dist/billing/v1/generated/validators/billingAccount.zod.js +34 -0
- package/dist/billing/v1/generated/validators/billingAccountCreate.zod.d.ts +17 -0
- package/dist/billing/v1/generated/validators/billingAccountCreate.zod.js +15 -0
- package/dist/billing/v1/generated/validators/billingAccountList.zod.d.ts +37 -0
- package/dist/billing/v1/generated/validators/billingAccountList.zod.js +14 -0
- package/dist/billing/v1/generated/validators/billingAccountUpdate.zod.d.ts +15 -0
- package/dist/billing/v1/generated/validators/billingAccountUpdate.zod.js +16 -0
- package/dist/billing/v1/generated/validators/billingScheme.zod.d.ts +14 -0
- package/dist/billing/v1/generated/validators/billingScheme.zod.js +11 -0
- package/dist/billing/v1/generated/validators/cancelSubscriptionRequest.zod.d.ts +21 -0
- package/dist/billing/v1/generated/validators/cancelSubscriptionRequest.zod.js +21 -0
- package/dist/billing/v1/generated/validators/cancellation.zod.d.ts +67 -0
- package/dist/billing/v1/generated/validators/cancellation.zod.js +39 -0
- package/dist/billing/v1/generated/validators/cancellationCreate.zod.d.ts +23 -0
- package/dist/billing/v1/generated/validators/cancellationCreate.zod.js +31 -0
- package/dist/billing/v1/generated/validators/cancellationItem.zod.d.ts +38 -0
- package/dist/billing/v1/generated/validators/cancellationItem.zod.js +36 -0
- package/dist/billing/v1/generated/validators/cancellationList.zod.d.ts +74 -0
- package/dist/billing/v1/generated/validators/cancellationList.zod.js +14 -0
- package/dist/billing/v1/generated/validators/cancellationMode.zod.d.ts +14 -0
- package/dist/billing/v1/generated/validators/cancellationMode.zod.js +11 -0
- package/dist/billing/v1/generated/validators/cancellationPolicy.zod.d.ts +14 -0
- package/dist/billing/v1/generated/validators/cancellationPolicy.zod.js +11 -0
- package/dist/billing/v1/generated/validators/cancellationPreview.zod.d.ts +51 -0
- package/dist/billing/v1/generated/validators/cancellationPreview.zod.js +33 -0
- package/dist/billing/v1/generated/validators/cancellationPreviewItem.zod.d.ts +35 -0
- package/dist/billing/v1/generated/validators/cancellationPreviewItem.zod.js +35 -0
- package/dist/billing/v1/generated/validators/cancellationPreviewRequest.zod.d.ts +19 -0
- package/dist/billing/v1/generated/validators/cancellationPreviewRequest.zod.js +24 -0
- package/dist/billing/v1/generated/validators/checkoutMode.zod.d.ts +14 -0
- package/dist/billing/v1/generated/validators/checkoutMode.zod.js +11 -0
- package/dist/billing/v1/generated/validators/checkoutOptions.zod.d.ts +21 -0
- package/dist/billing/v1/generated/validators/checkoutOptions.zod.js +26 -0
- package/dist/billing/v1/generated/validators/checkoutSession.zod.d.ts +54 -0
- package/dist/billing/v1/generated/validators/checkoutSession.zod.js +47 -0
- package/dist/billing/v1/generated/validators/checkoutSessionConfirm.zod.d.ts +17 -0
- package/dist/billing/v1/generated/validators/checkoutSessionConfirm.zod.js +24 -0
- package/dist/billing/v1/generated/validators/checkoutSessionCreate.zod.d.ts +26 -0
- package/dist/billing/v1/generated/validators/checkoutSessionCreate.zod.js +26 -0
- package/dist/billing/v1/generated/validators/checkoutSessionItem.zod.d.ts +21 -0
- package/dist/billing/v1/generated/validators/checkoutSessionItem.zod.js +33 -0
- package/dist/billing/v1/generated/validators/checkoutSessionItemList.zod.d.ts +27 -0
- package/dist/billing/v1/generated/validators/checkoutSessionItemList.zod.js +14 -0
- package/dist/billing/v1/generated/validators/checkoutSessionList.zod.d.ts +61 -0
- package/dist/billing/v1/generated/validators/checkoutSessionList.zod.js +14 -0
- package/dist/billing/v1/generated/validators/checkoutSessionResult.zod.d.ts +193 -0
- package/dist/billing/v1/generated/validators/checkoutSessionResult.zod.js +16 -0
- package/dist/billing/v1/generated/validators/checkoutSessionStatus.zod.d.ts +15 -0
- package/dist/billing/v1/generated/validators/checkoutSessionStatus.zod.js +11 -0
- package/dist/billing/v1/generated/validators/contact.zod.d.ts +41 -0
- package/dist/billing/v1/generated/validators/contact.zod.js +39 -0
- package/dist/billing/v1/generated/validators/contactCreate.zod.d.ts +32 -0
- package/dist/billing/v1/generated/validators/contactCreate.zod.js +30 -0
- package/dist/billing/v1/generated/validators/contactList.zod.d.ts +38 -0
- package/dist/billing/v1/generated/validators/contactList.zod.js +14 -0
- package/dist/billing/v1/generated/validators/contactUpdate.zod.d.ts +33 -0
- package/dist/billing/v1/generated/validators/contactUpdate.zod.js +31 -0
- package/dist/billing/v1/generated/validators/creditGrant.zod.d.ts +137 -0
- package/dist/billing/v1/generated/validators/creditGrant.zod.js +27 -0
- package/dist/billing/v1/generated/validators/creditGrantList.zod.d.ts +144 -0
- package/dist/billing/v1/generated/validators/creditGrantList.zod.js +14 -0
- package/dist/billing/v1/generated/validators/creditGroup.zod.d.ts +123 -0
- package/dist/billing/v1/generated/validators/creditGroup.zod.js +18 -0
- package/dist/billing/v1/generated/validators/creditNote.zod.d.ts +34 -0
- package/dist/billing/v1/generated/validators/creditNote.zod.js +40 -0
- package/dist/billing/v1/generated/validators/creditNoteItem.zod.d.ts +17 -0
- package/dist/billing/v1/generated/validators/creditNoteItem.zod.js +16 -0
- package/dist/billing/v1/generated/validators/creditNoteItemList.zod.d.ts +24 -0
- package/dist/billing/v1/generated/validators/creditNoteItemList.zod.js +14 -0
- package/dist/billing/v1/generated/validators/creditNoteList.zod.d.ts +41 -0
- package/dist/billing/v1/generated/validators/creditNoteList.zod.js +14 -0
- package/dist/billing/v1/generated/validators/currency.zod.d.ts +21 -0
- package/dist/billing/v1/generated/validators/currency.zod.js +30 -0
- package/dist/billing/v1/generated/validators/currencyList.zod.d.ts +23 -0
- package/dist/billing/v1/generated/validators/currencyList.zod.js +14 -0
- package/dist/billing/v1/generated/validators/cursorPagination.zod.d.ts +14 -0
- package/dist/billing/v1/generated/validators/cursorPagination.zod.js +14 -0
- package/dist/billing/v1/generated/validators/discount.zod.d.ts +153 -0
- package/dist/billing/v1/generated/validators/discount.zod.js +44 -0
- package/dist/billing/v1/generated/validators/discountList.zod.d.ts +160 -0
- package/dist/billing/v1/generated/validators/discountList.zod.js +14 -0
- package/dist/billing/v1/generated/validators/entitlement.zod.d.ts +25 -0
- package/dist/billing/v1/generated/validators/entitlement.zod.js +20 -0
- package/dist/billing/v1/generated/validators/entitlementList.zod.d.ts +32 -0
- package/dist/billing/v1/generated/validators/entitlementList.zod.js +14 -0
- package/dist/billing/v1/generated/validators/error.zod.d.ts +25 -0
- package/dist/billing/v1/generated/validators/error.zod.js +14 -0
- package/dist/billing/v1/generated/validators/errorStatus.zod.d.ts +23 -0
- package/dist/billing/v1/generated/validators/errorStatus.zod.js +38 -0
- package/dist/billing/v1/generated/validators/featureGrant.zod.d.ts +33 -0
- package/dist/billing/v1/generated/validators/featureGrant.zod.js +24 -0
- package/dist/billing/v1/generated/validators/featureGrantList.zod.d.ts +40 -0
- package/dist/billing/v1/generated/validators/featureGrantList.zod.js +14 -0
- package/dist/billing/v1/generated/validators/featureGrantStatus.zod.d.ts +16 -0
- package/dist/billing/v1/generated/validators/featureGrantStatus.zod.js +11 -0
- package/dist/billing/v1/generated/validators/fieldViolation.zod.d.ts +14 -0
- package/dist/billing/v1/generated/validators/fieldViolation.zod.js +17 -0
- package/dist/billing/v1/generated/validators/funds.zod.d.ts +18 -0
- package/dist/billing/v1/generated/validators/funds.zod.js +19 -0
- package/dist/billing/v1/generated/validators/getCheckoutSessionQuoteParams.zod.d.ts +14 -0
- package/dist/billing/v1/generated/validators/getCheckoutSessionQuoteParams.zod.js +12 -0
- package/dist/billing/v1/generated/validators/getPlanHeaders.zod.d.ts +13 -0
- package/dist/billing/v1/generated/validators/getPlanHeaders.zod.js +11 -0
- package/dist/billing/v1/generated/validators/getPriceHeaders.zod.d.ts +13 -0
- package/dist/billing/v1/generated/validators/getPriceHeaders.zod.js +11 -0
- package/dist/billing/v1/generated/validators/getProductHeaders.zod.d.ts +13 -0
- package/dist/billing/v1/generated/validators/getProductHeaders.zod.js +11 -0
- package/dist/billing/v1/generated/validators/getStatementUsageParams.zod.d.ts +29 -0
- package/dist/billing/v1/generated/validators/getStatementUsageParams.zod.js +33 -0
- package/dist/billing/v1/generated/validators/invoice.zod.d.ts +62 -0
- package/dist/billing/v1/generated/validators/invoice.zod.js +54 -0
- package/dist/billing/v1/generated/validators/invoiceItem.zod.d.ts +46 -0
- package/dist/billing/v1/generated/validators/invoiceItem.zod.js +60 -0
- package/dist/billing/v1/generated/validators/invoiceItemList.zod.d.ts +53 -0
- package/dist/billing/v1/generated/validators/invoiceItemList.zod.js +14 -0
- package/dist/billing/v1/generated/validators/invoiceItemProration.zod.d.ts +18 -0
- package/dist/billing/v1/generated/validators/invoiceItemProration.zod.js +21 -0
- package/dist/billing/v1/generated/validators/invoiceList.zod.d.ts +69 -0
- package/dist/billing/v1/generated/validators/invoiceList.zod.js +14 -0
- package/dist/billing/v1/generated/validators/invoiceStatus.zod.d.ts +15 -0
- package/dist/billing/v1/generated/validators/invoiceStatus.zod.js +11 -0
- package/dist/billing/v1/generated/validators/invoiceSummary.zod.d.ts +31 -0
- package/dist/billing/v1/generated/validators/invoiceSummary.zod.js +34 -0
- package/dist/billing/v1/generated/validators/listAccountDiscountsParams.zod.d.ts +19 -0
- package/dist/billing/v1/generated/validators/listAccountDiscountsParams.zod.js +25 -0
- package/dist/billing/v1/generated/validators/listActiveResourcesParams.zod.d.ts +30 -0
- package/dist/billing/v1/generated/validators/listActiveResourcesParams.zod.js +32 -0
- package/dist/billing/v1/generated/validators/listAllowancesParams.zod.d.ts +29 -0
- package/dist/billing/v1/generated/validators/listAllowancesParams.zod.js +27 -0
- package/dist/billing/v1/generated/validators/listBillingAccountsParams.zod.d.ts +18 -0
- package/dist/billing/v1/generated/validators/listBillingAccountsParams.zod.js +24 -0
- package/dist/billing/v1/generated/validators/listCancellationsParams.zod.d.ts +31 -0
- package/dist/billing/v1/generated/validators/listCancellationsParams.zod.js +31 -0
- package/dist/billing/v1/generated/validators/listCheckoutSessionItemsParams.zod.d.ts +18 -0
- package/dist/billing/v1/generated/validators/listCheckoutSessionItemsParams.zod.js +24 -0
- package/dist/billing/v1/generated/validators/listCheckoutSessionsParams.zod.d.ts +26 -0
- package/dist/billing/v1/generated/validators/listCheckoutSessionsParams.zod.js +29 -0
- package/dist/billing/v1/generated/validators/listContactsParams.zod.d.ts +18 -0
- package/dist/billing/v1/generated/validators/listContactsParams.zod.js +20 -0
- package/dist/billing/v1/generated/validators/listCreditGrantsParams.zod.d.ts +25 -0
- package/dist/billing/v1/generated/validators/listCreditGrantsParams.zod.js +26 -0
- package/dist/billing/v1/generated/validators/listCreditNoteItemsParams.zod.d.ts +18 -0
- package/dist/billing/v1/generated/validators/listCreditNoteItemsParams.zod.js +24 -0
- package/dist/billing/v1/generated/validators/listCreditNotesParams.zod.d.ts +20 -0
- package/dist/billing/v1/generated/validators/listCreditNotesParams.zod.js +26 -0
- package/dist/billing/v1/generated/validators/listCurrenciesParams.zod.d.ts +18 -0
- package/dist/billing/v1/generated/validators/listCurrenciesParams.zod.js +20 -0
- package/dist/billing/v1/generated/validators/listEntitlementsParams.zod.d.ts +22 -0
- package/dist/billing/v1/generated/validators/listEntitlementsParams.zod.js +29 -0
- package/dist/billing/v1/generated/validators/listFeatureGrantsParams.zod.d.ts +26 -0
- package/dist/billing/v1/generated/validators/listFeatureGrantsParams.zod.js +29 -0
- package/dist/billing/v1/generated/validators/listInvoiceItemsParams.zod.d.ts +18 -0
- package/dist/billing/v1/generated/validators/listInvoiceItemsParams.zod.js +24 -0
- package/dist/billing/v1/generated/validators/listInvoicesParams.zod.d.ts +27 -0
- package/dist/billing/v1/generated/validators/listInvoicesParams.zod.js +26 -0
- package/dist/billing/v1/generated/validators/listMonthlyStatementsParams.zod.d.ts +21 -0
- package/dist/billing/v1/generated/validators/listMonthlyStatementsParams.zod.js +27 -0
- package/dist/billing/v1/generated/validators/listOrderItemsParams.zod.d.ts +18 -0
- package/dist/billing/v1/generated/validators/listOrderItemsParams.zod.js +20 -0
- package/dist/billing/v1/generated/validators/listOrdersParams.zod.d.ts +31 -0
- package/dist/billing/v1/generated/validators/listOrdersParams.zod.js +27 -0
- package/dist/billing/v1/generated/validators/listPaymentMethodsParams.zod.d.ts +19 -0
- package/dist/billing/v1/generated/validators/listPaymentMethodsParams.zod.js +25 -0
- package/dist/billing/v1/generated/validators/listPaymentOptionsParams.zod.d.ts +18 -0
- package/dist/billing/v1/generated/validators/listPaymentOptionsParams.zod.js +24 -0
- package/dist/billing/v1/generated/validators/listPlansHeaders.zod.d.ts +13 -0
- package/dist/billing/v1/generated/validators/listPlansHeaders.zod.js +11 -0
- package/dist/billing/v1/generated/validators/listPlansParams.zod.d.ts +18 -0
- package/dist/billing/v1/generated/validators/listPlansParams.zod.js +20 -0
- package/dist/billing/v1/generated/validators/listPricesByPlanHeaders.zod.d.ts +13 -0
- package/dist/billing/v1/generated/validators/listPricesByPlanHeaders.zod.js +11 -0
- package/dist/billing/v1/generated/validators/listPricesByPlanParams.zod.d.ts +19 -0
- package/dist/billing/v1/generated/validators/listPricesByPlanParams.zod.js +25 -0
- package/dist/billing/v1/generated/validators/listPricesHeaders.zod.d.ts +13 -0
- package/dist/billing/v1/generated/validators/listPricesHeaders.zod.js +11 -0
- package/dist/billing/v1/generated/validators/listPricesParams.zod.d.ts +30 -0
- package/dist/billing/v1/generated/validators/listPricesParams.zod.js +29 -0
- package/dist/billing/v1/generated/validators/listProductsHeaders.zod.d.ts +13 -0
- package/dist/billing/v1/generated/validators/listProductsHeaders.zod.js +11 -0
- package/dist/billing/v1/generated/validators/listProductsParams.zod.d.ts +18 -0
- package/dist/billing/v1/generated/validators/listProductsParams.zod.js +20 -0
- package/dist/billing/v1/generated/validators/listProjectAssignmentsParams.zod.d.ts +21 -0
- package/dist/billing/v1/generated/validators/listProjectAssignmentsParams.zod.js +31 -0
- package/dist/billing/v1/generated/validators/listRefundsParams.zod.d.ts +21 -0
- package/dist/billing/v1/generated/validators/listRefundsParams.zod.js +23 -0
- package/dist/billing/v1/generated/validators/listRenewalPricesParams.zod.d.ts +18 -0
- package/dist/billing/v1/generated/validators/listRenewalPricesParams.zod.js +24 -0
- package/dist/billing/v1/generated/validators/listSpendParams.zod.d.ts +31 -0
- package/dist/billing/v1/generated/validators/listSpendParams.zod.js +31 -0
- package/dist/billing/v1/generated/validators/listStatementsParams.zod.d.ts +25 -0
- package/dist/billing/v1/generated/validators/listStatementsParams.zod.js +25 -0
- package/dist/billing/v1/generated/validators/listSubscriptionsParams.zod.d.ts +22 -0
- package/dist/billing/v1/generated/validators/listSubscriptionsParams.zod.js +28 -0
- package/dist/billing/v1/generated/validators/listTopUpsParams.zod.d.ts +19 -0
- package/dist/billing/v1/generated/validators/listTopUpsParams.zod.js +21 -0
- package/dist/billing/v1/generated/validators/listTransactionsParams.zod.d.ts +21 -0
- package/dist/billing/v1/generated/validators/listTransactionsParams.zod.js +27 -0
- package/dist/billing/v1/generated/validators/listUsageChargesParams.zod.d.ts +28 -0
- package/dist/billing/v1/generated/validators/listUsageChargesParams.zod.js +35 -0
- package/dist/billing/v1/generated/validators/listWithdrawalItemsParams.zod.d.ts +18 -0
- package/dist/billing/v1/generated/validators/listWithdrawalItemsParams.zod.js +24 -0
- package/dist/billing/v1/generated/validators/listWithdrawalsParams.zod.d.ts +19 -0
- package/dist/billing/v1/generated/validators/listWithdrawalsParams.zod.js +25 -0
- package/dist/billing/v1/generated/validators/money.zod.d.ts +11 -0
- package/dist/billing/v1/generated/validators/money.zod.js +11 -0
- package/dist/billing/v1/generated/validators/monthlyStatement.zod.d.ts +38 -0
- package/dist/billing/v1/generated/validators/monthlyStatement.zod.js +30 -0
- package/dist/billing/v1/generated/validators/monthlyStatementList.zod.d.ts +45 -0
- package/dist/billing/v1/generated/validators/monthlyStatementList.zod.js +14 -0
- package/dist/billing/v1/generated/validators/namedIdentity.zod.d.ts +15 -0
- package/dist/billing/v1/generated/validators/namedIdentity.zod.js +15 -0
- package/dist/billing/v1/generated/validators/objectIdentity.zod.d.ts +15 -0
- package/dist/billing/v1/generated/validators/objectIdentity.zod.js +15 -0
- package/dist/billing/v1/generated/validators/offsetPagination.zod.d.ts +16 -0
- package/dist/billing/v1/generated/validators/offsetPagination.zod.js +16 -0
- package/dist/billing/v1/generated/validators/order.zod.d.ts +147 -0
- package/dist/billing/v1/generated/validators/order.zod.js +63 -0
- package/dist/billing/v1/generated/validators/orderCancel.zod.d.ts +14 -0
- package/dist/billing/v1/generated/validators/orderCancel.zod.js +17 -0
- package/dist/billing/v1/generated/validators/orderItem.zod.d.ts +75 -0
- package/dist/billing/v1/generated/validators/orderItem.zod.js +88 -0
- package/dist/billing/v1/generated/validators/orderItemList.zod.d.ts +81 -0
- package/dist/billing/v1/generated/validators/orderItemList.zod.js +14 -0
- package/dist/billing/v1/generated/validators/orderItemStatus.zod.d.ts +16 -0
- package/dist/billing/v1/generated/validators/orderItemStatus.zod.js +11 -0
- package/dist/billing/v1/generated/validators/orderList.zod.d.ts +154 -0
- package/dist/billing/v1/generated/validators/orderList.zod.js +14 -0
- package/dist/billing/v1/generated/validators/orderRefundPreview.zod.d.ts +17 -0
- package/dist/billing/v1/generated/validators/orderRefundPreview.zod.js +18 -0
- package/dist/billing/v1/generated/validators/orderStatus.zod.d.ts +18 -0
- package/dist/billing/v1/generated/validators/orderStatus.zod.js +11 -0
- package/dist/billing/v1/generated/validators/paidWith.zod.d.ts +17 -0
- package/dist/billing/v1/generated/validators/paidWith.zod.js +25 -0
- package/dist/billing/v1/generated/validators/payInvoiceRequest.zod.d.ts +22 -0
- package/dist/billing/v1/generated/validators/payInvoiceRequest.zod.js +41 -0
- package/dist/billing/v1/generated/validators/payTogetherRequest.zod.d.ts +18 -0
- package/dist/billing/v1/generated/validators/payTogetherRequest.zod.js +21 -0
- package/dist/billing/v1/generated/validators/paymentAction.zod.d.ts +22 -0
- package/dist/billing/v1/generated/validators/paymentAction.zod.js +24 -0
- package/dist/billing/v1/generated/validators/paymentCancellationReason.zod.d.ts +14 -0
- package/dist/billing/v1/generated/validators/paymentCancellationReason.zod.js +11 -0
- package/dist/billing/v1/generated/validators/paymentMethod.zod.d.ts +25 -0
- package/dist/billing/v1/generated/validators/paymentMethod.zod.js +19 -0
- package/dist/billing/v1/generated/validators/paymentMethodList.zod.d.ts +32 -0
- package/dist/billing/v1/generated/validators/paymentMethodList.zod.js +14 -0
- package/dist/billing/v1/generated/validators/paymentMethodSetup.zod.d.ts +15 -0
- package/dist/billing/v1/generated/validators/paymentMethodSetup.zod.js +17 -0
- package/dist/billing/v1/generated/validators/paymentMethodSetupResult.zod.d.ts +26 -0
- package/dist/billing/v1/generated/validators/paymentMethodSetupResult.zod.js +16 -0
- package/dist/billing/v1/generated/validators/paymentOption.zod.d.ts +17 -0
- package/dist/billing/v1/generated/validators/paymentOption.zod.js +15 -0
- package/dist/billing/v1/generated/validators/paymentOptionList.zod.d.ts +24 -0
- package/dist/billing/v1/generated/validators/paymentOptionList.zod.js +14 -0
- package/dist/billing/v1/generated/validators/paymentOptionMethod.zod.d.ts +14 -0
- package/dist/billing/v1/generated/validators/paymentOptionMethod.zod.js +16 -0
- package/dist/billing/v1/generated/validators/paymentPreview.zod.d.ts +38 -0
- package/dist/billing/v1/generated/validators/paymentPreview.zod.js +30 -0
- package/dist/billing/v1/generated/validators/paymentPreviewInvoice.zod.d.ts +17 -0
- package/dist/billing/v1/generated/validators/paymentPreviewInvoice.zod.js +16 -0
- package/dist/billing/v1/generated/validators/paymentResult.zod.d.ts +87 -0
- package/dist/billing/v1/generated/validators/paymentResult.zod.js +36 -0
- package/dist/billing/v1/generated/validators/paymentStatus.zod.d.ts +16 -0
- package/dist/billing/v1/generated/validators/paymentStatus.zod.js +11 -0
- package/dist/billing/v1/generated/validators/plan.zod.d.ts +31 -0
- package/dist/billing/v1/generated/validators/plan.zod.js +23 -0
- package/dist/billing/v1/generated/validators/planFeature.zod.d.ts +18 -0
- package/dist/billing/v1/generated/validators/planFeature.zod.js +13 -0
- package/dist/billing/v1/generated/validators/planList.zod.d.ts +38 -0
- package/dist/billing/v1/generated/validators/planList.zod.js +14 -0
- package/dist/billing/v1/generated/validators/previewInvoicePaymentParams.zod.d.ts +16 -0
- package/dist/billing/v1/generated/validators/previewInvoicePaymentParams.zod.js +14 -0
- package/dist/billing/v1/generated/validators/previewOrderRefundParams.zod.d.ts +14 -0
- package/dist/billing/v1/generated/validators/previewOrderRefundParams.zod.js +16 -0
- package/dist/billing/v1/generated/validators/price.zod.d.ts +119 -0
- package/dist/billing/v1/generated/validators/price.zod.js +78 -0
- package/dist/billing/v1/generated/validators/priceList.zod.d.ts +126 -0
- package/dist/billing/v1/generated/validators/priceList.zod.js +14 -0
- package/dist/billing/v1/generated/validators/priceOption.zod.d.ts +46 -0
- package/dist/billing/v1/generated/validators/priceOption.zod.js +32 -0
- package/dist/billing/v1/generated/validators/priceSearch.zod.d.ts +34 -0
- package/dist/billing/v1/generated/validators/priceSearch.zod.js +60 -0
- package/dist/billing/v1/generated/validators/priceType.zod.d.ts +14 -0
- package/dist/billing/v1/generated/validators/priceType.zod.js +11 -0
- package/dist/billing/v1/generated/validators/product.zod.d.ts +15 -0
- package/dist/billing/v1/generated/validators/product.zod.js +14 -0
- package/dist/billing/v1/generated/validators/productID.zod.d.ts +13 -0
- package/dist/billing/v1/generated/validators/productID.zod.js +16 -0
- package/dist/billing/v1/generated/validators/productList.zod.d.ts +22 -0
- package/dist/billing/v1/generated/validators/productList.zod.js +14 -0
- package/dist/billing/v1/generated/validators/projectAssignment.zod.d.ts +22 -0
- package/dist/billing/v1/generated/validators/projectAssignment.zod.js +23 -0
- package/dist/billing/v1/generated/validators/projectAssignmentList.zod.d.ts +29 -0
- package/dist/billing/v1/generated/validators/projectAssignmentList.zod.js +14 -0
- package/dist/billing/v1/generated/validators/purchaseOperation.zod.d.ts +15 -0
- package/dist/billing/v1/generated/validators/purchaseOperation.zod.js +11 -0
- package/dist/billing/v1/generated/validators/quote.zod.d.ts +105 -0
- package/dist/billing/v1/generated/validators/quote.zod.js +37 -0
- package/dist/billing/v1/generated/validators/quoteAddress.zod.d.ts +16 -0
- package/dist/billing/v1/generated/validators/quoteAddress.zod.js +22 -0
- package/dist/billing/v1/generated/validators/quoteChangeInput.zod.d.ts +42 -0
- package/dist/billing/v1/generated/validators/quoteChangeInput.zod.js +38 -0
- package/dist/billing/v1/generated/validators/quoteDowngradeRefund.zod.d.ts +14 -0
- package/dist/billing/v1/generated/validators/quoteDowngradeRefund.zod.js +15 -0
- package/dist/billing/v1/generated/validators/quoteItem.zod.d.ts +51 -0
- package/dist/billing/v1/generated/validators/quoteItem.zod.js +70 -0
- package/dist/billing/v1/generated/validators/quoteItemInput.zod.d.ts +41 -0
- package/dist/billing/v1/generated/validators/quoteItemInput.zod.js +34 -0
- package/dist/billing/v1/generated/validators/quoteRenewal.zod.d.ts +27 -0
- package/dist/billing/v1/generated/validators/quoteRenewal.zod.js +26 -0
- package/dist/billing/v1/generated/validators/quoteRenewalResult.zod.d.ts +27 -0
- package/dist/billing/v1/generated/validators/quoteRenewalResult.zod.js +24 -0
- package/dist/billing/v1/generated/validators/quoteRequest.zod.d.ts +101 -0
- package/dist/billing/v1/generated/validators/quoteRequest.zod.js +57 -0
- package/dist/billing/v1/generated/validators/quotedDiscount.zod.d.ts +29 -0
- package/dist/billing/v1/generated/validators/quotedDiscount.zod.js +32 -0
- package/dist/billing/v1/generated/validators/rate.zod.d.ts +49 -0
- package/dist/billing/v1/generated/validators/rate.zod.js +41 -0
- package/dist/billing/v1/generated/validators/refund.zod.d.ts +93 -0
- package/dist/billing/v1/generated/validators/refund.zod.js +44 -0
- package/dist/billing/v1/generated/validators/refundList.zod.d.ts +100 -0
- package/dist/billing/v1/generated/validators/refundList.zod.js +14 -0
- package/dist/billing/v1/generated/validators/refundPolicy.zod.d.ts +15 -0
- package/dist/billing/v1/generated/validators/refundPolicy.zod.js +11 -0
- package/dist/billing/v1/generated/validators/refundReason.zod.d.ts +23 -0
- package/dist/billing/v1/generated/validators/refundReason.zod.js +23 -0
- package/dist/billing/v1/generated/validators/renewRequest.zod.d.ts +31 -0
- package/dist/billing/v1/generated/validators/renewRequest.zod.js +42 -0
- package/dist/billing/v1/generated/validators/renewalPrice.zod.d.ts +33 -0
- package/dist/billing/v1/generated/validators/renewalPrice.zod.js +25 -0
- package/dist/billing/v1/generated/validators/renewalPriceList.zod.d.ts +40 -0
- package/dist/billing/v1/generated/validators/renewalPriceList.zod.js +14 -0
- package/dist/billing/v1/generated/validators/scheduledChange.zod.d.ts +34 -0
- package/dist/billing/v1/generated/validators/scheduledChange.zod.js +26 -0
- package/dist/billing/v1/generated/validators/setProjectAssignmentRequest.zod.d.ts +13 -0
- package/dist/billing/v1/generated/validators/setProjectAssignmentRequest.zod.js +11 -0
- package/dist/billing/v1/generated/validators/spendRow.zod.d.ts +30 -0
- package/dist/billing/v1/generated/validators/spendRow.zod.js +29 -0
- package/dist/billing/v1/generated/validators/spendRowList.zod.d.ts +39 -0
- package/dist/billing/v1/generated/validators/spendRowList.zod.js +17 -0
- package/dist/billing/v1/generated/validators/statement.zod.d.ts +40 -0
- package/dist/billing/v1/generated/validators/statement.zod.js +36 -0
- package/dist/billing/v1/generated/validators/statementAmounts.zod.d.ts +17 -0
- package/dist/billing/v1/generated/validators/statementAmounts.zod.js +16 -0
- package/dist/billing/v1/generated/validators/statementItem.zod.d.ts +20 -0
- package/dist/billing/v1/generated/validators/statementItem.zod.js +25 -0
- package/dist/billing/v1/generated/validators/statementList.zod.d.ts +47 -0
- package/dist/billing/v1/generated/validators/statementList.zod.js +14 -0
- package/dist/billing/v1/generated/validators/statementStatus.zod.d.ts +14 -0
- package/dist/billing/v1/generated/validators/statementStatus.zod.js +9 -0
- package/dist/billing/v1/generated/validators/statementSummary.zod.d.ts +36 -0
- package/dist/billing/v1/generated/validators/statementSummary.zod.js +19 -0
- package/dist/billing/v1/generated/validators/statementType.zod.d.ts +15 -0
- package/dist/billing/v1/generated/validators/statementType.zod.js +11 -0
- package/dist/billing/v1/generated/validators/subscription.zod.d.ts +149 -0
- package/dist/billing/v1/generated/validators/subscription.zod.js +119 -0
- package/dist/billing/v1/generated/validators/subscriptionCancellation.zod.d.ts +37 -0
- package/dist/billing/v1/generated/validators/subscriptionCancellation.zod.js +31 -0
- package/dist/billing/v1/generated/validators/subscriptionList.zod.d.ts +155 -0
- package/dist/billing/v1/generated/validators/subscriptionList.zod.js +14 -0
- package/dist/billing/v1/generated/validators/subscriptionRestriction.zod.d.ts +17 -0
- package/dist/billing/v1/generated/validators/subscriptionRestriction.zod.js +17 -0
- package/dist/billing/v1/generated/validators/taxItem.zod.d.ts +21 -0
- package/dist/billing/v1/generated/validators/taxItem.zod.js +21 -0
- package/dist/billing/v1/generated/validators/tier.zod.d.ts +15 -0
- package/dist/billing/v1/generated/validators/tier.zod.js +17 -0
- package/dist/billing/v1/generated/validators/topUp.zod.d.ts +51 -0
- package/dist/billing/v1/generated/validators/topUp.zod.js +46 -0
- package/dist/billing/v1/generated/validators/topUpCreate.zod.d.ts +22 -0
- package/dist/billing/v1/generated/validators/topUpCreate.zod.js +34 -0
- package/dist/billing/v1/generated/validators/topUpList.zod.d.ts +58 -0
- package/dist/billing/v1/generated/validators/topUpList.zod.js +14 -0
- package/dist/billing/v1/generated/validators/transaction.zod.d.ts +54 -0
- package/dist/billing/v1/generated/validators/transaction.zod.js +48 -0
- package/dist/billing/v1/generated/validators/transactionList.zod.d.ts +61 -0
- package/dist/billing/v1/generated/validators/transactionList.zod.js +14 -0
- package/dist/billing/v1/generated/validators/transactionType.zod.d.ts +17 -0
- package/dist/billing/v1/generated/validators/transactionType.zod.js +11 -0
- package/dist/billing/v1/generated/validators/usageCharge.zod.d.ts +44 -0
- package/dist/billing/v1/generated/validators/usageCharge.zod.js +58 -0
- package/dist/billing/v1/generated/validators/usageChargeList.zod.d.ts +51 -0
- package/dist/billing/v1/generated/validators/usageChargeList.zod.js +14 -0
- package/dist/billing/v1/generated/validators/usageEstimate.zod.d.ts +23 -0
- package/dist/billing/v1/generated/validators/usageEstimate.zod.js +15 -0
- package/dist/billing/v1/generated/validators/usageEstimateInput.zod.d.ts +26 -0
- package/dist/billing/v1/generated/validators/usageEstimateInput.zod.js +37 -0
- package/dist/billing/v1/generated/validators/usageEstimateItem.zod.d.ts +20 -0
- package/dist/billing/v1/generated/validators/usageEstimateItem.zod.js +27 -0
- package/dist/billing/v1/generated/validators/usageEstimateRequest.zod.d.ts +28 -0
- package/dist/billing/v1/generated/validators/usageEstimateRequest.zod.js +20 -0
- package/dist/billing/v1/generated/validators/usageType.zod.d.ts +14 -0
- package/dist/billing/v1/generated/validators/usageType.zod.js +11 -0
- package/dist/billing/v1/generated/validators/withdrawal.zod.d.ts +40 -0
- package/dist/billing/v1/generated/validators/withdrawal.zod.js +43 -0
- package/dist/billing/v1/generated/validators/withdrawalAllocation.zod.d.ts +19 -0
- package/dist/billing/v1/generated/validators/withdrawalAllocation.zod.js +17 -0
- package/dist/billing/v1/generated/validators/withdrawalCreate.zod.d.ts +25 -0
- package/dist/billing/v1/generated/validators/withdrawalCreate.zod.js +19 -0
- package/dist/billing/v1/generated/validators/withdrawalItem.zod.d.ts +46 -0
- package/dist/billing/v1/generated/validators/withdrawalItem.zod.js +37 -0
- package/dist/billing/v1/generated/validators/withdrawalItemList.zod.d.ts +48 -0
- package/dist/billing/v1/generated/validators/withdrawalItemList.zod.js +14 -0
- package/dist/billing/v1/generated/validators/withdrawalList.zod.d.ts +39 -0
- package/dist/billing/v1/generated/validators/withdrawalList.zod.js +14 -0
- package/dist/billing/v1/generated/validators/withdrawalPreview.zod.d.ts +40 -0
- package/dist/billing/v1/generated/validators/withdrawalPreview.zod.js +25 -0
- package/dist/billing/v1/generated/validators/withdrawalPreviewItem.zod.d.ts +28 -0
- package/dist/billing/v1/generated/validators/withdrawalPreviewItem.zod.js +19 -0
- package/dist/billing/v1/generated/validators/withdrawalPreviewRequest.zod.d.ts +15 -0
- package/dist/billing/v1/generated/validators/withdrawalPreviewRequest.zod.js +13 -0
- package/dist/billing/v1/generated/validators/withdrawalSource.zod.d.ts +23 -0
- package/dist/billing/v1/generated/validators/withdrawalSource.zod.js +23 -0
- package/dist/billing/v1/index.d.ts +3 -0
- package/dist/billing/v1/index.js +3 -0
- package/dist/canopy/v1/generated/functions.d.ts +650 -0
- package/dist/canopy/v1/generated/functions.js +672 -0
- package/dist/canopy/v1/generated/models.d.ts +1170 -0
- package/dist/canopy/v1/generated/models.js +144 -0
- package/dist/canopy/v1/generated/schemas.zod.d.ts +349 -0
- package/dist/canopy/v1/generated/schemas.zod.js +378 -0
- package/dist/canopy/v1/generated/validators/aPIKeyResource.zod.d.ts +61 -0
- package/dist/canopy/v1/generated/validators/aPIKeyResource.zod.js +69 -0
- package/dist/canopy/v1/generated/validators/aPIKeyUsageListResponseBody.zod.d.ts +63 -0
- package/dist/canopy/v1/generated/validators/aPIKeyUsageListResponseBody.zod.js +45 -0
- package/dist/canopy/v1/generated/validators/aPIKeyUsageResource.zod.d.ts +61 -0
- package/dist/canopy/v1/generated/validators/aPIKeyUsageResource.zod.js +55 -0
- package/dist/canopy/v1/generated/validators/audioCapabilities.zod.d.ts +51 -0
- package/dist/canopy/v1/generated/validators/audioCapabilities.zod.js +67 -0
- package/dist/canopy/v1/generated/validators/chatCompletion.zod.d.ts +44 -0
- package/dist/canopy/v1/generated/validators/chatCompletion.zod.js +42 -0
- package/dist/canopy/v1/generated/validators/chatCompletionRequest.zod.d.ts +51 -0
- package/dist/canopy/v1/generated/validators/chatCompletionRequest.zod.js +49 -0
- package/dist/canopy/v1/generated/validators/checkoutMode.zod.d.ts +47 -0
- package/dist/canopy/v1/generated/validators/checkoutMode.zod.js +44 -0
- package/dist/canopy/v1/generated/validators/checkoutOptions.zod.d.ts +54 -0
- package/dist/canopy/v1/generated/validators/checkoutOptions.zod.js +59 -0
- package/dist/canopy/v1/generated/validators/createAPIKeyRequestBody.zod.d.ts +50 -0
- package/dist/canopy/v1/generated/validators/createAPIKeyRequestBody.zod.js +61 -0
- package/dist/canopy/v1/generated/validators/createServiceRequestBody.zod.d.ts +53 -0
- package/dist/canopy/v1/generated/validators/createServiceRequestBody.zod.js +45 -0
- package/dist/canopy/v1/generated/validators/createServiceResponseBody.zod.d.ts +62 -0
- package/dist/canopy/v1/generated/validators/createServiceResponseBody.zod.js +54 -0
- package/dist/canopy/v1/generated/validators/cursorPageRequestResource.zod.d.ts +89 -0
- package/dist/canopy/v1/generated/validators/cursorPageRequestResource.zod.js +46 -0
- package/dist/canopy/v1/generated/validators/cursorPagination.zod.d.ts +47 -0
- package/dist/canopy/v1/generated/validators/cursorPagination.zod.js +47 -0
- package/dist/canopy/v1/generated/validators/embeddingRequest.zod.d.ts +53 -0
- package/dist/canopy/v1/generated/validators/embeddingRequest.zod.js +50 -0
- package/dist/canopy/v1/generated/validators/embeddingResponse.zod.d.ts +44 -0
- package/dist/canopy/v1/generated/validators/embeddingResponse.zod.js +42 -0
- package/dist/canopy/v1/generated/validators/endpointCapabilities.zod.d.ts +95 -0
- package/dist/canopy/v1/generated/validators/endpointCapabilities.zod.js +67 -0
- package/dist/canopy/v1/generated/validators/error.zod.d.ts +58 -0
- package/dist/canopy/v1/generated/validators/error.zod.js +47 -0
- package/dist/canopy/v1/generated/validators/errorStatus.zod.d.ts +56 -0
- package/dist/canopy/v1/generated/validators/errorStatus.zod.js +71 -0
- package/dist/canopy/v1/generated/validators/fieldViolation.zod.d.ts +47 -0
- package/dist/canopy/v1/generated/validators/fieldViolation.zod.js +50 -0
- package/dist/canopy/v1/generated/validators/getUsageSummaryParams.zod.d.ts +59 -0
- package/dist/canopy/v1/generated/validators/getUsageSummaryParams.zod.js +67 -0
- package/dist/canopy/v1/generated/validators/getUsageTimelineParams.zod.d.ts +62 -0
- package/dist/canopy/v1/generated/validators/getUsageTimelineParams.zod.js +74 -0
- package/dist/canopy/v1/generated/validators/imageCapabilities.zod.d.ts +52 -0
- package/dist/canopy/v1/generated/validators/imageCapabilities.zod.js +69 -0
- package/dist/canopy/v1/generated/validators/inferenceError.zod.d.ts +51 -0
- package/dist/canopy/v1/generated/validators/inferenceError.zod.js +49 -0
- package/dist/canopy/v1/generated/validators/issuedAPIKeyResource.zod.d.ts +62 -0
- package/dist/canopy/v1/generated/validators/issuedAPIKeyResource.zod.js +72 -0
- package/dist/canopy/v1/generated/validators/lengthAwarePageAPIKeyResource.zod.d.ts +66 -0
- package/dist/canopy/v1/generated/validators/lengthAwarePageAPIKeyResource.zod.js +48 -0
- package/dist/canopy/v1/generated/validators/listApiKeysParams.zod.d.ts +57 -0
- package/dist/canopy/v1/generated/validators/listApiKeysParams.zod.js +58 -0
- package/dist/canopy/v1/generated/validators/listRequestsParams.zod.d.ts +64 -0
- package/dist/canopy/v1/generated/validators/listRequestsParams.zod.js +72 -0
- package/dist/canopy/v1/generated/validators/listUsageByApiKeyParams.zod.d.ts +57 -0
- package/dist/canopy/v1/generated/validators/listUsageByApiKeyParams.zod.js +60 -0
- package/dist/canopy/v1/generated/validators/listUsageByModelParams.zod.d.ts +59 -0
- package/dist/canopy/v1/generated/validators/listUsageByModelParams.zod.js +67 -0
- package/dist/canopy/v1/generated/validators/mediaUsage.zod.d.ts +52 -0
- package/dist/canopy/v1/generated/validators/mediaUsage.zod.js +61 -0
- package/dist/canopy/v1/generated/validators/modality.zod.d.ts +51 -0
- package/dist/canopy/v1/generated/validators/modality.zod.js +42 -0
- package/dist/canopy/v1/generated/validators/model.zod.d.ts +148 -0
- package/dist/canopy/v1/generated/validators/model.zod.js +69 -0
- package/dist/canopy/v1/generated/validators/modelBilling.zod.d.ts +64 -0
- package/dist/canopy/v1/generated/validators/modelBilling.zod.js +53 -0
- package/dist/canopy/v1/generated/validators/modelCapabilities.zod.d.ts +95 -0
- package/dist/canopy/v1/generated/validators/modelCapabilities.zod.js +45 -0
- package/dist/canopy/v1/generated/validators/modelEndpoint.zod.d.ts +69 -0
- package/dist/canopy/v1/generated/validators/modelEndpoint.zod.js +67 -0
- package/dist/canopy/v1/generated/validators/modelList.zod.d.ts +151 -0
- package/dist/canopy/v1/generated/validators/modelList.zod.js +46 -0
- package/dist/canopy/v1/generated/validators/modelListResponseBody.zod.d.ts +174 -0
- package/dist/canopy/v1/generated/validators/modelListResponseBody.zod.js +45 -0
- package/dist/canopy/v1/generated/validators/modelMeter.zod.d.ts +61 -0
- package/dist/canopy/v1/generated/validators/modelMeter.zod.js +67 -0
- package/dist/canopy/v1/generated/validators/modelParameter.zod.d.ts +58 -0
- package/dist/canopy/v1/generated/validators/modelParameter.zod.js +57 -0
- package/dist/canopy/v1/generated/validators/modelResource.zod.d.ts +172 -0
- package/dist/canopy/v1/generated/validators/modelResource.zod.js +74 -0
- package/dist/canopy/v1/generated/validators/modelUsageListResponseBody.zod.d.ts +63 -0
- package/dist/canopy/v1/generated/validators/modelUsageListResponseBody.zod.js +45 -0
- package/dist/canopy/v1/generated/validators/modelUsageResource.zod.d.ts +61 -0
- package/dist/canopy/v1/generated/validators/modelUsageResource.zod.js +55 -0
- package/dist/canopy/v1/generated/validators/money.zod.d.ts +44 -0
- package/dist/canopy/v1/generated/validators/money.zod.js +44 -0
- package/dist/canopy/v1/generated/validators/nativeRequest.zod.d.ts +44 -0
- package/dist/canopy/v1/generated/validators/nativeRequest.zod.js +44 -0
- package/dist/canopy/v1/generated/validators/nativeResponse.zod.d.ts +44 -0
- package/dist/canopy/v1/generated/validators/nativeResponse.zod.js +44 -0
- package/dist/canopy/v1/generated/validators/offsetPagination.zod.d.ts +49 -0
- package/dist/canopy/v1/generated/validators/offsetPagination.zod.js +49 -0
- package/dist/canopy/v1/generated/validators/reasoningCapabilities.zod.d.ts +56 -0
- package/dist/canopy/v1/generated/validators/reasoningCapabilities.zod.js +59 -0
- package/dist/canopy/v1/generated/validators/reasoningDiagnostics.zod.d.ts +46 -0
- package/dist/canopy/v1/generated/validators/reasoningDiagnostics.zod.js +44 -0
- package/dist/canopy/v1/generated/validators/requestResource.zod.d.ts +87 -0
- package/dist/canopy/v1/generated/validators/requestResource.zod.js +87 -0
- package/dist/canopy/v1/generated/validators/responseCreate.zod.d.ts +56 -0
- package/dist/canopy/v1/generated/validators/responseCreate.zod.js +56 -0
- package/dist/canopy/v1/generated/validators/responseDeleted.zod.d.ts +48 -0
- package/dist/canopy/v1/generated/validators/responseDeleted.zod.js +46 -0
- package/dist/canopy/v1/generated/validators/responseResource.zod.d.ts +44 -0
- package/dist/canopy/v1/generated/validators/responseResource.zod.js +42 -0
- package/dist/canopy/v1/generated/validators/serviceResource.zod.d.ts +58 -0
- package/dist/canopy/v1/generated/validators/serviceResource.zod.js +82 -0
- package/dist/canopy/v1/generated/validators/streamGenerateContentParams.zod.d.ts +48 -0
- package/dist/canopy/v1/generated/validators/streamGenerateContentParams.zod.js +44 -0
- package/dist/canopy/v1/generated/validators/totalsResource.zod.d.ts +60 -0
- package/dist/canopy/v1/generated/validators/totalsResource.zod.js +54 -0
- package/dist/canopy/v1/generated/validators/updateAPIKeyRequestBody.zod.d.ts +51 -0
- package/dist/canopy/v1/generated/validators/updateAPIKeyRequestBody.zod.js +52 -0
- package/dist/canopy/v1/generated/validators/usageBucketResource.zod.d.ts +62 -0
- package/dist/canopy/v1/generated/validators/usageBucketResource.zod.js +56 -0
- package/dist/canopy/v1/generated/validators/usageTimelineResponseBody.zod.d.ts +64 -0
- package/dist/canopy/v1/generated/validators/usageTimelineResponseBody.zod.js +45 -0
- package/dist/canopy/v1/generated/validators/videoCapabilities.zod.d.ts +51 -0
- package/dist/canopy/v1/generated/validators/videoCapabilities.zod.js +69 -0
- package/dist/canopy/v1/index.d.ts +3 -48
- package/dist/canopy/v1/index.js +3 -5
- package/dist/compute/v2/generated/functions.d.ts +2819 -0
- package/dist/compute/v2/generated/functions.js +3040 -0
- package/dist/compute/v2/generated/models.d.ts +3446 -0
- package/dist/compute/v2/generated/models.js +412 -0
- package/dist/compute/v2/generated/schemas.zod.d.ts +2088 -0
- package/dist/compute/v2/generated/schemas.zod.js +2532 -0
- package/dist/compute/v2/generated/validators/associateElasticIPRequestBody.zod.d.ts +42 -0
- package/dist/compute/v2/generated/validators/associateElasticIPRequestBody.zod.js +40 -0
- package/dist/compute/v2/generated/validators/attachNetworkInterfaceRequestBody.zod.d.ts +40 -0
- package/dist/compute/v2/generated/validators/attachNetworkInterfaceRequestBody.zod.js +39 -0
- package/dist/compute/v2/generated/validators/attachVolumeRequestBody.zod.d.ts +40 -0
- package/dist/compute/v2/generated/validators/attachVolumeRequestBody.zod.js +39 -0
- package/dist/compute/v2/generated/validators/availabilityZoneID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/availabilityZoneID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/availabilityZoneListResponseBody.zod.d.ts +50 -0
- package/dist/compute/v2/generated/validators/availabilityZoneListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/availabilityZoneResource.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/availabilityZoneResource.zod.js +47 -0
- package/dist/compute/v2/generated/validators/billingCancellation.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/billingCancellation.zod.js +46 -0
- package/dist/compute/v2/generated/validators/billingChoice.zod.d.ts +54 -0
- package/dist/compute/v2/generated/validators/billingChoice.zod.js +46 -0
- package/dist/compute/v2/generated/validators/billingComponent.zod.d.ts +64 -0
- package/dist/compute/v2/generated/validators/billingComponent.zod.js +49 -0
- package/dist/compute/v2/generated/validators/billingLineQuantity.zod.d.ts +42 -0
- package/dist/compute/v2/generated/validators/billingLineQuantity.zod.js +38 -0
- package/dist/compute/v2/generated/validators/billingMeter.zod.d.ts +48 -0
- package/dist/compute/v2/generated/validators/billingMeter.zod.js +46 -0
- package/dist/compute/v2/generated/validators/billingPeriod.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/billingPeriod.zod.js +40 -0
- package/dist/compute/v2/generated/validators/billingQuantity.zod.d.ts +49 -0
- package/dist/compute/v2/generated/validators/billingQuantity.zod.js +42 -0
- package/dist/compute/v2/generated/validators/bootVolume.zod.d.ts +72 -0
- package/dist/compute/v2/generated/validators/bootVolume.zod.js +40 -0
- package/dist/compute/v2/generated/validators/cancellationMode.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/cancellationMode.zod.js +38 -0
- package/dist/compute/v2/generated/validators/checkoutMode.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/checkoutMode.zod.js +38 -0
- package/dist/compute/v2/generated/validators/checkoutOptions.zod.d.ts +48 -0
- package/dist/compute/v2/generated/validators/checkoutOptions.zod.js +53 -0
- package/dist/compute/v2/generated/validators/consoleResponseBody.zod.d.ts +40 -0
- package/dist/compute/v2/generated/validators/consoleResponseBody.zod.js +40 -0
- package/dist/compute/v2/generated/validators/createElasticIPRequestBody.zod.d.ts +72 -0
- package/dist/compute/v2/generated/validators/createElasticIPRequestBody.zod.js +53 -0
- package/dist/compute/v2/generated/validators/createElasticIPResponseBody.zod.d.ts +132 -0
- package/dist/compute/v2/generated/validators/createElasticIPResponseBody.zod.js +48 -0
- package/dist/compute/v2/generated/validators/createInstanceRequestBody.zod.d.ts +196 -0
- package/dist/compute/v2/generated/validators/createInstanceRequestBody.zod.js +81 -0
- package/dist/compute/v2/generated/validators/createInstanceResponseBody.zod.d.ts +154 -0
- package/dist/compute/v2/generated/validators/createInstanceResponseBody.zod.js +57 -0
- package/dist/compute/v2/generated/validators/createLaunchTemplateRequestBody.zod.d.ts +79 -0
- package/dist/compute/v2/generated/validators/createLaunchTemplateRequestBody.zod.js +45 -0
- package/dist/compute/v2/generated/validators/createLaunchTemplateResponseBody.zod.d.ts +87 -0
- package/dist/compute/v2/generated/validators/createLaunchTemplateResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/createNetworkInterfaceAddressRequestBody.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/createNetworkInterfaceAddressRequestBody.zod.js +43 -0
- package/dist/compute/v2/generated/validators/createNetworkInterfaceRequestBody.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/createNetworkInterfaceRequestBody.zod.js +53 -0
- package/dist/compute/v2/generated/validators/createPrivateImageRequestBody.zod.d.ts +50 -0
- package/dist/compute/v2/generated/validators/createPrivateImageRequestBody.zod.js +45 -0
- package/dist/compute/v2/generated/validators/createPrivateImageResponseBody.zod.d.ts +114 -0
- package/dist/compute/v2/generated/validators/createPrivateImageResponseBody.zod.js +48 -0
- package/dist/compute/v2/generated/validators/createSecurityGroupRequestBody.zod.d.ts +44 -0
- package/dist/compute/v2/generated/validators/createSecurityGroupRequestBody.zod.js +43 -0
- package/dist/compute/v2/generated/validators/createSecurityGroupRuleRequestBody.zod.d.ts +52 -0
- package/dist/compute/v2/generated/validators/createSecurityGroupRuleRequestBody.zod.js +62 -0
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudPeeringRequestBody.zod.d.ts +44 -0
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudPeeringRequestBody.zod.js +43 -0
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRequestBody.zod.d.ts +44 -0
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRequestBody.zod.js +47 -0
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRouteRequestBody.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRouteRequestBody.zod.js +51 -0
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudSubnetRequestBody.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudSubnetRequestBody.zod.js +45 -0
- package/dist/compute/v2/generated/validators/createVolumeBackupRequestBody.zod.d.ts +50 -0
- package/dist/compute/v2/generated/validators/createVolumeBackupRequestBody.zod.js +43 -0
- package/dist/compute/v2/generated/validators/createVolumeBackupResponseBody.zod.d.ts +106 -0
- package/dist/compute/v2/generated/validators/createVolumeBackupResponseBody.zod.js +48 -0
- package/dist/compute/v2/generated/validators/createVolumeRequestBody.zod.d.ts +70 -0
- package/dist/compute/v2/generated/validators/createVolumeRequestBody.zod.js +54 -0
- package/dist/compute/v2/generated/validators/createVolumeResponseBody.zod.d.ts +143 -0
- package/dist/compute/v2/generated/validators/createVolumeResponseBody.zod.js +48 -0
- package/dist/compute/v2/generated/validators/createVolumeSnapshotRequestBody.zod.d.ts +50 -0
- package/dist/compute/v2/generated/validators/createVolumeSnapshotRequestBody.zod.js +45 -0
- package/dist/compute/v2/generated/validators/createVolumeSnapshotResponseBody.zod.d.ts +105 -0
- package/dist/compute/v2/generated/validators/createVolumeSnapshotResponseBody.zod.js +48 -0
- package/dist/compute/v2/generated/validators/cursorPagination.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/cursorPagination.zod.js +41 -0
- package/dist/compute/v2/generated/validators/deleteElasticIPResponseBody.zod.d.ts +138 -0
- package/dist/compute/v2/generated/validators/deleteElasticIPResponseBody.zod.js +45 -0
- package/dist/compute/v2/generated/validators/deleteElasticIpParams.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/deleteElasticIpParams.zod.js +41 -0
- package/dist/compute/v2/generated/validators/deleteInstanceParams.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/deleteInstanceParams.zod.js +41 -0
- package/dist/compute/v2/generated/validators/deleteInstanceResponseBody.zod.d.ts +158 -0
- package/dist/compute/v2/generated/validators/deleteInstanceResponseBody.zod.js +45 -0
- package/dist/compute/v2/generated/validators/deletePrivateImageParams.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/deletePrivateImageParams.zod.js +41 -0
- package/dist/compute/v2/generated/validators/deletePrivateImageResponseBody.zod.d.ts +120 -0
- package/dist/compute/v2/generated/validators/deletePrivateImageResponseBody.zod.js +45 -0
- package/dist/compute/v2/generated/validators/deleteVolumeBackupParams.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/deleteVolumeBackupParams.zod.js +41 -0
- package/dist/compute/v2/generated/validators/deleteVolumeBackupResponseBody.zod.d.ts +112 -0
- package/dist/compute/v2/generated/validators/deleteVolumeBackupResponseBody.zod.js +45 -0
- package/dist/compute/v2/generated/validators/deleteVolumeParams.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/deleteVolumeParams.zod.js +41 -0
- package/dist/compute/v2/generated/validators/deleteVolumeResponseBody.zod.d.ts +149 -0
- package/dist/compute/v2/generated/validators/deleteVolumeResponseBody.zod.js +45 -0
- package/dist/compute/v2/generated/validators/deleteVolumeSnapshotParams.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/deleteVolumeSnapshotParams.zod.js +41 -0
- package/dist/compute/v2/generated/validators/deleteVolumeSnapshotResponseBody.zod.d.ts +111 -0
- package/dist/compute/v2/generated/validators/deleteVolumeSnapshotResponseBody.zod.js +45 -0
- package/dist/compute/v2/generated/validators/elasticIP.zod.d.ts +128 -0
- package/dist/compute/v2/generated/validators/elasticIP.zod.js +124 -0
- package/dist/compute/v2/generated/validators/elasticIPAssociation.zod.d.ts +51 -0
- package/dist/compute/v2/generated/validators/elasticIPAssociation.zod.js +50 -0
- package/dist/compute/v2/generated/validators/elasticIPAssociationID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/elasticIPAssociationID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/elasticIPID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/elasticIPID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/elasticIPLine.zod.d.ts +112 -0
- package/dist/compute/v2/generated/validators/elasticIPLine.zod.js +65 -0
- package/dist/compute/v2/generated/validators/elasticIPLineID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/elasticIPLineID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/elasticIPLineListResponseBody.zod.d.ts +116 -0
- package/dist/compute/v2/generated/validators/elasticIPLineListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/elasticIPListResponseBody.zod.d.ts +135 -0
- package/dist/compute/v2/generated/validators/elasticIPListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/elasticIPReleaseResource.zod.d.ts +44 -0
- package/dist/compute/v2/generated/validators/elasticIPReleaseResource.zod.js +43 -0
- package/dist/compute/v2/generated/validators/error.zod.d.ts +52 -0
- package/dist/compute/v2/generated/validators/error.zod.js +41 -0
- package/dist/compute/v2/generated/validators/errorStatus.zod.d.ts +50 -0
- package/dist/compute/v2/generated/validators/errorStatus.zod.js +65 -0
- package/dist/compute/v2/generated/validators/existingBootVolume.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/existingBootVolume.zod.js +46 -0
- package/dist/compute/v2/generated/validators/existingElasticIP.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/existingElasticIP.zod.js +40 -0
- package/dist/compute/v2/generated/validators/existingPrimaryNetworkInterface.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/existingPrimaryNetworkInterface.zod.js +40 -0
- package/dist/compute/v2/generated/validators/fieldViolation.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/fieldViolation.zod.js +44 -0
- package/dist/compute/v2/generated/validators/freeSubnetCidr.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/freeSubnetCidr.zod.js +39 -0
- package/dist/compute/v2/generated/validators/generatedPassword.zod.d.ts +42 -0
- package/dist/compute/v2/generated/validators/generatedPassword.zod.js +38 -0
- package/dist/compute/v2/generated/validators/getVirtualPrivateCloudFreeSubnetCidrParams.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/getVirtualPrivateCloudFreeSubnetCidrParams.zod.js +45 -0
- package/dist/compute/v2/generated/validators/iPv4HostAddress.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/iPv4HostAddress.zod.js +43 -0
- package/dist/compute/v2/generated/validators/imageID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/imageID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/instance.zod.d.ts +151 -0
- package/dist/compute/v2/generated/validators/instance.zod.js +163 -0
- package/dist/compute/v2/generated/validators/instanceAssociationTarget.zod.d.ts +40 -0
- package/dist/compute/v2/generated/validators/instanceAssociationTarget.zod.js +41 -0
- package/dist/compute/v2/generated/validators/instanceElasticIP.zod.d.ts +70 -0
- package/dist/compute/v2/generated/validators/instanceElasticIP.zod.js +40 -0
- package/dist/compute/v2/generated/validators/instanceFamily.zod.d.ts +57 -0
- package/dist/compute/v2/generated/validators/instanceFamily.zod.js +54 -0
- package/dist/compute/v2/generated/validators/instanceFamilyCategory.zod.d.ts +42 -0
- package/dist/compute/v2/generated/validators/instanceFamilyCategory.zod.js +38 -0
- package/dist/compute/v2/generated/validators/instanceFamilyID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/instanceFamilyID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/instanceFamilyListResponseBody.zod.d.ts +64 -0
- package/dist/compute/v2/generated/validators/instanceFamilyListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/instanceID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/instanceID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/instanceListResponseBody.zod.d.ts +155 -0
- package/dist/compute/v2/generated/validators/instanceListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/instanceNetworkInterfaceID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/instanceNetworkInterfaceID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/instanceReleaseResource.zod.d.ts +44 -0
- package/dist/compute/v2/generated/validators/instanceReleaseResource.zod.js +43 -0
- package/dist/compute/v2/generated/validators/instanceRestriction.zod.d.ts +49 -0
- package/dist/compute/v2/generated/validators/instanceRestriction.zod.js +60 -0
- package/dist/compute/v2/generated/validators/instanceType.zod.d.ts +80 -0
- package/dist/compute/v2/generated/validators/instanceType.zod.js +58 -0
- package/dist/compute/v2/generated/validators/instanceTypeID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/instanceTypeID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/instanceTypeListResponseBody.zod.d.ts +87 -0
- package/dist/compute/v2/generated/validators/instanceTypeListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/instanceVolumeID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/instanceVolumeID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/internetChargeType.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/internetChargeType.zod.js +38 -0
- package/dist/compute/v2/generated/validators/launchTemplate.zod.d.ts +47 -0
- package/dist/compute/v2/generated/validators/launchTemplate.zod.js +47 -0
- package/dist/compute/v2/generated/validators/launchTemplateBootVolume.zod.d.ts +47 -0
- package/dist/compute/v2/generated/validators/launchTemplateBootVolume.zod.js +48 -0
- package/dist/compute/v2/generated/validators/launchTemplateDataVolume.zod.d.ts +46 -0
- package/dist/compute/v2/generated/validators/launchTemplateDataVolume.zod.js +46 -0
- package/dist/compute/v2/generated/validators/launchTemplateElasticIP.zod.d.ts +46 -0
- package/dist/compute/v2/generated/validators/launchTemplateElasticIP.zod.js +45 -0
- package/dist/compute/v2/generated/validators/launchTemplateID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/launchTemplateID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/launchTemplateListResponseBody.zod.d.ts +54 -0
- package/dist/compute/v2/generated/validators/launchTemplateListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/launchTemplateNetworkInterface.zod.d.ts +42 -0
- package/dist/compute/v2/generated/validators/launchTemplateNetworkInterface.zod.js +47 -0
- package/dist/compute/v2/generated/validators/launchTemplateReference.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/launchTemplateReference.zod.js +46 -0
- package/dist/compute/v2/generated/validators/launchTemplateVersion.zod.d.ts +75 -0
- package/dist/compute/v2/generated/validators/launchTemplateVersion.zod.js +57 -0
- package/dist/compute/v2/generated/validators/launchTemplateVersionListResponseBody.zod.d.ts +82 -0
- package/dist/compute/v2/generated/validators/launchTemplateVersionListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/listAvailabilityZonesParams.zod.d.ts +46 -0
- package/dist/compute/v2/generated/validators/listAvailabilityZonesParams.zod.js +53 -0
- package/dist/compute/v2/generated/validators/listElasticIpLinesParams.zod.d.ts +48 -0
- package/dist/compute/v2/generated/validators/listElasticIpLinesParams.zod.js +55 -0
- package/dist/compute/v2/generated/validators/listElasticIpTrafficUsageParams.zod.d.ts +52 -0
- package/dist/compute/v2/generated/validators/listElasticIpTrafficUsageParams.zod.js +55 -0
- package/dist/compute/v2/generated/validators/listElasticIpsParams.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/listElasticIpsParams.zod.js +47 -0
- package/dist/compute/v2/generated/validators/listInstanceFamiliesParams.zod.d.ts +46 -0
- package/dist/compute/v2/generated/validators/listInstanceFamiliesParams.zod.js +53 -0
- package/dist/compute/v2/generated/validators/listInstanceNetworkInterfacesParams.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/listInstanceNetworkInterfacesParams.zod.js +51 -0
- package/dist/compute/v2/generated/validators/listInstanceTypesParams.zod.d.ts +48 -0
- package/dist/compute/v2/generated/validators/listInstanceTypesParams.zod.js +57 -0
- package/dist/compute/v2/generated/validators/listInstanceVolumesParams.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/listInstanceVolumesParams.zod.js +51 -0
- package/dist/compute/v2/generated/validators/listInstancesParams.zod.d.ts +47 -0
- package/dist/compute/v2/generated/validators/listInstancesParams.zod.js +53 -0
- package/dist/compute/v2/generated/validators/listLaunchTemplateVersionsParams.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/listLaunchTemplateVersionsParams.zod.js +51 -0
- package/dist/compute/v2/generated/validators/listLaunchTemplatesParams.zod.d.ts +46 -0
- package/dist/compute/v2/generated/validators/listLaunchTemplatesParams.zod.js +53 -0
- package/dist/compute/v2/generated/validators/listNetworkInterfacesParams.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/listNetworkInterfacesParams.zod.js +51 -0
- package/dist/compute/v2/generated/validators/listOperationLogsParams.zod.d.ts +47 -0
- package/dist/compute/v2/generated/validators/listOperationLogsParams.zod.js +57 -0
- package/dist/compute/v2/generated/validators/listPrivateImagesParams.zod.d.ts +46 -0
- package/dist/compute/v2/generated/validators/listPrivateImagesParams.zod.js +53 -0
- package/dist/compute/v2/generated/validators/listPublicImagesParams.zod.d.ts +46 -0
- package/dist/compute/v2/generated/validators/listPublicImagesParams.zod.js +53 -0
- package/dist/compute/v2/generated/validators/listQuotasParams.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/listQuotasParams.zod.js +47 -0
- package/dist/compute/v2/generated/validators/listRegionsParams.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/listRegionsParams.zod.js +47 -0
- package/dist/compute/v2/generated/validators/listSecurityGroupRulesParams.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/listSecurityGroupRulesParams.zod.js +51 -0
- package/dist/compute/v2/generated/validators/listSecurityGroupsParams.zod.d.ts +47 -0
- package/dist/compute/v2/generated/validators/listSecurityGroupsParams.zod.js +55 -0
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudPeeringsParams.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudPeeringsParams.zod.js +51 -0
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudRoutesParams.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudRoutesParams.zod.js +51 -0
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudSubnetsParams.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudSubnetsParams.zod.js +51 -0
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudsParams.zod.d.ts +46 -0
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudsParams.zod.js +53 -0
- package/dist/compute/v2/generated/validators/listVolumeBackupsParams.zod.d.ts +46 -0
- package/dist/compute/v2/generated/validators/listVolumeBackupsParams.zod.js +53 -0
- package/dist/compute/v2/generated/validators/listVolumeSnapshotsParams.zod.d.ts +46 -0
- package/dist/compute/v2/generated/validators/listVolumeSnapshotsParams.zod.js +53 -0
- package/dist/compute/v2/generated/validators/listVolumeTypesParams.zod.d.ts +47 -0
- package/dist/compute/v2/generated/validators/listVolumeTypesParams.zod.js +55 -0
- package/dist/compute/v2/generated/validators/listVolumesParams.zod.d.ts +47 -0
- package/dist/compute/v2/generated/validators/listVolumesParams.zod.js +51 -0
- package/dist/compute/v2/generated/validators/money.zod.d.ts +38 -0
- package/dist/compute/v2/generated/validators/money.zod.js +38 -0
- package/dist/compute/v2/generated/validators/networkInterface.zod.d.ts +94 -0
- package/dist/compute/v2/generated/validators/networkInterface.zod.js +69 -0
- package/dist/compute/v2/generated/validators/networkInterfaceAddress.zod.d.ts +54 -0
- package/dist/compute/v2/generated/validators/networkInterfaceAddress.zod.js +49 -0
- package/dist/compute/v2/generated/validators/networkInterfaceAddressAssociationTarget.zod.d.ts +40 -0
- package/dist/compute/v2/generated/validators/networkInterfaceAddressAssociationTarget.zod.js +41 -0
- package/dist/compute/v2/generated/validators/networkInterfaceAddressID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/networkInterfaceAddressID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/networkInterfaceAttachment.zod.d.ts +58 -0
- package/dist/compute/v2/generated/validators/networkInterfaceAttachment.zod.js +51 -0
- package/dist/compute/v2/generated/validators/networkInterfaceAttachmentList.zod.d.ts +65 -0
- package/dist/compute/v2/generated/validators/networkInterfaceAttachmentList.zod.js +41 -0
- package/dist/compute/v2/generated/validators/networkInterfaceID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/networkInterfaceID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/networkInterfaceListResponseBody.zod.d.ts +101 -0
- package/dist/compute/v2/generated/validators/networkInterfaceListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/newBootVolume.zod.d.ts +67 -0
- package/dist/compute/v2/generated/validators/newBootVolume.zod.js +52 -0
- package/dist/compute/v2/generated/validators/newCompute.zod.d.ts +57 -0
- package/dist/compute/v2/generated/validators/newCompute.zod.js +43 -0
- package/dist/compute/v2/generated/validators/newDataVolume.zod.d.ts +63 -0
- package/dist/compute/v2/generated/validators/newDataVolume.zod.js +52 -0
- package/dist/compute/v2/generated/validators/newElasticIP.zod.d.ts +66 -0
- package/dist/compute/v2/generated/validators/newElasticIP.zod.js +52 -0
- package/dist/compute/v2/generated/validators/newLaunchTemplateVersion.zod.d.ts +76 -0
- package/dist/compute/v2/generated/validators/newLaunchTemplateVersion.zod.js +62 -0
- package/dist/compute/v2/generated/validators/newPrimaryNetworkInterface.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/newPrimaryNetworkInterface.zod.js +47 -0
- package/dist/compute/v2/generated/validators/offsetPagination.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/offsetPagination.zod.js +43 -0
- package/dist/compute/v2/generated/validators/operationLogID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/operationLogID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/operationLogListResponseBody.zod.d.ts +65 -0
- package/dist/compute/v2/generated/validators/operationLogListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/operationLogResource.zod.d.ts +58 -0
- package/dist/compute/v2/generated/validators/operationLogResource.zod.js +68 -0
- package/dist/compute/v2/generated/validators/passwordChoice.zod.d.ts +47 -0
- package/dist/compute/v2/generated/validators/passwordChoice.zod.js +40 -0
- package/dist/compute/v2/generated/validators/performanceFormula.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/performanceFormula.zod.js +43 -0
- package/dist/compute/v2/generated/validators/primaryNetworkInterface.zod.d.ts +49 -0
- package/dist/compute/v2/generated/validators/primaryNetworkInterface.zod.js +40 -0
- package/dist/compute/v2/generated/validators/privateImageListResponseBody.zod.d.ts +117 -0
- package/dist/compute/v2/generated/validators/privateImageListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/privateImageReleaseResource.zod.d.ts +44 -0
- package/dist/compute/v2/generated/validators/privateImageReleaseResource.zod.js +43 -0
- package/dist/compute/v2/generated/validators/privateImageResource.zod.d.ts +111 -0
- package/dist/compute/v2/generated/validators/privateImageResource.zod.js +115 -0
- package/dist/compute/v2/generated/validators/projectQuota.zod.d.ts +63 -0
- package/dist/compute/v2/generated/validators/projectQuota.zod.js +48 -0
- package/dist/compute/v2/generated/validators/projectQuotaListResponseBody.zod.d.ts +69 -0
- package/dist/compute/v2/generated/validators/projectQuotaListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/publicImageListResponseBody.zod.d.ts +61 -0
- package/dist/compute/v2/generated/validators/publicImageListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/publicImageResource.zod.d.ts +55 -0
- package/dist/compute/v2/generated/validators/publicImageResource.zod.js +65 -0
- package/dist/compute/v2/generated/validators/quotaResourceType.zod.d.ts +53 -0
- package/dist/compute/v2/generated/validators/quotaResourceType.zod.js +53 -0
- package/dist/compute/v2/generated/validators/quotaSource.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/quotaSource.zod.js +38 -0
- package/dist/compute/v2/generated/validators/rebootInstanceRequestBody.zod.d.ts +40 -0
- package/dist/compute/v2/generated/validators/rebootInstanceRequestBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/rebuildInstanceRequestBody.zod.d.ts +50 -0
- package/dist/compute/v2/generated/validators/rebuildInstanceRequestBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/rebuildInstanceResponseBody.zod.d.ts +151 -0
- package/dist/compute/v2/generated/validators/rebuildInstanceResponseBody.zod.js +43 -0
- package/dist/compute/v2/generated/validators/regionID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/regionID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/regionListResponseBody.zod.d.ts +131 -0
- package/dist/compute/v2/generated/validators/regionListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/regionResource.zod.d.ts +124 -0
- package/dist/compute/v2/generated/validators/regionResource.zod.js +52 -0
- package/dist/compute/v2/generated/validators/releaseResource.zod.d.ts +75 -0
- package/dist/compute/v2/generated/validators/releaseResource.zod.js +51 -0
- package/dist/compute/v2/generated/validators/releaseSetItem.zod.d.ts +78 -0
- package/dist/compute/v2/generated/validators/releaseSetItem.zod.js +42 -0
- package/dist/compute/v2/generated/validators/rescueInstanceRequestBody.zod.d.ts +42 -0
- package/dist/compute/v2/generated/validators/rescueInstanceRequestBody.zod.js +44 -0
- package/dist/compute/v2/generated/validators/rescueInstanceResponseBody.zod.d.ts +151 -0
- package/dist/compute/v2/generated/validators/rescueInstanceResponseBody.zod.js +40 -0
- package/dist/compute/v2/generated/validators/resetInstancePasswordResponseBody.zod.d.ts +40 -0
- package/dist/compute/v2/generated/validators/resetInstancePasswordResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/revertVolumeRequestBody.zod.d.ts +40 -0
- package/dist/compute/v2/generated/validators/revertVolumeRequestBody.zod.js +39 -0
- package/dist/compute/v2/generated/validators/runInstanceCommandRequestBody.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/runInstanceCommandRequestBody.zod.js +50 -0
- package/dist/compute/v2/generated/validators/runInstanceCommandResponseBody.zod.d.ts +44 -0
- package/dist/compute/v2/generated/validators/runInstanceCommandResponseBody.zod.js +49 -0
- package/dist/compute/v2/generated/validators/securityGroup.zod.d.ts +46 -0
- package/dist/compute/v2/generated/validators/securityGroup.zod.js +48 -0
- package/dist/compute/v2/generated/validators/securityGroupID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/securityGroupID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/securityGroupIDOrWildcard.zod.d.ts +39 -0
- package/dist/compute/v2/generated/validators/securityGroupIDOrWildcard.zod.js +40 -0
- package/dist/compute/v2/generated/validators/securityGroupListResponseBody.zod.d.ts +53 -0
- package/dist/compute/v2/generated/validators/securityGroupListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/securityGroupRule.zod.d.ts +52 -0
- package/dist/compute/v2/generated/validators/securityGroupRule.zod.js +56 -0
- package/dist/compute/v2/generated/validators/securityGroupRuleDirection.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/securityGroupRuleDirection.zod.js +36 -0
- package/dist/compute/v2/generated/validators/securityGroupRuleID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/securityGroupRuleID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/securityGroupRuleListResponseBody.zod.d.ts +59 -0
- package/dist/compute/v2/generated/validators/securityGroupRuleListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/subnetID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/subnetID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/suppliedPassword.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/suppliedPassword.zod.js +45 -0
- package/dist/compute/v2/generated/validators/terminationPolicy.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/terminationPolicy.zod.js +38 -0
- package/dist/compute/v2/generated/validators/trafficUsage.zod.d.ts +44 -0
- package/dist/compute/v2/generated/validators/trafficUsage.zod.js +44 -0
- package/dist/compute/v2/generated/validators/trafficUsageListResponseBody.zod.d.ts +49 -0
- package/dist/compute/v2/generated/validators/trafficUsageListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/updateElasticIPRequestBody.zod.d.ts +53 -0
- package/dist/compute/v2/generated/validators/updateElasticIPRequestBody.zod.js +48 -0
- package/dist/compute/v2/generated/validators/updateElasticIPResponseBody.zod.d.ts +132 -0
- package/dist/compute/v2/generated/validators/updateElasticIPResponseBody.zod.js +49 -0
- package/dist/compute/v2/generated/validators/updateInstanceRequestBody.zod.d.ts +55 -0
- package/dist/compute/v2/generated/validators/updateInstanceRequestBody.zod.js +60 -0
- package/dist/compute/v2/generated/validators/updateInstanceResponseBody.zod.d.ts +152 -0
- package/dist/compute/v2/generated/validators/updateInstanceResponseBody.zod.js +49 -0
- package/dist/compute/v2/generated/validators/updateLaunchTemplateRequestBody.zod.d.ts +44 -0
- package/dist/compute/v2/generated/validators/updateLaunchTemplateRequestBody.zod.js +48 -0
- package/dist/compute/v2/generated/validators/updateNetworkInterfaceRequestBody.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/updateNetworkInterfaceRequestBody.zod.js +49 -0
- package/dist/compute/v2/generated/validators/updatePrivateImageRequestBody.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/updatePrivateImageRequestBody.zod.js +39 -0
- package/dist/compute/v2/generated/validators/updateSecurityGroupRequestBody.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/updateSecurityGroupRequestBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudRequestBody.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudRequestBody.zod.js +39 -0
- package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudSubnetRequestBody.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudSubnetRequestBody.zod.js +39 -0
- package/dist/compute/v2/generated/validators/updateVolumeBackupRequestBody.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/updateVolumeBackupRequestBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/updateVolumeRequestBody.zod.d.ts +52 -0
- package/dist/compute/v2/generated/validators/updateVolumeRequestBody.zod.js +54 -0
- package/dist/compute/v2/generated/validators/updateVolumeResponseBody.zod.d.ts +143 -0
- package/dist/compute/v2/generated/validators/updateVolumeResponseBody.zod.js +49 -0
- package/dist/compute/v2/generated/validators/updateVolumeSnapshotRequestBody.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/updateVolumeSnapshotRequestBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloud.zod.d.ts +54 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloud.zod.js +52 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudIDOrWildcard.zod.d.ts +39 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudIDOrWildcard.zod.js +40 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudListResponseBody.zod.d.ts +61 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringListResponseBody.zod.d.ts +68 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringResource.zod.d.ts +61 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringResource.zod.js +58 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteListResponseBody.zod.d.ts +57 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteResource.zod.d.ts +50 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteResource.zod.js +54 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteType.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteType.zod.js +38 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnet.zod.d.ts +48 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnet.zod.js +54 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnetListResponseBody.zod.d.ts +55 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnetListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/volumeAttachment.zod.d.ts +63 -0
- package/dist/compute/v2/generated/validators/volumeAttachment.zod.js +56 -0
- package/dist/compute/v2/generated/validators/volumeAttachmentList.zod.d.ts +70 -0
- package/dist/compute/v2/generated/validators/volumeAttachmentList.zod.js +41 -0
- package/dist/compute/v2/generated/validators/volumeBackupID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/volumeBackupID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/volumeBackupListResponseBody.zod.d.ts +109 -0
- package/dist/compute/v2/generated/validators/volumeBackupListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/volumeBackupReleaseResource.zod.d.ts +44 -0
- package/dist/compute/v2/generated/validators/volumeBackupReleaseResource.zod.js +43 -0
- package/dist/compute/v2/generated/validators/volumeBackupResource.zod.d.ts +102 -0
- package/dist/compute/v2/generated/validators/volumeBackupResource.zod.js +86 -0
- package/dist/compute/v2/generated/validators/volumeID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/volumeID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/volumeListResponseBody.zod.d.ts +146 -0
- package/dist/compute/v2/generated/validators/volumeListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/volumePerformance.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/volumePerformance.zod.js +41 -0
- package/dist/compute/v2/generated/validators/volumeReleaseResource.zod.d.ts +44 -0
- package/dist/compute/v2/generated/validators/volumeReleaseResource.zod.js +43 -0
- package/dist/compute/v2/generated/validators/volumeResource.zod.d.ts +139 -0
- package/dist/compute/v2/generated/validators/volumeResource.zod.js +104 -0
- package/dist/compute/v2/generated/validators/volumeSnapshotID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/volumeSnapshotID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/volumeSnapshotListResponseBody.zod.d.ts +108 -0
- package/dist/compute/v2/generated/validators/volumeSnapshotListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/volumeSnapshotReleaseResource.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/volumeSnapshotReleaseResource.zod.js +43 -0
- package/dist/compute/v2/generated/validators/volumeSnapshotResource.zod.d.ts +101 -0
- package/dist/compute/v2/generated/validators/volumeSnapshotResource.zod.js +83 -0
- package/dist/compute/v2/generated/validators/volumeTypeID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/volumeTypeID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/volumeTypeListResponseBody.zod.d.ts +103 -0
- package/dist/compute/v2/generated/validators/volumeTypeListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/volumeTypePerformance.zod.d.ts +51 -0
- package/dist/compute/v2/generated/validators/volumeTypePerformance.zod.js +42 -0
- package/dist/compute/v2/generated/validators/volumeTypeResource.zod.d.ts +96 -0
- package/dist/compute/v2/generated/validators/volumeTypeResource.zod.js +55 -0
- package/dist/compute/v2/index.d.ts +3 -0
- package/dist/compute/v2/index.js +3 -0
- package/dist/dns/v1/generated/functions.d.ts +393 -0
- package/dist/dns/v1/generated/functions.js +398 -0
- package/dist/dns/v1/generated/models.d.ts +484 -0
- package/dist/dns/v1/generated/models.js +20 -0
- package/dist/dns/v1/generated/schemas.zod.d.ts +354 -0
- package/dist/dns/v1/generated/schemas.zod.js +364 -0
- package/dist/dns/v1/generated/validators/aliDNSConfig.zod.d.ts +61 -0
- package/dist/dns/v1/generated/validators/aliDNSConfig.zod.js +65 -0
- package/dist/dns/v1/generated/validators/cloudflareConfig.zod.d.ts +59 -0
- package/dist/dns/v1/generated/validators/cloudflareConfig.zod.js +67 -0
- package/dist/dns/v1/generated/validators/createCredentialRequestBody.zod.d.ts +82 -0
- package/dist/dns/v1/generated/validators/createCredentialRequestBody.zod.js +71 -0
- package/dist/dns/v1/generated/validators/credentialResource.zod.d.ts +74 -0
- package/dist/dns/v1/generated/validators/credentialResource.zod.js +79 -0
- package/dist/dns/v1/generated/validators/credentialStatus.zod.d.ts +57 -0
- package/dist/dns/v1/generated/validators/credentialStatus.zod.js +54 -0
- package/dist/dns/v1/generated/validators/cursorPagination.zod.d.ts +57 -0
- package/dist/dns/v1/generated/validators/cursorPagination.zod.js +57 -0
- package/dist/dns/v1/generated/validators/deleteRecordSetParams.zod.d.ts +56 -0
- package/dist/dns/v1/generated/validators/deleteRecordSetParams.zod.js +57 -0
- package/dist/dns/v1/generated/validators/error.zod.d.ts +68 -0
- package/dist/dns/v1/generated/validators/error.zod.js +57 -0
- package/dist/dns/v1/generated/validators/errorStatus.zod.d.ts +66 -0
- package/dist/dns/v1/generated/validators/errorStatus.zod.js +81 -0
- package/dist/dns/v1/generated/validators/fieldViolation.zod.d.ts +57 -0
- package/dist/dns/v1/generated/validators/fieldViolation.zod.js +60 -0
- package/dist/dns/v1/generated/validators/lengthAwarePageCredentialResource.zod.d.ts +79 -0
- package/dist/dns/v1/generated/validators/lengthAwarePageCredentialResource.zod.js +58 -0
- package/dist/dns/v1/generated/validators/lengthAwarePageRecordSetResource.zod.d.ts +74 -0
- package/dist/dns/v1/generated/validators/lengthAwarePageRecordSetResource.zod.js +58 -0
- package/dist/dns/v1/generated/validators/listCredentialsParams.zod.d.ts +68 -0
- package/dist/dns/v1/generated/validators/listCredentialsParams.zod.js +70 -0
- package/dist/dns/v1/generated/validators/listRecordsParams.zod.d.ts +75 -0
- package/dist/dns/v1/generated/validators/listRecordsParams.zod.js +76 -0
- package/dist/dns/v1/generated/validators/listZonesParams.zod.d.ts +58 -0
- package/dist/dns/v1/generated/validators/listZonesParams.zod.js +62 -0
- package/dist/dns/v1/generated/validators/modifyRecordSetParams.zod.d.ts +56 -0
- package/dist/dns/v1/generated/validators/modifyRecordSetParams.zod.js +57 -0
- package/dist/dns/v1/generated/validators/modifyRecordSetRequestBody.zod.d.ts +65 -0
- package/dist/dns/v1/generated/validators/modifyRecordSetRequestBody.zod.js +80 -0
- package/dist/dns/v1/generated/validators/offsetPagination.zod.d.ts +59 -0
- package/dist/dns/v1/generated/validators/offsetPagination.zod.js +59 -0
- package/dist/dns/v1/generated/validators/provider.zod.d.ts +59 -0
- package/dist/dns/v1/generated/validators/provider.zod.js +54 -0
- package/dist/dns/v1/generated/validators/recordSetResource.zod.d.ts +69 -0
- package/dist/dns/v1/generated/validators/recordSetResource.zod.js +63 -0
- package/dist/dns/v1/generated/validators/recordType.zod.d.ts +63 -0
- package/dist/dns/v1/generated/validators/recordType.zod.js +54 -0
- package/dist/dns/v1/generated/validators/renameCredentialRequestBody.zod.d.ts +57 -0
- package/dist/dns/v1/generated/validators/renameCredentialRequestBody.zod.js +55 -0
- package/dist/dns/v1/generated/validators/route53Config.zod.d.ts +63 -0
- package/dist/dns/v1/generated/validators/route53Config.zod.js +71 -0
- package/dist/dns/v1/generated/validators/setRecordSetParams.zod.d.ts +56 -0
- package/dist/dns/v1/generated/validators/setRecordSetParams.zod.js +57 -0
- package/dist/dns/v1/generated/validators/setRecordSetRequestBody.zod.d.ts +62 -0
- package/dist/dns/v1/generated/validators/setRecordSetRequestBody.zod.js +71 -0
- package/dist/dns/v1/generated/validators/tencentCloudConfig.zod.d.ts +59 -0
- package/dist/dns/v1/generated/validators/tencentCloudConfig.zod.js +59 -0
- package/dist/dns/v1/generated/validators/zoneListResponseBody.zod.d.ts +67 -0
- package/dist/dns/v1/generated/validators/zoneListResponseBody.zod.js +58 -0
- package/dist/dns/v1/generated/validators/zoneResource.zod.d.ts +64 -0
- package/dist/dns/v1/generated/validators/zoneResource.zod.js +61 -0
- package/dist/dns/v1/index.d.ts +3 -42
- package/dist/dns/v1/index.js +3 -5
- package/dist/eventbus/v1/generated/functions.d.ts +336 -0
- package/dist/eventbus/v1/generated/functions.js +214 -0
- package/dist/eventbus/v1/generated/models.d.ts +364 -0
- package/dist/eventbus/v1/generated/models.js +8 -0
- package/dist/eventbus/v1/generated/schemas.zod.d.ts +138 -0
- package/dist/eventbus/v1/generated/schemas.zod.js +163 -0
- package/dist/eventbus/v1/generated/validators/createEventRequest.zod.d.ts +50 -0
- package/dist/eventbus/v1/generated/validators/createEventRequest.zod.js +59 -0
- package/dist/eventbus/v1/generated/validators/createVersionRequest.zod.d.ts +46 -0
- package/dist/eventbus/v1/generated/validators/createVersionRequest.zod.js +47 -0
- package/dist/eventbus/v1/generated/validators/cursorPagination.zod.d.ts +45 -0
- package/dist/eventbus/v1/generated/validators/cursorPagination.zod.js +45 -0
- package/dist/eventbus/v1/generated/validators/error.zod.d.ts +56 -0
- package/dist/eventbus/v1/generated/validators/error.zod.js +45 -0
- package/dist/eventbus/v1/generated/validators/errorStatus.zod.d.ts +54 -0
- package/dist/eventbus/v1/generated/validators/errorStatus.zod.js +69 -0
- package/dist/eventbus/v1/generated/validators/eventDetail.zod.d.ts +65 -0
- package/dist/eventbus/v1/generated/validators/eventDetail.zod.js +62 -0
- package/dist/eventbus/v1/generated/validators/eventList.zod.d.ts +58 -0
- package/dist/eventbus/v1/generated/validators/eventList.zod.js +50 -0
- package/dist/eventbus/v1/generated/validators/eventResource.zod.d.ts +55 -0
- package/dist/eventbus/v1/generated/validators/eventResource.zod.js +60 -0
- package/dist/eventbus/v1/generated/validators/eventStatus.zod.d.ts +45 -0
- package/dist/eventbus/v1/generated/validators/eventStatus.zod.js +42 -0
- package/dist/eventbus/v1/generated/validators/eventVersion.zod.d.ts +51 -0
- package/dist/eventbus/v1/generated/validators/eventVersion.zod.js +53 -0
- package/dist/eventbus/v1/generated/validators/fieldViolation.zod.d.ts +45 -0
- package/dist/eventbus/v1/generated/validators/fieldViolation.zod.js +48 -0
- package/dist/eventbus/v1/generated/validators/listEventsParams.zod.d.ts +55 -0
- package/dist/eventbus/v1/generated/validators/listEventsParams.zod.js +57 -0
- package/dist/eventbus/v1/generated/validators/offsetPagination.zod.d.ts +47 -0
- package/dist/eventbus/v1/generated/validators/offsetPagination.zod.js +47 -0
- package/dist/eventbus/v1/generated/validators/publishRequest.zod.d.ts +49 -0
- package/dist/eventbus/v1/generated/validators/publishRequest.zod.js +55 -0
- package/dist/eventbus/v1/generated/validators/publishResponse.zod.d.ts +47 -0
- package/dist/eventbus/v1/generated/validators/publishResponse.zod.js +47 -0
- package/dist/eventbus/v1/generated/validators/realtimeTicket.zod.d.ts +46 -0
- package/dist/eventbus/v1/generated/validators/realtimeTicket.zod.js +46 -0
- package/dist/eventbus/v1/generated/validators/updateEventRequest.zod.d.ts +51 -0
- package/dist/eventbus/v1/generated/validators/updateEventRequest.zod.js +54 -0
- package/dist/eventbus/v1/index.d.ts +3 -0
- package/dist/eventbus/v1/index.js +3 -0
- package/dist/iam/v1/generated/functions.d.ts +679 -0
- package/dist/iam/v1/generated/functions.js +760 -0
- package/dist/iam/v1/generated/models.d.ts +635 -0
- package/dist/iam/v1/generated/models.js +37 -0
- package/dist/iam/v1/generated/schemas.zod.d.ts +280 -0
- package/dist/iam/v1/generated/schemas.zod.js +275 -0
- package/dist/iam/v1/generated/validators/attachPolicyRequestBody.zod.d.ts +33 -0
- package/dist/iam/v1/generated/validators/attachPolicyRequestBody.zod.js +43 -0
- package/dist/iam/v1/generated/validators/batchGetMembersRequestBody.zod.d.ts +22 -0
- package/dist/iam/v1/generated/validators/batchGetMembersRequestBody.zod.js +23 -0
- package/dist/iam/v1/generated/validators/batchGetMembersResponseBody.zod.d.ts +27 -0
- package/dist/iam/v1/generated/validators/batchGetMembersResponseBody.zod.js +21 -0
- package/dist/iam/v1/generated/validators/catalogListResponseBody.zod.d.ts +30 -0
- package/dist/iam/v1/generated/validators/catalogListResponseBody.zod.js +19 -0
- package/dist/iam/v1/generated/validators/catalogResource.zod.d.ts +28 -0
- package/dist/iam/v1/generated/validators/catalogResource.zod.js +25 -0
- package/dist/iam/v1/generated/validators/createRoleRequestBody.zod.d.ts +26 -0
- package/dist/iam/v1/generated/validators/createRoleRequestBody.zod.js +31 -0
- package/dist/iam/v1/generated/validators/createSSHKeyRequestBody.zod.d.ts +30 -0
- package/dist/iam/v1/generated/validators/createSSHKeyRequestBody.zod.js +36 -0
- package/dist/iam/v1/generated/validators/cursorPagination.zod.d.ts +21 -0
- package/dist/iam/v1/generated/validators/cursorPagination.zod.js +21 -0
- package/dist/iam/v1/generated/validators/error.zod.d.ts +32 -0
- package/dist/iam/v1/generated/validators/error.zod.js +21 -0
- package/dist/iam/v1/generated/validators/errorStatus.zod.d.ts +30 -0
- package/dist/iam/v1/generated/validators/errorStatus.zod.js +45 -0
- package/dist/iam/v1/generated/validators/fieldViolation.zod.d.ts +21 -0
- package/dist/iam/v1/generated/validators/fieldViolation.zod.js +24 -0
- package/dist/iam/v1/generated/validators/grantResource.zod.d.ts +33 -0
- package/dist/iam/v1/generated/validators/grantResource.zod.js +25 -0
- package/dist/iam/v1/generated/validators/invitationResource.zod.d.ts +26 -0
- package/dist/iam/v1/generated/validators/invitationResource.zod.js +24 -0
- package/dist/iam/v1/generated/validators/issueInvitationRequestBody.zod.d.ts +22 -0
- package/dist/iam/v1/generated/validators/issueInvitationRequestBody.zod.js +24 -0
- package/dist/iam/v1/generated/validators/issuedInvitationResponseBody.zod.d.ts +29 -0
- package/dist/iam/v1/generated/validators/issuedInvitationResponseBody.zod.js +22 -0
- package/dist/iam/v1/generated/validators/lengthAwarePageInvitationResource.zod.d.ts +31 -0
- package/dist/iam/v1/generated/validators/lengthAwarePageInvitationResource.zod.js +22 -0
- package/dist/iam/v1/generated/validators/lengthAwarePageMemberResource.zod.d.ts +47 -0
- package/dist/iam/v1/generated/validators/lengthAwarePageMemberResource.zod.js +22 -0
- package/dist/iam/v1/generated/validators/lengthAwarePageSSHKeyResource.zod.d.ts +37 -0
- package/dist/iam/v1/generated/validators/lengthAwarePageSSHKeyResource.zod.js +22 -0
- package/dist/iam/v1/generated/validators/listMembersParams.zod.d.ts +28 -0
- package/dist/iam/v1/generated/validators/listMembersParams.zod.js +34 -0
- package/dist/iam/v1/generated/validators/listPoliciesParams.zod.d.ts +21 -0
- package/dist/iam/v1/generated/validators/listPoliciesParams.zod.js +23 -0
- package/dist/iam/v1/generated/validators/listProjectInvitationsParams.zod.d.ts +26 -0
- package/dist/iam/v1/generated/validators/listProjectInvitationsParams.zod.js +32 -0
- package/dist/iam/v1/generated/validators/listSshKeysParams.zod.d.ts +32 -0
- package/dist/iam/v1/generated/validators/listSshKeysParams.zod.js +38 -0
- package/dist/iam/v1/generated/validators/memberResource.zod.d.ts +42 -0
- package/dist/iam/v1/generated/validators/memberResource.zod.js +28 -0
- package/dist/iam/v1/generated/validators/membershipResource.zod.d.ts +48 -0
- package/dist/iam/v1/generated/validators/membershipResource.zod.js +25 -0
- package/dist/iam/v1/generated/validators/offsetPagination.zod.d.ts +23 -0
- package/dist/iam/v1/generated/validators/offsetPagination.zod.js +23 -0
- package/dist/iam/v1/generated/validators/ownershipTransferResponseBody.zod.d.ts +69 -0
- package/dist/iam/v1/generated/validators/ownershipTransferResponseBody.zod.js +20 -0
- package/dist/iam/v1/generated/validators/permissionResource.zod.d.ts +22 -0
- package/dist/iam/v1/generated/validators/permissionResource.zod.js +26 -0
- package/dist/iam/v1/generated/validators/policyListResponseBody.zod.d.ts +37 -0
- package/dist/iam/v1/generated/validators/policyListResponseBody.zod.js +19 -0
- package/dist/iam/v1/generated/validators/policyResource.zod.d.ts +35 -0
- package/dist/iam/v1/generated/validators/policyResource.zod.js +33 -0
- package/dist/iam/v1/generated/validators/projectAccessResource.zod.d.ts +60 -0
- package/dist/iam/v1/generated/validators/projectAccessResource.zod.js +21 -0
- package/dist/iam/v1/generated/validators/projectResource.zod.d.ts +43 -0
- package/dist/iam/v1/generated/validators/projectResource.zod.js +39 -0
- package/dist/iam/v1/generated/validators/projectTraitResource.zod.d.ts +26 -0
- package/dist/iam/v1/generated/validators/projectTraitResource.zod.js +21 -0
- package/dist/iam/v1/generated/validators/quotaListResponseBody.zod.d.ts +25 -0
- package/dist/iam/v1/generated/validators/quotaListResponseBody.zod.js +19 -0
- package/dist/iam/v1/generated/validators/quotaResource.zod.d.ts +23 -0
- package/dist/iam/v1/generated/validators/quotaResource.zod.js +21 -0
- package/dist/iam/v1/generated/validators/renameSSHKeyRequestBody.zod.d.ts +21 -0
- package/dist/iam/v1/generated/validators/renameSSHKeyRequestBody.zod.js +19 -0
- package/dist/iam/v1/generated/validators/resolvedMemberResource.zod.d.ts +25 -0
- package/dist/iam/v1/generated/validators/resolvedMemberResource.zod.js +27 -0
- package/dist/iam/v1/generated/validators/resourceRefResource.zod.d.ts +21 -0
- package/dist/iam/v1/generated/validators/resourceRefResource.zod.js +23 -0
- package/dist/iam/v1/generated/validators/resourceTypeResource.zod.d.ts +20 -0
- package/dist/iam/v1/generated/validators/resourceTypeResource.zod.js +20 -0
- package/dist/iam/v1/generated/validators/roleListResponseBody.zod.d.ts +28 -0
- package/dist/iam/v1/generated/validators/roleListResponseBody.zod.js +19 -0
- package/dist/iam/v1/generated/validators/roleResource.zod.d.ts +26 -0
- package/dist/iam/v1/generated/validators/roleResource.zod.js +26 -0
- package/dist/iam/v1/generated/validators/ruleResource.zod.d.ts +28 -0
- package/dist/iam/v1/generated/validators/ruleResource.zod.js +27 -0
- package/dist/iam/v1/generated/validators/sSHKeyResource.zod.d.ts +32 -0
- package/dist/iam/v1/generated/validators/sSHKeyResource.zod.js +35 -0
- package/dist/iam/v1/generated/validators/setMemberPermissionsRequestBody.zod.d.ts +20 -0
- package/dist/iam/v1/generated/validators/setMemberPermissionsRequestBody.zod.js +21 -0
- package/dist/iam/v1/generated/validators/setMemberRolesRequestBody.zod.d.ts +20 -0
- package/dist/iam/v1/generated/validators/setMemberRolesRequestBody.zod.js +21 -0
- package/dist/iam/v1/generated/validators/setProjectSlugRequestBody.zod.d.ts +22 -0
- package/dist/iam/v1/generated/validators/setProjectSlugRequestBody.zod.js +24 -0
- package/dist/iam/v1/generated/validators/transferOwnershipRequestBody.zod.d.ts +21 -0
- package/dist/iam/v1/generated/validators/transferOwnershipRequestBody.zod.js +23 -0
- package/dist/iam/v1/generated/validators/updatePolicyRequestBody.zod.d.ts +31 -0
- package/dist/iam/v1/generated/validators/updatePolicyRequestBody.zod.js +39 -0
- package/dist/iam/v1/generated/validators/updateProjectRequestBody.zod.d.ts +23 -0
- package/dist/iam/v1/generated/validators/updateProjectRequestBody.zod.js +21 -0
- package/dist/iam/v1/generated/validators/updateRoleRequestBody.zod.d.ts +24 -0
- package/dist/iam/v1/generated/validators/updateRoleRequestBody.zod.js +22 -0
- package/dist/iam/v1/index.d.ts +3 -62
- package/dist/iam/v1/index.js +3 -5
- package/dist/index.d.ts +15 -10
- package/dist/index.js +15 -6
- package/dist/membership/v1/generated/functions.d.ts +223 -0
- package/dist/membership/v1/generated/functions.js +255 -0
- package/dist/membership/v1/generated/models.d.ts +512 -0
- package/dist/membership/v1/generated/models.js +41 -0
- package/dist/membership/v1/generated/schemas.zod.d.ts +134 -0
- package/dist/membership/v1/generated/schemas.zod.js +161 -0
- package/dist/membership/v1/generated/validators/allowanceBenefit.zod.d.ts +21 -0
- package/dist/membership/v1/generated/validators/allowanceBenefit.zod.js +21 -0
- package/dist/membership/v1/generated/validators/benefit.zod.d.ts +61 -0
- package/dist/membership/v1/generated/validators/benefit.zod.js +22 -0
- package/dist/membership/v1/generated/validators/checkoutMode.zod.d.ts +14 -0
- package/dist/membership/v1/generated/validators/checkoutMode.zod.js +11 -0
- package/dist/membership/v1/generated/validators/checkoutOptions.zod.d.ts +21 -0
- package/dist/membership/v1/generated/validators/checkoutOptions.zod.js +26 -0
- package/dist/membership/v1/generated/validators/creditBenefit.zod.d.ts +19 -0
- package/dist/membership/v1/generated/validators/creditBenefit.zod.js +23 -0
- package/dist/membership/v1/generated/validators/currency.zod.d.ts +12 -0
- package/dist/membership/v1/generated/validators/currency.zod.js +10 -0
- package/dist/membership/v1/generated/validators/cursorPagination.zod.d.ts +14 -0
- package/dist/membership/v1/generated/validators/cursorPagination.zod.js +14 -0
- package/dist/membership/v1/generated/validators/discountBenefit.zod.d.ts +24 -0
- package/dist/membership/v1/generated/validators/discountBenefit.zod.js +22 -0
- package/dist/membership/v1/generated/validators/error.zod.d.ts +25 -0
- package/dist/membership/v1/generated/validators/error.zod.js +14 -0
- package/dist/membership/v1/generated/validators/errorStatus.zod.d.ts +23 -0
- package/dist/membership/v1/generated/validators/errorStatus.zod.js +38 -0
- package/dist/membership/v1/generated/validators/featureBenefit.zod.d.ts +18 -0
- package/dist/membership/v1/generated/validators/featureBenefit.zod.js +16 -0
- package/dist/membership/v1/generated/validators/fieldViolation.zod.d.ts +14 -0
- package/dist/membership/v1/generated/validators/fieldViolation.zod.js +17 -0
- package/dist/membership/v1/generated/validators/getPlanParams.zod.d.ts +13 -0
- package/dist/membership/v1/generated/validators/getPlanParams.zod.js +12 -0
- package/dist/membership/v1/generated/validators/grant.zod.d.ts +73 -0
- package/dist/membership/v1/generated/validators/grant.zod.js +34 -0
- package/dist/membership/v1/generated/validators/listMembershipPeriodsParams.zod.d.ts +18 -0
- package/dist/membership/v1/generated/validators/listMembershipPeriodsParams.zod.js +24 -0
- package/dist/membership/v1/generated/validators/listMembershipUpgradeOptionsParams.zod.d.ts +18 -0
- package/dist/membership/v1/generated/validators/listMembershipUpgradeOptionsParams.zod.js +24 -0
- package/dist/membership/v1/generated/validators/listMembershipsParams.zod.d.ts +19 -0
- package/dist/membership/v1/generated/validators/listMembershipsParams.zod.js +25 -0
- package/dist/membership/v1/generated/validators/listPlansParams.zod.d.ts +19 -0
- package/dist/membership/v1/generated/validators/listPlansParams.zod.js +22 -0
- package/dist/membership/v1/generated/validators/membership.zod.d.ts +110 -0
- package/dist/membership/v1/generated/validators/membership.zod.js +38 -0
- package/dist/membership/v1/generated/validators/membershipCreate.zod.d.ts +23 -0
- package/dist/membership/v1/generated/validators/membershipCreate.zod.js +17 -0
- package/dist/membership/v1/generated/validators/membershipDowngrade.zod.d.ts +13 -0
- package/dist/membership/v1/generated/validators/membershipDowngrade.zod.js +13 -0
- package/dist/membership/v1/generated/validators/membershipList.zod.d.ts +117 -0
- package/dist/membership/v1/generated/validators/membershipList.zod.js +14 -0
- package/dist/membership/v1/generated/validators/membershipPurchase.zod.d.ts +114 -0
- package/dist/membership/v1/generated/validators/membershipPurchase.zod.js +21 -0
- package/dist/membership/v1/generated/validators/membershipUpgrade.zod.d.ts +21 -0
- package/dist/membership/v1/generated/validators/membershipUpgrade.zod.js +13 -0
- package/dist/membership/v1/generated/validators/money.zod.d.ts +11 -0
- package/dist/membership/v1/generated/validators/money.zod.js +11 -0
- package/dist/membership/v1/generated/validators/namedIdentity.zod.d.ts +15 -0
- package/dist/membership/v1/generated/validators/namedIdentity.zod.js +15 -0
- package/dist/membership/v1/generated/validators/offsetPagination.zod.d.ts +16 -0
- package/dist/membership/v1/generated/validators/offsetPagination.zod.js +16 -0
- package/dist/membership/v1/generated/validators/period.zod.d.ts +85 -0
- package/dist/membership/v1/generated/validators/period.zod.js +20 -0
- package/dist/membership/v1/generated/validators/periodList.zod.d.ts +92 -0
- package/dist/membership/v1/generated/validators/periodList.zod.js +14 -0
- package/dist/membership/v1/generated/validators/plan.zod.d.ts +77 -0
- package/dist/membership/v1/generated/validators/plan.zod.js +19 -0
- package/dist/membership/v1/generated/validators/planList.zod.d.ts +84 -0
- package/dist/membership/v1/generated/validators/planList.zod.js +14 -0
- package/dist/membership/v1/generated/validators/planPrice.zod.d.ts +19 -0
- package/dist/membership/v1/generated/validators/planPrice.zod.js +17 -0
- package/dist/membership/v1/generated/validators/planSummary.zod.d.ts +16 -0
- package/dist/membership/v1/generated/validators/planSummary.zod.js +16 -0
- package/dist/membership/v1/generated/validators/productIdentity.zod.d.ts +14 -0
- package/dist/membership/v1/generated/validators/productIdentity.zod.js +14 -0
- package/dist/membership/v1/generated/validators/upgradeOption.zod.d.ts +19 -0
- package/dist/membership/v1/generated/validators/upgradeOption.zod.js +18 -0
- package/dist/membership/v1/generated/validators/upgradeOptionList.zod.d.ts +26 -0
- package/dist/membership/v1/generated/validators/upgradeOptionList.zod.js +14 -0
- package/dist/membership/v1/index.d.ts +3 -0
- package/dist/membership/v1/index.js +3 -0
- package/dist/monitoring/v1/generated/functions.d.ts +1443 -0
- package/dist/monitoring/v1/generated/functions.js +1583 -0
- package/dist/monitoring/v1/generated/models.d.ts +1681 -0
- package/dist/monitoring/v1/generated/models.js +305 -0
- package/dist/monitoring/v1/generated/schemas.zod.d.ts +815 -0
- package/dist/monitoring/v1/generated/schemas.zod.js +626 -0
- package/dist/monitoring/v1/generated/validators/acknowledgeIncidentRequestBody.zod.d.ts +27 -0
- package/dist/monitoring/v1/generated/validators/acknowledgeIncidentRequestBody.zod.js +29 -0
- package/dist/monitoring/v1/generated/validators/addCommentRequestBody.zod.d.ts +27 -0
- package/dist/monitoring/v1/generated/validators/addCommentRequestBody.zod.js +25 -0
- package/dist/monitoring/v1/generated/validators/assignIncidentRequestBody.zod.d.ts +29 -0
- package/dist/monitoring/v1/generated/validators/assignIncidentRequestBody.zod.js +31 -0
- package/dist/monitoring/v1/generated/validators/closeIncidentRequestBody.zod.d.ts +36 -0
- package/dist/monitoring/v1/generated/validators/closeIncidentRequestBody.zod.js +38 -0
- package/dist/monitoring/v1/generated/validators/countResource.zod.d.ts +27 -0
- package/dist/monitoring/v1/generated/validators/countResource.zod.js +25 -0
- package/dist/monitoring/v1/generated/validators/cursorPageIncidentActivityResource.zod.d.ts +54 -0
- package/dist/monitoring/v1/generated/validators/cursorPageIncidentActivityResource.zod.js +28 -0
- package/dist/monitoring/v1/generated/validators/cursorPagination.zod.d.ts +27 -0
- package/dist/monitoring/v1/generated/validators/cursorPagination.zod.js +27 -0
- package/dist/monitoring/v1/generated/validators/enableMonitoringRequestBody.zod.d.ts +58 -0
- package/dist/monitoring/v1/generated/validators/enableMonitoringRequestBody.zod.js +44 -0
- package/dist/monitoring/v1/generated/validators/enrollmentResource.zod.d.ts +31 -0
- package/dist/monitoring/v1/generated/validators/enrollmentResource.zod.js +33 -0
- package/dist/monitoring/v1/generated/validators/error.zod.d.ts +38 -0
- package/dist/monitoring/v1/generated/validators/error.zod.js +27 -0
- package/dist/monitoring/v1/generated/validators/errorStatus.zod.d.ts +36 -0
- package/dist/monitoring/v1/generated/validators/errorStatus.zod.js +51 -0
- package/dist/monitoring/v1/generated/validators/fieldViolation.zod.d.ts +27 -0
- package/dist/monitoring/v1/generated/validators/fieldViolation.zod.js +30 -0
- package/dist/monitoring/v1/generated/validators/getServerMetricParams.zod.d.ts +32 -0
- package/dist/monitoring/v1/generated/validators/getServerMetricParams.zod.js +40 -0
- package/dist/monitoring/v1/generated/validators/getSliReportParams.zod.d.ts +30 -0
- package/dist/monitoring/v1/generated/validators/getSliReportParams.zod.js +33 -0
- package/dist/monitoring/v1/generated/validators/hostInterfaceResource.zod.d.ts +30 -0
- package/dist/monitoring/v1/generated/validators/hostInterfaceResource.zod.js +28 -0
- package/dist/monitoring/v1/generated/validators/incidentActivityResource.zod.d.ts +51 -0
- package/dist/monitoring/v1/generated/validators/incidentActivityResource.zod.js +47 -0
- package/dist/monitoring/v1/generated/validators/incidentFollowerResource.zod.d.ts +28 -0
- package/dist/monitoring/v1/generated/validators/incidentFollowerResource.zod.js +26 -0
- package/dist/monitoring/v1/generated/validators/incidentResource.zod.d.ts +85 -0
- package/dist/monitoring/v1/generated/validators/incidentResource.zod.js +67 -0
- package/dist/monitoring/v1/generated/validators/itemListResponseBody.zod.d.ts +44 -0
- package/dist/monitoring/v1/generated/validators/itemListResponseBody.zod.js +25 -0
- package/dist/monitoring/v1/generated/validators/itemResource.zod.d.ts +42 -0
- package/dist/monitoring/v1/generated/validators/itemResource.zod.js +32 -0
- package/dist/monitoring/v1/generated/validators/itemThresholdResource.zod.d.ts +32 -0
- package/dist/monitoring/v1/generated/validators/itemThresholdResource.zod.js +30 -0
- package/dist/monitoring/v1/generated/validators/lengthAwarePageIncidentResource.zod.d.ts +90 -0
- package/dist/monitoring/v1/generated/validators/lengthAwarePageIncidentResource.zod.js +28 -0
- package/dist/monitoring/v1/generated/validators/lengthAwarePageServerResource.zod.d.ts +61 -0
- package/dist/monitoring/v1/generated/validators/lengthAwarePageServerResource.zod.js +28 -0
- package/dist/monitoring/v1/generated/validators/lengthAwarePageStatusPageIncidentResource.zod.d.ts +76 -0
- package/dist/monitoring/v1/generated/validators/lengthAwarePageStatusPageIncidentResource.zod.js +28 -0
- package/dist/monitoring/v1/generated/validators/lengthAwarePageStatusPageMaintenanceResource.zod.d.ts +51 -0
- package/dist/monitoring/v1/generated/validators/lengthAwarePageStatusPageMaintenanceResource.zod.js +28 -0
- package/dist/monitoring/v1/generated/validators/listIncidentTimelineParams.zod.d.ts +30 -0
- package/dist/monitoring/v1/generated/validators/listIncidentTimelineParams.zod.js +32 -0
- package/dist/monitoring/v1/generated/validators/listIncidentsParams.zod.d.ts +66 -0
- package/dist/monitoring/v1/generated/validators/listIncidentsParams.zod.js +64 -0
- package/dist/monitoring/v1/generated/validators/listProjectTopItemsParams.zod.d.ts +33 -0
- package/dist/monitoring/v1/generated/validators/listProjectTopItemsParams.zod.js +32 -0
- package/dist/monitoring/v1/generated/validators/listServerItemsParams.zod.d.ts +28 -0
- package/dist/monitoring/v1/generated/validators/listServerItemsParams.zod.js +33 -0
- package/dist/monitoring/v1/generated/validators/listServersParams.zod.d.ts +40 -0
- package/dist/monitoring/v1/generated/validators/listServersParams.zod.js +41 -0
- package/dist/monitoring/v1/generated/validators/listStatusPageIncidentsParams.zod.d.ts +32 -0
- package/dist/monitoring/v1/generated/validators/listStatusPageIncidentsParams.zod.js +38 -0
- package/dist/monitoring/v1/generated/validators/listStatusPageMaintenancesParams.zod.d.ts +32 -0
- package/dist/monitoring/v1/generated/validators/listStatusPageMaintenancesParams.zod.js +38 -0
- package/dist/monitoring/v1/generated/validators/listWebChecksParams.zod.d.ts +26 -0
- package/dist/monitoring/v1/generated/validators/listWebChecksParams.zod.js +27 -0
- package/dist/monitoring/v1/generated/validators/maintenancePeriodRequest.zod.d.ts +41 -0
- package/dist/monitoring/v1/generated/validators/maintenancePeriodRequest.zod.js +49 -0
- package/dist/monitoring/v1/generated/validators/maintenancePeriodResource.zod.d.ts +35 -0
- package/dist/monitoring/v1/generated/validators/maintenancePeriodResource.zod.js +31 -0
- package/dist/monitoring/v1/generated/validators/maintenanceWindowListResponseBody.zod.d.ts +54 -0
- package/dist/monitoring/v1/generated/validators/maintenanceWindowListResponseBody.zod.js +25 -0
- package/dist/monitoring/v1/generated/validators/maintenanceWindowResource.zod.d.ts +52 -0
- package/dist/monitoring/v1/generated/validators/maintenanceWindowResource.zod.js +35 -0
- package/dist/monitoring/v1/generated/validators/metricPointResource.zod.d.ts +29 -0
- package/dist/monitoring/v1/generated/validators/metricPointResource.zod.js +27 -0
- package/dist/monitoring/v1/generated/validators/metricResponseBody.zod.d.ts +51 -0
- package/dist/monitoring/v1/generated/validators/metricResponseBody.zod.js +32 -0
- package/dist/monitoring/v1/generated/validators/metricSeriesResource.zod.d.ts +35 -0
- package/dist/monitoring/v1/generated/validators/metricSeriesResource.zod.js +29 -0
- package/dist/monitoring/v1/generated/validators/monitoringItemResource.zod.d.ts +34 -0
- package/dist/monitoring/v1/generated/validators/monitoringItemResource.zod.js +32 -0
- package/dist/monitoring/v1/generated/validators/offsetPagination.zod.d.ts +29 -0
- package/dist/monitoring/v1/generated/validators/offsetPagination.zod.js +29 -0
- package/dist/monitoring/v1/generated/validators/postStatusPageIncidentUpdateRequestBody.zod.d.ts +43 -0
- package/dist/monitoring/v1/generated/validators/postStatusPageIncidentUpdateRequestBody.zod.js +34 -0
- package/dist/monitoring/v1/generated/validators/projectOverviewResource.zod.d.ts +35 -0
- package/dist/monitoring/v1/generated/validators/projectOverviewResource.zod.js +28 -0
- package/dist/monitoring/v1/generated/validators/publishStatusPageIncidentRequestBody.zod.d.ts +53 -0
- package/dist/monitoring/v1/generated/validators/publishStatusPageIncidentRequestBody.zod.js +48 -0
- package/dist/monitoring/v1/generated/validators/putMaintenanceWindowRequestBody.zod.d.ts +46 -0
- package/dist/monitoring/v1/generated/validators/putMaintenanceWindowRequestBody.zod.js +40 -0
- package/dist/monitoring/v1/generated/validators/putSLORequestBody.zod.d.ts +54 -0
- package/dist/monitoring/v1/generated/validators/putSLORequestBody.zod.js +47 -0
- package/dist/monitoring/v1/generated/validators/putStatusPageComponentRequestBody.zod.d.ts +44 -0
- package/dist/monitoring/v1/generated/validators/putStatusPageComponentRequestBody.zod.js +47 -0
- package/dist/monitoring/v1/generated/validators/putStatusPageComponentSourcesRequestBody.zod.d.ts +32 -0
- package/dist/monitoring/v1/generated/validators/putStatusPageComponentSourcesRequestBody.zod.js +29 -0
- package/dist/monitoring/v1/generated/validators/putStatusPageDomainRequestBody.zod.d.ts +27 -0
- package/dist/monitoring/v1/generated/validators/putStatusPageDomainRequestBody.zod.js +29 -0
- package/dist/monitoring/v1/generated/validators/putStatusPageGroupOrderRequestBody.zod.d.ts +26 -0
- package/dist/monitoring/v1/generated/validators/putStatusPageGroupOrderRequestBody.zod.js +24 -0
- package/dist/monitoring/v1/generated/validators/putStatusPageGroupRequestBody.zod.d.ts +31 -0
- package/dist/monitoring/v1/generated/validators/putStatusPageGroupRequestBody.zod.js +29 -0
- package/dist/monitoring/v1/generated/validators/putStatusPageOrderRequestBody.zod.d.ts +29 -0
- package/dist/monitoring/v1/generated/validators/putStatusPageOrderRequestBody.zod.js +25 -0
- package/dist/monitoring/v1/generated/validators/putStatusPageRequestBody.zod.d.ts +61 -0
- package/dist/monitoring/v1/generated/validators/putStatusPageRequestBody.zod.js +96 -0
- package/dist/monitoring/v1/generated/validators/putWebCheckRequestBody.zod.d.ts +40 -0
- package/dist/monitoring/v1/generated/validators/putWebCheckRequestBody.zod.js +41 -0
- package/dist/monitoring/v1/generated/validators/sLIReportResponseBody.zod.d.ts +35 -0
- package/dist/monitoring/v1/generated/validators/sLIReportResponseBody.zod.js +25 -0
- package/dist/monitoring/v1/generated/validators/sLIReportRowResource.zod.d.ts +33 -0
- package/dist/monitoring/v1/generated/validators/sLIReportRowResource.zod.js +33 -0
- package/dist/monitoring/v1/generated/validators/sLOResource.zod.d.ts +57 -0
- package/dist/monitoring/v1/generated/validators/sLOResource.zod.js +35 -0
- package/dist/monitoring/v1/generated/validators/scheduleStatusPageMaintenanceRequestBody.zod.d.ts +37 -0
- package/dist/monitoring/v1/generated/validators/scheduleStatusPageMaintenanceRequestBody.zod.js +35 -0
- package/dist/monitoring/v1/generated/validators/scheduleWindowRequest.zod.d.ts +33 -0
- package/dist/monitoring/v1/generated/validators/scheduleWindowRequest.zod.js +43 -0
- package/dist/monitoring/v1/generated/validators/scheduleWindowResource.zod.d.ts +28 -0
- package/dist/monitoring/v1/generated/validators/scheduleWindowResource.zod.js +28 -0
- package/dist/monitoring/v1/generated/validators/serverEnrollmentResponseBody.zod.d.ts +66 -0
- package/dist/monitoring/v1/generated/validators/serverEnrollmentResponseBody.zod.js +27 -0
- package/dist/monitoring/v1/generated/validators/serverResource.zod.d.ts +56 -0
- package/dist/monitoring/v1/generated/validators/serverResource.zod.js +42 -0
- package/dist/monitoring/v1/generated/validators/serverResourcesResource.zod.d.ts +37 -0
- package/dist/monitoring/v1/generated/validators/serverResourcesResource.zod.js +30 -0
- package/dist/monitoring/v1/generated/validators/serverTemplateResource.zod.d.ts +30 -0
- package/dist/monitoring/v1/generated/validators/serverTemplateResource.zod.js +28 -0
- package/dist/monitoring/v1/generated/validators/setFollowingRequestBody.zod.d.ts +26 -0
- package/dist/monitoring/v1/generated/validators/setFollowingRequestBody.zod.js +24 -0
- package/dist/monitoring/v1/generated/validators/snapshotResource.zod.d.ts +38 -0
- package/dist/monitoring/v1/generated/validators/snapshotResource.zod.js +31 -0
- package/dist/monitoring/v1/generated/validators/statusPageComponentListResponseBody.zod.d.ts +52 -0
- package/dist/monitoring/v1/generated/validators/statusPageComponentListResponseBody.zod.js +25 -0
- package/dist/monitoring/v1/generated/validators/statusPageComponentResource.zod.d.ts +50 -0
- package/dist/monitoring/v1/generated/validators/statusPageComponentResource.zod.js +56 -0
- package/dist/monitoring/v1/generated/validators/statusPageComponentSourceServer.zod.d.ts +26 -0
- package/dist/monitoring/v1/generated/validators/statusPageComponentSourceServer.zod.js +24 -0
- package/dist/monitoring/v1/generated/validators/statusPageComponentSourceWebCheck.zod.d.ts +28 -0
- package/dist/monitoring/v1/generated/validators/statusPageComponentSourceWebCheck.zod.js +29 -0
- package/dist/monitoring/v1/generated/validators/statusPageComponentSourcesResource.zod.d.ts +32 -0
- package/dist/monitoring/v1/generated/validators/statusPageComponentSourcesResource.zod.js +27 -0
- package/dist/monitoring/v1/generated/validators/statusPageDomainResource.zod.d.ts +39 -0
- package/dist/monitoring/v1/generated/validators/statusPageDomainResource.zod.js +46 -0
- package/dist/monitoring/v1/generated/validators/statusPageGroupListResponseBody.zod.d.ts +33 -0
- package/dist/monitoring/v1/generated/validators/statusPageGroupListResponseBody.zod.js +25 -0
- package/dist/monitoring/v1/generated/validators/statusPageGroupResource.zod.d.ts +31 -0
- package/dist/monitoring/v1/generated/validators/statusPageGroupResource.zod.js +29 -0
- package/dist/monitoring/v1/generated/validators/statusPageIncidentComponentRequest.zod.d.ts +33 -0
- package/dist/monitoring/v1/generated/validators/statusPageIncidentComponentRequest.zod.js +34 -0
- package/dist/monitoring/v1/generated/validators/statusPageIncidentComponentResource.zod.d.ts +41 -0
- package/dist/monitoring/v1/generated/validators/statusPageIncidentComponentResource.zod.js +41 -0
- package/dist/monitoring/v1/generated/validators/statusPageIncidentResource.zod.d.ts +71 -0
- package/dist/monitoring/v1/generated/validators/statusPageIncidentResource.zod.js +37 -0
- package/dist/monitoring/v1/generated/validators/statusPageIncidentUpdateResource.zod.d.ts +52 -0
- package/dist/monitoring/v1/generated/validators/statusPageIncidentUpdateResource.zod.js +29 -0
- package/dist/monitoring/v1/generated/validators/statusPageMaintenanceComponentRequest.zod.d.ts +31 -0
- package/dist/monitoring/v1/generated/validators/statusPageMaintenanceComponentRequest.zod.js +29 -0
- package/dist/monitoring/v1/generated/validators/statusPageMaintenanceComponentResource.zod.d.ts +31 -0
- package/dist/monitoring/v1/generated/validators/statusPageMaintenanceComponentResource.zod.js +26 -0
- package/dist/monitoring/v1/generated/validators/statusPageMaintenanceResource.zod.d.ts +46 -0
- package/dist/monitoring/v1/generated/validators/statusPageMaintenanceResource.zod.js +39 -0
- package/dist/monitoring/v1/generated/validators/statusPageOrderItem.zod.d.ts +27 -0
- package/dist/monitoring/v1/generated/validators/statusPageOrderItem.zod.js +27 -0
- package/dist/monitoring/v1/generated/validators/statusPageResource.zod.d.ts +47 -0
- package/dist/monitoring/v1/generated/validators/statusPageResource.zod.js +51 -0
- package/dist/monitoring/v1/generated/validators/tagResource.zod.d.ts +27 -0
- package/dist/monitoring/v1/generated/validators/tagResource.zod.js +25 -0
- package/dist/monitoring/v1/generated/validators/templateBindingRequest.zod.d.ts +39 -0
- package/dist/monitoring/v1/generated/validators/templateBindingRequest.zod.js +40 -0
- package/dist/monitoring/v1/generated/validators/templateCatalogEntryResource.zod.d.ts +46 -0
- package/dist/monitoring/v1/generated/validators/templateCatalogEntryResource.zod.js +42 -0
- package/dist/monitoring/v1/generated/validators/templateCatalogParameterResource.zod.d.ts +39 -0
- package/dist/monitoring/v1/generated/validators/templateCatalogParameterResource.zod.js +47 -0
- package/dist/monitoring/v1/generated/validators/templateCatalogResponseBody.zod.d.ts +48 -0
- package/dist/monitoring/v1/generated/validators/templateCatalogResponseBody.zod.js +25 -0
- package/dist/monitoring/v1/generated/validators/topItemListResponseBody.zod.d.ts +31 -0
- package/dist/monitoring/v1/generated/validators/topItemListResponseBody.zod.js +25 -0
- package/dist/monitoring/v1/generated/validators/topItemResource.zod.d.ts +29 -0
- package/dist/monitoring/v1/generated/validators/topItemResource.zod.js +27 -0
- package/dist/monitoring/v1/generated/validators/updateServerRequestBody.zod.d.ts +57 -0
- package/dist/monitoring/v1/generated/validators/updateServerRequestBody.zod.js +41 -0
- package/dist/monitoring/v1/generated/validators/webCheckListResponseBody.zod.d.ts +54 -0
- package/dist/monitoring/v1/generated/validators/webCheckListResponseBody.zod.js +25 -0
- package/dist/monitoring/v1/generated/validators/webCheckResource.zod.d.ts +52 -0
- package/dist/monitoring/v1/generated/validators/webCheckResource.zod.js +39 -0
- package/dist/monitoring/v1/generated/validators/webCheckResultResource.zod.d.ts +31 -0
- package/dist/monitoring/v1/generated/validators/webCheckResultResource.zod.js +29 -0
- package/dist/monitoring/v1/generated/validators/webCheckStepRequest.zod.d.ts +34 -0
- package/dist/monitoring/v1/generated/validators/webCheckStepRequest.zod.js +40 -0
- package/dist/monitoring/v1/generated/validators/webCheckStepResource.zod.d.ts +30 -0
- package/dist/monitoring/v1/generated/validators/webCheckStepResource.zod.js +30 -0
- package/dist/monitoring/v1/index.d.ts +3 -174
- package/dist/monitoring/v1/index.js +3 -5
- package/dist/notification/v1/generated/functions.d.ts +823 -0
- package/dist/notification/v1/generated/functions.js +787 -0
- package/dist/notification/v1/generated/models.d.ts +730 -0
- package/dist/notification/v1/generated/models.js +41 -0
- package/dist/notification/v1/generated/schemas.zod.d.ts +400 -0
- package/dist/notification/v1/generated/schemas.zod.js +412 -0
- package/dist/notification/v1/generated/validators/announcementListResource.zod.d.ts +82 -0
- package/dist/notification/v1/generated/validators/announcementListResource.zod.js +67 -0
- package/dist/notification/v1/generated/validators/announcementReadResultResource.zod.d.ts +67 -0
- package/dist/notification/v1/generated/validators/announcementReadResultResource.zod.js +65 -0
- package/dist/notification/v1/generated/validators/announcementResource.zod.d.ts +79 -0
- package/dist/notification/v1/generated/validators/announcementResource.zod.js +85 -0
- package/dist/notification/v1/generated/validators/authorizeRealtimeChannelRequestBody.zod.d.ts +70 -0
- package/dist/notification/v1/generated/validators/authorizeRealtimeChannelRequestBody.zod.js +76 -0
- package/dist/notification/v1/generated/validators/channelKind.zod.d.ts +70 -0
- package/dist/notification/v1/generated/validators/channelKind.zod.js +65 -0
- package/dist/notification/v1/generated/validators/channelListResponseBody.zod.d.ts +91 -0
- package/dist/notification/v1/generated/validators/channelListResponseBody.zod.js +66 -0
- package/dist/notification/v1/generated/validators/channelResource.zod.d.ts +89 -0
- package/dist/notification/v1/generated/validators/channelResource.zod.js +99 -0
- package/dist/notification/v1/generated/validators/channelScope.zod.d.ts +68 -0
- package/dist/notification/v1/generated/validators/channelScope.zod.js +65 -0
- package/dist/notification/v1/generated/validators/confirmEmailOverrideRequestBody.zod.d.ts +69 -0
- package/dist/notification/v1/generated/validators/confirmEmailOverrideRequestBody.zod.js +71 -0
- package/dist/notification/v1/generated/validators/countUnreadNotificationsParams.zod.d.ts +70 -0
- package/dist/notification/v1/generated/validators/countUnreadNotificationsParams.zod.js +66 -0
- package/dist/notification/v1/generated/validators/createChannelRequestBody.zod.d.ts +82 -0
- package/dist/notification/v1/generated/validators/createChannelRequestBody.zod.js +86 -0
- package/dist/notification/v1/generated/validators/credentialSubjectKind.zod.d.ts +67 -0
- package/dist/notification/v1/generated/validators/credentialSubjectKind.zod.js +65 -0
- package/dist/notification/v1/generated/validators/credentialTicketResource.zod.d.ts +75 -0
- package/dist/notification/v1/generated/validators/credentialTicketResource.zod.js +84 -0
- package/dist/notification/v1/generated/validators/cursorPagination.zod.d.ts +68 -0
- package/dist/notification/v1/generated/validators/cursorPagination.zod.js +68 -0
- package/dist/notification/v1/generated/validators/deleteTypePreferenceParams.zod.d.ts +67 -0
- package/dist/notification/v1/generated/validators/deleteTypePreferenceParams.zod.js +68 -0
- package/dist/notification/v1/generated/validators/emailOverrideCodeResource.zod.d.ts +69 -0
- package/dist/notification/v1/generated/validators/emailOverrideCodeResource.zod.js +73 -0
- package/dist/notification/v1/generated/validators/error.zod.d.ts +79 -0
- package/dist/notification/v1/generated/validators/error.zod.js +68 -0
- package/dist/notification/v1/generated/validators/errorStatus.zod.d.ts +77 -0
- package/dist/notification/v1/generated/validators/errorStatus.zod.js +92 -0
- package/dist/notification/v1/generated/validators/fieldViolation.zod.d.ts +68 -0
- package/dist/notification/v1/generated/validators/fieldViolation.zod.js +71 -0
- package/dist/notification/v1/generated/validators/lengthAwarePageNotificationResource.zod.d.ts +94 -0
- package/dist/notification/v1/generated/validators/lengthAwarePageNotificationResource.zod.js +70 -0
- package/dist/notification/v1/generated/validators/listNotificationsParams.zod.d.ts +88 -0
- package/dist/notification/v1/generated/validators/listNotificationsParams.zod.js +94 -0
- package/dist/notification/v1/generated/validators/listTypePreferencesParams.zod.d.ts +67 -0
- package/dist/notification/v1/generated/validators/listTypePreferencesParams.zod.js +68 -0
- package/dist/notification/v1/generated/validators/listUserChannelsParams.zod.d.ts +76 -0
- package/dist/notification/v1/generated/validators/listUserChannelsParams.zod.js +68 -0
- package/dist/notification/v1/generated/validators/markNotificationsReadRequestBody.zod.d.ts +68 -0
- package/dist/notification/v1/generated/validators/markNotificationsReadRequestBody.zod.js +68 -0
- package/dist/notification/v1/generated/validators/notificationAudience.zod.d.ts +73 -0
- package/dist/notification/v1/generated/validators/notificationAudience.zod.js +73 -0
- package/dist/notification/v1/generated/validators/notificationChannel.zod.d.ts +69 -0
- package/dist/notification/v1/generated/validators/notificationChannel.zod.js +65 -0
- package/dist/notification/v1/generated/validators/notificationKind.zod.d.ts +68 -0
- package/dist/notification/v1/generated/validators/notificationKind.zod.js +65 -0
- package/dist/notification/v1/generated/validators/notificationResource.zod.d.ts +88 -0
- package/dist/notification/v1/generated/validators/notificationResource.zod.js +99 -0
- package/dist/notification/v1/generated/validators/notificationScope.zod.d.ts +68 -0
- package/dist/notification/v1/generated/validators/notificationScope.zod.js +65 -0
- package/dist/notification/v1/generated/validators/notificationSeverity.zod.d.ts +70 -0
- package/dist/notification/v1/generated/validators/notificationSeverity.zod.js +65 -0
- package/dist/notification/v1/generated/validators/notificationTypeDescriptor.zod.d.ts +96 -0
- package/dist/notification/v1/generated/validators/notificationTypeDescriptor.zod.js +88 -0
- package/dist/notification/v1/generated/validators/notificationTypeListResponseBody.zod.d.ts +98 -0
- package/dist/notification/v1/generated/validators/notificationTypeListResponseBody.zod.js +66 -0
- package/dist/notification/v1/generated/validators/offsetPagination.zod.d.ts +70 -0
- package/dist/notification/v1/generated/validators/offsetPagination.zod.js +70 -0
- package/dist/notification/v1/generated/validators/preferencesResource.zod.d.ts +72 -0
- package/dist/notification/v1/generated/validators/preferencesResource.zod.js +86 -0
- package/dist/notification/v1/generated/validators/realtimeAuthResource.zod.d.ts +67 -0
- package/dist/notification/v1/generated/validators/realtimeAuthResource.zod.js +67 -0
- package/dist/notification/v1/generated/validators/realtimeConnectionResource.zod.d.ts +76 -0
- package/dist/notification/v1/generated/validators/realtimeConnectionResource.zod.js +88 -0
- package/dist/notification/v1/generated/validators/revealedCredentialResource.zod.d.ts +73 -0
- package/dist/notification/v1/generated/validators/revealedCredentialResource.zod.js +77 -0
- package/dist/notification/v1/generated/validators/typePreferenceListResponseBody.zod.d.ts +84 -0
- package/dist/notification/v1/generated/validators/typePreferenceListResponseBody.zod.js +66 -0
- package/dist/notification/v1/generated/validators/typePreferenceResource.zod.d.ts +82 -0
- package/dist/notification/v1/generated/validators/typePreferenceResource.zod.js +82 -0
- package/dist/notification/v1/generated/validators/unreadCountResource.zod.d.ts +67 -0
- package/dist/notification/v1/generated/validators/unreadCountResource.zod.js +65 -0
- package/dist/notification/v1/generated/validators/updateChannelRequestBody.zod.d.ts +69 -0
- package/dist/notification/v1/generated/validators/updateChannelRequestBody.zod.js +72 -0
- package/dist/notification/v1/generated/validators/updatePreferencesRequestBody.zod.d.ts +71 -0
- package/dist/notification/v1/generated/validators/updatePreferencesRequestBody.zod.js +80 -0
- package/dist/notification/v1/generated/validators/updateTypePreferenceParams.zod.d.ts +67 -0
- package/dist/notification/v1/generated/validators/updateTypePreferenceParams.zod.js +68 -0
- package/dist/notification/v1/generated/validators/updateTypePreferenceRequestBody.zod.d.ts +80 -0
- package/dist/notification/v1/generated/validators/updateTypePreferenceRequestBody.zod.js +82 -0
- package/dist/notification/v1/index.d.ts +3 -60
- package/dist/notification/v1/index.js +3 -5
- package/dist/routes.d.ts +4241 -0
- package/dist/routes.js +4770 -0
- package/dist/support/v1/generated/functions.d.ts +410 -0
- package/dist/support/v1/generated/functions.js +409 -0
- package/dist/support/v1/generated/models.d.ts +502 -0
- package/dist/support/v1/generated/models.js +27 -0
- package/dist/support/v1/generated/schemas.zod.d.ts +259 -0
- package/dist/support/v1/generated/schemas.zod.js +308 -0
- package/dist/support/v1/generated/validators/createTicketMessageRequestBody.zod.d.ts +59 -0
- package/dist/support/v1/generated/validators/createTicketMessageRequestBody.zod.js +61 -0
- package/dist/support/v1/generated/validators/createTicketRequestBody.zod.d.ts +68 -0
- package/dist/support/v1/generated/validators/createTicketRequestBody.zod.js +70 -0
- package/dist/support/v1/generated/validators/createTicketSatisfactionRequestBody.zod.d.ts +59 -0
- package/dist/support/v1/generated/validators/createTicketSatisfactionRequestBody.zod.js +57 -0
- package/dist/support/v1/generated/validators/cursorPagination.zod.d.ts +57 -0
- package/dist/support/v1/generated/validators/cursorPagination.zod.js +57 -0
- package/dist/support/v1/generated/validators/downloadAttachmentParams.zod.d.ts +56 -0
- package/dist/support/v1/generated/validators/downloadAttachmentParams.zod.js +54 -0
- package/dist/support/v1/generated/validators/error.zod.d.ts +68 -0
- package/dist/support/v1/generated/validators/error.zod.js +57 -0
- package/dist/support/v1/generated/validators/errorStatus.zod.d.ts +66 -0
- package/dist/support/v1/generated/validators/errorStatus.zod.js +81 -0
- package/dist/support/v1/generated/validators/fieldViolation.zod.d.ts +57 -0
- package/dist/support/v1/generated/validators/fieldViolation.zod.js +60 -0
- package/dist/support/v1/generated/validators/lengthAwarePageMaintenanceResource.zod.d.ts +80 -0
- package/dist/support/v1/generated/validators/lengthAwarePageMaintenanceResource.zod.js +58 -0
- package/dist/support/v1/generated/validators/lengthAwarePageMaintenanceTimelineEntryResource.zod.d.ts +75 -0
- package/dist/support/v1/generated/validators/lengthAwarePageMaintenanceTimelineEntryResource.zod.js +58 -0
- package/dist/support/v1/generated/validators/lengthAwarePageTicketCategoryResource.zod.d.ts +63 -0
- package/dist/support/v1/generated/validators/lengthAwarePageTicketCategoryResource.zod.js +58 -0
- package/dist/support/v1/generated/validators/lengthAwarePageTicketMessageResource.zod.d.ts +75 -0
- package/dist/support/v1/generated/validators/lengthAwarePageTicketMessageResource.zod.js +58 -0
- package/dist/support/v1/generated/validators/lengthAwarePageTicketResource.zod.d.ts +90 -0
- package/dist/support/v1/generated/validators/lengthAwarePageTicketResource.zod.js +58 -0
- package/dist/support/v1/generated/validators/listMaintenanceTimelineParams.zod.d.ts +62 -0
- package/dist/support/v1/generated/validators/listMaintenanceTimelineParams.zod.js +68 -0
- package/dist/support/v1/generated/validators/listMaintenancesParams.zod.d.ts +70 -0
- package/dist/support/v1/generated/validators/listMaintenancesParams.zod.js +72 -0
- package/dist/support/v1/generated/validators/listTicketCategoriesParams.zod.d.ts +62 -0
- package/dist/support/v1/generated/validators/listTicketCategoriesParams.zod.js +68 -0
- package/dist/support/v1/generated/validators/listTicketMessagesParams.zod.d.ts +62 -0
- package/dist/support/v1/generated/validators/listTicketMessagesParams.zod.js +68 -0
- package/dist/support/v1/generated/validators/listTicketsParams.zod.d.ts +76 -0
- package/dist/support/v1/generated/validators/listTicketsParams.zod.js +71 -0
- package/dist/support/v1/generated/validators/maintenanceImpact.zod.d.ts +59 -0
- package/dist/support/v1/generated/validators/maintenanceImpact.zod.js +54 -0
- package/dist/support/v1/generated/validators/maintenanceResource.zod.d.ts +75 -0
- package/dist/support/v1/generated/validators/maintenanceResource.zod.js +75 -0
- package/dist/support/v1/generated/validators/maintenanceStatus.zod.d.ts +59 -0
- package/dist/support/v1/generated/validators/maintenanceStatus.zod.js +54 -0
- package/dist/support/v1/generated/validators/maintenanceTimelineEntryResource.zod.d.ts +70 -0
- package/dist/support/v1/generated/validators/maintenanceTimelineEntryResource.zod.js +66 -0
- package/dist/support/v1/generated/validators/noticeMaintenanceResource.zod.d.ts +74 -0
- package/dist/support/v1/generated/validators/noticeMaintenanceResource.zod.js +64 -0
- package/dist/support/v1/generated/validators/noticeResource.zod.d.ts +76 -0
- package/dist/support/v1/generated/validators/noticeResource.zod.js +57 -0
- package/dist/support/v1/generated/validators/offsetPagination.zod.d.ts +59 -0
- package/dist/support/v1/generated/validators/offsetPagination.zod.js +59 -0
- package/dist/support/v1/generated/validators/ticketAttachmentResource.zod.d.ts +60 -0
- package/dist/support/v1/generated/validators/ticketAttachmentResource.zod.js +62 -0
- package/dist/support/v1/generated/validators/ticketAuthorType.zod.d.ts +57 -0
- package/dist/support/v1/generated/validators/ticketAuthorType.zod.js +54 -0
- package/dist/support/v1/generated/validators/ticketCategoryResource.zod.d.ts +58 -0
- package/dist/support/v1/generated/validators/ticketCategoryResource.zod.js +58 -0
- package/dist/support/v1/generated/validators/ticketMessageResource.zod.d.ts +70 -0
- package/dist/support/v1/generated/validators/ticketMessageResource.zod.js +65 -0
- package/dist/support/v1/generated/validators/ticketPriority.zod.d.ts +59 -0
- package/dist/support/v1/generated/validators/ticketPriority.zod.js +54 -0
- package/dist/support/v1/generated/validators/ticketResource.zod.d.ts +85 -0
- package/dist/support/v1/generated/validators/ticketResource.zod.js +84 -0
- package/dist/support/v1/generated/validators/ticketSatisfactionResource.zod.d.ts +60 -0
- package/dist/support/v1/generated/validators/ticketSatisfactionResource.zod.js +60 -0
- package/dist/support/v1/generated/validators/ticketStatus.zod.d.ts +58 -0
- package/dist/support/v1/generated/validators/ticketStatus.zod.js +54 -0
- package/dist/support/v1/generated/validators/uploadAttachmentParams.zod.d.ts +57 -0
- package/dist/support/v1/generated/validators/uploadAttachmentParams.zod.js +55 -0
- package/dist/support/v1/index.d.ts +3 -60
- package/dist/support/v1/index.js +3 -5
- package/dist/swas/v1/generated/functions.d.ts +418 -0
- package/dist/swas/v1/generated/functions.js +250 -0
- package/dist/swas/v1/generated/models.d.ts +468 -0
- package/dist/swas/v1/generated/models.js +95 -0
- package/dist/swas/v1/generated/schemas.zod.d.ts +115 -0
- package/dist/swas/v1/generated/schemas.zod.js +125 -0
- package/dist/swas/v1/generated/validators/catalog.zod.d.ts +39 -0
- package/dist/swas/v1/generated/validators/catalog.zod.js +16 -0
- package/dist/swas/v1/generated/validators/createPurchaseHeaders.zod.d.ts +14 -0
- package/dist/swas/v1/generated/validators/createPurchaseHeaders.zod.js +12 -0
- package/dist/swas/v1/generated/validators/cursorPagination.zod.d.ts +14 -0
- package/dist/swas/v1/generated/validators/cursorPagination.zod.js +14 -0
- package/dist/swas/v1/generated/validators/customerRefundProgress.zod.d.ts +16 -0
- package/dist/swas/v1/generated/validators/customerRefundProgress.zod.js +14 -0
- package/dist/swas/v1/generated/validators/decimalAmount.zod.d.ts +12 -0
- package/dist/swas/v1/generated/validators/decimalAmount.zod.js +11 -0
- package/dist/swas/v1/generated/validators/error.zod.d.ts +25 -0
- package/dist/swas/v1/generated/validators/error.zod.js +14 -0
- package/dist/swas/v1/generated/validators/errorStatus.zod.d.ts +23 -0
- package/dist/swas/v1/generated/validators/errorStatus.zod.js +38 -0
- package/dist/swas/v1/generated/validators/fieldViolation.zod.d.ts +14 -0
- package/dist/swas/v1/generated/validators/fieldViolation.zod.js +17 -0
- package/dist/swas/v1/generated/validators/instance.zod.d.ts +58 -0
- package/dist/swas/v1/generated/validators/instance.zod.js +47 -0
- package/dist/swas/v1/generated/validators/instanceCapabilities.zod.d.ts +16 -0
- package/dist/swas/v1/generated/validators/instanceCapabilities.zod.js +14 -0
- package/dist/swas/v1/generated/validators/instanceList.zod.d.ts +62 -0
- package/dist/swas/v1/generated/validators/instanceList.zod.js +15 -0
- package/dist/swas/v1/generated/validators/instancePagination.zod.d.ts +15 -0
- package/dist/swas/v1/generated/validators/instancePagination.zod.js +10 -0
- package/dist/swas/v1/generated/validators/instancePrice.zod.d.ts +16 -0
- package/dist/swas/v1/generated/validators/instancePrice.zod.js +26 -0
- package/dist/swas/v1/generated/validators/listInstancesParams.zod.d.ts +20 -0
- package/dist/swas/v1/generated/validators/listInstancesParams.zod.js +22 -0
- package/dist/swas/v1/generated/validators/listPlansParams.zod.d.ts +16 -0
- package/dist/swas/v1/generated/validators/listPlansParams.zod.js +14 -0
- package/dist/swas/v1/generated/validators/managementOperation.zod.d.ts +36 -0
- package/dist/swas/v1/generated/validators/managementOperation.zod.js +21 -0
- package/dist/swas/v1/generated/validators/money.zod.d.ts +11 -0
- package/dist/swas/v1/generated/validators/money.zod.js +11 -0
- package/dist/swas/v1/generated/validators/offsetPagination.zod.d.ts +16 -0
- package/dist/swas/v1/generated/validators/offsetPagination.zod.js +16 -0
- package/dist/swas/v1/generated/validators/plan.zod.d.ts +38 -0
- package/dist/swas/v1/generated/validators/plan.zod.js +33 -0
- package/dist/swas/v1/generated/validators/price.zod.d.ts +20 -0
- package/dist/swas/v1/generated/validators/price.zod.js +33 -0
- package/dist/swas/v1/generated/validators/priceOption.zod.d.ts +20 -0
- package/dist/swas/v1/generated/validators/priceOption.zod.js +32 -0
- package/dist/swas/v1/generated/validators/purchase.zod.d.ts +34 -0
- package/dist/swas/v1/generated/validators/purchase.zod.js +34 -0
- package/dist/swas/v1/generated/validators/purchaseCreate.zod.d.ts +23 -0
- package/dist/swas/v1/generated/validators/purchaseCreate.zod.js +24 -0
- package/dist/swas/v1/generated/validators/rebootCycle.zod.d.ts +14 -0
- package/dist/swas/v1/generated/validators/rebootCycle.zod.js +17 -0
- package/dist/swas/v1/generated/validators/rebootInstance.zod.d.ts +11 -0
- package/dist/swas/v1/generated/validators/rebootInstance.zod.js +9 -0
- package/dist/swas/v1/generated/validators/rebootInstanceHeaders.zod.d.ts +14 -0
- package/dist/swas/v1/generated/validators/rebootInstanceHeaders.zod.js +12 -0
- package/dist/swas/v1/generated/validators/refundProgress.zod.d.ts +33 -0
- package/dist/swas/v1/generated/validators/refundProgress.zod.js +27 -0
- package/dist/swas/v1/generated/validators/startInstance.zod.d.ts +11 -0
- package/dist/swas/v1/generated/validators/startInstance.zod.js +9 -0
- package/dist/swas/v1/generated/validators/startInstanceHeaders.zod.d.ts +14 -0
- package/dist/swas/v1/generated/validators/startInstanceHeaders.zod.js +12 -0
- package/dist/swas/v1/generated/validators/stopInstance.zod.d.ts +11 -0
- package/dist/swas/v1/generated/validators/stopInstance.zod.js +9 -0
- package/dist/swas/v1/generated/validators/stopInstanceHeaders.zod.d.ts +14 -0
- package/dist/swas/v1/generated/validators/stopInstanceHeaders.zod.js +12 -0
- package/dist/swas/v1/generated/validators/supplierRefundProgress.zod.d.ts +14 -0
- package/dist/swas/v1/generated/validators/supplierRefundProgress.zod.js +12 -0
- package/dist/swas/v1/index.d.ts +4 -0
- package/dist/swas/v1/index.js +4 -0
- package/dist/swas/v1/response-schemas.d.ts +19 -0
- package/dist/swas/v1/response-schemas.js +20 -0
- package/dist/swas-legacy/v1/generated/functions.d.ts +652 -0
- package/dist/swas-legacy/v1/generated/functions.js +438 -0
- package/dist/swas-legacy/v1/generated/models.d.ts +0 -0
- package/dist/swas-legacy/v1/generated/models.js +98 -0
- package/dist/swas-legacy/v1/generated/schemas.zod.d.ts +257 -0
- package/dist/swas-legacy/v1/generated/schemas.zod.js +288 -0
- package/dist/swas-legacy/v1/generated/validators/capabilities.zod.d.ts +16 -0
- package/dist/swas-legacy/v1/generated/validators/capabilities.zod.js +14 -0
- package/dist/swas-legacy/v1/generated/validators/console.zod.d.ts +16 -0
- package/dist/swas-legacy/v1/generated/validators/console.zod.js +16 -0
- package/dist/swas-legacy/v1/generated/validators/createInstanceConsoleHeaders.zod.d.ts +15 -0
- package/dist/swas-legacy/v1/generated/validators/createInstanceConsoleHeaders.zod.js +17 -0
- package/dist/swas-legacy/v1/generated/validators/createInstanceFirewallRuleHeaders.zod.d.ts +15 -0
- package/dist/swas-legacy/v1/generated/validators/createInstanceFirewallRuleHeaders.zod.js +17 -0
- package/dist/swas-legacy/v1/generated/validators/decimal.zod.d.ts +12 -0
- package/dist/swas-legacy/v1/generated/validators/decimal.zod.js +10 -0
- package/dist/swas-legacy/v1/generated/validators/deleteInstanceFirewallRuleHeaders.zod.d.ts +15 -0
- package/dist/swas-legacy/v1/generated/validators/deleteInstanceFirewallRuleHeaders.zod.js +17 -0
- package/dist/swas-legacy/v1/generated/validators/error.zod.d.ts +21 -0
- package/dist/swas-legacy/v1/generated/validators/error.zod.js +19 -0
- package/dist/swas-legacy/v1/generated/validators/firewallRule.zod.d.ts +24 -0
- package/dist/swas-legacy/v1/generated/validators/firewallRule.zod.js +17 -0
- package/dist/swas-legacy/v1/generated/validators/firewallRuleList.zod.d.ts +29 -0
- package/dist/swas-legacy/v1/generated/validators/firewallRuleList.zod.js +14 -0
- package/dist/swas-legacy/v1/generated/validators/firewallWriteRequest.zod.d.ts +28 -0
- package/dist/swas-legacy/v1/generated/validators/firewallWriteRequest.zod.js +0 -0
- package/dist/swas-legacy/v1/generated/validators/generationRequest.zod.d.ts +13 -0
- package/dist/swas-legacy/v1/generated/validators/generationRequest.zod.js +11 -0
- package/dist/swas-legacy/v1/generated/validators/image.zod.d.ts +20 -0
- package/dist/swas-legacy/v1/generated/validators/image.zod.js +18 -0
- package/dist/swas-legacy/v1/generated/validators/imageList.zod.d.ts +24 -0
- package/dist/swas-legacy/v1/generated/validators/imageList.zod.js +14 -0
- package/dist/swas-legacy/v1/generated/validators/instance.zod.d.ts +82 -0
- package/dist/swas-legacy/v1/generated/validators/instance.zod.js +33 -0
- package/dist/swas-legacy/v1/generated/validators/instanceList.zod.d.ts +88 -0
- package/dist/swas-legacy/v1/generated/validators/instanceList.zod.js +14 -0
- package/dist/swas-legacy/v1/generated/validators/lastOperation.zod.d.ts +33 -0
- package/dist/swas-legacy/v1/generated/validators/lastOperation.zod.js +31 -0
- package/dist/swas-legacy/v1/generated/validators/listInstanceFirewallRulesParams.zod.d.ts +18 -0
- package/dist/swas-legacy/v1/generated/validators/listInstanceFirewallRulesParams.zod.js +24 -0
- package/dist/swas-legacy/v1/generated/validators/listInstanceMetricsParams.zod.d.ts +19 -0
- package/dist/swas-legacy/v1/generated/validators/listInstanceMetricsParams.zod.js +12 -0
- package/dist/swas-legacy/v1/generated/validators/listInstanceOperationsParams.zod.d.ts +18 -0
- package/dist/swas-legacy/v1/generated/validators/listInstanceOperationsParams.zod.js +24 -0
- package/dist/swas-legacy/v1/generated/validators/listInstanceReinstallImagesParams.zod.d.ts +18 -0
- package/dist/swas-legacy/v1/generated/validators/listInstanceReinstallImagesParams.zod.js +24 -0
- package/dist/swas-legacy/v1/generated/validators/listInstancesParams.zod.d.ts +18 -0
- package/dist/swas-legacy/v1/generated/validators/listInstancesParams.zod.js +20 -0
- package/dist/swas-legacy/v1/generated/validators/metricPoint.zod.d.ts +14 -0
- package/dist/swas-legacy/v1/generated/validators/metricPoint.zod.js +13 -0
- package/dist/swas-legacy/v1/generated/validators/metricSeries.zod.d.ts +30 -0
- package/dist/swas-legacy/v1/generated/validators/metricSeries.zod.js +23 -0
- package/dist/swas-legacy/v1/generated/validators/metrics.zod.d.ts +41 -0
- package/dist/swas-legacy/v1/generated/validators/metrics.zod.js +19 -0
- package/dist/swas-legacy/v1/generated/validators/operation.zod.d.ts +35 -0
- package/dist/swas-legacy/v1/generated/validators/operation.zod.js +33 -0
- package/dist/swas-legacy/v1/generated/validators/operationLogList.zod.d.ts +39 -0
- package/dist/swas-legacy/v1/generated/validators/operationLogList.zod.js +16 -0
- package/dist/swas-legacy/v1/generated/validators/pagination.zod.d.ts +18 -0
- package/dist/swas-legacy/v1/generated/validators/pagination.zod.js +18 -0
- package/dist/swas-legacy/v1/generated/validators/passwordRequest.zod.d.ts +17 -0
- package/dist/swas-legacy/v1/generated/validators/passwordRequest.zod.js +0 -0
- package/dist/swas-legacy/v1/generated/validators/rebootInstanceHeaders.zod.d.ts +15 -0
- package/dist/swas-legacy/v1/generated/validators/rebootInstanceHeaders.zod.js +17 -0
- package/dist/swas-legacy/v1/generated/validators/reinstallInstanceHeaders.zod.d.ts +15 -0
- package/dist/swas-legacy/v1/generated/validators/reinstallInstanceHeaders.zod.js +17 -0
- package/dist/swas-legacy/v1/generated/validators/reinstallRequest.zod.d.ts +17 -0
- package/dist/swas-legacy/v1/generated/validators/reinstallRequest.zod.js +19 -0
- package/dist/swas-legacy/v1/generated/validators/setInstancePasswordHeaders.zod.d.ts +15 -0
- package/dist/swas-legacy/v1/generated/validators/setInstancePasswordHeaders.zod.js +17 -0
- package/dist/swas-legacy/v1/generated/validators/startInstanceHeaders.zod.d.ts +15 -0
- package/dist/swas-legacy/v1/generated/validators/startInstanceHeaders.zod.js +17 -0
- package/dist/swas-legacy/v1/generated/validators/stopInstanceHeaders.zod.d.ts +15 -0
- package/dist/swas-legacy/v1/generated/validators/stopInstanceHeaders.zod.js +17 -0
- package/dist/swas-legacy/v1/generated/validators/traffic.zod.d.ts +22 -0
- package/dist/swas-legacy/v1/generated/validators/traffic.zod.js +20 -0
- package/dist/swas-legacy/v1/generated/validators/updateInstanceFirewallRuleHeaders.zod.d.ts +15 -0
- package/dist/swas-legacy/v1/generated/validators/updateInstanceFirewallRuleHeaders.zod.js +17 -0
- package/dist/swas-legacy/v1/index.d.ts +3 -0
- package/dist/swas-legacy/v1/index.js +3 -0
- package/dist/type/checkout/v1/generated/functions.d.ts +8 -0
- package/dist/type/checkout/v1/generated/functions.js +8 -0
- package/dist/type/checkout/v1/generated/models.d.ts +48 -0
- package/dist/type/checkout/v1/generated/models.js +4 -0
- package/dist/type/checkout/v1/generated/schemas.zod.d.ts +8 -0
- package/dist/type/checkout/v1/generated/schemas.zod.js +8 -0
- package/dist/type/checkout/v1/generated/validators/checkoutMode.zod.d.ts +14 -0
- package/dist/type/checkout/v1/generated/validators/checkoutMode.zod.js +11 -0
- package/dist/type/checkout/v1/generated/validators/checkoutOptions.zod.d.ts +19 -0
- package/dist/type/checkout/v1/generated/validators/checkoutOptions.zod.js +20 -0
- package/dist/type/checkout/v1/generated/validators/money.zod.d.ts +11 -0
- package/dist/type/checkout/v1/generated/validators/money.zod.js +11 -0
- package/dist/type/checkout/v1/index.d.ts +3 -0
- package/dist/type/checkout/v1/index.js +3 -0
- package/dist/type/error/v1/generated/functions.d.ts +9 -0
- package/dist/type/error/v1/generated/functions.js +9 -0
- package/dist/type/error/v1/generated/models.d.ts +67 -0
- package/dist/type/error/v1/generated/models.js +1 -0
- package/dist/type/error/v1/generated/schemas.zod.d.ts +9 -0
- package/dist/type/error/v1/generated/schemas.zod.js +9 -0
- package/dist/type/error/v1/generated/validators/error.zod.d.ts +26 -0
- package/dist/type/error/v1/generated/validators/error.zod.js +15 -0
- package/dist/type/error/v1/generated/validators/errorStatus.zod.d.ts +24 -0
- package/dist/type/error/v1/generated/validators/errorStatus.zod.js +39 -0
- package/dist/type/error/v1/generated/validators/fieldViolation.zod.d.ts +15 -0
- package/dist/type/error/v1/generated/validators/fieldViolation.zod.js +18 -0
- package/dist/type/error/v1/index.d.ts +3 -0
- package/dist/type/error/v1/index.js +3 -0
- package/dist/type/identity/v1/generated/functions.d.ts +8 -0
- package/dist/type/identity/v1/generated/functions.js +8 -0
- package/dist/type/identity/v1/generated/models.d.ts +22 -0
- package/dist/type/identity/v1/generated/models.js +1 -0
- package/dist/type/identity/v1/generated/schemas.zod.d.ts +8 -0
- package/dist/type/identity/v1/generated/schemas.zod.js +8 -0
- package/dist/type/identity/v1/generated/validators/namedIdentity.zod.d.ts +15 -0
- package/dist/type/identity/v1/generated/validators/namedIdentity.zod.js +15 -0
- package/dist/type/identity/v1/index.d.ts +3 -0
- package/dist/type/identity/v1/index.js +3 -0
- package/dist/type/index.d.ts +9 -0
- package/dist/type/index.js +9 -0
- package/dist/type/money/v1/generated/functions.d.ts +8 -0
- package/dist/type/money/v1/generated/functions.js +8 -0
- package/dist/type/money/v1/generated/models.d.ts +19 -0
- package/dist/type/money/v1/generated/models.js +1 -0
- package/dist/type/money/v1/generated/schemas.zod.d.ts +8 -0
- package/dist/type/money/v1/generated/schemas.zod.js +8 -0
- package/dist/type/money/v1/generated/validators/money.zod.d.ts +11 -0
- package/dist/type/money/v1/generated/validators/money.zod.js +11 -0
- package/dist/type/money/v1/index.d.ts +3 -0
- package/dist/type/money/v1/index.js +3 -0
- package/dist/type/order/v1/generated/functions.d.ts +8 -0
- package/dist/type/order/v1/generated/functions.js +8 -0
- package/dist/type/order/v1/generated/models.d.ts +19 -0
- package/dist/type/order/v1/generated/models.js +1 -0
- package/dist/type/order/v1/generated/schemas.zod.d.ts +8 -0
- package/dist/type/order/v1/generated/schemas.zod.js +8 -0
- package/dist/type/order/v1/generated/validators/placedOrder.zod.d.ts +14 -0
- package/dist/type/order/v1/generated/validators/placedOrder.zod.js +19 -0
- package/dist/type/order/v1/index.d.ts +3 -0
- package/dist/type/order/v1/index.js +3 -0
- package/dist/type/pagination/v1/generated/functions.d.ts +10 -0
- package/dist/type/pagination/v1/generated/functions.js +10 -0
- package/dist/type/pagination/v1/generated/models.d.ts +62 -0
- package/dist/type/pagination/v1/generated/models.js +1 -0
- package/dist/type/pagination/v1/generated/schemas.zod.d.ts +10 -0
- package/dist/type/pagination/v1/generated/schemas.zod.js +10 -0
- package/dist/type/pagination/v1/generated/validators/cursorPagination.zod.d.ts +16 -0
- package/dist/type/pagination/v1/generated/validators/cursorPagination.zod.js +16 -0
- package/dist/type/pagination/v1/generated/validators/offsetPagination.zod.d.ts +18 -0
- package/dist/type/pagination/v1/generated/validators/offsetPagination.zod.js +18 -0
- package/dist/type/pagination/v1/index.d.ts +3 -0
- package/dist/type/pagination/v1/index.js +3 -0
- package/dist/type/quote/v1/generated/functions.d.ts +8 -0
- package/dist/type/quote/v1/generated/functions.js +8 -0
- package/dist/type/quote/v1/generated/models.d.ts +98 -0
- package/dist/type/quote/v1/generated/models.js +1 -0
- package/dist/type/quote/v1/generated/schemas.zod.d.ts +8 -0
- package/dist/type/quote/v1/generated/schemas.zod.js +8 -0
- package/dist/type/quote/v1/generated/validators/money.zod.d.ts +11 -0
- package/dist/type/quote/v1/generated/validators/money.zod.js +11 -0
- package/dist/type/quote/v1/generated/validators/quote.zod.d.ts +32 -0
- package/dist/type/quote/v1/generated/validators/quote.zod.js +32 -0
- package/dist/type/quote/v1/generated/validators/quoteItem.zod.d.ts +22 -0
- package/dist/type/quote/v1/generated/validators/quoteItem.zod.js +27 -0
- package/dist/type/quote/v1/index.d.ts +3 -0
- package/dist/type/quote/v1/index.js +3 -0
- package/dist/type/resource/v1/generated/functions.d.ts +8 -0
- package/dist/type/resource/v1/generated/functions.js +8 -0
- package/dist/type/resource/v1/generated/models.d.ts +157 -0
- package/dist/type/resource/v1/generated/models.js +25 -0
- package/dist/type/resource/v1/generated/schemas.zod.d.ts +8 -0
- package/dist/type/resource/v1/generated/schemas.zod.js +8 -0
- package/dist/type/resource/v1/generated/validators/attachment.zod.d.ts +37 -0
- package/dist/type/resource/v1/generated/validators/attachment.zod.js +21 -0
- package/dist/type/resource/v1/generated/validators/attachmentList.zod.d.ts +44 -0
- package/dist/type/resource/v1/generated/validators/attachmentList.zod.js +14 -0
- package/dist/type/resource/v1/generated/validators/cursorPagination.zod.d.ts +14 -0
- package/dist/type/resource/v1/generated/validators/cursorPagination.zod.js +14 -0
- package/dist/type/resource/v1/generated/validators/idlePolicy.zod.d.ts +16 -0
- package/dist/type/resource/v1/generated/validators/idlePolicy.zod.js +16 -0
- package/dist/type/resource/v1/generated/validators/offsetPagination.zod.d.ts +16 -0
- package/dist/type/resource/v1/generated/validators/offsetPagination.zod.js +16 -0
- package/dist/type/resource/v1/generated/validators/reclamationState.zod.d.ts +33 -0
- package/dist/type/resource/v1/generated/validators/reclamationState.zod.js +20 -0
- package/dist/type/resource/v1/generated/validators/resourceDependency.zod.d.ts +26 -0
- package/dist/type/resource/v1/generated/validators/resourceDependency.zod.js +20 -0
- package/dist/type/resource/v1/generated/validators/resourceDependencyList.zod.d.ts +32 -0
- package/dist/type/resource/v1/generated/validators/resourceDependencyList.zod.js +14 -0
- package/dist/type/resource/v1/generated/validators/resourceReference.zod.d.ts +18 -0
- package/dist/type/resource/v1/generated/validators/resourceReference.zod.js +22 -0
- package/dist/type/resource/v1/generated/validators/resourceUsage.zod.d.ts +38 -0
- package/dist/type/resource/v1/generated/validators/resourceUsage.zod.js +26 -0
- package/dist/type/resource/v1/generated/validators/resourceUsageList.zod.d.ts +43 -0
- package/dist/type/resource/v1/generated/validators/resourceUsageList.zod.js +14 -0
- package/dist/type/resource/v1/index.d.ts +3 -0
- package/dist/type/resource/v1/index.js +3 -0
- package/dist/type/security/v1/generated/functions.d.ts +9 -0
- package/dist/type/security/v1/generated/functions.js +9 -0
- package/dist/type/security/v1/generated/models.d.ts +9 -0
- package/dist/type/security/v1/generated/models.js +9 -0
- package/dist/type/security/v1/generated/schemas.zod.d.ts +9 -0
- package/dist/type/security/v1/generated/schemas.zod.js +9 -0
- package/dist/type/security/v1/index.d.ts +3 -0
- package/dist/type/security/v1/index.js +3 -0
- package/package.json +18 -41
- package/dist/account/v1/schema.d.ts +0 -941
- package/dist/account/v1/schema.js +0 -5
- package/dist/assistant/v1/schema.d.ts +0 -2190
- package/dist/assistant/v1/schema.js +0 -5
- package/dist/canopy/v1/schema.d.ts +0 -1100
- package/dist/canopy/v1/schema.js +0 -5
- package/dist/compute/v1/index.d.ts +0 -246
- package/dist/compute/v1/index.js +0 -5
- package/dist/compute/v1/schema.d.ts +0 -4854
- package/dist/compute/v1/schema.js +0 -5
- package/dist/dns/v1/schema.d.ts +0 -883
- package/dist/dns/v1/schema.js +0 -5
- package/dist/iam/v1/schema.d.ts +0 -1230
- package/dist/iam/v1/schema.js +0 -5
- package/dist/monitoring/v1/schema.d.ts +0 -4075
- package/dist/monitoring/v1/schema.js +0 -5
- package/dist/notification/v1/schema.d.ts +0 -1557
- package/dist/notification/v1/schema.js +0 -5
- package/dist/support/v1/schema.d.ts +0 -1335
- package/dist/support/v1/schema.js +0 -5
- package/dist/tunnel/v1/index.d.ts +0 -16
- package/dist/tunnel/v1/index.js +0 -5
- package/dist/tunnel/v1/schema.d.ts +0 -401
- package/dist/tunnel/v1/schema.js +0 -5
|
@@ -0,0 +1,2532 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Leaflow Compute API
|
|
5
|
+
* Leaflow Compute user API for managing instances, volumes, snapshots, volume backups, public and private images, virtual private clouds, subnets, routes, security groups, network interfaces and elastic IPs.
|
|
6
|
+
*
|
|
7
|
+
* ## Authentication
|
|
8
|
+
*
|
|
9
|
+
* Every request carries a scoped token; see the `scopedTokenAuth` security scheme. The catalog reads, which list and retrieve regions, availability zones, instance types, volume types, public images and elastic IP lines, also answer without a token, so a visitor can configure a purchase and price it with Billing before signing in. A token given to them is still verified, and an invalid one is refused.
|
|
10
|
+
*
|
|
11
|
+
* ## Conventions
|
|
12
|
+
*
|
|
13
|
+
* - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, the resource is created: it stays `pending`, then reaches its usual status, such as `running` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. A purchased change, such as a resize requested with `instance_type_id`, `size_gib` or `bandwidth_mbps` on the resource, returns the resource unchanged with the Checkout Session for the change, and applies once its order is accepted.
|
|
14
|
+
* - **Commercial terms.** Compute catalogs describe technical specifications and, for each order line a purchase makes, how it is sold in Billing (a `BillingComponent`: its Plan, dimensions, what its quantity counts and what its meters read); prices, amounts and currency belong to Billing. A purchase chooses its terms with `billing`, and Billing selects the matching price. Read prices and their rates with Billing's `search-prices` from those components, quote a proposed purchase with `get-quote`, and a change of a resource by its `subscription_id`; Compute has no quote or price proxy endpoint and returns no amounts.
|
|
15
|
+
* - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid. Do not submit the purchase again after paying; after an uncertain response, look the Checkout Session up in Billing first.
|
|
16
|
+
* - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
|
|
17
|
+
* - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
|
|
18
|
+
* - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
|
|
19
|
+
* - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `status` names it, as in `starting` or `deleting`; once it has finished the resource shows its new status and the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
|
|
20
|
+
* - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
|
|
21
|
+
* - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
|
|
22
|
+
* - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
|
|
23
|
+
* - **Elastic IP release.** A released address returns to available inventory as soon as its cleanup is confirmed, with no cooldown period. Removing or replacing an elastic IP's association keeps the address held by the project and does not release it.
|
|
24
|
+
* - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
|
|
25
|
+
*
|
|
26
|
+
* ## Resource identifiers
|
|
27
|
+
*
|
|
28
|
+
* Compute resource IDs use the fixed TypeID prefix declared in their schema. UUID text is not accepted for these resource IDs. Project, order, subscription and Billing Plan identifiers remain UUIDs. Historical operation-log subject IDs are audit facts and are not rewritten.
|
|
29
|
+
*
|
|
30
|
+
* ## Error meta
|
|
31
|
+
*
|
|
32
|
+
* Resource identifiers in an error's `meta` (`resource_id`, `volume_id`, `network_interface_id` and the like) are TypeIDs, in the same form as the identifiers in resources. `meta.resource_type` is the resource's name as written in paths, with underscores: `instance`, `volume`, `elastic_ip`, `network_interface`, `virtual_private_cloud`, `private_image`, `volume_backup`, and so on.
|
|
33
|
+
* OpenAPI spec version: 2.0.0
|
|
34
|
+
*/
|
|
35
|
+
import * as zod from "zod";
|
|
36
|
+
import { AssociateElasticIPRequestBody } from "./validators/associateElasticIPRequestBody.zod.js";
|
|
37
|
+
import { AttachNetworkInterfaceRequestBody } from "./validators/attachNetworkInterfaceRequestBody.zod.js";
|
|
38
|
+
import { AttachVolumeRequestBody } from "./validators/attachVolumeRequestBody.zod.js";
|
|
39
|
+
import { CreateElasticIPRequestBody } from "./validators/createElasticIPRequestBody.zod.js";
|
|
40
|
+
import { CreateInstanceRequestBody } from "./validators/createInstanceRequestBody.zod.js";
|
|
41
|
+
import { CreateLaunchTemplateRequestBody } from "./validators/createLaunchTemplateRequestBody.zod.js";
|
|
42
|
+
import { CreateNetworkInterfaceAddressRequestBody } from "./validators/createNetworkInterfaceAddressRequestBody.zod.js";
|
|
43
|
+
import { CreateNetworkInterfaceRequestBody } from "./validators/createNetworkInterfaceRequestBody.zod.js";
|
|
44
|
+
import { CreatePrivateImageRequestBody } from "./validators/createPrivateImageRequestBody.zod.js";
|
|
45
|
+
import { CreateSecurityGroupRequestBody } from "./validators/createSecurityGroupRequestBody.zod.js";
|
|
46
|
+
import { CreateSecurityGroupRuleRequestBody } from "./validators/createSecurityGroupRuleRequestBody.zod.js";
|
|
47
|
+
import { CreateVirtualPrivateCloudPeeringRequestBody } from "./validators/createVirtualPrivateCloudPeeringRequestBody.zod.js";
|
|
48
|
+
import { CreateVirtualPrivateCloudRequestBody } from "./validators/createVirtualPrivateCloudRequestBody.zod.js";
|
|
49
|
+
import { CreateVirtualPrivateCloudRouteRequestBody } from "./validators/createVirtualPrivateCloudRouteRequestBody.zod.js";
|
|
50
|
+
import { CreateVirtualPrivateCloudSubnetRequestBody } from "./validators/createVirtualPrivateCloudSubnetRequestBody.zod.js";
|
|
51
|
+
import { CreateVolumeBackupRequestBody } from "./validators/createVolumeBackupRequestBody.zod.js";
|
|
52
|
+
import { CreateVolumeRequestBody } from "./validators/createVolumeRequestBody.zod.js";
|
|
53
|
+
import { CreateVolumeSnapshotRequestBody } from "./validators/createVolumeSnapshotRequestBody.zod.js";
|
|
54
|
+
import { NewLaunchTemplateVersion } from "./validators/newLaunchTemplateVersion.zod.js";
|
|
55
|
+
import { PasswordChoice } from "./validators/passwordChoice.zod.js";
|
|
56
|
+
import { RebootInstanceRequestBody } from "./validators/rebootInstanceRequestBody.zod.js";
|
|
57
|
+
import { RebuildInstanceRequestBody } from "./validators/rebuildInstanceRequestBody.zod.js";
|
|
58
|
+
import { RescueInstanceRequestBody } from "./validators/rescueInstanceRequestBody.zod.js";
|
|
59
|
+
import { RevertVolumeRequestBody } from "./validators/revertVolumeRequestBody.zod.js";
|
|
60
|
+
import { RunInstanceCommandRequestBody } from "./validators/runInstanceCommandRequestBody.zod.js";
|
|
61
|
+
import { UpdateElasticIPRequestBody } from "./validators/updateElasticIPRequestBody.zod.js";
|
|
62
|
+
import { UpdateInstanceRequestBody } from "./validators/updateInstanceRequestBody.zod.js";
|
|
63
|
+
import { UpdateLaunchTemplateRequestBody } from "./validators/updateLaunchTemplateRequestBody.zod.js";
|
|
64
|
+
import { UpdateNetworkInterfaceRequestBody } from "./validators/updateNetworkInterfaceRequestBody.zod.js";
|
|
65
|
+
import { UpdatePrivateImageRequestBody } from "./validators/updatePrivateImageRequestBody.zod.js";
|
|
66
|
+
import { UpdateSecurityGroupRequestBody } from "./validators/updateSecurityGroupRequestBody.zod.js";
|
|
67
|
+
import { UpdateVirtualPrivateCloudRequestBody } from "./validators/updateVirtualPrivateCloudRequestBody.zod.js";
|
|
68
|
+
import { UpdateVirtualPrivateCloudSubnetRequestBody } from "./validators/updateVirtualPrivateCloudSubnetRequestBody.zod.js";
|
|
69
|
+
import { UpdateVolumeBackupRequestBody } from "./validators/updateVolumeBackupRequestBody.zod.js";
|
|
70
|
+
import { UpdateVolumeRequestBody } from "./validators/updateVolumeRequestBody.zod.js";
|
|
71
|
+
import { UpdateVolumeSnapshotRequestBody } from "./validators/updateVolumeSnapshotRequestBody.zod.js";
|
|
72
|
+
/**
|
|
73
|
+
* A volume and an instance must reside in the same availability zone to be attached. Confirm the zone before creating either. Without `region_id`, the zones of every region are listed.
|
|
74
|
+
* @summary List availability zones
|
|
75
|
+
*/
|
|
76
|
+
export const listAvailabilityZonesQueryRegionIdMin = 33;
|
|
77
|
+
export const listAvailabilityZonesQueryRegionIdMax = 33;
|
|
78
|
+
export const listAvailabilityZonesQueryRegionIdRegExp = new RegExp("^region_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
79
|
+
export const listAvailabilityZonesQueryPageDefault = 1;
|
|
80
|
+
export const listAvailabilityZonesQueryPageMax = 2147483647;
|
|
81
|
+
export const listAvailabilityZonesQueryPageSizeDefault = 50;
|
|
82
|
+
export const listAvailabilityZonesQueryPageSizeMax = 200;
|
|
83
|
+
export const ListAvailabilityZonesQueryParams = zod.strictObject({
|
|
84
|
+
region_id: zod
|
|
85
|
+
.string()
|
|
86
|
+
.min(listAvailabilityZonesQueryRegionIdMin)
|
|
87
|
+
.max(listAvailabilityZonesQueryRegionIdMax)
|
|
88
|
+
.regex(listAvailabilityZonesQueryRegionIdRegExp)
|
|
89
|
+
.optional()
|
|
90
|
+
.describe("Return only the zones of this region"),
|
|
91
|
+
page: zod
|
|
92
|
+
.int()
|
|
93
|
+
.min(1)
|
|
94
|
+
.max(listAvailabilityZonesQueryPageMax)
|
|
95
|
+
.default(listAvailabilityZonesQueryPageDefault)
|
|
96
|
+
.describe("1-based page number. Defaults to 1."),
|
|
97
|
+
page_size: zod
|
|
98
|
+
.int()
|
|
99
|
+
.min(1)
|
|
100
|
+
.max(listAvailabilityZonesQueryPageSizeMax)
|
|
101
|
+
.default(listAvailabilityZonesQueryPageSizeDefault)
|
|
102
|
+
.describe("Items per page. Defaults to 50; at most 200."),
|
|
103
|
+
});
|
|
104
|
+
/**
|
|
105
|
+
* A volume and an instance must reside in the same availability zone to be attached.
|
|
106
|
+
* @summary Retrieve an availability zone
|
|
107
|
+
*/
|
|
108
|
+
export const getAvailabilityZonePathAvailabilityZoneIdMin = 31;
|
|
109
|
+
export const getAvailabilityZonePathAvailabilityZoneIdMax = 31;
|
|
110
|
+
export const getAvailabilityZonePathAvailabilityZoneIdRegExp = new RegExp("^zone_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
111
|
+
export const GetAvailabilityZoneParams = zod.strictObject({
|
|
112
|
+
availabilityZoneId: zod
|
|
113
|
+
.string()
|
|
114
|
+
.min(getAvailabilityZonePathAvailabilityZoneIdMin)
|
|
115
|
+
.max(getAvailabilityZonePathAvailabilityZoneIdMax)
|
|
116
|
+
.regex(getAvailabilityZonePathAvailabilityZoneIdRegExp)
|
|
117
|
+
.describe("Compute AvailabilityZone TypeID. UUID text is not accepted."),
|
|
118
|
+
});
|
|
119
|
+
/**
|
|
120
|
+
* Lists the lines on sale. A line is the network an elastic IP is bought on, with the bandwidth that can be chosen and the two Billing Plans its elastic IPs are paid under. Region is optional. Prices, commercial terms and checkout are read directly from Billing. `q` searches the names and descriptions of the lines on sale; filters combine with AND, and pagination is independent of them.
|
|
121
|
+
* @summary List and search elastic IP lines
|
|
122
|
+
*/
|
|
123
|
+
export const listElasticIpLinesQueryRegionIdMin = 33;
|
|
124
|
+
export const listElasticIpLinesQueryRegionIdMax = 33;
|
|
125
|
+
export const listElasticIpLinesQueryRegionIdRegExp = new RegExp("^region_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
126
|
+
export const listElasticIpLinesQueryQMax = 255;
|
|
127
|
+
export const listElasticIpLinesQueryPageDefault = 1;
|
|
128
|
+
export const listElasticIpLinesQueryPageMax = 2147483647;
|
|
129
|
+
export const listElasticIpLinesQueryPageSizeDefault = 50;
|
|
130
|
+
export const listElasticIpLinesQueryPageSizeMax = 200;
|
|
131
|
+
export const ListElasticIpLinesQueryParams = zod.strictObject({
|
|
132
|
+
region_id: zod
|
|
133
|
+
.string()
|
|
134
|
+
.min(listElasticIpLinesQueryRegionIdMin)
|
|
135
|
+
.max(listElasticIpLinesQueryRegionIdMax)
|
|
136
|
+
.regex(listElasticIpLinesQueryRegionIdRegExp)
|
|
137
|
+
.optional()
|
|
138
|
+
.describe("Compute Region TypeID. UUID text is not accepted."),
|
|
139
|
+
q: zod
|
|
140
|
+
.string()
|
|
141
|
+
.min(1)
|
|
142
|
+
.max(listElasticIpLinesQueryQMax)
|
|
143
|
+
.optional()
|
|
144
|
+
.describe("Search text matched against line names and descriptions; combined with the other filters using AND."),
|
|
145
|
+
page: zod
|
|
146
|
+
.int()
|
|
147
|
+
.min(1)
|
|
148
|
+
.max(listElasticIpLinesQueryPageMax)
|
|
149
|
+
.default(listElasticIpLinesQueryPageDefault)
|
|
150
|
+
.describe("1-based page number. Defaults to 1."),
|
|
151
|
+
page_size: zod
|
|
152
|
+
.int()
|
|
153
|
+
.min(1)
|
|
154
|
+
.max(listElasticIpLinesQueryPageSizeMax)
|
|
155
|
+
.default(listElasticIpLinesQueryPageSizeDefault)
|
|
156
|
+
.describe("Items per page. Defaults to 50; at most 200."),
|
|
157
|
+
});
|
|
158
|
+
/**
|
|
159
|
+
* Includes lines off sale that existing elastic IPs are on. No inventory or gateway facts are returned.
|
|
160
|
+
* @summary Get an elastic IP line
|
|
161
|
+
*/
|
|
162
|
+
export const getElasticIpLinePathElasticIpLineIdMin = 34;
|
|
163
|
+
export const getElasticIpLinePathElasticIpLineIdMax = 34;
|
|
164
|
+
export const getElasticIpLinePathElasticIpLineIdRegExp = new RegExp("^eipline_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
165
|
+
export const GetElasticIpLineParams = zod.strictObject({
|
|
166
|
+
elasticIpLineId: zod
|
|
167
|
+
.string()
|
|
168
|
+
.min(getElasticIpLinePathElasticIpLineIdMin)
|
|
169
|
+
.max(getElasticIpLinePathElasticIpLineIdMax)
|
|
170
|
+
.regex(getElasticIpLinePathElasticIpLineIdRegExp)
|
|
171
|
+
.describe("Compute ElasticIPLine TypeID. UUID text is not accepted."),
|
|
172
|
+
});
|
|
173
|
+
/**
|
|
174
|
+
* @summary List elastic IPs
|
|
175
|
+
*/
|
|
176
|
+
export const listElasticIpsQueryPageDefault = 1;
|
|
177
|
+
export const listElasticIpsQueryPageMax = 2147483647;
|
|
178
|
+
export const listElasticIpsQueryPageSizeDefault = 50;
|
|
179
|
+
export const listElasticIpsQueryPageSizeMax = 200;
|
|
180
|
+
export const ListElasticIpsQueryParams = zod.strictObject({
|
|
181
|
+
page: zod
|
|
182
|
+
.int()
|
|
183
|
+
.min(1)
|
|
184
|
+
.max(listElasticIpsQueryPageMax)
|
|
185
|
+
.default(listElasticIpsQueryPageDefault)
|
|
186
|
+
.describe("1-based page number. Defaults to 1."),
|
|
187
|
+
page_size: zod
|
|
188
|
+
.int()
|
|
189
|
+
.min(1)
|
|
190
|
+
.max(listElasticIpsQueryPageSizeMax)
|
|
191
|
+
.default(listElasticIpsQueryPageSizeDefault)
|
|
192
|
+
.describe("Items per page. Defaults to 50; at most 200."),
|
|
193
|
+
});
|
|
194
|
+
/**
|
|
195
|
+
* Select an elastic IP line. The elastic IP is bought through a Billing Checkout Session, and no address is allocated before its order is accepted.
|
|
196
|
+
*
|
|
197
|
+
* The line has to have an address left, counted before anything is ordered: refused with 409 `ELASTIC_IP_LINE_EXHAUSTED` when every address it sells is held or already promised to a purchase waiting for its order. Two purchases checked at the same moment can both pass on the last address; the later one ends `failed` with `provisioning_failed` and its charge is refunded.
|
|
198
|
+
*
|
|
199
|
+
* Returns the elastic IP as `pending` with its Checkout Session; `address` is null until the address is allocated after the order is accepted. A requested `address` is not held while pending; if it is no longer available then, the elastic IP ends `failed` with `provisioning_failed` and its charge is refunded.
|
|
200
|
+
*
|
|
201
|
+
* IPv6 is not requested through this endpoint. IPv6 addresses are assigned to instances by the virtual private cloud; enable IPv6 on that network instead.
|
|
202
|
+
*
|
|
203
|
+
* Allocation does not select or create a virtual private cloud. A later association selects an assigned network-interface address; Compute then establishes the required network connectivity.
|
|
204
|
+
*
|
|
205
|
+
* The elastic IP is `pending` from the moment its Checkout Session is created until it is delivered or its checkout or order ends. Every other operation on it is refused with `COMPUTE_RESOURCE_BUSY` meanwhile, and its deletion with `COMPUTE_PURCHASE_PENDING` while its purchase awaits checkout or payment.
|
|
206
|
+
* @summary Allocate an elastic IP
|
|
207
|
+
*/
|
|
208
|
+
export const CreateElasticIpBody = CreateElasticIPRequestBody;
|
|
209
|
+
/**
|
|
210
|
+
* @summary Retrieve an elastic IP
|
|
211
|
+
*/
|
|
212
|
+
export const getElasticIpPathElasticIpIdMin = 30;
|
|
213
|
+
export const getElasticIpPathElasticIpIdMax = 34;
|
|
214
|
+
export const getElasticIpPathElasticIpIdRegExp = new RegExp("^eip_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
215
|
+
export const GetElasticIpParams = zod.strictObject({
|
|
216
|
+
elasticIpId: zod
|
|
217
|
+
.string()
|
|
218
|
+
.min(getElasticIpPathElasticIpIdMin)
|
|
219
|
+
.max(getElasticIpPathElasticIpIdMax)
|
|
220
|
+
.regex(getElasticIpPathElasticIpIdRegExp)
|
|
221
|
+
.describe("The public eip resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
222
|
+
});
|
|
223
|
+
/**
|
|
224
|
+
* Changes the bandwidth of this elastic IP, or what its pay-as-you-go network subscription charges for. `bandwidth_mbps` and `internet_charge_type` are operational fields: each starts a change and cannot be combined with any other field in the same request. Such a request is refused with 422 `UPDATE_FIELDS_COMBINED`, because a change that committed beside another that was then refused would leave the request half applied. An elastic IP has no descriptive field today, so 200 is reserved for the fields that may be added to it and every accepted update answers 202. `checkout` and `proration_date` belong to the purchase of the `bandwidth_mbps` change and are accepted only together with it.
|
|
225
|
+
*
|
|
226
|
+
* No separate bandwidth resource is created, and the limit applies to inbound and outbound traffic alike. The new value may be any whole number of Mbps within the line's bandwidth range, otherwise the request is refused with `ELASTIC_IP_BANDWIDTH_RANGE`. How the change is paid follows the elastic IP's network subscription:
|
|
227
|
+
*
|
|
228
|
+
* - **Prepaid**: the change goes through a Checkout Session that changes the network subscription, priced for the rest of its period. It starts once Billing accepts the order; if checkout is not completed, the order is not accepted or the change fails, `bandwidth_mbps` keeps its value and Billing shows the outcome.
|
|
229
|
+
* - **Pay-as-you-go**: there is no checkout. The change starts at once, `checkout_session_id` and `order_id` are null, and the new limit is metered from the instant it is applied; if it fails, the old limit stays in effect and metered. `checkout` and `proration_date` are refused with `ELASTIC_IP_CHECKOUT_UNUSED`.
|
|
230
|
+
*
|
|
231
|
+
* A change of `internet_charge_type` needs no checkout and is `updating_internet_charge_type` until it is applied; see the field.
|
|
232
|
+
*
|
|
233
|
+
* The elastic IP is `updating_bandwidth` until the change is applied or ends, so other operations and a second change are refused with `COMPUTE_RESOURCE_BUSY` meanwhile. The current limit stays in effect until the change is applied.
|
|
234
|
+
*
|
|
235
|
+
* While the address is associated with an instance, the limit must not exceed the `max_bandwidth_mbps` of that instance's type; a higher limit is refused with `INSTANCE_BANDWIDTH_CEILING`. The limit of an address that is not associated is checked when the address is associated with an instance.
|
|
236
|
+
* @summary Update an elastic IP
|
|
237
|
+
*/
|
|
238
|
+
export const updateElasticIpPathElasticIpIdMin = 30;
|
|
239
|
+
export const updateElasticIpPathElasticIpIdMax = 34;
|
|
240
|
+
export const updateElasticIpPathElasticIpIdRegExp = new RegExp("^eip_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
241
|
+
export const UpdateElasticIpParams = zod.strictObject({
|
|
242
|
+
elasticIpId: zod
|
|
243
|
+
.string()
|
|
244
|
+
.min(updateElasticIpPathElasticIpIdMin)
|
|
245
|
+
.max(updateElasticIpPathElasticIpIdMax)
|
|
246
|
+
.regex(updateElasticIpPathElasticIpIdRegExp)
|
|
247
|
+
.describe("The public eip resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
248
|
+
});
|
|
249
|
+
export const UpdateElasticIpBody = UpdateElasticIPRequestBody;
|
|
250
|
+
/**
|
|
251
|
+
* Releases the elastic IP after dissociating it. The elastic IP is `deleting` until cleanup is confirmed; the address then immediately returns to available inventory, with no cooldown period. Deleting the association or replacing it alone does not release the address.
|
|
252
|
+
*
|
|
253
|
+
* Refused with `COMPUTE_PURCHASE_PENDING` while the purchase that created it still awaits checkout or payment; `meta.checkout_session_id` names its Checkout Session and `meta.order_id` its order once checkout created one. Expire the session or cancel the order in Billing instead.
|
|
254
|
+
*
|
|
255
|
+
* While subscriptions pay for the elastic IP (those in its `release_set`), deleting it cancels them rather than being refused: Compute creates one Billing cancellation for the whole set and answers with it in `cancellation`. `cancellation_mode` chooses when: `immediate` cancels the set now, a licensed subscription being refunded under its terms, and `period_end` keeps the elastic IP working until `scheduled_at` and releases it then. Asking again while that cancellation is pending answers with it again, whatever mode is asked for.
|
|
256
|
+
* @summary Release an elastic IP
|
|
257
|
+
*/
|
|
258
|
+
export const deleteElasticIpPathElasticIpIdMin = 30;
|
|
259
|
+
export const deleteElasticIpPathElasticIpIdMax = 34;
|
|
260
|
+
export const deleteElasticIpPathElasticIpIdRegExp = new RegExp("^eip_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
261
|
+
export const DeleteElasticIpParams = zod.strictObject({
|
|
262
|
+
elasticIpId: zod
|
|
263
|
+
.string()
|
|
264
|
+
.min(deleteElasticIpPathElasticIpIdMin)
|
|
265
|
+
.max(deleteElasticIpPathElasticIpIdMax)
|
|
266
|
+
.regex(deleteElasticIpPathElasticIpIdRegExp)
|
|
267
|
+
.describe("The public eip resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
268
|
+
});
|
|
269
|
+
export const DeleteElasticIpQueryParams = zod.strictObject({
|
|
270
|
+
cancellation_mode: zod
|
|
271
|
+
.enum(["immediate", "period_end"])
|
|
272
|
+
.optional()
|
|
273
|
+
.describe("When the subscriptions that pay for what is deleted end. `immediate` cancels them now and refunds a licensed one under its terms; `period_end` cancels them at the end of their paid period and keeps what is deleted working until then. Omitted, they are canceled now where the terms of every one of them allow it, and otherwise all at the end of the paid period, since one cancellation releases the whole set at one instant.\n\nBilling alone judges the mode against the terms each subscription was bought with. It refuses with 422 `BILLING_CANCELLATION_MODE_FIXED` a mode those terms do not allow: a pay-as-you-go subscription ends only now, and a prepaid one whose terms allow only the end of its period only then. It refuses `period_end` with 409 `BILLING_CANCELLATION_SCHEDULES_DIFFER` when the paid periods end at different times. Ignored when nothing is subscribed, and when a cancellation is already open: deleting again answers with that one as it is."),
|
|
274
|
+
});
|
|
275
|
+
/**
|
|
276
|
+
* The bytes and packets the elastic IP's address sent upstream while the elastic IP held it, summed by hour or by day in UTC over `[start_time, end_time)`. Only intervals with traffic are listed. Inbound traffic is not measured.
|
|
277
|
+
*
|
|
278
|
+
* Traffic is reported by the region's collectors and appears some minutes after it is sent. Every elastic IP's traffic is shown, whatever it is billed by; only one billed by traffic is charged for it. A span longer than 31 days by hour, or 366 days by day, is refused with `TRAFFIC_USAGE_QUERY_INVALID`.
|
|
279
|
+
* @summary List the traffic an elastic IP sent
|
|
280
|
+
*/
|
|
281
|
+
export const listElasticIpTrafficUsagePathElasticIpIdMin = 30;
|
|
282
|
+
export const listElasticIpTrafficUsagePathElasticIpIdMax = 34;
|
|
283
|
+
export const listElasticIpTrafficUsagePathElasticIpIdRegExp = new RegExp("^eip_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
284
|
+
export const ListElasticIpTrafficUsageParams = zod.strictObject({
|
|
285
|
+
elasticIpId: zod
|
|
286
|
+
.string()
|
|
287
|
+
.min(listElasticIpTrafficUsagePathElasticIpIdMin)
|
|
288
|
+
.max(listElasticIpTrafficUsagePathElasticIpIdMax)
|
|
289
|
+
.regex(listElasticIpTrafficUsagePathElasticIpIdRegExp)
|
|
290
|
+
.describe("The public eip resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
291
|
+
});
|
|
292
|
+
export const listElasticIpTrafficUsageQueryIntervalDefault = `hour`;
|
|
293
|
+
export const listElasticIpTrafficUsageQueryPageDefault = 1;
|
|
294
|
+
export const listElasticIpTrafficUsageQueryPageMax = 2147483647;
|
|
295
|
+
export const listElasticIpTrafficUsageQueryPageSizeDefault = 50;
|
|
296
|
+
export const listElasticIpTrafficUsageQueryPageSizeMax = 200;
|
|
297
|
+
export const ListElasticIpTrafficUsageQueryParams = zod.strictObject({
|
|
298
|
+
interval: zod.enum(["hour", "day"]).default(listElasticIpTrafficUsageQueryIntervalDefault),
|
|
299
|
+
start_time: zod.iso.datetime({ offset: true }),
|
|
300
|
+
end_time: zod.iso.datetime({ offset: true }),
|
|
301
|
+
page: zod
|
|
302
|
+
.int()
|
|
303
|
+
.min(1)
|
|
304
|
+
.max(listElasticIpTrafficUsageQueryPageMax)
|
|
305
|
+
.default(listElasticIpTrafficUsageQueryPageDefault)
|
|
306
|
+
.describe("1-based page number. Defaults to 1."),
|
|
307
|
+
page_size: zod
|
|
308
|
+
.int()
|
|
309
|
+
.min(1)
|
|
310
|
+
.max(listElasticIpTrafficUsageQueryPageSizeMax)
|
|
311
|
+
.default(listElasticIpTrafficUsageQueryPageSizeDefault)
|
|
312
|
+
.describe("Items per page. Defaults to 50; at most 200."),
|
|
313
|
+
});
|
|
314
|
+
/**
|
|
315
|
+
* The private address of a network interface this elastic IP currently points at. Returns the stored state; it does not query the cloud.
|
|
316
|
+
*
|
|
317
|
+
* An elastic IP that points at nothing has no association: the request is refused with 404 `ELASTIC_IP_NOT_ASSOCIATED`.
|
|
318
|
+
* @summary Retrieve the association of an elastic IP
|
|
319
|
+
*/
|
|
320
|
+
export const getElasticIpAssociationPathElasticIpIdMin = 30;
|
|
321
|
+
export const getElasticIpAssociationPathElasticIpIdMax = 34;
|
|
322
|
+
export const getElasticIpAssociationPathElasticIpIdRegExp = new RegExp("^eip_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
323
|
+
export const GetElasticIpAssociationParams = zod.strictObject({
|
|
324
|
+
elasticIpId: zod
|
|
325
|
+
.string()
|
|
326
|
+
.min(getElasticIpAssociationPathElasticIpIdMin)
|
|
327
|
+
.max(getElasticIpAssociationPathElasticIpIdMax)
|
|
328
|
+
.regex(getElasticIpAssociationPathElasticIpIdRegExp)
|
|
329
|
+
.describe("The public eip resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
330
|
+
});
|
|
331
|
+
/**
|
|
332
|
+
* Points the elastic IP at a target: an instance, which means the primary private IPv4 address of its primary network interface, or a network interface address (`network_interface_address_id`) given directly. Exactly one of `instance_id` and `network_interface_address_id`. A network interface address must be an assigned, unreleased IPv4 address on a network interface in this project and region; IPv6 addresses are rejected.
|
|
333
|
+
*
|
|
334
|
+
* The target becomes what the elastic IP points at. Repeating the request for the target it already points at changes nothing; an elastic IP associated with another target is refused with `ELASTIC_IP_ALREADY_ASSOCIATED` (409), and is moved by disassociating it first, so that the moment traffic stops reaching the old target is one the caller chose. The elastic IP is `associating` until the association is confirmed, and with an instance as the target that instance is `associating_elastic_ip` as well, so the instance must not have another operation in progress.
|
|
335
|
+
*
|
|
336
|
+
* The elastic IP must be in the same region as the target. With an instance as the target, the elastic IP's `bandwidth_mbps` must not exceed the `max_bandwidth_mbps` of that instance's type; a higher limit is refused with `INSTANCE_BANDWIDTH_CEILING`.
|
|
337
|
+
* @summary Associate an elastic IP with a target
|
|
338
|
+
*/
|
|
339
|
+
export const associateElasticIpPathElasticIpIdMin = 30;
|
|
340
|
+
export const associateElasticIpPathElasticIpIdMax = 34;
|
|
341
|
+
export const associateElasticIpPathElasticIpIdRegExp = new RegExp("^eip_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
342
|
+
export const AssociateElasticIpParams = zod.strictObject({
|
|
343
|
+
elasticIpId: zod
|
|
344
|
+
.string()
|
|
345
|
+
.min(associateElasticIpPathElasticIpIdMin)
|
|
346
|
+
.max(associateElasticIpPathElasticIpIdMax)
|
|
347
|
+
.regex(associateElasticIpPathElasticIpIdRegExp)
|
|
348
|
+
.describe("The public eip resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
349
|
+
});
|
|
350
|
+
export const AssociateElasticIpBody = AssociateElasticIPRequestBody;
|
|
351
|
+
/**
|
|
352
|
+
* The address remains held by the project and simply no longer points at any network interface. The elastic IP is `disassociating` until the change is confirmed, and an instance whose primary interface it pointed at is `disassociating_elastic_ip`. Removing an association that does not exist is refused with 404 `ELASTIC_IP_NOT_ASSOCIATED`.
|
|
353
|
+
* @summary Remove the association of an elastic IP
|
|
354
|
+
*/
|
|
355
|
+
export const disassociateElasticIpPathElasticIpIdMin = 30;
|
|
356
|
+
export const disassociateElasticIpPathElasticIpIdMax = 34;
|
|
357
|
+
export const disassociateElasticIpPathElasticIpIdRegExp = new RegExp("^eip_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
358
|
+
export const DisassociateElasticIpParams = zod.strictObject({
|
|
359
|
+
elasticIpId: zod
|
|
360
|
+
.string()
|
|
361
|
+
.min(disassociateElasticIpPathElasticIpIdMin)
|
|
362
|
+
.max(disassociateElasticIpPathElasticIpIdMax)
|
|
363
|
+
.regex(disassociateElasticIpPathElasticIpIdRegExp)
|
|
364
|
+
.describe("The public eip resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
365
|
+
});
|
|
366
|
+
/**
|
|
367
|
+
* An instance family is one hardware line of a region, such as `g7`, and its instance types are its sizes in each availability zone. A family shows here while it has an instance type on sale or sold out.
|
|
368
|
+
* @summary List instance families
|
|
369
|
+
*/
|
|
370
|
+
export const listInstanceFamiliesQueryRegionIdMin = 33;
|
|
371
|
+
export const listInstanceFamiliesQueryRegionIdMax = 33;
|
|
372
|
+
export const listInstanceFamiliesQueryRegionIdRegExp = new RegExp("^region_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
373
|
+
export const listInstanceFamiliesQueryPageDefault = 1;
|
|
374
|
+
export const listInstanceFamiliesQueryPageMax = 2147483647;
|
|
375
|
+
export const listInstanceFamiliesQueryPageSizeDefault = 50;
|
|
376
|
+
export const listInstanceFamiliesQueryPageSizeMax = 200;
|
|
377
|
+
export const ListInstanceFamiliesQueryParams = zod.strictObject({
|
|
378
|
+
region_id: zod
|
|
379
|
+
.string()
|
|
380
|
+
.min(listInstanceFamiliesQueryRegionIdMin)
|
|
381
|
+
.max(listInstanceFamiliesQueryRegionIdMax)
|
|
382
|
+
.regex(listInstanceFamiliesQueryRegionIdRegExp)
|
|
383
|
+
.optional()
|
|
384
|
+
.describe("Compute Region TypeID. UUID text is not accepted."),
|
|
385
|
+
page: zod
|
|
386
|
+
.int()
|
|
387
|
+
.min(1)
|
|
388
|
+
.max(listInstanceFamiliesQueryPageMax)
|
|
389
|
+
.default(listInstanceFamiliesQueryPageDefault)
|
|
390
|
+
.describe("1-based page number. Defaults to 1."),
|
|
391
|
+
page_size: zod
|
|
392
|
+
.int()
|
|
393
|
+
.min(1)
|
|
394
|
+
.max(listInstanceFamiliesQueryPageSizeMax)
|
|
395
|
+
.default(listInstanceFamiliesQueryPageSizeDefault)
|
|
396
|
+
.describe("Items per page. Defaults to 50; at most 200."),
|
|
397
|
+
});
|
|
398
|
+
/**
|
|
399
|
+
* Returns an instance family under the same rule as listing; a family with no instance type on sale or sold out returns 404.
|
|
400
|
+
* @summary Get an instance family
|
|
401
|
+
*/
|
|
402
|
+
export const getInstanceFamilyPathInstanceFamilyIdMin = 36;
|
|
403
|
+
export const getInstanceFamilyPathInstanceFamilyIdMax = 36;
|
|
404
|
+
export const getInstanceFamilyPathInstanceFamilyIdRegExp = new RegExp("^insfamily_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
405
|
+
export const GetInstanceFamilyParams = zod.strictObject({
|
|
406
|
+
instanceFamilyId: zod
|
|
407
|
+
.string()
|
|
408
|
+
.min(getInstanceFamilyPathInstanceFamilyIdMin)
|
|
409
|
+
.max(getInstanceFamilyPathInstanceFamilyIdMax)
|
|
410
|
+
.regex(getInstanceFamilyPathInstanceFamilyIdRegExp)
|
|
411
|
+
.describe("Compute InstanceFamily TypeID. UUID text is not accepted."),
|
|
412
|
+
});
|
|
413
|
+
/**
|
|
414
|
+
* Instance types on sale are listed, and sold-out ones with `sale_status` `sold_out`. A withdrawn one disappears from here and can no longer be ordered, while the instances already running it keep running.
|
|
415
|
+
* @summary List instance types on sale
|
|
416
|
+
*/
|
|
417
|
+
export const listInstanceTypesQueryRegionIdMin = 33;
|
|
418
|
+
export const listInstanceTypesQueryRegionIdMax = 33;
|
|
419
|
+
export const listInstanceTypesQueryRegionIdRegExp = new RegExp("^region_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
420
|
+
export const listInstanceTypesQueryInstanceFamilyIdMin = 36;
|
|
421
|
+
export const listInstanceTypesQueryInstanceFamilyIdMax = 36;
|
|
422
|
+
export const listInstanceTypesQueryInstanceFamilyIdRegExp = new RegExp("^insfamily_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
423
|
+
export const listInstanceTypesQueryAvailabilityZoneIdMin = 31;
|
|
424
|
+
export const listInstanceTypesQueryAvailabilityZoneIdMax = 31;
|
|
425
|
+
export const listInstanceTypesQueryAvailabilityZoneIdRegExp = new RegExp("^zone_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
426
|
+
export const listInstanceTypesQueryPageDefault = 1;
|
|
427
|
+
export const listInstanceTypesQueryPageMax = 2147483647;
|
|
428
|
+
export const listInstanceTypesQueryPageSizeDefault = 50;
|
|
429
|
+
export const listInstanceTypesQueryPageSizeMax = 200;
|
|
430
|
+
export const ListInstanceTypesQueryParams = zod.strictObject({
|
|
431
|
+
region_id: zod
|
|
432
|
+
.string()
|
|
433
|
+
.min(listInstanceTypesQueryRegionIdMin)
|
|
434
|
+
.max(listInstanceTypesQueryRegionIdMax)
|
|
435
|
+
.regex(listInstanceTypesQueryRegionIdRegExp)
|
|
436
|
+
.optional()
|
|
437
|
+
.describe("Compute Region TypeID. UUID text is not accepted."),
|
|
438
|
+
instance_family_id: zod
|
|
439
|
+
.string()
|
|
440
|
+
.min(listInstanceTypesQueryInstanceFamilyIdMin)
|
|
441
|
+
.max(listInstanceTypesQueryInstanceFamilyIdMax)
|
|
442
|
+
.regex(listInstanceTypesQueryInstanceFamilyIdRegExp)
|
|
443
|
+
.optional()
|
|
444
|
+
.describe("Return only the types of this instance family."),
|
|
445
|
+
availability_zone_id: zod
|
|
446
|
+
.string()
|
|
447
|
+
.min(listInstanceTypesQueryAvailabilityZoneIdMin)
|
|
448
|
+
.max(listInstanceTypesQueryAvailabilityZoneIdMax)
|
|
449
|
+
.regex(listInstanceTypesQueryAvailabilityZoneIdRegExp)
|
|
450
|
+
.optional()
|
|
451
|
+
.describe("Return only the types of this availability zone, sold out or not."),
|
|
452
|
+
page: zod
|
|
453
|
+
.int()
|
|
454
|
+
.min(1)
|
|
455
|
+
.max(listInstanceTypesQueryPageMax)
|
|
456
|
+
.default(listInstanceTypesQueryPageDefault)
|
|
457
|
+
.describe("1-based page number. Defaults to 1."),
|
|
458
|
+
page_size: zod
|
|
459
|
+
.int()
|
|
460
|
+
.min(1)
|
|
461
|
+
.max(listInstanceTypesQueryPageSizeMax)
|
|
462
|
+
.default(listInstanceTypesQueryPageSizeDefault)
|
|
463
|
+
.describe("Items per page. Defaults to 50; at most 200."),
|
|
464
|
+
});
|
|
465
|
+
/**
|
|
466
|
+
* Returns an instance type on sale or sold out, under the same access rules as listing. Off-sale, retired or absent types return 404.
|
|
467
|
+
* @summary Get an instance type
|
|
468
|
+
*/
|
|
469
|
+
export const getInstanceTypePathInstanceTypeIdMin = 34;
|
|
470
|
+
export const getInstanceTypePathInstanceTypeIdMax = 34;
|
|
471
|
+
export const getInstanceTypePathInstanceTypeIdRegExp = new RegExp("^instype_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
472
|
+
export const GetInstanceTypeParams = zod.strictObject({
|
|
473
|
+
instanceTypeId: zod
|
|
474
|
+
.string()
|
|
475
|
+
.min(getInstanceTypePathInstanceTypeIdMin)
|
|
476
|
+
.max(getInstanceTypePathInstanceTypeIdMax)
|
|
477
|
+
.regex(getInstanceTypePathInstanceTypeIdRegExp)
|
|
478
|
+
.describe("Compute InstanceType TypeID. UUID text is not accepted."),
|
|
479
|
+
});
|
|
480
|
+
/**
|
|
481
|
+
* Every instance in the project, newest first, in their stored state.
|
|
482
|
+
* @summary List instances
|
|
483
|
+
*/
|
|
484
|
+
export const listInstancesQueryLabelMax = 128;
|
|
485
|
+
export const listInstancesQueryPageDefault = 1;
|
|
486
|
+
export const listInstancesQueryPageMax = 2147483647;
|
|
487
|
+
export const listInstancesQueryPageSizeDefault = 50;
|
|
488
|
+
export const listInstancesQueryPageSizeMax = 200;
|
|
489
|
+
export const ListInstancesQueryParams = zod.strictObject({
|
|
490
|
+
label: zod
|
|
491
|
+
.string()
|
|
492
|
+
.max(listInstancesQueryLabelMax)
|
|
493
|
+
.optional()
|
|
494
|
+
.describe("Only instances carrying this label, written as `key:value` — for example `env:prod`. Both halves are matched exactly"),
|
|
495
|
+
page: zod
|
|
496
|
+
.int()
|
|
497
|
+
.min(1)
|
|
498
|
+
.max(listInstancesQueryPageMax)
|
|
499
|
+
.default(listInstancesQueryPageDefault)
|
|
500
|
+
.describe("1-based page number. Defaults to 1."),
|
|
501
|
+
page_size: zod
|
|
502
|
+
.int()
|
|
503
|
+
.min(1)
|
|
504
|
+
.max(listInstancesQueryPageSizeMax)
|
|
505
|
+
.default(listInstancesQueryPageSizeDefault)
|
|
506
|
+
.describe("Items per page. Defaults to 50; at most 200."),
|
|
507
|
+
});
|
|
508
|
+
/**
|
|
509
|
+
* Creates a Billing Checkout Session, including for metered terms, and returns one `pending` instance per requested instance with it. Each new component carries its own commercial terms; their usage type and period must match. A pending instance has no server, boot volume or address, and is not metered.
|
|
510
|
+
*
|
|
511
|
+
* Creation starts once Billing accepts the order: the instance stays `pending` while it is created, then becomes `running`. With automatic checkout, insufficient funds refuse the request and nothing is created. With deferred checkout, the instances stay `pending` until the customer completes checkout in Billing and the order is paid; an expired Checkout Session, or a canceled or expired order, leaves them `failed` with `checkout_expired`, `order_canceled` or `order_expired`. Do not submit another creation request after paying. After an uncertain response, look the Checkout Session up in Billing before submitting again.
|
|
512
|
+
*
|
|
513
|
+
* The instances are created in the availability zone of their instance type, and the volumes bought with them have to be of volume types of that zone (422 `VOLUME_TYPE_OTHER_AVAILABILITY_ZONE`). The types have to have room for all of them, checked before anything is ordered: refused with 409 `INSTANCE_TYPE_SOLD_OUT` or `VOLUME_TYPE_SOLD_OUT` when a type takes no new orders for now, `INSTANCE_TYPE_CAPACITY_REACHED` or `VOLUME_TYPE_CAPACITY_REACHED` when what is sold of it is used up, `INSTANCE_TYPE_NO_HOST_ROOM` when no host of the zone can take the machine, `VOLUME_TYPE_NO_POOL_ROOM` when the storage of the zone cannot take the boot volume, and `ELASTIC_IP_LINE_EXHAUSTED` when the line of the new elastic IPs has fewer addresses left than instances. Two orders placed at the same moment can both pass; an instance that finds a type full when its order is accepted is not created and is refunded, ending `failed` with `provisioning_failed`.
|
|
514
|
+
*
|
|
515
|
+
* Choose an image or existing volume through boot_volume, and exactly one of network_interface_id or subnet_id. Existing network interfaces, boot volumes or elastic IPs require count=1. They are not held while the instance is pending; if one is no longer usable when the order is accepted, the instance ends `failed` with `provisioning_failed`. Image boots require boot_volume; existing volumes retain their own subscription. Instances, volumes and public IPs keep their own subscription items on the same order.
|
|
516
|
+
*
|
|
517
|
+
* Instances of one request succeed or fail individually. Each instance, with its boot volume, network interface and elastic IP, is created or fails as a whole. Instances that were created are kept; each failed instance ends `failed` with `provisioning_failed`, its part of the order is refunded, and the order then ends `partially_completed`. An instance is delivered whole or not at all: when the customer cancels any of its order items before the order is accepted, it is not created, its remaining items are canceled and refunded, and it ends `failed` with `order_canceled`. Each instance is named after this request with a number appended.
|
|
518
|
+
*
|
|
519
|
+
* The network is checked before the Checkout Session is created, and a request it refuses orders and charges nothing. It is refused with `VIRTUAL_PRIVATE_CLOUD_UNAVAILABLE` when the virtual private cloud's `status` is not `available`, `VIRTUAL_PRIVATE_CLOUD_SUBNET_UNAVAILABLE` or `SECURITY_GROUP_UNAVAILABLE` when the subnet or a security group is not ready, `SECURITY_GROUP_OTHER_VIRTUAL_PRIVATE_CLOUD` when a security group belongs to another virtual private cloud, and `NETWORK_INTERFACE_UNAVAILABLE` when the port's `status` is not `available`. `meta` names the resource.
|
|
520
|
+
*
|
|
521
|
+
* Each instance is `pending` from the moment the Checkout Session is created until it is delivered or the checkout or order ends. Every other operation on it is refused with `COMPUTE_RESOURCE_BUSY` meanwhile, and its release with `COMPUTE_PURCHASE_PENDING` while its purchase awaits checkout or payment.
|
|
522
|
+
* @summary Create instances
|
|
523
|
+
*/
|
|
524
|
+
export const CreateInstanceBody = CreateInstanceRequestBody;
|
|
525
|
+
/**
|
|
526
|
+
* Returns the stored state of the instance; it does not query the cloud. Use it to poll creation progress.
|
|
527
|
+
* @summary Retrieve an instance
|
|
528
|
+
*/
|
|
529
|
+
export const getInstancePathInstanceIdMin = 30;
|
|
530
|
+
export const getInstancePathInstanceIdMax = 30;
|
|
531
|
+
export const getInstancePathInstanceIdRegExp = new RegExp("^ins_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
532
|
+
export const GetInstanceParams = zod.strictObject({
|
|
533
|
+
instanceId: zod
|
|
534
|
+
.string()
|
|
535
|
+
.min(getInstancePathInstanceIdMin)
|
|
536
|
+
.max(getInstancePathInstanceIdMax)
|
|
537
|
+
.regex(getInstancePathInstanceIdRegExp)
|
|
538
|
+
.describe("The public ins resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
539
|
+
});
|
|
540
|
+
/**
|
|
541
|
+
* Changes the descriptive fields (`name`, `labels`, `notes`) or the operational field `instance_type_id`. All fields are optional and at least one is required. Starting and stopping are the `:start` and `:stop` methods.
|
|
542
|
+
*
|
|
543
|
+
* `instance_type_id` starts a workflow and cannot be combined with any other field in the same request. Such a request is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied. `checkout` and `proration_date` belong to the purchase of the `instance_type_id` change and are accepted only together with it.
|
|
544
|
+
*
|
|
545
|
+
* **Descriptive fields** are not operations and are accepted at any time, whatever the instance is doing. The request returns 200 with `checkout_session_id` and `order_id` null.
|
|
546
|
+
*
|
|
547
|
+
* - `name` changes the display name only. The hostname inside the instance is unchanged; it equals the instance id.
|
|
548
|
+
* - `labels` records what this instance is for, as key-value pairs. Nothing on the platform reads them. **The whole set is replaced**: whatever is absent from the request is removed, and an empty object clears them all. Do not put credentials here. Labels are visible to platform operators.
|
|
549
|
+
* - `notes` is a free-text note about this instance: what it runs, and what to be careful about before touching it. **The whole note is replaced**; send an empty string to clear it. Do not put credentials here. The note is visible to platform operators.
|
|
550
|
+
*
|
|
551
|
+
* **`instance_type_id`** changes the instance's type **cold**: the instance has to be stopped, and is refused with 409 `INSTANCE_RESIZE_REQUIRES_STOP` otherwise. Its operating system is not booted for the change, and it is still stopped once the change is applied; start it when you are ready. An instance stopped by the legacy stop, which released its host, is refused with 409 `INSTANCE_SHELVED`; start it once and stop it again. A target type that cannot hold what the instance already uses is refused before anything is ordered: fewer network interfaces than are attached with 409 `INSTANCE_RESIZE_NETWORK_INTERFACES_EXCEED`, fewer elastic IPs than are associated with 409 `INSTANCE_RESIZE_ELASTIC_IPS_EXCEED`, and less purchasable bandwidth than an associated elastic IP has with 409 `INSTANCE_BANDWIDTH_CEILING` naming it in `meta.elastic_ip_id`. The request returns 202 with the instance and the Checkout Session for the change, including for metered terms. The instance keeps its usage type and period, priced with the target type's matching option; a target type without that option is refused with 409 `BILLING_OPTION_UNAVAILABLE`. The resize starts once Billing accepts the order. Do not submit the change again after paying. After an uncertain response, look the Checkout Session up in Billing before submitting again.
|
|
552
|
+
*
|
|
553
|
+
* The instance is `resizing` until the resize is applied, its Checkout Session expires or its order is canceled, so other operations and a second resize are refused with `COMPUTE_RESOURCE_BUSY` meanwhile. It keeps its current type until the resize is applied; the new type takes effect, and is billed from then on, when `instance_type_id` shows it. If checkout is not completed, the order is not accepted or the resize fails, the instance keeps its current type and Billing shows the outcome. A completed resize is final and cannot be reverted; to return to the previous type, submit another resize.
|
|
554
|
+
* @summary Update an instance
|
|
555
|
+
*/
|
|
556
|
+
export const updateInstancePathInstanceIdMin = 30;
|
|
557
|
+
export const updateInstancePathInstanceIdMax = 30;
|
|
558
|
+
export const updateInstancePathInstanceIdRegExp = new RegExp("^ins_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
559
|
+
export const UpdateInstanceParams = zod.strictObject({
|
|
560
|
+
instanceId: zod
|
|
561
|
+
.string()
|
|
562
|
+
.min(updateInstancePathInstanceIdMin)
|
|
563
|
+
.max(updateInstancePathInstanceIdMax)
|
|
564
|
+
.regex(updateInstancePathInstanceIdRegExp)
|
|
565
|
+
.describe("The public ins resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
566
|
+
});
|
|
567
|
+
export const UpdateInstanceBody = UpdateInstanceRequestBody;
|
|
568
|
+
/**
|
|
569
|
+
* The boot volume is deleted with the instance, and **snapshots created from the boot volume are deleted with it**. Data volumes are detached and kept, and their snapshots and backups are unaffected. The primary network interface is released with the instance.
|
|
570
|
+
*
|
|
571
|
+
* An instance being captured as a private image cannot be released. Wait for the capture to finish, or delete that image first.
|
|
572
|
+
*
|
|
573
|
+
* Refused with `COMPUTE_PURCHASE_PENDING` while the purchase that created it still awaits checkout or payment; `meta.checkout_session_id` names its Checkout Session and `meta.order_id` its order once checkout created one. Expire the session or cancel the order in Billing instead.
|
|
574
|
+
*
|
|
575
|
+
* While subscriptions pay for the instance (those in its `release_set`), deleting it cancels them rather than being refused: Compute creates one Billing cancellation for the whole set and answers with it in `cancellation`. `cancellation_mode` chooses when: `immediate` cancels the set now, a licensed subscription being refunded under its terms, and `period_end` keeps the instance working until `scheduled_at` and releases it then. Asking again while that cancellation is pending answers with it again, whatever mode is asked for.
|
|
576
|
+
* @summary Release an instance
|
|
577
|
+
*/
|
|
578
|
+
export const deleteInstancePathInstanceIdMin = 30;
|
|
579
|
+
export const deleteInstancePathInstanceIdMax = 30;
|
|
580
|
+
export const deleteInstancePathInstanceIdRegExp = new RegExp("^ins_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
581
|
+
export const DeleteInstanceParams = zod.strictObject({
|
|
582
|
+
instanceId: zod
|
|
583
|
+
.string()
|
|
584
|
+
.min(deleteInstancePathInstanceIdMin)
|
|
585
|
+
.max(deleteInstancePathInstanceIdMax)
|
|
586
|
+
.regex(deleteInstancePathInstanceIdRegExp)
|
|
587
|
+
.describe("The public ins resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
588
|
+
});
|
|
589
|
+
export const DeleteInstanceQueryParams = zod.strictObject({
|
|
590
|
+
cancellation_mode: zod
|
|
591
|
+
.enum(["immediate", "period_end"])
|
|
592
|
+
.optional()
|
|
593
|
+
.describe("When the subscriptions that pay for what is deleted end. `immediate` cancels them now and refunds a licensed one under its terms; `period_end` cancels them at the end of their paid period and keeps what is deleted working until then. Omitted, they are canceled now where the terms of every one of them allow it, and otherwise all at the end of the paid period, since one cancellation releases the whole set at one instant.\n\nBilling alone judges the mode against the terms each subscription was bought with. It refuses with 422 `BILLING_CANCELLATION_MODE_FIXED` a mode those terms do not allow: a pay-as-you-go subscription ends only now, and a prepaid one whose terms allow only the end of its period only then. It refuses `period_end` with 409 `BILLING_CANCELLATION_SCHEDULES_DIFFER` when the paid periods end at different times. Ignored when nothing is subscribed, and when a cancellation is already open: deleting again answers with that one as it is."),
|
|
594
|
+
});
|
|
595
|
+
/**
|
|
596
|
+
* Boots the stopped instance on the host it kept; outstanding restrictions can prevent starting. It is `starting` until it is running or the start has failed. Starting a running instance changes nothing.
|
|
597
|
+
*
|
|
598
|
+
* When its boot volume grew since it was last connected, the start connects its volumes afresh so that the boot volume runs at the performance of its new size: the instance is taken off its host for that moment and placed again. Only then can the start find no room in the zone; it is refused with 409 `INSTANCE_START_NO_HOST_ROOM`, or ends with the instance still stopped, and can be tried again later. An instance stopped by the legacy stop, which released its host, is placed again the same way.
|
|
599
|
+
* @summary Start an instance
|
|
600
|
+
*/
|
|
601
|
+
export const startInstancePathInstanceIdMin = 30;
|
|
602
|
+
export const startInstancePathInstanceIdMax = 30;
|
|
603
|
+
export const startInstancePathInstanceIdRegExp = new RegExp("^ins_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
604
|
+
export const StartInstanceParams = zod.strictObject({
|
|
605
|
+
instanceId: zod
|
|
606
|
+
.string()
|
|
607
|
+
.min(startInstancePathInstanceIdMin)
|
|
608
|
+
.max(startInstancePathInstanceIdMax)
|
|
609
|
+
.regex(startInstancePathInstanceIdRegExp)
|
|
610
|
+
.describe("The public ins resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
611
|
+
});
|
|
612
|
+
/**
|
|
613
|
+
* Shuts the instance down **on its host**, as Alibaba Cloud's ordinary stop does: it keeps its volumes, network interfaces, addresses and quota, and the vCPU and memory of its host stay reserved for it, so it starts again without asking for room. **A metered instance keeps being charged for compute while stopped**; its volumes and elastic IPs are charged as always. An instance stopped by a suspension, for non-payment or by the platform, is not charged for compute while the suspension lasts. It is `stopping` until it is stopped. Stopping a stopped instance changes nothing.
|
|
614
|
+
*
|
|
615
|
+
* Changing `instance_type_id` is done on a stopped instance and only then. A stopped instance can also be rebuilt and have network interfaces and volumes attached and detached; rescuing it needs it running.
|
|
616
|
+
* @summary Stop an instance
|
|
617
|
+
*/
|
|
618
|
+
export const stopInstancePathInstanceIdMin = 30;
|
|
619
|
+
export const stopInstancePathInstanceIdMax = 30;
|
|
620
|
+
export const stopInstancePathInstanceIdRegExp = new RegExp("^ins_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
621
|
+
export const StopInstanceParams = zod.strictObject({
|
|
622
|
+
instanceId: zod
|
|
623
|
+
.string()
|
|
624
|
+
.min(stopInstancePathInstanceIdMin)
|
|
625
|
+
.max(stopInstancePathInstanceIdMax)
|
|
626
|
+
.regex(stopInstancePathInstanceIdRegExp)
|
|
627
|
+
.describe("The public ins resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
628
|
+
});
|
|
629
|
+
/**
|
|
630
|
+
* Runs one command over SSH and returns what it wrote. **This is not a shell.** There is no terminal, no standard input and no way to answer a prompt: a command that waits for input produces nothing and is killed at the timeout. Chain steps with `&&`, or write a script and run that.
|
|
631
|
+
*
|
|
632
|
+
* **A command that fails is still a 200.** Its failure is its own result, not this endpoint's: read `exit_code` for what it exited with and `stderr` for what it said, and decide from those. A `grep` that matches nothing exits 1 and is a perfectly successful call.
|
|
633
|
+
*
|
|
634
|
+
* The status therefore answers a different question — did the command run at all. A non-2xx means it did not, and nothing about the instance was changed by this request: it was suspended, not running or had no elastic IP associated; or it refused the platform key; or the connection could not be opened. Retrying is meaningful in those cases and is not for a non-zero `exit_code`.
|
|
635
|
+
*
|
|
636
|
+
* Three conditions must hold; the instance is unreachable otherwise:
|
|
637
|
+
*
|
|
638
|
+
* - it is `running`
|
|
639
|
+
* - an elastic IP is associated with it, since this endpoint connects over the public internet
|
|
640
|
+
* - its security group permits inbound TCP 22
|
|
641
|
+
*
|
|
642
|
+
* Authentication uses the key the platform attaches to every instance at creation, so nothing has to be set up first. The instance must have applied that key at first boot, which images without a full cloud-init do not do.
|
|
643
|
+
*
|
|
644
|
+
* **Do not pass secrets in the command.** Read them from a file on the instance instead: neither the command nor its output is a confidential channel.
|
|
645
|
+
*
|
|
646
|
+
* Each stream is capped at 1 MiB. Beyond that the rest is discarded and `truncated` is true.
|
|
647
|
+
* @summary Run a command on an instance
|
|
648
|
+
*/
|
|
649
|
+
export const runInstanceCommandPathInstanceIdMin = 30;
|
|
650
|
+
export const runInstanceCommandPathInstanceIdMax = 30;
|
|
651
|
+
export const runInstanceCommandPathInstanceIdRegExp = new RegExp("^ins_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
652
|
+
export const RunInstanceCommandParams = zod.strictObject({
|
|
653
|
+
instanceId: zod
|
|
654
|
+
.string()
|
|
655
|
+
.min(runInstanceCommandPathInstanceIdMin)
|
|
656
|
+
.max(runInstanceCommandPathInstanceIdMax)
|
|
657
|
+
.regex(runInstanceCommandPathInstanceIdRegExp)
|
|
658
|
+
.describe("The public ins resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
659
|
+
});
|
|
660
|
+
export const RunInstanceCommandBody = RunInstanceCommandRequestBody;
|
|
661
|
+
/**
|
|
662
|
+
* The instance's VNC console, operated from a browser through a noVNC client. It does not require the instance to be reachable over the network, which makes it usable when a network misconfiguration prevents login.
|
|
663
|
+
*
|
|
664
|
+
* The returned address is single-use and expires within minutes. Every request issues a new address, so request one before each use and do not cache the response.
|
|
665
|
+
* @summary Retrieve a VNC console
|
|
666
|
+
*/
|
|
667
|
+
export const getInstanceConsolePathInstanceIdMin = 30;
|
|
668
|
+
export const getInstanceConsolePathInstanceIdMax = 30;
|
|
669
|
+
export const getInstanceConsolePathInstanceIdRegExp = new RegExp("^ins_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
670
|
+
export const GetInstanceConsoleParams = zod.strictObject({
|
|
671
|
+
instanceId: zod
|
|
672
|
+
.string()
|
|
673
|
+
.min(getInstanceConsolePathInstanceIdMin)
|
|
674
|
+
.max(getInstanceConsolePathInstanceIdMax)
|
|
675
|
+
.regex(getInstanceConsolePathInstanceIdRegExp)
|
|
676
|
+
.describe("The public ins resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
677
|
+
});
|
|
678
|
+
/**
|
|
679
|
+
* Sets the password of the login account (`login_username`) without a reboot; root is never given one. The instance must be running.
|
|
680
|
+
*
|
|
681
|
+
* **Not every image supports this.** Images whose `supports_password_reset` is false cannot, and a new password can then only be set by rebuilding the instance, which erases all data on the boot volume.
|
|
682
|
+
*
|
|
683
|
+
* The request is also rejected when the image is marked as supported but the corresponding component has been removed or stopped inside the instance.
|
|
684
|
+
* @summary Reset the login password
|
|
685
|
+
*/
|
|
686
|
+
export const resetInstancePasswordPathInstanceIdMin = 30;
|
|
687
|
+
export const resetInstancePasswordPathInstanceIdMax = 30;
|
|
688
|
+
export const resetInstancePasswordPathInstanceIdRegExp = new RegExp("^ins_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
689
|
+
export const ResetInstancePasswordParams = zod.strictObject({
|
|
690
|
+
instanceId: zod
|
|
691
|
+
.string()
|
|
692
|
+
.min(resetInstancePasswordPathInstanceIdMin)
|
|
693
|
+
.max(resetInstancePasswordPathInstanceIdMax)
|
|
694
|
+
.regex(resetInstancePasswordPathInstanceIdRegExp)
|
|
695
|
+
.describe("The public ins resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
696
|
+
});
|
|
697
|
+
export const ResetInstancePasswordBody = PasswordChoice;
|
|
698
|
+
/**
|
|
699
|
+
* A reboot defaults to soft, in which the operating system shuts down normally before starting again.
|
|
700
|
+
*
|
|
701
|
+
* A soft reboot has no effect once the system is unresponsive. Set `force` to reboot forcibly: a forced reboot does not wait for the operating system to shut down, so **unwritten data is lost**.
|
|
702
|
+
*
|
|
703
|
+
* A forced reboot is accepted while a soft reboot is in progress, which is the way out of a soft reboot the instance never carried out. Any other request for an operation, including a second soft reboot, is refused with `COMPUTE_RESOURCE_BUSY` while the reboot is in progress.
|
|
704
|
+
*
|
|
705
|
+
* An instance suspended by the platform must be unsuspended first.
|
|
706
|
+
*
|
|
707
|
+
* The instance is `rebooting` until the reboot has finished.
|
|
708
|
+
* @summary Reboot an instance
|
|
709
|
+
*/
|
|
710
|
+
export const rebootInstancePathInstanceIdMin = 30;
|
|
711
|
+
export const rebootInstancePathInstanceIdMax = 30;
|
|
712
|
+
export const rebootInstancePathInstanceIdRegExp = new RegExp("^ins_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
713
|
+
export const RebootInstanceParams = zod.strictObject({
|
|
714
|
+
instanceId: zod
|
|
715
|
+
.string()
|
|
716
|
+
.min(rebootInstancePathInstanceIdMin)
|
|
717
|
+
.max(rebootInstancePathInstanceIdMax)
|
|
718
|
+
.regex(rebootInstancePathInstanceIdRegExp)
|
|
719
|
+
.describe("The public ins resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
720
|
+
});
|
|
721
|
+
export const RebootInstanceBody = RebootInstanceRequestBody;
|
|
722
|
+
/**
|
|
723
|
+
* **All data on the boot volume is erased and cannot be recovered.** Attached data volumes are unaffected.
|
|
724
|
+
*
|
|
725
|
+
* The instance has to be running or stopped. An instance stopped by the legacy stop, which released its host, is refused with 409 `INSTANCE_SHELVED`; start it once first, which works even when its operating system no longer boots.
|
|
726
|
+
*
|
|
727
|
+
* The image this instance already runs is accepted even after the platform has withdrawn it, since rebuilding is the only way back into an instance broken from the inside. Any *other* withdrawn image is rejected with `IMAGE_RETIRED`, which is a change of image and therefore a new order.
|
|
728
|
+
*
|
|
729
|
+
* The instance is `rebuilding` until the rebuild has finished.
|
|
730
|
+
* @summary Rebuild an instance
|
|
731
|
+
*/
|
|
732
|
+
export const rebuildInstancePathInstanceIdMin = 30;
|
|
733
|
+
export const rebuildInstancePathInstanceIdMax = 30;
|
|
734
|
+
export const rebuildInstancePathInstanceIdRegExp = new RegExp("^ins_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
735
|
+
export const RebuildInstanceParams = zod.strictObject({
|
|
736
|
+
instanceId: zod
|
|
737
|
+
.string()
|
|
738
|
+
.min(rebuildInstancePathInstanceIdMin)
|
|
739
|
+
.max(rebuildInstancePathInstanceIdMax)
|
|
740
|
+
.regex(rebuildInstancePathInstanceIdRegExp)
|
|
741
|
+
.describe("The public ins resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
742
|
+
});
|
|
743
|
+
export const RebuildInstanceBody = RebuildInstanceRequestBody;
|
|
744
|
+
/**
|
|
745
|
+
* @summary List the volumes attached to an instance
|
|
746
|
+
*/
|
|
747
|
+
export const listInstanceVolumesPathInstanceIdMin = 30;
|
|
748
|
+
export const listInstanceVolumesPathInstanceIdMax = 30;
|
|
749
|
+
export const listInstanceVolumesPathInstanceIdRegExp = new RegExp("^ins_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
750
|
+
export const ListInstanceVolumesParams = zod.strictObject({
|
|
751
|
+
instanceId: zod
|
|
752
|
+
.string()
|
|
753
|
+
.min(listInstanceVolumesPathInstanceIdMin)
|
|
754
|
+
.max(listInstanceVolumesPathInstanceIdMax)
|
|
755
|
+
.regex(listInstanceVolumesPathInstanceIdRegExp)
|
|
756
|
+
.describe("The public ins resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
757
|
+
});
|
|
758
|
+
export const listInstanceVolumesQueryPageDefault = 1;
|
|
759
|
+
export const listInstanceVolumesQueryPageMax = 2147483647;
|
|
760
|
+
export const listInstanceVolumesQueryPageSizeDefault = 50;
|
|
761
|
+
export const listInstanceVolumesQueryPageSizeMax = 200;
|
|
762
|
+
export const ListInstanceVolumesQueryParams = zod.strictObject({
|
|
763
|
+
page: zod
|
|
764
|
+
.int()
|
|
765
|
+
.min(1)
|
|
766
|
+
.max(listInstanceVolumesQueryPageMax)
|
|
767
|
+
.default(listInstanceVolumesQueryPageDefault)
|
|
768
|
+
.describe("1-based page number. Defaults to 1."),
|
|
769
|
+
page_size: zod
|
|
770
|
+
.int()
|
|
771
|
+
.min(1)
|
|
772
|
+
.max(listInstanceVolumesQueryPageSizeMax)
|
|
773
|
+
.default(listInstanceVolumesQueryPageSizeDefault)
|
|
774
|
+
.describe("Items per page. Defaults to 50; at most 200."),
|
|
775
|
+
});
|
|
776
|
+
/**
|
|
777
|
+
* The volume must be in the same region and availability zone as the instance. Returns the volume; the instance is `attaching_volume` and the volume is `attaching` until the attachment is confirmed. Partition the volume and mount the file system inside the instance once it is attached.
|
|
778
|
+
* @summary Attach a volume
|
|
779
|
+
*/
|
|
780
|
+
export const attachInstanceVolumePathInstanceIdMin = 30;
|
|
781
|
+
export const attachInstanceVolumePathInstanceIdMax = 30;
|
|
782
|
+
export const attachInstanceVolumePathInstanceIdRegExp = new RegExp("^ins_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
783
|
+
export const AttachInstanceVolumeParams = zod.strictObject({
|
|
784
|
+
instanceId: zod
|
|
785
|
+
.string()
|
|
786
|
+
.min(attachInstanceVolumePathInstanceIdMin)
|
|
787
|
+
.max(attachInstanceVolumePathInstanceIdMax)
|
|
788
|
+
.regex(attachInstanceVolumePathInstanceIdRegExp)
|
|
789
|
+
.describe("The public ins resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
790
|
+
});
|
|
791
|
+
export const AttachInstanceVolumeBody = AttachVolumeRequestBody;
|
|
792
|
+
/**
|
|
793
|
+
* Unmount the device inside the instance before calling this endpoint. Forcibly detaching a file system that is being written to corrupts data.
|
|
794
|
+
*
|
|
795
|
+
* The volume the instance boots from cannot be detached, whether it is the boot volume bought with the instance or a volume supplied as the existing boot_volume at launch. Such a request is refused with `INSTANCE_BOOT_VOLUME_LOCKED` and changes nothing; releasing the instance is what frees that volume.
|
|
796
|
+
*
|
|
797
|
+
* Returns the volume; the instance is `detaching_volume` and the volume is `detaching` until the volume is detached.
|
|
798
|
+
* @summary Detach a volume
|
|
799
|
+
*/
|
|
800
|
+
export const detachInstanceVolumePathInstanceIdMin = 30;
|
|
801
|
+
export const detachInstanceVolumePathInstanceIdMax = 30;
|
|
802
|
+
export const detachInstanceVolumePathInstanceIdRegExp = new RegExp("^ins_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
803
|
+
export const detachInstanceVolumePathVolumeIdMin = 30;
|
|
804
|
+
export const detachInstanceVolumePathVolumeIdMax = 30;
|
|
805
|
+
export const detachInstanceVolumePathVolumeIdRegExp = new RegExp("^vol_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
806
|
+
export const DetachInstanceVolumeParams = zod.strictObject({
|
|
807
|
+
instanceId: zod
|
|
808
|
+
.string()
|
|
809
|
+
.min(detachInstanceVolumePathInstanceIdMin)
|
|
810
|
+
.max(detachInstanceVolumePathInstanceIdMax)
|
|
811
|
+
.regex(detachInstanceVolumePathInstanceIdRegExp)
|
|
812
|
+
.describe("The public ins resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
813
|
+
volumeId: zod
|
|
814
|
+
.string()
|
|
815
|
+
.min(detachInstanceVolumePathVolumeIdMin)
|
|
816
|
+
.max(detachInstanceVolumePathVolumeIdMax)
|
|
817
|
+
.regex(detachInstanceVolumePathVolumeIdRegExp)
|
|
818
|
+
.describe("Compute Volume TypeID. UUID text is not accepted."),
|
|
819
|
+
});
|
|
820
|
+
/**
|
|
821
|
+
* @summary List the network interfaces of an instance
|
|
822
|
+
*/
|
|
823
|
+
export const listInstanceNetworkInterfacesPathInstanceIdMin = 30;
|
|
824
|
+
export const listInstanceNetworkInterfacesPathInstanceIdMax = 30;
|
|
825
|
+
export const listInstanceNetworkInterfacesPathInstanceIdRegExp = new RegExp("^ins_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
826
|
+
export const ListInstanceNetworkInterfacesParams = zod.strictObject({
|
|
827
|
+
instanceId: zod
|
|
828
|
+
.string()
|
|
829
|
+
.min(listInstanceNetworkInterfacesPathInstanceIdMin)
|
|
830
|
+
.max(listInstanceNetworkInterfacesPathInstanceIdMax)
|
|
831
|
+
.regex(listInstanceNetworkInterfacesPathInstanceIdRegExp)
|
|
832
|
+
.describe("The public ins resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
833
|
+
});
|
|
834
|
+
export const listInstanceNetworkInterfacesQueryPageDefault = 1;
|
|
835
|
+
export const listInstanceNetworkInterfacesQueryPageMax = 2147483647;
|
|
836
|
+
export const listInstanceNetworkInterfacesQueryPageSizeDefault = 50;
|
|
837
|
+
export const listInstanceNetworkInterfacesQueryPageSizeMax = 200;
|
|
838
|
+
export const ListInstanceNetworkInterfacesQueryParams = zod.strictObject({
|
|
839
|
+
page: zod
|
|
840
|
+
.int()
|
|
841
|
+
.min(1)
|
|
842
|
+
.max(listInstanceNetworkInterfacesQueryPageMax)
|
|
843
|
+
.default(listInstanceNetworkInterfacesQueryPageDefault)
|
|
844
|
+
.describe("1-based page number. Defaults to 1."),
|
|
845
|
+
page_size: zod
|
|
846
|
+
.int()
|
|
847
|
+
.min(1)
|
|
848
|
+
.max(listInstanceNetworkInterfacesQueryPageSizeMax)
|
|
849
|
+
.default(listInstanceNetworkInterfacesQueryPageSizeDefault)
|
|
850
|
+
.describe("Items per page. Defaults to 50; at most 200."),
|
|
851
|
+
});
|
|
852
|
+
/**
|
|
853
|
+
* Returns the network interface; the instance is `attaching_network_interface` and the interface is `attaching` until the attachment is confirmed. The instance has to be running or stopped; one stopped by the legacy stop, which released its host, is refused with 409 `INSTANCE_SHELVED`.
|
|
854
|
+
* @summary Attach a network interface
|
|
855
|
+
*/
|
|
856
|
+
export const attachInstanceNetworkInterfacePathInstanceIdMin = 30;
|
|
857
|
+
export const attachInstanceNetworkInterfacePathInstanceIdMax = 30;
|
|
858
|
+
export const attachInstanceNetworkInterfacePathInstanceIdRegExp = new RegExp("^ins_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
859
|
+
export const AttachInstanceNetworkInterfaceParams = zod.strictObject({
|
|
860
|
+
instanceId: zod
|
|
861
|
+
.string()
|
|
862
|
+
.min(attachInstanceNetworkInterfacePathInstanceIdMin)
|
|
863
|
+
.max(attachInstanceNetworkInterfacePathInstanceIdMax)
|
|
864
|
+
.regex(attachInstanceNetworkInterfacePathInstanceIdRegExp)
|
|
865
|
+
.describe("The public ins resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
866
|
+
});
|
|
867
|
+
export const AttachInstanceNetworkInterfaceBody = AttachNetworkInterfaceRequestBody;
|
|
868
|
+
/**
|
|
869
|
+
* The primary network interface cannot be detached; the instance would lose its network address. The instance has to be running or stopped; one stopped by the legacy stop, which released its host, is refused with 409 `INSTANCE_SHELVED`.
|
|
870
|
+
*
|
|
871
|
+
* Returns the network interface; the instance is `detaching_network_interface` and the interface is `detaching` until it is detached.
|
|
872
|
+
* @summary Detach a network interface
|
|
873
|
+
*/
|
|
874
|
+
export const detachInstanceNetworkInterfacePathInstanceIdMin = 30;
|
|
875
|
+
export const detachInstanceNetworkInterfacePathInstanceIdMax = 30;
|
|
876
|
+
export const detachInstanceNetworkInterfacePathInstanceIdRegExp = new RegExp("^ins_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
877
|
+
export const detachInstanceNetworkInterfacePathNetworkInterfaceIdMin = 30;
|
|
878
|
+
export const detachInstanceNetworkInterfacePathNetworkInterfaceIdMax = 30;
|
|
879
|
+
export const detachInstanceNetworkInterfacePathNetworkInterfaceIdRegExp = new RegExp("^eni_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
880
|
+
export const DetachInstanceNetworkInterfaceParams = zod.strictObject({
|
|
881
|
+
instanceId: zod
|
|
882
|
+
.string()
|
|
883
|
+
.min(detachInstanceNetworkInterfacePathInstanceIdMin)
|
|
884
|
+
.max(detachInstanceNetworkInterfacePathInstanceIdMax)
|
|
885
|
+
.regex(detachInstanceNetworkInterfacePathInstanceIdRegExp)
|
|
886
|
+
.describe("The public ins resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
887
|
+
networkInterfaceId: zod
|
|
888
|
+
.string()
|
|
889
|
+
.min(detachInstanceNetworkInterfacePathNetworkInterfaceIdMin)
|
|
890
|
+
.max(detachInstanceNetworkInterfacePathNetworkInterfaceIdMax)
|
|
891
|
+
.regex(detachInstanceNetworkInterfacePathNetworkInterfaceIdRegExp)
|
|
892
|
+
.describe("The public eni resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
893
|
+
});
|
|
894
|
+
/**
|
|
895
|
+
* Boots a temporary rescue environment in place of the instance's own system, with the original boot volume attached to it as a further disk to repair. A running instance can be rescued, and so can one in `error`. A stopped instance is refused with 409 `INSTANCE_NOT_RUNNING`; start it first, which works even when its operating system no longer boots.
|
|
896
|
+
*
|
|
897
|
+
* In rescue mode, everything only the instance's own system can take is refused with 409 `INSTANCE_UNRESCUE_REQUIRED`: starting, stopping, rebooting, rebuilding, resetting the password, changing `instance_type_id`, attaching or detaching volumes and network interfaces, capturing a private image and running commands. Leave rescue mode with `:unrescue` first. The console stays available, releasing the instance works as usual, and the instance is charged as when running. A suspension that begins in rescue mode takes the instance out of rescue before stopping it, and starting it again once the suspension ends boots its own system.
|
|
898
|
+
*
|
|
899
|
+
* A rescue the compute service could not boot leaves the instance as it was, or in `error`; request it again or reboot the instance.
|
|
900
|
+
*
|
|
901
|
+
* The request does not name an image. The rescue image is the region's enabled rescue image for the architecture of the instance's boot volume. A region and architecture with no enabled rescue image is refused with `RESCUE_IMAGE_NOT_CONFIGURED` (409).
|
|
902
|
+
* @summary Put an instance into rescue mode
|
|
903
|
+
*/
|
|
904
|
+
export const rescueInstancePathInstanceIdMin = 30;
|
|
905
|
+
export const rescueInstancePathInstanceIdMax = 30;
|
|
906
|
+
export const rescueInstancePathInstanceIdRegExp = new RegExp("^ins_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
907
|
+
export const RescueInstanceParams = zod.strictObject({
|
|
908
|
+
instanceId: zod
|
|
909
|
+
.string()
|
|
910
|
+
.min(rescueInstancePathInstanceIdMin)
|
|
911
|
+
.max(rescueInstancePathInstanceIdMax)
|
|
912
|
+
.regex(rescueInstancePathInstanceIdRegExp)
|
|
913
|
+
.describe("The public ins resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
914
|
+
});
|
|
915
|
+
export const RescueInstanceBody = RescueInstanceRequestBody;
|
|
916
|
+
/**
|
|
917
|
+
* Restores boot from the original boot volume. Completion is shown by the instance state, and the instance is `unrescuing` until then.
|
|
918
|
+
* @summary Take an instance out of rescue mode
|
|
919
|
+
*/
|
|
920
|
+
export const unrescueInstancePathInstanceIdMin = 30;
|
|
921
|
+
export const unrescueInstancePathInstanceIdMax = 30;
|
|
922
|
+
export const unrescueInstancePathInstanceIdRegExp = new RegExp("^ins_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
923
|
+
export const UnrescueInstanceParams = zod.strictObject({
|
|
924
|
+
instanceId: zod
|
|
925
|
+
.string()
|
|
926
|
+
.min(unrescueInstancePathInstanceIdMin)
|
|
927
|
+
.max(unrescueInstancePathInstanceIdMax)
|
|
928
|
+
.regex(unrescueInstancePathInstanceIdRegExp)
|
|
929
|
+
.describe("The public ins resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
930
|
+
});
|
|
931
|
+
/**
|
|
932
|
+
* @summary List launch templates
|
|
933
|
+
*/
|
|
934
|
+
export const listLaunchTemplatesQueryRegionIdMin = 33;
|
|
935
|
+
export const listLaunchTemplatesQueryRegionIdMax = 33;
|
|
936
|
+
export const listLaunchTemplatesQueryRegionIdRegExp = new RegExp("^region_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
937
|
+
export const listLaunchTemplatesQueryPageDefault = 1;
|
|
938
|
+
export const listLaunchTemplatesQueryPageMax = 2147483647;
|
|
939
|
+
export const listLaunchTemplatesQueryPageSizeDefault = 50;
|
|
940
|
+
export const listLaunchTemplatesQueryPageSizeMax = 200;
|
|
941
|
+
export const ListLaunchTemplatesQueryParams = zod.strictObject({
|
|
942
|
+
region_id: zod
|
|
943
|
+
.string()
|
|
944
|
+
.min(listLaunchTemplatesQueryRegionIdMin)
|
|
945
|
+
.max(listLaunchTemplatesQueryRegionIdMax)
|
|
946
|
+
.regex(listLaunchTemplatesQueryRegionIdRegExp)
|
|
947
|
+
.optional()
|
|
948
|
+
.describe("Only launch templates of this region."),
|
|
949
|
+
page: zod
|
|
950
|
+
.int()
|
|
951
|
+
.min(1)
|
|
952
|
+
.max(listLaunchTemplatesQueryPageMax)
|
|
953
|
+
.default(listLaunchTemplatesQueryPageDefault)
|
|
954
|
+
.describe("1-based page number. Defaults to 1."),
|
|
955
|
+
page_size: zod
|
|
956
|
+
.int()
|
|
957
|
+
.min(1)
|
|
958
|
+
.max(listLaunchTemplatesQueryPageSizeMax)
|
|
959
|
+
.default(listLaunchTemplatesQueryPageSizeDefault)
|
|
960
|
+
.describe("Items per page. Defaults to 50; at most 200."),
|
|
961
|
+
});
|
|
962
|
+
/**
|
|
963
|
+
* Creates a launch template with its first version, which becomes its default. A launch template describes how to create instances in one region, and creating an instance can name it (`launch_template`) instead of repeating every part. It costs nothing.
|
|
964
|
+
*
|
|
965
|
+
* A template holds no billing terms, checkout options or password: those belong to each purchase. **What a version names is checked when an instance is created from it**, against the catalog as it is then, so a version naming an image retired since is refused at that creation as any creation would be.
|
|
966
|
+
*
|
|
967
|
+
* A project holds at most 100 launch templates in a region (`LAUNCH_TEMPLATE_LIMIT`), and names are unique among them (`LAUNCH_TEMPLATE_EXISTS`).
|
|
968
|
+
* @summary Create a launch template
|
|
969
|
+
*/
|
|
970
|
+
export const CreateLaunchTemplateBody = CreateLaunchTemplateRequestBody;
|
|
971
|
+
/**
|
|
972
|
+
* @summary Get a launch template
|
|
973
|
+
*/
|
|
974
|
+
export const getLaunchTemplatePathLaunchTemplateIdMin = 29;
|
|
975
|
+
export const getLaunchTemplatePathLaunchTemplateIdMax = 29;
|
|
976
|
+
export const getLaunchTemplatePathLaunchTemplateIdRegExp = new RegExp("^lt_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
977
|
+
export const GetLaunchTemplateParams = zod.strictObject({
|
|
978
|
+
launchTemplateId: zod
|
|
979
|
+
.string()
|
|
980
|
+
.min(getLaunchTemplatePathLaunchTemplateIdMin)
|
|
981
|
+
.max(getLaunchTemplatePathLaunchTemplateIdMax)
|
|
982
|
+
.regex(getLaunchTemplatePathLaunchTemplateIdRegExp)
|
|
983
|
+
.describe("The public lt resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
984
|
+
});
|
|
985
|
+
/**
|
|
986
|
+
* Changes the name or description, or makes another live version the default, the one a creation naming no version uses. Versions themselves never change; describe something else by creating a version.
|
|
987
|
+
* @summary Update a launch template
|
|
988
|
+
*/
|
|
989
|
+
export const updateLaunchTemplatePathLaunchTemplateIdMin = 29;
|
|
990
|
+
export const updateLaunchTemplatePathLaunchTemplateIdMax = 29;
|
|
991
|
+
export const updateLaunchTemplatePathLaunchTemplateIdRegExp = new RegExp("^lt_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
992
|
+
export const UpdateLaunchTemplateParams = zod.strictObject({
|
|
993
|
+
launchTemplateId: zod
|
|
994
|
+
.string()
|
|
995
|
+
.min(updateLaunchTemplatePathLaunchTemplateIdMin)
|
|
996
|
+
.max(updateLaunchTemplatePathLaunchTemplateIdMax)
|
|
997
|
+
.regex(updateLaunchTemplatePathLaunchTemplateIdRegExp)
|
|
998
|
+
.describe("The public lt resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
999
|
+
});
|
|
1000
|
+
export const UpdateLaunchTemplateBody = UpdateLaunchTemplateRequestBody;
|
|
1001
|
+
/**
|
|
1002
|
+
* Deletes the template with every version. Instances created from it are not affected and keep naming the version they were created from.
|
|
1003
|
+
* @summary Delete a launch template
|
|
1004
|
+
*/
|
|
1005
|
+
export const deleteLaunchTemplatePathLaunchTemplateIdMin = 29;
|
|
1006
|
+
export const deleteLaunchTemplatePathLaunchTemplateIdMax = 29;
|
|
1007
|
+
export const deleteLaunchTemplatePathLaunchTemplateIdRegExp = new RegExp("^lt_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
1008
|
+
export const DeleteLaunchTemplateParams = zod.strictObject({
|
|
1009
|
+
launchTemplateId: zod
|
|
1010
|
+
.string()
|
|
1011
|
+
.min(deleteLaunchTemplatePathLaunchTemplateIdMin)
|
|
1012
|
+
.max(deleteLaunchTemplatePathLaunchTemplateIdMax)
|
|
1013
|
+
.regex(deleteLaunchTemplatePathLaunchTemplateIdRegExp)
|
|
1014
|
+
.describe("The public lt resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
1015
|
+
});
|
|
1016
|
+
/**
|
|
1017
|
+
* Newest first.
|
|
1018
|
+
* @summary List the versions of a launch template
|
|
1019
|
+
*/
|
|
1020
|
+
export const listLaunchTemplateVersionsPathLaunchTemplateIdMin = 29;
|
|
1021
|
+
export const listLaunchTemplateVersionsPathLaunchTemplateIdMax = 29;
|
|
1022
|
+
export const listLaunchTemplateVersionsPathLaunchTemplateIdRegExp = new RegExp("^lt_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
1023
|
+
export const ListLaunchTemplateVersionsParams = zod.strictObject({
|
|
1024
|
+
launchTemplateId: zod
|
|
1025
|
+
.string()
|
|
1026
|
+
.min(listLaunchTemplateVersionsPathLaunchTemplateIdMin)
|
|
1027
|
+
.max(listLaunchTemplateVersionsPathLaunchTemplateIdMax)
|
|
1028
|
+
.regex(listLaunchTemplateVersionsPathLaunchTemplateIdRegExp)
|
|
1029
|
+
.describe("The public lt resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
1030
|
+
});
|
|
1031
|
+
export const listLaunchTemplateVersionsQueryPageDefault = 1;
|
|
1032
|
+
export const listLaunchTemplateVersionsQueryPageMax = 2147483647;
|
|
1033
|
+
export const listLaunchTemplateVersionsQueryPageSizeDefault = 50;
|
|
1034
|
+
export const listLaunchTemplateVersionsQueryPageSizeMax = 200;
|
|
1035
|
+
export const ListLaunchTemplateVersionsQueryParams = zod.strictObject({
|
|
1036
|
+
page: zod
|
|
1037
|
+
.int()
|
|
1038
|
+
.min(1)
|
|
1039
|
+
.max(listLaunchTemplateVersionsQueryPageMax)
|
|
1040
|
+
.default(listLaunchTemplateVersionsQueryPageDefault)
|
|
1041
|
+
.describe("1-based page number. Defaults to 1."),
|
|
1042
|
+
page_size: zod
|
|
1043
|
+
.int()
|
|
1044
|
+
.min(1)
|
|
1045
|
+
.max(listLaunchTemplateVersionsQueryPageSizeMax)
|
|
1046
|
+
.default(listLaunchTemplateVersionsQueryPageSizeDefault)
|
|
1047
|
+
.describe("Items per page. Defaults to 50; at most 200."),
|
|
1048
|
+
});
|
|
1049
|
+
/**
|
|
1050
|
+
* Adds a version, numbered after every version the template ever had, so a deleted version's number is never reused. It does not become the default by itself; set `default_version_number` on the template for that. A template holds at most 100 live versions (`LAUNCH_TEMPLATE_VERSION_LIMIT`).
|
|
1051
|
+
* @summary Create a launch template version
|
|
1052
|
+
*/
|
|
1053
|
+
export const createLaunchTemplateVersionPathLaunchTemplateIdMin = 29;
|
|
1054
|
+
export const createLaunchTemplateVersionPathLaunchTemplateIdMax = 29;
|
|
1055
|
+
export const createLaunchTemplateVersionPathLaunchTemplateIdRegExp = new RegExp("^lt_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
1056
|
+
export const CreateLaunchTemplateVersionParams = zod.strictObject({
|
|
1057
|
+
launchTemplateId: zod
|
|
1058
|
+
.string()
|
|
1059
|
+
.min(createLaunchTemplateVersionPathLaunchTemplateIdMin)
|
|
1060
|
+
.max(createLaunchTemplateVersionPathLaunchTemplateIdMax)
|
|
1061
|
+
.regex(createLaunchTemplateVersionPathLaunchTemplateIdRegExp)
|
|
1062
|
+
.describe("The public lt resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
1063
|
+
});
|
|
1064
|
+
export const CreateLaunchTemplateVersionBody = NewLaunchTemplateVersion;
|
|
1065
|
+
/**
|
|
1066
|
+
* @summary Get a launch template version
|
|
1067
|
+
*/
|
|
1068
|
+
export const getLaunchTemplateVersionPathLaunchTemplateIdMin = 29;
|
|
1069
|
+
export const getLaunchTemplateVersionPathLaunchTemplateIdMax = 29;
|
|
1070
|
+
export const getLaunchTemplateVersionPathLaunchTemplateIdRegExp = new RegExp("^lt_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
1071
|
+
export const GetLaunchTemplateVersionParams = zod.strictObject({
|
|
1072
|
+
launchTemplateId: zod
|
|
1073
|
+
.string()
|
|
1074
|
+
.min(getLaunchTemplateVersionPathLaunchTemplateIdMin)
|
|
1075
|
+
.max(getLaunchTemplateVersionPathLaunchTemplateIdMax)
|
|
1076
|
+
.regex(getLaunchTemplateVersionPathLaunchTemplateIdRegExp)
|
|
1077
|
+
.describe("The public lt resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
1078
|
+
versionNumber: zod.int().min(1),
|
|
1079
|
+
});
|
|
1080
|
+
/**
|
|
1081
|
+
* The default version cannot be deleted (`LAUNCH_TEMPLATE_VERSION_DEFAULT`); make another version the default first.
|
|
1082
|
+
* @summary Delete a launch template version
|
|
1083
|
+
*/
|
|
1084
|
+
export const deleteLaunchTemplateVersionPathLaunchTemplateIdMin = 29;
|
|
1085
|
+
export const deleteLaunchTemplateVersionPathLaunchTemplateIdMax = 29;
|
|
1086
|
+
export const deleteLaunchTemplateVersionPathLaunchTemplateIdRegExp = new RegExp("^lt_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
1087
|
+
export const DeleteLaunchTemplateVersionParams = zod.strictObject({
|
|
1088
|
+
launchTemplateId: zod
|
|
1089
|
+
.string()
|
|
1090
|
+
.min(deleteLaunchTemplateVersionPathLaunchTemplateIdMin)
|
|
1091
|
+
.max(deleteLaunchTemplateVersionPathLaunchTemplateIdMax)
|
|
1092
|
+
.regex(deleteLaunchTemplateVersionPathLaunchTemplateIdRegExp)
|
|
1093
|
+
.describe("The public lt resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
1094
|
+
versionNumber: zod.int().min(1),
|
|
1095
|
+
});
|
|
1096
|
+
/**
|
|
1097
|
+
* @summary List network interfaces
|
|
1098
|
+
*/
|
|
1099
|
+
export const listNetworkInterfacesQueryPageDefault = 1;
|
|
1100
|
+
export const listNetworkInterfacesQueryPageMax = 2147483647;
|
|
1101
|
+
export const listNetworkInterfacesQueryPageSizeDefault = 50;
|
|
1102
|
+
export const listNetworkInterfacesQueryPageSizeMax = 200;
|
|
1103
|
+
export const ListNetworkInterfacesQueryParams = zod.strictObject({
|
|
1104
|
+
page: zod
|
|
1105
|
+
.int()
|
|
1106
|
+
.min(1)
|
|
1107
|
+
.max(listNetworkInterfacesQueryPageMax)
|
|
1108
|
+
.default(listNetworkInterfacesQueryPageDefault)
|
|
1109
|
+
.describe("1-based page number. Defaults to 1."),
|
|
1110
|
+
page_size: zod
|
|
1111
|
+
.int()
|
|
1112
|
+
.min(1)
|
|
1113
|
+
.max(listNetworkInterfacesQueryPageSizeMax)
|
|
1114
|
+
.default(listNetworkInterfacesQueryPageSizeDefault)
|
|
1115
|
+
.describe("Items per page. Defaults to 50; at most 200."),
|
|
1116
|
+
});
|
|
1117
|
+
/**
|
|
1118
|
+
* The new network interface is not attached to any instance. Primary network interfaces are not created here; they are created with the instance.
|
|
1119
|
+
* @summary Create a network interface
|
|
1120
|
+
*/
|
|
1121
|
+
export const CreateNetworkInterfaceBody = CreateNetworkInterfaceRequestBody;
|
|
1122
|
+
/**
|
|
1123
|
+
* Returns the stored state of the network interface; it does not query the cloud.
|
|
1124
|
+
* @summary Retrieve a network interface
|
|
1125
|
+
*/
|
|
1126
|
+
export const getNetworkInterfacePathNetworkInterfaceIdMin = 30;
|
|
1127
|
+
export const getNetworkInterfacePathNetworkInterfaceIdMax = 30;
|
|
1128
|
+
export const getNetworkInterfacePathNetworkInterfaceIdRegExp = new RegExp("^eni_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
1129
|
+
export const GetNetworkInterfaceParams = zod.strictObject({
|
|
1130
|
+
networkInterfaceId: zod
|
|
1131
|
+
.string()
|
|
1132
|
+
.min(getNetworkInterfacePathNetworkInterfaceIdMin)
|
|
1133
|
+
.max(getNetworkInterfacePathNetworkInterfaceIdMax)
|
|
1134
|
+
.regex(getNetworkInterfacePathNetworkInterfaceIdRegExp)
|
|
1135
|
+
.describe("The public eni resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
1136
|
+
});
|
|
1137
|
+
/**
|
|
1138
|
+
* Changes the name, or replaces the security groups. The two are never combined (422 `UPDATE_FIELDS_COMBINED`).
|
|
1139
|
+
*
|
|
1140
|
+
* - `name` is not an operation, is accepted at any time and answers 200.
|
|
1141
|
+
* - `security_group_ids` is the complete new set, one to five groups of the network interface's virtual private cloud; groups left out are removed. It applies to traffic of the running instance as soon as it is in place, and answers 202 with the network interface `updating_security_groups` until then.
|
|
1142
|
+
*
|
|
1143
|
+
* Secondary IPv4 addresses are added and removed under `/network-interfaces/{networkInterfaceId}/addresses`.
|
|
1144
|
+
* @summary Update a network interface
|
|
1145
|
+
*/
|
|
1146
|
+
export const updateNetworkInterfacePathNetworkInterfaceIdMin = 30;
|
|
1147
|
+
export const updateNetworkInterfacePathNetworkInterfaceIdMax = 30;
|
|
1148
|
+
export const updateNetworkInterfacePathNetworkInterfaceIdRegExp = new RegExp("^eni_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
1149
|
+
export const UpdateNetworkInterfaceParams = zod.strictObject({
|
|
1150
|
+
networkInterfaceId: zod
|
|
1151
|
+
.string()
|
|
1152
|
+
.min(updateNetworkInterfacePathNetworkInterfaceIdMin)
|
|
1153
|
+
.max(updateNetworkInterfacePathNetworkInterfaceIdMax)
|
|
1154
|
+
.regex(updateNetworkInterfacePathNetworkInterfaceIdRegExp)
|
|
1155
|
+
.describe("The public eni resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
1156
|
+
});
|
|
1157
|
+
export const UpdateNetworkInterfaceBody = UpdateNetworkInterfaceRequestBody;
|
|
1158
|
+
/**
|
|
1159
|
+
* The primary network interface cannot be deleted on its own, as it is released with the instance. A network interface still attached to an instance cannot be deleted either.
|
|
1160
|
+
* @summary Delete a network interface
|
|
1161
|
+
*/
|
|
1162
|
+
export const deleteNetworkInterfacePathNetworkInterfaceIdMin = 30;
|
|
1163
|
+
export const deleteNetworkInterfacePathNetworkInterfaceIdMax = 30;
|
|
1164
|
+
export const deleteNetworkInterfacePathNetworkInterfaceIdRegExp = new RegExp("^eni_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
1165
|
+
export const DeleteNetworkInterfaceParams = zod.strictObject({
|
|
1166
|
+
networkInterfaceId: zod
|
|
1167
|
+
.string()
|
|
1168
|
+
.min(deleteNetworkInterfacePathNetworkInterfaceIdMin)
|
|
1169
|
+
.max(deleteNetworkInterfacePathNetworkInterfaceIdMax)
|
|
1170
|
+
.regex(deleteNetworkInterfacePathNetworkInterfaceIdRegExp)
|
|
1171
|
+
.describe("The public eni resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
1172
|
+
});
|
|
1173
|
+
/**
|
|
1174
|
+
* Adds an IPv4 address in the network interface's subnet, given or chosen by the network, and answers 202 with the network interface `adding_address` until the address is in place; it then appears among `addresses` with `role` `secondary`. An elastic IP can be associated with it like the primary address.
|
|
1175
|
+
*
|
|
1176
|
+
* **The operating system has to be configured to use it**: DHCP hands out only the primary address. Changing the addresses of a network interface in use may briefly interrupt its traffic.
|
|
1177
|
+
*
|
|
1178
|
+
* A network interface holds at most its instance's instance type's `max_ipv4_per_network_interface` IPv4 addresses while attached, and 50 otherwise (409 `NETWORK_INTERFACE_ADDRESS_CEILING`). An address already in use in the subnet is refused with 409 `NETWORK_INTERFACE_ADDRESS_ALREADY_TAKEN`, a full subnet with 409 `NETWORK_INTERFACE_SUBNET_EXHAUSTED`.
|
|
1179
|
+
* @summary Add a secondary IPv4 address
|
|
1180
|
+
*/
|
|
1181
|
+
export const createNetworkInterfaceAddressPathNetworkInterfaceIdMin = 30;
|
|
1182
|
+
export const createNetworkInterfaceAddressPathNetworkInterfaceIdMax = 30;
|
|
1183
|
+
export const createNetworkInterfaceAddressPathNetworkInterfaceIdRegExp = new RegExp("^eni_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
1184
|
+
export const CreateNetworkInterfaceAddressParams = zod.strictObject({
|
|
1185
|
+
networkInterfaceId: zod
|
|
1186
|
+
.string()
|
|
1187
|
+
.min(createNetworkInterfaceAddressPathNetworkInterfaceIdMin)
|
|
1188
|
+
.max(createNetworkInterfaceAddressPathNetworkInterfaceIdMax)
|
|
1189
|
+
.regex(createNetworkInterfaceAddressPathNetworkInterfaceIdRegExp)
|
|
1190
|
+
.describe("The public eni resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
1191
|
+
});
|
|
1192
|
+
export const CreateNetworkInterfaceAddressBody = CreateNetworkInterfaceAddressRequestBody;
|
|
1193
|
+
/**
|
|
1194
|
+
* Removes a secondary IPv4 address and answers 202 with the network interface `removing_address` until it is gone. The primary address goes only with the network interface (409 `NETWORK_INTERFACE_ADDRESS_PRIMARY`), and an address an elastic IP is associated with is refused until it is disassociated (409 `NETWORK_INTERFACE_ADDRESS_ASSOCIATED`).
|
|
1195
|
+
* @summary Remove a secondary IPv4 address
|
|
1196
|
+
*/
|
|
1197
|
+
export const deleteNetworkInterfaceAddressPathNetworkInterfaceIdMin = 30;
|
|
1198
|
+
export const deleteNetworkInterfaceAddressPathNetworkInterfaceIdMax = 30;
|
|
1199
|
+
export const deleteNetworkInterfaceAddressPathNetworkInterfaceIdRegExp = new RegExp("^eni_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
1200
|
+
export const deleteNetworkInterfaceAddressPathAddressIdMin = 37;
|
|
1201
|
+
export const deleteNetworkInterfaceAddressPathAddressIdMax = 37;
|
|
1202
|
+
export const deleteNetworkInterfaceAddressPathAddressIdRegExp = new RegExp("^eniaddress_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
1203
|
+
export const DeleteNetworkInterfaceAddressParams = zod.strictObject({
|
|
1204
|
+
networkInterfaceId: zod
|
|
1205
|
+
.string()
|
|
1206
|
+
.min(deleteNetworkInterfaceAddressPathNetworkInterfaceIdMin)
|
|
1207
|
+
.max(deleteNetworkInterfaceAddressPathNetworkInterfaceIdMax)
|
|
1208
|
+
.regex(deleteNetworkInterfaceAddressPathNetworkInterfaceIdRegExp)
|
|
1209
|
+
.describe("The public eni resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
1210
|
+
addressId: zod
|
|
1211
|
+
.string()
|
|
1212
|
+
.min(deleteNetworkInterfaceAddressPathAddressIdMin)
|
|
1213
|
+
.max(deleteNetworkInterfaceAddressPathAddressIdMax)
|
|
1214
|
+
.regex(deleteNetworkInterfaceAddressPathAddressIdRegExp)
|
|
1215
|
+
.describe("Compute NetworkInterfaceAddress TypeID. UUID text is not accepted."),
|
|
1216
|
+
});
|
|
1217
|
+
/**
|
|
1218
|
+
* Records every write operation in the project: who performed it, when, on what, and its outcome. Read operations are not recorded.
|
|
1219
|
+
*
|
|
1220
|
+
* **Operations performed by the platform are included, but the individual operator is not disclosed** and `actor_type` is `platform`. Suspension for non-payment and bans for abuse are examples: the time at which an instance was stopped by the platform is needed, whereas the operator is internal information.
|
|
1221
|
+
*
|
|
1222
|
+
* Fields such as passwords are replaced with a placeholder as the record is written and never appear in `payload`.
|
|
1223
|
+
* @summary List the operation log of the project
|
|
1224
|
+
*/
|
|
1225
|
+
export const listOperationLogsQueryActionMax = 64;
|
|
1226
|
+
export const listOperationLogsQueryPageDefault = 1;
|
|
1227
|
+
export const listOperationLogsQueryPageMax = 2147483647;
|
|
1228
|
+
export const listOperationLogsQueryPageSizeDefault = 50;
|
|
1229
|
+
export const listOperationLogsQueryPageSizeMax = 200;
|
|
1230
|
+
export const ListOperationLogsQueryParams = zod.strictObject({
|
|
1231
|
+
action: zod
|
|
1232
|
+
.string()
|
|
1233
|
+
.max(listOperationLogsQueryActionMax)
|
|
1234
|
+
.optional()
|
|
1235
|
+
.describe("Return a single kind of operation; the value matches the operation id of the endpoint"),
|
|
1236
|
+
page: zod
|
|
1237
|
+
.int()
|
|
1238
|
+
.min(1)
|
|
1239
|
+
.max(listOperationLogsQueryPageMax)
|
|
1240
|
+
.default(listOperationLogsQueryPageDefault)
|
|
1241
|
+
.describe("1-based page number. Defaults to 1."),
|
|
1242
|
+
page_size: zod
|
|
1243
|
+
.int()
|
|
1244
|
+
.min(1)
|
|
1245
|
+
.max(listOperationLogsQueryPageSizeMax)
|
|
1246
|
+
.default(listOperationLogsQueryPageSizeDefault)
|
|
1247
|
+
.describe("Items per page. Defaults to 50; at most 200."),
|
|
1248
|
+
});
|
|
1249
|
+
/**
|
|
1250
|
+
* Returns one entry of the project's operation log. Like the listing, it never discloses the individual operator of an operation performed by the platform.
|
|
1251
|
+
* @summary Retrieve an operation log entry
|
|
1252
|
+
*/
|
|
1253
|
+
export const getOperationLogPathOperationLogIdMin = 39;
|
|
1254
|
+
export const getOperationLogPathOperationLogIdMax = 39;
|
|
1255
|
+
export const getOperationLogPathOperationLogIdRegExp = new RegExp("^operationlog_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
1256
|
+
export const GetOperationLogParams = zod.strictObject({
|
|
1257
|
+
operationLogId: zod
|
|
1258
|
+
.string()
|
|
1259
|
+
.min(getOperationLogPathOperationLogIdMin)
|
|
1260
|
+
.max(getOperationLogPathOperationLogIdMax)
|
|
1261
|
+
.regex(getOperationLogPathOperationLogIdRegExp)
|
|
1262
|
+
.describe("Compute OperationLog TypeID. UUID text is not accepted."),
|
|
1263
|
+
});
|
|
1264
|
+
/**
|
|
1265
|
+
* Lists the private images of this project, newest first, in every status: including while a capture is in progress and after it failed. Private images of other projects are never listed.
|
|
1266
|
+
*
|
|
1267
|
+
* A private image is usable only by the project that captured it from one of its instances. Its storage is metered by the hour on a subscription of the project.
|
|
1268
|
+
*
|
|
1269
|
+
* An image can only be used in the region that holds it. An image whose `min_memory_mib` exceeds the memory of the selected instance type cannot boot; filter the options accordingly. Public images are in `/public-images`.
|
|
1270
|
+
* @summary List private images
|
|
1271
|
+
*/
|
|
1272
|
+
export const listPrivateImagesQueryRegionIdMin = 33;
|
|
1273
|
+
export const listPrivateImagesQueryRegionIdMax = 33;
|
|
1274
|
+
export const listPrivateImagesQueryRegionIdRegExp = new RegExp("^region_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
1275
|
+
export const listPrivateImagesQueryPageDefault = 1;
|
|
1276
|
+
export const listPrivateImagesQueryPageMax = 2147483647;
|
|
1277
|
+
export const listPrivateImagesQueryPageSizeDefault = 50;
|
|
1278
|
+
export const listPrivateImagesQueryPageSizeMax = 200;
|
|
1279
|
+
export const ListPrivateImagesQueryParams = zod.strictObject({
|
|
1280
|
+
region_id: zod
|
|
1281
|
+
.string()
|
|
1282
|
+
.min(listPrivateImagesQueryRegionIdMin)
|
|
1283
|
+
.max(listPrivateImagesQueryRegionIdMax)
|
|
1284
|
+
.regex(listPrivateImagesQueryRegionIdRegExp)
|
|
1285
|
+
.optional()
|
|
1286
|
+
.describe("Return only the images of this region"),
|
|
1287
|
+
page: zod
|
|
1288
|
+
.int()
|
|
1289
|
+
.min(1)
|
|
1290
|
+
.max(listPrivateImagesQueryPageMax)
|
|
1291
|
+
.default(listPrivateImagesQueryPageDefault)
|
|
1292
|
+
.describe("1-based page number. Defaults to 1."),
|
|
1293
|
+
page_size: zod
|
|
1294
|
+
.int()
|
|
1295
|
+
.min(1)
|
|
1296
|
+
.max(listPrivateImagesQueryPageSizeMax)
|
|
1297
|
+
.default(listPrivateImagesQueryPageSizeDefault)
|
|
1298
|
+
.describe("Items per page. Defaults to 50; at most 200."),
|
|
1299
|
+
});
|
|
1300
|
+
/**
|
|
1301
|
+
* Creates a project image from the instance boot volume, excluding data volumes. Stop the instance first for file-system consistency. The instance cannot be released while its source volume is being captured. Compute project quotas are enforced independently of billing.
|
|
1302
|
+
*
|
|
1303
|
+
* It is metered on a subscription of its own and takes no billing choice. Each second the image is stored is reported under its region and its `billing_position`: its place among the project's stored private images in the region, counted from the oldest, which moves up whenever an older one is deleted. Billing prices each position, and a position it prices at zero costs nothing; that is how a number of images in each region are free. The image's size does not change what it costs. It is bought through a Billing Checkout Session: automatic checkout completes at once for metered pricing and the image is captured as soon as the order is accepted; with deferred checkout it stays `pending` until the customer completes checkout in Billing. The source and project quotas are checked before the Checkout Session is created, and a refused request creates nothing.
|
|
1304
|
+
*
|
|
1305
|
+
* The image is `pending` from the moment its Checkout Session is created until it is delivered or its checkout or order ends. While its purchase awaits checkout or payment its deletion is refused with `COMPUTE_PURCHASE_PENDING`; once the capture runs, deletion is the one operation it accepts.
|
|
1306
|
+
* @summary Capture an instance as a private image
|
|
1307
|
+
*/
|
|
1308
|
+
export const CreatePrivateImageBody = CreatePrivateImageRequestBody;
|
|
1309
|
+
/**
|
|
1310
|
+
* Returns a private image of this project; any other image, public images included, is reported as not found. Use this endpoint to poll capture progress. When `status` is `failed`, `failure` describes the outcome.
|
|
1311
|
+
* @summary Retrieve a private image
|
|
1312
|
+
*/
|
|
1313
|
+
export const getPrivateImagePathPrivateImageIdMin = 32;
|
|
1314
|
+
export const getPrivateImagePathPrivateImageIdMax = 32;
|
|
1315
|
+
export const getPrivateImagePathPrivateImageIdRegExp = new RegExp("^image_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
1316
|
+
export const GetPrivateImageParams = zod.strictObject({
|
|
1317
|
+
privateImageId: zod
|
|
1318
|
+
.string()
|
|
1319
|
+
.min(getPrivateImagePathPrivateImageIdMin)
|
|
1320
|
+
.max(getPrivateImagePathPrivateImageIdMax)
|
|
1321
|
+
.regex(getPrivateImagePathPrivateImageIdRegExp)
|
|
1322
|
+
.describe("Compute Image TypeID. UUID text is not accepted."),
|
|
1323
|
+
});
|
|
1324
|
+
/**
|
|
1325
|
+
* Renames a private image of this project. Any other image, public images included, is reported as not found.
|
|
1326
|
+
* @summary Update a private image
|
|
1327
|
+
*/
|
|
1328
|
+
export const updatePrivateImagePathPrivateImageIdMin = 32;
|
|
1329
|
+
export const updatePrivateImagePathPrivateImageIdMax = 32;
|
|
1330
|
+
export const updatePrivateImagePathPrivateImageIdRegExp = new RegExp("^image_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
1331
|
+
export const UpdatePrivateImageParams = zod.strictObject({
|
|
1332
|
+
privateImageId: zod
|
|
1333
|
+
.string()
|
|
1334
|
+
.min(updatePrivateImagePathPrivateImageIdMin)
|
|
1335
|
+
.max(updatePrivateImagePathPrivateImageIdMax)
|
|
1336
|
+
.regex(updatePrivateImagePathPrivateImageIdRegExp)
|
|
1337
|
+
.describe("Compute Image TypeID. UUID text is not accepted."),
|
|
1338
|
+
});
|
|
1339
|
+
export const UpdatePrivateImageBody = UpdatePrivateImageRequestBody;
|
|
1340
|
+
/**
|
|
1341
|
+
* Deletes a private image of this project; any other image, public images included, is reported as not found.
|
|
1342
|
+
*
|
|
1343
|
+
* Deletion is rejected while instances created from the image still exist, as they need it in order to be rebuilt.
|
|
1344
|
+
*
|
|
1345
|
+
* An image whose capture has not finished can be deleted; the capture is aborted. This is the one operation accepted while its status is `pending`.
|
|
1346
|
+
*
|
|
1347
|
+
* Quota capacity and storage metering are released only after cleanup is confirmed.
|
|
1348
|
+
*
|
|
1349
|
+
* A resource whose purchase still awaits checkout or payment is refused with `COMPUTE_PURCHASE_PENDING`; `meta.checkout_session_id` names its Checkout Session and `meta.order_id` its order once checkout created one. Expire the session or cancel the order in Billing instead. A subscribed resource is released through its subscription cancellation. Cleanup must be confirmed before metering is stopped; unknown cleanup is not proof of release.
|
|
1350
|
+
*
|
|
1351
|
+
* While subscriptions pay for the private image (those in its `release_set`), deleting it cancels them rather than being refused: Compute creates one Billing cancellation for the whole set and answers with it in `cancellation`. `cancellation_mode` chooses when: `immediate` cancels the set now, a licensed subscription being refunded under its terms, and `period_end` keeps the private image working until `scheduled_at` and releases it then. Asking again while that cancellation is pending answers with it again, whatever mode is asked for.
|
|
1352
|
+
* @summary Delete a private image
|
|
1353
|
+
*/
|
|
1354
|
+
export const deletePrivateImagePathPrivateImageIdMin = 32;
|
|
1355
|
+
export const deletePrivateImagePathPrivateImageIdMax = 32;
|
|
1356
|
+
export const deletePrivateImagePathPrivateImageIdRegExp = new RegExp("^image_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
1357
|
+
export const DeletePrivateImageParams = zod.strictObject({
|
|
1358
|
+
privateImageId: zod
|
|
1359
|
+
.string()
|
|
1360
|
+
.min(deletePrivateImagePathPrivateImageIdMin)
|
|
1361
|
+
.max(deletePrivateImagePathPrivateImageIdMax)
|
|
1362
|
+
.regex(deletePrivateImagePathPrivateImageIdRegExp)
|
|
1363
|
+
.describe("Compute Image TypeID. UUID text is not accepted."),
|
|
1364
|
+
});
|
|
1365
|
+
export const DeletePrivateImageQueryParams = zod.strictObject({
|
|
1366
|
+
cancellation_mode: zod
|
|
1367
|
+
.enum(["immediate", "period_end"])
|
|
1368
|
+
.optional()
|
|
1369
|
+
.describe("When the subscriptions that pay for what is deleted end. `immediate` cancels them now and refunds a licensed one under its terms; `period_end` cancels them at the end of their paid period and keeps what is deleted working until then. Omitted, they are canceled now where the terms of every one of them allow it, and otherwise all at the end of the paid period, since one cancellation releases the whole set at one instant.\n\nBilling alone judges the mode against the terms each subscription was bought with. It refuses with 422 `BILLING_CANCELLATION_MODE_FIXED` a mode those terms do not allow: a pay-as-you-go subscription ends only now, and a prepaid one whose terms allow only the end of its period only then. It refuses `period_end` with 409 `BILLING_CANCELLATION_SCHEDULES_DIFFER` when the paid periods end at different times. Ignored when nothing is subscribed, and when a cancellation is already open: deleting again answers with that one as it is."),
|
|
1370
|
+
});
|
|
1371
|
+
/**
|
|
1372
|
+
* Lists the platform's public images that are on sale. A public image is offered to every project. One the platform withdraws disappears from here and can no longer install new instances, while the instances already running it keep running and can still be rebuilt onto it; retrieve it by id to see it.
|
|
1373
|
+
*
|
|
1374
|
+
* An image can only be used in the region that holds it. An image whose `min_memory_mib` exceeds the memory of the selected instance type cannot boot; filter the options accordingly.
|
|
1375
|
+
*
|
|
1376
|
+
* Images this project captured from its own instances are in `/private-images`.
|
|
1377
|
+
* @summary List public images
|
|
1378
|
+
*/
|
|
1379
|
+
export const listPublicImagesQueryRegionIdMin = 33;
|
|
1380
|
+
export const listPublicImagesQueryRegionIdMax = 33;
|
|
1381
|
+
export const listPublicImagesQueryRegionIdRegExp = new RegExp("^region_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
1382
|
+
export const listPublicImagesQueryPageDefault = 1;
|
|
1383
|
+
export const listPublicImagesQueryPageMax = 2147483647;
|
|
1384
|
+
export const listPublicImagesQueryPageSizeDefault = 50;
|
|
1385
|
+
export const listPublicImagesQueryPageSizeMax = 200;
|
|
1386
|
+
export const ListPublicImagesQueryParams = zod.strictObject({
|
|
1387
|
+
region_id: zod
|
|
1388
|
+
.string()
|
|
1389
|
+
.min(listPublicImagesQueryRegionIdMin)
|
|
1390
|
+
.max(listPublicImagesQueryRegionIdMax)
|
|
1391
|
+
.regex(listPublicImagesQueryRegionIdRegExp)
|
|
1392
|
+
.optional()
|
|
1393
|
+
.describe("Return only the images of this region"),
|
|
1394
|
+
page: zod
|
|
1395
|
+
.int()
|
|
1396
|
+
.min(1)
|
|
1397
|
+
.max(listPublicImagesQueryPageMax)
|
|
1398
|
+
.default(listPublicImagesQueryPageDefault)
|
|
1399
|
+
.describe("1-based page number. Defaults to 1."),
|
|
1400
|
+
page_size: zod
|
|
1401
|
+
.int()
|
|
1402
|
+
.min(1)
|
|
1403
|
+
.max(listPublicImagesQueryPageSizeMax)
|
|
1404
|
+
.default(listPublicImagesQueryPageSizeDefault)
|
|
1405
|
+
.describe("Items per page. Defaults to 50; at most 200."),
|
|
1406
|
+
});
|
|
1407
|
+
/**
|
|
1408
|
+
* Returns a public image, on sale or withdrawn. A withdrawn image (`sale_status` is `off_sale`) is still returned because instances may keep running it; it cannot be chosen for a new instance and can only be rebuilt onto by an instance that already runs it. A private image id is reported as not found here; use `/private-images`.
|
|
1409
|
+
* @summary Retrieve a public image
|
|
1410
|
+
*/
|
|
1411
|
+
export const getPublicImagePathPublicImageIdMin = 32;
|
|
1412
|
+
export const getPublicImagePathPublicImageIdMax = 32;
|
|
1413
|
+
export const getPublicImagePathPublicImageIdRegExp = new RegExp("^image_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
1414
|
+
export const GetPublicImageParams = zod.strictObject({
|
|
1415
|
+
publicImageId: zod
|
|
1416
|
+
.string()
|
|
1417
|
+
.min(getPublicImagePathPublicImageIdMin)
|
|
1418
|
+
.max(getPublicImagePathPublicImageIdMax)
|
|
1419
|
+
.regex(getPublicImagePathPublicImageIdRegExp)
|
|
1420
|
+
.describe("Compute Image TypeID. UUID text is not accepted."),
|
|
1421
|
+
});
|
|
1422
|
+
/**
|
|
1423
|
+
* Reads only the IAM project authorized by the scoped token; callers cannot select another project. Returns every resource's limit for the project in the region through shared pagination, the platform default included where no limit was set. A quota is per region, since each region has its own capacity; what the project holds in one region never counts against another. An unknown region is refused with 404. No usage is returned.
|
|
1424
|
+
* @summary List project quotas in a region
|
|
1425
|
+
*/
|
|
1426
|
+
export const listQuotasPathRegionIdMin = 33;
|
|
1427
|
+
export const listQuotasPathRegionIdMax = 33;
|
|
1428
|
+
export const listQuotasPathRegionIdRegExp = new RegExp("^region_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
1429
|
+
export const ListQuotasParams = zod.strictObject({
|
|
1430
|
+
regionId: zod
|
|
1431
|
+
.string()
|
|
1432
|
+
.min(listQuotasPathRegionIdMin)
|
|
1433
|
+
.max(listQuotasPathRegionIdMax)
|
|
1434
|
+
.regex(listQuotasPathRegionIdRegExp)
|
|
1435
|
+
.describe("Compute Region TypeID. UUID text is not accepted."),
|
|
1436
|
+
});
|
|
1437
|
+
export const listQuotasQueryPageDefault = 1;
|
|
1438
|
+
export const listQuotasQueryPageMax = 2147483647;
|
|
1439
|
+
export const listQuotasQueryPageSizeDefault = 50;
|
|
1440
|
+
export const listQuotasQueryPageSizeMax = 200;
|
|
1441
|
+
export const ListQuotasQueryParams = zod.strictObject({
|
|
1442
|
+
page: zod
|
|
1443
|
+
.int()
|
|
1444
|
+
.min(1)
|
|
1445
|
+
.max(listQuotasQueryPageMax)
|
|
1446
|
+
.default(listQuotasQueryPageDefault)
|
|
1447
|
+
.describe("1-based page number. Defaults to 1."),
|
|
1448
|
+
page_size: zod
|
|
1449
|
+
.int()
|
|
1450
|
+
.min(1)
|
|
1451
|
+
.max(listQuotasQueryPageSizeMax)
|
|
1452
|
+
.default(listQuotasQueryPageSizeDefault)
|
|
1453
|
+
.describe("Items per page. Defaults to 50; at most 200."),
|
|
1454
|
+
});
|
|
1455
|
+
/**
|
|
1456
|
+
* Reads only the IAM project authorized by the scoped token; callers cannot select another project. Returns the limit in force, the platform default when no limit was set. Unknown resource values are rejected; an unknown region is refused with 404.
|
|
1457
|
+
* @summary Get a project quota in a region
|
|
1458
|
+
*/
|
|
1459
|
+
export const getQuotaPathRegionIdMin = 33;
|
|
1460
|
+
export const getQuotaPathRegionIdMax = 33;
|
|
1461
|
+
export const getQuotaPathRegionIdRegExp = new RegExp("^region_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
1462
|
+
export const GetQuotaParams = zod.strictObject({
|
|
1463
|
+
regionId: zod
|
|
1464
|
+
.string()
|
|
1465
|
+
.min(getQuotaPathRegionIdMin)
|
|
1466
|
+
.max(getQuotaPathRegionIdMax)
|
|
1467
|
+
.regex(getQuotaPathRegionIdRegExp)
|
|
1468
|
+
.describe("Compute Region TypeID. UUID text is not accepted."),
|
|
1469
|
+
resource: zod
|
|
1470
|
+
.enum([
|
|
1471
|
+
"instances",
|
|
1472
|
+
"vcpus",
|
|
1473
|
+
"memory_mib",
|
|
1474
|
+
"volumes",
|
|
1475
|
+
"volume_gib",
|
|
1476
|
+
"virtual_private_clouds",
|
|
1477
|
+
"virtual_private_cloud_subnets",
|
|
1478
|
+
"network_interfaces",
|
|
1479
|
+
"elastic_ips",
|
|
1480
|
+
"security_groups",
|
|
1481
|
+
"security_group_rules",
|
|
1482
|
+
"volume_snapshots",
|
|
1483
|
+
"volume_backups",
|
|
1484
|
+
"private_images",
|
|
1485
|
+
])
|
|
1486
|
+
.describe("The resource or capacity constrained by a project quota in a region. Platform defaults: instances=5; vcpus=16; memory_mib=32768; volumes=20; volume_gib=500; virtual_private_clouds=3; virtual_private_cloud_subnets=20; network_interfaces=20; elastic_ips=3; security_groups=10; security_group_rules=100; volume_snapshots=20; volume_backups=20; private_images=20. memory_mib is measured in MiB and volume_gib in GiB. A zero limit permits no additional capacity; it is not unlimited."),
|
|
1487
|
+
});
|
|
1488
|
+
/**
|
|
1489
|
+
* @summary List available regions
|
|
1490
|
+
*/
|
|
1491
|
+
export const listRegionsQueryPageDefault = 1;
|
|
1492
|
+
export const listRegionsQueryPageMax = 2147483647;
|
|
1493
|
+
export const listRegionsQueryPageSizeDefault = 50;
|
|
1494
|
+
export const listRegionsQueryPageSizeMax = 200;
|
|
1495
|
+
export const ListRegionsQueryParams = zod.strictObject({
|
|
1496
|
+
page: zod
|
|
1497
|
+
.int()
|
|
1498
|
+
.min(1)
|
|
1499
|
+
.max(listRegionsQueryPageMax)
|
|
1500
|
+
.default(listRegionsQueryPageDefault)
|
|
1501
|
+
.describe("1-based page number. Defaults to 1."),
|
|
1502
|
+
page_size: zod
|
|
1503
|
+
.int()
|
|
1504
|
+
.min(1)
|
|
1505
|
+
.max(listRegionsQueryPageSizeMax)
|
|
1506
|
+
.default(listRegionsQueryPageSizeDefault)
|
|
1507
|
+
.describe("Items per page. Defaults to 50; at most 200."),
|
|
1508
|
+
});
|
|
1509
|
+
/**
|
|
1510
|
+
* The availability zones of a region are listed by `list-availability-zones` with `region_id`.
|
|
1511
|
+
* @summary Retrieve a region
|
|
1512
|
+
*/
|
|
1513
|
+
export const getRegionPathRegionIdMin = 33;
|
|
1514
|
+
export const getRegionPathRegionIdMax = 33;
|
|
1515
|
+
export const getRegionPathRegionIdRegExp = new RegExp("^region_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
1516
|
+
export const GetRegionParams = zod.strictObject({
|
|
1517
|
+
regionId: zod
|
|
1518
|
+
.string()
|
|
1519
|
+
.min(getRegionPathRegionIdMin)
|
|
1520
|
+
.max(getRegionPathRegionIdMax)
|
|
1521
|
+
.regex(getRegionPathRegionIdRegExp)
|
|
1522
|
+
.describe("Compute Region TypeID. UUID text is not accepted."),
|
|
1523
|
+
});
|
|
1524
|
+
/**
|
|
1525
|
+
* The rules of the security group, or with `-` those of every security group of the project.
|
|
1526
|
+
* @summary List security group rules
|
|
1527
|
+
*/
|
|
1528
|
+
export const listSecurityGroupRulesPathSecurityGroupIdRegExp = new RegExp("^(?:-|sg_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25})$");
|
|
1529
|
+
export const ListSecurityGroupRulesParams = zod.strictObject({
|
|
1530
|
+
securityGroupId: zod
|
|
1531
|
+
.string()
|
|
1532
|
+
.regex(listSecurityGroupRulesPathSecurityGroupIdRegExp)
|
|
1533
|
+
.describe("A security group identifier, or `-` to read across every security group of the project (AIP-159)."),
|
|
1534
|
+
});
|
|
1535
|
+
export const listSecurityGroupRulesQueryPageDefault = 1;
|
|
1536
|
+
export const listSecurityGroupRulesQueryPageMax = 2147483647;
|
|
1537
|
+
export const listSecurityGroupRulesQueryPageSizeDefault = 50;
|
|
1538
|
+
export const listSecurityGroupRulesQueryPageSizeMax = 200;
|
|
1539
|
+
export const ListSecurityGroupRulesQueryParams = zod.strictObject({
|
|
1540
|
+
page: zod
|
|
1541
|
+
.int()
|
|
1542
|
+
.min(1)
|
|
1543
|
+
.max(listSecurityGroupRulesQueryPageMax)
|
|
1544
|
+
.default(listSecurityGroupRulesQueryPageDefault)
|
|
1545
|
+
.describe("1-based page number. Defaults to 1."),
|
|
1546
|
+
page_size: zod
|
|
1547
|
+
.int()
|
|
1548
|
+
.min(1)
|
|
1549
|
+
.max(listSecurityGroupRulesQueryPageSizeMax)
|
|
1550
|
+
.default(listSecurityGroupRulesQueryPageSizeDefault)
|
|
1551
|
+
.describe("Items per page. Defaults to 50; at most 200."),
|
|
1552
|
+
});
|
|
1553
|
+
/**
|
|
1554
|
+
* Refused when the group already has a rule meaning the same thing; `0.0.0.0/0`, `::/0` and an omitted remote prefix all mean every address. Rules cannot be changed; replace one by creating the new rule and deleting the old one.
|
|
1555
|
+
* @summary Create a security group rule
|
|
1556
|
+
*/
|
|
1557
|
+
export const createSecurityGroupRulePathSecurityGroupIdMin = 29;
|
|
1558
|
+
export const createSecurityGroupRulePathSecurityGroupIdMax = 29;
|
|
1559
|
+
export const createSecurityGroupRulePathSecurityGroupIdRegExp = new RegExp("^sg_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
1560
|
+
export const CreateSecurityGroupRuleParams = zod.strictObject({
|
|
1561
|
+
securityGroupId: zod
|
|
1562
|
+
.string()
|
|
1563
|
+
.min(createSecurityGroupRulePathSecurityGroupIdMin)
|
|
1564
|
+
.max(createSecurityGroupRulePathSecurityGroupIdMax)
|
|
1565
|
+
.regex(createSecurityGroupRulePathSecurityGroupIdRegExp)
|
|
1566
|
+
.describe("Compute SecurityGroup TypeID. UUID text is not accepted."),
|
|
1567
|
+
});
|
|
1568
|
+
export const CreateSecurityGroupRuleBody = CreateSecurityGroupRuleRequestBody;
|
|
1569
|
+
/**
|
|
1570
|
+
* @summary Get a security group rule
|
|
1571
|
+
*/
|
|
1572
|
+
export const getSecurityGroupRulePathSecurityGroupIdMin = 29;
|
|
1573
|
+
export const getSecurityGroupRulePathSecurityGroupIdMax = 29;
|
|
1574
|
+
export const getSecurityGroupRulePathSecurityGroupIdRegExp = new RegExp("^sg_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
1575
|
+
export const getSecurityGroupRulePathSecurityGroupRuleIdMin = 33;
|
|
1576
|
+
export const getSecurityGroupRulePathSecurityGroupRuleIdMax = 33;
|
|
1577
|
+
export const getSecurityGroupRulePathSecurityGroupRuleIdRegExp = new RegExp("^sgrule_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
1578
|
+
export const GetSecurityGroupRuleParams = zod.strictObject({
|
|
1579
|
+
securityGroupId: zod
|
|
1580
|
+
.string()
|
|
1581
|
+
.min(getSecurityGroupRulePathSecurityGroupIdMin)
|
|
1582
|
+
.max(getSecurityGroupRulePathSecurityGroupIdMax)
|
|
1583
|
+
.regex(getSecurityGroupRulePathSecurityGroupIdRegExp)
|
|
1584
|
+
.describe("Compute SecurityGroup TypeID. UUID text is not accepted."),
|
|
1585
|
+
securityGroupRuleId: zod
|
|
1586
|
+
.string()
|
|
1587
|
+
.min(getSecurityGroupRulePathSecurityGroupRuleIdMin)
|
|
1588
|
+
.max(getSecurityGroupRulePathSecurityGroupRuleIdMax)
|
|
1589
|
+
.regex(getSecurityGroupRulePathSecurityGroupRuleIdRegExp)
|
|
1590
|
+
.describe("Compute SecurityGroupRule TypeID. UUID text is not accepted."),
|
|
1591
|
+
});
|
|
1592
|
+
/**
|
|
1593
|
+
* @summary Delete a security group rule
|
|
1594
|
+
*/
|
|
1595
|
+
export const deleteSecurityGroupRulePathSecurityGroupIdMin = 29;
|
|
1596
|
+
export const deleteSecurityGroupRulePathSecurityGroupIdMax = 29;
|
|
1597
|
+
export const deleteSecurityGroupRulePathSecurityGroupIdRegExp = new RegExp("^sg_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
1598
|
+
export const deleteSecurityGroupRulePathSecurityGroupRuleIdMin = 33;
|
|
1599
|
+
export const deleteSecurityGroupRulePathSecurityGroupRuleIdMax = 33;
|
|
1600
|
+
export const deleteSecurityGroupRulePathSecurityGroupRuleIdRegExp = new RegExp("^sgrule_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
1601
|
+
export const DeleteSecurityGroupRuleParams = zod.strictObject({
|
|
1602
|
+
securityGroupId: zod
|
|
1603
|
+
.string()
|
|
1604
|
+
.min(deleteSecurityGroupRulePathSecurityGroupIdMin)
|
|
1605
|
+
.max(deleteSecurityGroupRulePathSecurityGroupIdMax)
|
|
1606
|
+
.regex(deleteSecurityGroupRulePathSecurityGroupIdRegExp)
|
|
1607
|
+
.describe("Compute SecurityGroup TypeID. UUID text is not accepted."),
|
|
1608
|
+
securityGroupRuleId: zod
|
|
1609
|
+
.string()
|
|
1610
|
+
.min(deleteSecurityGroupRulePathSecurityGroupRuleIdMin)
|
|
1611
|
+
.max(deleteSecurityGroupRulePathSecurityGroupRuleIdMax)
|
|
1612
|
+
.regex(deleteSecurityGroupRulePathSecurityGroupRuleIdRegExp)
|
|
1613
|
+
.describe("Compute SecurityGroupRule TypeID. UUID text is not accepted."),
|
|
1614
|
+
});
|
|
1615
|
+
/**
|
|
1616
|
+
* @summary List security groups
|
|
1617
|
+
*/
|
|
1618
|
+
export const listSecurityGroupsQueryRegionIdMin = 33;
|
|
1619
|
+
export const listSecurityGroupsQueryRegionIdMax = 33;
|
|
1620
|
+
export const listSecurityGroupsQueryRegionIdRegExp = new RegExp("^region_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
1621
|
+
export const listSecurityGroupsQueryVirtualPrivateCloudIdMin = 30;
|
|
1622
|
+
export const listSecurityGroupsQueryVirtualPrivateCloudIdMax = 30;
|
|
1623
|
+
export const listSecurityGroupsQueryVirtualPrivateCloudIdRegExp = new RegExp("^vpc_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
1624
|
+
export const listSecurityGroupsQueryPageDefault = 1;
|
|
1625
|
+
export const listSecurityGroupsQueryPageMax = 2147483647;
|
|
1626
|
+
export const listSecurityGroupsQueryPageSizeDefault = 50;
|
|
1627
|
+
export const listSecurityGroupsQueryPageSizeMax = 200;
|
|
1628
|
+
export const ListSecurityGroupsQueryParams = zod.strictObject({
|
|
1629
|
+
region_id: zod
|
|
1630
|
+
.string()
|
|
1631
|
+
.min(listSecurityGroupsQueryRegionIdMin)
|
|
1632
|
+
.max(listSecurityGroupsQueryRegionIdMax)
|
|
1633
|
+
.regex(listSecurityGroupsQueryRegionIdRegExp)
|
|
1634
|
+
.optional()
|
|
1635
|
+
.describe("Only security groups in this region."),
|
|
1636
|
+
virtual_private_cloud_id: zod
|
|
1637
|
+
.string()
|
|
1638
|
+
.min(listSecurityGroupsQueryVirtualPrivateCloudIdMin)
|
|
1639
|
+
.max(listSecurityGroupsQueryVirtualPrivateCloudIdMax)
|
|
1640
|
+
.regex(listSecurityGroupsQueryVirtualPrivateCloudIdRegExp)
|
|
1641
|
+
.optional()
|
|
1642
|
+
.describe("Only security groups of this virtual private cloud."),
|
|
1643
|
+
page: zod
|
|
1644
|
+
.int()
|
|
1645
|
+
.min(1)
|
|
1646
|
+
.max(listSecurityGroupsQueryPageMax)
|
|
1647
|
+
.default(listSecurityGroupsQueryPageDefault)
|
|
1648
|
+
.describe("1-based page number. Defaults to 1."),
|
|
1649
|
+
page_size: zod
|
|
1650
|
+
.int()
|
|
1651
|
+
.min(1)
|
|
1652
|
+
.max(listSecurityGroupsQueryPageSizeMax)
|
|
1653
|
+
.default(listSecurityGroupsQueryPageSizeDefault)
|
|
1654
|
+
.describe("Items per page. Defaults to 50; at most 200."),
|
|
1655
|
+
});
|
|
1656
|
+
/**
|
|
1657
|
+
* A new security group admits all outbound traffic and denies inbound traffic, except ICMP fragmentation-needed (IPv4) and Packet Too Big (IPv6). Without those two, path MTU discovery fails, which shows as connections that establish and then stall on large packets. All of these are ordinary rules and can be deleted.
|
|
1658
|
+
* @summary Create a security group
|
|
1659
|
+
*/
|
|
1660
|
+
export const CreateSecurityGroupBody = CreateSecurityGroupRequestBody;
|
|
1661
|
+
/**
|
|
1662
|
+
* @summary Get a security group
|
|
1663
|
+
*/
|
|
1664
|
+
export const getSecurityGroupPathSecurityGroupIdMin = 29;
|
|
1665
|
+
export const getSecurityGroupPathSecurityGroupIdMax = 29;
|
|
1666
|
+
export const getSecurityGroupPathSecurityGroupIdRegExp = new RegExp("^sg_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
1667
|
+
export const GetSecurityGroupParams = zod.strictObject({
|
|
1668
|
+
securityGroupId: zod
|
|
1669
|
+
.string()
|
|
1670
|
+
.min(getSecurityGroupPathSecurityGroupIdMin)
|
|
1671
|
+
.max(getSecurityGroupPathSecurityGroupIdMax)
|
|
1672
|
+
.regex(getSecurityGroupPathSecurityGroupIdRegExp)
|
|
1673
|
+
.describe("Compute SecurityGroup TypeID. UUID text is not accepted."),
|
|
1674
|
+
});
|
|
1675
|
+
/**
|
|
1676
|
+
* Changes the name or description. Rules are resources of their own, created and deleted under `/security-group-rules`.
|
|
1677
|
+
* @summary Update a security group
|
|
1678
|
+
*/
|
|
1679
|
+
export const updateSecurityGroupPathSecurityGroupIdMin = 29;
|
|
1680
|
+
export const updateSecurityGroupPathSecurityGroupIdMax = 29;
|
|
1681
|
+
export const updateSecurityGroupPathSecurityGroupIdRegExp = new RegExp("^sg_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
1682
|
+
export const UpdateSecurityGroupParams = zod.strictObject({
|
|
1683
|
+
securityGroupId: zod
|
|
1684
|
+
.string()
|
|
1685
|
+
.min(updateSecurityGroupPathSecurityGroupIdMin)
|
|
1686
|
+
.max(updateSecurityGroupPathSecurityGroupIdMax)
|
|
1687
|
+
.regex(updateSecurityGroupPathSecurityGroupIdRegExp)
|
|
1688
|
+
.describe("Compute SecurityGroup TypeID. UUID text is not accepted."),
|
|
1689
|
+
});
|
|
1690
|
+
export const UpdateSecurityGroupBody = UpdateSecurityGroupRequestBody;
|
|
1691
|
+
/**
|
|
1692
|
+
* Refused while a network interface uses the group. The default security group cannot be deleted; it goes with its virtual private cloud.
|
|
1693
|
+
* @summary Delete a security group
|
|
1694
|
+
*/
|
|
1695
|
+
export const deleteSecurityGroupPathSecurityGroupIdMin = 29;
|
|
1696
|
+
export const deleteSecurityGroupPathSecurityGroupIdMax = 29;
|
|
1697
|
+
export const deleteSecurityGroupPathSecurityGroupIdRegExp = new RegExp("^sg_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
1698
|
+
export const DeleteSecurityGroupParams = zod.strictObject({
|
|
1699
|
+
securityGroupId: zod
|
|
1700
|
+
.string()
|
|
1701
|
+
.min(deleteSecurityGroupPathSecurityGroupIdMin)
|
|
1702
|
+
.max(deleteSecurityGroupPathSecurityGroupIdMax)
|
|
1703
|
+
.regex(deleteSecurityGroupPathSecurityGroupIdRegExp)
|
|
1704
|
+
.describe("Compute SecurityGroup TypeID. UUID text is not accepted."),
|
|
1705
|
+
});
|
|
1706
|
+
/**
|
|
1707
|
+
* @summary List peerings
|
|
1708
|
+
*/
|
|
1709
|
+
export const listVirtualPrivateCloudPeeringsQueryPageDefault = 1;
|
|
1710
|
+
export const listVirtualPrivateCloudPeeringsQueryPageMax = 2147483647;
|
|
1711
|
+
export const listVirtualPrivateCloudPeeringsQueryPageSizeDefault = 50;
|
|
1712
|
+
export const listVirtualPrivateCloudPeeringsQueryPageSizeMax = 200;
|
|
1713
|
+
export const ListVirtualPrivateCloudPeeringsQueryParams = zod.strictObject({
|
|
1714
|
+
page: zod
|
|
1715
|
+
.int()
|
|
1716
|
+
.min(1)
|
|
1717
|
+
.max(listVirtualPrivateCloudPeeringsQueryPageMax)
|
|
1718
|
+
.default(listVirtualPrivateCloudPeeringsQueryPageDefault)
|
|
1719
|
+
.describe("1-based page number. Defaults to 1."),
|
|
1720
|
+
page_size: zod
|
|
1721
|
+
.int()
|
|
1722
|
+
.min(1)
|
|
1723
|
+
.max(listVirtualPrivateCloudPeeringsQueryPageSizeMax)
|
|
1724
|
+
.default(listVirtualPrivateCloudPeeringsQueryPageSizeDefault)
|
|
1725
|
+
.describe("Items per page. Defaults to 50; at most 200."),
|
|
1726
|
+
});
|
|
1727
|
+
/**
|
|
1728
|
+
* Request IPv4 peering between non-overlapping VPCs in the same Region. The target project must accept before any connectivity is created. Does not change security groups or provide transitive routing.
|
|
1729
|
+
* @summary Create peering
|
|
1730
|
+
*/
|
|
1731
|
+
export const CreateVirtualPrivateCloudPeeringBody = CreateVirtualPrivateCloudPeeringRequestBody;
|
|
1732
|
+
/**
|
|
1733
|
+
* @summary Get peering
|
|
1734
|
+
*/
|
|
1735
|
+
export const getVirtualPrivateCloudPeeringPathVirtualPrivateCloudPeeringIdMin = 37;
|
|
1736
|
+
export const getVirtualPrivateCloudPeeringPathVirtualPrivateCloudPeeringIdMax = 37;
|
|
1737
|
+
export const getVirtualPrivateCloudPeeringPathVirtualPrivateCloudPeeringIdRegExp = new RegExp("^vpcpeering_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
1738
|
+
export const GetVirtualPrivateCloudPeeringParams = zod.strictObject({
|
|
1739
|
+
virtualPrivateCloudPeeringId: zod
|
|
1740
|
+
.string()
|
|
1741
|
+
.min(getVirtualPrivateCloudPeeringPathVirtualPrivateCloudPeeringIdMin)
|
|
1742
|
+
.max(getVirtualPrivateCloudPeeringPathVirtualPrivateCloudPeeringIdMax)
|
|
1743
|
+
.regex(getVirtualPrivateCloudPeeringPathVirtualPrivateCloudPeeringIdRegExp)
|
|
1744
|
+
.describe("Compute VirtualPrivateCloudPeering TypeID. UUID text is not accepted."),
|
|
1745
|
+
});
|
|
1746
|
+
/**
|
|
1747
|
+
* @summary Delete peering
|
|
1748
|
+
*/
|
|
1749
|
+
export const deleteVirtualPrivateCloudPeeringPathVirtualPrivateCloudPeeringIdMin = 37;
|
|
1750
|
+
export const deleteVirtualPrivateCloudPeeringPathVirtualPrivateCloudPeeringIdMax = 37;
|
|
1751
|
+
export const deleteVirtualPrivateCloudPeeringPathVirtualPrivateCloudPeeringIdRegExp = new RegExp("^vpcpeering_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
1752
|
+
export const DeleteVirtualPrivateCloudPeeringParams = zod.strictObject({
|
|
1753
|
+
virtualPrivateCloudPeeringId: zod
|
|
1754
|
+
.string()
|
|
1755
|
+
.min(deleteVirtualPrivateCloudPeeringPathVirtualPrivateCloudPeeringIdMin)
|
|
1756
|
+
.max(deleteVirtualPrivateCloudPeeringPathVirtualPrivateCloudPeeringIdMax)
|
|
1757
|
+
.regex(deleteVirtualPrivateCloudPeeringPathVirtualPrivateCloudPeeringIdRegExp)
|
|
1758
|
+
.describe("Compute VirtualPrivateCloudPeering TypeID. UUID text is not accepted."),
|
|
1759
|
+
});
|
|
1760
|
+
/**
|
|
1761
|
+
* Starts the provisioning of the connectivity; the peering is `provisioning` until it is `active`. It does not change security groups or provide transitive routing. Only the accepter project may decide; the requester project is refused, because a peering would otherwise be accepted by the party who asked for it. The decision is made once: a peering whose `acceptance` is no longer `pending` refuses both methods.
|
|
1762
|
+
* @summary Accept a peering
|
|
1763
|
+
*/
|
|
1764
|
+
export const acceptVirtualPrivateCloudPeeringPathVirtualPrivateCloudPeeringIdMin = 37;
|
|
1765
|
+
export const acceptVirtualPrivateCloudPeeringPathVirtualPrivateCloudPeeringIdMax = 37;
|
|
1766
|
+
export const acceptVirtualPrivateCloudPeeringPathVirtualPrivateCloudPeeringIdRegExp = new RegExp("^vpcpeering_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
1767
|
+
export const AcceptVirtualPrivateCloudPeeringParams = zod.strictObject({
|
|
1768
|
+
virtualPrivateCloudPeeringId: zod
|
|
1769
|
+
.string()
|
|
1770
|
+
.min(acceptVirtualPrivateCloudPeeringPathVirtualPrivateCloudPeeringIdMin)
|
|
1771
|
+
.max(acceptVirtualPrivateCloudPeeringPathVirtualPrivateCloudPeeringIdMax)
|
|
1772
|
+
.regex(acceptVirtualPrivateCloudPeeringPathVirtualPrivateCloudPeeringIdRegExp)
|
|
1773
|
+
.describe("Compute VirtualPrivateCloudPeering TypeID. UUID text is not accepted."),
|
|
1774
|
+
});
|
|
1775
|
+
/**
|
|
1776
|
+
* Ends the peering with its `acceptance` `rejected` and its `status` `deleted`; no connectivity is ever created. Only the accepter project may decide; the requester project is refused, because a peering would otherwise be accepted by the party who asked for it. The decision is made once: a peering whose `acceptance` is no longer `pending` refuses both methods.
|
|
1777
|
+
* @summary Reject a peering
|
|
1778
|
+
*/
|
|
1779
|
+
export const rejectVirtualPrivateCloudPeeringPathVirtualPrivateCloudPeeringIdMin = 37;
|
|
1780
|
+
export const rejectVirtualPrivateCloudPeeringPathVirtualPrivateCloudPeeringIdMax = 37;
|
|
1781
|
+
export const rejectVirtualPrivateCloudPeeringPathVirtualPrivateCloudPeeringIdRegExp = new RegExp("^vpcpeering_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
1782
|
+
export const RejectVirtualPrivateCloudPeeringParams = zod.strictObject({
|
|
1783
|
+
virtualPrivateCloudPeeringId: zod
|
|
1784
|
+
.string()
|
|
1785
|
+
.min(rejectVirtualPrivateCloudPeeringPathVirtualPrivateCloudPeeringIdMin)
|
|
1786
|
+
.max(rejectVirtualPrivateCloudPeeringPathVirtualPrivateCloudPeeringIdMax)
|
|
1787
|
+
.regex(rejectVirtualPrivateCloudPeeringPathVirtualPrivateCloudPeeringIdRegExp)
|
|
1788
|
+
.describe("Compute VirtualPrivateCloudPeering TypeID. UUID text is not accepted."),
|
|
1789
|
+
});
|
|
1790
|
+
/**
|
|
1791
|
+
* Static routes of the virtual private cloud, or with `-` those of every virtual private cloud of the project, including the routes peerings write, which show `type` peering.
|
|
1792
|
+
* @summary List routes
|
|
1793
|
+
*/
|
|
1794
|
+
export const listVirtualPrivateCloudRoutesPathVirtualPrivateCloudIdRegExp = new RegExp("^(?:-|vpc_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25})$");
|
|
1795
|
+
export const ListVirtualPrivateCloudRoutesParams = zod.strictObject({
|
|
1796
|
+
virtualPrivateCloudId: zod
|
|
1797
|
+
.string()
|
|
1798
|
+
.regex(listVirtualPrivateCloudRoutesPathVirtualPrivateCloudIdRegExp)
|
|
1799
|
+
.describe("A virtual private cloud identifier, or `-` to read across every virtual private cloud of the project (AIP-159)."),
|
|
1800
|
+
});
|
|
1801
|
+
export const listVirtualPrivateCloudRoutesQueryPageDefault = 1;
|
|
1802
|
+
export const listVirtualPrivateCloudRoutesQueryPageMax = 2147483647;
|
|
1803
|
+
export const listVirtualPrivateCloudRoutesQueryPageSizeDefault = 50;
|
|
1804
|
+
export const listVirtualPrivateCloudRoutesQueryPageSizeMax = 200;
|
|
1805
|
+
export const ListVirtualPrivateCloudRoutesQueryParams = zod.strictObject({
|
|
1806
|
+
page: zod
|
|
1807
|
+
.int()
|
|
1808
|
+
.min(1)
|
|
1809
|
+
.max(listVirtualPrivateCloudRoutesQueryPageMax)
|
|
1810
|
+
.default(listVirtualPrivateCloudRoutesQueryPageDefault)
|
|
1811
|
+
.describe("1-based page number. Defaults to 1."),
|
|
1812
|
+
page_size: zod
|
|
1813
|
+
.int()
|
|
1814
|
+
.min(1)
|
|
1815
|
+
.max(listVirtualPrivateCloudRoutesQueryPageSizeMax)
|
|
1816
|
+
.default(listVirtualPrivateCloudRoutesQueryPageSizeDefault)
|
|
1817
|
+
.describe("Items per page. Defaults to 50; at most 200."),
|
|
1818
|
+
});
|
|
1819
|
+
/**
|
|
1820
|
+
* Three forms that would sever connectivity are refused: a destination of `0.0.0.0/0`, which overrides the default route and takes every elastic IP offline immediately; a destination equal to the CIDR of a subnet, which overrides its directly connected route; and a next hop equal to the gateway of a subnet, which points back at the router itself. A destination overlapping a peering's route is refused with `VIRTUAL_PRIVATE_CLOUD_ROUTE_OVERLAPS_PEERING`.
|
|
1821
|
+
* @summary Create a static route
|
|
1822
|
+
*/
|
|
1823
|
+
export const createVirtualPrivateCloudRoutePathVirtualPrivateCloudIdMin = 30;
|
|
1824
|
+
export const createVirtualPrivateCloudRoutePathVirtualPrivateCloudIdMax = 30;
|
|
1825
|
+
export const createVirtualPrivateCloudRoutePathVirtualPrivateCloudIdRegExp = new RegExp("^vpc_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
1826
|
+
export const CreateVirtualPrivateCloudRouteParams = zod.strictObject({
|
|
1827
|
+
virtualPrivateCloudId: zod
|
|
1828
|
+
.string()
|
|
1829
|
+
.min(createVirtualPrivateCloudRoutePathVirtualPrivateCloudIdMin)
|
|
1830
|
+
.max(createVirtualPrivateCloudRoutePathVirtualPrivateCloudIdMax)
|
|
1831
|
+
.regex(createVirtualPrivateCloudRoutePathVirtualPrivateCloudIdRegExp)
|
|
1832
|
+
.describe("The public vpc resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
1833
|
+
});
|
|
1834
|
+
export const CreateVirtualPrivateCloudRouteBody = CreateVirtualPrivateCloudRouteRequestBody;
|
|
1835
|
+
/**
|
|
1836
|
+
* @summary Get a route
|
|
1837
|
+
*/
|
|
1838
|
+
export const getVirtualPrivateCloudRoutePathVirtualPrivateCloudIdMin = 30;
|
|
1839
|
+
export const getVirtualPrivateCloudRoutePathVirtualPrivateCloudIdMax = 30;
|
|
1840
|
+
export const getVirtualPrivateCloudRoutePathVirtualPrivateCloudIdRegExp = new RegExp("^vpc_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
1841
|
+
export const getVirtualPrivateCloudRoutePathVirtualPrivateCloudRouteIdMin = 35;
|
|
1842
|
+
export const getVirtualPrivateCloudRoutePathVirtualPrivateCloudRouteIdMax = 35;
|
|
1843
|
+
export const getVirtualPrivateCloudRoutePathVirtualPrivateCloudRouteIdRegExp = new RegExp("^vpcroute_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
1844
|
+
export const GetVirtualPrivateCloudRouteParams = zod.strictObject({
|
|
1845
|
+
virtualPrivateCloudId: zod
|
|
1846
|
+
.string()
|
|
1847
|
+
.min(getVirtualPrivateCloudRoutePathVirtualPrivateCloudIdMin)
|
|
1848
|
+
.max(getVirtualPrivateCloudRoutePathVirtualPrivateCloudIdMax)
|
|
1849
|
+
.regex(getVirtualPrivateCloudRoutePathVirtualPrivateCloudIdRegExp)
|
|
1850
|
+
.describe("The public vpc resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
1851
|
+
virtualPrivateCloudRouteId: zod
|
|
1852
|
+
.string()
|
|
1853
|
+
.min(getVirtualPrivateCloudRoutePathVirtualPrivateCloudRouteIdMin)
|
|
1854
|
+
.max(getVirtualPrivateCloudRoutePathVirtualPrivateCloudRouteIdMax)
|
|
1855
|
+
.regex(getVirtualPrivateCloudRoutePathVirtualPrivateCloudRouteIdRegExp)
|
|
1856
|
+
.describe("Compute VirtualPrivateCloudRoute TypeID. UUID text is not accepted."),
|
|
1857
|
+
});
|
|
1858
|
+
/**
|
|
1859
|
+
* A route has no update; replace it by creating the new route and deleting the old one. A peering's route is refused with `VIRTUAL_PRIVATE_CLOUD_ROUTE_HELD_BY_PEERING` and goes away with its peering.
|
|
1860
|
+
* @summary Delete a static route
|
|
1861
|
+
*/
|
|
1862
|
+
export const deleteVirtualPrivateCloudRoutePathVirtualPrivateCloudIdMin = 30;
|
|
1863
|
+
export const deleteVirtualPrivateCloudRoutePathVirtualPrivateCloudIdMax = 30;
|
|
1864
|
+
export const deleteVirtualPrivateCloudRoutePathVirtualPrivateCloudIdRegExp = new RegExp("^vpc_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
1865
|
+
export const deleteVirtualPrivateCloudRoutePathVirtualPrivateCloudRouteIdMin = 35;
|
|
1866
|
+
export const deleteVirtualPrivateCloudRoutePathVirtualPrivateCloudRouteIdMax = 35;
|
|
1867
|
+
export const deleteVirtualPrivateCloudRoutePathVirtualPrivateCloudRouteIdRegExp = new RegExp("^vpcroute_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
1868
|
+
export const DeleteVirtualPrivateCloudRouteParams = zod.strictObject({
|
|
1869
|
+
virtualPrivateCloudId: zod
|
|
1870
|
+
.string()
|
|
1871
|
+
.min(deleteVirtualPrivateCloudRoutePathVirtualPrivateCloudIdMin)
|
|
1872
|
+
.max(deleteVirtualPrivateCloudRoutePathVirtualPrivateCloudIdMax)
|
|
1873
|
+
.regex(deleteVirtualPrivateCloudRoutePathVirtualPrivateCloudIdRegExp)
|
|
1874
|
+
.describe("The public vpc resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
1875
|
+
virtualPrivateCloudRouteId: zod
|
|
1876
|
+
.string()
|
|
1877
|
+
.min(deleteVirtualPrivateCloudRoutePathVirtualPrivateCloudRouteIdMin)
|
|
1878
|
+
.max(deleteVirtualPrivateCloudRoutePathVirtualPrivateCloudRouteIdMax)
|
|
1879
|
+
.regex(deleteVirtualPrivateCloudRoutePathVirtualPrivateCloudRouteIdRegExp)
|
|
1880
|
+
.describe("Compute VirtualPrivateCloudRoute TypeID. UUID text is not accepted."),
|
|
1881
|
+
});
|
|
1882
|
+
/**
|
|
1883
|
+
* The subnets of the virtual private cloud, or with `-` those of every virtual private cloud of the project. A subnet is dual-stack once IPv6 is enabled on its virtual private cloud, which gives every subnet a /64 of the cloud's /56.
|
|
1884
|
+
* @summary List subnets
|
|
1885
|
+
*/
|
|
1886
|
+
export const listVirtualPrivateCloudSubnetsPathVirtualPrivateCloudIdRegExp = new RegExp("^(?:-|vpc_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25})$");
|
|
1887
|
+
export const ListVirtualPrivateCloudSubnetsParams = zod.strictObject({
|
|
1888
|
+
virtualPrivateCloudId: zod
|
|
1889
|
+
.string()
|
|
1890
|
+
.regex(listVirtualPrivateCloudSubnetsPathVirtualPrivateCloudIdRegExp)
|
|
1891
|
+
.describe("A virtual private cloud identifier, or `-` to read across every virtual private cloud of the project (AIP-159)."),
|
|
1892
|
+
});
|
|
1893
|
+
export const listVirtualPrivateCloudSubnetsQueryPageDefault = 1;
|
|
1894
|
+
export const listVirtualPrivateCloudSubnetsQueryPageMax = 2147483647;
|
|
1895
|
+
export const listVirtualPrivateCloudSubnetsQueryPageSizeDefault = 50;
|
|
1896
|
+
export const listVirtualPrivateCloudSubnetsQueryPageSizeMax = 200;
|
|
1897
|
+
export const ListVirtualPrivateCloudSubnetsQueryParams = zod.strictObject({
|
|
1898
|
+
page: zod
|
|
1899
|
+
.int()
|
|
1900
|
+
.min(1)
|
|
1901
|
+
.max(listVirtualPrivateCloudSubnetsQueryPageMax)
|
|
1902
|
+
.default(listVirtualPrivateCloudSubnetsQueryPageDefault)
|
|
1903
|
+
.describe("1-based page number. Defaults to 1."),
|
|
1904
|
+
page_size: zod
|
|
1905
|
+
.int()
|
|
1906
|
+
.min(1)
|
|
1907
|
+
.max(listVirtualPrivateCloudSubnetsQueryPageSizeMax)
|
|
1908
|
+
.default(listVirtualPrivateCloudSubnetsQueryPageSizeDefault)
|
|
1909
|
+
.describe("Items per page. Defaults to 50; at most 200."),
|
|
1910
|
+
});
|
|
1911
|
+
/**
|
|
1912
|
+
* The IPv4 CIDR must fall inside the virtual private cloud's CIDR and must not overlap another subnet of it; to find a free one, read the virtual private cloud's `free-subnet-cidr`. In a virtual private cloud with IPv6 enabled the subnet also takes the lowest free /64 of the cloud's /56, refused with 409 `VIRTUAL_PRIVATE_CLOUD_SUBNET_IPV6_CIDR_EXHAUSTED` when none is left.
|
|
1913
|
+
* @summary Create a subnet
|
|
1914
|
+
*/
|
|
1915
|
+
export const createVirtualPrivateCloudSubnetPathVirtualPrivateCloudIdMin = 30;
|
|
1916
|
+
export const createVirtualPrivateCloudSubnetPathVirtualPrivateCloudIdMax = 30;
|
|
1917
|
+
export const createVirtualPrivateCloudSubnetPathVirtualPrivateCloudIdRegExp = new RegExp("^vpc_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
1918
|
+
export const CreateVirtualPrivateCloudSubnetParams = zod.strictObject({
|
|
1919
|
+
virtualPrivateCloudId: zod
|
|
1920
|
+
.string()
|
|
1921
|
+
.min(createVirtualPrivateCloudSubnetPathVirtualPrivateCloudIdMin)
|
|
1922
|
+
.max(createVirtualPrivateCloudSubnetPathVirtualPrivateCloudIdMax)
|
|
1923
|
+
.regex(createVirtualPrivateCloudSubnetPathVirtualPrivateCloudIdRegExp)
|
|
1924
|
+
.describe("The public vpc resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
1925
|
+
});
|
|
1926
|
+
export const CreateVirtualPrivateCloudSubnetBody = CreateVirtualPrivateCloudSubnetRequestBody;
|
|
1927
|
+
/**
|
|
1928
|
+
* @summary Get a subnet
|
|
1929
|
+
*/
|
|
1930
|
+
export const getVirtualPrivateCloudSubnetPathVirtualPrivateCloudIdMin = 30;
|
|
1931
|
+
export const getVirtualPrivateCloudSubnetPathVirtualPrivateCloudIdMax = 30;
|
|
1932
|
+
export const getVirtualPrivateCloudSubnetPathVirtualPrivateCloudIdRegExp = new RegExp("^vpc_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
1933
|
+
export const getVirtualPrivateCloudSubnetPathSubnetIdMin = 33;
|
|
1934
|
+
export const getVirtualPrivateCloudSubnetPathSubnetIdMax = 33;
|
|
1935
|
+
export const getVirtualPrivateCloudSubnetPathSubnetIdRegExp = new RegExp("^subnet_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
1936
|
+
export const GetVirtualPrivateCloudSubnetParams = zod.strictObject({
|
|
1937
|
+
virtualPrivateCloudId: zod
|
|
1938
|
+
.string()
|
|
1939
|
+
.min(getVirtualPrivateCloudSubnetPathVirtualPrivateCloudIdMin)
|
|
1940
|
+
.max(getVirtualPrivateCloudSubnetPathVirtualPrivateCloudIdMax)
|
|
1941
|
+
.regex(getVirtualPrivateCloudSubnetPathVirtualPrivateCloudIdRegExp)
|
|
1942
|
+
.describe("The public vpc resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
1943
|
+
subnetId: zod
|
|
1944
|
+
.string()
|
|
1945
|
+
.min(getVirtualPrivateCloudSubnetPathSubnetIdMin)
|
|
1946
|
+
.max(getVirtualPrivateCloudSubnetPathSubnetIdMax)
|
|
1947
|
+
.regex(getVirtualPrivateCloudSubnetPathSubnetIdRegExp)
|
|
1948
|
+
.describe("Compute Subnet TypeID. UUID text is not accepted."),
|
|
1949
|
+
});
|
|
1950
|
+
/**
|
|
1951
|
+
* Only the name can change. The CIDR is fixed for the subnet's life, because addresses already handed out inside it would fall outside a changed range.
|
|
1952
|
+
* @summary Update a subnet
|
|
1953
|
+
*/
|
|
1954
|
+
export const updateVirtualPrivateCloudSubnetPathVirtualPrivateCloudIdMin = 30;
|
|
1955
|
+
export const updateVirtualPrivateCloudSubnetPathVirtualPrivateCloudIdMax = 30;
|
|
1956
|
+
export const updateVirtualPrivateCloudSubnetPathVirtualPrivateCloudIdRegExp = new RegExp("^vpc_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
1957
|
+
export const updateVirtualPrivateCloudSubnetPathSubnetIdMin = 33;
|
|
1958
|
+
export const updateVirtualPrivateCloudSubnetPathSubnetIdMax = 33;
|
|
1959
|
+
export const updateVirtualPrivateCloudSubnetPathSubnetIdRegExp = new RegExp("^subnet_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
1960
|
+
export const UpdateVirtualPrivateCloudSubnetParams = zod.strictObject({
|
|
1961
|
+
virtualPrivateCloudId: zod
|
|
1962
|
+
.string()
|
|
1963
|
+
.min(updateVirtualPrivateCloudSubnetPathVirtualPrivateCloudIdMin)
|
|
1964
|
+
.max(updateVirtualPrivateCloudSubnetPathVirtualPrivateCloudIdMax)
|
|
1965
|
+
.regex(updateVirtualPrivateCloudSubnetPathVirtualPrivateCloudIdRegExp)
|
|
1966
|
+
.describe("The public vpc resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
1967
|
+
subnetId: zod
|
|
1968
|
+
.string()
|
|
1969
|
+
.min(updateVirtualPrivateCloudSubnetPathSubnetIdMin)
|
|
1970
|
+
.max(updateVirtualPrivateCloudSubnetPathSubnetIdMax)
|
|
1971
|
+
.regex(updateVirtualPrivateCloudSubnetPathSubnetIdRegExp)
|
|
1972
|
+
.describe("Compute Subnet TypeID. UUID text is not accepted."),
|
|
1973
|
+
});
|
|
1974
|
+
export const UpdateVirtualPrivateCloudSubnetBody = UpdateVirtualPrivateCloudSubnetRequestBody;
|
|
1975
|
+
/**
|
|
1976
|
+
* Refused while network interfaces remain in the subnet, or while a static route has a next hop inside its CIDR. Its /64 goes back to the virtual private cloud's /56.
|
|
1977
|
+
* @summary Delete a subnet
|
|
1978
|
+
*/
|
|
1979
|
+
export const deleteVirtualPrivateCloudSubnetPathVirtualPrivateCloudIdMin = 30;
|
|
1980
|
+
export const deleteVirtualPrivateCloudSubnetPathVirtualPrivateCloudIdMax = 30;
|
|
1981
|
+
export const deleteVirtualPrivateCloudSubnetPathVirtualPrivateCloudIdRegExp = new RegExp("^vpc_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
1982
|
+
export const deleteVirtualPrivateCloudSubnetPathSubnetIdMin = 33;
|
|
1983
|
+
export const deleteVirtualPrivateCloudSubnetPathSubnetIdMax = 33;
|
|
1984
|
+
export const deleteVirtualPrivateCloudSubnetPathSubnetIdRegExp = new RegExp("^subnet_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
1985
|
+
export const DeleteVirtualPrivateCloudSubnetParams = zod.strictObject({
|
|
1986
|
+
virtualPrivateCloudId: zod
|
|
1987
|
+
.string()
|
|
1988
|
+
.min(deleteVirtualPrivateCloudSubnetPathVirtualPrivateCloudIdMin)
|
|
1989
|
+
.max(deleteVirtualPrivateCloudSubnetPathVirtualPrivateCloudIdMax)
|
|
1990
|
+
.regex(deleteVirtualPrivateCloudSubnetPathVirtualPrivateCloudIdRegExp)
|
|
1991
|
+
.describe("The public vpc resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
1992
|
+
subnetId: zod
|
|
1993
|
+
.string()
|
|
1994
|
+
.min(deleteVirtualPrivateCloudSubnetPathSubnetIdMin)
|
|
1995
|
+
.max(deleteVirtualPrivateCloudSubnetPathSubnetIdMax)
|
|
1996
|
+
.regex(deleteVirtualPrivateCloudSubnetPathSubnetIdRegExp)
|
|
1997
|
+
.describe("Compute Subnet TypeID. UUID text is not accepted."),
|
|
1998
|
+
});
|
|
1999
|
+
/**
|
|
2000
|
+
* @summary List virtual private clouds
|
|
2001
|
+
*/
|
|
2002
|
+
export const listVirtualPrivateCloudsQueryRegionIdMin = 33;
|
|
2003
|
+
export const listVirtualPrivateCloudsQueryRegionIdMax = 33;
|
|
2004
|
+
export const listVirtualPrivateCloudsQueryRegionIdRegExp = new RegExp("^region_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
2005
|
+
export const listVirtualPrivateCloudsQueryPageDefault = 1;
|
|
2006
|
+
export const listVirtualPrivateCloudsQueryPageMax = 2147483647;
|
|
2007
|
+
export const listVirtualPrivateCloudsQueryPageSizeDefault = 50;
|
|
2008
|
+
export const listVirtualPrivateCloudsQueryPageSizeMax = 200;
|
|
2009
|
+
export const ListVirtualPrivateCloudsQueryParams = zod.strictObject({
|
|
2010
|
+
region_id: zod
|
|
2011
|
+
.string()
|
|
2012
|
+
.min(listVirtualPrivateCloudsQueryRegionIdMin)
|
|
2013
|
+
.max(listVirtualPrivateCloudsQueryRegionIdMax)
|
|
2014
|
+
.regex(listVirtualPrivateCloudsQueryRegionIdRegExp)
|
|
2015
|
+
.optional()
|
|
2016
|
+
.describe("Returns every region when omitted"),
|
|
2017
|
+
page: zod
|
|
2018
|
+
.int()
|
|
2019
|
+
.min(1)
|
|
2020
|
+
.max(listVirtualPrivateCloudsQueryPageMax)
|
|
2021
|
+
.default(listVirtualPrivateCloudsQueryPageDefault)
|
|
2022
|
+
.describe("1-based page number. Defaults to 1."),
|
|
2023
|
+
page_size: zod
|
|
2024
|
+
.int()
|
|
2025
|
+
.min(1)
|
|
2026
|
+
.max(listVirtualPrivateCloudsQueryPageSizeMax)
|
|
2027
|
+
.default(listVirtualPrivateCloudsQueryPageSizeDefault)
|
|
2028
|
+
.describe("Items per page. Defaults to 50; at most 200."),
|
|
2029
|
+
});
|
|
2030
|
+
/**
|
|
2031
|
+
* Creates a virtual private cloud definition and its default security group. The default security group denies all inbound traffic and permits all outbound traffic.
|
|
2032
|
+
* @summary Create a virtual private cloud
|
|
2033
|
+
*/
|
|
2034
|
+
export const CreateVirtualPrivateCloudBody = CreateVirtualPrivateCloudRequestBody;
|
|
2035
|
+
/**
|
|
2036
|
+
* @summary Retrieve a virtual private cloud
|
|
2037
|
+
*/
|
|
2038
|
+
export const getVirtualPrivateCloudPathVirtualPrivateCloudIdMin = 30;
|
|
2039
|
+
export const getVirtualPrivateCloudPathVirtualPrivateCloudIdMax = 30;
|
|
2040
|
+
export const getVirtualPrivateCloudPathVirtualPrivateCloudIdRegExp = new RegExp("^vpc_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
2041
|
+
export const GetVirtualPrivateCloudParams = zod.strictObject({
|
|
2042
|
+
virtualPrivateCloudId: zod
|
|
2043
|
+
.string()
|
|
2044
|
+
.min(getVirtualPrivateCloudPathVirtualPrivateCloudIdMin)
|
|
2045
|
+
.max(getVirtualPrivateCloudPathVirtualPrivateCloudIdMax)
|
|
2046
|
+
.regex(getVirtualPrivateCloudPathVirtualPrivateCloudIdRegExp)
|
|
2047
|
+
.describe("The public vpc resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
2048
|
+
});
|
|
2049
|
+
/**
|
|
2050
|
+
* Only the name can change. The CIDR is fixed for the network's life, because every subnet and address inside it was allocated from it.
|
|
2051
|
+
* @summary Update a virtual private cloud
|
|
2052
|
+
*/
|
|
2053
|
+
export const updateVirtualPrivateCloudPathVirtualPrivateCloudIdMin = 30;
|
|
2054
|
+
export const updateVirtualPrivateCloudPathVirtualPrivateCloudIdMax = 30;
|
|
2055
|
+
export const updateVirtualPrivateCloudPathVirtualPrivateCloudIdRegExp = new RegExp("^vpc_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
2056
|
+
export const UpdateVirtualPrivateCloudParams = zod.strictObject({
|
|
2057
|
+
virtualPrivateCloudId: zod
|
|
2058
|
+
.string()
|
|
2059
|
+
.min(updateVirtualPrivateCloudPathVirtualPrivateCloudIdMin)
|
|
2060
|
+
.max(updateVirtualPrivateCloudPathVirtualPrivateCloudIdMax)
|
|
2061
|
+
.regex(updateVirtualPrivateCloudPathVirtualPrivateCloudIdRegExp)
|
|
2062
|
+
.describe("The public vpc resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
2063
|
+
});
|
|
2064
|
+
export const UpdateVirtualPrivateCloudBody = UpdateVirtualPrivateCloudRequestBody;
|
|
2065
|
+
/**
|
|
2066
|
+
* Deletion is rejected while instances or network interfaces remain in the network. Its subnets, routes, security groups and IPv6 configuration are removed with it.
|
|
2067
|
+
* @summary Release a virtual private cloud
|
|
2068
|
+
*/
|
|
2069
|
+
export const deleteVirtualPrivateCloudPathVirtualPrivateCloudIdMin = 30;
|
|
2070
|
+
export const deleteVirtualPrivateCloudPathVirtualPrivateCloudIdMax = 30;
|
|
2071
|
+
export const deleteVirtualPrivateCloudPathVirtualPrivateCloudIdRegExp = new RegExp("^vpc_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
2072
|
+
export const DeleteVirtualPrivateCloudParams = zod.strictObject({
|
|
2073
|
+
virtualPrivateCloudId: zod
|
|
2074
|
+
.string()
|
|
2075
|
+
.min(deleteVirtualPrivateCloudPathVirtualPrivateCloudIdMin)
|
|
2076
|
+
.max(deleteVirtualPrivateCloudPathVirtualPrivateCloudIdMax)
|
|
2077
|
+
.regex(deleteVirtualPrivateCloudPathVirtualPrivateCloudIdRegExp)
|
|
2078
|
+
.describe("The public vpc resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
2079
|
+
});
|
|
2080
|
+
/**
|
|
2081
|
+
* Gives the virtual private cloud a /56 that is routed to it, and every subnet of it a /64 of that /56; a subnet created afterwards takes its /64 at creation. It requires no elastic IP or NAT gateway: IPv6 is routed, not translated. A network interface created afterwards receives an address of its subnet's /64; addresses cannot be requested or released individually, and security groups apply to them as to IPv4. An interface created before IPv6 was enabled keeps only its IPv4 address.
|
|
2082
|
+
*
|
|
2083
|
+
* Enabling IPv6 that is already enabled answers with the virtual private cloud as it is.
|
|
2084
|
+
* @summary Enable IPv6 on a virtual private cloud
|
|
2085
|
+
*/
|
|
2086
|
+
export const enableVirtualPrivateCloudIpv6PathVirtualPrivateCloudIdMin = 30;
|
|
2087
|
+
export const enableVirtualPrivateCloudIpv6PathVirtualPrivateCloudIdMax = 30;
|
|
2088
|
+
export const enableVirtualPrivateCloudIpv6PathVirtualPrivateCloudIdRegExp = new RegExp("^vpc_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
2089
|
+
export const EnableVirtualPrivateCloudIpv6Params = zod.strictObject({
|
|
2090
|
+
virtualPrivateCloudId: zod
|
|
2091
|
+
.string()
|
|
2092
|
+
.min(enableVirtualPrivateCloudIpv6PathVirtualPrivateCloudIdMin)
|
|
2093
|
+
.max(enableVirtualPrivateCloudIpv6PathVirtualPrivateCloudIdMax)
|
|
2094
|
+
.regex(enableVirtualPrivateCloudIpv6PathVirtualPrivateCloudIdRegExp)
|
|
2095
|
+
.describe("The public vpc resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
2096
|
+
});
|
|
2097
|
+
/**
|
|
2098
|
+
* Removes the IPv6 of every subnet and gives the /56 back. Refused while a network interface remains in the virtual private cloud, since its IPv6 address would stop working with nothing reporting it.
|
|
2099
|
+
* @summary Disable IPv6 on a virtual private cloud
|
|
2100
|
+
*/
|
|
2101
|
+
export const disableVirtualPrivateCloudIpv6PathVirtualPrivateCloudIdMin = 30;
|
|
2102
|
+
export const disableVirtualPrivateCloudIpv6PathVirtualPrivateCloudIdMax = 30;
|
|
2103
|
+
export const disableVirtualPrivateCloudIpv6PathVirtualPrivateCloudIdRegExp = new RegExp("^vpc_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
2104
|
+
export const DisableVirtualPrivateCloudIpv6Params = zod.strictObject({
|
|
2105
|
+
virtualPrivateCloudId: zod
|
|
2106
|
+
.string()
|
|
2107
|
+
.min(disableVirtualPrivateCloudIpv6PathVirtualPrivateCloudIdMin)
|
|
2108
|
+
.max(disableVirtualPrivateCloudIpv6PathVirtualPrivateCloudIdMax)
|
|
2109
|
+
.regex(disableVirtualPrivateCloudIpv6PathVirtualPrivateCloudIdRegExp)
|
|
2110
|
+
.describe("The public vpc resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
2111
|
+
});
|
|
2112
|
+
/**
|
|
2113
|
+
* The first CIDR of the given prefix length inside the virtual private cloud that no subnet overlaps. It is not reserved; creating the subnet checks it again.
|
|
2114
|
+
* @summary Get a free subnet CIDR
|
|
2115
|
+
*/
|
|
2116
|
+
export const getVirtualPrivateCloudFreeSubnetCidrPathVirtualPrivateCloudIdMin = 30;
|
|
2117
|
+
export const getVirtualPrivateCloudFreeSubnetCidrPathVirtualPrivateCloudIdMax = 30;
|
|
2118
|
+
export const getVirtualPrivateCloudFreeSubnetCidrPathVirtualPrivateCloudIdRegExp = new RegExp("^vpc_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
2119
|
+
export const GetVirtualPrivateCloudFreeSubnetCidrParams = zod.strictObject({
|
|
2120
|
+
virtualPrivateCloudId: zod
|
|
2121
|
+
.string()
|
|
2122
|
+
.min(getVirtualPrivateCloudFreeSubnetCidrPathVirtualPrivateCloudIdMin)
|
|
2123
|
+
.max(getVirtualPrivateCloudFreeSubnetCidrPathVirtualPrivateCloudIdMax)
|
|
2124
|
+
.regex(getVirtualPrivateCloudFreeSubnetCidrPathVirtualPrivateCloudIdRegExp)
|
|
2125
|
+
.describe("The public vpc resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation."),
|
|
2126
|
+
});
|
|
2127
|
+
export const getVirtualPrivateCloudFreeSubnetCidrQueryPrefixLengthDefault = 24;
|
|
2128
|
+
export const getVirtualPrivateCloudFreeSubnetCidrQueryPrefixLengthMin = 16;
|
|
2129
|
+
export const getVirtualPrivateCloudFreeSubnetCidrQueryPrefixLengthMax = 30;
|
|
2130
|
+
export const GetVirtualPrivateCloudFreeSubnetCidrQueryParams = zod.strictObject({
|
|
2131
|
+
prefix_length: zod
|
|
2132
|
+
.int()
|
|
2133
|
+
.min(getVirtualPrivateCloudFreeSubnetCidrQueryPrefixLengthMin)
|
|
2134
|
+
.max(getVirtualPrivateCloudFreeSubnetCidrQueryPrefixLengthMax)
|
|
2135
|
+
.default(getVirtualPrivateCloudFreeSubnetCidrQueryPrefixLengthDefault),
|
|
2136
|
+
});
|
|
2137
|
+
/**
|
|
2138
|
+
* @summary List volume backups
|
|
2139
|
+
*/
|
|
2140
|
+
export const listVolumeBackupsQueryVolumeIdMin = 30;
|
|
2141
|
+
export const listVolumeBackupsQueryVolumeIdMax = 30;
|
|
2142
|
+
export const listVolumeBackupsQueryVolumeIdRegExp = new RegExp("^vol_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
2143
|
+
export const listVolumeBackupsQueryPageDefault = 1;
|
|
2144
|
+
export const listVolumeBackupsQueryPageMax = 2147483647;
|
|
2145
|
+
export const listVolumeBackupsQueryPageSizeDefault = 50;
|
|
2146
|
+
export const listVolumeBackupsQueryPageSizeMax = 200;
|
|
2147
|
+
export const ListVolumeBackupsQueryParams = zod.strictObject({
|
|
2148
|
+
volume_id: zod
|
|
2149
|
+
.string()
|
|
2150
|
+
.min(listVolumeBackupsQueryVolumeIdMin)
|
|
2151
|
+
.max(listVolumeBackupsQueryVolumeIdMax)
|
|
2152
|
+
.regex(listVolumeBackupsQueryVolumeIdRegExp)
|
|
2153
|
+
.optional()
|
|
2154
|
+
.describe("Return only the backups of this volume"),
|
|
2155
|
+
page: zod
|
|
2156
|
+
.int()
|
|
2157
|
+
.min(1)
|
|
2158
|
+
.max(listVolumeBackupsQueryPageMax)
|
|
2159
|
+
.default(listVolumeBackupsQueryPageDefault)
|
|
2160
|
+
.describe("1-based page number. Defaults to 1."),
|
|
2161
|
+
page_size: zod
|
|
2162
|
+
.int()
|
|
2163
|
+
.min(1)
|
|
2164
|
+
.max(listVolumeBackupsQueryPageSizeMax)
|
|
2165
|
+
.default(listVolumeBackupsQueryPageSizeDefault)
|
|
2166
|
+
.describe("Items per page. Defaults to 50; at most 200."),
|
|
2167
|
+
});
|
|
2168
|
+
/**
|
|
2169
|
+
* Creates a backup of the volume. It remains restorable after the source volume is deleted and may be restored to another availability zone in the same region, by creating a volume with `volume_backup_id` (`create-volume`). A running instance may produce a file-system-inconsistent backup. Pending backups count toward Compute project quotas until cleanup is confirmed.
|
|
2170
|
+
*
|
|
2171
|
+
* It is metered by the hour on a subscription of its own and takes no billing choice. It is bought through a Billing Checkout Session: automatic checkout completes at once for metered pricing and the backup is taken as soon as the order is accepted; with deferred checkout it stays `pending` until the customer completes checkout in Billing. The source and project quotas are checked before the Checkout Session is created, and a refused request creates nothing.
|
|
2172
|
+
*
|
|
2173
|
+
* The backup is `pending` from the moment its Checkout Session is created until it is delivered or its checkout or order ends. Every other operation on it is refused with `COMPUTE_RESOURCE_BUSY` meanwhile, and its deletion with `COMPUTE_PURCHASE_PENDING` while its purchase awaits checkout or payment.
|
|
2174
|
+
* @summary Create a volume backup
|
|
2175
|
+
*/
|
|
2176
|
+
export const CreateVolumeBackupBody = CreateVolumeBackupRequestBody;
|
|
2177
|
+
/**
|
|
2178
|
+
* Returns the stored state of the backup; it does not query the cloud. Use it to poll creation progress.
|
|
2179
|
+
* @summary Retrieve a volume backup
|
|
2180
|
+
*/
|
|
2181
|
+
export const getVolumeBackupPathVolumeBackupIdMin = 36;
|
|
2182
|
+
export const getVolumeBackupPathVolumeBackupIdMax = 36;
|
|
2183
|
+
export const getVolumeBackupPathVolumeBackupIdRegExp = new RegExp("^volbackup_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
2184
|
+
export const GetVolumeBackupParams = zod.strictObject({
|
|
2185
|
+
volumeBackupId: zod
|
|
2186
|
+
.string()
|
|
2187
|
+
.min(getVolumeBackupPathVolumeBackupIdMin)
|
|
2188
|
+
.max(getVolumeBackupPathVolumeBackupIdMax)
|
|
2189
|
+
.regex(getVolumeBackupPathVolumeBackupIdRegExp)
|
|
2190
|
+
.describe("Compute VolumeBackup TypeID. UUID text is not accepted."),
|
|
2191
|
+
});
|
|
2192
|
+
/**
|
|
2193
|
+
* Changes the name only. A backup's source volume and capacity cannot be changed.
|
|
2194
|
+
* @summary Update a volume backup
|
|
2195
|
+
*/
|
|
2196
|
+
export const updateVolumeBackupPathVolumeBackupIdMin = 36;
|
|
2197
|
+
export const updateVolumeBackupPathVolumeBackupIdMax = 36;
|
|
2198
|
+
export const updateVolumeBackupPathVolumeBackupIdRegExp = new RegExp("^volbackup_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
2199
|
+
export const UpdateVolumeBackupParams = zod.strictObject({
|
|
2200
|
+
volumeBackupId: zod
|
|
2201
|
+
.string()
|
|
2202
|
+
.min(updateVolumeBackupPathVolumeBackupIdMin)
|
|
2203
|
+
.max(updateVolumeBackupPathVolumeBackupIdMax)
|
|
2204
|
+
.regex(updateVolumeBackupPathVolumeBackupIdRegExp)
|
|
2205
|
+
.describe("Compute VolumeBackup TypeID. UUID text is not accepted."),
|
|
2206
|
+
});
|
|
2207
|
+
export const UpdateVolumeBackupBody = UpdateVolumeBackupRequestBody;
|
|
2208
|
+
/**
|
|
2209
|
+
* Independent of the source volume: deletion succeeds whether or not that volume still exists. Metering of the backup ends once it is deleted.
|
|
2210
|
+
*
|
|
2211
|
+
* Quota capacity and storage metering are released only after cleanup is confirmed.
|
|
2212
|
+
*
|
|
2213
|
+
* A resource whose purchase still awaits checkout or payment is refused with `COMPUTE_PURCHASE_PENDING`; `meta.checkout_session_id` names its Checkout Session and `meta.order_id` its order once checkout created one. Expire the session or cancel the order in Billing instead. A subscribed resource is released through its subscription cancellation. Cleanup must be confirmed before metering is stopped; unknown cleanup is not proof of release.
|
|
2214
|
+
*
|
|
2215
|
+
* While subscriptions pay for the volume backup (those in its `release_set`), deleting it cancels them rather than being refused: Compute creates one Billing cancellation for the whole set and answers with it in `cancellation`. `cancellation_mode` chooses when: `immediate` cancels the set now, a licensed subscription being refunded under its terms, and `period_end` keeps the volume backup working until `scheduled_at` and releases it then. Asking again while that cancellation is pending answers with it again, whatever mode is asked for.
|
|
2216
|
+
* @summary Delete a volume backup
|
|
2217
|
+
*/
|
|
2218
|
+
export const deleteVolumeBackupPathVolumeBackupIdMin = 36;
|
|
2219
|
+
export const deleteVolumeBackupPathVolumeBackupIdMax = 36;
|
|
2220
|
+
export const deleteVolumeBackupPathVolumeBackupIdRegExp = new RegExp("^volbackup_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
2221
|
+
export const DeleteVolumeBackupParams = zod.strictObject({
|
|
2222
|
+
volumeBackupId: zod
|
|
2223
|
+
.string()
|
|
2224
|
+
.min(deleteVolumeBackupPathVolumeBackupIdMin)
|
|
2225
|
+
.max(deleteVolumeBackupPathVolumeBackupIdMax)
|
|
2226
|
+
.regex(deleteVolumeBackupPathVolumeBackupIdRegExp)
|
|
2227
|
+
.describe("Compute VolumeBackup TypeID. UUID text is not accepted."),
|
|
2228
|
+
});
|
|
2229
|
+
export const DeleteVolumeBackupQueryParams = zod.strictObject({
|
|
2230
|
+
cancellation_mode: zod
|
|
2231
|
+
.enum(["immediate", "period_end"])
|
|
2232
|
+
.optional()
|
|
2233
|
+
.describe("When the subscriptions that pay for what is deleted end. `immediate` cancels them now and refunds a licensed one under its terms; `period_end` cancels them at the end of their paid period and keeps what is deleted working until then. Omitted, they are canceled now where the terms of every one of them allow it, and otherwise all at the end of the paid period, since one cancellation releases the whole set at one instant.\n\nBilling alone judges the mode against the terms each subscription was bought with. It refuses with 422 `BILLING_CANCELLATION_MODE_FIXED` a mode those terms do not allow: a pay-as-you-go subscription ends only now, and a prepaid one whose terms allow only the end of its period only then. It refuses `period_end` with 409 `BILLING_CANCELLATION_SCHEDULES_DIFFER` when the paid periods end at different times. Ignored when nothing is subscribed, and when a cancellation is already open: deleting again answers with that one as it is."),
|
|
2234
|
+
});
|
|
2235
|
+
/**
|
|
2236
|
+
* @summary List snapshots
|
|
2237
|
+
*/
|
|
2238
|
+
export const listVolumeSnapshotsQueryVolumeIdMin = 30;
|
|
2239
|
+
export const listVolumeSnapshotsQueryVolumeIdMax = 30;
|
|
2240
|
+
export const listVolumeSnapshotsQueryVolumeIdRegExp = new RegExp("^vol_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
2241
|
+
export const listVolumeSnapshotsQueryPageDefault = 1;
|
|
2242
|
+
export const listVolumeSnapshotsQueryPageMax = 2147483647;
|
|
2243
|
+
export const listVolumeSnapshotsQueryPageSizeDefault = 50;
|
|
2244
|
+
export const listVolumeSnapshotsQueryPageSizeMax = 200;
|
|
2245
|
+
export const ListVolumeSnapshotsQueryParams = zod.strictObject({
|
|
2246
|
+
volume_id: zod
|
|
2247
|
+
.string()
|
|
2248
|
+
.min(listVolumeSnapshotsQueryVolumeIdMin)
|
|
2249
|
+
.max(listVolumeSnapshotsQueryVolumeIdMax)
|
|
2250
|
+
.regex(listVolumeSnapshotsQueryVolumeIdRegExp)
|
|
2251
|
+
.optional()
|
|
2252
|
+
.describe("Return only the snapshots of this volume"),
|
|
2253
|
+
page: zod
|
|
2254
|
+
.int()
|
|
2255
|
+
.min(1)
|
|
2256
|
+
.max(listVolumeSnapshotsQueryPageMax)
|
|
2257
|
+
.default(listVolumeSnapshotsQueryPageDefault)
|
|
2258
|
+
.describe("1-based page number. Defaults to 1."),
|
|
2259
|
+
page_size: zod
|
|
2260
|
+
.int()
|
|
2261
|
+
.min(1)
|
|
2262
|
+
.max(listVolumeSnapshotsQueryPageSizeMax)
|
|
2263
|
+
.default(listVolumeSnapshotsQueryPageSizeDefault)
|
|
2264
|
+
.describe("Items per page. Defaults to 50; at most 200."),
|
|
2265
|
+
});
|
|
2266
|
+
/**
|
|
2267
|
+
* Creates a snapshot of the volume. A running instance may produce a file-system-inconsistent snapshot; flush pending writes first. A boot volume cannot be reverted while attached. Pending snapshots count toward Compute project quotas until creation fails and cleanup is confirmed.
|
|
2268
|
+
*
|
|
2269
|
+
* It is metered by the hour on a subscription of its own and takes no billing choice. It is bought through a Billing Checkout Session: automatic checkout completes at once for metered pricing and the snapshot is taken as soon as the order is accepted; with deferred checkout it stays `pending` until the customer completes checkout in Billing. The source and project quotas are checked before the Checkout Session is created, and a refused request creates nothing.
|
|
2270
|
+
*
|
|
2271
|
+
* The snapshot is `pending` from the moment its Checkout Session is created until it is delivered or its checkout or order ends. Every other operation on it is refused with `COMPUTE_RESOURCE_BUSY` meanwhile, and its deletion with `COMPUTE_PURCHASE_PENDING` while its purchase awaits checkout or payment.
|
|
2272
|
+
* @summary Create a snapshot
|
|
2273
|
+
*/
|
|
2274
|
+
export const CreateVolumeSnapshotBody = CreateVolumeSnapshotRequestBody;
|
|
2275
|
+
/**
|
|
2276
|
+
* @summary Retrieve a snapshot
|
|
2277
|
+
*/
|
|
2278
|
+
export const getVolumeSnapshotPathVolumeSnapshotIdMin = 38;
|
|
2279
|
+
export const getVolumeSnapshotPathVolumeSnapshotIdMax = 38;
|
|
2280
|
+
export const getVolumeSnapshotPathVolumeSnapshotIdRegExp = new RegExp("^volsnapshot_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
2281
|
+
export const GetVolumeSnapshotParams = zod.strictObject({
|
|
2282
|
+
volumeSnapshotId: zod
|
|
2283
|
+
.string()
|
|
2284
|
+
.min(getVolumeSnapshotPathVolumeSnapshotIdMin)
|
|
2285
|
+
.max(getVolumeSnapshotPathVolumeSnapshotIdMax)
|
|
2286
|
+
.regex(getVolumeSnapshotPathVolumeSnapshotIdRegExp)
|
|
2287
|
+
.describe("Compute VolumeSnapshot TypeID. UUID text is not accepted."),
|
|
2288
|
+
});
|
|
2289
|
+
/**
|
|
2290
|
+
* Changes the name only. A snapshot's source volume and capacity cannot be changed.
|
|
2291
|
+
* @summary Update a snapshot
|
|
2292
|
+
*/
|
|
2293
|
+
export const updateVolumeSnapshotPathVolumeSnapshotIdMin = 38;
|
|
2294
|
+
export const updateVolumeSnapshotPathVolumeSnapshotIdMax = 38;
|
|
2295
|
+
export const updateVolumeSnapshotPathVolumeSnapshotIdRegExp = new RegExp("^volsnapshot_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
2296
|
+
export const UpdateVolumeSnapshotParams = zod.strictObject({
|
|
2297
|
+
volumeSnapshotId: zod
|
|
2298
|
+
.string()
|
|
2299
|
+
.min(updateVolumeSnapshotPathVolumeSnapshotIdMin)
|
|
2300
|
+
.max(updateVolumeSnapshotPathVolumeSnapshotIdMax)
|
|
2301
|
+
.regex(updateVolumeSnapshotPathVolumeSnapshotIdRegExp)
|
|
2302
|
+
.describe("Compute VolumeSnapshot TypeID. UUID text is not accepted."),
|
|
2303
|
+
});
|
|
2304
|
+
export const UpdateVolumeSnapshotBody = UpdateVolumeSnapshotRequestBody;
|
|
2305
|
+
/**
|
|
2306
|
+
* Deletes this resource. Quota capacity and storage metering are released only after cleanup is confirmed.
|
|
2307
|
+
*
|
|
2308
|
+
* A resource whose purchase still awaits checkout or payment is refused with `COMPUTE_PURCHASE_PENDING`; `meta.checkout_session_id` names its Checkout Session and `meta.order_id` its order once checkout created one. Expire the session or cancel the order in Billing instead. A subscribed resource is released through its subscription cancellation. Cleanup must be confirmed before metering is stopped; unknown cleanup is not proof of release.
|
|
2309
|
+
*
|
|
2310
|
+
* While subscriptions pay for the snapshot (those in its `release_set`), deleting it cancels them rather than being refused: Compute creates one Billing cancellation for the whole set and answers with it in `cancellation`. `cancellation_mode` chooses when: `immediate` cancels the set now, a licensed subscription being refunded under its terms, and `period_end` keeps the snapshot working until `scheduled_at` and releases it then. Asking again while that cancellation is pending answers with it again, whatever mode is asked for.
|
|
2311
|
+
* @summary Delete a snapshot
|
|
2312
|
+
*/
|
|
2313
|
+
export const deleteVolumeSnapshotPathVolumeSnapshotIdMin = 38;
|
|
2314
|
+
export const deleteVolumeSnapshotPathVolumeSnapshotIdMax = 38;
|
|
2315
|
+
export const deleteVolumeSnapshotPathVolumeSnapshotIdRegExp = new RegExp("^volsnapshot_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
2316
|
+
export const DeleteVolumeSnapshotParams = zod.strictObject({
|
|
2317
|
+
volumeSnapshotId: zod
|
|
2318
|
+
.string()
|
|
2319
|
+
.min(deleteVolumeSnapshotPathVolumeSnapshotIdMin)
|
|
2320
|
+
.max(deleteVolumeSnapshotPathVolumeSnapshotIdMax)
|
|
2321
|
+
.regex(deleteVolumeSnapshotPathVolumeSnapshotIdRegExp)
|
|
2322
|
+
.describe("Compute VolumeSnapshot TypeID. UUID text is not accepted."),
|
|
2323
|
+
});
|
|
2324
|
+
export const DeleteVolumeSnapshotQueryParams = zod.strictObject({
|
|
2325
|
+
cancellation_mode: zod
|
|
2326
|
+
.enum(["immediate", "period_end"])
|
|
2327
|
+
.optional()
|
|
2328
|
+
.describe("When the subscriptions that pay for what is deleted end. `immediate` cancels them now and refunds a licensed one under its terms; `period_end` cancels them at the end of their paid period and keeps what is deleted working until then. Omitted, they are canceled now where the terms of every one of them allow it, and otherwise all at the end of the paid period, since one cancellation releases the whole set at one instant.\n\nBilling alone judges the mode against the terms each subscription was bought with. It refuses with 422 `BILLING_CANCELLATION_MODE_FIXED` a mode those terms do not allow: a pay-as-you-go subscription ends only now, and a prepaid one whose terms allow only the end of its period only then. It refuses `period_end` with 409 `BILLING_CANCELLATION_SCHEDULES_DIFFER` when the paid periods end at different times. Ignored when nothing is subscribed, and when a cancellation is already open: deleting again answers with that one as it is."),
|
|
2329
|
+
});
|
|
2330
|
+
/**
|
|
2331
|
+
* Volume types on sale are listed, and sold-out ones with `sale_status` `sold_out`. Any of them boots an instance of its zone, holds data or takes a restore. A withdrawn one disappears from here and can no longer be bought, while the volumes already on it keep working and can still be resized.
|
|
2332
|
+
* @summary List volume types on sale
|
|
2333
|
+
*/
|
|
2334
|
+
export const listVolumeTypesQueryRegionIdMin = 33;
|
|
2335
|
+
export const listVolumeTypesQueryRegionIdMax = 33;
|
|
2336
|
+
export const listVolumeTypesQueryRegionIdRegExp = new RegExp("^region_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
2337
|
+
export const listVolumeTypesQueryAvailabilityZoneIdMin = 31;
|
|
2338
|
+
export const listVolumeTypesQueryAvailabilityZoneIdMax = 31;
|
|
2339
|
+
export const listVolumeTypesQueryAvailabilityZoneIdRegExp = new RegExp("^zone_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
2340
|
+
export const listVolumeTypesQueryPageDefault = 1;
|
|
2341
|
+
export const listVolumeTypesQueryPageMax = 2147483647;
|
|
2342
|
+
export const listVolumeTypesQueryPageSizeDefault = 50;
|
|
2343
|
+
export const listVolumeTypesQueryPageSizeMax = 200;
|
|
2344
|
+
export const ListVolumeTypesQueryParams = zod.strictObject({
|
|
2345
|
+
region_id: zod
|
|
2346
|
+
.string()
|
|
2347
|
+
.min(listVolumeTypesQueryRegionIdMin)
|
|
2348
|
+
.max(listVolumeTypesQueryRegionIdMax)
|
|
2349
|
+
.regex(listVolumeTypesQueryRegionIdRegExp)
|
|
2350
|
+
.optional()
|
|
2351
|
+
.describe("Compute Region TypeID. UUID text is not accepted."),
|
|
2352
|
+
availability_zone_id: zod
|
|
2353
|
+
.string()
|
|
2354
|
+
.min(listVolumeTypesQueryAvailabilityZoneIdMin)
|
|
2355
|
+
.max(listVolumeTypesQueryAvailabilityZoneIdMax)
|
|
2356
|
+
.regex(listVolumeTypesQueryAvailabilityZoneIdRegExp)
|
|
2357
|
+
.optional()
|
|
2358
|
+
.describe("Return only the types of this availability zone, sold out or not."),
|
|
2359
|
+
page: zod
|
|
2360
|
+
.int()
|
|
2361
|
+
.min(1)
|
|
2362
|
+
.max(listVolumeTypesQueryPageMax)
|
|
2363
|
+
.default(listVolumeTypesQueryPageDefault)
|
|
2364
|
+
.describe("1-based page number. Defaults to 1."),
|
|
2365
|
+
page_size: zod
|
|
2366
|
+
.int()
|
|
2367
|
+
.min(1)
|
|
2368
|
+
.max(listVolumeTypesQueryPageSizeMax)
|
|
2369
|
+
.default(listVolumeTypesQueryPageSizeDefault)
|
|
2370
|
+
.describe("Items per page. Defaults to 50; at most 200."),
|
|
2371
|
+
});
|
|
2372
|
+
/**
|
|
2373
|
+
* Retrieve capacity and performance constraints for an existing volume, including types withdrawn from sale.
|
|
2374
|
+
* @summary Get a volume type
|
|
2375
|
+
*/
|
|
2376
|
+
export const getVolumeTypePathVolumeTypeIdMin = 34;
|
|
2377
|
+
export const getVolumeTypePathVolumeTypeIdMax = 34;
|
|
2378
|
+
export const getVolumeTypePathVolumeTypeIdRegExp = new RegExp("^voltype_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
2379
|
+
export const GetVolumeTypeParams = zod.strictObject({
|
|
2380
|
+
volumeTypeId: zod
|
|
2381
|
+
.string()
|
|
2382
|
+
.min(getVolumeTypePathVolumeTypeIdMin)
|
|
2383
|
+
.max(getVolumeTypePathVolumeTypeIdMax)
|
|
2384
|
+
.regex(getVolumeTypePathVolumeTypeIdRegExp)
|
|
2385
|
+
.describe("Compute VolumeType TypeID. UUID text is not accepted."),
|
|
2386
|
+
});
|
|
2387
|
+
/**
|
|
2388
|
+
* When both `region_id` and `availability_zone_id` are supplied, only volumes attachable to an instance at that location are returned.
|
|
2389
|
+
* @summary List volumes
|
|
2390
|
+
*/
|
|
2391
|
+
export const listVolumesQueryRegionIdMin = 33;
|
|
2392
|
+
export const listVolumesQueryRegionIdMax = 33;
|
|
2393
|
+
export const listVolumesQueryRegionIdRegExp = new RegExp("^region_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
2394
|
+
export const listVolumesQueryAvailabilityZoneIdMin = 31;
|
|
2395
|
+
export const listVolumesQueryAvailabilityZoneIdMax = 31;
|
|
2396
|
+
export const listVolumesQueryAvailabilityZoneIdRegExp = new RegExp("^zone_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
2397
|
+
export const listVolumesQueryPageDefault = 1;
|
|
2398
|
+
export const listVolumesQueryPageMax = 2147483647;
|
|
2399
|
+
export const listVolumesQueryPageSizeDefault = 50;
|
|
2400
|
+
export const listVolumesQueryPageSizeMax = 200;
|
|
2401
|
+
export const ListVolumesQueryParams = zod.strictObject({
|
|
2402
|
+
region_id: zod
|
|
2403
|
+
.string()
|
|
2404
|
+
.min(listVolumesQueryRegionIdMin)
|
|
2405
|
+
.max(listVolumesQueryRegionIdMax)
|
|
2406
|
+
.regex(listVolumesQueryRegionIdRegExp)
|
|
2407
|
+
.optional()
|
|
2408
|
+
.describe("Compute Region TypeID. UUID text is not accepted."),
|
|
2409
|
+
availability_zone_id: zod
|
|
2410
|
+
.string()
|
|
2411
|
+
.min(listVolumesQueryAvailabilityZoneIdMin)
|
|
2412
|
+
.max(listVolumesQueryAvailabilityZoneIdMax)
|
|
2413
|
+
.regex(listVolumesQueryAvailabilityZoneIdRegExp)
|
|
2414
|
+
.optional()
|
|
2415
|
+
.describe("Supplied together with `region_id` to filter attachable volumes"),
|
|
2416
|
+
page: zod
|
|
2417
|
+
.int()
|
|
2418
|
+
.min(1)
|
|
2419
|
+
.max(listVolumesQueryPageMax)
|
|
2420
|
+
.default(listVolumesQueryPageDefault)
|
|
2421
|
+
.describe("1-based page number. Defaults to 1."),
|
|
2422
|
+
page_size: zod
|
|
2423
|
+
.int()
|
|
2424
|
+
.min(1)
|
|
2425
|
+
.max(listVolumesQueryPageSizeMax)
|
|
2426
|
+
.default(listVolumesQueryPageSizeDefault)
|
|
2427
|
+
.describe("Items per page. Defaults to 50; at most 200."),
|
|
2428
|
+
});
|
|
2429
|
+
/**
|
|
2430
|
+
* The volume is created in the availability zone of its volume type, and only an instance in the same zone can attach it.
|
|
2431
|
+
*
|
|
2432
|
+
* The type has to have room for it, checked before anything is ordered: refused with 409 `VOLUME_TYPE_SOLD_OUT` when the type takes no new volumes for now, `VOLUME_TYPE_CAPACITY_REACHED` when what is sold of it is used up, and `VOLUME_TYPE_NO_POOL_ROOM` when the storage of its zone cannot take the volume. Two orders placed at the same moment can both pass; the one that finds the type full when its order is accepted is not created and is refunded, ending `failed` with `provisioning_failed`.
|
|
2433
|
+
*
|
|
2434
|
+
* The volume is empty, or is restored from exactly one source: `volume_snapshot_id` or `volume_backup_id`. Giving both is refused with 422 `VOLUME_SOURCE_CONFLICT`. A restore is a purchase of a **new** volume; the source volume is unaffected and need not still exist.
|
|
2435
|
+
*
|
|
2436
|
+
* - **From a snapshot**, the volume type has to be of the snapshot's availability zone (422 `VOLUME_SNAPSHOT_OTHER_AVAILABILITY_ZONE`), because a snapshot lives in the same storage pool as its source and restores only into its own zone. `size_gib` is required and must be no smaller than the snapshot.
|
|
2437
|
+
* - **From a volume backup**, the volume type may be of any zone of the backup's region, because a backup is an independent copy in different storage. `size_gib` matches the size of the backup when omitted, and when given it must not be smaller than the backup. The volume cannot be attached until it is `available`.
|
|
2438
|
+
*
|
|
2439
|
+
* A volume type that is off sale is rejected with `VOLUME_TYPE_OFF_SALE`, even though its identifier still resolves. Types that are off sale do not appear in the volume type listing; volumes already bought on one keep working and can still be resized.
|
|
2440
|
+
*
|
|
2441
|
+
* A volume bought on its own is licensed: `billing.usage_type` `metered` is refused with `VOLUME_USAGE_TYPE_UNAVAILABLE`. A volume created with an instance follows the machine's terms instead and may be metered.
|
|
2442
|
+
*
|
|
2443
|
+
* The volume is `pending` from the moment its Checkout Session is created until it is delivered or its checkout or order ends. Every other operation on it is refused with `COMPUTE_RESOURCE_BUSY` meanwhile, and its deletion with `COMPUTE_PURCHASE_PENDING` while its purchase awaits checkout or payment.
|
|
2444
|
+
* @summary Create a volume
|
|
2445
|
+
*/
|
|
2446
|
+
export const CreateVolumeBody = CreateVolumeRequestBody;
|
|
2447
|
+
/**
|
|
2448
|
+
* Returns the stored state of the volume; it does not query the cloud.
|
|
2449
|
+
* @summary Retrieve a volume
|
|
2450
|
+
*/
|
|
2451
|
+
export const getVolumePathVolumeIdMin = 30;
|
|
2452
|
+
export const getVolumePathVolumeIdMax = 30;
|
|
2453
|
+
export const getVolumePathVolumeIdRegExp = new RegExp("^vol_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
2454
|
+
export const GetVolumeParams = zod.strictObject({
|
|
2455
|
+
volumeId: zod
|
|
2456
|
+
.string()
|
|
2457
|
+
.min(getVolumePathVolumeIdMin)
|
|
2458
|
+
.max(getVolumePathVolumeIdMax)
|
|
2459
|
+
.regex(getVolumePathVolumeIdRegExp)
|
|
2460
|
+
.describe("Compute Volume TypeID. UUID text is not accepted."),
|
|
2461
|
+
});
|
|
2462
|
+
/**
|
|
2463
|
+
* Changes the name, the capacity or the volume type. The availability zone is immutable.
|
|
2464
|
+
*
|
|
2465
|
+
* `size_gib` and `volume_type_id` are operational fields: each starts a change and cannot be combined with any other field in the same request, including the other one. Such a request is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied. `checkout` and `proration_date` belong to the purchase of the change and are accepted only together with one of them.
|
|
2466
|
+
*
|
|
2467
|
+
* **Renaming** is not an operation and is accepted at any time. It returns 200 with `checkout_session_id` and `order_id` null.
|
|
2468
|
+
*
|
|
2469
|
+
* **Resizing** accepts only an increase; a smaller `size_gib` is refused with `VOLUME_CANNOT_SHRINK` (422), since a file system cannot be shrunk from outside the instance. It returns 202 with the volume and the Checkout Session for the resize, which keeps the volume's usage type and period. The volume is `resizing` until the resize is applied, its Checkout Session expires or its order is canceled, so other operations and a second resize are refused with `COMPUTE_RESOURCE_BUSY` meanwhile. The volume keeps its current size until the resize is applied; once `size_gib` shows the new size, extend the file system inside the instance. If checkout is not completed, the order is not accepted or the resize fails, the volume keeps its size and Billing shows the outcome.
|
|
2470
|
+
*
|
|
2471
|
+
* **Changing the type** moves the volume to another volume type at the same capacity, priced as that type, and returns 202 with the volume and the Checkout Session for the change, which keeps the volume's usage type and period. The volume has to be detached (409 `VOLUME_RETYPE_ATTACHED`), so a boot volume cannot change its type. The target has to be on sale (`VOLUME_TYPE_OFF_SALE`), in the volume's region (422 `VOLUME_RETYPE_OTHER_REGION`), of the volume's availability zone (422 `VOLUME_TYPE_OTHER_AVAILABILITY_ZONE`) with room for the volume (409 `VOLUME_TYPE_SOLD_OUT`, `VOLUME_TYPE_CAPACITY_REACHED`, `VOLUME_TYPE_NO_POOL_ROOM`), admit the volume's capacity (422 `VOLUME_SIZE_OUT_OF_RANGE`, `VOLUME_SIZE_NOT_ON_STEP`) and differ from the current one (422 `VOLUME_RETYPE_SAME_TYPE`). The volume is `retyping` until the change is applied, its Checkout Session expires or its order is canceled. A target on the same storage backend takes effect at once; one on another backend copies the volume's data there first, which takes longer the larger the volume is. The volume keeps its type until `volume_type_id` shows the new one, and its `performance` follows from then on; a change that did not take effect leaves the volume as it was and is refunded.
|
|
2472
|
+
*
|
|
2473
|
+
* An attached volume, including a boot volume, can be resized. The capacity is usable at once, and the volume's `performance` shows what its type gives the new size. **That performance applies from the volume's next attachment, or the next start of its stopped instance**: the storage reads a volume's limits only while connecting it. Until then the attachment's `performance` shows what is in effect.
|
|
2474
|
+
* @summary Update a volume
|
|
2475
|
+
*/
|
|
2476
|
+
export const updateVolumePathVolumeIdMin = 30;
|
|
2477
|
+
export const updateVolumePathVolumeIdMax = 30;
|
|
2478
|
+
export const updateVolumePathVolumeIdRegExp = new RegExp("^vol_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
2479
|
+
export const UpdateVolumeParams = zod.strictObject({
|
|
2480
|
+
volumeId: zod
|
|
2481
|
+
.string()
|
|
2482
|
+
.min(updateVolumePathVolumeIdMin)
|
|
2483
|
+
.max(updateVolumePathVolumeIdMax)
|
|
2484
|
+
.regex(updateVolumePathVolumeIdRegExp)
|
|
2485
|
+
.describe("Compute Volume TypeID. UUID text is not accepted."),
|
|
2486
|
+
});
|
|
2487
|
+
export const UpdateVolumeBody = UpdateVolumeRequestBody;
|
|
2488
|
+
/**
|
|
2489
|
+
* Deletion is rejected while the volume is attached, or while snapshots created from it still exist.
|
|
2490
|
+
*
|
|
2491
|
+
* Refused with `COMPUTE_PURCHASE_PENDING` while the purchase that created it still awaits checkout or payment; `meta.checkout_session_id` names its Checkout Session and `meta.order_id` its order once checkout created one. Expire the session or cancel the order in Billing instead.
|
|
2492
|
+
*
|
|
2493
|
+
* While subscriptions pay for the volume (those in its `release_set`), deleting it cancels them rather than being refused: Compute creates one Billing cancellation for the whole set and answers with it in `cancellation`. `cancellation_mode` chooses when: `immediate` cancels the set now, a licensed subscription being refunded under its terms, and `period_end` keeps the volume working until `scheduled_at` and releases it then. Asking again while that cancellation is pending answers with it again, whatever mode is asked for.
|
|
2494
|
+
* @summary Delete a volume
|
|
2495
|
+
*/
|
|
2496
|
+
export const deleteVolumePathVolumeIdMin = 30;
|
|
2497
|
+
export const deleteVolumePathVolumeIdMax = 30;
|
|
2498
|
+
export const deleteVolumePathVolumeIdRegExp = new RegExp("^vol_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
2499
|
+
export const DeleteVolumeParams = zod.strictObject({
|
|
2500
|
+
volumeId: zod
|
|
2501
|
+
.string()
|
|
2502
|
+
.min(deleteVolumePathVolumeIdMin)
|
|
2503
|
+
.max(deleteVolumePathVolumeIdMax)
|
|
2504
|
+
.regex(deleteVolumePathVolumeIdRegExp)
|
|
2505
|
+
.describe("Compute Volume TypeID. UUID text is not accepted."),
|
|
2506
|
+
});
|
|
2507
|
+
export const DeleteVolumeQueryParams = zod.strictObject({
|
|
2508
|
+
cancellation_mode: zod
|
|
2509
|
+
.enum(["immediate", "period_end"])
|
|
2510
|
+
.optional()
|
|
2511
|
+
.describe("When the subscriptions that pay for what is deleted end. `immediate` cancels them now and refunds a licensed one under its terms; `period_end` cancels them at the end of their paid period and keeps what is deleted working until then. Omitted, they are canceled now where the terms of every one of them allow it, and otherwise all at the end of the paid period, since one cancellation releases the whole set at one instant.\n\nBilling alone judges the mode against the terms each subscription was bought with. It refuses with 422 `BILLING_CANCELLATION_MODE_FIXED` a mode those terms do not allow: a pay-as-you-go subscription ends only now, and a prepaid one whose terms allow only the end of its period only then. It refuses `period_end` with 409 `BILLING_CANCELLATION_SCHEDULES_DIFFER` when the paid periods end at different times. Ignored when nothing is subscribed, and when a cancellation is already open: deleting again answers with that one as it is."),
|
|
2512
|
+
});
|
|
2513
|
+
/**
|
|
2514
|
+
* Restores the contents of the volume to the moment the snapshot was taken. **All data written after that moment is lost and cannot be recovered.**
|
|
2515
|
+
*
|
|
2516
|
+
* Three restrictions apply: only the most recent snapshot of the volume can be reverted to; the volume must be detached from its instance first; and a volume resized since the snapshot was taken cannot be reverted. To return to an earlier point in time, or to keep the existing volume, create a new volume from the snapshot instead.
|
|
2517
|
+
*
|
|
2518
|
+
* The revert is a request of its own rather than a state of the volume: the response is the volume, which is `reverting` until the revert is complete.
|
|
2519
|
+
* @summary Revert a volume to a snapshot
|
|
2520
|
+
*/
|
|
2521
|
+
export const revertVolumePathVolumeIdMin = 30;
|
|
2522
|
+
export const revertVolumePathVolumeIdMax = 30;
|
|
2523
|
+
export const revertVolumePathVolumeIdRegExp = new RegExp("^vol_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
2524
|
+
export const RevertVolumeParams = zod.strictObject({
|
|
2525
|
+
volumeId: zod
|
|
2526
|
+
.string()
|
|
2527
|
+
.min(revertVolumePathVolumeIdMin)
|
|
2528
|
+
.max(revertVolumePathVolumeIdMax)
|
|
2529
|
+
.regex(revertVolumePathVolumeIdRegExp)
|
|
2530
|
+
.describe("Compute Volume TypeID. UUID text is not accepted."),
|
|
2531
|
+
});
|
|
2532
|
+
export const RevertVolumeBody = RevertVolumeRequestBody;
|