@leaflow/sdk 0.0.0-dev.42.g9fdf74a → 0.0.0-dev.422.gef294af
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 +970 -0
- package/dist/canopy/v1/generated/models.js +118 -0
- package/dist/canopy/v1/generated/schemas.zod.d.ts +349 -0
- package/dist/canopy/v1/generated/schemas.zod.js +376 -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 +54 -0
- package/dist/canopy/v1/generated/validators/aPIKeyUsageListResponseBody.zod.js +45 -0
- package/dist/canopy/v1/generated/validators/aPIKeyUsageResource.zod.d.ts +52 -0
- package/dist/canopy/v1/generated/validators/aPIKeyUsageResource.zod.js +50 -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 +80 -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 +58 -0
- package/dist/canopy/v1/generated/validators/endpointCapabilities.zod.js +47 -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/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/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 +98 -0
- package/dist/canopy/v1/generated/validators/model.zod.js +69 -0
- package/dist/canopy/v1/generated/validators/modelBilling.zod.d.ts +57 -0
- package/dist/canopy/v1/generated/validators/modelBilling.zod.js +53 -0
- package/dist/canopy/v1/generated/validators/modelCapabilities.zod.d.ts +58 -0
- package/dist/canopy/v1/generated/validators/modelCapabilities.zod.js +45 -0
- package/dist/canopy/v1/generated/validators/modelEndpoint.zod.d.ts +56 -0
- package/dist/canopy/v1/generated/validators/modelEndpoint.zod.js +54 -0
- package/dist/canopy/v1/generated/validators/modelList.zod.d.ts +101 -0
- package/dist/canopy/v1/generated/validators/modelList.zod.js +46 -0
- package/dist/canopy/v1/generated/validators/modelListResponseBody.zod.d.ts +117 -0
- package/dist/canopy/v1/generated/validators/modelListResponseBody.zod.js +45 -0
- package/dist/canopy/v1/generated/validators/modelMeter.zod.d.ts +54 -0
- package/dist/canopy/v1/generated/validators/modelMeter.zod.js +48 -0
- package/dist/canopy/v1/generated/validators/modelResource.zod.d.ts +115 -0
- package/dist/canopy/v1/generated/validators/modelResource.zod.js +74 -0
- package/dist/canopy/v1/generated/validators/modelUsageListResponseBody.zod.d.ts +54 -0
- package/dist/canopy/v1/generated/validators/modelUsageListResponseBody.zod.js +45 -0
- package/dist/canopy/v1/generated/validators/modelUsageResource.zod.d.ts +52 -0
- package/dist/canopy/v1/generated/validators/modelUsageResource.zod.js +50 -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 +78 -0
- package/dist/canopy/v1/generated/validators/requestResource.zod.js +80 -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 +51 -0
- package/dist/canopy/v1/generated/validators/totalsResource.zod.js +49 -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 +53 -0
- package/dist/canopy/v1/generated/validators/usageBucketResource.zod.js +51 -0
- package/dist/canopy/v1/generated/validators/usageTimelineResponseBody.zod.d.ts +55 -0
- package/dist/canopy/v1/generated/validators/usageTimelineResponseBody.zod.js +45 -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/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 +14 -10
- package/dist/index.js +14 -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 +4177 -0
- package/dist/routes.js +4698 -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 +426 -0
- package/dist/swas/v1/generated/models.js +87 -0
- package/dist/swas/v1/generated/schemas.zod.d.ts +117 -0
- package/dist/swas/v1/generated/schemas.zod.js +120 -0
- package/dist/swas/v1/generated/validators/catalog.zod.d.ts +32 -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/expectedQuote.zod.d.ts +14 -0
- package/dist/swas/v1/generated/validators/expectedQuote.zod.js +13 -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 +15 -0
- package/dist/swas/v1/generated/validators/instancePrice.zod.js +21 -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 +14 -0
- package/dist/swas/v1/generated/validators/listPlansParams.zod.js +12 -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 +29 -0
- package/dist/swas/v1/generated/validators/plan.zod.js +22 -0
- package/dist/swas/v1/generated/validators/price.zod.d.ts +19 -0
- package/dist/swas/v1/generated/validators/price.zod.js +28 -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 +27 -0
- package/dist/swas/v1/generated/validators/purchaseCreate.zod.js +23 -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 +18 -0
- package/dist/swas/v1/response-schemas.js +19 -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 -2131
- 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 -399
- package/dist/tunnel/v1/schema.js +0 -5
|
@@ -0,0 +1,3446 @@
|
|
|
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
|
+
/**
|
|
36
|
+
* Compute AvailabilityZone TypeID. UUID text is not accepted.
|
|
37
|
+
* @minLength 31
|
|
38
|
+
* @maxLength 31
|
|
39
|
+
* @pattern ^zone_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$
|
|
40
|
+
*/
|
|
41
|
+
export type AvailabilityZoneID = string;
|
|
42
|
+
/**
|
|
43
|
+
* Compute Region TypeID. UUID text is not accepted.
|
|
44
|
+
* @minLength 33
|
|
45
|
+
* @maxLength 33
|
|
46
|
+
* @pattern ^region_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$
|
|
47
|
+
*/
|
|
48
|
+
export type RegionID = string;
|
|
49
|
+
export interface AvailabilityZoneResource {
|
|
50
|
+
/** Display name for this zone, shown to tenants (Hong Kong A). The stable handle is code. */
|
|
51
|
+
name: string;
|
|
52
|
+
/** The zone's code within its region (hk-1-a). Stable and human-written; addressing is by id. */
|
|
53
|
+
code: string;
|
|
54
|
+
id: AvailabilityZoneID;
|
|
55
|
+
region_id: RegionID;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Pagination metadata for stable numbered pages. total_count is returned only when the operation can determine it without an unbounded scan.
|
|
59
|
+
*/
|
|
60
|
+
export interface OffsetPagination {
|
|
61
|
+
/** @minimum 1 */
|
|
62
|
+
page: number;
|
|
63
|
+
/** @minimum 1 */
|
|
64
|
+
page_size: number;
|
|
65
|
+
/** @minimum 0 */
|
|
66
|
+
total_count?: number;
|
|
67
|
+
}
|
|
68
|
+
export interface AvailabilityZoneListResponseBody {
|
|
69
|
+
/** @nullable */
|
|
70
|
+
items: AvailabilityZoneResource[] | null;
|
|
71
|
+
pagination: OffsetPagination;
|
|
72
|
+
}
|
|
73
|
+
export type BillingPeriodUnit = (typeof BillingPeriodUnit)[keyof typeof BillingPeriodUnit];
|
|
74
|
+
export declare const BillingPeriodUnit: {
|
|
75
|
+
readonly month: "month";
|
|
76
|
+
readonly year: "year";
|
|
77
|
+
};
|
|
78
|
+
export interface BillingPeriod {
|
|
79
|
+
unit: BillingPeriodUnit;
|
|
80
|
+
/**
|
|
81
|
+
* @minimum 1
|
|
82
|
+
* @maximum 2147483647
|
|
83
|
+
*/
|
|
84
|
+
count: number;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* `licensed` pays for a period in advance; `metered` bills usage until canceled.
|
|
88
|
+
*/
|
|
89
|
+
export type BillingChoiceUsageType = (typeof BillingChoiceUsageType)[keyof typeof BillingChoiceUsageType];
|
|
90
|
+
export declare const BillingChoiceUsageType: {
|
|
91
|
+
readonly licensed: "licensed";
|
|
92
|
+
readonly metered: "metered";
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* Immediate ends service when cancellation takes effect, with refunds governed by the purchased terms. Period-end keeps service until the paid period ends.
|
|
96
|
+
*/
|
|
97
|
+
export type TerminationPolicy = (typeof TerminationPolicy)[keyof typeof TerminationPolicy];
|
|
98
|
+
export declare const TerminationPolicy: {
|
|
99
|
+
readonly immediate: "immediate";
|
|
100
|
+
readonly period_end: "period_end";
|
|
101
|
+
};
|
|
102
|
+
/**
|
|
103
|
+
* The commercial terms for one newly purchased component. Licensed requires period and termination_policy; metered refuses both. Components in one instance purchase must use the same usage type and period, while their termination policies may differ.
|
|
104
|
+
*/
|
|
105
|
+
export interface BillingChoice {
|
|
106
|
+
/** `licensed` pays for a period in advance; `metered` bills usage until canceled. */
|
|
107
|
+
usage_type: BillingChoiceUsageType;
|
|
108
|
+
period?: BillingPeriod;
|
|
109
|
+
termination_policy?: TerminationPolicy;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* automatic completes checkout with the purchase: the best applicable account discount is applied, and the
|
|
113
|
+
* order is created with its invoice issued and paid from eligible credit grants and available balance.
|
|
114
|
+
* Insufficient funds fail the purchase with HTTP 422 BILLING_INSUFFICIENT_FUNDS; no Billing order, charge or
|
|
115
|
+
* discount redemption is committed.
|
|
116
|
+
* deferred creates an open Billing Checkout Session and charges nothing, even for a zero total. The customer
|
|
117
|
+
* completes it through Billing, where a promotion code can be applied, and then pays the issued invoice; a
|
|
118
|
+
* session not completed by its deadline expires.
|
|
119
|
+
*/
|
|
120
|
+
export type CheckoutMode = (typeof CheckoutMode)[keyof typeof CheckoutMode];
|
|
121
|
+
export declare const CheckoutMode: {
|
|
122
|
+
readonly automatic: "automatic";
|
|
123
|
+
readonly deferred: "deferred";
|
|
124
|
+
};
|
|
125
|
+
/**
|
|
126
|
+
* A decimal string, in the currency stated alongside it.
|
|
127
|
+
*
|
|
128
|
+
* **The currency is not part of this type.** It is carried by a `currency` field next to the
|
|
129
|
+
* amount, or by the account the amount belongs to. Reading an amount without that field is
|
|
130
|
+
* reading a number with no unit.
|
|
131
|
+
*
|
|
132
|
+
* It is a string rather than a JSON number because a JSON number is a float in most parsers,
|
|
133
|
+
* and a float loses precision on the first arithmetic. Nothing on this platform puts an amount
|
|
134
|
+
* through a float.
|
|
135
|
+
*/
|
|
136
|
+
export type Money = string;
|
|
137
|
+
/**
|
|
138
|
+
* Shared checkout choices for a product purchase. The service may set them or forward its client's
|
|
139
|
+
* choices unchanged; it does not need to read them, and Billing validates them. Omitting this object or
|
|
140
|
+
* mode selects automatic checkout. Each purchase creates its own Checkout Session. Promotion codes are supplied
|
|
141
|
+
* only to Billing. A service may retain a failed creation record when Billing refuses a purchase; no
|
|
142
|
+
* infrastructure is created for that refusal.
|
|
143
|
+
*/
|
|
144
|
+
export interface CheckoutOptions {
|
|
145
|
+
mode?: CheckoutMode;
|
|
146
|
+
/**
|
|
147
|
+
* Expected invoice total after discounts and tax, before applying credit grants or balance.
|
|
148
|
+
* A different total fails with BILLING_AMOUNT_CHANGED without charging or reserving a discount.
|
|
149
|
+
* Accepted only in automatic mode; with deferred it is refused with HTTP 400. For deferred
|
|
150
|
+
* checkout, give the expected amount when completing it through Billing.
|
|
151
|
+
*/
|
|
152
|
+
expected_amount?: Money & string;
|
|
153
|
+
/**
|
|
154
|
+
* Where the client goes after the customer finishes a deferred checkout. Any absolute URI with a
|
|
155
|
+
* scheme, including mobile and desktop application schemes. Billing stores it without checking the
|
|
156
|
+
* target; each client validates its own.
|
|
157
|
+
* @maxLength 2048
|
|
158
|
+
*/
|
|
159
|
+
return_url?: string;
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* The line's dimensions, the coordinates Billing prices it at; every meter of the line reads under the same ones, and under its own `resource_dimensions` as well. Pass them to Billing unchanged; they name nothing a client needs to read.
|
|
163
|
+
*/
|
|
164
|
+
export type BillingComponentDimensions = {
|
|
165
|
+
[key: string]: string;
|
|
166
|
+
};
|
|
167
|
+
/**
|
|
168
|
+
* `one` is 1 for each item bought; `size_gib` is the volume's size in GiB; `bandwidth_mbps` is the elastic IP's bandwidth in Mbps.
|
|
169
|
+
*/
|
|
170
|
+
export type BillingLineQuantity = (typeof BillingLineQuantity)[keyof typeof BillingLineQuantity];
|
|
171
|
+
export declare const BillingLineQuantity: {
|
|
172
|
+
readonly one: "one";
|
|
173
|
+
readonly size_gib: "size_gib";
|
|
174
|
+
readonly bandwidth_mbps: "bandwidth_mbps";
|
|
175
|
+
};
|
|
176
|
+
/**
|
|
177
|
+
* What the line's quantity counts under each usage type it is sold on; a usage type it is not sold on is absent.
|
|
178
|
+
*/
|
|
179
|
+
export interface BillingQuantity {
|
|
180
|
+
licensed?: BillingLineQuantity;
|
|
181
|
+
metered?: BillingLineQuantity;
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* What the meter measures. `one` counts each second the item is metered; `size_gib` the volume's size in GiB each second; `stored_gib` the GiB stored each second; `bandwidth_mbps` the bandwidth in Mbps each second; `egress_bytes` the bytes sent.
|
|
185
|
+
*/
|
|
186
|
+
export type BillingMeterQuantity = (typeof BillingMeterQuantity)[keyof typeof BillingMeterQuantity];
|
|
187
|
+
export declare const BillingMeterQuantity: {
|
|
188
|
+
readonly one: "one";
|
|
189
|
+
readonly size_gib: "size_gib";
|
|
190
|
+
readonly stored_gib: "stored_gib";
|
|
191
|
+
readonly bandwidth_mbps: "bandwidth_mbps";
|
|
192
|
+
readonly egress_bytes: "egress_bytes";
|
|
193
|
+
};
|
|
194
|
+
/**
|
|
195
|
+
* One meter a metered line reads.
|
|
196
|
+
*/
|
|
197
|
+
export interface BillingMeter {
|
|
198
|
+
meter_lookup_key: string;
|
|
199
|
+
/** What the meter measures. `one` counts each second the item is metered; `size_gib` the volume's size in GiB each second; `stored_gib` the GiB stored each second; `bandwidth_mbps` the bandwidth in Mbps each second; `egress_bytes` the bytes sent. */
|
|
200
|
+
quantity: BillingMeterQuantity;
|
|
201
|
+
/** Dimensions each reading carries beside the line's own, whose values the resource itself states and which can change while it is held. A private image's meter carries `position`, its `billing_position`; for a capture not made yet, the position it will take is one more than the number of the project's private images in the region whose `billing_position` is set and not `legacy`. Give them together with the line's dimensions when estimating usage. Empty for every other meter. */
|
|
202
|
+
resource_dimensions: string[];
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
* How one order line of a catalog item is sold in Billing. Read its prices with Billing's `search-prices` by `plan_id`, giving `dimensions` to narrow each price's `rates` to this line. Quote a purchase with Billing's `get-quote`, giving the line `plan_id`, `dimensions` unchanged, and the quantity `quantity` names for the usage type chosen; estimate a metered line with `estimate-usage`, giving each of `meters` the same dimensions and the quantity it names. Prices and amounts are Billing's alone.
|
|
206
|
+
*/
|
|
207
|
+
export interface BillingComponent {
|
|
208
|
+
/** The Billing Plan the line is sold under. */
|
|
209
|
+
plan_id: string;
|
|
210
|
+
/** The line's dimensions, the coordinates Billing prices it at; every meter of the line reads under the same ones, and under its own `resource_dimensions` as well. Pass them to Billing unchanged; they name nothing a client needs to read. */
|
|
211
|
+
dimensions: BillingComponentDimensions;
|
|
212
|
+
quantity: BillingQuantity;
|
|
213
|
+
/** What a metered price of the line reads; empty when the line is never metered. */
|
|
214
|
+
meters: BillingMeter[];
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* When subscriptions end. immediate ends them now and refunds the unused value under their refund terms; period_end
|
|
218
|
+
* ends them at the end of their paid period. The cancellation terms fixed when a subscription was bought decide which
|
|
219
|
+
* modes it allows: a pay-as-you-go subscription ends only immediately, and a prepaid one whose terms allow only the
|
|
220
|
+
* end of its paid period ends only then. Billing refuses a mode the terms do not allow with HTTP 422
|
|
221
|
+
* BILLING_CANCELLATION_MODE_FIXED.
|
|
222
|
+
*/
|
|
223
|
+
export type CancellationMode = (typeof CancellationMode)[keyof typeof CancellationMode];
|
|
224
|
+
export declare const CancellationMode: {
|
|
225
|
+
readonly immediate: "immediate";
|
|
226
|
+
readonly period_end: "period_end";
|
|
227
|
+
};
|
|
228
|
+
/**
|
|
229
|
+
* A Billing cancellation that Compute created to release a resource and the subscriptions in its release set. Billing owns it; read its progress and any refund there by `id`.
|
|
230
|
+
*/
|
|
231
|
+
export interface BillingCancellation {
|
|
232
|
+
id: string;
|
|
233
|
+
mode: CancellationMode;
|
|
234
|
+
/**
|
|
235
|
+
* When the subscriptions end and the resources are released; null while Billing has not fixed it.
|
|
236
|
+
* @nullable
|
|
237
|
+
*/
|
|
238
|
+
scheduled_at: string | null;
|
|
239
|
+
}
|
|
240
|
+
/**
|
|
241
|
+
* `on_sale` is offered for new elastic IPs; `off_sale` takes none, while the elastic IPs already on it keep working.
|
|
242
|
+
*/
|
|
243
|
+
export type ElasticIPLineSaleStatus = (typeof ElasticIPLineSaleStatus)[keyof typeof ElasticIPLineSaleStatus];
|
|
244
|
+
export declare const ElasticIPLineSaleStatus: {
|
|
245
|
+
readonly on_sale: "on_sale";
|
|
246
|
+
readonly off_sale: "off_sale";
|
|
247
|
+
};
|
|
248
|
+
/**
|
|
249
|
+
* Whether an elastic IP of this line can be bought with `internet_charge_type` `traffic`, billed by the bytes it sends. `off_sale` refuses that with `ELASTIC_IP_TRAFFIC_UNAVAILABLE`.
|
|
250
|
+
*/
|
|
251
|
+
export type ElasticIPLineTrafficSaleStatus = (typeof ElasticIPLineTrafficSaleStatus)[keyof typeof ElasticIPLineTrafficSaleStatus];
|
|
252
|
+
export declare const ElasticIPLineTrafficSaleStatus: {
|
|
253
|
+
readonly on_sale: "on_sale";
|
|
254
|
+
readonly off_sale: "off_sale";
|
|
255
|
+
};
|
|
256
|
+
/**
|
|
257
|
+
* Compute ElasticIPLine TypeID. UUID text is not accepted.
|
|
258
|
+
* @minLength 34
|
|
259
|
+
* @maxLength 34
|
|
260
|
+
* @pattern ^eipline_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$
|
|
261
|
+
*/
|
|
262
|
+
export type ElasticIPLineID = string;
|
|
263
|
+
/**
|
|
264
|
+
* The network an elastic IP is bought on: the bandwidth that can be chosen, and the two Billing Plans every elastic IP of the line is paid under in one order. The address subscription is always used and meters the address while it is held idle, associated with nothing; the network subscription pays the bandwidth, prepaid or used while associated, or the traffic sent. Contains no supply ranges, gateways or backend execution state.
|
|
265
|
+
*/
|
|
266
|
+
export interface ElasticIPLine {
|
|
267
|
+
id: ElasticIPLineID;
|
|
268
|
+
region_id: RegionID;
|
|
269
|
+
/**
|
|
270
|
+
* @minLength 1
|
|
271
|
+
* @maxLength 128
|
|
272
|
+
*/
|
|
273
|
+
name: string;
|
|
274
|
+
/**
|
|
275
|
+
* @minLength 0
|
|
276
|
+
* @maxLength 255
|
|
277
|
+
*/
|
|
278
|
+
description: string;
|
|
279
|
+
/** The address line every elastic IP of this line has. It is always metered, and meters the address while no network interface holds it. */
|
|
280
|
+
address_billing: BillingComponent;
|
|
281
|
+
/** The network line every elastic IP of this line has, which pays its bandwidth, prepaid or used while associated, or its traffic. Metered, the line's quantity is 1 and the bandwidth or the traffic is what its meters read, by the elastic IP's `internet_charge_type`. */
|
|
282
|
+
internet_billing: BillingComponent;
|
|
283
|
+
/** The least bandwidth an elastic IP of this line can be bought with, in Mbps. */
|
|
284
|
+
min_bandwidth_mbps: number;
|
|
285
|
+
/** The most bandwidth an elastic IP of this line can be bought with, in Mbps, at most 1000. An elastic IP associated with an instance is also held to the instance type's `max_bandwidth_mbps`. */
|
|
286
|
+
max_bandwidth_mbps: number;
|
|
287
|
+
/** `on_sale` is offered for new elastic IPs; `off_sale` takes none, while the elastic IPs already on it keep working. */
|
|
288
|
+
sale_status: ElasticIPLineSaleStatus;
|
|
289
|
+
/** Whether an elastic IP of this line can be bought with `internet_charge_type` `traffic`, billed by the bytes it sends. `off_sale` refuses that with `ELASTIC_IP_TRAFFIC_UNAVAILABLE`. */
|
|
290
|
+
traffic_sale_status: ElasticIPLineTrafficSaleStatus;
|
|
291
|
+
created_at: string;
|
|
292
|
+
updated_at: string;
|
|
293
|
+
}
|
|
294
|
+
export interface ElasticIPLineListResponseBody {
|
|
295
|
+
items: ElasticIPLine[];
|
|
296
|
+
pagination: OffsetPagination;
|
|
297
|
+
}
|
|
298
|
+
/**
|
|
299
|
+
* What the network subscription of an elastic IP charges for. `bandwidth` charges for the bandwidth ceiling, prepaid for a period or by the Mbit/s-second while the address is associated. `traffic` charges for the bytes the address sends upstream, pay-as-you-go only, while the bandwidth is only a ceiling; it is refused with `ELASTIC_IP_TRAFFIC_UNAVAILABLE` on a line whose `traffic_sale_status` is `off_sale`. Inbound traffic is never charged. Prices are set per currency, so a pay-as-you-go purchase whose account currency has no rate on the line for the chosen type is refused before any order with HTTP 403 `ELASTIC_IP_CHARGE_TYPE_NOT_OFFERED`, whether the elastic IP is bought alone or with an instance. A pay-as-you-go elastic IP can move between the two with `update-elastic-ip`.
|
|
300
|
+
*/
|
|
301
|
+
export type InternetChargeType = (typeof InternetChargeType)[keyof typeof InternetChargeType];
|
|
302
|
+
export declare const InternetChargeType: {
|
|
303
|
+
readonly bandwidth: "bandwidth";
|
|
304
|
+
readonly traffic: "traffic";
|
|
305
|
+
};
|
|
306
|
+
/**
|
|
307
|
+
* @minLength 7
|
|
308
|
+
* @maxLength 15
|
|
309
|
+
* @pattern ^(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])(?:\.(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}$
|
|
310
|
+
*/
|
|
311
|
+
export type IPv4HostAddress = string;
|
|
312
|
+
/**
|
|
313
|
+
* The public eip resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation.
|
|
314
|
+
* @minLength 30
|
|
315
|
+
* @maxLength 34
|
|
316
|
+
* @pattern ^eip_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$
|
|
317
|
+
*/
|
|
318
|
+
export type ElasticIPID = string;
|
|
319
|
+
/**
|
|
320
|
+
* `pending` until the address is created, with no address allocated before the order is accepted; then `available`. `failed` means no address was allocated; `failure_reason` states why. A value naming an operation in progress (`associating`, `disassociating`, `updating_bandwidth`, `updating_internet_charge_type`, `suspending`, `resuming`, `deleting`) is shown while that operation runs; the elastic IP refuses another operation until it ends.
|
|
321
|
+
*/
|
|
322
|
+
export type ElasticIPStatus = (typeof ElasticIPStatus)[keyof typeof ElasticIPStatus];
|
|
323
|
+
export declare const ElasticIPStatus: {
|
|
324
|
+
readonly pending: "pending";
|
|
325
|
+
readonly available: "available";
|
|
326
|
+
readonly deleted: "deleted";
|
|
327
|
+
readonly failed: "failed";
|
|
328
|
+
readonly error: "error";
|
|
329
|
+
readonly associating: "associating";
|
|
330
|
+
readonly disassociating: "disassociating";
|
|
331
|
+
readonly updating_bandwidth: "updating_bandwidth";
|
|
332
|
+
readonly updating_internet_charge_type: "updating_internet_charge_type";
|
|
333
|
+
readonly suspending: "suspending";
|
|
334
|
+
readonly resuming: "resuming";
|
|
335
|
+
readonly deleting: "deleting";
|
|
336
|
+
};
|
|
337
|
+
export type InstanceReleaseResourceType = (typeof InstanceReleaseResourceType)[keyof typeof InstanceReleaseResourceType];
|
|
338
|
+
export declare const InstanceReleaseResourceType: {
|
|
339
|
+
readonly instance: "instance";
|
|
340
|
+
};
|
|
341
|
+
/**
|
|
342
|
+
* The public ins resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation.
|
|
343
|
+
* @minLength 30
|
|
344
|
+
* @maxLength 30
|
|
345
|
+
* @pattern ^ins_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$
|
|
346
|
+
*/
|
|
347
|
+
export type InstanceID = string;
|
|
348
|
+
/**
|
|
349
|
+
* A resource a release set releases.
|
|
350
|
+
*/
|
|
351
|
+
export interface InstanceReleaseResource {
|
|
352
|
+
type: InstanceReleaseResourceType;
|
|
353
|
+
id: InstanceID;
|
|
354
|
+
/** The current display name of the selected resource. */
|
|
355
|
+
name: string;
|
|
356
|
+
}
|
|
357
|
+
export type VolumeReleaseResourceType = (typeof VolumeReleaseResourceType)[keyof typeof VolumeReleaseResourceType];
|
|
358
|
+
export declare const VolumeReleaseResourceType: {
|
|
359
|
+
readonly volume: "volume";
|
|
360
|
+
};
|
|
361
|
+
/**
|
|
362
|
+
* Compute Volume TypeID. UUID text is not accepted.
|
|
363
|
+
* @minLength 30
|
|
364
|
+
* @maxLength 30
|
|
365
|
+
* @pattern ^vol_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$
|
|
366
|
+
*/
|
|
367
|
+
export type VolumeID = string;
|
|
368
|
+
/**
|
|
369
|
+
* A resource a release set releases.
|
|
370
|
+
*/
|
|
371
|
+
export interface VolumeReleaseResource {
|
|
372
|
+
type: VolumeReleaseResourceType;
|
|
373
|
+
id: VolumeID;
|
|
374
|
+
/** The current display name of the selected resource. */
|
|
375
|
+
name: string;
|
|
376
|
+
}
|
|
377
|
+
export type ElasticIPReleaseResourceType = (typeof ElasticIPReleaseResourceType)[keyof typeof ElasticIPReleaseResourceType];
|
|
378
|
+
export declare const ElasticIPReleaseResourceType: {
|
|
379
|
+
readonly elastic_ip: "elastic_ip";
|
|
380
|
+
};
|
|
381
|
+
/**
|
|
382
|
+
* A resource a release set releases.
|
|
383
|
+
*/
|
|
384
|
+
export interface ElasticIPReleaseResource {
|
|
385
|
+
type: ElasticIPReleaseResourceType;
|
|
386
|
+
id: ElasticIPID;
|
|
387
|
+
/** The current display name of the selected resource. */
|
|
388
|
+
name: string;
|
|
389
|
+
}
|
|
390
|
+
export type VolumeSnapshotReleaseResourceType = (typeof VolumeSnapshotReleaseResourceType)[keyof typeof VolumeSnapshotReleaseResourceType];
|
|
391
|
+
export declare const VolumeSnapshotReleaseResourceType: {
|
|
392
|
+
readonly volume_snapshot: "volume_snapshot";
|
|
393
|
+
readonly snapshot: "snapshot";
|
|
394
|
+
};
|
|
395
|
+
/**
|
|
396
|
+
* Compute VolumeSnapshot TypeID. UUID text is not accepted.
|
|
397
|
+
* @minLength 38
|
|
398
|
+
* @maxLength 38
|
|
399
|
+
* @pattern ^volsnapshot_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$
|
|
400
|
+
*/
|
|
401
|
+
export type VolumeSnapshotID = string;
|
|
402
|
+
/**
|
|
403
|
+
* A resource a release set releases.
|
|
404
|
+
*/
|
|
405
|
+
export interface VolumeSnapshotReleaseResource {
|
|
406
|
+
type: VolumeSnapshotReleaseResourceType;
|
|
407
|
+
id: VolumeSnapshotID;
|
|
408
|
+
/** The current display name of the selected resource. */
|
|
409
|
+
name: string;
|
|
410
|
+
}
|
|
411
|
+
export type VolumeBackupReleaseResourceType = (typeof VolumeBackupReleaseResourceType)[keyof typeof VolumeBackupReleaseResourceType];
|
|
412
|
+
export declare const VolumeBackupReleaseResourceType: {
|
|
413
|
+
readonly volume_backup: "volume_backup";
|
|
414
|
+
};
|
|
415
|
+
/**
|
|
416
|
+
* Compute VolumeBackup TypeID. UUID text is not accepted.
|
|
417
|
+
* @minLength 36
|
|
418
|
+
* @maxLength 36
|
|
419
|
+
* @pattern ^volbackup_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$
|
|
420
|
+
*/
|
|
421
|
+
export type VolumeBackupID = string;
|
|
422
|
+
/**
|
|
423
|
+
* A resource a release set releases.
|
|
424
|
+
*/
|
|
425
|
+
export interface VolumeBackupReleaseResource {
|
|
426
|
+
type: VolumeBackupReleaseResourceType;
|
|
427
|
+
id: VolumeBackupID;
|
|
428
|
+
/** The current display name of the selected resource. */
|
|
429
|
+
name: string;
|
|
430
|
+
}
|
|
431
|
+
export type PrivateImageReleaseResourceType = (typeof PrivateImageReleaseResourceType)[keyof typeof PrivateImageReleaseResourceType];
|
|
432
|
+
export declare const PrivateImageReleaseResourceType: {
|
|
433
|
+
readonly private_image: "private_image";
|
|
434
|
+
};
|
|
435
|
+
/**
|
|
436
|
+
* Compute Image TypeID. UUID text is not accepted.
|
|
437
|
+
* @minLength 32
|
|
438
|
+
* @maxLength 32
|
|
439
|
+
* @pattern ^image_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$
|
|
440
|
+
*/
|
|
441
|
+
export type ImageID = string;
|
|
442
|
+
/**
|
|
443
|
+
* A resource a release set releases.
|
|
444
|
+
*/
|
|
445
|
+
export interface PrivateImageReleaseResource {
|
|
446
|
+
type: PrivateImageReleaseResourceType;
|
|
447
|
+
id: ImageID;
|
|
448
|
+
/** The current display name of the selected resource. */
|
|
449
|
+
name: string;
|
|
450
|
+
}
|
|
451
|
+
/**
|
|
452
|
+
* A resource a release set releases.
|
|
453
|
+
*/
|
|
454
|
+
export type ReleaseResource = InstanceReleaseResource | VolumeReleaseResource | ElasticIPReleaseResource | VolumeSnapshotReleaseResource | VolumeBackupReleaseResource | PrivateImageReleaseResource;
|
|
455
|
+
/**
|
|
456
|
+
* One subscription of a release set and the resource it pays for.
|
|
457
|
+
*/
|
|
458
|
+
export interface ReleaseSetItem {
|
|
459
|
+
subscription_id: string;
|
|
460
|
+
resource: ReleaseResource;
|
|
461
|
+
}
|
|
462
|
+
/**
|
|
463
|
+
* @nullable
|
|
464
|
+
*/
|
|
465
|
+
export type ElasticIPAccessState = (typeof ElasticIPAccessState)[keyof typeof ElasticIPAccessState] | null;
|
|
466
|
+
export declare const ElasticIPAccessState: {
|
|
467
|
+
readonly pending: "pending";
|
|
468
|
+
readonly enabled: "enabled";
|
|
469
|
+
readonly suspended: "suspended";
|
|
470
|
+
readonly reclaimed: "reclaimed";
|
|
471
|
+
};
|
|
472
|
+
/**
|
|
473
|
+
* Why creation failed; null unless `status` is `failed`. `checkout_expired` means checkout was not completed before its Checkout Session expired. `provisioning_failed` means creation failed after the order was accepted, and the charge for this elastic IP is refunded.
|
|
474
|
+
* @nullable
|
|
475
|
+
*/
|
|
476
|
+
export type ElasticIPFailureReason = (typeof ElasticIPFailureReason)[keyof typeof ElasticIPFailureReason] | null;
|
|
477
|
+
export declare const ElasticIPFailureReason: {
|
|
478
|
+
readonly order_declined: "order_declined";
|
|
479
|
+
readonly order_canceled: "order_canceled";
|
|
480
|
+
readonly order_expired: "order_expired";
|
|
481
|
+
readonly checkout_expired: "checkout_expired";
|
|
482
|
+
readonly provisioning_failed: "provisioning_failed";
|
|
483
|
+
};
|
|
484
|
+
/**
|
|
485
|
+
* Compute ElasticIPAssociation TypeID. UUID text is not accepted.
|
|
486
|
+
* @minLength 41
|
|
487
|
+
* @maxLength 41
|
|
488
|
+
* @pattern ^eipassociation_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$
|
|
489
|
+
*/
|
|
490
|
+
export type ElasticIPAssociationID = string;
|
|
491
|
+
/**
|
|
492
|
+
* Compute NetworkInterfaceAddress TypeID. UUID text is not accepted.
|
|
493
|
+
* @minLength 37
|
|
494
|
+
* @maxLength 37
|
|
495
|
+
* @pattern ^eniaddress_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$
|
|
496
|
+
*/
|
|
497
|
+
export type NetworkInterfaceAddressID = string;
|
|
498
|
+
export type ElasticIPAssociationState = (typeof ElasticIPAssociationState)[keyof typeof ElasticIPAssociationState];
|
|
499
|
+
export declare const ElasticIPAssociationState: {
|
|
500
|
+
readonly associated: "associated";
|
|
501
|
+
readonly released: "released";
|
|
502
|
+
};
|
|
503
|
+
export interface ElasticIPAssociation {
|
|
504
|
+
id: ElasticIPAssociationID;
|
|
505
|
+
elastic_ip_id: ElasticIPID;
|
|
506
|
+
network_interface_address_id: NetworkInterfaceAddressID;
|
|
507
|
+
public_address: IPv4HostAddress;
|
|
508
|
+
private_address: IPv4HostAddress;
|
|
509
|
+
state: ElasticIPAssociationState;
|
|
510
|
+
/** @nullable */
|
|
511
|
+
associated_at: string | null;
|
|
512
|
+
/** @nullable */
|
|
513
|
+
disassociated_at: string | null;
|
|
514
|
+
/** @nullable */
|
|
515
|
+
released_at: string | null;
|
|
516
|
+
}
|
|
517
|
+
/**
|
|
518
|
+
* One public IP resource, including its bandwidth configuration. Bandwidth has no separate Compute resource ID.
|
|
519
|
+
* Two subscriptions of one order pay for it: the address subscription, always pay-as-you-go, charges for the
|
|
520
|
+
* address while it is not associated with anything, and the network subscription, on the terms chosen at
|
|
521
|
+
* purchase, charges for the bandwidth or the traffic. Changing bandwidth updates this same resource, not another
|
|
522
|
+
* allocation.
|
|
523
|
+
*/
|
|
524
|
+
export interface ElasticIP {
|
|
525
|
+
internet_charge_type: InternetChargeType;
|
|
526
|
+
/** The held IPv4 address; null before actual claim. Holding identity is not exposed. */
|
|
527
|
+
address: IPv4HostAddress | null;
|
|
528
|
+
/**
|
|
529
|
+
* The actual address holding start time; null before actual claim.
|
|
530
|
+
* @nullable
|
|
531
|
+
*/
|
|
532
|
+
allocated_at: string | null;
|
|
533
|
+
/**
|
|
534
|
+
* The confirmed holding release time; null while held or before actual claim.
|
|
535
|
+
* @nullable
|
|
536
|
+
*/
|
|
537
|
+
released_at: string | null;
|
|
538
|
+
/** @nullable */
|
|
539
|
+
bandwidth_mbps: number | null;
|
|
540
|
+
created_at: string;
|
|
541
|
+
id: ElasticIPID;
|
|
542
|
+
line_id: ElasticIPLineID;
|
|
543
|
+
region_id: RegionID;
|
|
544
|
+
/** `pending` until the address is created, with no address allocated before the order is accepted; then `available`. `failed` means no address was allocated; `failure_reason` states why. A value naming an operation in progress (`associating`, `disassociating`, `updating_bandwidth`, `updating_internet_charge_type`, `suspending`, `resuming`, `deleting`) is shown while that operation runs; the elastic IP refuses another operation until it ends. */
|
|
545
|
+
status: ElasticIPStatus;
|
|
546
|
+
/**
|
|
547
|
+
* The Billing Checkout Session that bought this resource; `order_id` and the order items stay null until its checkout completes. Null when the resource was not bought through one.
|
|
548
|
+
* @nullable
|
|
549
|
+
*/
|
|
550
|
+
readonly checkout_session_id: string | null;
|
|
551
|
+
/** @nullable */
|
|
552
|
+
order_id: string | null;
|
|
553
|
+
/**
|
|
554
|
+
* The Billing order item of the address, always pay-as-you-go.
|
|
555
|
+
* @nullable
|
|
556
|
+
*/
|
|
557
|
+
address_order_item_id: string | null;
|
|
558
|
+
/**
|
|
559
|
+
* The Billing subscription of the address. It may still be pending; its presence does not imply delivery or metering.
|
|
560
|
+
* @nullable
|
|
561
|
+
*/
|
|
562
|
+
address_subscription_id: string | null;
|
|
563
|
+
/**
|
|
564
|
+
* The Billing order item of the bandwidth or traffic.
|
|
565
|
+
* @nullable
|
|
566
|
+
*/
|
|
567
|
+
internet_order_item_id: string | null;
|
|
568
|
+
/**
|
|
569
|
+
* The Billing subscription of the bandwidth or traffic. It may still be pending; its presence does not imply delivery or metering.
|
|
570
|
+
* @nullable
|
|
571
|
+
*/
|
|
572
|
+
internet_subscription_id: string | null;
|
|
573
|
+
/** The subscriptions a cancellation through Billing has to cover to release this elastic IP, both the address's and the network's, each with the resource it pays for, so that each line of a cancellation can name what it releases. A subscription that has ended is not listed, and the set is empty when no subscription pays for the elastic IP. */
|
|
574
|
+
release_set: ReleaseSetItem[];
|
|
575
|
+
/** @nullable */
|
|
576
|
+
access_state: ElasticIPAccessState;
|
|
577
|
+
/**
|
|
578
|
+
* Why creation failed; null unless `status` is `failed`. `checkout_expired` means checkout was not completed before its Checkout Session expired. `provisioning_failed` means creation failed after the order was accepted, and the charge for this elastic IP is refunded.
|
|
579
|
+
* @nullable
|
|
580
|
+
*/
|
|
581
|
+
failure_reason: ElasticIPFailureReason;
|
|
582
|
+
association: ElasticIPAssociation | null;
|
|
583
|
+
}
|
|
584
|
+
/**
|
|
585
|
+
* The elastic IP as it is when the deletion is accepted, and the Billing cancellation that releases it when subscriptions pay for it.
|
|
586
|
+
*/
|
|
587
|
+
export interface DeleteElasticIPResponseBody {
|
|
588
|
+
elastic_ip: ElasticIP;
|
|
589
|
+
/** The cancellation Compute created for the elastic IP's subscriptions; null when none pays for it. */
|
|
590
|
+
cancellation: null | BillingCancellation;
|
|
591
|
+
}
|
|
592
|
+
/**
|
|
593
|
+
* The traffic an elastic IP sent in one interval.
|
|
594
|
+
*/
|
|
595
|
+
export interface TrafficUsage {
|
|
596
|
+
/** The start of the interval, in UTC. */
|
|
597
|
+
start_time: string;
|
|
598
|
+
/** @minimum 0 */
|
|
599
|
+
egress_bytes: number;
|
|
600
|
+
/** @minimum 0 */
|
|
601
|
+
egress_packets: number;
|
|
602
|
+
}
|
|
603
|
+
export interface TrafficUsageListResponseBody {
|
|
604
|
+
items: TrafficUsage[];
|
|
605
|
+
pagination: OffsetPagination;
|
|
606
|
+
}
|
|
607
|
+
export interface ElasticIPListResponseBody {
|
|
608
|
+
/** @nullable */
|
|
609
|
+
items: ElasticIP[] | null;
|
|
610
|
+
pagination: OffsetPagination;
|
|
611
|
+
}
|
|
612
|
+
export interface CreateElasticIPRequestBody {
|
|
613
|
+
internet_charge_type?: InternetChargeType;
|
|
614
|
+
address?: IPv4HostAddress;
|
|
615
|
+
/**
|
|
616
|
+
* The bandwidth ceiling of this address, in Mbit/s, applied to both directions.
|
|
617
|
+
*
|
|
618
|
+
* Required, and there is no "unlimited": an address with no ceiling runs at line rate and is
|
|
619
|
+
* charged nothing for the traffic, while the address itself bills normally — so the invoice
|
|
620
|
+
* looks correct and nothing anywhere reports it.
|
|
621
|
+
*
|
|
622
|
+
* Any whole number of Mbps within the line's `min_bandwidth_mbps` and `max_bandwidth_mbps`, otherwise the
|
|
623
|
+
* request is refused with `ELASTIC_IP_BANDWIDTH_RANGE`. Changing it
|
|
624
|
+
* later updates the same elastic IP through `update-elastic-ip`, not an independent bandwidth resource.
|
|
625
|
+
* @minimum 1
|
|
626
|
+
* @maximum 1000
|
|
627
|
+
*/
|
|
628
|
+
bandwidth_mbps: number;
|
|
629
|
+
line_id: ElasticIPLineID;
|
|
630
|
+
billing: BillingChoice;
|
|
631
|
+
checkout?: CheckoutOptions;
|
|
632
|
+
}
|
|
633
|
+
/**
|
|
634
|
+
* The mutable fields of the elastic IP identified by the path, all optional, at least one required. `bandwidth_mbps`
|
|
635
|
+
* and `internet_charge_type` are operational fields and cannot be combined with any other field; such a request is
|
|
636
|
+
* refused with 422 `UPDATE_FIELDS_COMBINED`. This is a configuration change of that resource, not an independent
|
|
637
|
+
* bandwidth resource. Checkout is handled by Billing.
|
|
638
|
+
*/
|
|
639
|
+
export interface UpdateElasticIPRequestBody {
|
|
640
|
+
/**
|
|
641
|
+
* Moves a pay-as-you-go elastic IP between charging for its bandwidth and charging for its traffic, within the same network subscription and without checkout. A prepaid network subscription has paid for its bandwidth and is refused with `ELASTIC_IP_CHARGE_TYPE_PREPAID`; `traffic` on a line whose `traffic_sale_status` is `off_sale` is refused with `ELASTIC_IP_TRAFFIC_UNAVAILABLE`, the type already in effect with `ELASTIC_IP_CHARGE_TYPE_UNCHANGED`, and a type the currency of the network subscription does not offer on the line with HTTP 403 `ELASTIC_IP_CHARGE_TYPE_NOT_OFFERED`: prices are set per currency, and a currency without one there does not sell that type.
|
|
642
|
+
*
|
|
643
|
+
* The change takes effect at the instant it is applied: bandwidth stops being metered then and traffic starts being, or the other way round. Traffic is counted in windows, and a window is charged the way the elastic IP was charged for most of it, so a report that arrives late is still charged as it was at the time and a window the change falls in is never charged both ways. `bandwidth_mbps` stays the ceiling either way.
|
|
644
|
+
*/
|
|
645
|
+
internet_charge_type?: InternetChargeType;
|
|
646
|
+
/**
|
|
647
|
+
* Applied to both directions
|
|
648
|
+
* @minimum 1
|
|
649
|
+
*/
|
|
650
|
+
bandwidth_mbps?: number;
|
|
651
|
+
/** The `proration_date` of the Billing quote for this change, so that the order is priced from the same instant. Only with `bandwidth_mbps` on a prepaid network subscription, and only for automatic checkout; deferred checkout is priced when the customer completes it. Defaults to the time of the request; it must be a whole second, not in the future and at most 10 minutes old, otherwise the request is refused with `BILLING_CHANGE_INVALID`. */
|
|
652
|
+
proration_date?: string;
|
|
653
|
+
checkout?: CheckoutOptions;
|
|
654
|
+
}
|
|
655
|
+
/**
|
|
656
|
+
* An instance; the elastic IP points at the primary private IPv4 address of its primary network interface.
|
|
657
|
+
*/
|
|
658
|
+
export interface InstanceAssociationTarget {
|
|
659
|
+
instance_id: InstanceID;
|
|
660
|
+
}
|
|
661
|
+
/**
|
|
662
|
+
* One private address of a network interface. One interface may hold several private addresses, each with its own elastic IP.
|
|
663
|
+
*/
|
|
664
|
+
export interface NetworkInterfaceAddressAssociationTarget {
|
|
665
|
+
network_interface_address_id: NetworkInterfaceAddressID;
|
|
666
|
+
}
|
|
667
|
+
/**
|
|
668
|
+
* The target an elastic IP points at. Exactly one of the two forms.
|
|
669
|
+
*/
|
|
670
|
+
export type AssociateElasticIPRequestBody = InstanceAssociationTarget | NetworkInterfaceAddressAssociationTarget;
|
|
671
|
+
/**
|
|
672
|
+
* The new elastic IP, `pending` until its order is accepted, and its Checkout Session. `address` is null until
|
|
673
|
+
* the address is allocated.
|
|
674
|
+
*/
|
|
675
|
+
export interface CreateElasticIPResponseBody {
|
|
676
|
+
elastic_ip: ElasticIP;
|
|
677
|
+
/** The Billing Checkout Session of this purchase. With deferred checkout, the customer completes it in Billing. */
|
|
678
|
+
checkout_session_id: string;
|
|
679
|
+
/**
|
|
680
|
+
* The order created when checkout completes, at once for automatic checkout; null until then.
|
|
681
|
+
* @nullable
|
|
682
|
+
*/
|
|
683
|
+
order_id: string | null;
|
|
684
|
+
}
|
|
685
|
+
/**
|
|
686
|
+
* The elastic IP and, when the update placed a Billing order, the Checkout Session for it. After a bandwidth change the elastic IP is still at its current bandwidth until the change is applied. Returned with 200 when only descriptive fields changed and with 202 when an operation started.
|
|
687
|
+
*/
|
|
688
|
+
export interface UpdateElasticIPResponseBody {
|
|
689
|
+
elastic_ip: ElasticIP;
|
|
690
|
+
/**
|
|
691
|
+
* The Billing Checkout Session of the purchase; null when the update placed no order. With deferred checkout, the customer completes it in Billing.
|
|
692
|
+
* @nullable
|
|
693
|
+
*/
|
|
694
|
+
checkout_session_id: string | null;
|
|
695
|
+
/**
|
|
696
|
+
* The order created when checkout completes, at once for automatic checkout; null until then and when the update placed no order.
|
|
697
|
+
* @nullable
|
|
698
|
+
*/
|
|
699
|
+
order_id: string | null;
|
|
700
|
+
}
|
|
701
|
+
/**
|
|
702
|
+
* The public eni resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation.
|
|
703
|
+
* @minLength 30
|
|
704
|
+
* @maxLength 30
|
|
705
|
+
* @pattern ^eni_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$
|
|
706
|
+
*/
|
|
707
|
+
export type NetworkInterfaceID = string;
|
|
708
|
+
/**
|
|
709
|
+
* The public lt resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation.
|
|
710
|
+
* @minLength 29
|
|
711
|
+
* @maxLength 29
|
|
712
|
+
* @pattern ^lt_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$
|
|
713
|
+
*/
|
|
714
|
+
export type LaunchTemplateID = string;
|
|
715
|
+
/**
|
|
716
|
+
* The public vpc resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation.
|
|
717
|
+
* @minLength 30
|
|
718
|
+
* @maxLength 30
|
|
719
|
+
* @pattern ^vpc_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$
|
|
720
|
+
*/
|
|
721
|
+
export type VirtualPrivateCloudID = string;
|
|
722
|
+
/**
|
|
723
|
+
* A virtual private cloud identifier, or `-` to read across every virtual private cloud of the project (AIP-159).
|
|
724
|
+
* @pattern ^(?:-|vpc_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25})$
|
|
725
|
+
*/
|
|
726
|
+
export type VirtualPrivateCloudIDOrWildcard = string;
|
|
727
|
+
/**
|
|
728
|
+
* Compute InstanceType TypeID. UUID text is not accepted.
|
|
729
|
+
* @minLength 34
|
|
730
|
+
* @maxLength 34
|
|
731
|
+
* @pattern ^instype_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$
|
|
732
|
+
*/
|
|
733
|
+
export type InstanceTypeID = string;
|
|
734
|
+
/**
|
|
735
|
+
* Compute InstanceFamily TypeID. UUID text is not accepted.
|
|
736
|
+
* @minLength 36
|
|
737
|
+
* @maxLength 36
|
|
738
|
+
* @pattern ^insfamily_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$
|
|
739
|
+
*/
|
|
740
|
+
export type InstanceFamilyID = string;
|
|
741
|
+
/**
|
|
742
|
+
* Compute VolumeType TypeID. UUID text is not accepted.
|
|
743
|
+
* @minLength 34
|
|
744
|
+
* @maxLength 34
|
|
745
|
+
* @pattern ^voltype_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$
|
|
746
|
+
*/
|
|
747
|
+
export type VolumeTypeID = string;
|
|
748
|
+
/**
|
|
749
|
+
* Compute InstanceVolume TypeID. UUID text is not accepted.
|
|
750
|
+
* @minLength 33
|
|
751
|
+
* @maxLength 33
|
|
752
|
+
* @pattern ^insvol_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$
|
|
753
|
+
*/
|
|
754
|
+
export type InstanceVolumeID = string;
|
|
755
|
+
/**
|
|
756
|
+
* Compute SecurityGroup TypeID. UUID text is not accepted.
|
|
757
|
+
* @minLength 29
|
|
758
|
+
* @maxLength 29
|
|
759
|
+
* @pattern ^sg_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$
|
|
760
|
+
*/
|
|
761
|
+
export type SecurityGroupID = string;
|
|
762
|
+
/**
|
|
763
|
+
* A security group identifier, or `-` to read across every security group of the project (AIP-159).
|
|
764
|
+
* @pattern ^(?:-|sg_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25})$
|
|
765
|
+
*/
|
|
766
|
+
export type SecurityGroupIDOrWildcard = string;
|
|
767
|
+
/**
|
|
768
|
+
* Compute Subnet TypeID. UUID text is not accepted.
|
|
769
|
+
* @minLength 33
|
|
770
|
+
* @maxLength 33
|
|
771
|
+
* @pattern ^subnet_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$
|
|
772
|
+
*/
|
|
773
|
+
export type SubnetID = string;
|
|
774
|
+
/**
|
|
775
|
+
* Compute InstanceNetworkInterface TypeID. UUID text is not accepted.
|
|
776
|
+
* @minLength 33
|
|
777
|
+
* @maxLength 33
|
|
778
|
+
* @pattern ^inseni_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$
|
|
779
|
+
*/
|
|
780
|
+
export type InstanceNetworkInterfaceID = string;
|
|
781
|
+
/**
|
|
782
|
+
* Compute OperationLog TypeID. UUID text is not accepted.
|
|
783
|
+
* @minLength 39
|
|
784
|
+
* @maxLength 39
|
|
785
|
+
* @pattern ^operationlog_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$
|
|
786
|
+
*/
|
|
787
|
+
export type OperationLogID = string;
|
|
788
|
+
/**
|
|
789
|
+
* Compute VirtualPrivateCloudPeering TypeID. UUID text is not accepted.
|
|
790
|
+
* @minLength 37
|
|
791
|
+
* @maxLength 37
|
|
792
|
+
* @pattern ^vpcpeering_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$
|
|
793
|
+
*/
|
|
794
|
+
export type VirtualPrivateCloudPeeringID = string;
|
|
795
|
+
/**
|
|
796
|
+
* Compute VirtualPrivateCloudRoute TypeID. UUID text is not accepted.
|
|
797
|
+
* @minLength 35
|
|
798
|
+
* @maxLength 35
|
|
799
|
+
* @pattern ^vpcroute_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$
|
|
800
|
+
*/
|
|
801
|
+
export type VirtualPrivateCloudRouteID = string;
|
|
802
|
+
/**
|
|
803
|
+
* Compute SecurityGroupRule TypeID. UUID text is not accepted.
|
|
804
|
+
* @minLength 33
|
|
805
|
+
* @maxLength 33
|
|
806
|
+
* @pattern ^sgrule_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$
|
|
807
|
+
*/
|
|
808
|
+
export type SecurityGroupRuleID = string;
|
|
809
|
+
/**
|
|
810
|
+
* Who makes the CPU the family runs on.
|
|
811
|
+
*/
|
|
812
|
+
export type InstanceFamilyCpuVendor = (typeof InstanceFamilyCpuVendor)[keyof typeof InstanceFamilyCpuVendor];
|
|
813
|
+
export declare const InstanceFamilyCpuVendor: {
|
|
814
|
+
readonly intel: "intel";
|
|
815
|
+
readonly amd: "amd";
|
|
816
|
+
};
|
|
817
|
+
/**
|
|
818
|
+
* `dedicated` gives each vCPU a host thread of its own; `shared` lets the vCPUs of several instances share host threads.
|
|
819
|
+
*/
|
|
820
|
+
export type InstanceFamilyCpuTier = (typeof InstanceFamilyCpuTier)[keyof typeof InstanceFamilyCpuTier];
|
|
821
|
+
export declare const InstanceFamilyCpuTier: {
|
|
822
|
+
readonly dedicated: "dedicated";
|
|
823
|
+
readonly shared: "shared";
|
|
824
|
+
};
|
|
825
|
+
/**
|
|
826
|
+
* What the family is sized for. `general_purpose` balances vCPU and memory, `compute_optimized` gives less memory per vCPU, and `memory_optimized` more.
|
|
827
|
+
*/
|
|
828
|
+
export type InstanceFamilyCategory = (typeof InstanceFamilyCategory)[keyof typeof InstanceFamilyCategory];
|
|
829
|
+
export declare const InstanceFamilyCategory: {
|
|
830
|
+
readonly general_purpose: "general_purpose";
|
|
831
|
+
readonly compute_optimized: "compute_optimized";
|
|
832
|
+
readonly memory_optimized: "memory_optimized";
|
|
833
|
+
};
|
|
834
|
+
export interface InstanceFamily {
|
|
835
|
+
id: InstanceFamilyID;
|
|
836
|
+
region_id: RegionID;
|
|
837
|
+
/** The family's name, such as `g7`. */
|
|
838
|
+
name: string;
|
|
839
|
+
category: InstanceFamilyCategory;
|
|
840
|
+
/** The hardware generation of the family; a higher one is newer hardware. */
|
|
841
|
+
generation: number;
|
|
842
|
+
/** Who makes the CPU the family runs on. */
|
|
843
|
+
cpu_vendor: InstanceFamilyCpuVendor;
|
|
844
|
+
/** The CPU model, such as `EPYC 9654`; empty when none is stated. */
|
|
845
|
+
cpu_model: string;
|
|
846
|
+
/** `dedicated` gives each vCPU a host thread of its own; `shared` lets the vCPUs of several instances share host threads. */
|
|
847
|
+
cpu_tier: InstanceFamilyCpuTier;
|
|
848
|
+
}
|
|
849
|
+
export interface InstanceFamilyListResponseBody {
|
|
850
|
+
items: InstanceFamily[];
|
|
851
|
+
pagination: OffsetPagination;
|
|
852
|
+
}
|
|
853
|
+
/**
|
|
854
|
+
* `sold_out` takes no new orders for now while the type stays listed; the instances already of it keep working.
|
|
855
|
+
*/
|
|
856
|
+
export type InstanceTypeSaleStatus = (typeof InstanceTypeSaleStatus)[keyof typeof InstanceTypeSaleStatus];
|
|
857
|
+
export declare const InstanceTypeSaleStatus: {
|
|
858
|
+
readonly on_sale: "on_sale";
|
|
859
|
+
readonly sold_out: "sold_out";
|
|
860
|
+
};
|
|
861
|
+
export interface InstanceType {
|
|
862
|
+
availability_zone_id: AvailabilityZoneID;
|
|
863
|
+
/** `sold_out` takes no new orders for now while the type stays listed; the instances already of it keep working. */
|
|
864
|
+
sale_status: InstanceTypeSaleStatus;
|
|
865
|
+
id: InstanceTypeID;
|
|
866
|
+
instance_family_id: InstanceFamilyID;
|
|
867
|
+
/**
|
|
868
|
+
* The machine's network rate, in Mbps. **Each** network interface of the machine is limited to it in both directions — per interface rather than shared, so a machine with two interfaces has this rate on each of them; `max_network_interfaces` says how many it may have. Zero is no limit.
|
|
869
|
+
*
|
|
870
|
+
* An elastic IP associated with the machine cannot be bought faster than this rate; asking for more is refused with `INSTANCE_BANDWIDTH_CEILING`.
|
|
871
|
+
*/
|
|
872
|
+
max_bandwidth_mbps: number;
|
|
873
|
+
max_elastic_ips: number;
|
|
874
|
+
max_network_interfaces: number;
|
|
875
|
+
name: string;
|
|
876
|
+
memory_mib: number;
|
|
877
|
+
region_id: RegionID;
|
|
878
|
+
vcpus: number;
|
|
879
|
+
/** The line an instance of this type is. The boot volume and data volumes bought with it are lines of their volume types, and a new elastic IP the two lines of its elastic IP line. */
|
|
880
|
+
billing: BillingComponent;
|
|
881
|
+
}
|
|
882
|
+
export interface InstanceTypeListResponseBody {
|
|
883
|
+
items: InstanceType[];
|
|
884
|
+
pagination: OffsetPagination;
|
|
885
|
+
}
|
|
886
|
+
/**
|
|
887
|
+
* Which collection `image_id` belongs to. `public` means `/public-images`, `private` means `/private-images`. Null when the instance boots from a volume and therefore has no image
|
|
888
|
+
* @nullable
|
|
889
|
+
*/
|
|
890
|
+
export type InstanceImageType = (typeof InstanceImageType)[keyof typeof InstanceImageType] | null;
|
|
891
|
+
export declare const InstanceImageType: {
|
|
892
|
+
readonly public: "public";
|
|
893
|
+
readonly private: "private";
|
|
894
|
+
};
|
|
895
|
+
/**
|
|
896
|
+
* `pending` until the instance is created: before the order is accepted no instance exists and addresses are null. Then `running`. `failed` means the instance was not created; `failure_reason` states why. The other values are the state of the instance in the cloud. A value naming an operation in progress (`starting`, `stopping`, `rebooting`, `rebuilding`, `rescuing`, `unrescuing`, `resizing`, `resetting_password`, `attaching_volume`, `detaching_volume`, `attaching_network_interface`, `detaching_network_interface`, `associating_elastic_ip`, `disassociating_elastic_ip`, `capturing_image`, `suspending`, `resuming`, `deleting`) is shown while that operation runs; the instance refuses another operation until it ends.
|
|
897
|
+
*/
|
|
898
|
+
export type InstanceStatus = (typeof InstanceStatus)[keyof typeof InstanceStatus];
|
|
899
|
+
export declare const InstanceStatus: {
|
|
900
|
+
readonly pending: "pending";
|
|
901
|
+
readonly running: "running";
|
|
902
|
+
readonly stopped: "stopped";
|
|
903
|
+
readonly paused: "paused";
|
|
904
|
+
readonly suspended: "suspended";
|
|
905
|
+
readonly rescued: "rescued";
|
|
906
|
+
readonly deleted: "deleted";
|
|
907
|
+
readonly failed: "failed";
|
|
908
|
+
readonly error: "error";
|
|
909
|
+
readonly starting: "starting";
|
|
910
|
+
readonly stopping: "stopping";
|
|
911
|
+
readonly rebooting: "rebooting";
|
|
912
|
+
readonly rebuilding: "rebuilding";
|
|
913
|
+
readonly rescuing: "rescuing";
|
|
914
|
+
readonly unrescuing: "unrescuing";
|
|
915
|
+
readonly resizing: "resizing";
|
|
916
|
+
readonly resetting_password: "resetting_password";
|
|
917
|
+
readonly attaching_volume: "attaching_volume";
|
|
918
|
+
readonly detaching_volume: "detaching_volume";
|
|
919
|
+
readonly attaching_network_interface: "attaching_network_interface";
|
|
920
|
+
readonly detaching_network_interface: "detaching_network_interface";
|
|
921
|
+
readonly associating_elastic_ip: "associating_elastic_ip";
|
|
922
|
+
readonly disassociating_elastic_ip: "disassociating_elastic_ip";
|
|
923
|
+
readonly capturing_image: "capturing_image";
|
|
924
|
+
readonly suspending: "suspending";
|
|
925
|
+
readonly resuming: "resuming";
|
|
926
|
+
readonly deleting: "deleting";
|
|
927
|
+
};
|
|
928
|
+
/**
|
|
929
|
+
* Why it is held. `operator_suspended` is a suspension by the platform. `billing_suspended` is the instance's
|
|
930
|
+
* own subscription suspended for non-payment, and `billing_reclaimed` that subscription ending,
|
|
931
|
+
* after which the instance is released. `boot_volume_suspended` and `boot_volume_reclaimed` are the same
|
|
932
|
+
* for the subscription of the volume the instance boots from: that volume is billed apart, and the
|
|
933
|
+
* instance cannot run without it, so renewing the volume's subscription lifts the hold, and a reclaimed
|
|
934
|
+
* boot volume is released together with its instance.
|
|
935
|
+
*/
|
|
936
|
+
export type InstanceRestrictionReason = (typeof InstanceRestrictionReason)[keyof typeof InstanceRestrictionReason];
|
|
937
|
+
export declare const InstanceRestrictionReason: {
|
|
938
|
+
readonly operator_suspended: "operator_suspended";
|
|
939
|
+
readonly billing_suspended: "billing_suspended";
|
|
940
|
+
readonly billing_reclaimed: "billing_reclaimed";
|
|
941
|
+
readonly boot_volume_suspended: "boot_volume_suspended";
|
|
942
|
+
readonly boot_volume_reclaimed: "boot_volume_reclaimed";
|
|
943
|
+
};
|
|
944
|
+
/**
|
|
945
|
+
* One hold on the instance. While any holds it, the instance is stopped and refuses being started,
|
|
946
|
+
* rebooted, rebuilt, resized, rescued, having its password reset and running commands, with 409
|
|
947
|
+
* `INSTANCE_SUSPENDED`. Holds are independent: lifting one never lifts another, and once none remains
|
|
948
|
+
* the instance is started again only if a hold stopped it, never one its user stopped.
|
|
949
|
+
*/
|
|
950
|
+
export interface InstanceRestriction {
|
|
951
|
+
/**
|
|
952
|
+
* Why it is held. `operator_suspended` is a suspension by the platform. `billing_suspended` is the instance's
|
|
953
|
+
* own subscription suspended for non-payment, and `billing_reclaimed` that subscription ending,
|
|
954
|
+
* after which the instance is released. `boot_volume_suspended` and `boot_volume_reclaimed` are the same
|
|
955
|
+
* for the subscription of the volume the instance boots from: that volume is billed apart, and the
|
|
956
|
+
* instance cannot run without it, so renewing the volume's subscription lifts the hold, and a reclaimed
|
|
957
|
+
* boot volume is released together with its instance.
|
|
958
|
+
*/
|
|
959
|
+
reason: InstanceRestrictionReason;
|
|
960
|
+
/**
|
|
961
|
+
* The Billing subscription whose state holds the instance; null for `operator_suspended`.
|
|
962
|
+
* @nullable
|
|
963
|
+
*/
|
|
964
|
+
subscription_id: string | null;
|
|
965
|
+
/** The volume the instance boots from, for `boot_volume_suspended` and `boot_volume_reclaimed`; null otherwise. */
|
|
966
|
+
volume_id: VolumeID | null;
|
|
967
|
+
/**
|
|
968
|
+
* When the hold began; null when that instant was not recorded.
|
|
969
|
+
* @nullable
|
|
970
|
+
*/
|
|
971
|
+
started_at: string | null;
|
|
972
|
+
}
|
|
973
|
+
/**
|
|
974
|
+
* Why creation failed; null unless `status` is `failed`. `checkout_expired` means checkout was not completed before its Checkout Session expired. `provisioning_failed` means creation failed after the order was accepted, and the charge for this instance is refunded.
|
|
975
|
+
* @nullable
|
|
976
|
+
*/
|
|
977
|
+
export type InstanceFailureReason = (typeof InstanceFailureReason)[keyof typeof InstanceFailureReason] | null;
|
|
978
|
+
export declare const InstanceFailureReason: {
|
|
979
|
+
readonly order_declined: "order_declined";
|
|
980
|
+
readonly order_canceled: "order_canceled";
|
|
981
|
+
readonly order_expired: "order_expired";
|
|
982
|
+
readonly checkout_expired: "checkout_expired";
|
|
983
|
+
readonly provisioning_failed: "provisioning_failed";
|
|
984
|
+
};
|
|
985
|
+
/**
|
|
986
|
+
* @nullable
|
|
987
|
+
*/
|
|
988
|
+
export type InstanceAccessState = (typeof InstanceAccessState)[keyof typeof InstanceAccessState] | null;
|
|
989
|
+
export declare const InstanceAccessState: {
|
|
990
|
+
readonly pending: "pending";
|
|
991
|
+
readonly enabled: "enabled";
|
|
992
|
+
readonly suspended: "suspended";
|
|
993
|
+
readonly reclaimed: "reclaimed";
|
|
994
|
+
};
|
|
995
|
+
/**
|
|
996
|
+
* Your own classification of this instance, as key-value pairs. Empty when never set
|
|
997
|
+
*/
|
|
998
|
+
export type InstanceLabels = {
|
|
999
|
+
[key: string]: string;
|
|
1000
|
+
};
|
|
1001
|
+
export interface Instance {
|
|
1002
|
+
availability_zone_id: AvailabilityZoneID;
|
|
1003
|
+
created_at: string;
|
|
1004
|
+
/** Hostname inside the instance; equals the instance id */
|
|
1005
|
+
hostname: string;
|
|
1006
|
+
id: InstanceID;
|
|
1007
|
+
/** Non-empty when the instance was created from an image, public or private. `image_type` says which collection holds it */
|
|
1008
|
+
image_id: ImageID | null;
|
|
1009
|
+
/**
|
|
1010
|
+
* Which collection `image_id` belongs to. `public` means `/public-images`, `private` means `/private-images`. Null when the instance boots from a volume and therefore has no image
|
|
1011
|
+
* @nullable
|
|
1012
|
+
*/
|
|
1013
|
+
image_type: InstanceImageType;
|
|
1014
|
+
instance_type_id: InstanceTypeID;
|
|
1015
|
+
/**
|
|
1016
|
+
* IPv6 address of the primary network interface. Assigned automatically once IPv6 is enabled on the virtual private cloud
|
|
1017
|
+
* @nullable
|
|
1018
|
+
*/
|
|
1019
|
+
ipv6_address: string | null;
|
|
1020
|
+
/** Your own classification of this instance, as key-value pairs. Empty when never set */
|
|
1021
|
+
labels: InstanceLabels;
|
|
1022
|
+
/**
|
|
1023
|
+
* The account to log in as over SSH. The password set at creation belongs to this account
|
|
1024
|
+
* @maxLength 32
|
|
1025
|
+
*/
|
|
1026
|
+
login_username: string;
|
|
1027
|
+
name: string;
|
|
1028
|
+
/**
|
|
1029
|
+
* A free-text note about this instance. Empty when never set
|
|
1030
|
+
* @maxLength 4096
|
|
1031
|
+
*/
|
|
1032
|
+
description: string;
|
|
1033
|
+
/**
|
|
1034
|
+
* Private address of the instance
|
|
1035
|
+
* @nullable
|
|
1036
|
+
*/
|
|
1037
|
+
private_ip: string | null;
|
|
1038
|
+
virtual_private_cloud_id: VirtualPrivateCloudID | null;
|
|
1039
|
+
/**
|
|
1040
|
+
* Elastic IPv4 addresses associated with the primary network interface; an empty array when none are associated
|
|
1041
|
+
* @nullable
|
|
1042
|
+
*/
|
|
1043
|
+
elastic_ip_addresses: string[] | null;
|
|
1044
|
+
region_id: RegionID;
|
|
1045
|
+
/** `pending` until the instance is created: before the order is accepted no instance exists and addresses are null. Then `running`. `failed` means the instance was not created; `failure_reason` states why. The other values are the state of the instance in the cloud. A value naming an operation in progress (`starting`, `stopping`, `rebooting`, `rebuilding`, `rescuing`, `unrescuing`, `resizing`, `resetting_password`, `attaching_volume`, `detaching_volume`, `attaching_network_interface`, `detaching_network_interface`, `associating_elastic_ip`, `disassociating_elastic_ip`, `capturing_image`, `suspending`, `resuming`, `deleting`) is shown while that operation runs; the instance refuses another operation until it ends. */
|
|
1046
|
+
status: InstanceStatus;
|
|
1047
|
+
subnet_id: SubnetID | null;
|
|
1048
|
+
updated_at: string;
|
|
1049
|
+
restrictions: InstanceRestriction[];
|
|
1050
|
+
/**
|
|
1051
|
+
* Why creation failed; null unless `status` is `failed`. `checkout_expired` means checkout was not completed before its Checkout Session expired. `provisioning_failed` means creation failed after the order was accepted, and the charge for this instance is refunded.
|
|
1052
|
+
* @nullable
|
|
1053
|
+
*/
|
|
1054
|
+
failure_reason: InstanceFailureReason;
|
|
1055
|
+
/**
|
|
1056
|
+
* The Billing Checkout Session that bought this resource; `order_id` and `order_item_id` stay null until its checkout completes. Null when the resource was not bought through one.
|
|
1057
|
+
* @nullable
|
|
1058
|
+
*/
|
|
1059
|
+
readonly checkout_session_id: string | null;
|
|
1060
|
+
/** @nullable */
|
|
1061
|
+
order_id: string | null;
|
|
1062
|
+
/**
|
|
1063
|
+
* The Billing order item for this resource.
|
|
1064
|
+
* @nullable
|
|
1065
|
+
*/
|
|
1066
|
+
order_item_id: string | null;
|
|
1067
|
+
/**
|
|
1068
|
+
* The Billing subscription associated with this resource. It may still be pending; its
|
|
1069
|
+
* presence does not imply delivery or metering. Null when no subscription is associated.
|
|
1070
|
+
* @nullable
|
|
1071
|
+
*/
|
|
1072
|
+
subscription_id: string | null;
|
|
1073
|
+
/** Subscriptions required to release this instance and volumes deleted with it, each with the resource it pays for, so that each line of a cancellation can name what it releases. Billing determines cancellation terms. An empty set does not establish refund eligibility. */
|
|
1074
|
+
release_set: ReleaseSetItem[];
|
|
1075
|
+
/** @nullable */
|
|
1076
|
+
access_state: InstanceAccessState;
|
|
1077
|
+
/** Non-empty when the instance was created from a volume you already had, instead of from an image */
|
|
1078
|
+
source_volume_id: VolumeID | null;
|
|
1079
|
+
/** The launch template the instance was created from; null when none was named. Changing or deleting the template afterwards changes nothing about the instance. */
|
|
1080
|
+
launch_template_id: LaunchTemplateID | null;
|
|
1081
|
+
/**
|
|
1082
|
+
* The version of that launch template it was created from; null when none was named.
|
|
1083
|
+
* @nullable
|
|
1084
|
+
*/
|
|
1085
|
+
launch_template_version_number: number | null;
|
|
1086
|
+
}
|
|
1087
|
+
/**
|
|
1088
|
+
* The instance as it is when the deletion is accepted, and the Billing cancellation that releases it when subscriptions pay for it.
|
|
1089
|
+
*/
|
|
1090
|
+
export interface DeleteInstanceResponseBody {
|
|
1091
|
+
instance: Instance;
|
|
1092
|
+
/** The cancellation Compute created for the instance's subscriptions; null when none pays for it. */
|
|
1093
|
+
cancellation: null | BillingCancellation;
|
|
1094
|
+
}
|
|
1095
|
+
export interface InstanceListResponseBody {
|
|
1096
|
+
items: Instance[];
|
|
1097
|
+
pagination: OffsetPagination;
|
|
1098
|
+
}
|
|
1099
|
+
/**
|
|
1100
|
+
* Your own classification of each instance, as key-value pairs. A key may not contain a colon, whitespace or control characters
|
|
1101
|
+
*/
|
|
1102
|
+
export type CreateInstanceRequestBodyLabels = {
|
|
1103
|
+
[key: string]: string;
|
|
1104
|
+
};
|
|
1105
|
+
/**
|
|
1106
|
+
* The launch template a creation starts from.
|
|
1107
|
+
*/
|
|
1108
|
+
export interface LaunchTemplateReference {
|
|
1109
|
+
launch_template_id: LaunchTemplateID;
|
|
1110
|
+
/**
|
|
1111
|
+
* A live version of it; the template's `default_version` when omitted.
|
|
1112
|
+
* @minimum 1
|
|
1113
|
+
*/
|
|
1114
|
+
version_number?: number;
|
|
1115
|
+
}
|
|
1116
|
+
/**
|
|
1117
|
+
* The compute capacity requested for each instance in this order.
|
|
1118
|
+
*/
|
|
1119
|
+
export interface NewCompute {
|
|
1120
|
+
instance_type_id?: InstanceTypeID;
|
|
1121
|
+
billing: BillingChoice;
|
|
1122
|
+
}
|
|
1123
|
+
export type NewBootVolumeType = (typeof NewBootVolumeType)[keyof typeof NewBootVolumeType];
|
|
1124
|
+
export declare const NewBootVolumeType: {
|
|
1125
|
+
readonly image: "image";
|
|
1126
|
+
};
|
|
1127
|
+
/**
|
|
1128
|
+
* What releasing the instance does to this volume. `delete` deletes it with the instance; `detach` keeps it, still billed on its own terms, for you to attach elsewhere or delete.
|
|
1129
|
+
*/
|
|
1130
|
+
export type NewBootVolumeOnInstanceRelease = (typeof NewBootVolumeOnInstanceRelease)[keyof typeof NewBootVolumeOnInstanceRelease];
|
|
1131
|
+
export declare const NewBootVolumeOnInstanceRelease: {
|
|
1132
|
+
readonly delete: "delete";
|
|
1133
|
+
readonly detach: "detach";
|
|
1134
|
+
};
|
|
1135
|
+
/**
|
|
1136
|
+
* A boot volume created from an image and recorded in the instance order. Its commercial terms are explicit and its release policy does not override them.
|
|
1137
|
+
*/
|
|
1138
|
+
export interface NewBootVolume {
|
|
1139
|
+
type: NewBootVolumeType;
|
|
1140
|
+
image_id: ImageID;
|
|
1141
|
+
volume_type_id: VolumeTypeID;
|
|
1142
|
+
/** @minimum 1 */
|
|
1143
|
+
size_gib: number;
|
|
1144
|
+
/** What releasing the instance does to this volume. `delete` deletes it with the instance; `detach` keeps it, still billed on its own terms, for you to attach elsewhere or delete. */
|
|
1145
|
+
on_instance_release?: NewBootVolumeOnInstanceRelease;
|
|
1146
|
+
billing?: BillingChoice;
|
|
1147
|
+
}
|
|
1148
|
+
export type ExistingBootVolumeType = (typeof ExistingBootVolumeType)[keyof typeof ExistingBootVolumeType];
|
|
1149
|
+
export declare const ExistingBootVolumeType: {
|
|
1150
|
+
readonly volume: "volume";
|
|
1151
|
+
};
|
|
1152
|
+
export interface ExistingBootVolume {
|
|
1153
|
+
type: ExistingBootVolumeType;
|
|
1154
|
+
volume_id: VolumeID;
|
|
1155
|
+
/**
|
|
1156
|
+
* The existing account used to log in to this volume's operating system.
|
|
1157
|
+
* @minLength 1
|
|
1158
|
+
* @maxLength 32
|
|
1159
|
+
*/
|
|
1160
|
+
login_username: string;
|
|
1161
|
+
}
|
|
1162
|
+
/**
|
|
1163
|
+
* Create a boot volume from an image, or use a prepared volume already held by this project. Using an existing volume does not buy it again and always keeps it when the instance is released.
|
|
1164
|
+
*/
|
|
1165
|
+
export type BootVolume = NewBootVolume | ExistingBootVolume;
|
|
1166
|
+
/**
|
|
1167
|
+
* What releasing the instance does to this volume. `delete` deletes it with the instance; `detach` keeps it, still billed on its own terms, for you to attach elsewhere or delete.
|
|
1168
|
+
*/
|
|
1169
|
+
export type NewDataVolumeOnInstanceRelease = (typeof NewDataVolumeOnInstanceRelease)[keyof typeof NewDataVolumeOnInstanceRelease];
|
|
1170
|
+
export declare const NewDataVolumeOnInstanceRelease: {
|
|
1171
|
+
readonly delete: "delete";
|
|
1172
|
+
readonly detach: "detach";
|
|
1173
|
+
};
|
|
1174
|
+
/**
|
|
1175
|
+
* An empty data volume created in the instance's availability zone. Its terms follow the rule shared by every component of the purchase, so a pay-as-you-go instance gets pay-as-you-go data volumes, which stay pay-as-you-go once detached.
|
|
1176
|
+
*/
|
|
1177
|
+
export interface NewDataVolume {
|
|
1178
|
+
volume_type_id: VolumeTypeID;
|
|
1179
|
+
/**
|
|
1180
|
+
* Within the volume type's `min_size_gib` and `max_size_gib` and a multiple of its `size_step_gib`.
|
|
1181
|
+
* @minimum 1
|
|
1182
|
+
*/
|
|
1183
|
+
size_gib: number;
|
|
1184
|
+
/** What releasing the instance does to this volume. `delete` deletes it with the instance; `detach` keeps it, still billed on its own terms, for you to attach elsewhere or delete. */
|
|
1185
|
+
on_instance_release?: NewDataVolumeOnInstanceRelease;
|
|
1186
|
+
billing?: BillingChoice;
|
|
1187
|
+
}
|
|
1188
|
+
export type NewPrimaryNetworkInterfaceType = (typeof NewPrimaryNetworkInterfaceType)[keyof typeof NewPrimaryNetworkInterfaceType];
|
|
1189
|
+
export declare const NewPrimaryNetworkInterfaceType: {
|
|
1190
|
+
readonly new: "new";
|
|
1191
|
+
};
|
|
1192
|
+
export interface NewPrimaryNetworkInterface {
|
|
1193
|
+
type: NewPrimaryNetworkInterfaceType;
|
|
1194
|
+
subnet_id: SubnetID;
|
|
1195
|
+
/**
|
|
1196
|
+
* The security groups of the interface, of the subnet's virtual private cloud. The default security group is not applied automatically.
|
|
1197
|
+
* @minItems 1
|
|
1198
|
+
* @maxItems 5
|
|
1199
|
+
*/
|
|
1200
|
+
security_group_ids: SecurityGroupID[];
|
|
1201
|
+
}
|
|
1202
|
+
export type ExistingPrimaryNetworkInterfaceType = (typeof ExistingPrimaryNetworkInterfaceType)[keyof typeof ExistingPrimaryNetworkInterfaceType];
|
|
1203
|
+
export declare const ExistingPrimaryNetworkInterfaceType: {
|
|
1204
|
+
readonly existing: "existing";
|
|
1205
|
+
};
|
|
1206
|
+
export interface ExistingPrimaryNetworkInterface {
|
|
1207
|
+
type: ExistingPrimaryNetworkInterfaceType;
|
|
1208
|
+
network_interface_id: NetworkInterfaceID;
|
|
1209
|
+
}
|
|
1210
|
+
/**
|
|
1211
|
+
* The instance's primary network interface, its network location. `new` creates one in a subnet, deleted with the instance; `existing` uses one you already hold, detached and kept when the instance is released.
|
|
1212
|
+
*/
|
|
1213
|
+
export type PrimaryNetworkInterface = NewPrimaryNetworkInterface | ExistingPrimaryNetworkInterface;
|
|
1214
|
+
export type NewElasticIPType = (typeof NewElasticIPType)[keyof typeof NewElasticIPType];
|
|
1215
|
+
export declare const NewElasticIPType: {
|
|
1216
|
+
readonly new: "new";
|
|
1217
|
+
};
|
|
1218
|
+
/**
|
|
1219
|
+
* One IPv4 elastic IP created with this bandwidth configuration in the instance's order.
|
|
1220
|
+
*/
|
|
1221
|
+
export interface NewElasticIP {
|
|
1222
|
+
type: NewElasticIPType;
|
|
1223
|
+
line_id: ElasticIPLineID;
|
|
1224
|
+
/**
|
|
1225
|
+
* Any whole number of Mbps within the line's `min_bandwidth_mbps` and `max_bandwidth_mbps`, otherwise refused with `ELASTIC_IP_BANDWIDTH_RANGE`.
|
|
1226
|
+
* @minimum 1
|
|
1227
|
+
* @maximum 1000
|
|
1228
|
+
*/
|
|
1229
|
+
bandwidth_mbps: number;
|
|
1230
|
+
internet_charge_type?: InternetChargeType;
|
|
1231
|
+
billing?: BillingChoice;
|
|
1232
|
+
}
|
|
1233
|
+
export type ExistingElasticIPType = (typeof ExistingElasticIPType)[keyof typeof ExistingElasticIPType];
|
|
1234
|
+
export declare const ExistingElasticIPType: {
|
|
1235
|
+
readonly existing: "existing";
|
|
1236
|
+
};
|
|
1237
|
+
export interface ExistingElasticIP {
|
|
1238
|
+
type: ExistingElasticIPType;
|
|
1239
|
+
elastic_ip_id: ElasticIPID;
|
|
1240
|
+
}
|
|
1241
|
+
/**
|
|
1242
|
+
* `new` buys an elastic IP in the instance's order; `existing` associates one you already hold. One address is associated with one interface, so either creates only one instance.
|
|
1243
|
+
*/
|
|
1244
|
+
export type InstanceElasticIP = NewElasticIP | ExistingElasticIP;
|
|
1245
|
+
export type GeneratedPasswordType = (typeof GeneratedPasswordType)[keyof typeof GeneratedPasswordType];
|
|
1246
|
+
export declare const GeneratedPasswordType: {
|
|
1247
|
+
readonly generated: "generated";
|
|
1248
|
+
};
|
|
1249
|
+
export interface GeneratedPassword {
|
|
1250
|
+
type: GeneratedPasswordType;
|
|
1251
|
+
}
|
|
1252
|
+
export type SuppliedPasswordType = (typeof SuppliedPasswordType)[keyof typeof SuppliedPasswordType];
|
|
1253
|
+
export declare const SuppliedPasswordType: {
|
|
1254
|
+
readonly supplied: "supplied";
|
|
1255
|
+
};
|
|
1256
|
+
export interface SuppliedPassword {
|
|
1257
|
+
type: SuppliedPasswordType;
|
|
1258
|
+
/**
|
|
1259
|
+
* 12 to 128 characters with at least three of lowercase letters, uppercase letters, digits and symbols, otherwise refused with `INSTANCE_PASSWORD_TOO_WEAK`.
|
|
1260
|
+
* @minLength 12
|
|
1261
|
+
* @maxLength 128
|
|
1262
|
+
*/
|
|
1263
|
+
value: string;
|
|
1264
|
+
}
|
|
1265
|
+
/**
|
|
1266
|
+
* The password of the login account (`login_username`). `generated` has the platform generate a strong random
|
|
1267
|
+
* password, returned once in the response and stored nowhere; `supplied` sets the one given. Password login
|
|
1268
|
+
* over SSH is enabled with it, so it answers on port 22 once a security group admits it. Root never gets a
|
|
1269
|
+
* password: where the login account is not root, root logs in by key only.
|
|
1270
|
+
*/
|
|
1271
|
+
export type PasswordChoice = GeneratedPassword | SuppliedPassword;
|
|
1272
|
+
/**
|
|
1273
|
+
* Every part a launch template can describe may come from `launch_template` instead: a part given here overrides the template's, and `data_volumes`, when given, replaces the template's list. After that the instance type, the boot volume and the network interface are required, each refused with 422 `INSTANCE_CREATE_INVALID` naming the field when neither gives it.
|
|
1274
|
+
*
|
|
1275
|
+
* Every component bought with the instance (its boot volume, data volumes and elastic IP) shares the usage type and period of `compute.billing`; a component's own `billing` exists to choose a different termination policy, and when omitted it is `compute.billing`.
|
|
1276
|
+
*/
|
|
1277
|
+
export interface CreateInstanceRequestBody {
|
|
1278
|
+
launch_template?: LaunchTemplateReference;
|
|
1279
|
+
/**
|
|
1280
|
+
* @minLength 1
|
|
1281
|
+
* @maxLength 128
|
|
1282
|
+
*/
|
|
1283
|
+
name: string;
|
|
1284
|
+
/**
|
|
1285
|
+
* Number of instances to create; 1 when omitted. Names are numbered automatically for several
|
|
1286
|
+
* @minimum 1
|
|
1287
|
+
* @maximum 20
|
|
1288
|
+
*/
|
|
1289
|
+
count?: number;
|
|
1290
|
+
compute: NewCompute;
|
|
1291
|
+
boot_volume?: BootVolume;
|
|
1292
|
+
/**
|
|
1293
|
+
* Data volumes created with each instance in its order and attached to it at boot, after the boot volume in the order given. An instance and its volumes are delivered together or not at all.
|
|
1294
|
+
* @maxItems 16
|
|
1295
|
+
*/
|
|
1296
|
+
data_volumes?: NewDataVolume[];
|
|
1297
|
+
network_interface?: PrimaryNetworkInterface;
|
|
1298
|
+
elastic_ip?: InstanceElasticIP;
|
|
1299
|
+
password?: PasswordChoice;
|
|
1300
|
+
/** Your own classification of each instance, as key-value pairs. A key may not contain a colon, whitespace or control characters */
|
|
1301
|
+
labels?: CreateInstanceRequestBodyLabels;
|
|
1302
|
+
/**
|
|
1303
|
+
* A free-text note about each instance. Do not put credentials here
|
|
1304
|
+
* @maxLength 4096
|
|
1305
|
+
*/
|
|
1306
|
+
description?: string;
|
|
1307
|
+
checkout?: CheckoutOptions;
|
|
1308
|
+
}
|
|
1309
|
+
/**
|
|
1310
|
+
* The complete set of labels. Whatever is absent here is removed; send an empty object to clear them all. A key may not contain a colon, whitespace or control characters
|
|
1311
|
+
*/
|
|
1312
|
+
export type UpdateInstanceRequestBodyLabels = {
|
|
1313
|
+
[key: string]: string;
|
|
1314
|
+
};
|
|
1315
|
+
/**
|
|
1316
|
+
* The mutable fields of an instance, all optional, at least one required. `instance_type_id` is an operational
|
|
1317
|
+
* field: it starts a workflow and cannot be combined with any other field; such a request is refused with 422
|
|
1318
|
+
* `UPDATE_FIELDS_COMBINED`.
|
|
1319
|
+
*/
|
|
1320
|
+
export interface UpdateInstanceRequestBody {
|
|
1321
|
+
/**
|
|
1322
|
+
* @minLength 1
|
|
1323
|
+
* @maxLength 128
|
|
1324
|
+
*/
|
|
1325
|
+
name?: string;
|
|
1326
|
+
/** The complete set of labels. Whatever is absent here is removed; send an empty object to clear them all. A key may not contain a colon, whitespace or control characters */
|
|
1327
|
+
labels?: UpdateInstanceRequestBodyLabels;
|
|
1328
|
+
/**
|
|
1329
|
+
* The complete note. Send an empty string to clear it
|
|
1330
|
+
* @maxLength 4096
|
|
1331
|
+
*/
|
|
1332
|
+
description?: string;
|
|
1333
|
+
instance_type_id?: InstanceTypeID;
|
|
1334
|
+
/** The `proration_date` of the Billing quote for this change, so that the order is priced from the same instant. Only with `instance_type_id`, and only for automatic checkout; deferred checkout is priced when the customer completes it. Defaults to the time of the request; it must be a whole second, not in the future and at most 10 minutes old, otherwise the request is refused with `BILLING_CHANGE_INVALID`. */
|
|
1335
|
+
proration_date?: string;
|
|
1336
|
+
checkout?: CheckoutOptions;
|
|
1337
|
+
}
|
|
1338
|
+
export interface RebootInstanceRequestBody {
|
|
1339
|
+
/** A forced reboot does not wait for the operating system to shut down and unwritten data is lost; use it when the system is unresponsive. False when omitted */
|
|
1340
|
+
force?: boolean;
|
|
1341
|
+
}
|
|
1342
|
+
export interface RunInstanceCommandRequestBody {
|
|
1343
|
+
/**
|
|
1344
|
+
* Run by the login shell, so pipes, redirection and `&&` work. It cannot read standard input
|
|
1345
|
+
* @minLength 1
|
|
1346
|
+
* @maxLength 65536
|
|
1347
|
+
*/
|
|
1348
|
+
command: string;
|
|
1349
|
+
/**
|
|
1350
|
+
* Kill the command after this long. 60 when omitted
|
|
1351
|
+
* @minimum 1
|
|
1352
|
+
* @maximum 300
|
|
1353
|
+
*/
|
|
1354
|
+
timeout_seconds?: number;
|
|
1355
|
+
}
|
|
1356
|
+
export interface RunInstanceCommandResponseBody {
|
|
1357
|
+
/**
|
|
1358
|
+
* What the command exited with, 0 being success. Any other value is the command's own verdict and still arrives as a 200. Null when it was killed rather than exiting on its own, which includes the timeout — null is the absence of a verdict, not a successful one
|
|
1359
|
+
* @nullable
|
|
1360
|
+
*/
|
|
1361
|
+
exit_code: number | null;
|
|
1362
|
+
stderr: string;
|
|
1363
|
+
stdout: string;
|
|
1364
|
+
/** True when the command was still running at the timeout and was killed */
|
|
1365
|
+
timed_out: boolean;
|
|
1366
|
+
/** True when either stream hit the 1 MiB cap and the rest was discarded */
|
|
1367
|
+
truncated: boolean;
|
|
1368
|
+
}
|
|
1369
|
+
export interface ConsoleResponseBody {
|
|
1370
|
+
/** The WebSocket address a noVNC client connects to; single-use and expires within minutes */
|
|
1371
|
+
console_url: string;
|
|
1372
|
+
}
|
|
1373
|
+
export interface ResetInstancePasswordResponseBody {
|
|
1374
|
+
/**
|
|
1375
|
+
* The password the platform generated, returned only in this response; null when the password was supplied.
|
|
1376
|
+
* @nullable
|
|
1377
|
+
*/
|
|
1378
|
+
password: string | null;
|
|
1379
|
+
}
|
|
1380
|
+
export interface RebuildInstanceRequestBody {
|
|
1381
|
+
image_id: ImageID;
|
|
1382
|
+
password?: PasswordChoice;
|
|
1383
|
+
}
|
|
1384
|
+
export interface RebuildInstanceResponseBody {
|
|
1385
|
+
instance: Instance;
|
|
1386
|
+
/**
|
|
1387
|
+
* The password the platform generated, returned only in this response; store it immediately. Null when the password was supplied or none was asked for.
|
|
1388
|
+
* @nullable
|
|
1389
|
+
*/
|
|
1390
|
+
password: string | null;
|
|
1391
|
+
}
|
|
1392
|
+
/**
|
|
1393
|
+
* The instance and, when the update placed a Billing order, the Checkout Session for it. After a resize the
|
|
1394
|
+
* instance is still on its current type, keeps its ID, and its current subscription remains in force until
|
|
1395
|
+
* the resize is applied. Returned with 200 when only descriptive fields changed and with 202 when an operation started.
|
|
1396
|
+
*/
|
|
1397
|
+
export interface UpdateInstanceResponseBody {
|
|
1398
|
+
instance: Instance;
|
|
1399
|
+
/**
|
|
1400
|
+
* The Billing Checkout Session of the purchase; null when the update placed no order. With deferred checkout, the customer completes it in Billing.
|
|
1401
|
+
* @nullable
|
|
1402
|
+
*/
|
|
1403
|
+
checkout_session_id: string | null;
|
|
1404
|
+
/**
|
|
1405
|
+
* The order created when checkout completes, at once for automatic checkout; null until then and when the update placed no order.
|
|
1406
|
+
* @nullable
|
|
1407
|
+
*/
|
|
1408
|
+
order_id: string | null;
|
|
1409
|
+
}
|
|
1410
|
+
/**
|
|
1411
|
+
* The new instances, `pending` until their order is accepted, and the Checkout Session they share.
|
|
1412
|
+
*/
|
|
1413
|
+
export interface CreateInstanceResponseBody {
|
|
1414
|
+
/**
|
|
1415
|
+
* One instance per requested instance, in request order. Their IDs stay the same through checkout and
|
|
1416
|
+
* creation.
|
|
1417
|
+
* @minItems 1
|
|
1418
|
+
* @maxItems 20
|
|
1419
|
+
*/
|
|
1420
|
+
instances: Instance[];
|
|
1421
|
+
/** The Billing Checkout Session of this purchase. With deferred checkout, the customer completes it in Billing. */
|
|
1422
|
+
checkout_session_id: string;
|
|
1423
|
+
/**
|
|
1424
|
+
* The order created when checkout completes, at once for automatic checkout; null until then.
|
|
1425
|
+
* @nullable
|
|
1426
|
+
*/
|
|
1427
|
+
order_id: string | null;
|
|
1428
|
+
/**
|
|
1429
|
+
* Generated login password, returned only by this response. Null when no password was generated.
|
|
1430
|
+
* @nullable
|
|
1431
|
+
*/
|
|
1432
|
+
password: string | null;
|
|
1433
|
+
}
|
|
1434
|
+
export interface RescueInstanceRequestBody {
|
|
1435
|
+
/**
|
|
1436
|
+
* Password for the rescue environment. Generate and retain a strong password before calling.
|
|
1437
|
+
* @minLength 12
|
|
1438
|
+
* @maxLength 128
|
|
1439
|
+
*/
|
|
1440
|
+
password: string;
|
|
1441
|
+
}
|
|
1442
|
+
export interface RescueInstanceResponseBody {
|
|
1443
|
+
/** Login account in the temporary rescue environment. */
|
|
1444
|
+
login_username: string;
|
|
1445
|
+
instance: Instance;
|
|
1446
|
+
}
|
|
1447
|
+
export interface LaunchTemplate {
|
|
1448
|
+
id: LaunchTemplateID;
|
|
1449
|
+
region_id: RegionID;
|
|
1450
|
+
name: string;
|
|
1451
|
+
description: string;
|
|
1452
|
+
/** The version a creation naming no version uses. */
|
|
1453
|
+
default_version_number: number;
|
|
1454
|
+
/** The highest version number the template ever had. */
|
|
1455
|
+
latest_version_number: number;
|
|
1456
|
+
created_at: string;
|
|
1457
|
+
updated_at: string;
|
|
1458
|
+
}
|
|
1459
|
+
export interface LaunchTemplateListResponseBody {
|
|
1460
|
+
items: LaunchTemplate[];
|
|
1461
|
+
pagination: OffsetPagination;
|
|
1462
|
+
}
|
|
1463
|
+
export type LaunchTemplateBootVolumeOnInstanceRelease = (typeof LaunchTemplateBootVolumeOnInstanceRelease)[keyof typeof LaunchTemplateBootVolumeOnInstanceRelease];
|
|
1464
|
+
export declare const LaunchTemplateBootVolumeOnInstanceRelease: {
|
|
1465
|
+
readonly delete: "delete";
|
|
1466
|
+
readonly detach: "detach";
|
|
1467
|
+
};
|
|
1468
|
+
/**
|
|
1469
|
+
* A boot volume created from an image for each instance.
|
|
1470
|
+
*/
|
|
1471
|
+
export interface LaunchTemplateBootVolume {
|
|
1472
|
+
image_id: ImageID;
|
|
1473
|
+
volume_type_id: VolumeTypeID;
|
|
1474
|
+
/** @minimum 1 */
|
|
1475
|
+
size_gib: number;
|
|
1476
|
+
on_instance_release?: LaunchTemplateBootVolumeOnInstanceRelease;
|
|
1477
|
+
}
|
|
1478
|
+
export type LaunchTemplateDataVolumeOnInstanceRelease = (typeof LaunchTemplateDataVolumeOnInstanceRelease)[keyof typeof LaunchTemplateDataVolumeOnInstanceRelease];
|
|
1479
|
+
export declare const LaunchTemplateDataVolumeOnInstanceRelease: {
|
|
1480
|
+
readonly delete: "delete";
|
|
1481
|
+
readonly detach: "detach";
|
|
1482
|
+
};
|
|
1483
|
+
/**
|
|
1484
|
+
* An empty data volume created with each instance.
|
|
1485
|
+
*/
|
|
1486
|
+
export interface LaunchTemplateDataVolume {
|
|
1487
|
+
volume_type_id: VolumeTypeID;
|
|
1488
|
+
/** @minimum 1 */
|
|
1489
|
+
size_gib: number;
|
|
1490
|
+
on_instance_release?: LaunchTemplateDataVolumeOnInstanceRelease;
|
|
1491
|
+
}
|
|
1492
|
+
/**
|
|
1493
|
+
* A new primary network interface for each instance. An interface you already hold serves one instance, so a template cannot name one.
|
|
1494
|
+
*/
|
|
1495
|
+
export interface LaunchTemplateNetworkInterface {
|
|
1496
|
+
subnet_id: SubnetID;
|
|
1497
|
+
/**
|
|
1498
|
+
* @minItems 1
|
|
1499
|
+
* @maxItems 5
|
|
1500
|
+
*/
|
|
1501
|
+
security_group_ids: SecurityGroupID[];
|
|
1502
|
+
}
|
|
1503
|
+
/**
|
|
1504
|
+
* A new elastic IP bought with each instance. An address you already hold serves one instance, so a template cannot name one.
|
|
1505
|
+
*/
|
|
1506
|
+
export interface LaunchTemplateElasticIP {
|
|
1507
|
+
line_id: ElasticIPLineID;
|
|
1508
|
+
/**
|
|
1509
|
+
* @minimum 1
|
|
1510
|
+
* @maximum 1000
|
|
1511
|
+
*/
|
|
1512
|
+
bandwidth_mbps: number;
|
|
1513
|
+
internet_charge_type?: InternetChargeType;
|
|
1514
|
+
}
|
|
1515
|
+
/**
|
|
1516
|
+
* A key may not contain a colon, whitespace or control characters.
|
|
1517
|
+
*/
|
|
1518
|
+
export type NewLaunchTemplateVersionLabels = {
|
|
1519
|
+
[key: string]: string;
|
|
1520
|
+
};
|
|
1521
|
+
/**
|
|
1522
|
+
* What a version describes. Every part is optional; an instance created from the version supplies what is left out and may override what is given.
|
|
1523
|
+
*/
|
|
1524
|
+
export interface NewLaunchTemplateVersion {
|
|
1525
|
+
/** @maxLength 1024 */
|
|
1526
|
+
version_description?: string;
|
|
1527
|
+
instance_type_id?: InstanceTypeID;
|
|
1528
|
+
boot_volume?: LaunchTemplateBootVolume;
|
|
1529
|
+
/** @maxItems 16 */
|
|
1530
|
+
data_volumes?: LaunchTemplateDataVolume[];
|
|
1531
|
+
network_interface?: LaunchTemplateNetworkInterface;
|
|
1532
|
+
elastic_ip?: LaunchTemplateElasticIP;
|
|
1533
|
+
/** A key may not contain a colon, whitespace or control characters. */
|
|
1534
|
+
labels?: NewLaunchTemplateVersionLabels;
|
|
1535
|
+
/** @maxLength 4096 */
|
|
1536
|
+
description?: string;
|
|
1537
|
+
}
|
|
1538
|
+
export interface CreateLaunchTemplateRequestBody {
|
|
1539
|
+
region_id: RegionID;
|
|
1540
|
+
/**
|
|
1541
|
+
* @minLength 1
|
|
1542
|
+
* @maxLength 128
|
|
1543
|
+
*/
|
|
1544
|
+
name: string;
|
|
1545
|
+
/** @maxLength 1024 */
|
|
1546
|
+
description?: string;
|
|
1547
|
+
version: NewLaunchTemplateVersion;
|
|
1548
|
+
}
|
|
1549
|
+
/**
|
|
1550
|
+
* Null when the version describes no labels.
|
|
1551
|
+
* @nullable
|
|
1552
|
+
*/
|
|
1553
|
+
export type LaunchTemplateVersionLabels = {
|
|
1554
|
+
[key: string]: string;
|
|
1555
|
+
} | null;
|
|
1556
|
+
export interface LaunchTemplateVersion {
|
|
1557
|
+
launch_template_id: LaunchTemplateID;
|
|
1558
|
+
version_number: number;
|
|
1559
|
+
version_description: string;
|
|
1560
|
+
instance_type_id: InstanceTypeID | null;
|
|
1561
|
+
boot_volume: LaunchTemplateBootVolume | null;
|
|
1562
|
+
data_volumes: LaunchTemplateDataVolume[];
|
|
1563
|
+
network_interface: LaunchTemplateNetworkInterface | null;
|
|
1564
|
+
elastic_ip: LaunchTemplateElasticIP | null;
|
|
1565
|
+
/**
|
|
1566
|
+
* Null when the version describes no labels.
|
|
1567
|
+
* @nullable
|
|
1568
|
+
*/
|
|
1569
|
+
labels: LaunchTemplateVersionLabels;
|
|
1570
|
+
/**
|
|
1571
|
+
* Null when the version describes no note.
|
|
1572
|
+
* @nullable
|
|
1573
|
+
*/
|
|
1574
|
+
description: string | null;
|
|
1575
|
+
created_at: string;
|
|
1576
|
+
}
|
|
1577
|
+
export interface CreateLaunchTemplateResponseBody {
|
|
1578
|
+
launch_template: LaunchTemplate;
|
|
1579
|
+
version: LaunchTemplateVersion;
|
|
1580
|
+
}
|
|
1581
|
+
/**
|
|
1582
|
+
* The fields to change, at least one.
|
|
1583
|
+
*/
|
|
1584
|
+
export interface UpdateLaunchTemplateRequestBody {
|
|
1585
|
+
/**
|
|
1586
|
+
* @minLength 1
|
|
1587
|
+
* @maxLength 128
|
|
1588
|
+
*/
|
|
1589
|
+
name?: string;
|
|
1590
|
+
/** @maxLength 1024 */
|
|
1591
|
+
description?: string;
|
|
1592
|
+
/**
|
|
1593
|
+
* A live version of this template.
|
|
1594
|
+
* @minimum 1
|
|
1595
|
+
*/
|
|
1596
|
+
default_version_number?: number;
|
|
1597
|
+
}
|
|
1598
|
+
export interface LaunchTemplateVersionListResponseBody {
|
|
1599
|
+
items: LaunchTemplateVersion[];
|
|
1600
|
+
pagination: OffsetPagination;
|
|
1601
|
+
}
|
|
1602
|
+
/**
|
|
1603
|
+
* `pending` until the interface is created, then `available`. `error` means its creation failed or the cloud reports it broken; delete it and create another. A value naming an operation in progress (`attaching`, `detaching`, `associating_elastic_ip`, `updating_security_groups`, `adding_address`, `removing_address`, `deleting`) is shown while that operation runs; the interface refuses another operation until it ends.
|
|
1604
|
+
*/
|
|
1605
|
+
export type NetworkInterfaceStatus = (typeof NetworkInterfaceStatus)[keyof typeof NetworkInterfaceStatus];
|
|
1606
|
+
export declare const NetworkInterfaceStatus: {
|
|
1607
|
+
readonly pending: "pending";
|
|
1608
|
+
readonly available: "available";
|
|
1609
|
+
readonly error: "error";
|
|
1610
|
+
readonly attaching: "attaching";
|
|
1611
|
+
readonly detaching: "detaching";
|
|
1612
|
+
readonly associating_elastic_ip: "associating_elastic_ip";
|
|
1613
|
+
readonly updating_security_groups: "updating_security_groups";
|
|
1614
|
+
readonly adding_address: "adding_address";
|
|
1615
|
+
readonly removing_address: "removing_address";
|
|
1616
|
+
readonly deleting: "deleting";
|
|
1617
|
+
};
|
|
1618
|
+
/**
|
|
1619
|
+
* `primary` is the interface's primary private address, which is the instance's network location; every other address of the interface is `secondary`.
|
|
1620
|
+
*/
|
|
1621
|
+
export type NetworkInterfaceAddressRole = (typeof NetworkInterfaceAddressRole)[keyof typeof NetworkInterfaceAddressRole];
|
|
1622
|
+
export declare const NetworkInterfaceAddressRole: {
|
|
1623
|
+
readonly primary: "primary";
|
|
1624
|
+
readonly secondary: "secondary";
|
|
1625
|
+
};
|
|
1626
|
+
export type NetworkInterfaceAddressState = (typeof NetworkInterfaceAddressState)[keyof typeof NetworkInterfaceAddressState];
|
|
1627
|
+
export declare const NetworkInterfaceAddressState: {
|
|
1628
|
+
readonly reserved: "reserved";
|
|
1629
|
+
readonly assigned: "assigned";
|
|
1630
|
+
readonly released: "released";
|
|
1631
|
+
};
|
|
1632
|
+
export interface NetworkInterfaceAddress {
|
|
1633
|
+
id: NetworkInterfaceAddressID;
|
|
1634
|
+
subnet_id: SubnetID;
|
|
1635
|
+
/**
|
|
1636
|
+
* @minLength 1
|
|
1637
|
+
* @maxLength 64
|
|
1638
|
+
*/
|
|
1639
|
+
address: string;
|
|
1640
|
+
/** `primary` is the interface's primary private address, which is the instance's network location; every other address of the interface is `secondary`. */
|
|
1641
|
+
role: NetworkInterfaceAddressRole;
|
|
1642
|
+
state: NetworkInterfaceAddressState;
|
|
1643
|
+
/** @nullable */
|
|
1644
|
+
assigned_at: string | null;
|
|
1645
|
+
/** @nullable */
|
|
1646
|
+
released_at: string | null;
|
|
1647
|
+
}
|
|
1648
|
+
export type NetworkInterfaceAttachmentRole = (typeof NetworkInterfaceAttachmentRole)[keyof typeof NetworkInterfaceAttachmentRole];
|
|
1649
|
+
export declare const NetworkInterfaceAttachmentRole: {
|
|
1650
|
+
readonly primary: "primary";
|
|
1651
|
+
readonly secondary: "secondary";
|
|
1652
|
+
};
|
|
1653
|
+
/**
|
|
1654
|
+
* What releasing the instance does to this interface. `delete` deletes it together with the instance; `detach` detaches it and leaves it to you. The primary interface created with the instance is `delete`; an interface you created yourself is `detach`.
|
|
1655
|
+
*/
|
|
1656
|
+
export type NetworkInterfaceAttachmentOnInstanceRelease = (typeof NetworkInterfaceAttachmentOnInstanceRelease)[keyof typeof NetworkInterfaceAttachmentOnInstanceRelease];
|
|
1657
|
+
export declare const NetworkInterfaceAttachmentOnInstanceRelease: {
|
|
1658
|
+
readonly delete: "delete";
|
|
1659
|
+
readonly detach: "detach";
|
|
1660
|
+
};
|
|
1661
|
+
export type NetworkInterfaceAttachmentState = (typeof NetworkInterfaceAttachmentState)[keyof typeof NetworkInterfaceAttachmentState];
|
|
1662
|
+
export declare const NetworkInterfaceAttachmentState: {
|
|
1663
|
+
readonly reserved: "reserved";
|
|
1664
|
+
readonly attached: "attached";
|
|
1665
|
+
readonly released: "released";
|
|
1666
|
+
};
|
|
1667
|
+
export interface NetworkInterfaceAttachment {
|
|
1668
|
+
id: InstanceNetworkInterfaceID;
|
|
1669
|
+
instance_id: InstanceID;
|
|
1670
|
+
network_interface_id: NetworkInterfaceID;
|
|
1671
|
+
role: NetworkInterfaceAttachmentRole;
|
|
1672
|
+
/** What releasing the instance does to this interface. `delete` deletes it together with the instance; `detach` detaches it and leaves it to you. The primary interface created with the instance is `delete`; an interface you created yourself is `detach`. */
|
|
1673
|
+
on_instance_release: NetworkInterfaceAttachmentOnInstanceRelease;
|
|
1674
|
+
state: NetworkInterfaceAttachmentState;
|
|
1675
|
+
/** @nullable */
|
|
1676
|
+
attached_at: string | null;
|
|
1677
|
+
/** @nullable */
|
|
1678
|
+
detached_at: string | null;
|
|
1679
|
+
/** @nullable */
|
|
1680
|
+
released_at: string | null;
|
|
1681
|
+
}
|
|
1682
|
+
export interface NetworkInterface {
|
|
1683
|
+
id: NetworkInterfaceID;
|
|
1684
|
+
/** @nullable */
|
|
1685
|
+
mac_address: string | null;
|
|
1686
|
+
name: string;
|
|
1687
|
+
virtual_private_cloud_id: VirtualPrivateCloudID;
|
|
1688
|
+
/**
|
|
1689
|
+
* Elastic IPv4 addresses associated with this network interface; an empty array when none are associated
|
|
1690
|
+
* @nullable
|
|
1691
|
+
*/
|
|
1692
|
+
elastic_ip_addresses: string[] | null;
|
|
1693
|
+
/** The security groups the network interface holds. */
|
|
1694
|
+
security_group_ids: SecurityGroupID[];
|
|
1695
|
+
addresses?: NetworkInterfaceAddress[];
|
|
1696
|
+
attachment: NetworkInterfaceAttachment | null;
|
|
1697
|
+
/** `pending` until the interface is created, then `available`. `error` means its creation failed or the cloud reports it broken; delete it and create another. A value naming an operation in progress (`attaching`, `detaching`, `associating_elastic_ip`, `updating_security_groups`, `adding_address`, `removing_address`, `deleting`) is shown while that operation runs; the interface refuses another operation until it ends. */
|
|
1698
|
+
status: NetworkInterfaceStatus;
|
|
1699
|
+
}
|
|
1700
|
+
export interface NetworkInterfaceListResponseBody {
|
|
1701
|
+
/** @nullable */
|
|
1702
|
+
items: NetworkInterface[] | null;
|
|
1703
|
+
pagination: OffsetPagination;
|
|
1704
|
+
}
|
|
1705
|
+
export interface AttachNetworkInterfaceRequestBody {
|
|
1706
|
+
network_interface_id: NetworkInterfaceID;
|
|
1707
|
+
}
|
|
1708
|
+
export interface CreateNetworkInterfaceRequestBody {
|
|
1709
|
+
/** @maxLength 128 */
|
|
1710
|
+
name?: string;
|
|
1711
|
+
/**
|
|
1712
|
+
* At least one, and all must belong to the same virtual private cloud
|
|
1713
|
+
* @minItems 1
|
|
1714
|
+
* @nullable
|
|
1715
|
+
*/
|
|
1716
|
+
security_group_ids: SecurityGroupID[] | null;
|
|
1717
|
+
subnet_id: SubnetID;
|
|
1718
|
+
/**
|
|
1719
|
+
* The private address to assign. Allocated automatically when omitted
|
|
1720
|
+
* @maxLength 64
|
|
1721
|
+
*/
|
|
1722
|
+
address?: string;
|
|
1723
|
+
}
|
|
1724
|
+
/**
|
|
1725
|
+
* The mutable fields of a network interface, all optional, at least one required.
|
|
1726
|
+
*/
|
|
1727
|
+
export interface UpdateNetworkInterfaceRequestBody {
|
|
1728
|
+
/** @maxLength 128 */
|
|
1729
|
+
name?: string;
|
|
1730
|
+
/**
|
|
1731
|
+
* The complete new set of security groups, of the network interface's virtual private cloud.
|
|
1732
|
+
* @minItems 1
|
|
1733
|
+
* @maxItems 5
|
|
1734
|
+
*/
|
|
1735
|
+
security_group_ids?: SecurityGroupID[];
|
|
1736
|
+
}
|
|
1737
|
+
export interface CreateNetworkInterfaceAddressRequestBody {
|
|
1738
|
+
/**
|
|
1739
|
+
* The IPv4 address to add, in the network interface's subnet. Chosen by the network when omitted.
|
|
1740
|
+
* @maxLength 15
|
|
1741
|
+
*/
|
|
1742
|
+
address?: string;
|
|
1743
|
+
}
|
|
1744
|
+
export interface NetworkInterfaceAttachmentList {
|
|
1745
|
+
items: NetworkInterfaceAttachment[];
|
|
1746
|
+
pagination: OffsetPagination;
|
|
1747
|
+
}
|
|
1748
|
+
/**
|
|
1749
|
+
* `user` when a user of the project initiated the operation, `platform` when the platform performed it.
|
|
1750
|
+
*/
|
|
1751
|
+
export type OperationLogResourceActorType = (typeof OperationLogResourceActorType)[keyof typeof OperationLogResourceActorType];
|
|
1752
|
+
export declare const OperationLogResourceActorType: {
|
|
1753
|
+
readonly user: "user";
|
|
1754
|
+
readonly platform: "platform";
|
|
1755
|
+
};
|
|
1756
|
+
/**
|
|
1757
|
+
* Path and query parameters of the request. Fields such as passwords are redacted
|
|
1758
|
+
*/
|
|
1759
|
+
export type OperationLogResourcePayload = {
|
|
1760
|
+
[key: string]: unknown;
|
|
1761
|
+
};
|
|
1762
|
+
/**
|
|
1763
|
+
* `succeeded` means the operation took effect. `rejected` means it was refused with a 4xx the caller can act on, such as a validation failure, a conflict or an exhausted quota. `failed` means the platform failed to carry it out (5xx).
|
|
1764
|
+
*/
|
|
1765
|
+
export type OperationLogResourceOutcome = (typeof OperationLogResourceOutcome)[keyof typeof OperationLogResourceOutcome];
|
|
1766
|
+
export declare const OperationLogResourceOutcome: {
|
|
1767
|
+
readonly succeeded: "succeeded";
|
|
1768
|
+
readonly rejected: "rejected";
|
|
1769
|
+
readonly failed: "failed";
|
|
1770
|
+
};
|
|
1771
|
+
export interface OperationLogResource {
|
|
1772
|
+
/** Name of the operation; matches the operation id of the endpoint */
|
|
1773
|
+
action: string;
|
|
1774
|
+
/**
|
|
1775
|
+
* The user who initiated the operation. Null when `actor_type` is `platform`
|
|
1776
|
+
* @nullable
|
|
1777
|
+
*/
|
|
1778
|
+
user_id: string | null;
|
|
1779
|
+
/**
|
|
1780
|
+
* The name this user went by at the time of the operation, recorded alongside the operation itself. It is not refreshed afterwards: the record states who acted then, and a name read today is a statement about a different moment.
|
|
1781
|
+
*
|
|
1782
|
+
* Null on entries recorded before this field existed, and when `actor_type` is `platform`. An empty string means the account had no name recorded.
|
|
1783
|
+
* @nullable
|
|
1784
|
+
*/
|
|
1785
|
+
user_name: string | null;
|
|
1786
|
+
/** `user` when a user of the project initiated the operation, `platform` when the platform performed it. */
|
|
1787
|
+
actor_type: OperationLogResourceActorType;
|
|
1788
|
+
created_at: string;
|
|
1789
|
+
/**
|
|
1790
|
+
* Brief reason for the failure; null when `outcome` is `succeeded`
|
|
1791
|
+
* @nullable
|
|
1792
|
+
*/
|
|
1793
|
+
failure: string | null;
|
|
1794
|
+
id: OperationLogID;
|
|
1795
|
+
/** Path and query parameters of the request. Fields such as passwords are redacted */
|
|
1796
|
+
payload: OperationLogResourcePayload;
|
|
1797
|
+
region_id: RegionID | null;
|
|
1798
|
+
/** Empty for create operations: the id of the new resource is in the response, not in the request path */
|
|
1799
|
+
subject_id: string;
|
|
1800
|
+
subject_type: string;
|
|
1801
|
+
/** `succeeded` means the operation took effect. `rejected` means it was refused with a 4xx the caller can act on, such as a validation failure, a conflict or an exhausted quota. `failed` means the platform failed to carry it out (5xx). */
|
|
1802
|
+
outcome: OperationLogResourceOutcome;
|
|
1803
|
+
}
|
|
1804
|
+
export interface OperationLogListResponseBody {
|
|
1805
|
+
items: OperationLogResource[];
|
|
1806
|
+
pagination: OffsetPagination;
|
|
1807
|
+
}
|
|
1808
|
+
/**
|
|
1809
|
+
* Only available images can install instances. A capture is pending until it finishes, then becomes available. Failed means no usable image was produced; failure describes the outcome. Error means the image service broke the image or no longer holds it, and nothing can be installed from it. A value naming an operation in progress (`suspending`, `resuming`, `deleting`) is shown while that operation runs.
|
|
1810
|
+
*/
|
|
1811
|
+
export type PrivateImageResourceStatus = (typeof PrivateImageResourceStatus)[keyof typeof PrivateImageResourceStatus];
|
|
1812
|
+
export declare const PrivateImageResourceStatus: {
|
|
1813
|
+
readonly pending: "pending";
|
|
1814
|
+
readonly available: "available";
|
|
1815
|
+
readonly deleted: "deleted";
|
|
1816
|
+
readonly failed: "failed";
|
|
1817
|
+
readonly error: "error";
|
|
1818
|
+
readonly suspending: "suspending";
|
|
1819
|
+
readonly resuming: "resuming";
|
|
1820
|
+
readonly deleting: "deleting";
|
|
1821
|
+
};
|
|
1822
|
+
/**
|
|
1823
|
+
* Why creation failed; null unless `status` is `failed`. `checkout_expired` means checkout was not completed before its Checkout Session expired. `provisioning_failed` means creation failed after the order was accepted, and the charge for this image is refunded.
|
|
1824
|
+
* @nullable
|
|
1825
|
+
*/
|
|
1826
|
+
export type PrivateImageResourceFailureReason = (typeof PrivateImageResourceFailureReason)[keyof typeof PrivateImageResourceFailureReason] | null;
|
|
1827
|
+
export declare const PrivateImageResourceFailureReason: {
|
|
1828
|
+
readonly order_declined: "order_declined";
|
|
1829
|
+
readonly order_canceled: "order_canceled";
|
|
1830
|
+
readonly order_expired: "order_expired";
|
|
1831
|
+
readonly checkout_expired: "checkout_expired";
|
|
1832
|
+
readonly provisioning_failed: "provisioning_failed";
|
|
1833
|
+
};
|
|
1834
|
+
/**
|
|
1835
|
+
* An image this project captured from one of its instances, used to install instances of this project. Its storage is billed only to this project. Reclaimed for non-payment while instances installed from it remain, it is kept, unusable and no longer charged, and deleted once the last of them is released.
|
|
1836
|
+
*/
|
|
1837
|
+
export interface PrivateImageResource {
|
|
1838
|
+
id: ImageID;
|
|
1839
|
+
region_id: RegionID;
|
|
1840
|
+
name: string;
|
|
1841
|
+
os_family: string;
|
|
1842
|
+
os_version: string;
|
|
1843
|
+
architecture: string;
|
|
1844
|
+
/**
|
|
1845
|
+
* The account this image lets you log in as. The password set at creation belongs to this account
|
|
1846
|
+
* @maxLength 32
|
|
1847
|
+
*/
|
|
1848
|
+
login_username: string;
|
|
1849
|
+
/** The boot volume of an instance created from this image cannot be smaller than this */
|
|
1850
|
+
min_volume_size_gib: number;
|
|
1851
|
+
/** The instance type of an instance created from this image must have at least this much memory */
|
|
1852
|
+
min_memory_mib: number;
|
|
1853
|
+
/** False means a new password can only be set by rebuilding an instance created from this image */
|
|
1854
|
+
supports_password_reset: boolean;
|
|
1855
|
+
/** Only available images can install instances. A capture is pending until it finishes, then becomes available. Failed means no usable image was produced; failure describes the outcome. Error means the image service broke the image or no longer holds it, and nothing can be installed from it. A value naming an operation in progress (`suspending`, `resuming`, `deleting`) is shown while that operation runs. */
|
|
1856
|
+
status: PrivateImageResourceStatus;
|
|
1857
|
+
/**
|
|
1858
|
+
* Details of why the capture failed; non-empty only when `status` is `failed`
|
|
1859
|
+
* @nullable
|
|
1860
|
+
*/
|
|
1861
|
+
failure: string | null;
|
|
1862
|
+
/** Storage occupied by the project image, in bytes. Zero until the capture reports its size. It does not change what the image costs. */
|
|
1863
|
+
size_bytes: number;
|
|
1864
|
+
/**
|
|
1865
|
+
* The `position` the image's storage is reported under now, the price Billing gives that position in the region's `private_image_billing` being what it costs. A number from `1`, its place among this project's stored private images in the region counted from the oldest, which moves up whenever an older one is deleted; `legacy` for an image carried over from the previous version, which takes no position and whose storage is never charged. Null while the image is not stored, before its capture finishes and once it is deleted or failed.
|
|
1866
|
+
* @nullable
|
|
1867
|
+
*/
|
|
1868
|
+
billing_position: string | null;
|
|
1869
|
+
source_instance_id: InstanceID;
|
|
1870
|
+
created_at: string;
|
|
1871
|
+
/**
|
|
1872
|
+
* Why creation failed; null unless `status` is `failed`. `checkout_expired` means checkout was not completed before its Checkout Session expired. `provisioning_failed` means creation failed after the order was accepted, and the charge for this image is refunded.
|
|
1873
|
+
* @nullable
|
|
1874
|
+
*/
|
|
1875
|
+
failure_reason: PrivateImageResourceFailureReason;
|
|
1876
|
+
/**
|
|
1877
|
+
* The Billing Checkout Session that bought this resource; `order_id` and `order_item_id` stay null until its checkout completes. Null when the resource was not bought through one.
|
|
1878
|
+
* @nullable
|
|
1879
|
+
*/
|
|
1880
|
+
readonly checkout_session_id: string | null;
|
|
1881
|
+
/**
|
|
1882
|
+
* The Billing order that bought this resource; null until checkout completes.
|
|
1883
|
+
* @nullable
|
|
1884
|
+
*/
|
|
1885
|
+
readonly order_id: string | null;
|
|
1886
|
+
/**
|
|
1887
|
+
* The Billing order item for this resource.
|
|
1888
|
+
* @nullable
|
|
1889
|
+
*/
|
|
1890
|
+
readonly order_item_id: string | null;
|
|
1891
|
+
/**
|
|
1892
|
+
* The subscription for this resource; its presence alone does not imply delivery.
|
|
1893
|
+
* @nullable
|
|
1894
|
+
*/
|
|
1895
|
+
readonly subscription_id: string | null;
|
|
1896
|
+
/** The subscription that pays for this private image, with the resource it pays for, so that a cancellation through Billing can name what it releases. Empty when no subscription pays for it, and once it is released. */
|
|
1897
|
+
release_set: ReleaseSetItem[];
|
|
1898
|
+
}
|
|
1899
|
+
/**
|
|
1900
|
+
* The private image as it is when the deletion is accepted, and the Billing cancellation that releases it when subscriptions pay for it.
|
|
1901
|
+
*/
|
|
1902
|
+
export interface DeletePrivateImageResponseBody {
|
|
1903
|
+
private_image: PrivateImageResource;
|
|
1904
|
+
/** The cancellation Compute created for the private image's subscriptions; null when none pays for it. */
|
|
1905
|
+
cancellation: null | BillingCancellation;
|
|
1906
|
+
}
|
|
1907
|
+
export interface PrivateImageListResponseBody {
|
|
1908
|
+
items: PrivateImageResource[];
|
|
1909
|
+
pagination: OffsetPagination;
|
|
1910
|
+
}
|
|
1911
|
+
/**
|
|
1912
|
+
* Creation configuration for this resource. Compute project quotas and Billing authorization are checked independently.
|
|
1913
|
+
*/
|
|
1914
|
+
export interface CreatePrivateImageRequestBody {
|
|
1915
|
+
instance_id: InstanceID;
|
|
1916
|
+
/**
|
|
1917
|
+
* @minLength 1
|
|
1918
|
+
* @maxLength 128
|
|
1919
|
+
*/
|
|
1920
|
+
name: string;
|
|
1921
|
+
checkout?: CheckoutOptions;
|
|
1922
|
+
}
|
|
1923
|
+
export interface UpdatePrivateImageRequestBody {
|
|
1924
|
+
/**
|
|
1925
|
+
* @minLength 1
|
|
1926
|
+
* @maxLength 128
|
|
1927
|
+
*/
|
|
1928
|
+
name: string;
|
|
1929
|
+
}
|
|
1930
|
+
/**
|
|
1931
|
+
* The new private image, `pending` until its order is accepted, and its Checkout Session.
|
|
1932
|
+
*/
|
|
1933
|
+
export interface CreatePrivateImageResponseBody {
|
|
1934
|
+
private_image: PrivateImageResource;
|
|
1935
|
+
/** The Billing Checkout Session of this purchase. With deferred checkout, the customer completes it in Billing. */
|
|
1936
|
+
checkout_session_id: string;
|
|
1937
|
+
/**
|
|
1938
|
+
* The order created when checkout completes, at once for automatic checkout; null until then.
|
|
1939
|
+
* @nullable
|
|
1940
|
+
*/
|
|
1941
|
+
order_id: string | null;
|
|
1942
|
+
}
|
|
1943
|
+
/**
|
|
1944
|
+
* `on_sale` images can install new instances. `off_sale` means the platform withdrew the image: it stops new purchases only, and instances already running it keep running and can still be rebuilt onto it.
|
|
1945
|
+
*/
|
|
1946
|
+
export type PublicImageResourceSaleStatus = (typeof PublicImageResourceSaleStatus)[keyof typeof PublicImageResourceSaleStatus];
|
|
1947
|
+
export declare const PublicImageResourceSaleStatus: {
|
|
1948
|
+
readonly on_sale: "on_sale";
|
|
1949
|
+
readonly off_sale: "off_sale";
|
|
1950
|
+
};
|
|
1951
|
+
/**
|
|
1952
|
+
* A platform image offered to every project to install an instance. It carries no ownership and no billing; its storage is the platform's.
|
|
1953
|
+
*/
|
|
1954
|
+
export interface PublicImageResource {
|
|
1955
|
+
id: ImageID;
|
|
1956
|
+
region_id: RegionID;
|
|
1957
|
+
name: string;
|
|
1958
|
+
os_family: string;
|
|
1959
|
+
os_version: string;
|
|
1960
|
+
architecture: string;
|
|
1961
|
+
/**
|
|
1962
|
+
* The account this image lets you log in as. The password set at creation belongs to this account
|
|
1963
|
+
* @maxLength 32
|
|
1964
|
+
*/
|
|
1965
|
+
login_username: string;
|
|
1966
|
+
/** The boot volume of an instance created from this image cannot be smaller than this */
|
|
1967
|
+
min_volume_size_gib: number;
|
|
1968
|
+
/** The instance type of an instance created from this image must have at least this much memory */
|
|
1969
|
+
min_memory_mib: number;
|
|
1970
|
+
/** False means a new password can only be set by rebuilding an instance created from this image */
|
|
1971
|
+
supports_password_reset: boolean;
|
|
1972
|
+
/** `on_sale` images can install new instances. `off_sale` means the platform withdrew the image: it stops new purchases only, and instances already running it keep running and can still be rebuilt onto it. */
|
|
1973
|
+
sale_status: PublicImageResourceSaleStatus;
|
|
1974
|
+
created_at: string;
|
|
1975
|
+
}
|
|
1976
|
+
export interface PublicImageListResponseBody {
|
|
1977
|
+
items: PublicImageResource[];
|
|
1978
|
+
pagination: OffsetPagination;
|
|
1979
|
+
}
|
|
1980
|
+
/**
|
|
1981
|
+
* 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.
|
|
1982
|
+
*/
|
|
1983
|
+
export type QuotaResourceType = (typeof QuotaResourceType)[keyof typeof QuotaResourceType];
|
|
1984
|
+
export declare const QuotaResourceType: {
|
|
1985
|
+
readonly instances: "instances";
|
|
1986
|
+
readonly vcpus: "vcpus";
|
|
1987
|
+
readonly memory_mib: "memory_mib";
|
|
1988
|
+
readonly volumes: "volumes";
|
|
1989
|
+
readonly volume_gib: "volume_gib";
|
|
1990
|
+
readonly virtual_private_clouds: "virtual_private_clouds";
|
|
1991
|
+
readonly virtual_private_cloud_subnets: "virtual_private_cloud_subnets";
|
|
1992
|
+
readonly network_interfaces: "network_interfaces";
|
|
1993
|
+
readonly elastic_ips: "elastic_ips";
|
|
1994
|
+
readonly security_groups: "security_groups";
|
|
1995
|
+
readonly security_group_rules: "security_group_rules";
|
|
1996
|
+
readonly volume_snapshots: "volume_snapshots";
|
|
1997
|
+
readonly volume_backups: "volume_backups";
|
|
1998
|
+
readonly private_images: "private_images";
|
|
1999
|
+
};
|
|
2000
|
+
/**
|
|
2001
|
+
* Where a limit comes from. `default` is the platform default, which follows a change of the default; `override` is a limit the platform set for this project in this region.
|
|
2002
|
+
*/
|
|
2003
|
+
export type QuotaSource = (typeof QuotaSource)[keyof typeof QuotaSource];
|
|
2004
|
+
export declare const QuotaSource: {
|
|
2005
|
+
readonly default: "default";
|
|
2006
|
+
readonly override: "override";
|
|
2007
|
+
};
|
|
2008
|
+
/**
|
|
2009
|
+
* The limit in force for one IAM platform project on one resource in one region. This representation contains no usage.
|
|
2010
|
+
*/
|
|
2011
|
+
export interface ProjectQuota {
|
|
2012
|
+
readonly project_id: string;
|
|
2013
|
+
region_id: RegionID;
|
|
2014
|
+
resource: QuotaResourceType;
|
|
2015
|
+
/** @minimum 0 */
|
|
2016
|
+
readonly limit: number;
|
|
2017
|
+
source: QuotaSource;
|
|
2018
|
+
}
|
|
2019
|
+
export interface ProjectQuotaListResponseBody {
|
|
2020
|
+
items: ProjectQuota[];
|
|
2021
|
+
pagination: OffsetPagination;
|
|
2022
|
+
}
|
|
2023
|
+
export interface RegionResource {
|
|
2024
|
+
/** ISO 3166-1 alpha-2 country this region sits in. Two letters, uppercase. */
|
|
2025
|
+
country_code: string;
|
|
2026
|
+
/** Display name for this place, shown to tenants (Hong Kong). The stable handle is code. */
|
|
2027
|
+
name: string;
|
|
2028
|
+
/** The region's code, the way the outside world names this place (hk-1). Stable and human-written; addressing is by id. */
|
|
2029
|
+
code: string;
|
|
2030
|
+
id: RegionID;
|
|
2031
|
+
/** The line every snapshot in this region is, metered on the size it stores. */
|
|
2032
|
+
volume_snapshot_billing: BillingComponent;
|
|
2033
|
+
/** The line every volume backup in this region is, metered on the size it stores. */
|
|
2034
|
+
volume_backup_billing: BillingComponent;
|
|
2035
|
+
/** The line every private image in this region is, metered each second it is stored under its `billing_position`. */
|
|
2036
|
+
private_image_billing: BillingComponent;
|
|
2037
|
+
}
|
|
2038
|
+
export interface RegionListResponseBody {
|
|
2039
|
+
/** @nullable */
|
|
2040
|
+
items: RegionResource[] | null;
|
|
2041
|
+
pagination: OffsetPagination;
|
|
2042
|
+
}
|
|
2043
|
+
export type SecurityGroupRuleDirection = (typeof SecurityGroupRuleDirection)[keyof typeof SecurityGroupRuleDirection];
|
|
2044
|
+
export declare const SecurityGroupRuleDirection: {
|
|
2045
|
+
readonly ingress: "ingress";
|
|
2046
|
+
readonly egress: "egress";
|
|
2047
|
+
};
|
|
2048
|
+
export type SecurityGroupRuleIpVersion = (typeof SecurityGroupRuleIpVersion)[keyof typeof SecurityGroupRuleIpVersion];
|
|
2049
|
+
export declare const SecurityGroupRuleIpVersion: {
|
|
2050
|
+
readonly NUMBER_4: 4;
|
|
2051
|
+
readonly NUMBER_6: 6;
|
|
2052
|
+
};
|
|
2053
|
+
export interface SecurityGroupRule {
|
|
2054
|
+
id: SecurityGroupRuleID;
|
|
2055
|
+
security_group_id: SecurityGroupID;
|
|
2056
|
+
direction: SecurityGroupRuleDirection;
|
|
2057
|
+
ip_version: SecurityGroupRuleIpVersion;
|
|
2058
|
+
/**
|
|
2059
|
+
* Null for every protocol.
|
|
2060
|
+
* @nullable
|
|
2061
|
+
*/
|
|
2062
|
+
protocol: string | null;
|
|
2063
|
+
/**
|
|
2064
|
+
* The first port, or the ICMP type when the protocol is ICMP. Null for every port.
|
|
2065
|
+
* @nullable
|
|
2066
|
+
*/
|
|
2067
|
+
port_range_min: number | null;
|
|
2068
|
+
/**
|
|
2069
|
+
* The last port, or the ICMP code when the protocol is ICMP. Null for every port.
|
|
2070
|
+
* @nullable
|
|
2071
|
+
*/
|
|
2072
|
+
port_range_max: number | null;
|
|
2073
|
+
/**
|
|
2074
|
+
* Null for every address.
|
|
2075
|
+
* @nullable
|
|
2076
|
+
*/
|
|
2077
|
+
remote_cidr: string | null;
|
|
2078
|
+
description: string;
|
|
2079
|
+
created_at: string;
|
|
2080
|
+
}
|
|
2081
|
+
export interface SecurityGroupRuleListResponseBody {
|
|
2082
|
+
items: SecurityGroupRule[];
|
|
2083
|
+
pagination: OffsetPagination;
|
|
2084
|
+
}
|
|
2085
|
+
export type CreateSecurityGroupRuleRequestBodyIpVersion = (typeof CreateSecurityGroupRuleRequestBodyIpVersion)[keyof typeof CreateSecurityGroupRuleRequestBodyIpVersion];
|
|
2086
|
+
export declare const CreateSecurityGroupRuleRequestBodyIpVersion: {
|
|
2087
|
+
readonly NUMBER_4: 4;
|
|
2088
|
+
readonly NUMBER_6: 6;
|
|
2089
|
+
};
|
|
2090
|
+
export interface CreateSecurityGroupRuleRequestBody {
|
|
2091
|
+
direction: SecurityGroupRuleDirection;
|
|
2092
|
+
ip_version: CreateSecurityGroupRuleRequestBodyIpVersion;
|
|
2093
|
+
/**
|
|
2094
|
+
* For example `tcp`, `udp`, `icmp` or `ipv6-icmp`. Every protocol when omitted.
|
|
2095
|
+
* @maxLength 16
|
|
2096
|
+
*/
|
|
2097
|
+
protocol?: string;
|
|
2098
|
+
/** The first port, or the ICMP type (0–255) when the protocol is ICMP. Ports need a protocol, and a port range needs both ends; give the same port twice for one port. */
|
|
2099
|
+
port_range_min?: number;
|
|
2100
|
+
/** The last port, or the ICMP code (0–255) when the protocol is ICMP. */
|
|
2101
|
+
port_range_max?: number;
|
|
2102
|
+
/**
|
|
2103
|
+
* A CIDR of the rule's IP version. Every address when omitted.
|
|
2104
|
+
* @maxLength 64
|
|
2105
|
+
*/
|
|
2106
|
+
remote_cidr?: string;
|
|
2107
|
+
/** @maxLength 255 */
|
|
2108
|
+
description?: string;
|
|
2109
|
+
}
|
|
2110
|
+
export interface SecurityGroup {
|
|
2111
|
+
id: SecurityGroupID;
|
|
2112
|
+
virtual_private_cloud_id: VirtualPrivateCloudID;
|
|
2113
|
+
name: string;
|
|
2114
|
+
description: string;
|
|
2115
|
+
/** The default security group goes with its virtual private cloud and cannot be deleted on its own. */
|
|
2116
|
+
is_default: boolean;
|
|
2117
|
+
created_at: string;
|
|
2118
|
+
updated_at: string;
|
|
2119
|
+
}
|
|
2120
|
+
export interface SecurityGroupListResponseBody {
|
|
2121
|
+
items: SecurityGroup[];
|
|
2122
|
+
pagination: OffsetPagination;
|
|
2123
|
+
}
|
|
2124
|
+
export interface CreateSecurityGroupRequestBody {
|
|
2125
|
+
virtual_private_cloud_id: VirtualPrivateCloudID;
|
|
2126
|
+
/**
|
|
2127
|
+
* @minLength 1
|
|
2128
|
+
* @maxLength 128
|
|
2129
|
+
*/
|
|
2130
|
+
name: string;
|
|
2131
|
+
/** @maxLength 500 */
|
|
2132
|
+
description?: string;
|
|
2133
|
+
}
|
|
2134
|
+
export interface UpdateSecurityGroupRequestBody {
|
|
2135
|
+
/**
|
|
2136
|
+
* @minLength 1
|
|
2137
|
+
* @maxLength 128
|
|
2138
|
+
*/
|
|
2139
|
+
name?: string;
|
|
2140
|
+
/** @maxLength 500 */
|
|
2141
|
+
description?: string;
|
|
2142
|
+
}
|
|
2143
|
+
/**
|
|
2144
|
+
* The accepter project's decision. `pending` until it decides; `accept-virtual-private-cloud-peering` and `reject-virtual-private-cloud-peering` make it `accepted` or `rejected`. A rejected peering is `deleted`.
|
|
2145
|
+
*/
|
|
2146
|
+
export type VirtualPrivateCloudPeeringResourceAcceptance = (typeof VirtualPrivateCloudPeeringResourceAcceptance)[keyof typeof VirtualPrivateCloudPeeringResourceAcceptance];
|
|
2147
|
+
export declare const VirtualPrivateCloudPeeringResourceAcceptance: {
|
|
2148
|
+
readonly pending: "pending";
|
|
2149
|
+
readonly accepted: "accepted";
|
|
2150
|
+
readonly rejected: "rejected";
|
|
2151
|
+
};
|
|
2152
|
+
/**
|
|
2153
|
+
* `pending` until the connectivity exists: while acceptance is pending, and after it is accepted while the link is built (`provisioning`). Then `active`. `failed` means the link could not be built; `failure_reason` states why. `deleted` once deleted or rejected. `deleting` runs until the link and its peer routes are gone.
|
|
2154
|
+
*/
|
|
2155
|
+
export type VirtualPrivateCloudPeeringResourceStatus = (typeof VirtualPrivateCloudPeeringResourceStatus)[keyof typeof VirtualPrivateCloudPeeringResourceStatus];
|
|
2156
|
+
export declare const VirtualPrivateCloudPeeringResourceStatus: {
|
|
2157
|
+
readonly pending: "pending";
|
|
2158
|
+
readonly active: "active";
|
|
2159
|
+
readonly deleted: "deleted";
|
|
2160
|
+
readonly failed: "failed";
|
|
2161
|
+
readonly provisioning: "provisioning";
|
|
2162
|
+
readonly deleting: "deleting";
|
|
2163
|
+
};
|
|
2164
|
+
export interface VirtualPrivateCloudPeeringResource {
|
|
2165
|
+
id: VirtualPrivateCloudPeeringID;
|
|
2166
|
+
name: string;
|
|
2167
|
+
region_id: RegionID;
|
|
2168
|
+
requester_project_id: string;
|
|
2169
|
+
accepter_project_id: string;
|
|
2170
|
+
requester_virtual_private_cloud_id: VirtualPrivateCloudID;
|
|
2171
|
+
accepter_virtual_private_cloud_id: VirtualPrivateCloudID;
|
|
2172
|
+
/** The accepter project's decision. `pending` until it decides; `accept-virtual-private-cloud-peering` and `reject-virtual-private-cloud-peering` make it `accepted` or `rejected`. A rejected peering is `deleted`. */
|
|
2173
|
+
acceptance: VirtualPrivateCloudPeeringResourceAcceptance;
|
|
2174
|
+
/** `pending` until the connectivity exists: while acceptance is pending, and after it is accepted while the link is built (`provisioning`). Then `active`. `failed` means the link could not be built; `failure_reason` states why. `deleted` once deleted or rejected. `deleting` runs until the link and its peer routes are gone. */
|
|
2175
|
+
status: VirtualPrivateCloudPeeringResourceStatus;
|
|
2176
|
+
created_at: string;
|
|
2177
|
+
/**
|
|
2178
|
+
* Why provisioning failed; null unless `status` is `failed`.
|
|
2179
|
+
* @nullable
|
|
2180
|
+
*/
|
|
2181
|
+
failure_reason: string | null;
|
|
2182
|
+
}
|
|
2183
|
+
export interface VirtualPrivateCloudPeeringListResponseBody {
|
|
2184
|
+
items: VirtualPrivateCloudPeeringResource[];
|
|
2185
|
+
pagination: OffsetPagination;
|
|
2186
|
+
}
|
|
2187
|
+
export interface CreateVirtualPrivateCloudPeeringRequestBody {
|
|
2188
|
+
/**
|
|
2189
|
+
* @minLength 1
|
|
2190
|
+
* @maxLength 128
|
|
2191
|
+
*/
|
|
2192
|
+
name: string;
|
|
2193
|
+
requester_virtual_private_cloud_id: VirtualPrivateCloudID;
|
|
2194
|
+
accepter_project_id: string;
|
|
2195
|
+
accepter_virtual_private_cloud_id: VirtualPrivateCloudID;
|
|
2196
|
+
}
|
|
2197
|
+
/**
|
|
2198
|
+
* Who put the route there. A `tenant` route is created and deleted by the project; a `peering` route is installed by an active peering and removed with it.
|
|
2199
|
+
*/
|
|
2200
|
+
export type VirtualPrivateCloudRouteType = (typeof VirtualPrivateCloudRouteType)[keyof typeof VirtualPrivateCloudRouteType];
|
|
2201
|
+
export declare const VirtualPrivateCloudRouteType: {
|
|
2202
|
+
readonly tenant: "tenant";
|
|
2203
|
+
readonly peering: "peering";
|
|
2204
|
+
};
|
|
2205
|
+
export interface VirtualPrivateCloudRouteResource {
|
|
2206
|
+
id: VirtualPrivateCloudRouteID;
|
|
2207
|
+
virtual_private_cloud_id: VirtualPrivateCloudID;
|
|
2208
|
+
type: VirtualPrivateCloudRouteType;
|
|
2209
|
+
destination_cidr: string;
|
|
2210
|
+
/**
|
|
2211
|
+
* The private address traffic is sent to. Null for a peering route, whose next hop is the platform's side of the peering link.
|
|
2212
|
+
* @nullable
|
|
2213
|
+
*/
|
|
2214
|
+
next_hop_address: string | null;
|
|
2215
|
+
/** The peering that wrote the route, null for a tenant route. */
|
|
2216
|
+
virtual_private_cloud_peering_id: VirtualPrivateCloudPeeringID | null;
|
|
2217
|
+
description: string;
|
|
2218
|
+
created_at: string;
|
|
2219
|
+
}
|
|
2220
|
+
export interface VirtualPrivateCloudRouteListResponseBody {
|
|
2221
|
+
items: VirtualPrivateCloudRouteResource[];
|
|
2222
|
+
pagination: OffsetPagination;
|
|
2223
|
+
}
|
|
2224
|
+
export interface CreateVirtualPrivateCloudRouteRequestBody {
|
|
2225
|
+
/**
|
|
2226
|
+
* Destination CIDR. It cannot be `0.0.0.0/0`, nor the CIDR of a subnet of the virtual private cloud.
|
|
2227
|
+
* @minLength 1
|
|
2228
|
+
* @maxLength 32
|
|
2229
|
+
*/
|
|
2230
|
+
destination_cidr: string;
|
|
2231
|
+
/**
|
|
2232
|
+
* Private address of an instance, inside a subnet of the virtual private cloud.
|
|
2233
|
+
* @minLength 1
|
|
2234
|
+
* @maxLength 64
|
|
2235
|
+
*/
|
|
2236
|
+
next_hop_address: string;
|
|
2237
|
+
/** @maxLength 255 */
|
|
2238
|
+
description?: string;
|
|
2239
|
+
}
|
|
2240
|
+
export interface VirtualPrivateCloudSubnet {
|
|
2241
|
+
id: SubnetID;
|
|
2242
|
+
virtual_private_cloud_id: VirtualPrivateCloudID;
|
|
2243
|
+
name: string;
|
|
2244
|
+
/** The subnet's IPv4 range. */
|
|
2245
|
+
ipv4_cidr: string;
|
|
2246
|
+
/**
|
|
2247
|
+
* The IPv4 gateway address of the subnet.
|
|
2248
|
+
* @nullable
|
|
2249
|
+
*/
|
|
2250
|
+
ipv4_gateway_address: string | null;
|
|
2251
|
+
/**
|
|
2252
|
+
* The subnet's /64, from the virtual private cloud's /56; null while IPv6 is not enabled on the virtual private cloud. A network interface created in the subnet takes an address of it that is never handed out again within the subnet.
|
|
2253
|
+
* @nullable
|
|
2254
|
+
*/
|
|
2255
|
+
ipv6_cidr: string | null;
|
|
2256
|
+
/**
|
|
2257
|
+
* The IPv6 gateway address of the subnet, the first address of its /64; null without IPv6.
|
|
2258
|
+
* @nullable
|
|
2259
|
+
*/
|
|
2260
|
+
ipv6_gateway_address: string | null;
|
|
2261
|
+
created_at: string;
|
|
2262
|
+
updated_at: string;
|
|
2263
|
+
}
|
|
2264
|
+
export interface VirtualPrivateCloudSubnetListResponseBody {
|
|
2265
|
+
items: VirtualPrivateCloudSubnet[];
|
|
2266
|
+
pagination: OffsetPagination;
|
|
2267
|
+
}
|
|
2268
|
+
export interface CreateVirtualPrivateCloudSubnetRequestBody {
|
|
2269
|
+
/**
|
|
2270
|
+
* @minLength 1
|
|
2271
|
+
* @maxLength 128
|
|
2272
|
+
*/
|
|
2273
|
+
name: string;
|
|
2274
|
+
/**
|
|
2275
|
+
* An IPv4 CIDR inside the virtual private cloud's CIDR, overlapping no other subnet of it.
|
|
2276
|
+
* @minLength 1
|
|
2277
|
+
* @maxLength 32
|
|
2278
|
+
*/
|
|
2279
|
+
ipv4_cidr: string;
|
|
2280
|
+
}
|
|
2281
|
+
export interface UpdateVirtualPrivateCloudSubnetRequestBody {
|
|
2282
|
+
/**
|
|
2283
|
+
* @minLength 1
|
|
2284
|
+
* @maxLength 128
|
|
2285
|
+
*/
|
|
2286
|
+
name?: string;
|
|
2287
|
+
}
|
|
2288
|
+
/**
|
|
2289
|
+
* `available` from creation: the network and router are created in the backend by the first member that needs them, so a virtual private cloud nothing uses holds no capacity there. `failed` means the cloud reports the network broken; instances cannot be created in it then and are refused with `VIRTUAL_PRIVATE_CLOUD_UNAVAILABLE`. `deleting` from the moment its deletion began until it is gone: subnets, security groups and routes in it can no longer be created, changed or deleted, and are refused with `VIRTUAL_PRIVATE_CLOUD_DELETING`. A deletion that stopped before the end leaves it `deleting`, and deleting it again resumes from where it stopped. `creating`, `enabling_ipv6` and `disabling_ipv6` name operations in progress; the network refuses another operation until they end.
|
|
2290
|
+
*/
|
|
2291
|
+
export type VirtualPrivateCloudStatus = (typeof VirtualPrivateCloudStatus)[keyof typeof VirtualPrivateCloudStatus];
|
|
2292
|
+
export declare const VirtualPrivateCloudStatus: {
|
|
2293
|
+
readonly available: "available";
|
|
2294
|
+
readonly deleting: "deleting";
|
|
2295
|
+
readonly failed: "failed";
|
|
2296
|
+
readonly creating: "creating";
|
|
2297
|
+
readonly enabling_ipv6: "enabling_ipv6";
|
|
2298
|
+
readonly disabling_ipv6: "disabling_ipv6";
|
|
2299
|
+
};
|
|
2300
|
+
export interface VirtualPrivateCloud {
|
|
2301
|
+
id: VirtualPrivateCloudID;
|
|
2302
|
+
region_id: RegionID;
|
|
2303
|
+
name: string;
|
|
2304
|
+
ipv4_cidr: string;
|
|
2305
|
+
/**
|
|
2306
|
+
* The /56 routed to the virtual private cloud, from which each of its subnets takes a /64; null while IPv6 is not enabled.
|
|
2307
|
+
* @nullable
|
|
2308
|
+
*/
|
|
2309
|
+
ipv6_cidr: string | null;
|
|
2310
|
+
/** `available` from creation: the network and router are created in the backend by the first member that needs them, so a virtual private cloud nothing uses holds no capacity there. `failed` means the cloud reports the network broken; instances cannot be created in it then and are refused with `VIRTUAL_PRIVATE_CLOUD_UNAVAILABLE`. `deleting` from the moment its deletion began until it is gone: subnets, security groups and routes in it can no longer be created, changed or deleted, and are refused with `VIRTUAL_PRIVATE_CLOUD_DELETING`. A deletion that stopped before the end leaves it `deleting`, and deleting it again resumes from where it stopped. `creating`, `enabling_ipv6` and `disabling_ipv6` name operations in progress; the network refuses another operation until they end. */
|
|
2311
|
+
status: VirtualPrivateCloudStatus;
|
|
2312
|
+
created_at: string;
|
|
2313
|
+
updated_at: string;
|
|
2314
|
+
}
|
|
2315
|
+
export interface VirtualPrivateCloudListResponseBody {
|
|
2316
|
+
items: VirtualPrivateCloud[];
|
|
2317
|
+
pagination: OffsetPagination;
|
|
2318
|
+
}
|
|
2319
|
+
export interface CreateVirtualPrivateCloudRequestBody {
|
|
2320
|
+
region_id: RegionID;
|
|
2321
|
+
/**
|
|
2322
|
+
* @minLength 1
|
|
2323
|
+
* @maxLength 128
|
|
2324
|
+
*/
|
|
2325
|
+
name: string;
|
|
2326
|
+
/**
|
|
2327
|
+
* An RFC 1918 private CIDR with a prefix length between /8 and /24, for example `10.0.0.0/16`.
|
|
2328
|
+
* @minLength 1
|
|
2329
|
+
* @maxLength 32
|
|
2330
|
+
*/
|
|
2331
|
+
ipv4_cidr: string;
|
|
2332
|
+
}
|
|
2333
|
+
export interface UpdateVirtualPrivateCloudRequestBody {
|
|
2334
|
+
/**
|
|
2335
|
+
* @minLength 1
|
|
2336
|
+
* @maxLength 128
|
|
2337
|
+
*/
|
|
2338
|
+
name?: string;
|
|
2339
|
+
}
|
|
2340
|
+
export interface FreeSubnetCidr {
|
|
2341
|
+
prefix_length: number;
|
|
2342
|
+
/**
|
|
2343
|
+
* Null when no CIDR of that prefix length is free.
|
|
2344
|
+
* @nullable
|
|
2345
|
+
*/
|
|
2346
|
+
ipv4_cidr: string | null;
|
|
2347
|
+
}
|
|
2348
|
+
/**
|
|
2349
|
+
* `pending` from the purchase until the backup is taken, then `available`. `failed` means the backup was not created. A value naming an operation in progress (`restoring`, `deleting`) is shown while that operation runs; the backup refuses another operation until it ends.
|
|
2350
|
+
*/
|
|
2351
|
+
export type VolumeBackupResourceStatus = (typeof VolumeBackupResourceStatus)[keyof typeof VolumeBackupResourceStatus];
|
|
2352
|
+
export declare const VolumeBackupResourceStatus: {
|
|
2353
|
+
readonly pending: "pending";
|
|
2354
|
+
readonly available: "available";
|
|
2355
|
+
readonly deleted: "deleted";
|
|
2356
|
+
readonly failed: "failed";
|
|
2357
|
+
readonly error: "error";
|
|
2358
|
+
readonly restoring: "restoring";
|
|
2359
|
+
readonly deleting: "deleting";
|
|
2360
|
+
};
|
|
2361
|
+
/**
|
|
2362
|
+
* Why creation failed; null unless `status` is `failed`. `checkout_expired` means checkout was not completed before its Checkout Session expired. `provisioning_failed` means creation failed after the order was accepted, and the charge for this backup is refunded.
|
|
2363
|
+
* @nullable
|
|
2364
|
+
*/
|
|
2365
|
+
export type VolumeBackupResourceFailureReason = (typeof VolumeBackupResourceFailureReason)[keyof typeof VolumeBackupResourceFailureReason] | null;
|
|
2366
|
+
export declare const VolumeBackupResourceFailureReason: {
|
|
2367
|
+
readonly order_declined: "order_declined";
|
|
2368
|
+
readonly order_canceled: "order_canceled";
|
|
2369
|
+
readonly order_expired: "order_expired";
|
|
2370
|
+
readonly checkout_expired: "checkout_expired";
|
|
2371
|
+
readonly provisioning_failed: "provisioning_failed";
|
|
2372
|
+
};
|
|
2373
|
+
/**
|
|
2374
|
+
* A retained copy of a volume, restorable after its source volume is deleted. Compute project quotas constrain its count; retained storage is metered independently.
|
|
2375
|
+
*/
|
|
2376
|
+
export interface VolumeBackupResource {
|
|
2377
|
+
created_at: string;
|
|
2378
|
+
id: VolumeBackupID;
|
|
2379
|
+
name: string;
|
|
2380
|
+
region_id: RegionID;
|
|
2381
|
+
/** Capacity of the source volume when the backup was created. A restored volume cannot be smaller than this */
|
|
2382
|
+
size_gib: number;
|
|
2383
|
+
/** The capacity metered for this backup, in GiB: the size of the source volume when the backup was taken. Usage is this capacity multiplied by the time the backup is retained. */
|
|
2384
|
+
capacity_gib: number;
|
|
2385
|
+
source_volume_id: VolumeID;
|
|
2386
|
+
/** `pending` from the purchase until the backup is taken, then `available`. `failed` means the backup was not created. A value naming an operation in progress (`restoring`, `deleting`) is shown while that operation runs; the backup refuses another operation until it ends. */
|
|
2387
|
+
status: VolumeBackupResourceStatus;
|
|
2388
|
+
source_availability_zone_id: AvailabilityZoneID;
|
|
2389
|
+
/**
|
|
2390
|
+
* Why creation failed; null unless `status` is `failed`. `checkout_expired` means checkout was not completed before its Checkout Session expired. `provisioning_failed` means creation failed after the order was accepted, and the charge for this backup is refunded.
|
|
2391
|
+
* @nullable
|
|
2392
|
+
*/
|
|
2393
|
+
failure_reason: VolumeBackupResourceFailureReason;
|
|
2394
|
+
/**
|
|
2395
|
+
* The Billing Checkout Session that bought this resource; `order_id` and `order_item_id` stay null until its checkout completes. Null when the resource was not bought through one.
|
|
2396
|
+
* @nullable
|
|
2397
|
+
*/
|
|
2398
|
+
readonly checkout_session_id: string | null;
|
|
2399
|
+
/**
|
|
2400
|
+
* The Billing order that bought this resource; null until checkout completes.
|
|
2401
|
+
* @nullable
|
|
2402
|
+
*/
|
|
2403
|
+
readonly order_id: string | null;
|
|
2404
|
+
/**
|
|
2405
|
+
* The Billing order item for this resource.
|
|
2406
|
+
* @nullable
|
|
2407
|
+
*/
|
|
2408
|
+
readonly order_item_id: string | null;
|
|
2409
|
+
/**
|
|
2410
|
+
* The subscription for this resource; its presence alone does not imply delivery.
|
|
2411
|
+
* @nullable
|
|
2412
|
+
*/
|
|
2413
|
+
readonly subscription_id: string | null;
|
|
2414
|
+
/** The subscription that pays for this volume backup, with the resource it pays for, so that a cancellation through Billing can name what it releases. Empty when no subscription pays for it, and once it is released. */
|
|
2415
|
+
release_set: ReleaseSetItem[];
|
|
2416
|
+
}
|
|
2417
|
+
/**
|
|
2418
|
+
* The volume backup as it is when the deletion is accepted, and the Billing cancellation that releases it when subscriptions pay for it.
|
|
2419
|
+
*/
|
|
2420
|
+
export interface DeleteVolumeBackupResponseBody {
|
|
2421
|
+
volume_backup: VolumeBackupResource;
|
|
2422
|
+
/** The cancellation Compute created for the volume backup's subscriptions; null when none pays for it. */
|
|
2423
|
+
cancellation: null | BillingCancellation;
|
|
2424
|
+
}
|
|
2425
|
+
export interface VolumeBackupListResponseBody {
|
|
2426
|
+
/** @nullable */
|
|
2427
|
+
items: VolumeBackupResource[] | null;
|
|
2428
|
+
pagination: OffsetPagination;
|
|
2429
|
+
}
|
|
2430
|
+
export interface CreateVolumeBackupRequestBody {
|
|
2431
|
+
volume_id: VolumeID;
|
|
2432
|
+
/**
|
|
2433
|
+
* @minLength 1
|
|
2434
|
+
* @maxLength 128
|
|
2435
|
+
*/
|
|
2436
|
+
name: string;
|
|
2437
|
+
checkout?: CheckoutOptions;
|
|
2438
|
+
}
|
|
2439
|
+
/**
|
|
2440
|
+
* The mutable fields of a volume backup. At least one must be given.
|
|
2441
|
+
*/
|
|
2442
|
+
export interface UpdateVolumeBackupRequestBody {
|
|
2443
|
+
/**
|
|
2444
|
+
* @minLength 1
|
|
2445
|
+
* @maxLength 128
|
|
2446
|
+
*/
|
|
2447
|
+
name?: string;
|
|
2448
|
+
}
|
|
2449
|
+
/**
|
|
2450
|
+
* The new backup, `pending` until its order is accepted, and its Checkout Session.
|
|
2451
|
+
*/
|
|
2452
|
+
export interface CreateVolumeBackupResponseBody {
|
|
2453
|
+
volume_backup: VolumeBackupResource;
|
|
2454
|
+
/** The Billing Checkout Session of this purchase. With deferred checkout, the customer completes it in Billing. */
|
|
2455
|
+
checkout_session_id: string;
|
|
2456
|
+
/**
|
|
2457
|
+
* The order created when checkout completes, at once for automatic checkout; null until then.
|
|
2458
|
+
* @nullable
|
|
2459
|
+
*/
|
|
2460
|
+
order_id: string | null;
|
|
2461
|
+
}
|
|
2462
|
+
/**
|
|
2463
|
+
* `pending` once a quota slot is reserved and until the snapshot is taken; then `available`. `failed` means the snapshot was not created; its slot is released once no snapshot data remains. `error` means the cloud reports the snapshot broken. A value naming an operation in progress (`restoring`, `deleting`) is shown while that operation runs; the snapshot refuses another operation until it ends.
|
|
2464
|
+
*/
|
|
2465
|
+
export type VolumeSnapshotResourceStatus = (typeof VolumeSnapshotResourceStatus)[keyof typeof VolumeSnapshotResourceStatus];
|
|
2466
|
+
export declare const VolumeSnapshotResourceStatus: {
|
|
2467
|
+
readonly pending: "pending";
|
|
2468
|
+
readonly available: "available";
|
|
2469
|
+
readonly deleted: "deleted";
|
|
2470
|
+
readonly failed: "failed";
|
|
2471
|
+
readonly error: "error";
|
|
2472
|
+
readonly restoring: "restoring";
|
|
2473
|
+
readonly deleting: "deleting";
|
|
2474
|
+
};
|
|
2475
|
+
/**
|
|
2476
|
+
* Why creation failed; null unless `status` is `failed`. `checkout_expired` means checkout was not completed before its Checkout Session expired. `provisioning_failed` means creation failed after the order was accepted, and the charge for this snapshot is refunded.
|
|
2477
|
+
* @nullable
|
|
2478
|
+
*/
|
|
2479
|
+
export type VolumeSnapshotResourceFailureReason = (typeof VolumeSnapshotResourceFailureReason)[keyof typeof VolumeSnapshotResourceFailureReason] | null;
|
|
2480
|
+
export declare const VolumeSnapshotResourceFailureReason: {
|
|
2481
|
+
readonly order_declined: "order_declined";
|
|
2482
|
+
readonly order_canceled: "order_canceled";
|
|
2483
|
+
readonly order_expired: "order_expired";
|
|
2484
|
+
readonly checkout_expired: "checkout_expired";
|
|
2485
|
+
readonly provisioning_failed: "provisioning_failed";
|
|
2486
|
+
};
|
|
2487
|
+
/**
|
|
2488
|
+
* A snapshot of a volume. Compute project quotas constrain its count; retained storage is metered independently of that quota.
|
|
2489
|
+
*/
|
|
2490
|
+
export interface VolumeSnapshotResource {
|
|
2491
|
+
availability_zone_id: AvailabilityZoneID;
|
|
2492
|
+
created_at: string;
|
|
2493
|
+
volume_id: VolumeID;
|
|
2494
|
+
id: VolumeSnapshotID;
|
|
2495
|
+
name: string;
|
|
2496
|
+
region_id: RegionID;
|
|
2497
|
+
/** Capacity of the source volume when the snapshot was created. A volume restored from it cannot be smaller */
|
|
2498
|
+
size_gib: number;
|
|
2499
|
+
/** `pending` once a quota slot is reserved and until the snapshot is taken; then `available`. `failed` means the snapshot was not created; its slot is released once no snapshot data remains. `error` means the cloud reports the snapshot broken. A value naming an operation in progress (`restoring`, `deleting`) is shown while that operation runs; the snapshot refuses another operation until it ends. */
|
|
2500
|
+
status: VolumeSnapshotResourceStatus;
|
|
2501
|
+
/**
|
|
2502
|
+
* Why creation failed; null unless `status` is `failed`. `checkout_expired` means checkout was not completed before its Checkout Session expired. `provisioning_failed` means creation failed after the order was accepted, and the charge for this snapshot is refunded.
|
|
2503
|
+
* @nullable
|
|
2504
|
+
*/
|
|
2505
|
+
failure_reason: VolumeSnapshotResourceFailureReason;
|
|
2506
|
+
/**
|
|
2507
|
+
* The Billing Checkout Session that bought this resource; `order_id` and `order_item_id` stay null until its checkout completes. Null when the resource was not bought through one.
|
|
2508
|
+
* @nullable
|
|
2509
|
+
*/
|
|
2510
|
+
readonly checkout_session_id: string | null;
|
|
2511
|
+
/**
|
|
2512
|
+
* The Billing order that bought this resource; null until checkout completes.
|
|
2513
|
+
* @nullable
|
|
2514
|
+
*/
|
|
2515
|
+
readonly order_id: string | null;
|
|
2516
|
+
/**
|
|
2517
|
+
* The Billing order item for this resource.
|
|
2518
|
+
* @nullable
|
|
2519
|
+
*/
|
|
2520
|
+
readonly order_item_id: string | null;
|
|
2521
|
+
/**
|
|
2522
|
+
* The subscription for this resource; its presence alone does not imply delivery.
|
|
2523
|
+
* @nullable
|
|
2524
|
+
*/
|
|
2525
|
+
readonly subscription_id: string | null;
|
|
2526
|
+
/** The subscription that pays for this snapshot, with the resource it pays for, so that a cancellation through Billing can name what it releases. Empty when no subscription pays for it, and once it is released. */
|
|
2527
|
+
release_set: ReleaseSetItem[];
|
|
2528
|
+
}
|
|
2529
|
+
/**
|
|
2530
|
+
* The snapshot as it is when the deletion is accepted, and the Billing cancellation that releases it when subscriptions pay for it.
|
|
2531
|
+
*/
|
|
2532
|
+
export interface DeleteVolumeSnapshotResponseBody {
|
|
2533
|
+
volume_snapshot: VolumeSnapshotResource;
|
|
2534
|
+
/** The cancellation Compute created for the snapshot's subscriptions; null when none pays for it. */
|
|
2535
|
+
cancellation: null | BillingCancellation;
|
|
2536
|
+
}
|
|
2537
|
+
export interface VolumeSnapshotListResponseBody {
|
|
2538
|
+
/** @nullable */
|
|
2539
|
+
items: VolumeSnapshotResource[] | null;
|
|
2540
|
+
pagination: OffsetPagination;
|
|
2541
|
+
}
|
|
2542
|
+
/**
|
|
2543
|
+
* Creation configuration for this resource. Compute project quotas and Billing authorization are checked independently.
|
|
2544
|
+
*/
|
|
2545
|
+
export interface CreateVolumeSnapshotRequestBody {
|
|
2546
|
+
volume_id: VolumeID;
|
|
2547
|
+
/**
|
|
2548
|
+
* @minLength 1
|
|
2549
|
+
* @maxLength 128
|
|
2550
|
+
*/
|
|
2551
|
+
name: string;
|
|
2552
|
+
checkout?: CheckoutOptions;
|
|
2553
|
+
}
|
|
2554
|
+
/**
|
|
2555
|
+
* The mutable fields of a snapshot. At least one must be given.
|
|
2556
|
+
*/
|
|
2557
|
+
export interface UpdateVolumeSnapshotRequestBody {
|
|
2558
|
+
/**
|
|
2559
|
+
* @minLength 1
|
|
2560
|
+
* @maxLength 128
|
|
2561
|
+
*/
|
|
2562
|
+
name?: string;
|
|
2563
|
+
}
|
|
2564
|
+
/**
|
|
2565
|
+
* The new snapshot, `pending` until its order is accepted, and its Checkout Session.
|
|
2566
|
+
*/
|
|
2567
|
+
export interface CreateVolumeSnapshotResponseBody {
|
|
2568
|
+
volume_snapshot: VolumeSnapshotResource;
|
|
2569
|
+
/** The Billing Checkout Session of this purchase. With deferred checkout, the customer completes it in Billing. */
|
|
2570
|
+
checkout_session_id: string;
|
|
2571
|
+
/**
|
|
2572
|
+
* The order created when checkout completes, at once for automatic checkout; null until then.
|
|
2573
|
+
* @nullable
|
|
2574
|
+
*/
|
|
2575
|
+
order_id: string | null;
|
|
2576
|
+
}
|
|
2577
|
+
/**
|
|
2578
|
+
* `sold_out` takes no new orders for now while the type stays listed; the volumes already of it keep working.
|
|
2579
|
+
*/
|
|
2580
|
+
export type VolumeTypeResourceSaleStatus = (typeof VolumeTypeResourceSaleStatus)[keyof typeof VolumeTypeResourceSaleStatus];
|
|
2581
|
+
export declare const VolumeTypeResourceSaleStatus: {
|
|
2582
|
+
readonly on_sale: "on_sale";
|
|
2583
|
+
readonly sold_out: "sold_out";
|
|
2584
|
+
};
|
|
2585
|
+
export type VolumeTypeResourceMedium = (typeof VolumeTypeResourceMedium)[keyof typeof VolumeTypeResourceMedium];
|
|
2586
|
+
export declare const VolumeTypeResourceMedium: {
|
|
2587
|
+
readonly ssd: "ssd";
|
|
2588
|
+
readonly hdd: "hdd";
|
|
2589
|
+
readonly nvme: "nvme";
|
|
2590
|
+
};
|
|
2591
|
+
/**
|
|
2592
|
+
* One performance metric of a volume type for a volume of `size_gib`, `max(min, min(max, base + size_gib × per_gib))`. A `per_gib` of zero is a fixed performance, and a `min` of zero is no floor.
|
|
2593
|
+
*/
|
|
2594
|
+
export interface PerformanceFormula {
|
|
2595
|
+
min: number;
|
|
2596
|
+
base: number;
|
|
2597
|
+
per_gib: number;
|
|
2598
|
+
max: number;
|
|
2599
|
+
}
|
|
2600
|
+
/**
|
|
2601
|
+
* How fast a volume of this type runs for its size. Alibaba Cloud's ESSD volumes have this shape: PL1 is IOPS `min(50000, 1800 + 50 × size_gib)`, and AutoPL's baseline adds a floor, `max(3000, min(50000, 1800 + 50 × size_gib))`.
|
|
2602
|
+
*
|
|
2603
|
+
* A volume's own performance, computed from these for its size, is on the volume. Growing a volume raises it, and the new performance applies from the volume's next attachment or the next start of its stopped instance.
|
|
2604
|
+
*/
|
|
2605
|
+
export interface VolumeTypePerformance {
|
|
2606
|
+
iops: PerformanceFormula;
|
|
2607
|
+
throughput_bytes_per_second: PerformanceFormula;
|
|
2608
|
+
}
|
|
2609
|
+
export interface VolumeTypeResource {
|
|
2610
|
+
availability_zone_id: AvailabilityZoneID;
|
|
2611
|
+
/** `sold_out` takes no new orders for now while the type stays listed; the volumes already of it keep working. */
|
|
2612
|
+
sale_status: VolumeTypeResourceSaleStatus;
|
|
2613
|
+
id: VolumeTypeID;
|
|
2614
|
+
max_size_gib: number;
|
|
2615
|
+
medium: VolumeTypeResourceMedium;
|
|
2616
|
+
min_size_gib: number;
|
|
2617
|
+
name: string;
|
|
2618
|
+
region_id: RegionID;
|
|
2619
|
+
size_step_gib: number;
|
|
2620
|
+
performance: VolumeTypePerformance;
|
|
2621
|
+
/** The line a volume of this type is, whether bought on its own or as the boot volume or a data volume of an instance. A volume bought on its own is licensed only. */
|
|
2622
|
+
billing: BillingComponent;
|
|
2623
|
+
}
|
|
2624
|
+
export interface VolumeTypeListResponseBody {
|
|
2625
|
+
items: VolumeTypeResource[];
|
|
2626
|
+
pagination: OffsetPagination;
|
|
2627
|
+
}
|
|
2628
|
+
/**
|
|
2629
|
+
* A volume's limits.
|
|
2630
|
+
*/
|
|
2631
|
+
export interface VolumePerformance {
|
|
2632
|
+
iops: number;
|
|
2633
|
+
throughput_bytes_per_second: number;
|
|
2634
|
+
}
|
|
2635
|
+
/**
|
|
2636
|
+
* `pending` until the volume is created, with no storage allocated before the order is accepted; then `available`, or `in_use` once attached. `failed` means the volume was not created; `failure_reason` states why. `error` means the cloud reports the volume broken. A value naming an operation in progress (`resizing`, `retyping`, `reverting`, `attaching`, `detaching`, `suspending`, `resuming`, `deleting`) is shown while that operation runs; the volume refuses another operation until it ends.
|
|
2637
|
+
*/
|
|
2638
|
+
export type VolumeResourceStatus = (typeof VolumeResourceStatus)[keyof typeof VolumeResourceStatus];
|
|
2639
|
+
export declare const VolumeResourceStatus: {
|
|
2640
|
+
readonly pending: "pending";
|
|
2641
|
+
readonly available: "available";
|
|
2642
|
+
readonly in_use: "in_use";
|
|
2643
|
+
readonly deleted: "deleted";
|
|
2644
|
+
readonly failed: "failed";
|
|
2645
|
+
readonly error: "error";
|
|
2646
|
+
readonly resizing: "resizing";
|
|
2647
|
+
readonly retyping: "retyping";
|
|
2648
|
+
readonly reverting: "reverting";
|
|
2649
|
+
readonly attaching: "attaching";
|
|
2650
|
+
readonly detaching: "detaching";
|
|
2651
|
+
readonly suspending: "suspending";
|
|
2652
|
+
readonly resuming: "resuming";
|
|
2653
|
+
readonly deleting: "deleting";
|
|
2654
|
+
};
|
|
2655
|
+
/**
|
|
2656
|
+
* @nullable
|
|
2657
|
+
*/
|
|
2658
|
+
export type VolumeResourceAccessState = (typeof VolumeResourceAccessState)[keyof typeof VolumeResourceAccessState] | null;
|
|
2659
|
+
export declare const VolumeResourceAccessState: {
|
|
2660
|
+
readonly pending: "pending";
|
|
2661
|
+
readonly enabled: "enabled";
|
|
2662
|
+
readonly suspended: "suspended";
|
|
2663
|
+
readonly reclaimed: "reclaimed";
|
|
2664
|
+
};
|
|
2665
|
+
/**
|
|
2666
|
+
* Why creation failed; null unless `status` is `failed`. `checkout_expired` means checkout was not completed before its Checkout Session expired. `provisioning_failed` means creation failed after the order was accepted, and the charge for this volume is refunded.
|
|
2667
|
+
* @nullable
|
|
2668
|
+
*/
|
|
2669
|
+
export type VolumeResourceFailureReason = (typeof VolumeResourceFailureReason)[keyof typeof VolumeResourceFailureReason] | null;
|
|
2670
|
+
export declare const VolumeResourceFailureReason: {
|
|
2671
|
+
readonly order_declined: "order_declined";
|
|
2672
|
+
readonly order_canceled: "order_canceled";
|
|
2673
|
+
readonly order_expired: "order_expired";
|
|
2674
|
+
readonly checkout_expired: "checkout_expired";
|
|
2675
|
+
readonly provisioning_failed: "provisioning_failed";
|
|
2676
|
+
};
|
|
2677
|
+
export type VolumeAttachmentRole = (typeof VolumeAttachmentRole)[keyof typeof VolumeAttachmentRole];
|
|
2678
|
+
export declare const VolumeAttachmentRole: {
|
|
2679
|
+
readonly boot: "boot";
|
|
2680
|
+
readonly data: "data";
|
|
2681
|
+
};
|
|
2682
|
+
/**
|
|
2683
|
+
* What releasing the instance does to this volume. `delete` deletes it together with the instance; `detach` detaches it and leaves it to you. A volume you attached, or booted the instance from, is `detach`; a volume bought with the instance follows the choice made when it was bought.
|
|
2684
|
+
*/
|
|
2685
|
+
export type VolumeAttachmentOnInstanceRelease = (typeof VolumeAttachmentOnInstanceRelease)[keyof typeof VolumeAttachmentOnInstanceRelease];
|
|
2686
|
+
export declare const VolumeAttachmentOnInstanceRelease: {
|
|
2687
|
+
readonly delete: "delete";
|
|
2688
|
+
readonly detach: "detach";
|
|
2689
|
+
};
|
|
2690
|
+
export type VolumeAttachmentState = (typeof VolumeAttachmentState)[keyof typeof VolumeAttachmentState];
|
|
2691
|
+
export declare const VolumeAttachmentState: {
|
|
2692
|
+
readonly reserved: "reserved";
|
|
2693
|
+
readonly attached: "attached";
|
|
2694
|
+
readonly released: "released";
|
|
2695
|
+
};
|
|
2696
|
+
export interface VolumeAttachment {
|
|
2697
|
+
id: InstanceVolumeID;
|
|
2698
|
+
instance_id: InstanceID;
|
|
2699
|
+
volume_id: VolumeID;
|
|
2700
|
+
role: VolumeAttachmentRole;
|
|
2701
|
+
/** What releasing the instance does to this volume. `delete` deletes it together with the instance; `detach` detaches it and leaves it to you. A volume you attached, or booted the instance from, is `detach`; a volume bought with the instance follows the choice made when it was bought. */
|
|
2702
|
+
on_instance_release: VolumeAttachmentOnInstanceRelease;
|
|
2703
|
+
state: VolumeAttachmentState;
|
|
2704
|
+
/** @nullable */
|
|
2705
|
+
attached_at: string | null;
|
|
2706
|
+
/** @nullable */
|
|
2707
|
+
detached_at: string | null;
|
|
2708
|
+
/** @nullable */
|
|
2709
|
+
released_at: string | null;
|
|
2710
|
+
/** @nullable */
|
|
2711
|
+
device: string | null;
|
|
2712
|
+
/** The volume's performance in effect on this attachment, as it was when the attachment was made. Null until the attachment is made. */
|
|
2713
|
+
performance: VolumePerformance | null;
|
|
2714
|
+
}
|
|
2715
|
+
export interface VolumeResource {
|
|
2716
|
+
availability_zone_id: AvailabilityZoneID;
|
|
2717
|
+
created_at: string;
|
|
2718
|
+
volume_type_id: VolumeTypeID;
|
|
2719
|
+
id: VolumeID;
|
|
2720
|
+
name: string;
|
|
2721
|
+
region_id: RegionID;
|
|
2722
|
+
size_gib: number;
|
|
2723
|
+
performance: VolumePerformance;
|
|
2724
|
+
/** `pending` until the volume is created, with no storage allocated before the order is accepted; then `available`, or `in_use` once attached. `failed` means the volume was not created; `failure_reason` states why. `error` means the cloud reports the volume broken. A value naming an operation in progress (`resizing`, `retyping`, `reverting`, `attaching`, `detaching`, `suspending`, `resuming`, `deleting`) is shown while that operation runs; the volume refuses another operation until it ends. */
|
|
2725
|
+
status: VolumeResourceStatus;
|
|
2726
|
+
/**
|
|
2727
|
+
* The Billing Checkout Session that bought this resource; `order_id` and `order_item_id` stay null until its checkout completes. Null when the resource was not bought through one.
|
|
2728
|
+
* @nullable
|
|
2729
|
+
*/
|
|
2730
|
+
readonly checkout_session_id: string | null;
|
|
2731
|
+
/** @nullable */
|
|
2732
|
+
order_id: string | null;
|
|
2733
|
+
/**
|
|
2734
|
+
* The Billing order item for this resource.
|
|
2735
|
+
* @nullable
|
|
2736
|
+
*/
|
|
2737
|
+
order_item_id: string | null;
|
|
2738
|
+
/**
|
|
2739
|
+
* The Billing subscription associated with this resource. It may still be pending; its
|
|
2740
|
+
* presence does not imply delivery or metering. Null when no subscription is associated.
|
|
2741
|
+
* @nullable
|
|
2742
|
+
*/
|
|
2743
|
+
subscription_id: string | null;
|
|
2744
|
+
/** The subscriptions a cancellation through Billing has to cover to release this volume: its own, each with the resource it pays for, so that each line of a cancellation can name what it releases. Snapshots have no individual subscriptions. A boot volume is released only with its instance, so for a boot volume the set is that of the instance. Subscriptions that have ended are not listed, and the set is empty when no subscription pays for any of them. */
|
|
2745
|
+
release_set: ReleaseSetItem[];
|
|
2746
|
+
/** @nullable */
|
|
2747
|
+
access_state: VolumeResourceAccessState;
|
|
2748
|
+
/**
|
|
2749
|
+
* Why creation failed; null unless `status` is `failed`. `checkout_expired` means checkout was not completed before its Checkout Session expired. `provisioning_failed` means creation failed after the order was accepted, and the charge for this volume is refunded.
|
|
2750
|
+
* @nullable
|
|
2751
|
+
*/
|
|
2752
|
+
failure_reason: VolumeResourceFailureReason;
|
|
2753
|
+
attachment: VolumeAttachment | null;
|
|
2754
|
+
}
|
|
2755
|
+
/**
|
|
2756
|
+
* The volume as it is when the deletion is accepted, and the Billing cancellation that releases it when subscriptions pay for it.
|
|
2757
|
+
*/
|
|
2758
|
+
export interface DeleteVolumeResponseBody {
|
|
2759
|
+
volume: VolumeResource;
|
|
2760
|
+
/** The cancellation Compute created for the volume's subscriptions; null when none pays for it. */
|
|
2761
|
+
cancellation: null | BillingCancellation;
|
|
2762
|
+
}
|
|
2763
|
+
export interface VolumeListResponseBody {
|
|
2764
|
+
/** @nullable */
|
|
2765
|
+
items: VolumeResource[] | null;
|
|
2766
|
+
pagination: OffsetPagination;
|
|
2767
|
+
}
|
|
2768
|
+
export interface CreateVolumeRequestBody {
|
|
2769
|
+
volume_type_id: VolumeTypeID;
|
|
2770
|
+
/**
|
|
2771
|
+
* @minLength 1
|
|
2772
|
+
* @maxLength 128
|
|
2773
|
+
*/
|
|
2774
|
+
name: string;
|
|
2775
|
+
/**
|
|
2776
|
+
* Required unless `volume_backup_id` is given. With `volume_snapshot_id` it need only be no smaller than the snapshot; with `volume_backup_id` it defaults to the size of the backup and must not be smaller than it
|
|
2777
|
+
* @minimum 1
|
|
2778
|
+
*/
|
|
2779
|
+
size_gib?: number;
|
|
2780
|
+
volume_snapshot_id?: VolumeSnapshotID;
|
|
2781
|
+
volume_backup_id?: VolumeBackupID;
|
|
2782
|
+
billing: BillingChoice;
|
|
2783
|
+
checkout?: CheckoutOptions;
|
|
2784
|
+
}
|
|
2785
|
+
/**
|
|
2786
|
+
* The mutable fields of a volume, all optional, at least one required. `size_gib` and `volume_type_id` are operational fields and cannot be combined with each other or with `name`; such a request is refused with 422 `UPDATE_FIELDS_COMBINED`.
|
|
2787
|
+
*/
|
|
2788
|
+
export interface UpdateVolumeRequestBody {
|
|
2789
|
+
/**
|
|
2790
|
+
* @minLength 1
|
|
2791
|
+
* @maxLength 128
|
|
2792
|
+
*/
|
|
2793
|
+
name?: string;
|
|
2794
|
+
/**
|
|
2795
|
+
* The new capacity. Must be larger than the current capacity
|
|
2796
|
+
* @minimum 1
|
|
2797
|
+
*/
|
|
2798
|
+
size_gib?: number;
|
|
2799
|
+
volume_type_id?: VolumeTypeID;
|
|
2800
|
+
/** The `proration_date` of the Billing quote for this change, so that the order is priced from the same instant. Only with `size_gib` or `volume_type_id`, and only for automatic checkout; deferred checkout is priced when the customer completes it. Defaults to the time of the request; it must be a whole second, not in the future and at most 10 minutes old, otherwise the request is refused with `BILLING_CHANGE_INVALID`. */
|
|
2801
|
+
proration_date?: string;
|
|
2802
|
+
checkout?: CheckoutOptions;
|
|
2803
|
+
}
|
|
2804
|
+
export interface RevertVolumeRequestBody {
|
|
2805
|
+
volume_snapshot_id: VolumeSnapshotID;
|
|
2806
|
+
}
|
|
2807
|
+
export interface AttachVolumeRequestBody {
|
|
2808
|
+
volume_id: VolumeID;
|
|
2809
|
+
}
|
|
2810
|
+
/**
|
|
2811
|
+
* The new volume, `pending` until its order is accepted, and its Checkout Session. Also returned for a volume restored
|
|
2812
|
+
* from a snapshot or a volume backup.
|
|
2813
|
+
*/
|
|
2814
|
+
export interface CreateVolumeResponseBody {
|
|
2815
|
+
volume: VolumeResource;
|
|
2816
|
+
/** The Billing Checkout Session of this purchase. With deferred checkout, the customer completes it in Billing. */
|
|
2817
|
+
checkout_session_id: string;
|
|
2818
|
+
/**
|
|
2819
|
+
* The order created when checkout completes, at once for automatic checkout; null until then.
|
|
2820
|
+
* @nullable
|
|
2821
|
+
*/
|
|
2822
|
+
order_id: string | null;
|
|
2823
|
+
}
|
|
2824
|
+
/**
|
|
2825
|
+
* The volume and, when the update placed a Billing order, the Checkout Session for it. After a resize the volume is still at its current size until the change is applied. Returned with 200 when only descriptive fields changed and with 202 when an operation started.
|
|
2826
|
+
*/
|
|
2827
|
+
export interface UpdateVolumeResponseBody {
|
|
2828
|
+
volume: VolumeResource;
|
|
2829
|
+
/**
|
|
2830
|
+
* The Billing Checkout Session of the purchase; null when the update placed no order. With deferred checkout, the customer completes it in Billing.
|
|
2831
|
+
* @nullable
|
|
2832
|
+
*/
|
|
2833
|
+
checkout_session_id: string | null;
|
|
2834
|
+
/**
|
|
2835
|
+
* The order created when checkout completes, at once for automatic checkout; null until then and when the update placed no order.
|
|
2836
|
+
* @nullable
|
|
2837
|
+
*/
|
|
2838
|
+
order_id: string | null;
|
|
2839
|
+
}
|
|
2840
|
+
export interface VolumeAttachmentList {
|
|
2841
|
+
items: VolumeAttachment[];
|
|
2842
|
+
pagination: OffsetPagination;
|
|
2843
|
+
}
|
|
2844
|
+
/**
|
|
2845
|
+
* Pagination metadata for keyset traversal. Pass next_cursor as cursor to read the following page; null means there is no following page.
|
|
2846
|
+
*/
|
|
2847
|
+
export interface CursorPagination {
|
|
2848
|
+
/** @minimum 1 */
|
|
2849
|
+
page_size: number;
|
|
2850
|
+
/** @nullable */
|
|
2851
|
+
next_cursor?: string | null;
|
|
2852
|
+
}
|
|
2853
|
+
export interface FieldViolation {
|
|
2854
|
+
/** The path to the rejected field in the request body, such as `items[2].price_id`. */
|
|
2855
|
+
field: string;
|
|
2856
|
+
/** Why the field was rejected, such as `REQUIRED` or `OUT_OF_RANGE`. */
|
|
2857
|
+
reason?: string;
|
|
2858
|
+
}
|
|
2859
|
+
/**
|
|
2860
|
+
* Values that belong to `reason`, one set per reason. Clients use them to fill in
|
|
2861
|
+
* localized text and never parse `message` to obtain them. Keys are documented per
|
|
2862
|
+
* reason; a key that has appeared once keeps appearing.
|
|
2863
|
+
*/
|
|
2864
|
+
export type ErrorStatusMetadata = {
|
|
2865
|
+
[key: string]: string;
|
|
2866
|
+
};
|
|
2867
|
+
export interface ErrorStatus {
|
|
2868
|
+
/** The HTTP status code of the response. */
|
|
2869
|
+
code: number;
|
|
2870
|
+
/** The canonical name of the status, such as `INVALID_ARGUMENT` or `UNAVAILABLE`. */
|
|
2871
|
+
status: string;
|
|
2872
|
+
/**
|
|
2873
|
+
* A description of the failure for developers. It is always English and is not meant
|
|
2874
|
+
* to be shown to end users as is.
|
|
2875
|
+
*/
|
|
2876
|
+
message: string;
|
|
2877
|
+
/**
|
|
2878
|
+
* A stable machine-readable code identifying the failure. Clients branch on this value
|
|
2879
|
+
* and render their own text; it does not change once published.
|
|
2880
|
+
*/
|
|
2881
|
+
reason?: string;
|
|
2882
|
+
/**
|
|
2883
|
+
* Values that belong to `reason`, one set per reason. Clients use them to fill in
|
|
2884
|
+
* localized text and never parse `message` to obtain them. Keys are documented per
|
|
2885
|
+
* reason; a key that has appeared once keeps appearing.
|
|
2886
|
+
*/
|
|
2887
|
+
metadata?: ErrorStatusMetadata;
|
|
2888
|
+
/**
|
|
2889
|
+
* Request fields rejected by the request's constraints. Present on validation
|
|
2890
|
+
* failures; one request may violate several fields.
|
|
2891
|
+
*/
|
|
2892
|
+
field_violations?: FieldViolation[];
|
|
2893
|
+
/**
|
|
2894
|
+
* How long the client should wait before retrying, as a duration string such as
|
|
2895
|
+
* `30s`. Present only when waiting can succeed.
|
|
2896
|
+
*/
|
|
2897
|
+
retry_delay?: string;
|
|
2898
|
+
/**
|
|
2899
|
+
* The identifier of the request in the service's logs. Quote it when reporting a
|
|
2900
|
+
* failure.
|
|
2901
|
+
*/
|
|
2902
|
+
request_id?: string;
|
|
2903
|
+
}
|
|
2904
|
+
/**
|
|
2905
|
+
* A failed request. The envelope follows the Google REST error format: `code` is the HTTP
|
|
2906
|
+
* status, `status` is its canonical name, and `reason` is the stable machine-readable code
|
|
2907
|
+
* that identifies the failure.
|
|
2908
|
+
*/
|
|
2909
|
+
export interface Error {
|
|
2910
|
+
error: ErrorStatus;
|
|
2911
|
+
}
|
|
2912
|
+
/**
|
|
2913
|
+
* The request conflicts with the current state of a resource or offering it involves. `COMPUTE_RESOURCE_BUSY`
|
|
2914
|
+
* means a resource has an operation in progress: `meta.resource_type`, such as `instance` or `elastic_ip`, and
|
|
2915
|
+
* `meta.resource_id` name it, and `meta.operation` is the type of that operation, which the resource's `status` also names while it runs.
|
|
2916
|
+
* Retry once it has finished. Other codes, such as `BILLING_OPTION_UNAVAILABLE`, are described where they
|
|
2917
|
+
* apply.
|
|
2918
|
+
*/
|
|
2919
|
+
export type ConflictResponse = Error;
|
|
2920
|
+
export type CancellationModeParameter = CancellationMode;
|
|
2921
|
+
export type ListAvailabilityZonesParams = {
|
|
2922
|
+
/**
|
|
2923
|
+
* Return only the zones of this region
|
|
2924
|
+
*/
|
|
2925
|
+
region_id?: RegionID;
|
|
2926
|
+
/**
|
|
2927
|
+
* 1-based page number. Defaults to 1.
|
|
2928
|
+
* @minimum 1
|
|
2929
|
+
* @maximum 2147483647
|
|
2930
|
+
*/
|
|
2931
|
+
page?: number;
|
|
2932
|
+
/**
|
|
2933
|
+
* Items per page. Defaults to 50; at most 200.
|
|
2934
|
+
* @minimum 1
|
|
2935
|
+
* @maximum 200
|
|
2936
|
+
*/
|
|
2937
|
+
page_size?: number;
|
|
2938
|
+
};
|
|
2939
|
+
export type ListElasticIpLinesParams = {
|
|
2940
|
+
region_id?: RegionID;
|
|
2941
|
+
/**
|
|
2942
|
+
* Search text matched against line names and descriptions; combined with the other filters using AND.
|
|
2943
|
+
* @minLength 1
|
|
2944
|
+
* @maxLength 255
|
|
2945
|
+
*/
|
|
2946
|
+
q?: string;
|
|
2947
|
+
/**
|
|
2948
|
+
* 1-based page number. Defaults to 1.
|
|
2949
|
+
* @minimum 1
|
|
2950
|
+
* @maximum 2147483647
|
|
2951
|
+
*/
|
|
2952
|
+
page?: number;
|
|
2953
|
+
/**
|
|
2954
|
+
* Items per page. Defaults to 50; at most 200.
|
|
2955
|
+
* @minimum 1
|
|
2956
|
+
* @maximum 200
|
|
2957
|
+
*/
|
|
2958
|
+
page_size?: number;
|
|
2959
|
+
};
|
|
2960
|
+
export type ListElasticIpsParams = {
|
|
2961
|
+
/**
|
|
2962
|
+
* 1-based page number. Defaults to 1.
|
|
2963
|
+
* @minimum 1
|
|
2964
|
+
* @maximum 2147483647
|
|
2965
|
+
*/
|
|
2966
|
+
page?: number;
|
|
2967
|
+
/**
|
|
2968
|
+
* Items per page. Defaults to 50; at most 200.
|
|
2969
|
+
* @minimum 1
|
|
2970
|
+
* @maximum 200
|
|
2971
|
+
*/
|
|
2972
|
+
page_size?: number;
|
|
2973
|
+
};
|
|
2974
|
+
export type DeleteElasticIpParams = {
|
|
2975
|
+
/**
|
|
2976
|
+
* When subscriptions end. immediate ends them now and refunds the unused value under their refund terms; period_end
|
|
2977
|
+
* ends them at the end of their paid period. The cancellation terms fixed when a subscription was bought decide which
|
|
2978
|
+
* modes it allows: a pay-as-you-go subscription ends only immediately, and a prepaid one whose terms allow only the
|
|
2979
|
+
* end of its paid period ends only then. Billing refuses a mode the terms do not allow with HTTP 422
|
|
2980
|
+
* BILLING_CANCELLATION_MODE_FIXED.
|
|
2981
|
+
*/
|
|
2982
|
+
cancellation_mode?: CancellationModeParameter;
|
|
2983
|
+
};
|
|
2984
|
+
export type ListElasticIpTrafficUsageParams = {
|
|
2985
|
+
interval?: ListElasticIpTrafficUsageInterval;
|
|
2986
|
+
start_time: string;
|
|
2987
|
+
end_time: string;
|
|
2988
|
+
/**
|
|
2989
|
+
* 1-based page number. Defaults to 1.
|
|
2990
|
+
* @minimum 1
|
|
2991
|
+
* @maximum 2147483647
|
|
2992
|
+
*/
|
|
2993
|
+
page?: number;
|
|
2994
|
+
/**
|
|
2995
|
+
* Items per page. Defaults to 50; at most 200.
|
|
2996
|
+
* @minimum 1
|
|
2997
|
+
* @maximum 200
|
|
2998
|
+
*/
|
|
2999
|
+
page_size?: number;
|
|
3000
|
+
};
|
|
3001
|
+
export type ListElasticIpTrafficUsageInterval = (typeof ListElasticIpTrafficUsageInterval)[keyof typeof ListElasticIpTrafficUsageInterval];
|
|
3002
|
+
export declare const ListElasticIpTrafficUsageInterval: {
|
|
3003
|
+
readonly hour: "hour";
|
|
3004
|
+
readonly day: "day";
|
|
3005
|
+
};
|
|
3006
|
+
export type ListInstanceFamiliesParams = {
|
|
3007
|
+
region_id?: RegionID;
|
|
3008
|
+
/**
|
|
3009
|
+
* 1-based page number. Defaults to 1.
|
|
3010
|
+
* @minimum 1
|
|
3011
|
+
* @maximum 2147483647
|
|
3012
|
+
*/
|
|
3013
|
+
page?: number;
|
|
3014
|
+
/**
|
|
3015
|
+
* Items per page. Defaults to 50; at most 200.
|
|
3016
|
+
* @minimum 1
|
|
3017
|
+
* @maximum 200
|
|
3018
|
+
*/
|
|
3019
|
+
page_size?: number;
|
|
3020
|
+
};
|
|
3021
|
+
export type ListInstanceTypesParams = {
|
|
3022
|
+
region_id?: RegionID;
|
|
3023
|
+
/**
|
|
3024
|
+
* Return only the types of this instance family.
|
|
3025
|
+
*/
|
|
3026
|
+
instance_family_id?: InstanceFamilyID;
|
|
3027
|
+
/**
|
|
3028
|
+
* Return only the types of this availability zone, sold out or not.
|
|
3029
|
+
*/
|
|
3030
|
+
availability_zone_id?: AvailabilityZoneID;
|
|
3031
|
+
/**
|
|
3032
|
+
* 1-based page number. Defaults to 1.
|
|
3033
|
+
* @minimum 1
|
|
3034
|
+
* @maximum 2147483647
|
|
3035
|
+
*/
|
|
3036
|
+
page?: number;
|
|
3037
|
+
/**
|
|
3038
|
+
* Items per page. Defaults to 50; at most 200.
|
|
3039
|
+
* @minimum 1
|
|
3040
|
+
* @maximum 200
|
|
3041
|
+
*/
|
|
3042
|
+
page_size?: number;
|
|
3043
|
+
};
|
|
3044
|
+
export type ListInstancesParams = {
|
|
3045
|
+
/**
|
|
3046
|
+
* A label to filter by, written as `key:value`
|
|
3047
|
+
* @maxLength 128
|
|
3048
|
+
*/
|
|
3049
|
+
label?: string;
|
|
3050
|
+
/**
|
|
3051
|
+
* 1-based page number. Defaults to 1.
|
|
3052
|
+
* @minimum 1
|
|
3053
|
+
* @maximum 2147483647
|
|
3054
|
+
*/
|
|
3055
|
+
page?: number;
|
|
3056
|
+
/**
|
|
3057
|
+
* Items per page. Defaults to 50; at most 200.
|
|
3058
|
+
* @minimum 1
|
|
3059
|
+
* @maximum 200
|
|
3060
|
+
*/
|
|
3061
|
+
page_size?: number;
|
|
3062
|
+
};
|
|
3063
|
+
export type DeleteInstanceParams = {
|
|
3064
|
+
/**
|
|
3065
|
+
* When subscriptions end. immediate ends them now and refunds the unused value under their refund terms; period_end
|
|
3066
|
+
* ends them at the end of their paid period. The cancellation terms fixed when a subscription was bought decide which
|
|
3067
|
+
* modes it allows: a pay-as-you-go subscription ends only immediately, and a prepaid one whose terms allow only the
|
|
3068
|
+
* end of its paid period ends only then. Billing refuses a mode the terms do not allow with HTTP 422
|
|
3069
|
+
* BILLING_CANCELLATION_MODE_FIXED.
|
|
3070
|
+
*/
|
|
3071
|
+
cancellation_mode?: CancellationModeParameter;
|
|
3072
|
+
};
|
|
3073
|
+
export type ListInstanceVolumesParams = {
|
|
3074
|
+
/**
|
|
3075
|
+
* 1-based page number. Defaults to 1.
|
|
3076
|
+
* @minimum 1
|
|
3077
|
+
* @maximum 2147483647
|
|
3078
|
+
*/
|
|
3079
|
+
page?: number;
|
|
3080
|
+
/**
|
|
3081
|
+
* Items per page. Defaults to 50; at most 200.
|
|
3082
|
+
* @minimum 1
|
|
3083
|
+
* @maximum 200
|
|
3084
|
+
*/
|
|
3085
|
+
page_size?: number;
|
|
3086
|
+
};
|
|
3087
|
+
export type ListInstanceNetworkInterfacesParams = {
|
|
3088
|
+
/**
|
|
3089
|
+
* 1-based page number. Defaults to 1.
|
|
3090
|
+
* @minimum 1
|
|
3091
|
+
* @maximum 2147483647
|
|
3092
|
+
*/
|
|
3093
|
+
page?: number;
|
|
3094
|
+
/**
|
|
3095
|
+
* Items per page. Defaults to 50; at most 200.
|
|
3096
|
+
* @minimum 1
|
|
3097
|
+
* @maximum 200
|
|
3098
|
+
*/
|
|
3099
|
+
page_size?: number;
|
|
3100
|
+
};
|
|
3101
|
+
export type ListLaunchTemplatesParams = {
|
|
3102
|
+
/**
|
|
3103
|
+
* Only launch templates of this region.
|
|
3104
|
+
*/
|
|
3105
|
+
region_id?: RegionID;
|
|
3106
|
+
/**
|
|
3107
|
+
* 1-based page number. Defaults to 1.
|
|
3108
|
+
* @minimum 1
|
|
3109
|
+
* @maximum 2147483647
|
|
3110
|
+
*/
|
|
3111
|
+
page?: number;
|
|
3112
|
+
/**
|
|
3113
|
+
* Items per page. Defaults to 50; at most 200.
|
|
3114
|
+
* @minimum 1
|
|
3115
|
+
* @maximum 200
|
|
3116
|
+
*/
|
|
3117
|
+
page_size?: number;
|
|
3118
|
+
};
|
|
3119
|
+
export type ListLaunchTemplateVersionsParams = {
|
|
3120
|
+
/**
|
|
3121
|
+
* 1-based page number. Defaults to 1.
|
|
3122
|
+
* @minimum 1
|
|
3123
|
+
* @maximum 2147483647
|
|
3124
|
+
*/
|
|
3125
|
+
page?: number;
|
|
3126
|
+
/**
|
|
3127
|
+
* Items per page. Defaults to 50; at most 200.
|
|
3128
|
+
* @minimum 1
|
|
3129
|
+
* @maximum 200
|
|
3130
|
+
*/
|
|
3131
|
+
page_size?: number;
|
|
3132
|
+
};
|
|
3133
|
+
export type ListNetworkInterfacesParams = {
|
|
3134
|
+
/**
|
|
3135
|
+
* 1-based page number. Defaults to 1.
|
|
3136
|
+
* @minimum 1
|
|
3137
|
+
* @maximum 2147483647
|
|
3138
|
+
*/
|
|
3139
|
+
page?: number;
|
|
3140
|
+
/**
|
|
3141
|
+
* Items per page. Defaults to 50; at most 200.
|
|
3142
|
+
* @minimum 1
|
|
3143
|
+
* @maximum 200
|
|
3144
|
+
*/
|
|
3145
|
+
page_size?: number;
|
|
3146
|
+
};
|
|
3147
|
+
export type ListOperationLogsParams = {
|
|
3148
|
+
/**
|
|
3149
|
+
* Return a single kind of operation; the value matches the operation id of the endpoint
|
|
3150
|
+
* @maxLength 64
|
|
3151
|
+
*/
|
|
3152
|
+
action?: string;
|
|
3153
|
+
/**
|
|
3154
|
+
* 1-based page number. Defaults to 1.
|
|
3155
|
+
* @minimum 1
|
|
3156
|
+
* @maximum 2147483647
|
|
3157
|
+
*/
|
|
3158
|
+
page?: number;
|
|
3159
|
+
/**
|
|
3160
|
+
* Items per page. Defaults to 50; at most 200.
|
|
3161
|
+
* @minimum 1
|
|
3162
|
+
* @maximum 200
|
|
3163
|
+
*/
|
|
3164
|
+
page_size?: number;
|
|
3165
|
+
};
|
|
3166
|
+
export type ListPrivateImagesParams = {
|
|
3167
|
+
/**
|
|
3168
|
+
* Return only the images of this region
|
|
3169
|
+
*/
|
|
3170
|
+
region_id?: RegionID;
|
|
3171
|
+
/**
|
|
3172
|
+
* 1-based page number. Defaults to 1.
|
|
3173
|
+
* @minimum 1
|
|
3174
|
+
* @maximum 2147483647
|
|
3175
|
+
*/
|
|
3176
|
+
page?: number;
|
|
3177
|
+
/**
|
|
3178
|
+
* Items per page. Defaults to 50; at most 200.
|
|
3179
|
+
* @minimum 1
|
|
3180
|
+
* @maximum 200
|
|
3181
|
+
*/
|
|
3182
|
+
page_size?: number;
|
|
3183
|
+
};
|
|
3184
|
+
export type DeletePrivateImageParams = {
|
|
3185
|
+
/**
|
|
3186
|
+
* When subscriptions end. immediate ends them now and refunds the unused value under their refund terms; period_end
|
|
3187
|
+
* ends them at the end of their paid period. The cancellation terms fixed when a subscription was bought decide which
|
|
3188
|
+
* modes it allows: a pay-as-you-go subscription ends only immediately, and a prepaid one whose terms allow only the
|
|
3189
|
+
* end of its paid period ends only then. Billing refuses a mode the terms do not allow with HTTP 422
|
|
3190
|
+
* BILLING_CANCELLATION_MODE_FIXED.
|
|
3191
|
+
*/
|
|
3192
|
+
cancellation_mode?: CancellationModeParameter;
|
|
3193
|
+
};
|
|
3194
|
+
export type ListPublicImagesParams = {
|
|
3195
|
+
/**
|
|
3196
|
+
* Return only the images of this region
|
|
3197
|
+
*/
|
|
3198
|
+
region_id?: RegionID;
|
|
3199
|
+
/**
|
|
3200
|
+
* 1-based page number. Defaults to 1.
|
|
3201
|
+
* @minimum 1
|
|
3202
|
+
* @maximum 2147483647
|
|
3203
|
+
*/
|
|
3204
|
+
page?: number;
|
|
3205
|
+
/**
|
|
3206
|
+
* Items per page. Defaults to 50; at most 200.
|
|
3207
|
+
* @minimum 1
|
|
3208
|
+
* @maximum 200
|
|
3209
|
+
*/
|
|
3210
|
+
page_size?: number;
|
|
3211
|
+
};
|
|
3212
|
+
export type ListQuotasParams = {
|
|
3213
|
+
/**
|
|
3214
|
+
* 1-based page number. Defaults to 1.
|
|
3215
|
+
* @minimum 1
|
|
3216
|
+
* @maximum 2147483647
|
|
3217
|
+
*/
|
|
3218
|
+
page?: number;
|
|
3219
|
+
/**
|
|
3220
|
+
* Items per page. Defaults to 50; at most 200.
|
|
3221
|
+
* @minimum 1
|
|
3222
|
+
* @maximum 200
|
|
3223
|
+
*/
|
|
3224
|
+
page_size?: number;
|
|
3225
|
+
};
|
|
3226
|
+
export type ListRegionsParams = {
|
|
3227
|
+
/**
|
|
3228
|
+
* 1-based page number. Defaults to 1.
|
|
3229
|
+
* @minimum 1
|
|
3230
|
+
* @maximum 2147483647
|
|
3231
|
+
*/
|
|
3232
|
+
page?: number;
|
|
3233
|
+
/**
|
|
3234
|
+
* Items per page. Defaults to 50; at most 200.
|
|
3235
|
+
* @minimum 1
|
|
3236
|
+
* @maximum 200
|
|
3237
|
+
*/
|
|
3238
|
+
page_size?: number;
|
|
3239
|
+
};
|
|
3240
|
+
export type ListSecurityGroupRulesParams = {
|
|
3241
|
+
/**
|
|
3242
|
+
* 1-based page number. Defaults to 1.
|
|
3243
|
+
* @minimum 1
|
|
3244
|
+
* @maximum 2147483647
|
|
3245
|
+
*/
|
|
3246
|
+
page?: number;
|
|
3247
|
+
/**
|
|
3248
|
+
* Items per page. Defaults to 50; at most 200.
|
|
3249
|
+
* @minimum 1
|
|
3250
|
+
* @maximum 200
|
|
3251
|
+
*/
|
|
3252
|
+
page_size?: number;
|
|
3253
|
+
};
|
|
3254
|
+
export type ListSecurityGroupsParams = {
|
|
3255
|
+
/**
|
|
3256
|
+
* Only security groups in this region.
|
|
3257
|
+
*/
|
|
3258
|
+
region_id?: RegionID;
|
|
3259
|
+
/**
|
|
3260
|
+
* Only security groups of this virtual private cloud.
|
|
3261
|
+
*/
|
|
3262
|
+
virtual_private_cloud_id?: VirtualPrivateCloudID;
|
|
3263
|
+
/**
|
|
3264
|
+
* 1-based page number. Defaults to 1.
|
|
3265
|
+
* @minimum 1
|
|
3266
|
+
* @maximum 2147483647
|
|
3267
|
+
*/
|
|
3268
|
+
page?: number;
|
|
3269
|
+
/**
|
|
3270
|
+
* Items per page. Defaults to 50; at most 200.
|
|
3271
|
+
* @minimum 1
|
|
3272
|
+
* @maximum 200
|
|
3273
|
+
*/
|
|
3274
|
+
page_size?: number;
|
|
3275
|
+
};
|
|
3276
|
+
export type ListVirtualPrivateCloudPeeringsParams = {
|
|
3277
|
+
/**
|
|
3278
|
+
* 1-based page number. Defaults to 1.
|
|
3279
|
+
* @minimum 1
|
|
3280
|
+
* @maximum 2147483647
|
|
3281
|
+
*/
|
|
3282
|
+
page?: number;
|
|
3283
|
+
/**
|
|
3284
|
+
* Items per page. Defaults to 50; at most 200.
|
|
3285
|
+
* @minimum 1
|
|
3286
|
+
* @maximum 200
|
|
3287
|
+
*/
|
|
3288
|
+
page_size?: number;
|
|
3289
|
+
};
|
|
3290
|
+
export type ListVirtualPrivateCloudRoutesParams = {
|
|
3291
|
+
/**
|
|
3292
|
+
* 1-based page number. Defaults to 1.
|
|
3293
|
+
* @minimum 1
|
|
3294
|
+
* @maximum 2147483647
|
|
3295
|
+
*/
|
|
3296
|
+
page?: number;
|
|
3297
|
+
/**
|
|
3298
|
+
* Items per page. Defaults to 50; at most 200.
|
|
3299
|
+
* @minimum 1
|
|
3300
|
+
* @maximum 200
|
|
3301
|
+
*/
|
|
3302
|
+
page_size?: number;
|
|
3303
|
+
};
|
|
3304
|
+
export type ListVirtualPrivateCloudSubnetsParams = {
|
|
3305
|
+
/**
|
|
3306
|
+
* 1-based page number. Defaults to 1.
|
|
3307
|
+
* @minimum 1
|
|
3308
|
+
* @maximum 2147483647
|
|
3309
|
+
*/
|
|
3310
|
+
page?: number;
|
|
3311
|
+
/**
|
|
3312
|
+
* Items per page. Defaults to 50; at most 200.
|
|
3313
|
+
* @minimum 1
|
|
3314
|
+
* @maximum 200
|
|
3315
|
+
*/
|
|
3316
|
+
page_size?: number;
|
|
3317
|
+
};
|
|
3318
|
+
export type ListVirtualPrivateCloudsParams = {
|
|
3319
|
+
/**
|
|
3320
|
+
* Returns every region when omitted
|
|
3321
|
+
*/
|
|
3322
|
+
region_id?: RegionID;
|
|
3323
|
+
/**
|
|
3324
|
+
* 1-based page number. Defaults to 1.
|
|
3325
|
+
* @minimum 1
|
|
3326
|
+
* @maximum 2147483647
|
|
3327
|
+
*/
|
|
3328
|
+
page?: number;
|
|
3329
|
+
/**
|
|
3330
|
+
* Items per page. Defaults to 50; at most 200.
|
|
3331
|
+
* @minimum 1
|
|
3332
|
+
* @maximum 200
|
|
3333
|
+
*/
|
|
3334
|
+
page_size?: number;
|
|
3335
|
+
};
|
|
3336
|
+
export type GetVirtualPrivateCloudFreeSubnetCidrParams = {
|
|
3337
|
+
/**
|
|
3338
|
+
* @minimum 16
|
|
3339
|
+
* @maximum 30
|
|
3340
|
+
*/
|
|
3341
|
+
prefix_length?: number;
|
|
3342
|
+
};
|
|
3343
|
+
export type ListVolumeBackupsParams = {
|
|
3344
|
+
/**
|
|
3345
|
+
* Return only the backups of this volume
|
|
3346
|
+
*/
|
|
3347
|
+
volume_id?: VolumeID;
|
|
3348
|
+
/**
|
|
3349
|
+
* 1-based page number. Defaults to 1.
|
|
3350
|
+
* @minimum 1
|
|
3351
|
+
* @maximum 2147483647
|
|
3352
|
+
*/
|
|
3353
|
+
page?: number;
|
|
3354
|
+
/**
|
|
3355
|
+
* Items per page. Defaults to 50; at most 200.
|
|
3356
|
+
* @minimum 1
|
|
3357
|
+
* @maximum 200
|
|
3358
|
+
*/
|
|
3359
|
+
page_size?: number;
|
|
3360
|
+
};
|
|
3361
|
+
export type DeleteVolumeBackupParams = {
|
|
3362
|
+
/**
|
|
3363
|
+
* When subscriptions end. immediate ends them now and refunds the unused value under their refund terms; period_end
|
|
3364
|
+
* ends them at the end of their paid period. The cancellation terms fixed when a subscription was bought decide which
|
|
3365
|
+
* modes it allows: a pay-as-you-go subscription ends only immediately, and a prepaid one whose terms allow only the
|
|
3366
|
+
* end of its paid period ends only then. Billing refuses a mode the terms do not allow with HTTP 422
|
|
3367
|
+
* BILLING_CANCELLATION_MODE_FIXED.
|
|
3368
|
+
*/
|
|
3369
|
+
cancellation_mode?: CancellationModeParameter;
|
|
3370
|
+
};
|
|
3371
|
+
export type ListVolumeSnapshotsParams = {
|
|
3372
|
+
/**
|
|
3373
|
+
* Return only the snapshots of this volume
|
|
3374
|
+
*/
|
|
3375
|
+
volume_id?: VolumeID;
|
|
3376
|
+
/**
|
|
3377
|
+
* 1-based page number. Defaults to 1.
|
|
3378
|
+
* @minimum 1
|
|
3379
|
+
* @maximum 2147483647
|
|
3380
|
+
*/
|
|
3381
|
+
page?: number;
|
|
3382
|
+
/**
|
|
3383
|
+
* Items per page. Defaults to 50; at most 200.
|
|
3384
|
+
* @minimum 1
|
|
3385
|
+
* @maximum 200
|
|
3386
|
+
*/
|
|
3387
|
+
page_size?: number;
|
|
3388
|
+
};
|
|
3389
|
+
export type DeleteVolumeSnapshotParams = {
|
|
3390
|
+
/**
|
|
3391
|
+
* When subscriptions end. immediate ends them now and refunds the unused value under their refund terms; period_end
|
|
3392
|
+
* ends them at the end of their paid period. The cancellation terms fixed when a subscription was bought decide which
|
|
3393
|
+
* modes it allows: a pay-as-you-go subscription ends only immediately, and a prepaid one whose terms allow only the
|
|
3394
|
+
* end of its paid period ends only then. Billing refuses a mode the terms do not allow with HTTP 422
|
|
3395
|
+
* BILLING_CANCELLATION_MODE_FIXED.
|
|
3396
|
+
*/
|
|
3397
|
+
cancellation_mode?: CancellationModeParameter;
|
|
3398
|
+
};
|
|
3399
|
+
export type ListVolumeTypesParams = {
|
|
3400
|
+
region_id?: RegionID;
|
|
3401
|
+
/**
|
|
3402
|
+
* Return only the types of this availability zone, sold out or not.
|
|
3403
|
+
*/
|
|
3404
|
+
availability_zone_id?: AvailabilityZoneID;
|
|
3405
|
+
/**
|
|
3406
|
+
* 1-based page number. Defaults to 1.
|
|
3407
|
+
* @minimum 1
|
|
3408
|
+
* @maximum 2147483647
|
|
3409
|
+
*/
|
|
3410
|
+
page?: number;
|
|
3411
|
+
/**
|
|
3412
|
+
* Items per page. Defaults to 50; at most 200.
|
|
3413
|
+
* @minimum 1
|
|
3414
|
+
* @maximum 200
|
|
3415
|
+
*/
|
|
3416
|
+
page_size?: number;
|
|
3417
|
+
};
|
|
3418
|
+
export type ListVolumesParams = {
|
|
3419
|
+
region_id?: RegionID;
|
|
3420
|
+
/**
|
|
3421
|
+
* Supplied together with `region_id` to filter attachable volumes
|
|
3422
|
+
*/
|
|
3423
|
+
availability_zone_id?: AvailabilityZoneID;
|
|
3424
|
+
/**
|
|
3425
|
+
* 1-based page number. Defaults to 1.
|
|
3426
|
+
* @minimum 1
|
|
3427
|
+
* @maximum 2147483647
|
|
3428
|
+
*/
|
|
3429
|
+
page?: number;
|
|
3430
|
+
/**
|
|
3431
|
+
* Items per page. Defaults to 50; at most 200.
|
|
3432
|
+
* @minimum 1
|
|
3433
|
+
* @maximum 200
|
|
3434
|
+
*/
|
|
3435
|
+
page_size?: number;
|
|
3436
|
+
};
|
|
3437
|
+
export type DeleteVolumeParams = {
|
|
3438
|
+
/**
|
|
3439
|
+
* When subscriptions end. immediate ends them now and refunds the unused value under their refund terms; period_end
|
|
3440
|
+
* ends them at the end of their paid period. The cancellation terms fixed when a subscription was bought decide which
|
|
3441
|
+
* modes it allows: a pay-as-you-go subscription ends only immediately, and a prepaid one whose terms allow only the
|
|
3442
|
+
* end of its paid period ends only then. Billing refuses a mode the terms do not allow with HTTP 422
|
|
3443
|
+
* BILLING_CANCELLATION_MODE_FIXED.
|
|
3444
|
+
*/
|
|
3445
|
+
cancellation_mode?: CancellationModeParameter;
|
|
3446
|
+
};
|