@leaflow/sdk 0.0.0-dev.43.g1ad4bd0 → 0.0.0-dev.433.g7e48b8f

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2722) hide show
  1. package/README.md +21 -26
  2. package/dist/account/v1/generated/functions.d.ts +596 -0
  3. package/dist/account/v1/generated/functions.js +599 -0
  4. package/dist/account/v1/generated/models.d.ts +618 -0
  5. package/dist/account/v1/generated/models.js +71 -0
  6. package/dist/account/v1/generated/schemas.zod.d.ts +224 -0
  7. package/dist/account/v1/generated/schemas.zod.js +220 -0
  8. package/dist/account/v1/generated/validators/acceptConsentsRequestBody.zod.d.ts +38 -0
  9. package/dist/account/v1/generated/validators/acceptConsentsRequestBody.zod.js +30 -0
  10. package/dist/account/v1/generated/validators/acceptInvitationByTokenRequestBody.zod.d.ts +32 -0
  11. package/dist/account/v1/generated/validators/acceptInvitationByTokenRequestBody.zod.js +34 -0
  12. package/dist/account/v1/generated/validators/acceptedInvitationResponseBody.zod.d.ts +55 -0
  13. package/dist/account/v1/generated/validators/acceptedInvitationResponseBody.zod.js +30 -0
  14. package/dist/account/v1/generated/validators/accountDeletionObjectionResource.zod.d.ts +32 -0
  15. package/dist/account/v1/generated/validators/accountDeletionObjectionResource.zod.js +32 -0
  16. package/dist/account/v1/generated/validators/accountDeletionResource.zod.d.ts +69 -0
  17. package/dist/account/v1/generated/validators/accountDeletionResource.zod.js +53 -0
  18. package/dist/account/v1/generated/validators/accountDeletionState.zod.d.ts +34 -0
  19. package/dist/account/v1/generated/validators/accountDeletionState.zod.js +29 -0
  20. package/dist/account/v1/generated/validators/accountResource.zod.d.ts +54 -0
  21. package/dist/account/v1/generated/validators/accountResource.zod.js +45 -0
  22. package/dist/account/v1/generated/validators/agreementListResponseBody.zod.d.ts +40 -0
  23. package/dist/account/v1/generated/validators/agreementListResponseBody.zod.js +30 -0
  24. package/dist/account/v1/generated/validators/agreementResource.zod.d.ts +38 -0
  25. package/dist/account/v1/generated/validators/agreementResource.zod.js +34 -0
  26. package/dist/account/v1/generated/validators/consentBody.zod.d.ts +37 -0
  27. package/dist/account/v1/generated/validators/consentBody.zod.js +31 -0
  28. package/dist/account/v1/generated/validators/consentListResponseBody.zod.d.ts +43 -0
  29. package/dist/account/v1/generated/validators/consentListResponseBody.zod.js +30 -0
  30. package/dist/account/v1/generated/validators/consentResource.zod.d.ts +41 -0
  31. package/dist/account/v1/generated/validators/consentResource.zod.js +34 -0
  32. package/dist/account/v1/generated/validators/countryOption.zod.d.ts +32 -0
  33. package/dist/account/v1/generated/validators/countryOption.zod.js +30 -0
  34. package/dist/account/v1/generated/validators/createProjectRequestBody.zod.d.ts +36 -0
  35. package/dist/account/v1/generated/validators/createProjectRequestBody.zod.js +38 -0
  36. package/dist/account/v1/generated/validators/cursorPagination.zod.d.ts +32 -0
  37. package/dist/account/v1/generated/validators/cursorPagination.zod.js +32 -0
  38. package/dist/account/v1/generated/validators/error.zod.d.ts +43 -0
  39. package/dist/account/v1/generated/validators/error.zod.js +32 -0
  40. package/dist/account/v1/generated/validators/errorStatus.zod.d.ts +41 -0
  41. package/dist/account/v1/generated/validators/errorStatus.zod.js +56 -0
  42. package/dist/account/v1/generated/validators/fieldViolation.zod.d.ts +32 -0
  43. package/dist/account/v1/generated/validators/fieldViolation.zod.js +35 -0
  44. package/dist/account/v1/generated/validators/grantResource.zod.d.ts +44 -0
  45. package/dist/account/v1/generated/validators/grantResource.zod.js +36 -0
  46. package/dist/account/v1/generated/validators/identityVerificationResource.zod.d.ts +40 -0
  47. package/dist/account/v1/generated/validators/identityVerificationResource.zod.js +34 -0
  48. package/dist/account/v1/generated/validators/invitationPreviewResource.zod.d.ts +35 -0
  49. package/dist/account/v1/generated/validators/invitationPreviewResource.zod.js +42 -0
  50. package/dist/account/v1/generated/validators/invitationResource.zod.d.ts +40 -0
  51. package/dist/account/v1/generated/validators/invitationResource.zod.js +43 -0
  52. package/dist/account/v1/generated/validators/languageOption.zod.d.ts +36 -0
  53. package/dist/account/v1/generated/validators/languageOption.zod.js +33 -0
  54. package/dist/account/v1/generated/validators/lengthAwarePageInvitationResource.zod.d.ts +45 -0
  55. package/dist/account/v1/generated/validators/lengthAwarePageInvitationResource.zod.js +33 -0
  56. package/dist/account/v1/generated/validators/lengthAwarePageProjectAccessResource.zod.d.ts +76 -0
  57. package/dist/account/v1/generated/validators/lengthAwarePageProjectAccessResource.zod.js +33 -0
  58. package/dist/account/v1/generated/validators/listMyInvitationsParams.zod.d.ts +37 -0
  59. package/dist/account/v1/generated/validators/listMyInvitationsParams.zod.js +43 -0
  60. package/dist/account/v1/generated/validators/listProjectsParams.zod.d.ts +41 -0
  61. package/dist/account/v1/generated/validators/listProjectsParams.zod.js +47 -0
  62. package/dist/account/v1/generated/validators/locale.zod.d.ts +33 -0
  63. package/dist/account/v1/generated/validators/locale.zod.js +29 -0
  64. package/dist/account/v1/generated/validators/localeOptionsResource.zod.d.ts +42 -0
  65. package/dist/account/v1/generated/validators/localeOptionsResource.zod.js +32 -0
  66. package/dist/account/v1/generated/validators/offsetPagination.zod.d.ts +34 -0
  67. package/dist/account/v1/generated/validators/offsetPagination.zod.js +34 -0
  68. package/dist/account/v1/generated/validators/previewInvitationByTokenParams.zod.d.ts +32 -0
  69. package/dist/account/v1/generated/validators/previewInvitationByTokenParams.zod.js +30 -0
  70. package/dist/account/v1/generated/validators/projectAccessList.zod.d.ts +78 -0
  71. package/dist/account/v1/generated/validators/projectAccessList.zod.js +32 -0
  72. package/dist/account/v1/generated/validators/projectAccessResource.zod.d.ts +71 -0
  73. package/dist/account/v1/generated/validators/projectAccessResource.zod.js +32 -0
  74. package/dist/account/v1/generated/validators/projectResource.zod.d.ts +54 -0
  75. package/dist/account/v1/generated/validators/projectResource.zod.js +49 -0
  76. package/dist/account/v1/generated/validators/projectSlugAvailabilityResource.zod.d.ts +36 -0
  77. package/dist/account/v1/generated/validators/projectSlugAvailabilityResource.zod.js +32 -0
  78. package/dist/account/v1/generated/validators/projectStatus.zod.d.ts +33 -0
  79. package/dist/account/v1/generated/validators/projectStatus.zod.js +29 -0
  80. package/dist/account/v1/generated/validators/projectTraitResource.zod.d.ts +37 -0
  81. package/dist/account/v1/generated/validators/projectTraitResource.zod.js +32 -0
  82. package/dist/account/v1/generated/validators/registerRequestBody.zod.d.ts +46 -0
  83. package/dist/account/v1/generated/validators/registerRequestBody.zod.js +42 -0
  84. package/dist/account/v1/generated/validators/requestAccountDeletionParams.zod.d.ts +31 -0
  85. package/dist/account/v1/generated/validators/requestAccountDeletionParams.zod.js +29 -0
  86. package/dist/account/v1/generated/validators/resourceRefResource.zod.d.ts +32 -0
  87. package/dist/account/v1/generated/validators/resourceRefResource.zod.js +34 -0
  88. package/dist/account/v1/generated/validators/ruleResource.zod.d.ts +39 -0
  89. package/dist/account/v1/generated/validators/ruleResource.zod.js +38 -0
  90. package/dist/account/v1/generated/validators/scopedTokenResponseBody.zod.d.ts +75 -0
  91. package/dist/account/v1/generated/validators/scopedTokenResponseBody.zod.js +38 -0
  92. package/dist/account/v1/generated/validators/searchProjectsRequestBody.zod.d.ts +41 -0
  93. package/dist/account/v1/generated/validators/searchProjectsRequestBody.zod.js +54 -0
  94. package/dist/account/v1/generated/validators/settingsResource.zod.d.ts +42 -0
  95. package/dist/account/v1/generated/validators/settingsResource.zod.js +40 -0
  96. package/dist/account/v1/generated/validators/submitIdentityVerificationRequestBody.zod.d.ts +35 -0
  97. package/dist/account/v1/generated/validators/submitIdentityVerificationRequestBody.zod.js +41 -0
  98. package/dist/account/v1/generated/validators/updateAccountRequestBody.zod.d.ts +38 -0
  99. package/dist/account/v1/generated/validators/updateAccountRequestBody.zod.js +40 -0
  100. package/dist/account/v1/index.d.ts +3 -44
  101. package/dist/account/v1/index.js +3 -5
  102. package/dist/assistant/v1/generated/functions.d.ts +1721 -0
  103. package/dist/assistant/v1/generated/functions.js +1899 -0
  104. package/dist/assistant/v1/generated/models.d.ts +2193 -0
  105. package/dist/assistant/v1/generated/models.js +293 -0
  106. package/dist/assistant/v1/generated/schemas.zod.d.ts +914 -0
  107. package/dist/assistant/v1/generated/schemas.zod.js +855 -0
  108. package/dist/assistant/v1/generated/validators/answerQuestionRequestBody.zod.d.ts +30 -0
  109. package/dist/assistant/v1/generated/validators/answerQuestionRequestBody.zod.js +28 -0
  110. package/dist/assistant/v1/generated/validators/approvalMode.zod.d.ts +32 -0
  111. package/dist/assistant/v1/generated/validators/approvalMode.zod.js +28 -0
  112. package/dist/assistant/v1/generated/validators/attachmentResource.zod.d.ts +39 -0
  113. package/dist/assistant/v1/generated/validators/attachmentResource.zod.js +38 -0
  114. package/dist/assistant/v1/generated/validators/bindingCodeResponseBody.zod.d.ts +31 -0
  115. package/dist/assistant/v1/generated/validators/bindingCodeResponseBody.zod.js +29 -0
  116. package/dist/assistant/v1/generated/validators/bindingResource.zod.d.ts +46 -0
  117. package/dist/assistant/v1/generated/validators/bindingResource.zod.js +35 -0
  118. package/dist/assistant/v1/generated/validators/channelResource.zod.d.ts +56 -0
  119. package/dist/assistant/v1/generated/validators/channelResource.zod.js +48 -0
  120. package/dist/assistant/v1/generated/validators/channelWithSecretResponseBody.zod.d.ts +57 -0
  121. package/dist/assistant/v1/generated/validators/channelWithSecretResponseBody.zod.js +52 -0
  122. package/dist/assistant/v1/generated/validators/checkSenderParams.zod.d.ts +31 -0
  123. package/dist/assistant/v1/generated/validators/checkSenderParams.zod.js +34 -0
  124. package/dist/assistant/v1/generated/validators/choiceResource.zod.d.ts +31 -0
  125. package/dist/assistant/v1/generated/validators/choiceResource.zod.js +29 -0
  126. package/dist/assistant/v1/generated/validators/clientActionRequest.zod.d.ts +42 -0
  127. package/dist/assistant/v1/generated/validators/clientActionRequest.zod.js +42 -0
  128. package/dist/assistant/v1/generated/validators/clientContextPart.zod.d.ts +31 -0
  129. package/dist/assistant/v1/generated/validators/clientContextPart.zod.js +31 -0
  130. package/dist/assistant/v1/generated/validators/clientContextRequest.zod.d.ts +47 -0
  131. package/dist/assistant/v1/generated/validators/clientContextRequest.zod.js +48 -0
  132. package/dist/assistant/v1/generated/validators/clientFunctionRequest.zod.d.ts +35 -0
  133. package/dist/assistant/v1/generated/validators/clientFunctionRequest.zod.js +43 -0
  134. package/dist/assistant/v1/generated/validators/completeUploadRequestBody.zod.d.ts +30 -0
  135. package/dist/assistant/v1/generated/validators/completeUploadRequestBody.zod.js +28 -0
  136. package/dist/assistant/v1/generated/validators/contextUsageResource.zod.d.ts +31 -0
  137. package/dist/assistant/v1/generated/validators/contextUsageResource.zod.js +37 -0
  138. package/dist/assistant/v1/generated/validators/createChannelRequestBody.zod.d.ts +39 -0
  139. package/dist/assistant/v1/generated/validators/createChannelRequestBody.zod.js +40 -0
  140. package/dist/assistant/v1/generated/validators/createFolderRequestBody.zod.d.ts +31 -0
  141. package/dist/assistant/v1/generated/validators/createFolderRequestBody.zod.js +29 -0
  142. package/dist/assistant/v1/generated/validators/createTaskRequestBody.zod.d.ts +61 -0
  143. package/dist/assistant/v1/generated/validators/createTaskRequestBody.zod.js +35 -0
  144. package/dist/assistant/v1/generated/validators/createThreadRequestBody.zod.d.ts +70 -0
  145. package/dist/assistant/v1/generated/validators/createThreadRequestBody.zod.js +48 -0
  146. package/dist/assistant/v1/generated/validators/createThreadResponseBody.zod.d.ts +119 -0
  147. package/dist/assistant/v1/generated/validators/createThreadResponseBody.zod.js +33 -0
  148. package/dist/assistant/v1/generated/validators/createUploadRequestBody.zod.d.ts +37 -0
  149. package/dist/assistant/v1/generated/validators/createUploadRequestBody.zod.js +35 -0
  150. package/dist/assistant/v1/generated/validators/credentialFieldResource.zod.d.ts +34 -0
  151. package/dist/assistant/v1/generated/validators/credentialFieldResource.zod.js +32 -0
  152. package/dist/assistant/v1/generated/validators/cursorPagination.zod.d.ts +31 -0
  153. package/dist/assistant/v1/generated/validators/cursorPagination.zod.js +31 -0
  154. package/dist/assistant/v1/generated/validators/decideToolCallsRequestBody.zod.d.ts +33 -0
  155. package/dist/assistant/v1/generated/validators/decideToolCallsRequestBody.zod.js +38 -0
  156. package/dist/assistant/v1/generated/validators/defaultModelResource.zod.d.ts +39 -0
  157. package/dist/assistant/v1/generated/validators/defaultModelResource.zod.js +38 -0
  158. package/dist/assistant/v1/generated/validators/error.zod.d.ts +42 -0
  159. package/dist/assistant/v1/generated/validators/error.zod.js +31 -0
  160. package/dist/assistant/v1/generated/validators/errorStatus.zod.d.ts +40 -0
  161. package/dist/assistant/v1/generated/validators/errorStatus.zod.js +55 -0
  162. package/dist/assistant/v1/generated/validators/fieldViolation.zod.d.ts +31 -0
  163. package/dist/assistant/v1/generated/validators/fieldViolation.zod.js +34 -0
  164. package/dist/assistant/v1/generated/validators/fileDiffResource.zod.d.ts +38 -0
  165. package/dist/assistant/v1/generated/validators/fileDiffResource.zod.js +37 -0
  166. package/dist/assistant/v1/generated/validators/folderCountsResource.zod.d.ts +35 -0
  167. package/dist/assistant/v1/generated/validators/folderCountsResource.zod.js +35 -0
  168. package/dist/assistant/v1/generated/validators/folderListResponseBody.zod.d.ts +45 -0
  169. package/dist/assistant/v1/generated/validators/folderListResponseBody.zod.js +29 -0
  170. package/dist/assistant/v1/generated/validators/folderResource.zod.d.ts +44 -0
  171. package/dist/assistant/v1/generated/validators/folderResource.zod.js +38 -0
  172. package/dist/assistant/v1/generated/validators/itemFrame.zod.d.ts +36 -0
  173. package/dist/assistant/v1/generated/validators/itemFrame.zod.js +32 -0
  174. package/dist/assistant/v1/generated/validators/itemSourceResource.zod.d.ts +36 -0
  175. package/dist/assistant/v1/generated/validators/itemSourceResource.zod.js +31 -0
  176. package/dist/assistant/v1/generated/validators/lastTurnResource.zod.d.ts +43 -0
  177. package/dist/assistant/v1/generated/validators/lastTurnResource.zod.js +37 -0
  178. package/dist/assistant/v1/generated/validators/lengthAwarePageBindingResource.zod.d.ts +51 -0
  179. package/dist/assistant/v1/generated/validators/lengthAwarePageBindingResource.zod.js +32 -0
  180. package/dist/assistant/v1/generated/validators/lengthAwarePageChannelResource.zod.d.ts +61 -0
  181. package/dist/assistant/v1/generated/validators/lengthAwarePageChannelResource.zod.js +32 -0
  182. package/dist/assistant/v1/generated/validators/listBindingsParams.zod.d.ts +39 -0
  183. package/dist/assistant/v1/generated/validators/listBindingsParams.zod.js +41 -0
  184. package/dist/assistant/v1/generated/validators/listChannelRejectionsParams.zod.d.ts +33 -0
  185. package/dist/assistant/v1/generated/validators/listChannelRejectionsParams.zod.js +35 -0
  186. package/dist/assistant/v1/generated/validators/listChannelsParams.zod.d.ts +38 -0
  187. package/dist/assistant/v1/generated/validators/listChannelsParams.zod.js +40 -0
  188. package/dist/assistant/v1/generated/validators/listTaskRunsParams.zod.d.ts +34 -0
  189. package/dist/assistant/v1/generated/validators/listTaskRunsParams.zod.js +32 -0
  190. package/dist/assistant/v1/generated/validators/listThreadItemsParams.zod.d.ts +38 -0
  191. package/dist/assistant/v1/generated/validators/listThreadItemsParams.zod.js +40 -0
  192. package/dist/assistant/v1/generated/validators/listThreadMessagesParams.zod.d.ts +36 -0
  193. package/dist/assistant/v1/generated/validators/listThreadMessagesParams.zod.js +42 -0
  194. package/dist/assistant/v1/generated/validators/listThreadTurnsParams.zod.d.ts +36 -0
  195. package/dist/assistant/v1/generated/validators/listThreadTurnsParams.zod.js +38 -0
  196. package/dist/assistant/v1/generated/validators/loginResource.zod.d.ts +41 -0
  197. package/dist/assistant/v1/generated/validators/loginResource.zod.js +36 -0
  198. package/dist/assistant/v1/generated/validators/memoryListResponseBody.zod.d.ts +37 -0
  199. package/dist/assistant/v1/generated/validators/memoryListResponseBody.zod.js +29 -0
  200. package/dist/assistant/v1/generated/validators/memoryResource.zod.d.ts +35 -0
  201. package/dist/assistant/v1/generated/validators/memoryResource.zod.js +38 -0
  202. package/dist/assistant/v1/generated/validators/messagePart.zod.d.ts +34 -0
  203. package/dist/assistant/v1/generated/validators/messagePart.zod.js +37 -0
  204. package/dist/assistant/v1/generated/validators/moveFolderRequestBody.zod.d.ts +32 -0
  205. package/dist/assistant/v1/generated/validators/moveFolderRequestBody.zod.js +30 -0
  206. package/dist/assistant/v1/generated/validators/offsetPagination.zod.d.ts +33 -0
  207. package/dist/assistant/v1/generated/validators/offsetPagination.zod.js +33 -0
  208. package/dist/assistant/v1/generated/validators/openRealtimeParams.zod.d.ts +31 -0
  209. package/dist/assistant/v1/generated/validators/openRealtimeParams.zod.js +29 -0
  210. package/dist/assistant/v1/generated/validators/partResource.zod.d.ts +36 -0
  211. package/dist/assistant/v1/generated/validators/partResource.zod.js +36 -0
  212. package/dist/assistant/v1/generated/validators/pendingActionResource.zod.d.ts +35 -0
  213. package/dist/assistant/v1/generated/validators/pendingActionResource.zod.js +37 -0
  214. package/dist/assistant/v1/generated/validators/placeThreadRequestBody.zod.d.ts +33 -0
  215. package/dist/assistant/v1/generated/validators/placeThreadRequestBody.zod.js +34 -0
  216. package/dist/assistant/v1/generated/validators/platformListResponseBody.zod.d.ts +56 -0
  217. package/dist/assistant/v1/generated/validators/platformListResponseBody.zod.js +29 -0
  218. package/dist/assistant/v1/generated/validators/platformResource.zod.d.ts +54 -0
  219. package/dist/assistant/v1/generated/validators/platformResource.zod.js +41 -0
  220. package/dist/assistant/v1/generated/validators/presentationResource.zod.d.ts +43 -0
  221. package/dist/assistant/v1/generated/validators/presentationResource.zod.js +34 -0
  222. package/dist/assistant/v1/generated/validators/putUploadPartHeaders.zod.d.ts +30 -0
  223. package/dist/assistant/v1/generated/validators/putUploadPartHeaders.zod.js +28 -0
  224. package/dist/assistant/v1/generated/validators/putUploadPartParams.zod.d.ts +30 -0
  225. package/dist/assistant/v1/generated/validators/putUploadPartParams.zod.js +28 -0
  226. package/dist/assistant/v1/generated/validators/questionResource.zod.d.ts +36 -0
  227. package/dist/assistant/v1/generated/validators/questionResource.zod.js +34 -0
  228. package/dist/assistant/v1/generated/validators/realtimeClientMessage.zod.d.ts +38 -0
  229. package/dist/assistant/v1/generated/validators/realtimeClientMessage.zod.js +42 -0
  230. package/dist/assistant/v1/generated/validators/realtimeExchange.zod.d.ts +285 -0
  231. package/dist/assistant/v1/generated/validators/realtimeExchange.zod.js +33 -0
  232. package/dist/assistant/v1/generated/validators/realtimeServerMessage.zod.d.ts +274 -0
  233. package/dist/assistant/v1/generated/validators/realtimeServerMessage.zod.js +64 -0
  234. package/dist/assistant/v1/generated/validators/realtimeTicketResource.zod.d.ts +32 -0
  235. package/dist/assistant/v1/generated/validators/realtimeTicketResource.zod.js +30 -0
  236. package/dist/assistant/v1/generated/validators/reasoningEffort.zod.d.ts +32 -0
  237. package/dist/assistant/v1/generated/validators/reasoningEffort.zod.js +28 -0
  238. package/dist/assistant/v1/generated/validators/rejectionListResponseBody.zod.d.ts +38 -0
  239. package/dist/assistant/v1/generated/validators/rejectionListResponseBody.zod.js +29 -0
  240. package/dist/assistant/v1/generated/validators/rejectionResource.zod.d.ts +36 -0
  241. package/dist/assistant/v1/generated/validators/rejectionResource.zod.js +34 -0
  242. package/dist/assistant/v1/generated/validators/resumeThreadRequestBody.zod.d.ts +31 -0
  243. package/dist/assistant/v1/generated/validators/resumeThreadRequestBody.zod.js +33 -0
  244. package/dist/assistant/v1/generated/validators/revertRequestBody.zod.d.ts +31 -0
  245. package/dist/assistant/v1/generated/validators/revertRequestBody.zod.js +32 -0
  246. package/dist/assistant/v1/generated/validators/revertedCountResponseBody.zod.d.ts +31 -0
  247. package/dist/assistant/v1/generated/validators/revertedCountResponseBody.zod.js +29 -0
  248. package/dist/assistant/v1/generated/validators/rotateSecretRequestBody.zod.d.ts +30 -0
  249. package/dist/assistant/v1/generated/validators/rotateSecretRequestBody.zod.js +31 -0
  250. package/dist/assistant/v1/generated/validators/searchTasksRequestBody.zod.d.ts +52 -0
  251. package/dist/assistant/v1/generated/validators/searchTasksRequestBody.zod.js +45 -0
  252. package/dist/assistant/v1/generated/validators/searchThreadsRequestBody.zod.d.ts +62 -0
  253. package/dist/assistant/v1/generated/validators/searchThreadsRequestBody.zod.js +83 -0
  254. package/dist/assistant/v1/generated/validators/sendMessageRequestBody.zod.d.ts +52 -0
  255. package/dist/assistant/v1/generated/validators/sendMessageRequestBody.zod.js +34 -0
  256. package/dist/assistant/v1/generated/validators/sendMessageResponseBody.zod.d.ts +33 -0
  257. package/dist/assistant/v1/generated/validators/sendMessageResponseBody.zod.js +37 -0
  258. package/dist/assistant/v1/generated/validators/senderCheckResource.zod.d.ts +39 -0
  259. package/dist/assistant/v1/generated/validators/senderCheckResource.zod.js +37 -0
  260. package/dist/assistant/v1/generated/validators/settingsResource.zod.d.ts +47 -0
  261. package/dist/assistant/v1/generated/validators/settingsResource.zod.js +34 -0
  262. package/dist/assistant/v1/generated/validators/skillEnabledRequestBody.zod.d.ts +30 -0
  263. package/dist/assistant/v1/generated/validators/skillEnabledRequestBody.zod.js +28 -0
  264. package/dist/assistant/v1/generated/validators/skillListResponseBody.zod.d.ts +42 -0
  265. package/dist/assistant/v1/generated/validators/skillListResponseBody.zod.js +29 -0
  266. package/dist/assistant/v1/generated/validators/skillRequestBody.zod.d.ts +38 -0
  267. package/dist/assistant/v1/generated/validators/skillRequestBody.zod.js +46 -0
  268. package/dist/assistant/v1/generated/validators/skillResource.zod.d.ts +40 -0
  269. package/dist/assistant/v1/generated/validators/skillResource.zod.js +47 -0
  270. package/dist/assistant/v1/generated/validators/subagentCountResource.zod.d.ts +33 -0
  271. package/dist/assistant/v1/generated/validators/subagentCountResource.zod.js +31 -0
  272. package/dist/assistant/v1/generated/validators/taskAction.zod.d.ts +41 -0
  273. package/dist/assistant/v1/generated/validators/taskAction.zod.js +51 -0
  274. package/dist/assistant/v1/generated/validators/taskListResponseBody.zod.d.ts +94 -0
  275. package/dist/assistant/v1/generated/validators/taskListResponseBody.zod.js +30 -0
  276. package/dist/assistant/v1/generated/validators/taskResource.zod.d.ts +91 -0
  277. package/dist/assistant/v1/generated/validators/taskResource.zod.js +45 -0
  278. package/dist/assistant/v1/generated/validators/taskRunListResponseBody.zod.d.ts +52 -0
  279. package/dist/assistant/v1/generated/validators/taskRunListResponseBody.zod.js +30 -0
  280. package/dist/assistant/v1/generated/validators/taskRunResource.zod.d.ts +49 -0
  281. package/dist/assistant/v1/generated/validators/taskRunResource.zod.js +41 -0
  282. package/dist/assistant/v1/generated/validators/taskTrigger.zod.d.ts +51 -0
  283. package/dist/assistant/v1/generated/validators/taskTrigger.zod.js +64 -0
  284. package/dist/assistant/v1/generated/validators/threadCountsResource.zod.d.ts +37 -0
  285. package/dist/assistant/v1/generated/validators/threadCountsResource.zod.js +37 -0
  286. package/dist/assistant/v1/generated/validators/threadItemListResponseBody.zod.d.ts +238 -0
  287. package/dist/assistant/v1/generated/validators/threadItemListResponseBody.zod.js +46 -0
  288. package/dist/assistant/v1/generated/validators/threadItemResource.zod.d.ts +129 -0
  289. package/dist/assistant/v1/generated/validators/threadItemResource.zod.js +89 -0
  290. package/dist/assistant/v1/generated/validators/threadListResponseBody.zod.d.ts +125 -0
  291. package/dist/assistant/v1/generated/validators/threadListResponseBody.zod.js +34 -0
  292. package/dist/assistant/v1/generated/validators/threadMessageListResponseBody.zod.d.ts +40 -0
  293. package/dist/assistant/v1/generated/validators/threadMessageListResponseBody.zod.js +34 -0
  294. package/dist/assistant/v1/generated/validators/threadMessageResource.zod.d.ts +37 -0
  295. package/dist/assistant/v1/generated/validators/threadMessageResource.zod.js +44 -0
  296. package/dist/assistant/v1/generated/validators/threadResource.zod.d.ts +118 -0
  297. package/dist/assistant/v1/generated/validators/threadResource.zod.js +99 -0
  298. package/dist/assistant/v1/generated/validators/threadStatus.zod.d.ts +35 -0
  299. package/dist/assistant/v1/generated/validators/threadStatus.zod.js +28 -0
  300. package/dist/assistant/v1/generated/validators/threadTurnListResponseBody.zod.d.ts +75 -0
  301. package/dist/assistant/v1/generated/validators/threadTurnListResponseBody.zod.js +30 -0
  302. package/dist/assistant/v1/generated/validators/threadTurnResource.zod.d.ts +74 -0
  303. package/dist/assistant/v1/generated/validators/threadTurnResource.zod.js +74 -0
  304. package/dist/assistant/v1/generated/validators/todoResource.zod.d.ts +36 -0
  305. package/dist/assistant/v1/generated/validators/todoResource.zod.js +34 -0
  306. package/dist/assistant/v1/generated/validators/toolCallResource.zod.d.ts +65 -0
  307. package/dist/assistant/v1/generated/validators/toolCallResource.zod.js +80 -0
  308. package/dist/assistant/v1/generated/validators/toolResultRequestBody.zod.d.ts +36 -0
  309. package/dist/assistant/v1/generated/validators/toolResultRequestBody.zod.js +48 -0
  310. package/dist/assistant/v1/generated/validators/turnStartedResponseBody.zod.d.ts +30 -0
  311. package/dist/assistant/v1/generated/validators/turnStartedResponseBody.zod.js +28 -0
  312. package/dist/assistant/v1/generated/validators/turnStatus.zod.d.ts +34 -0
  313. package/dist/assistant/v1/generated/validators/turnStatus.zod.js +28 -0
  314. package/dist/assistant/v1/generated/validators/turnType.zod.d.ts +31 -0
  315. package/dist/assistant/v1/generated/validators/turnType.zod.js +28 -0
  316. package/dist/assistant/v1/generated/validators/updateChannelRequestBody.zod.d.ts +38 -0
  317. package/dist/assistant/v1/generated/validators/updateChannelRequestBody.zod.js +42 -0
  318. package/dist/assistant/v1/generated/validators/updateFolderRequestBody.zod.d.ts +31 -0
  319. package/dist/assistant/v1/generated/validators/updateFolderRequestBody.zod.js +29 -0
  320. package/dist/assistant/v1/generated/validators/updateSettingsRequestBody.zod.d.ts +36 -0
  321. package/dist/assistant/v1/generated/validators/updateSettingsRequestBody.zod.js +31 -0
  322. package/dist/assistant/v1/generated/validators/updateTaskRequestBody.zod.d.ts +59 -0
  323. package/dist/assistant/v1/generated/validators/updateTaskRequestBody.zod.js +33 -0
  324. package/dist/assistant/v1/generated/validators/updateThreadRequestBody.zod.d.ts +44 -0
  325. package/dist/assistant/v1/generated/validators/updateThreadRequestBody.zod.js +36 -0
  326. package/dist/assistant/v1/generated/validators/updateUploadRequestBody.zod.d.ts +31 -0
  327. package/dist/assistant/v1/generated/validators/updateUploadRequestBody.zod.js +29 -0
  328. package/dist/assistant/v1/generated/validators/uploadAttachmentParams.zod.d.ts +31 -0
  329. package/dist/assistant/v1/generated/validators/uploadAttachmentParams.zod.js +29 -0
  330. package/dist/assistant/v1/generated/validators/uploadConfigurationResource.zod.d.ts +35 -0
  331. package/dist/assistant/v1/generated/validators/uploadConfigurationResource.zod.js +33 -0
  332. package/dist/assistant/v1/generated/validators/uploadListResponseBody.zod.d.ts +44 -0
  333. package/dist/assistant/v1/generated/validators/uploadListResponseBody.zod.js +29 -0
  334. package/dist/assistant/v1/generated/validators/uploadPartResource.zod.d.ts +32 -0
  335. package/dist/assistant/v1/generated/validators/uploadPartResource.zod.js +30 -0
  336. package/dist/assistant/v1/generated/validators/uploadResource.zod.d.ts +42 -0
  337. package/dist/assistant/v1/generated/validators/uploadResource.zod.js +37 -0
  338. package/dist/assistant/v1/generated/validators/uploadedResource.zod.d.ts +40 -0
  339. package/dist/assistant/v1/generated/validators/uploadedResource.zod.js +40 -0
  340. package/dist/assistant/v1/generated/validators/usage.zod.d.ts +44 -0
  341. package/dist/assistant/v1/generated/validators/usage.zod.js +61 -0
  342. package/dist/assistant/v1/generated/validators/verifyCodeRequestBody.zod.d.ts +30 -0
  343. package/dist/assistant/v1/generated/validators/verifyCodeRequestBody.zod.js +28 -0
  344. package/dist/assistant/v1/generated/validators/webhookSecretResponseBody.zod.d.ts +30 -0
  345. package/dist/assistant/v1/generated/validators/webhookSecretResponseBody.zod.js +28 -0
  346. package/dist/assistant/v1/index.d.ts +3 -84
  347. package/dist/assistant/v1/index.js +3 -5
  348. package/dist/billing/type/cancellation/v1/generated/functions.d.ts +8 -0
  349. package/dist/billing/type/cancellation/v1/generated/functions.js +8 -0
  350. package/dist/billing/type/cancellation/v1/generated/models.d.ts +19 -0
  351. package/dist/billing/type/cancellation/v1/generated/models.js +4 -0
  352. package/dist/billing/type/cancellation/v1/generated/schemas.zod.d.ts +8 -0
  353. package/dist/billing/type/cancellation/v1/generated/schemas.zod.js +8 -0
  354. package/dist/billing/type/cancellation/v1/generated/validators/cancellationMode.zod.d.ts +14 -0
  355. package/dist/billing/type/cancellation/v1/generated/validators/cancellationMode.zod.js +11 -0
  356. package/dist/billing/type/checkout/v1/generated/functions.d.ts +8 -0
  357. package/dist/billing/type/checkout/v1/generated/functions.js +8 -0
  358. package/dist/billing/type/checkout/v1/generated/models.d.ts +57 -0
  359. package/dist/billing/type/checkout/v1/generated/models.js +4 -0
  360. package/dist/billing/type/checkout/v1/generated/schemas.zod.d.ts +8 -0
  361. package/dist/billing/type/checkout/v1/generated/schemas.zod.js +8 -0
  362. package/dist/billing/type/checkout/v1/generated/validators/checkoutMode.zod.d.ts +14 -0
  363. package/dist/billing/type/checkout/v1/generated/validators/checkoutMode.zod.js +11 -0
  364. package/dist/billing/type/checkout/v1/generated/validators/checkoutOptions.zod.d.ts +21 -0
  365. package/dist/billing/type/checkout/v1/generated/validators/checkoutOptions.zod.js +26 -0
  366. package/dist/billing/type/checkout/v1/generated/validators/money.zod.d.ts +11 -0
  367. package/dist/billing/type/checkout/v1/generated/validators/money.zod.js +11 -0
  368. package/dist/billing/type/funds/v1/generated/functions.d.ts +8 -0
  369. package/dist/billing/type/funds/v1/generated/functions.js +8 -0
  370. package/dist/billing/type/funds/v1/generated/models.d.ts +38 -0
  371. package/dist/billing/type/funds/v1/generated/models.js +1 -0
  372. package/dist/billing/type/funds/v1/generated/schemas.zod.d.ts +8 -0
  373. package/dist/billing/type/funds/v1/generated/schemas.zod.js +8 -0
  374. package/dist/billing/type/funds/v1/generated/validators/funds.zod.d.ts +18 -0
  375. package/dist/billing/type/funds/v1/generated/validators/funds.zod.js +19 -0
  376. package/dist/billing/type/funds/v1/generated/validators/money.zod.d.ts +11 -0
  377. package/dist/billing/type/funds/v1/generated/validators/money.zod.js +11 -0
  378. package/dist/billing/type/order/v1/generated/functions.d.ts +8 -0
  379. package/dist/billing/type/order/v1/generated/functions.js +8 -0
  380. package/dist/billing/type/order/v1/generated/models.d.ts +2890 -0
  381. package/dist/billing/type/order/v1/generated/models.js +367 -0
  382. package/dist/billing/type/order/v1/generated/schemas.zod.d.ts +8 -0
  383. package/dist/billing/type/order/v1/generated/schemas.zod.js +8 -0
  384. package/dist/billing/type/order/v1/generated/validators/accountBalance.zod.d.ts +135 -0
  385. package/dist/billing/type/order/v1/generated/validators/accountBalance.zod.js +27 -0
  386. package/dist/billing/type/order/v1/generated/validators/accountDeletionObjection.zod.d.ts +19 -0
  387. package/dist/billing/type/order/v1/generated/validators/accountDeletionObjection.zod.js +19 -0
  388. package/dist/billing/type/order/v1/generated/validators/accountDeletionReadiness.zod.d.ts +45 -0
  389. package/dist/billing/type/order/v1/generated/validators/accountDeletionReadiness.zod.js +14 -0
  390. package/dist/billing/type/order/v1/generated/validators/accountDeletionReadinessItem.zod.d.ts +43 -0
  391. package/dist/billing/type/order/v1/generated/validators/accountDeletionReadinessItem.zod.js +19 -0
  392. package/dist/billing/type/order/v1/generated/validators/accountIdentity.zod.d.ts +15 -0
  393. package/dist/billing/type/order/v1/generated/validators/accountIdentity.zod.js +13 -0
  394. package/dist/billing/type/order/v1/generated/validators/activeResource.zod.d.ts +41 -0
  395. package/dist/billing/type/order/v1/generated/validators/activeResource.zod.js +39 -0
  396. package/dist/billing/type/order/v1/generated/validators/activeResourceList.zod.d.ts +48 -0
  397. package/dist/billing/type/order/v1/generated/validators/activeResourceList.zod.js +14 -0
  398. package/dist/billing/type/order/v1/generated/validators/allowance.zod.d.ts +44 -0
  399. package/dist/billing/type/order/v1/generated/validators/allowance.zod.js +41 -0
  400. package/dist/billing/type/order/v1/generated/validators/allowanceList.zod.d.ts +51 -0
  401. package/dist/billing/type/order/v1/generated/validators/allowanceList.zod.js +14 -0
  402. package/dist/billing/type/order/v1/generated/validators/applicability.zod.d.ts +119 -0
  403. package/dist/billing/type/order/v1/generated/validators/applicability.zod.js +41 -0
  404. package/dist/billing/type/order/v1/generated/validators/applicablePlan.zod.d.ts +15 -0
  405. package/dist/billing/type/order/v1/generated/validators/applicablePlan.zod.js +15 -0
  406. package/dist/billing/type/order/v1/generated/validators/appliedCredit.zod.d.ts +15 -0
  407. package/dist/billing/type/order/v1/generated/validators/appliedCredit.zod.js +16 -0
  408. package/dist/billing/type/order/v1/generated/validators/autoRenewSet.zod.d.ts +13 -0
  409. package/dist/billing/type/order/v1/generated/validators/autoRenewSet.zod.js +11 -0
  410. package/dist/billing/type/order/v1/generated/validators/billingAccount.zod.d.ts +30 -0
  411. package/dist/billing/type/order/v1/generated/validators/billingAccount.zod.js +34 -0
  412. package/dist/billing/type/order/v1/generated/validators/billingAccountCreate.zod.d.ts +17 -0
  413. package/dist/billing/type/order/v1/generated/validators/billingAccountCreate.zod.js +15 -0
  414. package/dist/billing/type/order/v1/generated/validators/billingAccountList.zod.d.ts +37 -0
  415. package/dist/billing/type/order/v1/generated/validators/billingAccountList.zod.js +14 -0
  416. package/dist/billing/type/order/v1/generated/validators/billingAccountUpdate.zod.d.ts +15 -0
  417. package/dist/billing/type/order/v1/generated/validators/billingAccountUpdate.zod.js +16 -0
  418. package/dist/billing/type/order/v1/generated/validators/billingScheme.zod.d.ts +14 -0
  419. package/dist/billing/type/order/v1/generated/validators/billingScheme.zod.js +11 -0
  420. package/dist/billing/type/order/v1/generated/validators/cancelSubscriptionRequest.zod.d.ts +21 -0
  421. package/dist/billing/type/order/v1/generated/validators/cancelSubscriptionRequest.zod.js +21 -0
  422. package/dist/billing/type/order/v1/generated/validators/cancellation.zod.d.ts +67 -0
  423. package/dist/billing/type/order/v1/generated/validators/cancellation.zod.js +39 -0
  424. package/dist/billing/type/order/v1/generated/validators/cancellationCreate.zod.d.ts +23 -0
  425. package/dist/billing/type/order/v1/generated/validators/cancellationCreate.zod.js +31 -0
  426. package/dist/billing/type/order/v1/generated/validators/cancellationItem.zod.d.ts +38 -0
  427. package/dist/billing/type/order/v1/generated/validators/cancellationItem.zod.js +36 -0
  428. package/dist/billing/type/order/v1/generated/validators/cancellationList.zod.d.ts +74 -0
  429. package/dist/billing/type/order/v1/generated/validators/cancellationList.zod.js +14 -0
  430. package/dist/billing/type/order/v1/generated/validators/cancellationPolicy.zod.d.ts +14 -0
  431. package/dist/billing/type/order/v1/generated/validators/cancellationPolicy.zod.js +11 -0
  432. package/dist/billing/type/order/v1/generated/validators/cancellationRefundPreview.zod.d.ts +51 -0
  433. package/dist/billing/type/order/v1/generated/validators/cancellationRefundPreview.zod.js +33 -0
  434. package/dist/billing/type/order/v1/generated/validators/cancellationRefundPreviewItem.zod.d.ts +35 -0
  435. package/dist/billing/type/order/v1/generated/validators/cancellationRefundPreviewItem.zod.js +35 -0
  436. package/dist/billing/type/order/v1/generated/validators/contact.zod.d.ts +41 -0
  437. package/dist/billing/type/order/v1/generated/validators/contact.zod.js +39 -0
  438. package/dist/billing/type/order/v1/generated/validators/contactCreate.zod.d.ts +32 -0
  439. package/dist/billing/type/order/v1/generated/validators/contactCreate.zod.js +30 -0
  440. package/dist/billing/type/order/v1/generated/validators/contactList.zod.d.ts +38 -0
  441. package/dist/billing/type/order/v1/generated/validators/contactList.zod.js +14 -0
  442. package/dist/billing/type/order/v1/generated/validators/contactUpdate.zod.d.ts +33 -0
  443. package/dist/billing/type/order/v1/generated/validators/contactUpdate.zod.js +31 -0
  444. package/dist/billing/type/order/v1/generated/validators/creditGrant.zod.d.ts +137 -0
  445. package/dist/billing/type/order/v1/generated/validators/creditGrant.zod.js +27 -0
  446. package/dist/billing/type/order/v1/generated/validators/creditGrantList.zod.d.ts +144 -0
  447. package/dist/billing/type/order/v1/generated/validators/creditGrantList.zod.js +14 -0
  448. package/dist/billing/type/order/v1/generated/validators/creditGroup.zod.d.ts +123 -0
  449. package/dist/billing/type/order/v1/generated/validators/creditGroup.zod.js +18 -0
  450. package/dist/billing/type/order/v1/generated/validators/creditNote.zod.d.ts +34 -0
  451. package/dist/billing/type/order/v1/generated/validators/creditNote.zod.js +40 -0
  452. package/dist/billing/type/order/v1/generated/validators/creditNoteItem.zod.d.ts +17 -0
  453. package/dist/billing/type/order/v1/generated/validators/creditNoteItem.zod.js +16 -0
  454. package/dist/billing/type/order/v1/generated/validators/creditNoteItemList.zod.d.ts +24 -0
  455. package/dist/billing/type/order/v1/generated/validators/creditNoteItemList.zod.js +14 -0
  456. package/dist/billing/type/order/v1/generated/validators/creditNoteList.zod.d.ts +41 -0
  457. package/dist/billing/type/order/v1/generated/validators/creditNoteList.zod.js +14 -0
  458. package/dist/billing/type/order/v1/generated/validators/currency.zod.d.ts +21 -0
  459. package/dist/billing/type/order/v1/generated/validators/currency.zod.js +30 -0
  460. package/dist/billing/type/order/v1/generated/validators/currencyList.zod.d.ts +23 -0
  461. package/dist/billing/type/order/v1/generated/validators/currencyList.zod.js +14 -0
  462. package/dist/billing/type/order/v1/generated/validators/cursorPagination.zod.d.ts +14 -0
  463. package/dist/billing/type/order/v1/generated/validators/cursorPagination.zod.js +14 -0
  464. package/dist/billing/type/order/v1/generated/validators/discount.zod.d.ts +153 -0
  465. package/dist/billing/type/order/v1/generated/validators/discount.zod.js +44 -0
  466. package/dist/billing/type/order/v1/generated/validators/discountList.zod.d.ts +160 -0
  467. package/dist/billing/type/order/v1/generated/validators/discountList.zod.js +14 -0
  468. package/dist/billing/type/order/v1/generated/validators/entitlement.zod.d.ts +25 -0
  469. package/dist/billing/type/order/v1/generated/validators/entitlement.zod.js +20 -0
  470. package/dist/billing/type/order/v1/generated/validators/entitlementList.zod.d.ts +32 -0
  471. package/dist/billing/type/order/v1/generated/validators/entitlementList.zod.js +14 -0
  472. package/dist/billing/type/order/v1/generated/validators/error.zod.d.ts +16 -0
  473. package/dist/billing/type/order/v1/generated/validators/error.zod.js +17 -0
  474. package/dist/billing/type/order/v1/generated/validators/featureGrant.zod.d.ts +33 -0
  475. package/dist/billing/type/order/v1/generated/validators/featureGrant.zod.js +24 -0
  476. package/dist/billing/type/order/v1/generated/validators/featureGrantList.zod.d.ts +40 -0
  477. package/dist/billing/type/order/v1/generated/validators/featureGrantList.zod.js +14 -0
  478. package/dist/billing/type/order/v1/generated/validators/featureGrantStatus.zod.d.ts +16 -0
  479. package/dist/billing/type/order/v1/generated/validators/featureGrantStatus.zod.js +11 -0
  480. package/dist/billing/type/order/v1/generated/validators/funds.zod.d.ts +18 -0
  481. package/dist/billing/type/order/v1/generated/validators/funds.zod.js +19 -0
  482. package/dist/billing/type/order/v1/generated/validators/invoice.zod.d.ts +63 -0
  483. package/dist/billing/type/order/v1/generated/validators/invoice.zod.js +54 -0
  484. package/dist/billing/type/order/v1/generated/validators/invoiceItem.zod.d.ts +46 -0
  485. package/dist/billing/type/order/v1/generated/validators/invoiceItem.zod.js +60 -0
  486. package/dist/billing/type/order/v1/generated/validators/invoiceItemList.zod.d.ts +53 -0
  487. package/dist/billing/type/order/v1/generated/validators/invoiceItemList.zod.js +14 -0
  488. package/dist/billing/type/order/v1/generated/validators/invoiceItemProration.zod.d.ts +18 -0
  489. package/dist/billing/type/order/v1/generated/validators/invoiceItemProration.zod.js +21 -0
  490. package/dist/billing/type/order/v1/generated/validators/invoiceList.zod.d.ts +70 -0
  491. package/dist/billing/type/order/v1/generated/validators/invoiceList.zod.js +14 -0
  492. package/dist/billing/type/order/v1/generated/validators/invoiceStatus.zod.d.ts +16 -0
  493. package/dist/billing/type/order/v1/generated/validators/invoiceStatus.zod.js +11 -0
  494. package/dist/billing/type/order/v1/generated/validators/invoiceSummary.zod.d.ts +32 -0
  495. package/dist/billing/type/order/v1/generated/validators/invoiceSummary.zod.js +34 -0
  496. package/dist/billing/type/order/v1/generated/validators/money.zod.d.ts +11 -0
  497. package/dist/billing/type/order/v1/generated/validators/money.zod.js +11 -0
  498. package/dist/billing/type/order/v1/generated/validators/monthlyStatement.zod.d.ts +38 -0
  499. package/dist/billing/type/order/v1/generated/validators/monthlyStatement.zod.js +30 -0
  500. package/dist/billing/type/order/v1/generated/validators/monthlyStatementList.zod.d.ts +45 -0
  501. package/dist/billing/type/order/v1/generated/validators/monthlyStatementList.zod.js +14 -0
  502. package/dist/billing/type/order/v1/generated/validators/namedIdentity.zod.d.ts +15 -0
  503. package/dist/billing/type/order/v1/generated/validators/namedIdentity.zod.js +15 -0
  504. package/dist/billing/type/order/v1/generated/validators/objectIdentity.zod.d.ts +15 -0
  505. package/dist/billing/type/order/v1/generated/validators/objectIdentity.zod.js +15 -0
  506. package/dist/billing/type/order/v1/generated/validators/offsetPagination.zod.d.ts +16 -0
  507. package/dist/billing/type/order/v1/generated/validators/offsetPagination.zod.js +16 -0
  508. package/dist/billing/type/order/v1/generated/validators/order.zod.d.ts +148 -0
  509. package/dist/billing/type/order/v1/generated/validators/order.zod.js +63 -0
  510. package/dist/billing/type/order/v1/generated/validators/orderCancel.zod.d.ts +14 -0
  511. package/dist/billing/type/order/v1/generated/validators/orderCancel.zod.js +17 -0
  512. package/dist/billing/type/order/v1/generated/validators/orderItem.zod.d.ts +75 -0
  513. package/dist/billing/type/order/v1/generated/validators/orderItem.zod.js +88 -0
  514. package/dist/billing/type/order/v1/generated/validators/orderItemList.zod.d.ts +81 -0
  515. package/dist/billing/type/order/v1/generated/validators/orderItemList.zod.js +14 -0
  516. package/dist/billing/type/order/v1/generated/validators/orderItemStatus.zod.d.ts +16 -0
  517. package/dist/billing/type/order/v1/generated/validators/orderItemStatus.zod.js +11 -0
  518. package/dist/billing/type/order/v1/generated/validators/orderList.zod.d.ts +155 -0
  519. package/dist/billing/type/order/v1/generated/validators/orderList.zod.js +14 -0
  520. package/dist/billing/type/order/v1/generated/validators/orderRefundQuote.zod.d.ts +17 -0
  521. package/dist/billing/type/order/v1/generated/validators/orderRefundQuote.zod.js +18 -0
  522. package/dist/billing/type/order/v1/generated/validators/orderRefundQuoteInput.zod.d.ts +15 -0
  523. package/dist/billing/type/order/v1/generated/validators/orderRefundQuoteInput.zod.js +20 -0
  524. package/dist/billing/type/order/v1/generated/validators/orderStatus.zod.d.ts +18 -0
  525. package/dist/billing/type/order/v1/generated/validators/orderStatus.zod.js +11 -0
  526. package/dist/billing/type/order/v1/generated/validators/paidWith.zod.d.ts +17 -0
  527. package/dist/billing/type/order/v1/generated/validators/paidWith.zod.js +25 -0
  528. package/dist/billing/type/order/v1/generated/validators/payInvoiceRequest.zod.d.ts +26 -0
  529. package/dist/billing/type/order/v1/generated/validators/payInvoiceRequest.zod.js +53 -0
  530. package/dist/billing/type/order/v1/generated/validators/payTogetherRequest.zod.d.ts +18 -0
  531. package/dist/billing/type/order/v1/generated/validators/payTogetherRequest.zod.js +21 -0
  532. package/dist/billing/type/order/v1/generated/validators/paymentAction.zod.d.ts +22 -0
  533. package/dist/billing/type/order/v1/generated/validators/paymentAction.zod.js +24 -0
  534. package/dist/billing/type/order/v1/generated/validators/paymentCancellationReason.zod.d.ts +14 -0
  535. package/dist/billing/type/order/v1/generated/validators/paymentCancellationReason.zod.js +11 -0
  536. package/dist/billing/type/order/v1/generated/validators/paymentMethod.zod.d.ts +25 -0
  537. package/dist/billing/type/order/v1/generated/validators/paymentMethod.zod.js +19 -0
  538. package/dist/billing/type/order/v1/generated/validators/paymentMethodList.zod.d.ts +32 -0
  539. package/dist/billing/type/order/v1/generated/validators/paymentMethodList.zod.js +14 -0
  540. package/dist/billing/type/order/v1/generated/validators/paymentMethodSetup.zod.d.ts +15 -0
  541. package/dist/billing/type/order/v1/generated/validators/paymentMethodSetup.zod.js +17 -0
  542. package/dist/billing/type/order/v1/generated/validators/paymentMethodSetupResult.zod.d.ts +26 -0
  543. package/dist/billing/type/order/v1/generated/validators/paymentMethodSetupResult.zod.js +16 -0
  544. package/dist/billing/type/order/v1/generated/validators/paymentOption.zod.d.ts +17 -0
  545. package/dist/billing/type/order/v1/generated/validators/paymentOption.zod.js +15 -0
  546. package/dist/billing/type/order/v1/generated/validators/paymentOptionList.zod.d.ts +24 -0
  547. package/dist/billing/type/order/v1/generated/validators/paymentOptionList.zod.js +14 -0
  548. package/dist/billing/type/order/v1/generated/validators/paymentOptionMethod.zod.d.ts +14 -0
  549. package/dist/billing/type/order/v1/generated/validators/paymentOptionMethod.zod.js +16 -0
  550. package/dist/billing/type/order/v1/generated/validators/paymentPreview.zod.d.ts +38 -0
  551. package/dist/billing/type/order/v1/generated/validators/paymentPreview.zod.js +30 -0
  552. package/dist/billing/type/order/v1/generated/validators/paymentPreviewInvoice.zod.d.ts +17 -0
  553. package/dist/billing/type/order/v1/generated/validators/paymentPreviewInvoice.zod.js +16 -0
  554. package/dist/billing/type/order/v1/generated/validators/paymentResult.zod.d.ts +87 -0
  555. package/dist/billing/type/order/v1/generated/validators/paymentResult.zod.js +36 -0
  556. package/dist/billing/type/order/v1/generated/validators/paymentStatus.zod.d.ts +16 -0
  557. package/dist/billing/type/order/v1/generated/validators/paymentStatus.zod.js +11 -0
  558. package/dist/billing/type/order/v1/generated/validators/placedOrder.zod.d.ts +35 -0
  559. package/dist/billing/type/order/v1/generated/validators/placedOrder.zod.js +16 -0
  560. package/dist/billing/type/order/v1/generated/validators/plan.zod.d.ts +31 -0
  561. package/dist/billing/type/order/v1/generated/validators/plan.zod.js +23 -0
  562. package/dist/billing/type/order/v1/generated/validators/planFeature.zod.d.ts +18 -0
  563. package/dist/billing/type/order/v1/generated/validators/planFeature.zod.js +13 -0
  564. package/dist/billing/type/order/v1/generated/validators/planList.zod.d.ts +38 -0
  565. package/dist/billing/type/order/v1/generated/validators/planList.zod.js +14 -0
  566. package/dist/billing/type/order/v1/generated/validators/price.zod.d.ts +86 -0
  567. package/dist/billing/type/order/v1/generated/validators/price.zod.js +78 -0
  568. package/dist/billing/type/order/v1/generated/validators/priceList.zod.d.ts +93 -0
  569. package/dist/billing/type/order/v1/generated/validators/priceList.zod.js +14 -0
  570. package/dist/billing/type/order/v1/generated/validators/priceOption.zod.d.ts +46 -0
  571. package/dist/billing/type/order/v1/generated/validators/priceOption.zod.js +32 -0
  572. package/dist/billing/type/order/v1/generated/validators/priceType.zod.d.ts +14 -0
  573. package/dist/billing/type/order/v1/generated/validators/priceType.zod.js +11 -0
  574. package/dist/billing/type/order/v1/generated/validators/product.zod.d.ts +15 -0
  575. package/dist/billing/type/order/v1/generated/validators/product.zod.js +14 -0
  576. package/dist/billing/type/order/v1/generated/validators/productID.zod.d.ts +13 -0
  577. package/dist/billing/type/order/v1/generated/validators/productID.zod.js +16 -0
  578. package/dist/billing/type/order/v1/generated/validators/productList.zod.d.ts +22 -0
  579. package/dist/billing/type/order/v1/generated/validators/productList.zod.js +14 -0
  580. package/dist/billing/type/order/v1/generated/validators/projectAssignment.zod.d.ts +22 -0
  581. package/dist/billing/type/order/v1/generated/validators/projectAssignment.zod.js +23 -0
  582. package/dist/billing/type/order/v1/generated/validators/projectAssignmentList.zod.d.ts +29 -0
  583. package/dist/billing/type/order/v1/generated/validators/projectAssignmentList.zod.js +14 -0
  584. package/dist/billing/type/order/v1/generated/validators/purchaseOperation.zod.d.ts +15 -0
  585. package/dist/billing/type/order/v1/generated/validators/purchaseOperation.zod.js +11 -0
  586. package/dist/billing/type/order/v1/generated/validators/quote.zod.d.ts +112 -0
  587. package/dist/billing/type/order/v1/generated/validators/quote.zod.js +32 -0
  588. package/dist/billing/type/order/v1/generated/validators/quoteCancellation.zod.d.ts +18 -0
  589. package/dist/billing/type/order/v1/generated/validators/quoteCancellation.zod.js +20 -0
  590. package/dist/billing/type/order/v1/generated/validators/quoteItem.zod.d.ts +25 -0
  591. package/dist/billing/type/order/v1/generated/validators/quoteItem.zod.js +38 -0
  592. package/dist/billing/type/order/v1/generated/validators/quoteItemInput.zod.d.ts +45 -0
  593. package/dist/billing/type/order/v1/generated/validators/quoteItemInput.zod.js +41 -0
  594. package/dist/billing/type/order/v1/generated/validators/quoteRenewal.zod.d.ts +27 -0
  595. package/dist/billing/type/order/v1/generated/validators/quoteRenewal.zod.js +26 -0
  596. package/dist/billing/type/order/v1/generated/validators/quoteRenewalResult.zod.d.ts +27 -0
  597. package/dist/billing/type/order/v1/generated/validators/quoteRenewalResult.zod.js +24 -0
  598. package/dist/billing/type/order/v1/generated/validators/quoteRequest.zod.d.ts +75 -0
  599. package/dist/billing/type/order/v1/generated/validators/quoteRequest.zod.js +42 -0
  600. package/dist/billing/type/order/v1/generated/validators/quotedDiscount.zod.d.ts +19 -0
  601. package/dist/billing/type/order/v1/generated/validators/quotedDiscount.zod.js +21 -0
  602. package/dist/billing/type/order/v1/generated/validators/rate.zod.d.ts +49 -0
  603. package/dist/billing/type/order/v1/generated/validators/rate.zod.js +41 -0
  604. package/dist/billing/type/order/v1/generated/validators/rateList.zod.d.ts +56 -0
  605. package/dist/billing/type/order/v1/generated/validators/rateList.zod.js +14 -0
  606. package/dist/billing/type/order/v1/generated/validators/refund.zod.d.ts +93 -0
  607. package/dist/billing/type/order/v1/generated/validators/refund.zod.js +44 -0
  608. package/dist/billing/type/order/v1/generated/validators/refundList.zod.d.ts +100 -0
  609. package/dist/billing/type/order/v1/generated/validators/refundList.zod.js +14 -0
  610. package/dist/billing/type/order/v1/generated/validators/refundPolicy.zod.d.ts +15 -0
  611. package/dist/billing/type/order/v1/generated/validators/refundPolicy.zod.js +11 -0
  612. package/dist/billing/type/order/v1/generated/validators/refundReason.zod.d.ts +23 -0
  613. package/dist/billing/type/order/v1/generated/validators/refundReason.zod.js +23 -0
  614. package/dist/billing/type/order/v1/generated/validators/renewRequest.zod.d.ts +31 -0
  615. package/dist/billing/type/order/v1/generated/validators/renewRequest.zod.js +42 -0
  616. package/dist/billing/type/order/v1/generated/validators/renewalOrderRequest.zod.d.ts +25 -0
  617. package/dist/billing/type/order/v1/generated/validators/renewalOrderRequest.zod.js +25 -0
  618. package/dist/billing/type/order/v1/generated/validators/renewalPrice.zod.d.ts +33 -0
  619. package/dist/billing/type/order/v1/generated/validators/renewalPrice.zod.js +25 -0
  620. package/dist/billing/type/order/v1/generated/validators/renewalPriceList.zod.d.ts +40 -0
  621. package/dist/billing/type/order/v1/generated/validators/renewalPriceList.zod.js +14 -0
  622. package/dist/billing/type/order/v1/generated/validators/scheduledChange.zod.d.ts +34 -0
  623. package/dist/billing/type/order/v1/generated/validators/scheduledChange.zod.js +26 -0
  624. package/dist/billing/type/order/v1/generated/validators/setProjectAssignmentRequest.zod.d.ts +13 -0
  625. package/dist/billing/type/order/v1/generated/validators/setProjectAssignmentRequest.zod.js +11 -0
  626. package/dist/billing/type/order/v1/generated/validators/spendRow.zod.d.ts +30 -0
  627. package/dist/billing/type/order/v1/generated/validators/spendRow.zod.js +29 -0
  628. package/dist/billing/type/order/v1/generated/validators/spendRowList.zod.d.ts +39 -0
  629. package/dist/billing/type/order/v1/generated/validators/spendRowList.zod.js +17 -0
  630. package/dist/billing/type/order/v1/generated/validators/statement.zod.d.ts +40 -0
  631. package/dist/billing/type/order/v1/generated/validators/statement.zod.js +36 -0
  632. package/dist/billing/type/order/v1/generated/validators/statementAmounts.zod.d.ts +17 -0
  633. package/dist/billing/type/order/v1/generated/validators/statementAmounts.zod.js +16 -0
  634. package/dist/billing/type/order/v1/generated/validators/statementItem.zod.d.ts +20 -0
  635. package/dist/billing/type/order/v1/generated/validators/statementItem.zod.js +25 -0
  636. package/dist/billing/type/order/v1/generated/validators/statementList.zod.d.ts +47 -0
  637. package/dist/billing/type/order/v1/generated/validators/statementList.zod.js +14 -0
  638. package/dist/billing/type/order/v1/generated/validators/statementStatus.zod.d.ts +14 -0
  639. package/dist/billing/type/order/v1/generated/validators/statementStatus.zod.js +9 -0
  640. package/dist/billing/type/order/v1/generated/validators/statementSummary.zod.d.ts +36 -0
  641. package/dist/billing/type/order/v1/generated/validators/statementSummary.zod.js +19 -0
  642. package/dist/billing/type/order/v1/generated/validators/statementType.zod.d.ts +15 -0
  643. package/dist/billing/type/order/v1/generated/validators/statementType.zod.js +11 -0
  644. package/dist/billing/type/order/v1/generated/validators/subscription.zod.d.ts +149 -0
  645. package/dist/billing/type/order/v1/generated/validators/subscription.zod.js +119 -0
  646. package/dist/billing/type/order/v1/generated/validators/subscriptionCancellation.zod.d.ts +37 -0
  647. package/dist/billing/type/order/v1/generated/validators/subscriptionCancellation.zod.js +30 -0
  648. package/dist/billing/type/order/v1/generated/validators/subscriptionList.zod.d.ts +155 -0
  649. package/dist/billing/type/order/v1/generated/validators/subscriptionList.zod.js +14 -0
  650. package/dist/billing/type/order/v1/generated/validators/subscriptionRestriction.zod.d.ts +17 -0
  651. package/dist/billing/type/order/v1/generated/validators/subscriptionRestriction.zod.js +17 -0
  652. package/dist/billing/type/order/v1/generated/validators/taxItem.zod.d.ts +21 -0
  653. package/dist/billing/type/order/v1/generated/validators/taxItem.zod.js +21 -0
  654. package/dist/billing/type/order/v1/generated/validators/tier.zod.d.ts +15 -0
  655. package/dist/billing/type/order/v1/generated/validators/tier.zod.js +17 -0
  656. package/dist/billing/type/order/v1/generated/validators/topUp.zod.d.ts +51 -0
  657. package/dist/billing/type/order/v1/generated/validators/topUp.zod.js +46 -0
  658. package/dist/billing/type/order/v1/generated/validators/topUpCreate.zod.d.ts +22 -0
  659. package/dist/billing/type/order/v1/generated/validators/topUpCreate.zod.js +34 -0
  660. package/dist/billing/type/order/v1/generated/validators/topUpList.zod.d.ts +58 -0
  661. package/dist/billing/type/order/v1/generated/validators/topUpList.zod.js +14 -0
  662. package/dist/billing/type/order/v1/generated/validators/transaction.zod.d.ts +54 -0
  663. package/dist/billing/type/order/v1/generated/validators/transaction.zod.js +48 -0
  664. package/dist/billing/type/order/v1/generated/validators/transactionList.zod.d.ts +61 -0
  665. package/dist/billing/type/order/v1/generated/validators/transactionList.zod.js +14 -0
  666. package/dist/billing/type/order/v1/generated/validators/transactionType.zod.d.ts +17 -0
  667. package/dist/billing/type/order/v1/generated/validators/transactionType.zod.js +11 -0
  668. package/dist/billing/type/order/v1/generated/validators/usageCharge.zod.d.ts +44 -0
  669. package/dist/billing/type/order/v1/generated/validators/usageCharge.zod.js +58 -0
  670. package/dist/billing/type/order/v1/generated/validators/usageChargeList.zod.d.ts +51 -0
  671. package/dist/billing/type/order/v1/generated/validators/usageChargeList.zod.js +14 -0
  672. package/dist/billing/type/order/v1/generated/validators/usageType.zod.d.ts +14 -0
  673. package/dist/billing/type/order/v1/generated/validators/usageType.zod.js +11 -0
  674. package/dist/billing/type/order/v1/generated/validators/withdrawal.zod.d.ts +40 -0
  675. package/dist/billing/type/order/v1/generated/validators/withdrawal.zod.js +43 -0
  676. package/dist/billing/type/order/v1/generated/validators/withdrawalAllocation.zod.d.ts +19 -0
  677. package/dist/billing/type/order/v1/generated/validators/withdrawalAllocation.zod.js +17 -0
  678. package/dist/billing/type/order/v1/generated/validators/withdrawalCreate.zod.d.ts +25 -0
  679. package/dist/billing/type/order/v1/generated/validators/withdrawalCreate.zod.js +19 -0
  680. package/dist/billing/type/order/v1/generated/validators/withdrawalItem.zod.d.ts +46 -0
  681. package/dist/billing/type/order/v1/generated/validators/withdrawalItem.zod.js +37 -0
  682. package/dist/billing/type/order/v1/generated/validators/withdrawalItemList.zod.d.ts +48 -0
  683. package/dist/billing/type/order/v1/generated/validators/withdrawalItemList.zod.js +14 -0
  684. package/dist/billing/type/order/v1/generated/validators/withdrawalList.zod.d.ts +39 -0
  685. package/dist/billing/type/order/v1/generated/validators/withdrawalList.zod.js +14 -0
  686. package/dist/billing/type/order/v1/generated/validators/withdrawalPreview.zod.d.ts +40 -0
  687. package/dist/billing/type/order/v1/generated/validators/withdrawalPreview.zod.js +25 -0
  688. package/dist/billing/type/order/v1/generated/validators/withdrawalPreviewItem.zod.d.ts +28 -0
  689. package/dist/billing/type/order/v1/generated/validators/withdrawalPreviewItem.zod.js +19 -0
  690. package/dist/billing/type/order/v1/generated/validators/withdrawalPreviewRequest.zod.d.ts +15 -0
  691. package/dist/billing/type/order/v1/generated/validators/withdrawalPreviewRequest.zod.js +13 -0
  692. package/dist/billing/type/order/v1/generated/validators/withdrawalSource.zod.d.ts +23 -0
  693. package/dist/billing/type/order/v1/generated/validators/withdrawalSource.zod.js +23 -0
  694. package/dist/billing/type/quote/v1/generated/functions.d.ts +8 -0
  695. package/dist/billing/type/quote/v1/generated/functions.js +8 -0
  696. package/dist/billing/type/quote/v1/generated/models.d.ts +190 -0
  697. package/dist/billing/type/quote/v1/generated/models.js +18 -0
  698. package/dist/billing/type/quote/v1/generated/schemas.zod.d.ts +8 -0
  699. package/dist/billing/type/quote/v1/generated/schemas.zod.js +8 -0
  700. package/dist/billing/type/quote/v1/generated/validators/funds.zod.d.ts +18 -0
  701. package/dist/billing/type/quote/v1/generated/validators/funds.zod.js +19 -0
  702. package/dist/billing/type/quote/v1/generated/validators/money.zod.d.ts +11 -0
  703. package/dist/billing/type/quote/v1/generated/validators/money.zod.js +11 -0
  704. package/dist/billing/type/quote/v1/generated/validators/quote.zod.d.ts +65 -0
  705. package/dist/billing/type/quote/v1/generated/validators/quote.zod.js +37 -0
  706. package/dist/billing/type/quote/v1/generated/validators/quoteItem.zod.d.ts +43 -0
  707. package/dist/billing/type/quote/v1/generated/validators/quoteItem.zod.js +51 -0
  708. package/dist/billing/v1/generated/functions.d.ts +2137 -0
  709. package/dist/billing/v1/generated/functions.js +2487 -0
  710. package/dist/billing/v1/generated/models.d.ts +4277 -0
  711. package/dist/billing/v1/generated/models.js +452 -0
  712. package/dist/billing/v1/generated/schemas.zod.d.ts +1290 -0
  713. package/dist/billing/v1/generated/schemas.zod.js +1719 -0
  714. package/dist/billing/v1/generated/validators/accountBalance.zod.d.ts +135 -0
  715. package/dist/billing/v1/generated/validators/accountBalance.zod.js +27 -0
  716. package/dist/billing/v1/generated/validators/accountDeletionObjection.zod.d.ts +19 -0
  717. package/dist/billing/v1/generated/validators/accountDeletionObjection.zod.js +19 -0
  718. package/dist/billing/v1/generated/validators/accountDeletionReadiness.zod.d.ts +45 -0
  719. package/dist/billing/v1/generated/validators/accountDeletionReadiness.zod.js +14 -0
  720. package/dist/billing/v1/generated/validators/accountDeletionReadinessItem.zod.d.ts +43 -0
  721. package/dist/billing/v1/generated/validators/accountDeletionReadinessItem.zod.js +19 -0
  722. package/dist/billing/v1/generated/validators/accountIdentity.zod.d.ts +15 -0
  723. package/dist/billing/v1/generated/validators/accountIdentity.zod.js +13 -0
  724. package/dist/billing/v1/generated/validators/activeResource.zod.d.ts +41 -0
  725. package/dist/billing/v1/generated/validators/activeResource.zod.js +39 -0
  726. package/dist/billing/v1/generated/validators/activeResourceList.zod.d.ts +48 -0
  727. package/dist/billing/v1/generated/validators/activeResourceList.zod.js +14 -0
  728. package/dist/billing/v1/generated/validators/allowance.zod.d.ts +44 -0
  729. package/dist/billing/v1/generated/validators/allowance.zod.js +41 -0
  730. package/dist/billing/v1/generated/validators/allowanceList.zod.d.ts +51 -0
  731. package/dist/billing/v1/generated/validators/allowanceList.zod.js +14 -0
  732. package/dist/billing/v1/generated/validators/applicability.zod.d.ts +119 -0
  733. package/dist/billing/v1/generated/validators/applicability.zod.js +41 -0
  734. package/dist/billing/v1/generated/validators/applicablePlan.zod.d.ts +15 -0
  735. package/dist/billing/v1/generated/validators/applicablePlan.zod.js +15 -0
  736. package/dist/billing/v1/generated/validators/appliedCredit.zod.d.ts +15 -0
  737. package/dist/billing/v1/generated/validators/appliedCredit.zod.js +16 -0
  738. package/dist/billing/v1/generated/validators/autoRenewSet.zod.d.ts +13 -0
  739. package/dist/billing/v1/generated/validators/autoRenewSet.zod.js +11 -0
  740. package/dist/billing/v1/generated/validators/billingAccount.zod.d.ts +30 -0
  741. package/dist/billing/v1/generated/validators/billingAccount.zod.js +34 -0
  742. package/dist/billing/v1/generated/validators/billingAccountCreate.zod.d.ts +17 -0
  743. package/dist/billing/v1/generated/validators/billingAccountCreate.zod.js +15 -0
  744. package/dist/billing/v1/generated/validators/billingAccountList.zod.d.ts +37 -0
  745. package/dist/billing/v1/generated/validators/billingAccountList.zod.js +14 -0
  746. package/dist/billing/v1/generated/validators/billingAccountUpdate.zod.d.ts +15 -0
  747. package/dist/billing/v1/generated/validators/billingAccountUpdate.zod.js +16 -0
  748. package/dist/billing/v1/generated/validators/billingScheme.zod.d.ts +14 -0
  749. package/dist/billing/v1/generated/validators/billingScheme.zod.js +11 -0
  750. package/dist/billing/v1/generated/validators/cancelSubscriptionRequest.zod.d.ts +21 -0
  751. package/dist/billing/v1/generated/validators/cancelSubscriptionRequest.zod.js +21 -0
  752. package/dist/billing/v1/generated/validators/cancellation.zod.d.ts +67 -0
  753. package/dist/billing/v1/generated/validators/cancellation.zod.js +39 -0
  754. package/dist/billing/v1/generated/validators/cancellationCreate.zod.d.ts +23 -0
  755. package/dist/billing/v1/generated/validators/cancellationCreate.zod.js +31 -0
  756. package/dist/billing/v1/generated/validators/cancellationItem.zod.d.ts +38 -0
  757. package/dist/billing/v1/generated/validators/cancellationItem.zod.js +36 -0
  758. package/dist/billing/v1/generated/validators/cancellationList.zod.d.ts +74 -0
  759. package/dist/billing/v1/generated/validators/cancellationList.zod.js +14 -0
  760. package/dist/billing/v1/generated/validators/cancellationMode.zod.d.ts +14 -0
  761. package/dist/billing/v1/generated/validators/cancellationMode.zod.js +11 -0
  762. package/dist/billing/v1/generated/validators/cancellationPolicy.zod.d.ts +14 -0
  763. package/dist/billing/v1/generated/validators/cancellationPolicy.zod.js +11 -0
  764. package/dist/billing/v1/generated/validators/cancellationPreview.zod.d.ts +51 -0
  765. package/dist/billing/v1/generated/validators/cancellationPreview.zod.js +33 -0
  766. package/dist/billing/v1/generated/validators/cancellationPreviewItem.zod.d.ts +35 -0
  767. package/dist/billing/v1/generated/validators/cancellationPreviewItem.zod.js +35 -0
  768. package/dist/billing/v1/generated/validators/cancellationPreviewRequest.zod.d.ts +19 -0
  769. package/dist/billing/v1/generated/validators/cancellationPreviewRequest.zod.js +24 -0
  770. package/dist/billing/v1/generated/validators/checkoutMode.zod.d.ts +14 -0
  771. package/dist/billing/v1/generated/validators/checkoutMode.zod.js +11 -0
  772. package/dist/billing/v1/generated/validators/checkoutOptions.zod.d.ts +21 -0
  773. package/dist/billing/v1/generated/validators/checkoutOptions.zod.js +26 -0
  774. package/dist/billing/v1/generated/validators/checkoutSession.zod.d.ts +54 -0
  775. package/dist/billing/v1/generated/validators/checkoutSession.zod.js +47 -0
  776. package/dist/billing/v1/generated/validators/checkoutSessionConfirm.zod.d.ts +17 -0
  777. package/dist/billing/v1/generated/validators/checkoutSessionConfirm.zod.js +24 -0
  778. package/dist/billing/v1/generated/validators/checkoutSessionCreate.zod.d.ts +26 -0
  779. package/dist/billing/v1/generated/validators/checkoutSessionCreate.zod.js +26 -0
  780. package/dist/billing/v1/generated/validators/checkoutSessionItem.zod.d.ts +21 -0
  781. package/dist/billing/v1/generated/validators/checkoutSessionItem.zod.js +33 -0
  782. package/dist/billing/v1/generated/validators/checkoutSessionItemList.zod.d.ts +27 -0
  783. package/dist/billing/v1/generated/validators/checkoutSessionItemList.zod.js +14 -0
  784. package/dist/billing/v1/generated/validators/checkoutSessionList.zod.d.ts +61 -0
  785. package/dist/billing/v1/generated/validators/checkoutSessionList.zod.js +14 -0
  786. package/dist/billing/v1/generated/validators/checkoutSessionResult.zod.d.ts +193 -0
  787. package/dist/billing/v1/generated/validators/checkoutSessionResult.zod.js +16 -0
  788. package/dist/billing/v1/generated/validators/checkoutSessionStatus.zod.d.ts +15 -0
  789. package/dist/billing/v1/generated/validators/checkoutSessionStatus.zod.js +11 -0
  790. package/dist/billing/v1/generated/validators/contact.zod.d.ts +41 -0
  791. package/dist/billing/v1/generated/validators/contact.zod.js +39 -0
  792. package/dist/billing/v1/generated/validators/contactCreate.zod.d.ts +32 -0
  793. package/dist/billing/v1/generated/validators/contactCreate.zod.js +30 -0
  794. package/dist/billing/v1/generated/validators/contactList.zod.d.ts +38 -0
  795. package/dist/billing/v1/generated/validators/contactList.zod.js +14 -0
  796. package/dist/billing/v1/generated/validators/contactUpdate.zod.d.ts +33 -0
  797. package/dist/billing/v1/generated/validators/contactUpdate.zod.js +31 -0
  798. package/dist/billing/v1/generated/validators/creditGrant.zod.d.ts +137 -0
  799. package/dist/billing/v1/generated/validators/creditGrant.zod.js +27 -0
  800. package/dist/billing/v1/generated/validators/creditGrantList.zod.d.ts +144 -0
  801. package/dist/billing/v1/generated/validators/creditGrantList.zod.js +14 -0
  802. package/dist/billing/v1/generated/validators/creditGroup.zod.d.ts +123 -0
  803. package/dist/billing/v1/generated/validators/creditGroup.zod.js +18 -0
  804. package/dist/billing/v1/generated/validators/creditNote.zod.d.ts +34 -0
  805. package/dist/billing/v1/generated/validators/creditNote.zod.js +40 -0
  806. package/dist/billing/v1/generated/validators/creditNoteItem.zod.d.ts +17 -0
  807. package/dist/billing/v1/generated/validators/creditNoteItem.zod.js +16 -0
  808. package/dist/billing/v1/generated/validators/creditNoteItemList.zod.d.ts +24 -0
  809. package/dist/billing/v1/generated/validators/creditNoteItemList.zod.js +14 -0
  810. package/dist/billing/v1/generated/validators/creditNoteList.zod.d.ts +41 -0
  811. package/dist/billing/v1/generated/validators/creditNoteList.zod.js +14 -0
  812. package/dist/billing/v1/generated/validators/currency.zod.d.ts +21 -0
  813. package/dist/billing/v1/generated/validators/currency.zod.js +30 -0
  814. package/dist/billing/v1/generated/validators/currencyList.zod.d.ts +23 -0
  815. package/dist/billing/v1/generated/validators/currencyList.zod.js +14 -0
  816. package/dist/billing/v1/generated/validators/cursorPagination.zod.d.ts +14 -0
  817. package/dist/billing/v1/generated/validators/cursorPagination.zod.js +14 -0
  818. package/dist/billing/v1/generated/validators/discount.zod.d.ts +153 -0
  819. package/dist/billing/v1/generated/validators/discount.zod.js +44 -0
  820. package/dist/billing/v1/generated/validators/discountList.zod.d.ts +160 -0
  821. package/dist/billing/v1/generated/validators/discountList.zod.js +14 -0
  822. package/dist/billing/v1/generated/validators/entitlement.zod.d.ts +25 -0
  823. package/dist/billing/v1/generated/validators/entitlement.zod.js +20 -0
  824. package/dist/billing/v1/generated/validators/entitlementList.zod.d.ts +32 -0
  825. package/dist/billing/v1/generated/validators/entitlementList.zod.js +14 -0
  826. package/dist/billing/v1/generated/validators/error.zod.d.ts +25 -0
  827. package/dist/billing/v1/generated/validators/error.zod.js +14 -0
  828. package/dist/billing/v1/generated/validators/errorStatus.zod.d.ts +23 -0
  829. package/dist/billing/v1/generated/validators/errorStatus.zod.js +38 -0
  830. package/dist/billing/v1/generated/validators/featureGrant.zod.d.ts +33 -0
  831. package/dist/billing/v1/generated/validators/featureGrant.zod.js +24 -0
  832. package/dist/billing/v1/generated/validators/featureGrantList.zod.d.ts +40 -0
  833. package/dist/billing/v1/generated/validators/featureGrantList.zod.js +14 -0
  834. package/dist/billing/v1/generated/validators/featureGrantStatus.zod.d.ts +16 -0
  835. package/dist/billing/v1/generated/validators/featureGrantStatus.zod.js +11 -0
  836. package/dist/billing/v1/generated/validators/fieldViolation.zod.d.ts +14 -0
  837. package/dist/billing/v1/generated/validators/fieldViolation.zod.js +17 -0
  838. package/dist/billing/v1/generated/validators/funds.zod.d.ts +18 -0
  839. package/dist/billing/v1/generated/validators/funds.zod.js +19 -0
  840. package/dist/billing/v1/generated/validators/getCheckoutSessionQuoteParams.zod.d.ts +14 -0
  841. package/dist/billing/v1/generated/validators/getCheckoutSessionQuoteParams.zod.js +12 -0
  842. package/dist/billing/v1/generated/validators/getPlanHeaders.zod.d.ts +13 -0
  843. package/dist/billing/v1/generated/validators/getPlanHeaders.zod.js +11 -0
  844. package/dist/billing/v1/generated/validators/getPriceHeaders.zod.d.ts +13 -0
  845. package/dist/billing/v1/generated/validators/getPriceHeaders.zod.js +11 -0
  846. package/dist/billing/v1/generated/validators/getProductHeaders.zod.d.ts +13 -0
  847. package/dist/billing/v1/generated/validators/getProductHeaders.zod.js +11 -0
  848. package/dist/billing/v1/generated/validators/getStatementUsageParams.zod.d.ts +29 -0
  849. package/dist/billing/v1/generated/validators/getStatementUsageParams.zod.js +33 -0
  850. package/dist/billing/v1/generated/validators/invoice.zod.d.ts +62 -0
  851. package/dist/billing/v1/generated/validators/invoice.zod.js +54 -0
  852. package/dist/billing/v1/generated/validators/invoiceItem.zod.d.ts +46 -0
  853. package/dist/billing/v1/generated/validators/invoiceItem.zod.js +60 -0
  854. package/dist/billing/v1/generated/validators/invoiceItemList.zod.d.ts +53 -0
  855. package/dist/billing/v1/generated/validators/invoiceItemList.zod.js +14 -0
  856. package/dist/billing/v1/generated/validators/invoiceItemProration.zod.d.ts +18 -0
  857. package/dist/billing/v1/generated/validators/invoiceItemProration.zod.js +21 -0
  858. package/dist/billing/v1/generated/validators/invoiceList.zod.d.ts +69 -0
  859. package/dist/billing/v1/generated/validators/invoiceList.zod.js +14 -0
  860. package/dist/billing/v1/generated/validators/invoiceStatus.zod.d.ts +15 -0
  861. package/dist/billing/v1/generated/validators/invoiceStatus.zod.js +11 -0
  862. package/dist/billing/v1/generated/validators/invoiceSummary.zod.d.ts +31 -0
  863. package/dist/billing/v1/generated/validators/invoiceSummary.zod.js +34 -0
  864. package/dist/billing/v1/generated/validators/listAccountDiscountsParams.zod.d.ts +19 -0
  865. package/dist/billing/v1/generated/validators/listAccountDiscountsParams.zod.js +25 -0
  866. package/dist/billing/v1/generated/validators/listActiveResourcesParams.zod.d.ts +30 -0
  867. package/dist/billing/v1/generated/validators/listActiveResourcesParams.zod.js +32 -0
  868. package/dist/billing/v1/generated/validators/listAllowancesParams.zod.d.ts +29 -0
  869. package/dist/billing/v1/generated/validators/listAllowancesParams.zod.js +27 -0
  870. package/dist/billing/v1/generated/validators/listBillingAccountsParams.zod.d.ts +18 -0
  871. package/dist/billing/v1/generated/validators/listBillingAccountsParams.zod.js +24 -0
  872. package/dist/billing/v1/generated/validators/listCancellationsParams.zod.d.ts +31 -0
  873. package/dist/billing/v1/generated/validators/listCancellationsParams.zod.js +31 -0
  874. package/dist/billing/v1/generated/validators/listCheckoutSessionItemsParams.zod.d.ts +18 -0
  875. package/dist/billing/v1/generated/validators/listCheckoutSessionItemsParams.zod.js +24 -0
  876. package/dist/billing/v1/generated/validators/listCheckoutSessionsParams.zod.d.ts +26 -0
  877. package/dist/billing/v1/generated/validators/listCheckoutSessionsParams.zod.js +29 -0
  878. package/dist/billing/v1/generated/validators/listContactsParams.zod.d.ts +18 -0
  879. package/dist/billing/v1/generated/validators/listContactsParams.zod.js +20 -0
  880. package/dist/billing/v1/generated/validators/listCreditGrantsParams.zod.d.ts +25 -0
  881. package/dist/billing/v1/generated/validators/listCreditGrantsParams.zod.js +26 -0
  882. package/dist/billing/v1/generated/validators/listCreditNoteItemsParams.zod.d.ts +18 -0
  883. package/dist/billing/v1/generated/validators/listCreditNoteItemsParams.zod.js +24 -0
  884. package/dist/billing/v1/generated/validators/listCreditNotesParams.zod.d.ts +20 -0
  885. package/dist/billing/v1/generated/validators/listCreditNotesParams.zod.js +26 -0
  886. package/dist/billing/v1/generated/validators/listCurrenciesParams.zod.d.ts +18 -0
  887. package/dist/billing/v1/generated/validators/listCurrenciesParams.zod.js +20 -0
  888. package/dist/billing/v1/generated/validators/listEntitlementsParams.zod.d.ts +22 -0
  889. package/dist/billing/v1/generated/validators/listEntitlementsParams.zod.js +29 -0
  890. package/dist/billing/v1/generated/validators/listFeatureGrantsParams.zod.d.ts +26 -0
  891. package/dist/billing/v1/generated/validators/listFeatureGrantsParams.zod.js +29 -0
  892. package/dist/billing/v1/generated/validators/listInvoiceItemsParams.zod.d.ts +18 -0
  893. package/dist/billing/v1/generated/validators/listInvoiceItemsParams.zod.js +24 -0
  894. package/dist/billing/v1/generated/validators/listInvoicesParams.zod.d.ts +27 -0
  895. package/dist/billing/v1/generated/validators/listInvoicesParams.zod.js +26 -0
  896. package/dist/billing/v1/generated/validators/listMonthlyStatementsParams.zod.d.ts +21 -0
  897. package/dist/billing/v1/generated/validators/listMonthlyStatementsParams.zod.js +27 -0
  898. package/dist/billing/v1/generated/validators/listOrderItemsParams.zod.d.ts +18 -0
  899. package/dist/billing/v1/generated/validators/listOrderItemsParams.zod.js +20 -0
  900. package/dist/billing/v1/generated/validators/listOrdersParams.zod.d.ts +31 -0
  901. package/dist/billing/v1/generated/validators/listOrdersParams.zod.js +27 -0
  902. package/dist/billing/v1/generated/validators/listPaymentMethodsParams.zod.d.ts +19 -0
  903. package/dist/billing/v1/generated/validators/listPaymentMethodsParams.zod.js +25 -0
  904. package/dist/billing/v1/generated/validators/listPaymentOptionsParams.zod.d.ts +18 -0
  905. package/dist/billing/v1/generated/validators/listPaymentOptionsParams.zod.js +24 -0
  906. package/dist/billing/v1/generated/validators/listPlansHeaders.zod.d.ts +13 -0
  907. package/dist/billing/v1/generated/validators/listPlansHeaders.zod.js +11 -0
  908. package/dist/billing/v1/generated/validators/listPlansParams.zod.d.ts +18 -0
  909. package/dist/billing/v1/generated/validators/listPlansParams.zod.js +20 -0
  910. package/dist/billing/v1/generated/validators/listPricesByPlanHeaders.zod.d.ts +13 -0
  911. package/dist/billing/v1/generated/validators/listPricesByPlanHeaders.zod.js +11 -0
  912. package/dist/billing/v1/generated/validators/listPricesByPlanParams.zod.d.ts +19 -0
  913. package/dist/billing/v1/generated/validators/listPricesByPlanParams.zod.js +25 -0
  914. package/dist/billing/v1/generated/validators/listPricesHeaders.zod.d.ts +13 -0
  915. package/dist/billing/v1/generated/validators/listPricesHeaders.zod.js +11 -0
  916. package/dist/billing/v1/generated/validators/listPricesParams.zod.d.ts +30 -0
  917. package/dist/billing/v1/generated/validators/listPricesParams.zod.js +29 -0
  918. package/dist/billing/v1/generated/validators/listProductsHeaders.zod.d.ts +13 -0
  919. package/dist/billing/v1/generated/validators/listProductsHeaders.zod.js +11 -0
  920. package/dist/billing/v1/generated/validators/listProductsParams.zod.d.ts +18 -0
  921. package/dist/billing/v1/generated/validators/listProductsParams.zod.js +20 -0
  922. package/dist/billing/v1/generated/validators/listProjectAssignmentsParams.zod.d.ts +21 -0
  923. package/dist/billing/v1/generated/validators/listProjectAssignmentsParams.zod.js +31 -0
  924. package/dist/billing/v1/generated/validators/listRefundsParams.zod.d.ts +21 -0
  925. package/dist/billing/v1/generated/validators/listRefundsParams.zod.js +23 -0
  926. package/dist/billing/v1/generated/validators/listRenewalPricesParams.zod.d.ts +18 -0
  927. package/dist/billing/v1/generated/validators/listRenewalPricesParams.zod.js +24 -0
  928. package/dist/billing/v1/generated/validators/listSpendParams.zod.d.ts +31 -0
  929. package/dist/billing/v1/generated/validators/listSpendParams.zod.js +31 -0
  930. package/dist/billing/v1/generated/validators/listStatementsParams.zod.d.ts +25 -0
  931. package/dist/billing/v1/generated/validators/listStatementsParams.zod.js +25 -0
  932. package/dist/billing/v1/generated/validators/listSubscriptionsParams.zod.d.ts +22 -0
  933. package/dist/billing/v1/generated/validators/listSubscriptionsParams.zod.js +28 -0
  934. package/dist/billing/v1/generated/validators/listTopUpsParams.zod.d.ts +19 -0
  935. package/dist/billing/v1/generated/validators/listTopUpsParams.zod.js +21 -0
  936. package/dist/billing/v1/generated/validators/listTransactionsParams.zod.d.ts +21 -0
  937. package/dist/billing/v1/generated/validators/listTransactionsParams.zod.js +27 -0
  938. package/dist/billing/v1/generated/validators/listUsageChargesParams.zod.d.ts +28 -0
  939. package/dist/billing/v1/generated/validators/listUsageChargesParams.zod.js +35 -0
  940. package/dist/billing/v1/generated/validators/listWithdrawalItemsParams.zod.d.ts +18 -0
  941. package/dist/billing/v1/generated/validators/listWithdrawalItemsParams.zod.js +24 -0
  942. package/dist/billing/v1/generated/validators/listWithdrawalsParams.zod.d.ts +19 -0
  943. package/dist/billing/v1/generated/validators/listWithdrawalsParams.zod.js +25 -0
  944. package/dist/billing/v1/generated/validators/money.zod.d.ts +11 -0
  945. package/dist/billing/v1/generated/validators/money.zod.js +11 -0
  946. package/dist/billing/v1/generated/validators/monthlyStatement.zod.d.ts +38 -0
  947. package/dist/billing/v1/generated/validators/monthlyStatement.zod.js +30 -0
  948. package/dist/billing/v1/generated/validators/monthlyStatementList.zod.d.ts +45 -0
  949. package/dist/billing/v1/generated/validators/monthlyStatementList.zod.js +14 -0
  950. package/dist/billing/v1/generated/validators/namedIdentity.zod.d.ts +15 -0
  951. package/dist/billing/v1/generated/validators/namedIdentity.zod.js +15 -0
  952. package/dist/billing/v1/generated/validators/objectIdentity.zod.d.ts +15 -0
  953. package/dist/billing/v1/generated/validators/objectIdentity.zod.js +15 -0
  954. package/dist/billing/v1/generated/validators/offsetPagination.zod.d.ts +16 -0
  955. package/dist/billing/v1/generated/validators/offsetPagination.zod.js +16 -0
  956. package/dist/billing/v1/generated/validators/order.zod.d.ts +147 -0
  957. package/dist/billing/v1/generated/validators/order.zod.js +63 -0
  958. package/dist/billing/v1/generated/validators/orderCancel.zod.d.ts +14 -0
  959. package/dist/billing/v1/generated/validators/orderCancel.zod.js +17 -0
  960. package/dist/billing/v1/generated/validators/orderItem.zod.d.ts +75 -0
  961. package/dist/billing/v1/generated/validators/orderItem.zod.js +88 -0
  962. package/dist/billing/v1/generated/validators/orderItemList.zod.d.ts +81 -0
  963. package/dist/billing/v1/generated/validators/orderItemList.zod.js +14 -0
  964. package/dist/billing/v1/generated/validators/orderItemStatus.zod.d.ts +16 -0
  965. package/dist/billing/v1/generated/validators/orderItemStatus.zod.js +11 -0
  966. package/dist/billing/v1/generated/validators/orderList.zod.d.ts +154 -0
  967. package/dist/billing/v1/generated/validators/orderList.zod.js +14 -0
  968. package/dist/billing/v1/generated/validators/orderRefundPreview.zod.d.ts +17 -0
  969. package/dist/billing/v1/generated/validators/orderRefundPreview.zod.js +18 -0
  970. package/dist/billing/v1/generated/validators/orderStatus.zod.d.ts +18 -0
  971. package/dist/billing/v1/generated/validators/orderStatus.zod.js +11 -0
  972. package/dist/billing/v1/generated/validators/paidWith.zod.d.ts +17 -0
  973. package/dist/billing/v1/generated/validators/paidWith.zod.js +25 -0
  974. package/dist/billing/v1/generated/validators/payInvoiceRequest.zod.d.ts +22 -0
  975. package/dist/billing/v1/generated/validators/payInvoiceRequest.zod.js +41 -0
  976. package/dist/billing/v1/generated/validators/payTogetherRequest.zod.d.ts +18 -0
  977. package/dist/billing/v1/generated/validators/payTogetherRequest.zod.js +21 -0
  978. package/dist/billing/v1/generated/validators/paymentAction.zod.d.ts +22 -0
  979. package/dist/billing/v1/generated/validators/paymentAction.zod.js +24 -0
  980. package/dist/billing/v1/generated/validators/paymentCancellationReason.zod.d.ts +14 -0
  981. package/dist/billing/v1/generated/validators/paymentCancellationReason.zod.js +11 -0
  982. package/dist/billing/v1/generated/validators/paymentMethod.zod.d.ts +25 -0
  983. package/dist/billing/v1/generated/validators/paymentMethod.zod.js +19 -0
  984. package/dist/billing/v1/generated/validators/paymentMethodList.zod.d.ts +32 -0
  985. package/dist/billing/v1/generated/validators/paymentMethodList.zod.js +14 -0
  986. package/dist/billing/v1/generated/validators/paymentMethodSetup.zod.d.ts +15 -0
  987. package/dist/billing/v1/generated/validators/paymentMethodSetup.zod.js +17 -0
  988. package/dist/billing/v1/generated/validators/paymentMethodSetupResult.zod.d.ts +26 -0
  989. package/dist/billing/v1/generated/validators/paymentMethodSetupResult.zod.js +16 -0
  990. package/dist/billing/v1/generated/validators/paymentOption.zod.d.ts +17 -0
  991. package/dist/billing/v1/generated/validators/paymentOption.zod.js +15 -0
  992. package/dist/billing/v1/generated/validators/paymentOptionList.zod.d.ts +24 -0
  993. package/dist/billing/v1/generated/validators/paymentOptionList.zod.js +14 -0
  994. package/dist/billing/v1/generated/validators/paymentOptionMethod.zod.d.ts +14 -0
  995. package/dist/billing/v1/generated/validators/paymentOptionMethod.zod.js +16 -0
  996. package/dist/billing/v1/generated/validators/paymentPreview.zod.d.ts +38 -0
  997. package/dist/billing/v1/generated/validators/paymentPreview.zod.js +30 -0
  998. package/dist/billing/v1/generated/validators/paymentPreviewInvoice.zod.d.ts +17 -0
  999. package/dist/billing/v1/generated/validators/paymentPreviewInvoice.zod.js +16 -0
  1000. package/dist/billing/v1/generated/validators/paymentResult.zod.d.ts +87 -0
  1001. package/dist/billing/v1/generated/validators/paymentResult.zod.js +36 -0
  1002. package/dist/billing/v1/generated/validators/paymentStatus.zod.d.ts +16 -0
  1003. package/dist/billing/v1/generated/validators/paymentStatus.zod.js +11 -0
  1004. package/dist/billing/v1/generated/validators/plan.zod.d.ts +31 -0
  1005. package/dist/billing/v1/generated/validators/plan.zod.js +23 -0
  1006. package/dist/billing/v1/generated/validators/planFeature.zod.d.ts +18 -0
  1007. package/dist/billing/v1/generated/validators/planFeature.zod.js +13 -0
  1008. package/dist/billing/v1/generated/validators/planList.zod.d.ts +38 -0
  1009. package/dist/billing/v1/generated/validators/planList.zod.js +14 -0
  1010. package/dist/billing/v1/generated/validators/previewInvoicePaymentParams.zod.d.ts +16 -0
  1011. package/dist/billing/v1/generated/validators/previewInvoicePaymentParams.zod.js +14 -0
  1012. package/dist/billing/v1/generated/validators/previewOrderRefundParams.zod.d.ts +14 -0
  1013. package/dist/billing/v1/generated/validators/previewOrderRefundParams.zod.js +16 -0
  1014. package/dist/billing/v1/generated/validators/price.zod.d.ts +119 -0
  1015. package/dist/billing/v1/generated/validators/price.zod.js +78 -0
  1016. package/dist/billing/v1/generated/validators/priceList.zod.d.ts +126 -0
  1017. package/dist/billing/v1/generated/validators/priceList.zod.js +14 -0
  1018. package/dist/billing/v1/generated/validators/priceOption.zod.d.ts +46 -0
  1019. package/dist/billing/v1/generated/validators/priceOption.zod.js +32 -0
  1020. package/dist/billing/v1/generated/validators/priceSearch.zod.d.ts +34 -0
  1021. package/dist/billing/v1/generated/validators/priceSearch.zod.js +60 -0
  1022. package/dist/billing/v1/generated/validators/priceType.zod.d.ts +14 -0
  1023. package/dist/billing/v1/generated/validators/priceType.zod.js +11 -0
  1024. package/dist/billing/v1/generated/validators/product.zod.d.ts +15 -0
  1025. package/dist/billing/v1/generated/validators/product.zod.js +14 -0
  1026. package/dist/billing/v1/generated/validators/productID.zod.d.ts +13 -0
  1027. package/dist/billing/v1/generated/validators/productID.zod.js +16 -0
  1028. package/dist/billing/v1/generated/validators/productList.zod.d.ts +22 -0
  1029. package/dist/billing/v1/generated/validators/productList.zod.js +14 -0
  1030. package/dist/billing/v1/generated/validators/projectAssignment.zod.d.ts +22 -0
  1031. package/dist/billing/v1/generated/validators/projectAssignment.zod.js +23 -0
  1032. package/dist/billing/v1/generated/validators/projectAssignmentList.zod.d.ts +29 -0
  1033. package/dist/billing/v1/generated/validators/projectAssignmentList.zod.js +14 -0
  1034. package/dist/billing/v1/generated/validators/purchaseOperation.zod.d.ts +15 -0
  1035. package/dist/billing/v1/generated/validators/purchaseOperation.zod.js +11 -0
  1036. package/dist/billing/v1/generated/validators/quote.zod.d.ts +105 -0
  1037. package/dist/billing/v1/generated/validators/quote.zod.js +37 -0
  1038. package/dist/billing/v1/generated/validators/quoteAddress.zod.d.ts +16 -0
  1039. package/dist/billing/v1/generated/validators/quoteAddress.zod.js +22 -0
  1040. package/dist/billing/v1/generated/validators/quoteChangeInput.zod.d.ts +42 -0
  1041. package/dist/billing/v1/generated/validators/quoteChangeInput.zod.js +38 -0
  1042. package/dist/billing/v1/generated/validators/quoteDowngradeRefund.zod.d.ts +14 -0
  1043. package/dist/billing/v1/generated/validators/quoteDowngradeRefund.zod.js +15 -0
  1044. package/dist/billing/v1/generated/validators/quoteItem.zod.d.ts +51 -0
  1045. package/dist/billing/v1/generated/validators/quoteItem.zod.js +70 -0
  1046. package/dist/billing/v1/generated/validators/quoteItemInput.zod.d.ts +41 -0
  1047. package/dist/billing/v1/generated/validators/quoteItemInput.zod.js +34 -0
  1048. package/dist/billing/v1/generated/validators/quoteRenewal.zod.d.ts +27 -0
  1049. package/dist/billing/v1/generated/validators/quoteRenewal.zod.js +26 -0
  1050. package/dist/billing/v1/generated/validators/quoteRenewalResult.zod.d.ts +27 -0
  1051. package/dist/billing/v1/generated/validators/quoteRenewalResult.zod.js +24 -0
  1052. package/dist/billing/v1/generated/validators/quoteRequest.zod.d.ts +101 -0
  1053. package/dist/billing/v1/generated/validators/quoteRequest.zod.js +57 -0
  1054. package/dist/billing/v1/generated/validators/quotedDiscount.zod.d.ts +29 -0
  1055. package/dist/billing/v1/generated/validators/quotedDiscount.zod.js +32 -0
  1056. package/dist/billing/v1/generated/validators/rate.zod.d.ts +49 -0
  1057. package/dist/billing/v1/generated/validators/rate.zod.js +41 -0
  1058. package/dist/billing/v1/generated/validators/refund.zod.d.ts +93 -0
  1059. package/dist/billing/v1/generated/validators/refund.zod.js +44 -0
  1060. package/dist/billing/v1/generated/validators/refundList.zod.d.ts +100 -0
  1061. package/dist/billing/v1/generated/validators/refundList.zod.js +14 -0
  1062. package/dist/billing/v1/generated/validators/refundPolicy.zod.d.ts +15 -0
  1063. package/dist/billing/v1/generated/validators/refundPolicy.zod.js +11 -0
  1064. package/dist/billing/v1/generated/validators/refundReason.zod.d.ts +23 -0
  1065. package/dist/billing/v1/generated/validators/refundReason.zod.js +23 -0
  1066. package/dist/billing/v1/generated/validators/renewRequest.zod.d.ts +31 -0
  1067. package/dist/billing/v1/generated/validators/renewRequest.zod.js +42 -0
  1068. package/dist/billing/v1/generated/validators/renewalPrice.zod.d.ts +33 -0
  1069. package/dist/billing/v1/generated/validators/renewalPrice.zod.js +25 -0
  1070. package/dist/billing/v1/generated/validators/renewalPriceList.zod.d.ts +40 -0
  1071. package/dist/billing/v1/generated/validators/renewalPriceList.zod.js +14 -0
  1072. package/dist/billing/v1/generated/validators/scheduledChange.zod.d.ts +34 -0
  1073. package/dist/billing/v1/generated/validators/scheduledChange.zod.js +26 -0
  1074. package/dist/billing/v1/generated/validators/setProjectAssignmentRequest.zod.d.ts +13 -0
  1075. package/dist/billing/v1/generated/validators/setProjectAssignmentRequest.zod.js +11 -0
  1076. package/dist/billing/v1/generated/validators/spendRow.zod.d.ts +30 -0
  1077. package/dist/billing/v1/generated/validators/spendRow.zod.js +29 -0
  1078. package/dist/billing/v1/generated/validators/spendRowList.zod.d.ts +39 -0
  1079. package/dist/billing/v1/generated/validators/spendRowList.zod.js +17 -0
  1080. package/dist/billing/v1/generated/validators/statement.zod.d.ts +40 -0
  1081. package/dist/billing/v1/generated/validators/statement.zod.js +36 -0
  1082. package/dist/billing/v1/generated/validators/statementAmounts.zod.d.ts +17 -0
  1083. package/dist/billing/v1/generated/validators/statementAmounts.zod.js +16 -0
  1084. package/dist/billing/v1/generated/validators/statementItem.zod.d.ts +20 -0
  1085. package/dist/billing/v1/generated/validators/statementItem.zod.js +25 -0
  1086. package/dist/billing/v1/generated/validators/statementList.zod.d.ts +47 -0
  1087. package/dist/billing/v1/generated/validators/statementList.zod.js +14 -0
  1088. package/dist/billing/v1/generated/validators/statementStatus.zod.d.ts +14 -0
  1089. package/dist/billing/v1/generated/validators/statementStatus.zod.js +9 -0
  1090. package/dist/billing/v1/generated/validators/statementSummary.zod.d.ts +36 -0
  1091. package/dist/billing/v1/generated/validators/statementSummary.zod.js +19 -0
  1092. package/dist/billing/v1/generated/validators/statementType.zod.d.ts +15 -0
  1093. package/dist/billing/v1/generated/validators/statementType.zod.js +11 -0
  1094. package/dist/billing/v1/generated/validators/subscription.zod.d.ts +149 -0
  1095. package/dist/billing/v1/generated/validators/subscription.zod.js +119 -0
  1096. package/dist/billing/v1/generated/validators/subscriptionCancellation.zod.d.ts +37 -0
  1097. package/dist/billing/v1/generated/validators/subscriptionCancellation.zod.js +31 -0
  1098. package/dist/billing/v1/generated/validators/subscriptionList.zod.d.ts +155 -0
  1099. package/dist/billing/v1/generated/validators/subscriptionList.zod.js +14 -0
  1100. package/dist/billing/v1/generated/validators/subscriptionRestriction.zod.d.ts +17 -0
  1101. package/dist/billing/v1/generated/validators/subscriptionRestriction.zod.js +17 -0
  1102. package/dist/billing/v1/generated/validators/taxItem.zod.d.ts +21 -0
  1103. package/dist/billing/v1/generated/validators/taxItem.zod.js +21 -0
  1104. package/dist/billing/v1/generated/validators/tier.zod.d.ts +15 -0
  1105. package/dist/billing/v1/generated/validators/tier.zod.js +17 -0
  1106. package/dist/billing/v1/generated/validators/topUp.zod.d.ts +51 -0
  1107. package/dist/billing/v1/generated/validators/topUp.zod.js +46 -0
  1108. package/dist/billing/v1/generated/validators/topUpCreate.zod.d.ts +22 -0
  1109. package/dist/billing/v1/generated/validators/topUpCreate.zod.js +34 -0
  1110. package/dist/billing/v1/generated/validators/topUpList.zod.d.ts +58 -0
  1111. package/dist/billing/v1/generated/validators/topUpList.zod.js +14 -0
  1112. package/dist/billing/v1/generated/validators/transaction.zod.d.ts +54 -0
  1113. package/dist/billing/v1/generated/validators/transaction.zod.js +48 -0
  1114. package/dist/billing/v1/generated/validators/transactionList.zod.d.ts +61 -0
  1115. package/dist/billing/v1/generated/validators/transactionList.zod.js +14 -0
  1116. package/dist/billing/v1/generated/validators/transactionType.zod.d.ts +17 -0
  1117. package/dist/billing/v1/generated/validators/transactionType.zod.js +11 -0
  1118. package/dist/billing/v1/generated/validators/usageCharge.zod.d.ts +44 -0
  1119. package/dist/billing/v1/generated/validators/usageCharge.zod.js +58 -0
  1120. package/dist/billing/v1/generated/validators/usageChargeList.zod.d.ts +51 -0
  1121. package/dist/billing/v1/generated/validators/usageChargeList.zod.js +14 -0
  1122. package/dist/billing/v1/generated/validators/usageEstimate.zod.d.ts +23 -0
  1123. package/dist/billing/v1/generated/validators/usageEstimate.zod.js +15 -0
  1124. package/dist/billing/v1/generated/validators/usageEstimateInput.zod.d.ts +26 -0
  1125. package/dist/billing/v1/generated/validators/usageEstimateInput.zod.js +37 -0
  1126. package/dist/billing/v1/generated/validators/usageEstimateItem.zod.d.ts +20 -0
  1127. package/dist/billing/v1/generated/validators/usageEstimateItem.zod.js +27 -0
  1128. package/dist/billing/v1/generated/validators/usageEstimateRequest.zod.d.ts +28 -0
  1129. package/dist/billing/v1/generated/validators/usageEstimateRequest.zod.js +20 -0
  1130. package/dist/billing/v1/generated/validators/usageType.zod.d.ts +14 -0
  1131. package/dist/billing/v1/generated/validators/usageType.zod.js +11 -0
  1132. package/dist/billing/v1/generated/validators/withdrawal.zod.d.ts +40 -0
  1133. package/dist/billing/v1/generated/validators/withdrawal.zod.js +43 -0
  1134. package/dist/billing/v1/generated/validators/withdrawalAllocation.zod.d.ts +19 -0
  1135. package/dist/billing/v1/generated/validators/withdrawalAllocation.zod.js +17 -0
  1136. package/dist/billing/v1/generated/validators/withdrawalCreate.zod.d.ts +25 -0
  1137. package/dist/billing/v1/generated/validators/withdrawalCreate.zod.js +19 -0
  1138. package/dist/billing/v1/generated/validators/withdrawalItem.zod.d.ts +46 -0
  1139. package/dist/billing/v1/generated/validators/withdrawalItem.zod.js +37 -0
  1140. package/dist/billing/v1/generated/validators/withdrawalItemList.zod.d.ts +48 -0
  1141. package/dist/billing/v1/generated/validators/withdrawalItemList.zod.js +14 -0
  1142. package/dist/billing/v1/generated/validators/withdrawalList.zod.d.ts +39 -0
  1143. package/dist/billing/v1/generated/validators/withdrawalList.zod.js +14 -0
  1144. package/dist/billing/v1/generated/validators/withdrawalPreview.zod.d.ts +40 -0
  1145. package/dist/billing/v1/generated/validators/withdrawalPreview.zod.js +25 -0
  1146. package/dist/billing/v1/generated/validators/withdrawalPreviewItem.zod.d.ts +28 -0
  1147. package/dist/billing/v1/generated/validators/withdrawalPreviewItem.zod.js +19 -0
  1148. package/dist/billing/v1/generated/validators/withdrawalPreviewRequest.zod.d.ts +15 -0
  1149. package/dist/billing/v1/generated/validators/withdrawalPreviewRequest.zod.js +13 -0
  1150. package/dist/billing/v1/generated/validators/withdrawalSource.zod.d.ts +23 -0
  1151. package/dist/billing/v1/generated/validators/withdrawalSource.zod.js +23 -0
  1152. package/dist/billing/v1/index.d.ts +3 -0
  1153. package/dist/billing/v1/index.js +3 -0
  1154. package/dist/canopy/v1/generated/functions.d.ts +650 -0
  1155. package/dist/canopy/v1/generated/functions.js +672 -0
  1156. package/dist/canopy/v1/generated/models.d.ts +1170 -0
  1157. package/dist/canopy/v1/generated/models.js +144 -0
  1158. package/dist/canopy/v1/generated/schemas.zod.d.ts +349 -0
  1159. package/dist/canopy/v1/generated/schemas.zod.js +378 -0
  1160. package/dist/canopy/v1/generated/validators/aPIKeyResource.zod.d.ts +61 -0
  1161. package/dist/canopy/v1/generated/validators/aPIKeyResource.zod.js +69 -0
  1162. package/dist/canopy/v1/generated/validators/aPIKeyUsageListResponseBody.zod.d.ts +63 -0
  1163. package/dist/canopy/v1/generated/validators/aPIKeyUsageListResponseBody.zod.js +45 -0
  1164. package/dist/canopy/v1/generated/validators/aPIKeyUsageResource.zod.d.ts +61 -0
  1165. package/dist/canopy/v1/generated/validators/aPIKeyUsageResource.zod.js +55 -0
  1166. package/dist/canopy/v1/generated/validators/audioCapabilities.zod.d.ts +51 -0
  1167. package/dist/canopy/v1/generated/validators/audioCapabilities.zod.js +67 -0
  1168. package/dist/canopy/v1/generated/validators/chatCompletion.zod.d.ts +44 -0
  1169. package/dist/canopy/v1/generated/validators/chatCompletion.zod.js +42 -0
  1170. package/dist/canopy/v1/generated/validators/chatCompletionRequest.zod.d.ts +51 -0
  1171. package/dist/canopy/v1/generated/validators/chatCompletionRequest.zod.js +49 -0
  1172. package/dist/canopy/v1/generated/validators/checkoutMode.zod.d.ts +47 -0
  1173. package/dist/canopy/v1/generated/validators/checkoutMode.zod.js +44 -0
  1174. package/dist/canopy/v1/generated/validators/checkoutOptions.zod.d.ts +54 -0
  1175. package/dist/canopy/v1/generated/validators/checkoutOptions.zod.js +59 -0
  1176. package/dist/canopy/v1/generated/validators/createAPIKeyRequestBody.zod.d.ts +50 -0
  1177. package/dist/canopy/v1/generated/validators/createAPIKeyRequestBody.zod.js +61 -0
  1178. package/dist/canopy/v1/generated/validators/createServiceRequestBody.zod.d.ts +53 -0
  1179. package/dist/canopy/v1/generated/validators/createServiceRequestBody.zod.js +45 -0
  1180. package/dist/canopy/v1/generated/validators/createServiceResponseBody.zod.d.ts +62 -0
  1181. package/dist/canopy/v1/generated/validators/createServiceResponseBody.zod.js +54 -0
  1182. package/dist/canopy/v1/generated/validators/cursorPageRequestResource.zod.d.ts +89 -0
  1183. package/dist/canopy/v1/generated/validators/cursorPageRequestResource.zod.js +46 -0
  1184. package/dist/canopy/v1/generated/validators/cursorPagination.zod.d.ts +47 -0
  1185. package/dist/canopy/v1/generated/validators/cursorPagination.zod.js +47 -0
  1186. package/dist/canopy/v1/generated/validators/embeddingRequest.zod.d.ts +53 -0
  1187. package/dist/canopy/v1/generated/validators/embeddingRequest.zod.js +50 -0
  1188. package/dist/canopy/v1/generated/validators/embeddingResponse.zod.d.ts +44 -0
  1189. package/dist/canopy/v1/generated/validators/embeddingResponse.zod.js +42 -0
  1190. package/dist/canopy/v1/generated/validators/endpointCapabilities.zod.d.ts +95 -0
  1191. package/dist/canopy/v1/generated/validators/endpointCapabilities.zod.js +67 -0
  1192. package/dist/canopy/v1/generated/validators/error.zod.d.ts +58 -0
  1193. package/dist/canopy/v1/generated/validators/error.zod.js +47 -0
  1194. package/dist/canopy/v1/generated/validators/errorStatus.zod.d.ts +56 -0
  1195. package/dist/canopy/v1/generated/validators/errorStatus.zod.js +71 -0
  1196. package/dist/canopy/v1/generated/validators/fieldViolation.zod.d.ts +47 -0
  1197. package/dist/canopy/v1/generated/validators/fieldViolation.zod.js +50 -0
  1198. package/dist/canopy/v1/generated/validators/getUsageSummaryParams.zod.d.ts +59 -0
  1199. package/dist/canopy/v1/generated/validators/getUsageSummaryParams.zod.js +67 -0
  1200. package/dist/canopy/v1/generated/validators/getUsageTimelineParams.zod.d.ts +62 -0
  1201. package/dist/canopy/v1/generated/validators/getUsageTimelineParams.zod.js +74 -0
  1202. package/dist/canopy/v1/generated/validators/imageCapabilities.zod.d.ts +52 -0
  1203. package/dist/canopy/v1/generated/validators/imageCapabilities.zod.js +69 -0
  1204. package/dist/canopy/v1/generated/validators/inferenceError.zod.d.ts +51 -0
  1205. package/dist/canopy/v1/generated/validators/inferenceError.zod.js +49 -0
  1206. package/dist/canopy/v1/generated/validators/issuedAPIKeyResource.zod.d.ts +62 -0
  1207. package/dist/canopy/v1/generated/validators/issuedAPIKeyResource.zod.js +72 -0
  1208. package/dist/canopy/v1/generated/validators/lengthAwarePageAPIKeyResource.zod.d.ts +66 -0
  1209. package/dist/canopy/v1/generated/validators/lengthAwarePageAPIKeyResource.zod.js +48 -0
  1210. package/dist/canopy/v1/generated/validators/listApiKeysParams.zod.d.ts +57 -0
  1211. package/dist/canopy/v1/generated/validators/listApiKeysParams.zod.js +58 -0
  1212. package/dist/canopy/v1/generated/validators/listRequestsParams.zod.d.ts +64 -0
  1213. package/dist/canopy/v1/generated/validators/listRequestsParams.zod.js +72 -0
  1214. package/dist/canopy/v1/generated/validators/listUsageByApiKeyParams.zod.d.ts +57 -0
  1215. package/dist/canopy/v1/generated/validators/listUsageByApiKeyParams.zod.js +60 -0
  1216. package/dist/canopy/v1/generated/validators/listUsageByModelParams.zod.d.ts +59 -0
  1217. package/dist/canopy/v1/generated/validators/listUsageByModelParams.zod.js +67 -0
  1218. package/dist/canopy/v1/generated/validators/mediaUsage.zod.d.ts +52 -0
  1219. package/dist/canopy/v1/generated/validators/mediaUsage.zod.js +61 -0
  1220. package/dist/canopy/v1/generated/validators/modality.zod.d.ts +51 -0
  1221. package/dist/canopy/v1/generated/validators/modality.zod.js +42 -0
  1222. package/dist/canopy/v1/generated/validators/model.zod.d.ts +148 -0
  1223. package/dist/canopy/v1/generated/validators/model.zod.js +69 -0
  1224. package/dist/canopy/v1/generated/validators/modelBilling.zod.d.ts +64 -0
  1225. package/dist/canopy/v1/generated/validators/modelBilling.zod.js +53 -0
  1226. package/dist/canopy/v1/generated/validators/modelCapabilities.zod.d.ts +95 -0
  1227. package/dist/canopy/v1/generated/validators/modelCapabilities.zod.js +45 -0
  1228. package/dist/canopy/v1/generated/validators/modelEndpoint.zod.d.ts +69 -0
  1229. package/dist/canopy/v1/generated/validators/modelEndpoint.zod.js +67 -0
  1230. package/dist/canopy/v1/generated/validators/modelList.zod.d.ts +151 -0
  1231. package/dist/canopy/v1/generated/validators/modelList.zod.js +46 -0
  1232. package/dist/canopy/v1/generated/validators/modelListResponseBody.zod.d.ts +174 -0
  1233. package/dist/canopy/v1/generated/validators/modelListResponseBody.zod.js +45 -0
  1234. package/dist/canopy/v1/generated/validators/modelMeter.zod.d.ts +61 -0
  1235. package/dist/canopy/v1/generated/validators/modelMeter.zod.js +67 -0
  1236. package/dist/canopy/v1/generated/validators/modelParameter.zod.d.ts +58 -0
  1237. package/dist/canopy/v1/generated/validators/modelParameter.zod.js +57 -0
  1238. package/dist/canopy/v1/generated/validators/modelResource.zod.d.ts +172 -0
  1239. package/dist/canopy/v1/generated/validators/modelResource.zod.js +74 -0
  1240. package/dist/canopy/v1/generated/validators/modelUsageListResponseBody.zod.d.ts +63 -0
  1241. package/dist/canopy/v1/generated/validators/modelUsageListResponseBody.zod.js +45 -0
  1242. package/dist/canopy/v1/generated/validators/modelUsageResource.zod.d.ts +61 -0
  1243. package/dist/canopy/v1/generated/validators/modelUsageResource.zod.js +55 -0
  1244. package/dist/canopy/v1/generated/validators/money.zod.d.ts +44 -0
  1245. package/dist/canopy/v1/generated/validators/money.zod.js +44 -0
  1246. package/dist/canopy/v1/generated/validators/nativeRequest.zod.d.ts +44 -0
  1247. package/dist/canopy/v1/generated/validators/nativeRequest.zod.js +44 -0
  1248. package/dist/canopy/v1/generated/validators/nativeResponse.zod.d.ts +44 -0
  1249. package/dist/canopy/v1/generated/validators/nativeResponse.zod.js +44 -0
  1250. package/dist/canopy/v1/generated/validators/offsetPagination.zod.d.ts +49 -0
  1251. package/dist/canopy/v1/generated/validators/offsetPagination.zod.js +49 -0
  1252. package/dist/canopy/v1/generated/validators/reasoningCapabilities.zod.d.ts +56 -0
  1253. package/dist/canopy/v1/generated/validators/reasoningCapabilities.zod.js +59 -0
  1254. package/dist/canopy/v1/generated/validators/reasoningDiagnostics.zod.d.ts +46 -0
  1255. package/dist/canopy/v1/generated/validators/reasoningDiagnostics.zod.js +44 -0
  1256. package/dist/canopy/v1/generated/validators/requestResource.zod.d.ts +87 -0
  1257. package/dist/canopy/v1/generated/validators/requestResource.zod.js +87 -0
  1258. package/dist/canopy/v1/generated/validators/responseCreate.zod.d.ts +56 -0
  1259. package/dist/canopy/v1/generated/validators/responseCreate.zod.js +56 -0
  1260. package/dist/canopy/v1/generated/validators/responseDeleted.zod.d.ts +48 -0
  1261. package/dist/canopy/v1/generated/validators/responseDeleted.zod.js +46 -0
  1262. package/dist/canopy/v1/generated/validators/responseResource.zod.d.ts +44 -0
  1263. package/dist/canopy/v1/generated/validators/responseResource.zod.js +42 -0
  1264. package/dist/canopy/v1/generated/validators/serviceResource.zod.d.ts +58 -0
  1265. package/dist/canopy/v1/generated/validators/serviceResource.zod.js +82 -0
  1266. package/dist/canopy/v1/generated/validators/streamGenerateContentParams.zod.d.ts +48 -0
  1267. package/dist/canopy/v1/generated/validators/streamGenerateContentParams.zod.js +44 -0
  1268. package/dist/canopy/v1/generated/validators/totalsResource.zod.d.ts +60 -0
  1269. package/dist/canopy/v1/generated/validators/totalsResource.zod.js +54 -0
  1270. package/dist/canopy/v1/generated/validators/updateAPIKeyRequestBody.zod.d.ts +51 -0
  1271. package/dist/canopy/v1/generated/validators/updateAPIKeyRequestBody.zod.js +52 -0
  1272. package/dist/canopy/v1/generated/validators/usageBucketResource.zod.d.ts +62 -0
  1273. package/dist/canopy/v1/generated/validators/usageBucketResource.zod.js +56 -0
  1274. package/dist/canopy/v1/generated/validators/usageTimelineResponseBody.zod.d.ts +64 -0
  1275. package/dist/canopy/v1/generated/validators/usageTimelineResponseBody.zod.js +45 -0
  1276. package/dist/canopy/v1/generated/validators/videoCapabilities.zod.d.ts +51 -0
  1277. package/dist/canopy/v1/generated/validators/videoCapabilities.zod.js +69 -0
  1278. package/dist/canopy/v1/index.d.ts +3 -48
  1279. package/dist/canopy/v1/index.js +3 -5
  1280. package/dist/compute/v2/generated/functions.d.ts +2819 -0
  1281. package/dist/compute/v2/generated/functions.js +3040 -0
  1282. package/dist/compute/v2/generated/models.d.ts +3446 -0
  1283. package/dist/compute/v2/generated/models.js +412 -0
  1284. package/dist/compute/v2/generated/schemas.zod.d.ts +2088 -0
  1285. package/dist/compute/v2/generated/schemas.zod.js +2532 -0
  1286. package/dist/compute/v2/generated/validators/associateElasticIPRequestBody.zod.d.ts +42 -0
  1287. package/dist/compute/v2/generated/validators/associateElasticIPRequestBody.zod.js +40 -0
  1288. package/dist/compute/v2/generated/validators/attachNetworkInterfaceRequestBody.zod.d.ts +40 -0
  1289. package/dist/compute/v2/generated/validators/attachNetworkInterfaceRequestBody.zod.js +39 -0
  1290. package/dist/compute/v2/generated/validators/attachVolumeRequestBody.zod.d.ts +40 -0
  1291. package/dist/compute/v2/generated/validators/attachVolumeRequestBody.zod.js +39 -0
  1292. package/dist/compute/v2/generated/validators/availabilityZoneID.zod.d.ts +41 -0
  1293. package/dist/compute/v2/generated/validators/availabilityZoneID.zod.js +44 -0
  1294. package/dist/compute/v2/generated/validators/availabilityZoneListResponseBody.zod.d.ts +50 -0
  1295. package/dist/compute/v2/generated/validators/availabilityZoneListResponseBody.zod.js +41 -0
  1296. package/dist/compute/v2/generated/validators/availabilityZoneResource.zod.d.ts +43 -0
  1297. package/dist/compute/v2/generated/validators/availabilityZoneResource.zod.js +47 -0
  1298. package/dist/compute/v2/generated/validators/billingCancellation.zod.d.ts +45 -0
  1299. package/dist/compute/v2/generated/validators/billingCancellation.zod.js +46 -0
  1300. package/dist/compute/v2/generated/validators/billingChoice.zod.d.ts +54 -0
  1301. package/dist/compute/v2/generated/validators/billingChoice.zod.js +46 -0
  1302. package/dist/compute/v2/generated/validators/billingComponent.zod.d.ts +64 -0
  1303. package/dist/compute/v2/generated/validators/billingComponent.zod.js +49 -0
  1304. package/dist/compute/v2/generated/validators/billingLineQuantity.zod.d.ts +42 -0
  1305. package/dist/compute/v2/generated/validators/billingLineQuantity.zod.js +38 -0
  1306. package/dist/compute/v2/generated/validators/billingMeter.zod.d.ts +48 -0
  1307. package/dist/compute/v2/generated/validators/billingMeter.zod.js +46 -0
  1308. package/dist/compute/v2/generated/validators/billingPeriod.zod.d.ts +45 -0
  1309. package/dist/compute/v2/generated/validators/billingPeriod.zod.js +40 -0
  1310. package/dist/compute/v2/generated/validators/billingQuantity.zod.d.ts +49 -0
  1311. package/dist/compute/v2/generated/validators/billingQuantity.zod.js +42 -0
  1312. package/dist/compute/v2/generated/validators/bootVolume.zod.d.ts +72 -0
  1313. package/dist/compute/v2/generated/validators/bootVolume.zod.js +40 -0
  1314. package/dist/compute/v2/generated/validators/cancellationMode.zod.d.ts +41 -0
  1315. package/dist/compute/v2/generated/validators/cancellationMode.zod.js +38 -0
  1316. package/dist/compute/v2/generated/validators/checkoutMode.zod.d.ts +41 -0
  1317. package/dist/compute/v2/generated/validators/checkoutMode.zod.js +38 -0
  1318. package/dist/compute/v2/generated/validators/checkoutOptions.zod.d.ts +48 -0
  1319. package/dist/compute/v2/generated/validators/checkoutOptions.zod.js +53 -0
  1320. package/dist/compute/v2/generated/validators/consoleResponseBody.zod.d.ts +40 -0
  1321. package/dist/compute/v2/generated/validators/consoleResponseBody.zod.js +40 -0
  1322. package/dist/compute/v2/generated/validators/createElasticIPRequestBody.zod.d.ts +72 -0
  1323. package/dist/compute/v2/generated/validators/createElasticIPRequestBody.zod.js +53 -0
  1324. package/dist/compute/v2/generated/validators/createElasticIPResponseBody.zod.d.ts +132 -0
  1325. package/dist/compute/v2/generated/validators/createElasticIPResponseBody.zod.js +48 -0
  1326. package/dist/compute/v2/generated/validators/createInstanceRequestBody.zod.d.ts +196 -0
  1327. package/dist/compute/v2/generated/validators/createInstanceRequestBody.zod.js +81 -0
  1328. package/dist/compute/v2/generated/validators/createInstanceResponseBody.zod.d.ts +154 -0
  1329. package/dist/compute/v2/generated/validators/createInstanceResponseBody.zod.js +57 -0
  1330. package/dist/compute/v2/generated/validators/createLaunchTemplateRequestBody.zod.d.ts +79 -0
  1331. package/dist/compute/v2/generated/validators/createLaunchTemplateRequestBody.zod.js +45 -0
  1332. package/dist/compute/v2/generated/validators/createLaunchTemplateResponseBody.zod.d.ts +87 -0
  1333. package/dist/compute/v2/generated/validators/createLaunchTemplateResponseBody.zod.js +41 -0
  1334. package/dist/compute/v2/generated/validators/createNetworkInterfaceAddressRequestBody.zod.d.ts +41 -0
  1335. package/dist/compute/v2/generated/validators/createNetworkInterfaceAddressRequestBody.zod.js +43 -0
  1336. package/dist/compute/v2/generated/validators/createNetworkInterfaceRequestBody.zod.d.ts +45 -0
  1337. package/dist/compute/v2/generated/validators/createNetworkInterfaceRequestBody.zod.js +53 -0
  1338. package/dist/compute/v2/generated/validators/createPrivateImageRequestBody.zod.d.ts +50 -0
  1339. package/dist/compute/v2/generated/validators/createPrivateImageRequestBody.zod.js +45 -0
  1340. package/dist/compute/v2/generated/validators/createPrivateImageResponseBody.zod.d.ts +114 -0
  1341. package/dist/compute/v2/generated/validators/createPrivateImageResponseBody.zod.js +48 -0
  1342. package/dist/compute/v2/generated/validators/createSecurityGroupRequestBody.zod.d.ts +44 -0
  1343. package/dist/compute/v2/generated/validators/createSecurityGroupRequestBody.zod.js +43 -0
  1344. package/dist/compute/v2/generated/validators/createSecurityGroupRuleRequestBody.zod.d.ts +52 -0
  1345. package/dist/compute/v2/generated/validators/createSecurityGroupRuleRequestBody.zod.js +62 -0
  1346. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudPeeringRequestBody.zod.d.ts +44 -0
  1347. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudPeeringRequestBody.zod.js +43 -0
  1348. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRequestBody.zod.d.ts +44 -0
  1349. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRequestBody.zod.js +47 -0
  1350. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRouteRequestBody.zod.d.ts +45 -0
  1351. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRouteRequestBody.zod.js +51 -0
  1352. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudSubnetRequestBody.zod.d.ts +43 -0
  1353. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudSubnetRequestBody.zod.js +45 -0
  1354. package/dist/compute/v2/generated/validators/createVolumeBackupRequestBody.zod.d.ts +50 -0
  1355. package/dist/compute/v2/generated/validators/createVolumeBackupRequestBody.zod.js +43 -0
  1356. package/dist/compute/v2/generated/validators/createVolumeBackupResponseBody.zod.d.ts +106 -0
  1357. package/dist/compute/v2/generated/validators/createVolumeBackupResponseBody.zod.js +48 -0
  1358. package/dist/compute/v2/generated/validators/createVolumeRequestBody.zod.d.ts +70 -0
  1359. package/dist/compute/v2/generated/validators/createVolumeRequestBody.zod.js +54 -0
  1360. package/dist/compute/v2/generated/validators/createVolumeResponseBody.zod.d.ts +143 -0
  1361. package/dist/compute/v2/generated/validators/createVolumeResponseBody.zod.js +48 -0
  1362. package/dist/compute/v2/generated/validators/createVolumeSnapshotRequestBody.zod.d.ts +50 -0
  1363. package/dist/compute/v2/generated/validators/createVolumeSnapshotRequestBody.zod.js +45 -0
  1364. package/dist/compute/v2/generated/validators/createVolumeSnapshotResponseBody.zod.d.ts +105 -0
  1365. package/dist/compute/v2/generated/validators/createVolumeSnapshotResponseBody.zod.js +48 -0
  1366. package/dist/compute/v2/generated/validators/cursorPagination.zod.d.ts +41 -0
  1367. package/dist/compute/v2/generated/validators/cursorPagination.zod.js +41 -0
  1368. package/dist/compute/v2/generated/validators/deleteElasticIPResponseBody.zod.d.ts +138 -0
  1369. package/dist/compute/v2/generated/validators/deleteElasticIPResponseBody.zod.js +45 -0
  1370. package/dist/compute/v2/generated/validators/deleteElasticIpParams.zod.d.ts +43 -0
  1371. package/dist/compute/v2/generated/validators/deleteElasticIpParams.zod.js +41 -0
  1372. package/dist/compute/v2/generated/validators/deleteInstanceParams.zod.d.ts +43 -0
  1373. package/dist/compute/v2/generated/validators/deleteInstanceParams.zod.js +41 -0
  1374. package/dist/compute/v2/generated/validators/deleteInstanceResponseBody.zod.d.ts +158 -0
  1375. package/dist/compute/v2/generated/validators/deleteInstanceResponseBody.zod.js +45 -0
  1376. package/dist/compute/v2/generated/validators/deletePrivateImageParams.zod.d.ts +43 -0
  1377. package/dist/compute/v2/generated/validators/deletePrivateImageParams.zod.js +41 -0
  1378. package/dist/compute/v2/generated/validators/deletePrivateImageResponseBody.zod.d.ts +120 -0
  1379. package/dist/compute/v2/generated/validators/deletePrivateImageResponseBody.zod.js +45 -0
  1380. package/dist/compute/v2/generated/validators/deleteVolumeBackupParams.zod.d.ts +43 -0
  1381. package/dist/compute/v2/generated/validators/deleteVolumeBackupParams.zod.js +41 -0
  1382. package/dist/compute/v2/generated/validators/deleteVolumeBackupResponseBody.zod.d.ts +112 -0
  1383. package/dist/compute/v2/generated/validators/deleteVolumeBackupResponseBody.zod.js +45 -0
  1384. package/dist/compute/v2/generated/validators/deleteVolumeParams.zod.d.ts +43 -0
  1385. package/dist/compute/v2/generated/validators/deleteVolumeParams.zod.js +41 -0
  1386. package/dist/compute/v2/generated/validators/deleteVolumeResponseBody.zod.d.ts +149 -0
  1387. package/dist/compute/v2/generated/validators/deleteVolumeResponseBody.zod.js +45 -0
  1388. package/dist/compute/v2/generated/validators/deleteVolumeSnapshotParams.zod.d.ts +43 -0
  1389. package/dist/compute/v2/generated/validators/deleteVolumeSnapshotParams.zod.js +41 -0
  1390. package/dist/compute/v2/generated/validators/deleteVolumeSnapshotResponseBody.zod.d.ts +111 -0
  1391. package/dist/compute/v2/generated/validators/deleteVolumeSnapshotResponseBody.zod.js +45 -0
  1392. package/dist/compute/v2/generated/validators/elasticIP.zod.d.ts +128 -0
  1393. package/dist/compute/v2/generated/validators/elasticIP.zod.js +124 -0
  1394. package/dist/compute/v2/generated/validators/elasticIPAssociation.zod.d.ts +51 -0
  1395. package/dist/compute/v2/generated/validators/elasticIPAssociation.zod.js +50 -0
  1396. package/dist/compute/v2/generated/validators/elasticIPAssociationID.zod.d.ts +41 -0
  1397. package/dist/compute/v2/generated/validators/elasticIPAssociationID.zod.js +44 -0
  1398. package/dist/compute/v2/generated/validators/elasticIPID.zod.d.ts +41 -0
  1399. package/dist/compute/v2/generated/validators/elasticIPID.zod.js +44 -0
  1400. package/dist/compute/v2/generated/validators/elasticIPLine.zod.d.ts +112 -0
  1401. package/dist/compute/v2/generated/validators/elasticIPLine.zod.js +65 -0
  1402. package/dist/compute/v2/generated/validators/elasticIPLineID.zod.d.ts +41 -0
  1403. package/dist/compute/v2/generated/validators/elasticIPLineID.zod.js +44 -0
  1404. package/dist/compute/v2/generated/validators/elasticIPLineListResponseBody.zod.d.ts +116 -0
  1405. package/dist/compute/v2/generated/validators/elasticIPLineListResponseBody.zod.js +41 -0
  1406. package/dist/compute/v2/generated/validators/elasticIPListResponseBody.zod.d.ts +135 -0
  1407. package/dist/compute/v2/generated/validators/elasticIPListResponseBody.zod.js +41 -0
  1408. package/dist/compute/v2/generated/validators/elasticIPReleaseResource.zod.d.ts +44 -0
  1409. package/dist/compute/v2/generated/validators/elasticIPReleaseResource.zod.js +43 -0
  1410. package/dist/compute/v2/generated/validators/error.zod.d.ts +52 -0
  1411. package/dist/compute/v2/generated/validators/error.zod.js +41 -0
  1412. package/dist/compute/v2/generated/validators/errorStatus.zod.d.ts +50 -0
  1413. package/dist/compute/v2/generated/validators/errorStatus.zod.js +65 -0
  1414. package/dist/compute/v2/generated/validators/existingBootVolume.zod.d.ts +45 -0
  1415. package/dist/compute/v2/generated/validators/existingBootVolume.zod.js +46 -0
  1416. package/dist/compute/v2/generated/validators/existingElasticIP.zod.d.ts +43 -0
  1417. package/dist/compute/v2/generated/validators/existingElasticIP.zod.js +40 -0
  1418. package/dist/compute/v2/generated/validators/existingPrimaryNetworkInterface.zod.d.ts +43 -0
  1419. package/dist/compute/v2/generated/validators/existingPrimaryNetworkInterface.zod.js +40 -0
  1420. package/dist/compute/v2/generated/validators/fieldViolation.zod.d.ts +41 -0
  1421. package/dist/compute/v2/generated/validators/fieldViolation.zod.js +44 -0
  1422. package/dist/compute/v2/generated/validators/freeSubnetCidr.zod.d.ts +41 -0
  1423. package/dist/compute/v2/generated/validators/freeSubnetCidr.zod.js +39 -0
  1424. package/dist/compute/v2/generated/validators/generatedPassword.zod.d.ts +42 -0
  1425. package/dist/compute/v2/generated/validators/generatedPassword.zod.js +38 -0
  1426. package/dist/compute/v2/generated/validators/getVirtualPrivateCloudFreeSubnetCidrParams.zod.d.ts +43 -0
  1427. package/dist/compute/v2/generated/validators/getVirtualPrivateCloudFreeSubnetCidrParams.zod.js +45 -0
  1428. package/dist/compute/v2/generated/validators/iPv4HostAddress.zod.d.ts +41 -0
  1429. package/dist/compute/v2/generated/validators/iPv4HostAddress.zod.js +43 -0
  1430. package/dist/compute/v2/generated/validators/imageID.zod.d.ts +41 -0
  1431. package/dist/compute/v2/generated/validators/imageID.zod.js +44 -0
  1432. package/dist/compute/v2/generated/validators/instance.zod.d.ts +151 -0
  1433. package/dist/compute/v2/generated/validators/instance.zod.js +163 -0
  1434. package/dist/compute/v2/generated/validators/instanceAssociationTarget.zod.d.ts +40 -0
  1435. package/dist/compute/v2/generated/validators/instanceAssociationTarget.zod.js +41 -0
  1436. package/dist/compute/v2/generated/validators/instanceElasticIP.zod.d.ts +70 -0
  1437. package/dist/compute/v2/generated/validators/instanceElasticIP.zod.js +40 -0
  1438. package/dist/compute/v2/generated/validators/instanceFamily.zod.d.ts +57 -0
  1439. package/dist/compute/v2/generated/validators/instanceFamily.zod.js +54 -0
  1440. package/dist/compute/v2/generated/validators/instanceFamilyCategory.zod.d.ts +42 -0
  1441. package/dist/compute/v2/generated/validators/instanceFamilyCategory.zod.js +38 -0
  1442. package/dist/compute/v2/generated/validators/instanceFamilyID.zod.d.ts +41 -0
  1443. package/dist/compute/v2/generated/validators/instanceFamilyID.zod.js +44 -0
  1444. package/dist/compute/v2/generated/validators/instanceFamilyListResponseBody.zod.d.ts +64 -0
  1445. package/dist/compute/v2/generated/validators/instanceFamilyListResponseBody.zod.js +41 -0
  1446. package/dist/compute/v2/generated/validators/instanceID.zod.d.ts +41 -0
  1447. package/dist/compute/v2/generated/validators/instanceID.zod.js +44 -0
  1448. package/dist/compute/v2/generated/validators/instanceListResponseBody.zod.d.ts +155 -0
  1449. package/dist/compute/v2/generated/validators/instanceListResponseBody.zod.js +41 -0
  1450. package/dist/compute/v2/generated/validators/instanceNetworkInterfaceID.zod.d.ts +41 -0
  1451. package/dist/compute/v2/generated/validators/instanceNetworkInterfaceID.zod.js +44 -0
  1452. package/dist/compute/v2/generated/validators/instanceReleaseResource.zod.d.ts +44 -0
  1453. package/dist/compute/v2/generated/validators/instanceReleaseResource.zod.js +43 -0
  1454. package/dist/compute/v2/generated/validators/instanceRestriction.zod.d.ts +49 -0
  1455. package/dist/compute/v2/generated/validators/instanceRestriction.zod.js +60 -0
  1456. package/dist/compute/v2/generated/validators/instanceType.zod.d.ts +80 -0
  1457. package/dist/compute/v2/generated/validators/instanceType.zod.js +58 -0
  1458. package/dist/compute/v2/generated/validators/instanceTypeID.zod.d.ts +41 -0
  1459. package/dist/compute/v2/generated/validators/instanceTypeID.zod.js +44 -0
  1460. package/dist/compute/v2/generated/validators/instanceTypeListResponseBody.zod.d.ts +87 -0
  1461. package/dist/compute/v2/generated/validators/instanceTypeListResponseBody.zod.js +41 -0
  1462. package/dist/compute/v2/generated/validators/instanceVolumeID.zod.d.ts +41 -0
  1463. package/dist/compute/v2/generated/validators/instanceVolumeID.zod.js +44 -0
  1464. package/dist/compute/v2/generated/validators/internetChargeType.zod.d.ts +41 -0
  1465. package/dist/compute/v2/generated/validators/internetChargeType.zod.js +38 -0
  1466. package/dist/compute/v2/generated/validators/launchTemplate.zod.d.ts +47 -0
  1467. package/dist/compute/v2/generated/validators/launchTemplate.zod.js +47 -0
  1468. package/dist/compute/v2/generated/validators/launchTemplateBootVolume.zod.d.ts +47 -0
  1469. package/dist/compute/v2/generated/validators/launchTemplateBootVolume.zod.js +48 -0
  1470. package/dist/compute/v2/generated/validators/launchTemplateDataVolume.zod.d.ts +46 -0
  1471. package/dist/compute/v2/generated/validators/launchTemplateDataVolume.zod.js +46 -0
  1472. package/dist/compute/v2/generated/validators/launchTemplateElasticIP.zod.d.ts +46 -0
  1473. package/dist/compute/v2/generated/validators/launchTemplateElasticIP.zod.js +45 -0
  1474. package/dist/compute/v2/generated/validators/launchTemplateID.zod.d.ts +41 -0
  1475. package/dist/compute/v2/generated/validators/launchTemplateID.zod.js +44 -0
  1476. package/dist/compute/v2/generated/validators/launchTemplateListResponseBody.zod.d.ts +54 -0
  1477. package/dist/compute/v2/generated/validators/launchTemplateListResponseBody.zod.js +41 -0
  1478. package/dist/compute/v2/generated/validators/launchTemplateNetworkInterface.zod.d.ts +42 -0
  1479. package/dist/compute/v2/generated/validators/launchTemplateNetworkInterface.zod.js +47 -0
  1480. package/dist/compute/v2/generated/validators/launchTemplateReference.zod.d.ts +41 -0
  1481. package/dist/compute/v2/generated/validators/launchTemplateReference.zod.js +46 -0
  1482. package/dist/compute/v2/generated/validators/launchTemplateVersion.zod.d.ts +75 -0
  1483. package/dist/compute/v2/generated/validators/launchTemplateVersion.zod.js +57 -0
  1484. package/dist/compute/v2/generated/validators/launchTemplateVersionListResponseBody.zod.d.ts +82 -0
  1485. package/dist/compute/v2/generated/validators/launchTemplateVersionListResponseBody.zod.js +41 -0
  1486. package/dist/compute/v2/generated/validators/listAvailabilityZonesParams.zod.d.ts +46 -0
  1487. package/dist/compute/v2/generated/validators/listAvailabilityZonesParams.zod.js +53 -0
  1488. package/dist/compute/v2/generated/validators/listElasticIpLinesParams.zod.d.ts +48 -0
  1489. package/dist/compute/v2/generated/validators/listElasticIpLinesParams.zod.js +55 -0
  1490. package/dist/compute/v2/generated/validators/listElasticIpTrafficUsageParams.zod.d.ts +52 -0
  1491. package/dist/compute/v2/generated/validators/listElasticIpTrafficUsageParams.zod.js +55 -0
  1492. package/dist/compute/v2/generated/validators/listElasticIpsParams.zod.d.ts +45 -0
  1493. package/dist/compute/v2/generated/validators/listElasticIpsParams.zod.js +47 -0
  1494. package/dist/compute/v2/generated/validators/listInstanceFamiliesParams.zod.d.ts +46 -0
  1495. package/dist/compute/v2/generated/validators/listInstanceFamiliesParams.zod.js +53 -0
  1496. package/dist/compute/v2/generated/validators/listInstanceNetworkInterfacesParams.zod.d.ts +45 -0
  1497. package/dist/compute/v2/generated/validators/listInstanceNetworkInterfacesParams.zod.js +51 -0
  1498. package/dist/compute/v2/generated/validators/listInstanceTypesParams.zod.d.ts +48 -0
  1499. package/dist/compute/v2/generated/validators/listInstanceTypesParams.zod.js +57 -0
  1500. package/dist/compute/v2/generated/validators/listInstanceVolumesParams.zod.d.ts +45 -0
  1501. package/dist/compute/v2/generated/validators/listInstanceVolumesParams.zod.js +51 -0
  1502. package/dist/compute/v2/generated/validators/listInstancesParams.zod.d.ts +47 -0
  1503. package/dist/compute/v2/generated/validators/listInstancesParams.zod.js +53 -0
  1504. package/dist/compute/v2/generated/validators/listLaunchTemplateVersionsParams.zod.d.ts +45 -0
  1505. package/dist/compute/v2/generated/validators/listLaunchTemplateVersionsParams.zod.js +51 -0
  1506. package/dist/compute/v2/generated/validators/listLaunchTemplatesParams.zod.d.ts +46 -0
  1507. package/dist/compute/v2/generated/validators/listLaunchTemplatesParams.zod.js +53 -0
  1508. package/dist/compute/v2/generated/validators/listNetworkInterfacesParams.zod.d.ts +45 -0
  1509. package/dist/compute/v2/generated/validators/listNetworkInterfacesParams.zod.js +51 -0
  1510. package/dist/compute/v2/generated/validators/listOperationLogsParams.zod.d.ts +47 -0
  1511. package/dist/compute/v2/generated/validators/listOperationLogsParams.zod.js +57 -0
  1512. package/dist/compute/v2/generated/validators/listPrivateImagesParams.zod.d.ts +46 -0
  1513. package/dist/compute/v2/generated/validators/listPrivateImagesParams.zod.js +53 -0
  1514. package/dist/compute/v2/generated/validators/listPublicImagesParams.zod.d.ts +46 -0
  1515. package/dist/compute/v2/generated/validators/listPublicImagesParams.zod.js +53 -0
  1516. package/dist/compute/v2/generated/validators/listQuotasParams.zod.d.ts +45 -0
  1517. package/dist/compute/v2/generated/validators/listQuotasParams.zod.js +47 -0
  1518. package/dist/compute/v2/generated/validators/listRegionsParams.zod.d.ts +45 -0
  1519. package/dist/compute/v2/generated/validators/listRegionsParams.zod.js +47 -0
  1520. package/dist/compute/v2/generated/validators/listSecurityGroupRulesParams.zod.d.ts +45 -0
  1521. package/dist/compute/v2/generated/validators/listSecurityGroupRulesParams.zod.js +51 -0
  1522. package/dist/compute/v2/generated/validators/listSecurityGroupsParams.zod.d.ts +47 -0
  1523. package/dist/compute/v2/generated/validators/listSecurityGroupsParams.zod.js +55 -0
  1524. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudPeeringsParams.zod.d.ts +45 -0
  1525. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudPeeringsParams.zod.js +51 -0
  1526. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudRoutesParams.zod.d.ts +45 -0
  1527. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudRoutesParams.zod.js +51 -0
  1528. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudSubnetsParams.zod.d.ts +45 -0
  1529. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudSubnetsParams.zod.js +51 -0
  1530. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudsParams.zod.d.ts +46 -0
  1531. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudsParams.zod.js +53 -0
  1532. package/dist/compute/v2/generated/validators/listVolumeBackupsParams.zod.d.ts +46 -0
  1533. package/dist/compute/v2/generated/validators/listVolumeBackupsParams.zod.js +53 -0
  1534. package/dist/compute/v2/generated/validators/listVolumeSnapshotsParams.zod.d.ts +46 -0
  1535. package/dist/compute/v2/generated/validators/listVolumeSnapshotsParams.zod.js +53 -0
  1536. package/dist/compute/v2/generated/validators/listVolumeTypesParams.zod.d.ts +47 -0
  1537. package/dist/compute/v2/generated/validators/listVolumeTypesParams.zod.js +55 -0
  1538. package/dist/compute/v2/generated/validators/listVolumesParams.zod.d.ts +47 -0
  1539. package/dist/compute/v2/generated/validators/listVolumesParams.zod.js +51 -0
  1540. package/dist/compute/v2/generated/validators/money.zod.d.ts +38 -0
  1541. package/dist/compute/v2/generated/validators/money.zod.js +38 -0
  1542. package/dist/compute/v2/generated/validators/networkInterface.zod.d.ts +94 -0
  1543. package/dist/compute/v2/generated/validators/networkInterface.zod.js +69 -0
  1544. package/dist/compute/v2/generated/validators/networkInterfaceAddress.zod.d.ts +54 -0
  1545. package/dist/compute/v2/generated/validators/networkInterfaceAddress.zod.js +49 -0
  1546. package/dist/compute/v2/generated/validators/networkInterfaceAddressAssociationTarget.zod.d.ts +40 -0
  1547. package/dist/compute/v2/generated/validators/networkInterfaceAddressAssociationTarget.zod.js +41 -0
  1548. package/dist/compute/v2/generated/validators/networkInterfaceAddressID.zod.d.ts +41 -0
  1549. package/dist/compute/v2/generated/validators/networkInterfaceAddressID.zod.js +44 -0
  1550. package/dist/compute/v2/generated/validators/networkInterfaceAttachment.zod.d.ts +58 -0
  1551. package/dist/compute/v2/generated/validators/networkInterfaceAttachment.zod.js +51 -0
  1552. package/dist/compute/v2/generated/validators/networkInterfaceAttachmentList.zod.d.ts +65 -0
  1553. package/dist/compute/v2/generated/validators/networkInterfaceAttachmentList.zod.js +41 -0
  1554. package/dist/compute/v2/generated/validators/networkInterfaceID.zod.d.ts +41 -0
  1555. package/dist/compute/v2/generated/validators/networkInterfaceID.zod.js +44 -0
  1556. package/dist/compute/v2/generated/validators/networkInterfaceListResponseBody.zod.d.ts +101 -0
  1557. package/dist/compute/v2/generated/validators/networkInterfaceListResponseBody.zod.js +41 -0
  1558. package/dist/compute/v2/generated/validators/newBootVolume.zod.d.ts +67 -0
  1559. package/dist/compute/v2/generated/validators/newBootVolume.zod.js +52 -0
  1560. package/dist/compute/v2/generated/validators/newCompute.zod.d.ts +57 -0
  1561. package/dist/compute/v2/generated/validators/newCompute.zod.js +43 -0
  1562. package/dist/compute/v2/generated/validators/newDataVolume.zod.d.ts +63 -0
  1563. package/dist/compute/v2/generated/validators/newDataVolume.zod.js +52 -0
  1564. package/dist/compute/v2/generated/validators/newElasticIP.zod.d.ts +66 -0
  1565. package/dist/compute/v2/generated/validators/newElasticIP.zod.js +52 -0
  1566. package/dist/compute/v2/generated/validators/newLaunchTemplateVersion.zod.d.ts +76 -0
  1567. package/dist/compute/v2/generated/validators/newLaunchTemplateVersion.zod.js +62 -0
  1568. package/dist/compute/v2/generated/validators/newPrimaryNetworkInterface.zod.d.ts +45 -0
  1569. package/dist/compute/v2/generated/validators/newPrimaryNetworkInterface.zod.js +47 -0
  1570. package/dist/compute/v2/generated/validators/offsetPagination.zod.d.ts +43 -0
  1571. package/dist/compute/v2/generated/validators/offsetPagination.zod.js +43 -0
  1572. package/dist/compute/v2/generated/validators/operationLogID.zod.d.ts +41 -0
  1573. package/dist/compute/v2/generated/validators/operationLogID.zod.js +44 -0
  1574. package/dist/compute/v2/generated/validators/operationLogListResponseBody.zod.d.ts +65 -0
  1575. package/dist/compute/v2/generated/validators/operationLogListResponseBody.zod.js +41 -0
  1576. package/dist/compute/v2/generated/validators/operationLogResource.zod.d.ts +58 -0
  1577. package/dist/compute/v2/generated/validators/operationLogResource.zod.js +68 -0
  1578. package/dist/compute/v2/generated/validators/passwordChoice.zod.d.ts +47 -0
  1579. package/dist/compute/v2/generated/validators/passwordChoice.zod.js +40 -0
  1580. package/dist/compute/v2/generated/validators/performanceFormula.zod.d.ts +43 -0
  1581. package/dist/compute/v2/generated/validators/performanceFormula.zod.js +43 -0
  1582. package/dist/compute/v2/generated/validators/primaryNetworkInterface.zod.d.ts +49 -0
  1583. package/dist/compute/v2/generated/validators/primaryNetworkInterface.zod.js +40 -0
  1584. package/dist/compute/v2/generated/validators/privateImageListResponseBody.zod.d.ts +117 -0
  1585. package/dist/compute/v2/generated/validators/privateImageListResponseBody.zod.js +41 -0
  1586. package/dist/compute/v2/generated/validators/privateImageReleaseResource.zod.d.ts +44 -0
  1587. package/dist/compute/v2/generated/validators/privateImageReleaseResource.zod.js +43 -0
  1588. package/dist/compute/v2/generated/validators/privateImageResource.zod.d.ts +111 -0
  1589. package/dist/compute/v2/generated/validators/privateImageResource.zod.js +115 -0
  1590. package/dist/compute/v2/generated/validators/projectQuota.zod.d.ts +63 -0
  1591. package/dist/compute/v2/generated/validators/projectQuota.zod.js +48 -0
  1592. package/dist/compute/v2/generated/validators/projectQuotaListResponseBody.zod.d.ts +69 -0
  1593. package/dist/compute/v2/generated/validators/projectQuotaListResponseBody.zod.js +41 -0
  1594. package/dist/compute/v2/generated/validators/publicImageListResponseBody.zod.d.ts +61 -0
  1595. package/dist/compute/v2/generated/validators/publicImageListResponseBody.zod.js +41 -0
  1596. package/dist/compute/v2/generated/validators/publicImageResource.zod.d.ts +55 -0
  1597. package/dist/compute/v2/generated/validators/publicImageResource.zod.js +65 -0
  1598. package/dist/compute/v2/generated/validators/quotaResourceType.zod.d.ts +53 -0
  1599. package/dist/compute/v2/generated/validators/quotaResourceType.zod.js +53 -0
  1600. package/dist/compute/v2/generated/validators/quotaSource.zod.d.ts +41 -0
  1601. package/dist/compute/v2/generated/validators/quotaSource.zod.js +38 -0
  1602. package/dist/compute/v2/generated/validators/rebootInstanceRequestBody.zod.d.ts +40 -0
  1603. package/dist/compute/v2/generated/validators/rebootInstanceRequestBody.zod.js +41 -0
  1604. package/dist/compute/v2/generated/validators/rebuildInstanceRequestBody.zod.d.ts +50 -0
  1605. package/dist/compute/v2/generated/validators/rebuildInstanceRequestBody.zod.js +41 -0
  1606. package/dist/compute/v2/generated/validators/rebuildInstanceResponseBody.zod.d.ts +151 -0
  1607. package/dist/compute/v2/generated/validators/rebuildInstanceResponseBody.zod.js +43 -0
  1608. package/dist/compute/v2/generated/validators/regionID.zod.d.ts +41 -0
  1609. package/dist/compute/v2/generated/validators/regionID.zod.js +44 -0
  1610. package/dist/compute/v2/generated/validators/regionListResponseBody.zod.d.ts +131 -0
  1611. package/dist/compute/v2/generated/validators/regionListResponseBody.zod.js +41 -0
  1612. package/dist/compute/v2/generated/validators/regionResource.zod.d.ts +124 -0
  1613. package/dist/compute/v2/generated/validators/regionResource.zod.js +52 -0
  1614. package/dist/compute/v2/generated/validators/releaseResource.zod.d.ts +75 -0
  1615. package/dist/compute/v2/generated/validators/releaseResource.zod.js +51 -0
  1616. package/dist/compute/v2/generated/validators/releaseSetItem.zod.d.ts +78 -0
  1617. package/dist/compute/v2/generated/validators/releaseSetItem.zod.js +42 -0
  1618. package/dist/compute/v2/generated/validators/rescueInstanceRequestBody.zod.d.ts +42 -0
  1619. package/dist/compute/v2/generated/validators/rescueInstanceRequestBody.zod.js +44 -0
  1620. package/dist/compute/v2/generated/validators/rescueInstanceResponseBody.zod.d.ts +151 -0
  1621. package/dist/compute/v2/generated/validators/rescueInstanceResponseBody.zod.js +40 -0
  1622. package/dist/compute/v2/generated/validators/resetInstancePasswordResponseBody.zod.d.ts +40 -0
  1623. package/dist/compute/v2/generated/validators/resetInstancePasswordResponseBody.zod.js +41 -0
  1624. package/dist/compute/v2/generated/validators/revertVolumeRequestBody.zod.d.ts +40 -0
  1625. package/dist/compute/v2/generated/validators/revertVolumeRequestBody.zod.js +39 -0
  1626. package/dist/compute/v2/generated/validators/runInstanceCommandRequestBody.zod.d.ts +43 -0
  1627. package/dist/compute/v2/generated/validators/runInstanceCommandRequestBody.zod.js +50 -0
  1628. package/dist/compute/v2/generated/validators/runInstanceCommandResponseBody.zod.d.ts +44 -0
  1629. package/dist/compute/v2/generated/validators/runInstanceCommandResponseBody.zod.js +49 -0
  1630. package/dist/compute/v2/generated/validators/securityGroup.zod.d.ts +46 -0
  1631. package/dist/compute/v2/generated/validators/securityGroup.zod.js +48 -0
  1632. package/dist/compute/v2/generated/validators/securityGroupID.zod.d.ts +41 -0
  1633. package/dist/compute/v2/generated/validators/securityGroupID.zod.js +44 -0
  1634. package/dist/compute/v2/generated/validators/securityGroupIDOrWildcard.zod.d.ts +39 -0
  1635. package/dist/compute/v2/generated/validators/securityGroupIDOrWildcard.zod.js +40 -0
  1636. package/dist/compute/v2/generated/validators/securityGroupListResponseBody.zod.d.ts +53 -0
  1637. package/dist/compute/v2/generated/validators/securityGroupListResponseBody.zod.js +41 -0
  1638. package/dist/compute/v2/generated/validators/securityGroupRule.zod.d.ts +52 -0
  1639. package/dist/compute/v2/generated/validators/securityGroupRule.zod.js +56 -0
  1640. package/dist/compute/v2/generated/validators/securityGroupRuleDirection.zod.d.ts +41 -0
  1641. package/dist/compute/v2/generated/validators/securityGroupRuleDirection.zod.js +36 -0
  1642. package/dist/compute/v2/generated/validators/securityGroupRuleID.zod.d.ts +41 -0
  1643. package/dist/compute/v2/generated/validators/securityGroupRuleID.zod.js +44 -0
  1644. package/dist/compute/v2/generated/validators/securityGroupRuleListResponseBody.zod.d.ts +59 -0
  1645. package/dist/compute/v2/generated/validators/securityGroupRuleListResponseBody.zod.js +41 -0
  1646. package/dist/compute/v2/generated/validators/subnetID.zod.d.ts +41 -0
  1647. package/dist/compute/v2/generated/validators/subnetID.zod.js +44 -0
  1648. package/dist/compute/v2/generated/validators/suppliedPassword.zod.d.ts +45 -0
  1649. package/dist/compute/v2/generated/validators/suppliedPassword.zod.js +45 -0
  1650. package/dist/compute/v2/generated/validators/terminationPolicy.zod.d.ts +41 -0
  1651. package/dist/compute/v2/generated/validators/terminationPolicy.zod.js +38 -0
  1652. package/dist/compute/v2/generated/validators/trafficUsage.zod.d.ts +44 -0
  1653. package/dist/compute/v2/generated/validators/trafficUsage.zod.js +44 -0
  1654. package/dist/compute/v2/generated/validators/trafficUsageListResponseBody.zod.d.ts +49 -0
  1655. package/dist/compute/v2/generated/validators/trafficUsageListResponseBody.zod.js +41 -0
  1656. package/dist/compute/v2/generated/validators/updateElasticIPRequestBody.zod.d.ts +53 -0
  1657. package/dist/compute/v2/generated/validators/updateElasticIPRequestBody.zod.js +48 -0
  1658. package/dist/compute/v2/generated/validators/updateElasticIPResponseBody.zod.d.ts +132 -0
  1659. package/dist/compute/v2/generated/validators/updateElasticIPResponseBody.zod.js +49 -0
  1660. package/dist/compute/v2/generated/validators/updateInstanceRequestBody.zod.d.ts +55 -0
  1661. package/dist/compute/v2/generated/validators/updateInstanceRequestBody.zod.js +60 -0
  1662. package/dist/compute/v2/generated/validators/updateInstanceResponseBody.zod.d.ts +152 -0
  1663. package/dist/compute/v2/generated/validators/updateInstanceResponseBody.zod.js +49 -0
  1664. package/dist/compute/v2/generated/validators/updateLaunchTemplateRequestBody.zod.d.ts +44 -0
  1665. package/dist/compute/v2/generated/validators/updateLaunchTemplateRequestBody.zod.js +48 -0
  1666. package/dist/compute/v2/generated/validators/updateNetworkInterfaceRequestBody.zod.d.ts +43 -0
  1667. package/dist/compute/v2/generated/validators/updateNetworkInterfaceRequestBody.zod.js +49 -0
  1668. package/dist/compute/v2/generated/validators/updatePrivateImageRequestBody.zod.d.ts +41 -0
  1669. package/dist/compute/v2/generated/validators/updatePrivateImageRequestBody.zod.js +39 -0
  1670. package/dist/compute/v2/generated/validators/updateSecurityGroupRequestBody.zod.d.ts +43 -0
  1671. package/dist/compute/v2/generated/validators/updateSecurityGroupRequestBody.zod.js +41 -0
  1672. package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudRequestBody.zod.d.ts +41 -0
  1673. package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudRequestBody.zod.js +39 -0
  1674. package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudSubnetRequestBody.zod.d.ts +41 -0
  1675. package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudSubnetRequestBody.zod.js +39 -0
  1676. package/dist/compute/v2/generated/validators/updateVolumeBackupRequestBody.zod.d.ts +41 -0
  1677. package/dist/compute/v2/generated/validators/updateVolumeBackupRequestBody.zod.js +41 -0
  1678. package/dist/compute/v2/generated/validators/updateVolumeRequestBody.zod.d.ts +52 -0
  1679. package/dist/compute/v2/generated/validators/updateVolumeRequestBody.zod.js +54 -0
  1680. package/dist/compute/v2/generated/validators/updateVolumeResponseBody.zod.d.ts +143 -0
  1681. package/dist/compute/v2/generated/validators/updateVolumeResponseBody.zod.js +49 -0
  1682. package/dist/compute/v2/generated/validators/updateVolumeSnapshotRequestBody.zod.d.ts +41 -0
  1683. package/dist/compute/v2/generated/validators/updateVolumeSnapshotRequestBody.zod.js +41 -0
  1684. package/dist/compute/v2/generated/validators/virtualPrivateCloud.zod.d.ts +54 -0
  1685. package/dist/compute/v2/generated/validators/virtualPrivateCloud.zod.js +52 -0
  1686. package/dist/compute/v2/generated/validators/virtualPrivateCloudID.zod.d.ts +41 -0
  1687. package/dist/compute/v2/generated/validators/virtualPrivateCloudID.zod.js +44 -0
  1688. package/dist/compute/v2/generated/validators/virtualPrivateCloudIDOrWildcard.zod.d.ts +39 -0
  1689. package/dist/compute/v2/generated/validators/virtualPrivateCloudIDOrWildcard.zod.js +40 -0
  1690. package/dist/compute/v2/generated/validators/virtualPrivateCloudListResponseBody.zod.d.ts +61 -0
  1691. package/dist/compute/v2/generated/validators/virtualPrivateCloudListResponseBody.zod.js +41 -0
  1692. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringID.zod.d.ts +41 -0
  1693. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringID.zod.js +44 -0
  1694. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringListResponseBody.zod.d.ts +68 -0
  1695. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringListResponseBody.zod.js +41 -0
  1696. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringResource.zod.d.ts +61 -0
  1697. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringResource.zod.js +58 -0
  1698. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteID.zod.d.ts +41 -0
  1699. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteID.zod.js +44 -0
  1700. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteListResponseBody.zod.d.ts +57 -0
  1701. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteListResponseBody.zod.js +41 -0
  1702. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteResource.zod.d.ts +50 -0
  1703. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteResource.zod.js +54 -0
  1704. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteType.zod.d.ts +41 -0
  1705. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteType.zod.js +38 -0
  1706. package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnet.zod.d.ts +48 -0
  1707. package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnet.zod.js +54 -0
  1708. package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnetListResponseBody.zod.d.ts +55 -0
  1709. package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnetListResponseBody.zod.js +41 -0
  1710. package/dist/compute/v2/generated/validators/volumeAttachment.zod.d.ts +63 -0
  1711. package/dist/compute/v2/generated/validators/volumeAttachment.zod.js +56 -0
  1712. package/dist/compute/v2/generated/validators/volumeAttachmentList.zod.d.ts +70 -0
  1713. package/dist/compute/v2/generated/validators/volumeAttachmentList.zod.js +41 -0
  1714. package/dist/compute/v2/generated/validators/volumeBackupID.zod.d.ts +41 -0
  1715. package/dist/compute/v2/generated/validators/volumeBackupID.zod.js +44 -0
  1716. package/dist/compute/v2/generated/validators/volumeBackupListResponseBody.zod.d.ts +109 -0
  1717. package/dist/compute/v2/generated/validators/volumeBackupListResponseBody.zod.js +41 -0
  1718. package/dist/compute/v2/generated/validators/volumeBackupReleaseResource.zod.d.ts +44 -0
  1719. package/dist/compute/v2/generated/validators/volumeBackupReleaseResource.zod.js +43 -0
  1720. package/dist/compute/v2/generated/validators/volumeBackupResource.zod.d.ts +102 -0
  1721. package/dist/compute/v2/generated/validators/volumeBackupResource.zod.js +86 -0
  1722. package/dist/compute/v2/generated/validators/volumeID.zod.d.ts +41 -0
  1723. package/dist/compute/v2/generated/validators/volumeID.zod.js +44 -0
  1724. package/dist/compute/v2/generated/validators/volumeListResponseBody.zod.d.ts +146 -0
  1725. package/dist/compute/v2/generated/validators/volumeListResponseBody.zod.js +41 -0
  1726. package/dist/compute/v2/generated/validators/volumePerformance.zod.d.ts +41 -0
  1727. package/dist/compute/v2/generated/validators/volumePerformance.zod.js +41 -0
  1728. package/dist/compute/v2/generated/validators/volumeReleaseResource.zod.d.ts +44 -0
  1729. package/dist/compute/v2/generated/validators/volumeReleaseResource.zod.js +43 -0
  1730. package/dist/compute/v2/generated/validators/volumeResource.zod.d.ts +139 -0
  1731. package/dist/compute/v2/generated/validators/volumeResource.zod.js +104 -0
  1732. package/dist/compute/v2/generated/validators/volumeSnapshotID.zod.d.ts +41 -0
  1733. package/dist/compute/v2/generated/validators/volumeSnapshotID.zod.js +44 -0
  1734. package/dist/compute/v2/generated/validators/volumeSnapshotListResponseBody.zod.d.ts +108 -0
  1735. package/dist/compute/v2/generated/validators/volumeSnapshotListResponseBody.zod.js +41 -0
  1736. package/dist/compute/v2/generated/validators/volumeSnapshotReleaseResource.zod.d.ts +45 -0
  1737. package/dist/compute/v2/generated/validators/volumeSnapshotReleaseResource.zod.js +43 -0
  1738. package/dist/compute/v2/generated/validators/volumeSnapshotResource.zod.d.ts +101 -0
  1739. package/dist/compute/v2/generated/validators/volumeSnapshotResource.zod.js +83 -0
  1740. package/dist/compute/v2/generated/validators/volumeTypeID.zod.d.ts +41 -0
  1741. package/dist/compute/v2/generated/validators/volumeTypeID.zod.js +44 -0
  1742. package/dist/compute/v2/generated/validators/volumeTypeListResponseBody.zod.d.ts +103 -0
  1743. package/dist/compute/v2/generated/validators/volumeTypeListResponseBody.zod.js +41 -0
  1744. package/dist/compute/v2/generated/validators/volumeTypePerformance.zod.d.ts +51 -0
  1745. package/dist/compute/v2/generated/validators/volumeTypePerformance.zod.js +42 -0
  1746. package/dist/compute/v2/generated/validators/volumeTypeResource.zod.d.ts +96 -0
  1747. package/dist/compute/v2/generated/validators/volumeTypeResource.zod.js +55 -0
  1748. package/dist/compute/v2/index.d.ts +3 -0
  1749. package/dist/compute/v2/index.js +3 -0
  1750. package/dist/dns/v1/generated/functions.d.ts +393 -0
  1751. package/dist/dns/v1/generated/functions.js +398 -0
  1752. package/dist/dns/v1/generated/models.d.ts +484 -0
  1753. package/dist/dns/v1/generated/models.js +20 -0
  1754. package/dist/dns/v1/generated/schemas.zod.d.ts +354 -0
  1755. package/dist/dns/v1/generated/schemas.zod.js +364 -0
  1756. package/dist/dns/v1/generated/validators/aliDNSConfig.zod.d.ts +61 -0
  1757. package/dist/dns/v1/generated/validators/aliDNSConfig.zod.js +65 -0
  1758. package/dist/dns/v1/generated/validators/cloudflareConfig.zod.d.ts +59 -0
  1759. package/dist/dns/v1/generated/validators/cloudflareConfig.zod.js +67 -0
  1760. package/dist/dns/v1/generated/validators/createCredentialRequestBody.zod.d.ts +82 -0
  1761. package/dist/dns/v1/generated/validators/createCredentialRequestBody.zod.js +71 -0
  1762. package/dist/dns/v1/generated/validators/credentialResource.zod.d.ts +74 -0
  1763. package/dist/dns/v1/generated/validators/credentialResource.zod.js +79 -0
  1764. package/dist/dns/v1/generated/validators/credentialStatus.zod.d.ts +57 -0
  1765. package/dist/dns/v1/generated/validators/credentialStatus.zod.js +54 -0
  1766. package/dist/dns/v1/generated/validators/cursorPagination.zod.d.ts +57 -0
  1767. package/dist/dns/v1/generated/validators/cursorPagination.zod.js +57 -0
  1768. package/dist/dns/v1/generated/validators/deleteRecordSetParams.zod.d.ts +56 -0
  1769. package/dist/dns/v1/generated/validators/deleteRecordSetParams.zod.js +57 -0
  1770. package/dist/dns/v1/generated/validators/error.zod.d.ts +68 -0
  1771. package/dist/dns/v1/generated/validators/error.zod.js +57 -0
  1772. package/dist/dns/v1/generated/validators/errorStatus.zod.d.ts +66 -0
  1773. package/dist/dns/v1/generated/validators/errorStatus.zod.js +81 -0
  1774. package/dist/dns/v1/generated/validators/fieldViolation.zod.d.ts +57 -0
  1775. package/dist/dns/v1/generated/validators/fieldViolation.zod.js +60 -0
  1776. package/dist/dns/v1/generated/validators/lengthAwarePageCredentialResource.zod.d.ts +79 -0
  1777. package/dist/dns/v1/generated/validators/lengthAwarePageCredentialResource.zod.js +58 -0
  1778. package/dist/dns/v1/generated/validators/lengthAwarePageRecordSetResource.zod.d.ts +74 -0
  1779. package/dist/dns/v1/generated/validators/lengthAwarePageRecordSetResource.zod.js +58 -0
  1780. package/dist/dns/v1/generated/validators/listCredentialsParams.zod.d.ts +68 -0
  1781. package/dist/dns/v1/generated/validators/listCredentialsParams.zod.js +70 -0
  1782. package/dist/dns/v1/generated/validators/listRecordsParams.zod.d.ts +75 -0
  1783. package/dist/dns/v1/generated/validators/listRecordsParams.zod.js +76 -0
  1784. package/dist/dns/v1/generated/validators/listZonesParams.zod.d.ts +58 -0
  1785. package/dist/dns/v1/generated/validators/listZonesParams.zod.js +62 -0
  1786. package/dist/dns/v1/generated/validators/modifyRecordSetParams.zod.d.ts +56 -0
  1787. package/dist/dns/v1/generated/validators/modifyRecordSetParams.zod.js +57 -0
  1788. package/dist/dns/v1/generated/validators/modifyRecordSetRequestBody.zod.d.ts +65 -0
  1789. package/dist/dns/v1/generated/validators/modifyRecordSetRequestBody.zod.js +80 -0
  1790. package/dist/dns/v1/generated/validators/offsetPagination.zod.d.ts +59 -0
  1791. package/dist/dns/v1/generated/validators/offsetPagination.zod.js +59 -0
  1792. package/dist/dns/v1/generated/validators/provider.zod.d.ts +59 -0
  1793. package/dist/dns/v1/generated/validators/provider.zod.js +54 -0
  1794. package/dist/dns/v1/generated/validators/recordSetResource.zod.d.ts +69 -0
  1795. package/dist/dns/v1/generated/validators/recordSetResource.zod.js +63 -0
  1796. package/dist/dns/v1/generated/validators/recordType.zod.d.ts +63 -0
  1797. package/dist/dns/v1/generated/validators/recordType.zod.js +54 -0
  1798. package/dist/dns/v1/generated/validators/renameCredentialRequestBody.zod.d.ts +57 -0
  1799. package/dist/dns/v1/generated/validators/renameCredentialRequestBody.zod.js +55 -0
  1800. package/dist/dns/v1/generated/validators/route53Config.zod.d.ts +63 -0
  1801. package/dist/dns/v1/generated/validators/route53Config.zod.js +71 -0
  1802. package/dist/dns/v1/generated/validators/setRecordSetParams.zod.d.ts +56 -0
  1803. package/dist/dns/v1/generated/validators/setRecordSetParams.zod.js +57 -0
  1804. package/dist/dns/v1/generated/validators/setRecordSetRequestBody.zod.d.ts +62 -0
  1805. package/dist/dns/v1/generated/validators/setRecordSetRequestBody.zod.js +71 -0
  1806. package/dist/dns/v1/generated/validators/tencentCloudConfig.zod.d.ts +59 -0
  1807. package/dist/dns/v1/generated/validators/tencentCloudConfig.zod.js +59 -0
  1808. package/dist/dns/v1/generated/validators/zoneListResponseBody.zod.d.ts +67 -0
  1809. package/dist/dns/v1/generated/validators/zoneListResponseBody.zod.js +58 -0
  1810. package/dist/dns/v1/generated/validators/zoneResource.zod.d.ts +64 -0
  1811. package/dist/dns/v1/generated/validators/zoneResource.zod.js +61 -0
  1812. package/dist/dns/v1/index.d.ts +3 -42
  1813. package/dist/dns/v1/index.js +3 -5
  1814. package/dist/eventbus/v1/generated/functions.d.ts +336 -0
  1815. package/dist/eventbus/v1/generated/functions.js +214 -0
  1816. package/dist/eventbus/v1/generated/models.d.ts +364 -0
  1817. package/dist/eventbus/v1/generated/models.js +8 -0
  1818. package/dist/eventbus/v1/generated/schemas.zod.d.ts +138 -0
  1819. package/dist/eventbus/v1/generated/schemas.zod.js +163 -0
  1820. package/dist/eventbus/v1/generated/validators/createEventRequest.zod.d.ts +50 -0
  1821. package/dist/eventbus/v1/generated/validators/createEventRequest.zod.js +59 -0
  1822. package/dist/eventbus/v1/generated/validators/createVersionRequest.zod.d.ts +46 -0
  1823. package/dist/eventbus/v1/generated/validators/createVersionRequest.zod.js +47 -0
  1824. package/dist/eventbus/v1/generated/validators/cursorPagination.zod.d.ts +45 -0
  1825. package/dist/eventbus/v1/generated/validators/cursorPagination.zod.js +45 -0
  1826. package/dist/eventbus/v1/generated/validators/error.zod.d.ts +56 -0
  1827. package/dist/eventbus/v1/generated/validators/error.zod.js +45 -0
  1828. package/dist/eventbus/v1/generated/validators/errorStatus.zod.d.ts +54 -0
  1829. package/dist/eventbus/v1/generated/validators/errorStatus.zod.js +69 -0
  1830. package/dist/eventbus/v1/generated/validators/eventDetail.zod.d.ts +65 -0
  1831. package/dist/eventbus/v1/generated/validators/eventDetail.zod.js +62 -0
  1832. package/dist/eventbus/v1/generated/validators/eventList.zod.d.ts +58 -0
  1833. package/dist/eventbus/v1/generated/validators/eventList.zod.js +50 -0
  1834. package/dist/eventbus/v1/generated/validators/eventResource.zod.d.ts +55 -0
  1835. package/dist/eventbus/v1/generated/validators/eventResource.zod.js +60 -0
  1836. package/dist/eventbus/v1/generated/validators/eventStatus.zod.d.ts +45 -0
  1837. package/dist/eventbus/v1/generated/validators/eventStatus.zod.js +42 -0
  1838. package/dist/eventbus/v1/generated/validators/eventVersion.zod.d.ts +51 -0
  1839. package/dist/eventbus/v1/generated/validators/eventVersion.zod.js +53 -0
  1840. package/dist/eventbus/v1/generated/validators/fieldViolation.zod.d.ts +45 -0
  1841. package/dist/eventbus/v1/generated/validators/fieldViolation.zod.js +48 -0
  1842. package/dist/eventbus/v1/generated/validators/listEventsParams.zod.d.ts +55 -0
  1843. package/dist/eventbus/v1/generated/validators/listEventsParams.zod.js +57 -0
  1844. package/dist/eventbus/v1/generated/validators/offsetPagination.zod.d.ts +47 -0
  1845. package/dist/eventbus/v1/generated/validators/offsetPagination.zod.js +47 -0
  1846. package/dist/eventbus/v1/generated/validators/publishRequest.zod.d.ts +49 -0
  1847. package/dist/eventbus/v1/generated/validators/publishRequest.zod.js +55 -0
  1848. package/dist/eventbus/v1/generated/validators/publishResponse.zod.d.ts +47 -0
  1849. package/dist/eventbus/v1/generated/validators/publishResponse.zod.js +47 -0
  1850. package/dist/eventbus/v1/generated/validators/realtimeTicket.zod.d.ts +46 -0
  1851. package/dist/eventbus/v1/generated/validators/realtimeTicket.zod.js +46 -0
  1852. package/dist/eventbus/v1/generated/validators/updateEventRequest.zod.d.ts +51 -0
  1853. package/dist/eventbus/v1/generated/validators/updateEventRequest.zod.js +54 -0
  1854. package/dist/eventbus/v1/index.d.ts +3 -0
  1855. package/dist/eventbus/v1/index.js +3 -0
  1856. package/dist/iam/v1/generated/functions.d.ts +679 -0
  1857. package/dist/iam/v1/generated/functions.js +760 -0
  1858. package/dist/iam/v1/generated/models.d.ts +635 -0
  1859. package/dist/iam/v1/generated/models.js +37 -0
  1860. package/dist/iam/v1/generated/schemas.zod.d.ts +280 -0
  1861. package/dist/iam/v1/generated/schemas.zod.js +275 -0
  1862. package/dist/iam/v1/generated/validators/attachPolicyRequestBody.zod.d.ts +33 -0
  1863. package/dist/iam/v1/generated/validators/attachPolicyRequestBody.zod.js +43 -0
  1864. package/dist/iam/v1/generated/validators/batchGetMembersRequestBody.zod.d.ts +22 -0
  1865. package/dist/iam/v1/generated/validators/batchGetMembersRequestBody.zod.js +23 -0
  1866. package/dist/iam/v1/generated/validators/batchGetMembersResponseBody.zod.d.ts +27 -0
  1867. package/dist/iam/v1/generated/validators/batchGetMembersResponseBody.zod.js +21 -0
  1868. package/dist/iam/v1/generated/validators/catalogListResponseBody.zod.d.ts +30 -0
  1869. package/dist/iam/v1/generated/validators/catalogListResponseBody.zod.js +19 -0
  1870. package/dist/iam/v1/generated/validators/catalogResource.zod.d.ts +28 -0
  1871. package/dist/iam/v1/generated/validators/catalogResource.zod.js +25 -0
  1872. package/dist/iam/v1/generated/validators/createRoleRequestBody.zod.d.ts +26 -0
  1873. package/dist/iam/v1/generated/validators/createRoleRequestBody.zod.js +31 -0
  1874. package/dist/iam/v1/generated/validators/createSSHKeyRequestBody.zod.d.ts +30 -0
  1875. package/dist/iam/v1/generated/validators/createSSHKeyRequestBody.zod.js +36 -0
  1876. package/dist/iam/v1/generated/validators/cursorPagination.zod.d.ts +21 -0
  1877. package/dist/iam/v1/generated/validators/cursorPagination.zod.js +21 -0
  1878. package/dist/iam/v1/generated/validators/error.zod.d.ts +32 -0
  1879. package/dist/iam/v1/generated/validators/error.zod.js +21 -0
  1880. package/dist/iam/v1/generated/validators/errorStatus.zod.d.ts +30 -0
  1881. package/dist/iam/v1/generated/validators/errorStatus.zod.js +45 -0
  1882. package/dist/iam/v1/generated/validators/fieldViolation.zod.d.ts +21 -0
  1883. package/dist/iam/v1/generated/validators/fieldViolation.zod.js +24 -0
  1884. package/dist/iam/v1/generated/validators/grantResource.zod.d.ts +33 -0
  1885. package/dist/iam/v1/generated/validators/grantResource.zod.js +25 -0
  1886. package/dist/iam/v1/generated/validators/invitationResource.zod.d.ts +26 -0
  1887. package/dist/iam/v1/generated/validators/invitationResource.zod.js +24 -0
  1888. package/dist/iam/v1/generated/validators/issueInvitationRequestBody.zod.d.ts +22 -0
  1889. package/dist/iam/v1/generated/validators/issueInvitationRequestBody.zod.js +24 -0
  1890. package/dist/iam/v1/generated/validators/issuedInvitationResponseBody.zod.d.ts +29 -0
  1891. package/dist/iam/v1/generated/validators/issuedInvitationResponseBody.zod.js +22 -0
  1892. package/dist/iam/v1/generated/validators/lengthAwarePageInvitationResource.zod.d.ts +31 -0
  1893. package/dist/iam/v1/generated/validators/lengthAwarePageInvitationResource.zod.js +22 -0
  1894. package/dist/iam/v1/generated/validators/lengthAwarePageMemberResource.zod.d.ts +47 -0
  1895. package/dist/iam/v1/generated/validators/lengthAwarePageMemberResource.zod.js +22 -0
  1896. package/dist/iam/v1/generated/validators/lengthAwarePageSSHKeyResource.zod.d.ts +37 -0
  1897. package/dist/iam/v1/generated/validators/lengthAwarePageSSHKeyResource.zod.js +22 -0
  1898. package/dist/iam/v1/generated/validators/listMembersParams.zod.d.ts +28 -0
  1899. package/dist/iam/v1/generated/validators/listMembersParams.zod.js +34 -0
  1900. package/dist/iam/v1/generated/validators/listPoliciesParams.zod.d.ts +21 -0
  1901. package/dist/iam/v1/generated/validators/listPoliciesParams.zod.js +23 -0
  1902. package/dist/iam/v1/generated/validators/listProjectInvitationsParams.zod.d.ts +26 -0
  1903. package/dist/iam/v1/generated/validators/listProjectInvitationsParams.zod.js +32 -0
  1904. package/dist/iam/v1/generated/validators/listSshKeysParams.zod.d.ts +32 -0
  1905. package/dist/iam/v1/generated/validators/listSshKeysParams.zod.js +38 -0
  1906. package/dist/iam/v1/generated/validators/memberResource.zod.d.ts +42 -0
  1907. package/dist/iam/v1/generated/validators/memberResource.zod.js +28 -0
  1908. package/dist/iam/v1/generated/validators/membershipResource.zod.d.ts +48 -0
  1909. package/dist/iam/v1/generated/validators/membershipResource.zod.js +25 -0
  1910. package/dist/iam/v1/generated/validators/offsetPagination.zod.d.ts +23 -0
  1911. package/dist/iam/v1/generated/validators/offsetPagination.zod.js +23 -0
  1912. package/dist/iam/v1/generated/validators/ownershipTransferResponseBody.zod.d.ts +69 -0
  1913. package/dist/iam/v1/generated/validators/ownershipTransferResponseBody.zod.js +20 -0
  1914. package/dist/iam/v1/generated/validators/permissionResource.zod.d.ts +22 -0
  1915. package/dist/iam/v1/generated/validators/permissionResource.zod.js +26 -0
  1916. package/dist/iam/v1/generated/validators/policyListResponseBody.zod.d.ts +37 -0
  1917. package/dist/iam/v1/generated/validators/policyListResponseBody.zod.js +19 -0
  1918. package/dist/iam/v1/generated/validators/policyResource.zod.d.ts +35 -0
  1919. package/dist/iam/v1/generated/validators/policyResource.zod.js +33 -0
  1920. package/dist/iam/v1/generated/validators/projectAccessResource.zod.d.ts +60 -0
  1921. package/dist/iam/v1/generated/validators/projectAccessResource.zod.js +21 -0
  1922. package/dist/iam/v1/generated/validators/projectResource.zod.d.ts +43 -0
  1923. package/dist/iam/v1/generated/validators/projectResource.zod.js +39 -0
  1924. package/dist/iam/v1/generated/validators/projectTraitResource.zod.d.ts +26 -0
  1925. package/dist/iam/v1/generated/validators/projectTraitResource.zod.js +21 -0
  1926. package/dist/iam/v1/generated/validators/quotaListResponseBody.zod.d.ts +25 -0
  1927. package/dist/iam/v1/generated/validators/quotaListResponseBody.zod.js +19 -0
  1928. package/dist/iam/v1/generated/validators/quotaResource.zod.d.ts +23 -0
  1929. package/dist/iam/v1/generated/validators/quotaResource.zod.js +21 -0
  1930. package/dist/iam/v1/generated/validators/renameSSHKeyRequestBody.zod.d.ts +21 -0
  1931. package/dist/iam/v1/generated/validators/renameSSHKeyRequestBody.zod.js +19 -0
  1932. package/dist/iam/v1/generated/validators/resolvedMemberResource.zod.d.ts +25 -0
  1933. package/dist/iam/v1/generated/validators/resolvedMemberResource.zod.js +27 -0
  1934. package/dist/iam/v1/generated/validators/resourceRefResource.zod.d.ts +21 -0
  1935. package/dist/iam/v1/generated/validators/resourceRefResource.zod.js +23 -0
  1936. package/dist/iam/v1/generated/validators/resourceTypeResource.zod.d.ts +20 -0
  1937. package/dist/iam/v1/generated/validators/resourceTypeResource.zod.js +20 -0
  1938. package/dist/iam/v1/generated/validators/roleListResponseBody.zod.d.ts +28 -0
  1939. package/dist/iam/v1/generated/validators/roleListResponseBody.zod.js +19 -0
  1940. package/dist/iam/v1/generated/validators/roleResource.zod.d.ts +26 -0
  1941. package/dist/iam/v1/generated/validators/roleResource.zod.js +26 -0
  1942. package/dist/iam/v1/generated/validators/ruleResource.zod.d.ts +28 -0
  1943. package/dist/iam/v1/generated/validators/ruleResource.zod.js +27 -0
  1944. package/dist/iam/v1/generated/validators/sSHKeyResource.zod.d.ts +32 -0
  1945. package/dist/iam/v1/generated/validators/sSHKeyResource.zod.js +35 -0
  1946. package/dist/iam/v1/generated/validators/setMemberPermissionsRequestBody.zod.d.ts +20 -0
  1947. package/dist/iam/v1/generated/validators/setMemberPermissionsRequestBody.zod.js +21 -0
  1948. package/dist/iam/v1/generated/validators/setMemberRolesRequestBody.zod.d.ts +20 -0
  1949. package/dist/iam/v1/generated/validators/setMemberRolesRequestBody.zod.js +21 -0
  1950. package/dist/iam/v1/generated/validators/setProjectSlugRequestBody.zod.d.ts +22 -0
  1951. package/dist/iam/v1/generated/validators/setProjectSlugRequestBody.zod.js +24 -0
  1952. package/dist/iam/v1/generated/validators/transferOwnershipRequestBody.zod.d.ts +21 -0
  1953. package/dist/iam/v1/generated/validators/transferOwnershipRequestBody.zod.js +23 -0
  1954. package/dist/iam/v1/generated/validators/updatePolicyRequestBody.zod.d.ts +31 -0
  1955. package/dist/iam/v1/generated/validators/updatePolicyRequestBody.zod.js +39 -0
  1956. package/dist/iam/v1/generated/validators/updateProjectRequestBody.zod.d.ts +23 -0
  1957. package/dist/iam/v1/generated/validators/updateProjectRequestBody.zod.js +21 -0
  1958. package/dist/iam/v1/generated/validators/updateRoleRequestBody.zod.d.ts +24 -0
  1959. package/dist/iam/v1/generated/validators/updateRoleRequestBody.zod.js +22 -0
  1960. package/dist/iam/v1/index.d.ts +3 -62
  1961. package/dist/iam/v1/index.js +3 -5
  1962. package/dist/index.d.ts +15 -10
  1963. package/dist/index.js +15 -6
  1964. package/dist/membership/v1/generated/functions.d.ts +223 -0
  1965. package/dist/membership/v1/generated/functions.js +255 -0
  1966. package/dist/membership/v1/generated/models.d.ts +512 -0
  1967. package/dist/membership/v1/generated/models.js +41 -0
  1968. package/dist/membership/v1/generated/schemas.zod.d.ts +134 -0
  1969. package/dist/membership/v1/generated/schemas.zod.js +161 -0
  1970. package/dist/membership/v1/generated/validators/allowanceBenefit.zod.d.ts +21 -0
  1971. package/dist/membership/v1/generated/validators/allowanceBenefit.zod.js +21 -0
  1972. package/dist/membership/v1/generated/validators/benefit.zod.d.ts +61 -0
  1973. package/dist/membership/v1/generated/validators/benefit.zod.js +22 -0
  1974. package/dist/membership/v1/generated/validators/checkoutMode.zod.d.ts +14 -0
  1975. package/dist/membership/v1/generated/validators/checkoutMode.zod.js +11 -0
  1976. package/dist/membership/v1/generated/validators/checkoutOptions.zod.d.ts +21 -0
  1977. package/dist/membership/v1/generated/validators/checkoutOptions.zod.js +26 -0
  1978. package/dist/membership/v1/generated/validators/creditBenefit.zod.d.ts +19 -0
  1979. package/dist/membership/v1/generated/validators/creditBenefit.zod.js +23 -0
  1980. package/dist/membership/v1/generated/validators/currency.zod.d.ts +12 -0
  1981. package/dist/membership/v1/generated/validators/currency.zod.js +10 -0
  1982. package/dist/membership/v1/generated/validators/cursorPagination.zod.d.ts +14 -0
  1983. package/dist/membership/v1/generated/validators/cursorPagination.zod.js +14 -0
  1984. package/dist/membership/v1/generated/validators/discountBenefit.zod.d.ts +24 -0
  1985. package/dist/membership/v1/generated/validators/discountBenefit.zod.js +22 -0
  1986. package/dist/membership/v1/generated/validators/error.zod.d.ts +25 -0
  1987. package/dist/membership/v1/generated/validators/error.zod.js +14 -0
  1988. package/dist/membership/v1/generated/validators/errorStatus.zod.d.ts +23 -0
  1989. package/dist/membership/v1/generated/validators/errorStatus.zod.js +38 -0
  1990. package/dist/membership/v1/generated/validators/featureBenefit.zod.d.ts +18 -0
  1991. package/dist/membership/v1/generated/validators/featureBenefit.zod.js +16 -0
  1992. package/dist/membership/v1/generated/validators/fieldViolation.zod.d.ts +14 -0
  1993. package/dist/membership/v1/generated/validators/fieldViolation.zod.js +17 -0
  1994. package/dist/membership/v1/generated/validators/getPlanParams.zod.d.ts +13 -0
  1995. package/dist/membership/v1/generated/validators/getPlanParams.zod.js +12 -0
  1996. package/dist/membership/v1/generated/validators/grant.zod.d.ts +73 -0
  1997. package/dist/membership/v1/generated/validators/grant.zod.js +34 -0
  1998. package/dist/membership/v1/generated/validators/listMembershipPeriodsParams.zod.d.ts +18 -0
  1999. package/dist/membership/v1/generated/validators/listMembershipPeriodsParams.zod.js +24 -0
  2000. package/dist/membership/v1/generated/validators/listMembershipUpgradeOptionsParams.zod.d.ts +18 -0
  2001. package/dist/membership/v1/generated/validators/listMembershipUpgradeOptionsParams.zod.js +24 -0
  2002. package/dist/membership/v1/generated/validators/listMembershipsParams.zod.d.ts +19 -0
  2003. package/dist/membership/v1/generated/validators/listMembershipsParams.zod.js +25 -0
  2004. package/dist/membership/v1/generated/validators/listPlansParams.zod.d.ts +19 -0
  2005. package/dist/membership/v1/generated/validators/listPlansParams.zod.js +22 -0
  2006. package/dist/membership/v1/generated/validators/membership.zod.d.ts +110 -0
  2007. package/dist/membership/v1/generated/validators/membership.zod.js +38 -0
  2008. package/dist/membership/v1/generated/validators/membershipCreate.zod.d.ts +23 -0
  2009. package/dist/membership/v1/generated/validators/membershipCreate.zod.js +17 -0
  2010. package/dist/membership/v1/generated/validators/membershipDowngrade.zod.d.ts +13 -0
  2011. package/dist/membership/v1/generated/validators/membershipDowngrade.zod.js +13 -0
  2012. package/dist/membership/v1/generated/validators/membershipList.zod.d.ts +117 -0
  2013. package/dist/membership/v1/generated/validators/membershipList.zod.js +14 -0
  2014. package/dist/membership/v1/generated/validators/membershipPurchase.zod.d.ts +114 -0
  2015. package/dist/membership/v1/generated/validators/membershipPurchase.zod.js +21 -0
  2016. package/dist/membership/v1/generated/validators/membershipUpgrade.zod.d.ts +21 -0
  2017. package/dist/membership/v1/generated/validators/membershipUpgrade.zod.js +13 -0
  2018. package/dist/membership/v1/generated/validators/money.zod.d.ts +11 -0
  2019. package/dist/membership/v1/generated/validators/money.zod.js +11 -0
  2020. package/dist/membership/v1/generated/validators/namedIdentity.zod.d.ts +15 -0
  2021. package/dist/membership/v1/generated/validators/namedIdentity.zod.js +15 -0
  2022. package/dist/membership/v1/generated/validators/offsetPagination.zod.d.ts +16 -0
  2023. package/dist/membership/v1/generated/validators/offsetPagination.zod.js +16 -0
  2024. package/dist/membership/v1/generated/validators/period.zod.d.ts +85 -0
  2025. package/dist/membership/v1/generated/validators/period.zod.js +20 -0
  2026. package/dist/membership/v1/generated/validators/periodList.zod.d.ts +92 -0
  2027. package/dist/membership/v1/generated/validators/periodList.zod.js +14 -0
  2028. package/dist/membership/v1/generated/validators/plan.zod.d.ts +77 -0
  2029. package/dist/membership/v1/generated/validators/plan.zod.js +19 -0
  2030. package/dist/membership/v1/generated/validators/planList.zod.d.ts +84 -0
  2031. package/dist/membership/v1/generated/validators/planList.zod.js +14 -0
  2032. package/dist/membership/v1/generated/validators/planPrice.zod.d.ts +19 -0
  2033. package/dist/membership/v1/generated/validators/planPrice.zod.js +17 -0
  2034. package/dist/membership/v1/generated/validators/planSummary.zod.d.ts +16 -0
  2035. package/dist/membership/v1/generated/validators/planSummary.zod.js +16 -0
  2036. package/dist/membership/v1/generated/validators/productIdentity.zod.d.ts +14 -0
  2037. package/dist/membership/v1/generated/validators/productIdentity.zod.js +14 -0
  2038. package/dist/membership/v1/generated/validators/upgradeOption.zod.d.ts +19 -0
  2039. package/dist/membership/v1/generated/validators/upgradeOption.zod.js +18 -0
  2040. package/dist/membership/v1/generated/validators/upgradeOptionList.zod.d.ts +26 -0
  2041. package/dist/membership/v1/generated/validators/upgradeOptionList.zod.js +14 -0
  2042. package/dist/membership/v1/index.d.ts +3 -0
  2043. package/dist/membership/v1/index.js +3 -0
  2044. package/dist/monitoring/v1/generated/functions.d.ts +1443 -0
  2045. package/dist/monitoring/v1/generated/functions.js +1583 -0
  2046. package/dist/monitoring/v1/generated/models.d.ts +1681 -0
  2047. package/dist/monitoring/v1/generated/models.js +305 -0
  2048. package/dist/monitoring/v1/generated/schemas.zod.d.ts +815 -0
  2049. package/dist/monitoring/v1/generated/schemas.zod.js +626 -0
  2050. package/dist/monitoring/v1/generated/validators/acknowledgeIncidentRequestBody.zod.d.ts +27 -0
  2051. package/dist/monitoring/v1/generated/validators/acknowledgeIncidentRequestBody.zod.js +29 -0
  2052. package/dist/monitoring/v1/generated/validators/addCommentRequestBody.zod.d.ts +27 -0
  2053. package/dist/monitoring/v1/generated/validators/addCommentRequestBody.zod.js +25 -0
  2054. package/dist/monitoring/v1/generated/validators/assignIncidentRequestBody.zod.d.ts +29 -0
  2055. package/dist/monitoring/v1/generated/validators/assignIncidentRequestBody.zod.js +31 -0
  2056. package/dist/monitoring/v1/generated/validators/closeIncidentRequestBody.zod.d.ts +36 -0
  2057. package/dist/monitoring/v1/generated/validators/closeIncidentRequestBody.zod.js +38 -0
  2058. package/dist/monitoring/v1/generated/validators/countResource.zod.d.ts +27 -0
  2059. package/dist/monitoring/v1/generated/validators/countResource.zod.js +25 -0
  2060. package/dist/monitoring/v1/generated/validators/cursorPageIncidentActivityResource.zod.d.ts +54 -0
  2061. package/dist/monitoring/v1/generated/validators/cursorPageIncidentActivityResource.zod.js +28 -0
  2062. package/dist/monitoring/v1/generated/validators/cursorPagination.zod.d.ts +27 -0
  2063. package/dist/monitoring/v1/generated/validators/cursorPagination.zod.js +27 -0
  2064. package/dist/monitoring/v1/generated/validators/enableMonitoringRequestBody.zod.d.ts +58 -0
  2065. package/dist/monitoring/v1/generated/validators/enableMonitoringRequestBody.zod.js +44 -0
  2066. package/dist/monitoring/v1/generated/validators/enrollmentResource.zod.d.ts +31 -0
  2067. package/dist/monitoring/v1/generated/validators/enrollmentResource.zod.js +33 -0
  2068. package/dist/monitoring/v1/generated/validators/error.zod.d.ts +38 -0
  2069. package/dist/monitoring/v1/generated/validators/error.zod.js +27 -0
  2070. package/dist/monitoring/v1/generated/validators/errorStatus.zod.d.ts +36 -0
  2071. package/dist/monitoring/v1/generated/validators/errorStatus.zod.js +51 -0
  2072. package/dist/monitoring/v1/generated/validators/fieldViolation.zod.d.ts +27 -0
  2073. package/dist/monitoring/v1/generated/validators/fieldViolation.zod.js +30 -0
  2074. package/dist/monitoring/v1/generated/validators/getServerMetricParams.zod.d.ts +32 -0
  2075. package/dist/monitoring/v1/generated/validators/getServerMetricParams.zod.js +40 -0
  2076. package/dist/monitoring/v1/generated/validators/getSliReportParams.zod.d.ts +30 -0
  2077. package/dist/monitoring/v1/generated/validators/getSliReportParams.zod.js +33 -0
  2078. package/dist/monitoring/v1/generated/validators/hostInterfaceResource.zod.d.ts +30 -0
  2079. package/dist/monitoring/v1/generated/validators/hostInterfaceResource.zod.js +28 -0
  2080. package/dist/monitoring/v1/generated/validators/incidentActivityResource.zod.d.ts +51 -0
  2081. package/dist/monitoring/v1/generated/validators/incidentActivityResource.zod.js +47 -0
  2082. package/dist/monitoring/v1/generated/validators/incidentFollowerResource.zod.d.ts +28 -0
  2083. package/dist/monitoring/v1/generated/validators/incidentFollowerResource.zod.js +26 -0
  2084. package/dist/monitoring/v1/generated/validators/incidentResource.zod.d.ts +85 -0
  2085. package/dist/monitoring/v1/generated/validators/incidentResource.zod.js +67 -0
  2086. package/dist/monitoring/v1/generated/validators/itemListResponseBody.zod.d.ts +44 -0
  2087. package/dist/monitoring/v1/generated/validators/itemListResponseBody.zod.js +25 -0
  2088. package/dist/monitoring/v1/generated/validators/itemResource.zod.d.ts +42 -0
  2089. package/dist/monitoring/v1/generated/validators/itemResource.zod.js +32 -0
  2090. package/dist/monitoring/v1/generated/validators/itemThresholdResource.zod.d.ts +32 -0
  2091. package/dist/monitoring/v1/generated/validators/itemThresholdResource.zod.js +30 -0
  2092. package/dist/monitoring/v1/generated/validators/lengthAwarePageIncidentResource.zod.d.ts +90 -0
  2093. package/dist/monitoring/v1/generated/validators/lengthAwarePageIncidentResource.zod.js +28 -0
  2094. package/dist/monitoring/v1/generated/validators/lengthAwarePageServerResource.zod.d.ts +61 -0
  2095. package/dist/monitoring/v1/generated/validators/lengthAwarePageServerResource.zod.js +28 -0
  2096. package/dist/monitoring/v1/generated/validators/lengthAwarePageStatusPageIncidentResource.zod.d.ts +76 -0
  2097. package/dist/monitoring/v1/generated/validators/lengthAwarePageStatusPageIncidentResource.zod.js +28 -0
  2098. package/dist/monitoring/v1/generated/validators/lengthAwarePageStatusPageMaintenanceResource.zod.d.ts +51 -0
  2099. package/dist/monitoring/v1/generated/validators/lengthAwarePageStatusPageMaintenanceResource.zod.js +28 -0
  2100. package/dist/monitoring/v1/generated/validators/listIncidentTimelineParams.zod.d.ts +30 -0
  2101. package/dist/monitoring/v1/generated/validators/listIncidentTimelineParams.zod.js +32 -0
  2102. package/dist/monitoring/v1/generated/validators/listIncidentsParams.zod.d.ts +66 -0
  2103. package/dist/monitoring/v1/generated/validators/listIncidentsParams.zod.js +64 -0
  2104. package/dist/monitoring/v1/generated/validators/listProjectTopItemsParams.zod.d.ts +33 -0
  2105. package/dist/monitoring/v1/generated/validators/listProjectTopItemsParams.zod.js +32 -0
  2106. package/dist/monitoring/v1/generated/validators/listServerItemsParams.zod.d.ts +28 -0
  2107. package/dist/monitoring/v1/generated/validators/listServerItemsParams.zod.js +33 -0
  2108. package/dist/monitoring/v1/generated/validators/listServersParams.zod.d.ts +40 -0
  2109. package/dist/monitoring/v1/generated/validators/listServersParams.zod.js +41 -0
  2110. package/dist/monitoring/v1/generated/validators/listStatusPageIncidentsParams.zod.d.ts +32 -0
  2111. package/dist/monitoring/v1/generated/validators/listStatusPageIncidentsParams.zod.js +38 -0
  2112. package/dist/monitoring/v1/generated/validators/listStatusPageMaintenancesParams.zod.d.ts +32 -0
  2113. package/dist/monitoring/v1/generated/validators/listStatusPageMaintenancesParams.zod.js +38 -0
  2114. package/dist/monitoring/v1/generated/validators/listWebChecksParams.zod.d.ts +26 -0
  2115. package/dist/monitoring/v1/generated/validators/listWebChecksParams.zod.js +27 -0
  2116. package/dist/monitoring/v1/generated/validators/maintenancePeriodRequest.zod.d.ts +41 -0
  2117. package/dist/monitoring/v1/generated/validators/maintenancePeriodRequest.zod.js +49 -0
  2118. package/dist/monitoring/v1/generated/validators/maintenancePeriodResource.zod.d.ts +35 -0
  2119. package/dist/monitoring/v1/generated/validators/maintenancePeriodResource.zod.js +31 -0
  2120. package/dist/monitoring/v1/generated/validators/maintenanceWindowListResponseBody.zod.d.ts +54 -0
  2121. package/dist/monitoring/v1/generated/validators/maintenanceWindowListResponseBody.zod.js +25 -0
  2122. package/dist/monitoring/v1/generated/validators/maintenanceWindowResource.zod.d.ts +52 -0
  2123. package/dist/monitoring/v1/generated/validators/maintenanceWindowResource.zod.js +35 -0
  2124. package/dist/monitoring/v1/generated/validators/metricPointResource.zod.d.ts +29 -0
  2125. package/dist/monitoring/v1/generated/validators/metricPointResource.zod.js +27 -0
  2126. package/dist/monitoring/v1/generated/validators/metricResponseBody.zod.d.ts +51 -0
  2127. package/dist/monitoring/v1/generated/validators/metricResponseBody.zod.js +32 -0
  2128. package/dist/monitoring/v1/generated/validators/metricSeriesResource.zod.d.ts +35 -0
  2129. package/dist/monitoring/v1/generated/validators/metricSeriesResource.zod.js +29 -0
  2130. package/dist/monitoring/v1/generated/validators/monitoringItemResource.zod.d.ts +34 -0
  2131. package/dist/monitoring/v1/generated/validators/monitoringItemResource.zod.js +32 -0
  2132. package/dist/monitoring/v1/generated/validators/offsetPagination.zod.d.ts +29 -0
  2133. package/dist/monitoring/v1/generated/validators/offsetPagination.zod.js +29 -0
  2134. package/dist/monitoring/v1/generated/validators/postStatusPageIncidentUpdateRequestBody.zod.d.ts +43 -0
  2135. package/dist/monitoring/v1/generated/validators/postStatusPageIncidentUpdateRequestBody.zod.js +34 -0
  2136. package/dist/monitoring/v1/generated/validators/projectOverviewResource.zod.d.ts +35 -0
  2137. package/dist/monitoring/v1/generated/validators/projectOverviewResource.zod.js +28 -0
  2138. package/dist/monitoring/v1/generated/validators/publishStatusPageIncidentRequestBody.zod.d.ts +53 -0
  2139. package/dist/monitoring/v1/generated/validators/publishStatusPageIncidentRequestBody.zod.js +48 -0
  2140. package/dist/monitoring/v1/generated/validators/putMaintenanceWindowRequestBody.zod.d.ts +46 -0
  2141. package/dist/monitoring/v1/generated/validators/putMaintenanceWindowRequestBody.zod.js +40 -0
  2142. package/dist/monitoring/v1/generated/validators/putSLORequestBody.zod.d.ts +54 -0
  2143. package/dist/monitoring/v1/generated/validators/putSLORequestBody.zod.js +47 -0
  2144. package/dist/monitoring/v1/generated/validators/putStatusPageComponentRequestBody.zod.d.ts +44 -0
  2145. package/dist/monitoring/v1/generated/validators/putStatusPageComponentRequestBody.zod.js +47 -0
  2146. package/dist/monitoring/v1/generated/validators/putStatusPageComponentSourcesRequestBody.zod.d.ts +32 -0
  2147. package/dist/monitoring/v1/generated/validators/putStatusPageComponentSourcesRequestBody.zod.js +29 -0
  2148. package/dist/monitoring/v1/generated/validators/putStatusPageDomainRequestBody.zod.d.ts +27 -0
  2149. package/dist/monitoring/v1/generated/validators/putStatusPageDomainRequestBody.zod.js +29 -0
  2150. package/dist/monitoring/v1/generated/validators/putStatusPageGroupOrderRequestBody.zod.d.ts +26 -0
  2151. package/dist/monitoring/v1/generated/validators/putStatusPageGroupOrderRequestBody.zod.js +24 -0
  2152. package/dist/monitoring/v1/generated/validators/putStatusPageGroupRequestBody.zod.d.ts +31 -0
  2153. package/dist/monitoring/v1/generated/validators/putStatusPageGroupRequestBody.zod.js +29 -0
  2154. package/dist/monitoring/v1/generated/validators/putStatusPageOrderRequestBody.zod.d.ts +29 -0
  2155. package/dist/monitoring/v1/generated/validators/putStatusPageOrderRequestBody.zod.js +25 -0
  2156. package/dist/monitoring/v1/generated/validators/putStatusPageRequestBody.zod.d.ts +61 -0
  2157. package/dist/monitoring/v1/generated/validators/putStatusPageRequestBody.zod.js +96 -0
  2158. package/dist/monitoring/v1/generated/validators/putWebCheckRequestBody.zod.d.ts +40 -0
  2159. package/dist/monitoring/v1/generated/validators/putWebCheckRequestBody.zod.js +41 -0
  2160. package/dist/monitoring/v1/generated/validators/sLIReportResponseBody.zod.d.ts +35 -0
  2161. package/dist/monitoring/v1/generated/validators/sLIReportResponseBody.zod.js +25 -0
  2162. package/dist/monitoring/v1/generated/validators/sLIReportRowResource.zod.d.ts +33 -0
  2163. package/dist/monitoring/v1/generated/validators/sLIReportRowResource.zod.js +33 -0
  2164. package/dist/monitoring/v1/generated/validators/sLOResource.zod.d.ts +57 -0
  2165. package/dist/monitoring/v1/generated/validators/sLOResource.zod.js +35 -0
  2166. package/dist/monitoring/v1/generated/validators/scheduleStatusPageMaintenanceRequestBody.zod.d.ts +37 -0
  2167. package/dist/monitoring/v1/generated/validators/scheduleStatusPageMaintenanceRequestBody.zod.js +35 -0
  2168. package/dist/monitoring/v1/generated/validators/scheduleWindowRequest.zod.d.ts +33 -0
  2169. package/dist/monitoring/v1/generated/validators/scheduleWindowRequest.zod.js +43 -0
  2170. package/dist/monitoring/v1/generated/validators/scheduleWindowResource.zod.d.ts +28 -0
  2171. package/dist/monitoring/v1/generated/validators/scheduleWindowResource.zod.js +28 -0
  2172. package/dist/monitoring/v1/generated/validators/serverEnrollmentResponseBody.zod.d.ts +66 -0
  2173. package/dist/monitoring/v1/generated/validators/serverEnrollmentResponseBody.zod.js +27 -0
  2174. package/dist/monitoring/v1/generated/validators/serverResource.zod.d.ts +56 -0
  2175. package/dist/monitoring/v1/generated/validators/serverResource.zod.js +42 -0
  2176. package/dist/monitoring/v1/generated/validators/serverResourcesResource.zod.d.ts +37 -0
  2177. package/dist/monitoring/v1/generated/validators/serverResourcesResource.zod.js +30 -0
  2178. package/dist/monitoring/v1/generated/validators/serverTemplateResource.zod.d.ts +30 -0
  2179. package/dist/monitoring/v1/generated/validators/serverTemplateResource.zod.js +28 -0
  2180. package/dist/monitoring/v1/generated/validators/setFollowingRequestBody.zod.d.ts +26 -0
  2181. package/dist/monitoring/v1/generated/validators/setFollowingRequestBody.zod.js +24 -0
  2182. package/dist/monitoring/v1/generated/validators/snapshotResource.zod.d.ts +38 -0
  2183. package/dist/monitoring/v1/generated/validators/snapshotResource.zod.js +31 -0
  2184. package/dist/monitoring/v1/generated/validators/statusPageComponentListResponseBody.zod.d.ts +52 -0
  2185. package/dist/monitoring/v1/generated/validators/statusPageComponentListResponseBody.zod.js +25 -0
  2186. package/dist/monitoring/v1/generated/validators/statusPageComponentResource.zod.d.ts +50 -0
  2187. package/dist/monitoring/v1/generated/validators/statusPageComponentResource.zod.js +56 -0
  2188. package/dist/monitoring/v1/generated/validators/statusPageComponentSourceServer.zod.d.ts +26 -0
  2189. package/dist/monitoring/v1/generated/validators/statusPageComponentSourceServer.zod.js +24 -0
  2190. package/dist/monitoring/v1/generated/validators/statusPageComponentSourceWebCheck.zod.d.ts +28 -0
  2191. package/dist/monitoring/v1/generated/validators/statusPageComponentSourceWebCheck.zod.js +29 -0
  2192. package/dist/monitoring/v1/generated/validators/statusPageComponentSourcesResource.zod.d.ts +32 -0
  2193. package/dist/monitoring/v1/generated/validators/statusPageComponentSourcesResource.zod.js +27 -0
  2194. package/dist/monitoring/v1/generated/validators/statusPageDomainResource.zod.d.ts +39 -0
  2195. package/dist/monitoring/v1/generated/validators/statusPageDomainResource.zod.js +46 -0
  2196. package/dist/monitoring/v1/generated/validators/statusPageGroupListResponseBody.zod.d.ts +33 -0
  2197. package/dist/monitoring/v1/generated/validators/statusPageGroupListResponseBody.zod.js +25 -0
  2198. package/dist/monitoring/v1/generated/validators/statusPageGroupResource.zod.d.ts +31 -0
  2199. package/dist/monitoring/v1/generated/validators/statusPageGroupResource.zod.js +29 -0
  2200. package/dist/monitoring/v1/generated/validators/statusPageIncidentComponentRequest.zod.d.ts +33 -0
  2201. package/dist/monitoring/v1/generated/validators/statusPageIncidentComponentRequest.zod.js +34 -0
  2202. package/dist/monitoring/v1/generated/validators/statusPageIncidentComponentResource.zod.d.ts +41 -0
  2203. package/dist/monitoring/v1/generated/validators/statusPageIncidentComponentResource.zod.js +41 -0
  2204. package/dist/monitoring/v1/generated/validators/statusPageIncidentResource.zod.d.ts +71 -0
  2205. package/dist/monitoring/v1/generated/validators/statusPageIncidentResource.zod.js +37 -0
  2206. package/dist/monitoring/v1/generated/validators/statusPageIncidentUpdateResource.zod.d.ts +52 -0
  2207. package/dist/monitoring/v1/generated/validators/statusPageIncidentUpdateResource.zod.js +29 -0
  2208. package/dist/monitoring/v1/generated/validators/statusPageMaintenanceComponentRequest.zod.d.ts +31 -0
  2209. package/dist/monitoring/v1/generated/validators/statusPageMaintenanceComponentRequest.zod.js +29 -0
  2210. package/dist/monitoring/v1/generated/validators/statusPageMaintenanceComponentResource.zod.d.ts +31 -0
  2211. package/dist/monitoring/v1/generated/validators/statusPageMaintenanceComponentResource.zod.js +26 -0
  2212. package/dist/monitoring/v1/generated/validators/statusPageMaintenanceResource.zod.d.ts +46 -0
  2213. package/dist/monitoring/v1/generated/validators/statusPageMaintenanceResource.zod.js +39 -0
  2214. package/dist/monitoring/v1/generated/validators/statusPageOrderItem.zod.d.ts +27 -0
  2215. package/dist/monitoring/v1/generated/validators/statusPageOrderItem.zod.js +27 -0
  2216. package/dist/monitoring/v1/generated/validators/statusPageResource.zod.d.ts +47 -0
  2217. package/dist/monitoring/v1/generated/validators/statusPageResource.zod.js +51 -0
  2218. package/dist/monitoring/v1/generated/validators/tagResource.zod.d.ts +27 -0
  2219. package/dist/monitoring/v1/generated/validators/tagResource.zod.js +25 -0
  2220. package/dist/monitoring/v1/generated/validators/templateBindingRequest.zod.d.ts +39 -0
  2221. package/dist/monitoring/v1/generated/validators/templateBindingRequest.zod.js +40 -0
  2222. package/dist/monitoring/v1/generated/validators/templateCatalogEntryResource.zod.d.ts +46 -0
  2223. package/dist/monitoring/v1/generated/validators/templateCatalogEntryResource.zod.js +42 -0
  2224. package/dist/monitoring/v1/generated/validators/templateCatalogParameterResource.zod.d.ts +39 -0
  2225. package/dist/monitoring/v1/generated/validators/templateCatalogParameterResource.zod.js +47 -0
  2226. package/dist/monitoring/v1/generated/validators/templateCatalogResponseBody.zod.d.ts +48 -0
  2227. package/dist/monitoring/v1/generated/validators/templateCatalogResponseBody.zod.js +25 -0
  2228. package/dist/monitoring/v1/generated/validators/topItemListResponseBody.zod.d.ts +31 -0
  2229. package/dist/monitoring/v1/generated/validators/topItemListResponseBody.zod.js +25 -0
  2230. package/dist/monitoring/v1/generated/validators/topItemResource.zod.d.ts +29 -0
  2231. package/dist/monitoring/v1/generated/validators/topItemResource.zod.js +27 -0
  2232. package/dist/monitoring/v1/generated/validators/updateServerRequestBody.zod.d.ts +57 -0
  2233. package/dist/monitoring/v1/generated/validators/updateServerRequestBody.zod.js +41 -0
  2234. package/dist/monitoring/v1/generated/validators/webCheckListResponseBody.zod.d.ts +54 -0
  2235. package/dist/monitoring/v1/generated/validators/webCheckListResponseBody.zod.js +25 -0
  2236. package/dist/monitoring/v1/generated/validators/webCheckResource.zod.d.ts +52 -0
  2237. package/dist/monitoring/v1/generated/validators/webCheckResource.zod.js +39 -0
  2238. package/dist/monitoring/v1/generated/validators/webCheckResultResource.zod.d.ts +31 -0
  2239. package/dist/monitoring/v1/generated/validators/webCheckResultResource.zod.js +29 -0
  2240. package/dist/monitoring/v1/generated/validators/webCheckStepRequest.zod.d.ts +34 -0
  2241. package/dist/monitoring/v1/generated/validators/webCheckStepRequest.zod.js +40 -0
  2242. package/dist/monitoring/v1/generated/validators/webCheckStepResource.zod.d.ts +30 -0
  2243. package/dist/monitoring/v1/generated/validators/webCheckStepResource.zod.js +30 -0
  2244. package/dist/monitoring/v1/index.d.ts +3 -174
  2245. package/dist/monitoring/v1/index.js +3 -5
  2246. package/dist/notification/v1/generated/functions.d.ts +823 -0
  2247. package/dist/notification/v1/generated/functions.js +787 -0
  2248. package/dist/notification/v1/generated/models.d.ts +730 -0
  2249. package/dist/notification/v1/generated/models.js +41 -0
  2250. package/dist/notification/v1/generated/schemas.zod.d.ts +400 -0
  2251. package/dist/notification/v1/generated/schemas.zod.js +412 -0
  2252. package/dist/notification/v1/generated/validators/announcementListResource.zod.d.ts +82 -0
  2253. package/dist/notification/v1/generated/validators/announcementListResource.zod.js +67 -0
  2254. package/dist/notification/v1/generated/validators/announcementReadResultResource.zod.d.ts +67 -0
  2255. package/dist/notification/v1/generated/validators/announcementReadResultResource.zod.js +65 -0
  2256. package/dist/notification/v1/generated/validators/announcementResource.zod.d.ts +79 -0
  2257. package/dist/notification/v1/generated/validators/announcementResource.zod.js +85 -0
  2258. package/dist/notification/v1/generated/validators/authorizeRealtimeChannelRequestBody.zod.d.ts +70 -0
  2259. package/dist/notification/v1/generated/validators/authorizeRealtimeChannelRequestBody.zod.js +76 -0
  2260. package/dist/notification/v1/generated/validators/channelKind.zod.d.ts +70 -0
  2261. package/dist/notification/v1/generated/validators/channelKind.zod.js +65 -0
  2262. package/dist/notification/v1/generated/validators/channelListResponseBody.zod.d.ts +91 -0
  2263. package/dist/notification/v1/generated/validators/channelListResponseBody.zod.js +66 -0
  2264. package/dist/notification/v1/generated/validators/channelResource.zod.d.ts +89 -0
  2265. package/dist/notification/v1/generated/validators/channelResource.zod.js +99 -0
  2266. package/dist/notification/v1/generated/validators/channelScope.zod.d.ts +68 -0
  2267. package/dist/notification/v1/generated/validators/channelScope.zod.js +65 -0
  2268. package/dist/notification/v1/generated/validators/confirmEmailOverrideRequestBody.zod.d.ts +69 -0
  2269. package/dist/notification/v1/generated/validators/confirmEmailOverrideRequestBody.zod.js +71 -0
  2270. package/dist/notification/v1/generated/validators/countUnreadNotificationsParams.zod.d.ts +70 -0
  2271. package/dist/notification/v1/generated/validators/countUnreadNotificationsParams.zod.js +66 -0
  2272. package/dist/notification/v1/generated/validators/createChannelRequestBody.zod.d.ts +82 -0
  2273. package/dist/notification/v1/generated/validators/createChannelRequestBody.zod.js +86 -0
  2274. package/dist/notification/v1/generated/validators/credentialSubjectKind.zod.d.ts +67 -0
  2275. package/dist/notification/v1/generated/validators/credentialSubjectKind.zod.js +65 -0
  2276. package/dist/notification/v1/generated/validators/credentialTicketResource.zod.d.ts +75 -0
  2277. package/dist/notification/v1/generated/validators/credentialTicketResource.zod.js +84 -0
  2278. package/dist/notification/v1/generated/validators/cursorPagination.zod.d.ts +68 -0
  2279. package/dist/notification/v1/generated/validators/cursorPagination.zod.js +68 -0
  2280. package/dist/notification/v1/generated/validators/deleteTypePreferenceParams.zod.d.ts +67 -0
  2281. package/dist/notification/v1/generated/validators/deleteTypePreferenceParams.zod.js +68 -0
  2282. package/dist/notification/v1/generated/validators/emailOverrideCodeResource.zod.d.ts +69 -0
  2283. package/dist/notification/v1/generated/validators/emailOverrideCodeResource.zod.js +73 -0
  2284. package/dist/notification/v1/generated/validators/error.zod.d.ts +79 -0
  2285. package/dist/notification/v1/generated/validators/error.zod.js +68 -0
  2286. package/dist/notification/v1/generated/validators/errorStatus.zod.d.ts +77 -0
  2287. package/dist/notification/v1/generated/validators/errorStatus.zod.js +92 -0
  2288. package/dist/notification/v1/generated/validators/fieldViolation.zod.d.ts +68 -0
  2289. package/dist/notification/v1/generated/validators/fieldViolation.zod.js +71 -0
  2290. package/dist/notification/v1/generated/validators/lengthAwarePageNotificationResource.zod.d.ts +94 -0
  2291. package/dist/notification/v1/generated/validators/lengthAwarePageNotificationResource.zod.js +70 -0
  2292. package/dist/notification/v1/generated/validators/listNotificationsParams.zod.d.ts +88 -0
  2293. package/dist/notification/v1/generated/validators/listNotificationsParams.zod.js +94 -0
  2294. package/dist/notification/v1/generated/validators/listTypePreferencesParams.zod.d.ts +67 -0
  2295. package/dist/notification/v1/generated/validators/listTypePreferencesParams.zod.js +68 -0
  2296. package/dist/notification/v1/generated/validators/listUserChannelsParams.zod.d.ts +76 -0
  2297. package/dist/notification/v1/generated/validators/listUserChannelsParams.zod.js +68 -0
  2298. package/dist/notification/v1/generated/validators/markNotificationsReadRequestBody.zod.d.ts +68 -0
  2299. package/dist/notification/v1/generated/validators/markNotificationsReadRequestBody.zod.js +68 -0
  2300. package/dist/notification/v1/generated/validators/notificationAudience.zod.d.ts +73 -0
  2301. package/dist/notification/v1/generated/validators/notificationAudience.zod.js +73 -0
  2302. package/dist/notification/v1/generated/validators/notificationChannel.zod.d.ts +69 -0
  2303. package/dist/notification/v1/generated/validators/notificationChannel.zod.js +65 -0
  2304. package/dist/notification/v1/generated/validators/notificationKind.zod.d.ts +68 -0
  2305. package/dist/notification/v1/generated/validators/notificationKind.zod.js +65 -0
  2306. package/dist/notification/v1/generated/validators/notificationResource.zod.d.ts +88 -0
  2307. package/dist/notification/v1/generated/validators/notificationResource.zod.js +99 -0
  2308. package/dist/notification/v1/generated/validators/notificationScope.zod.d.ts +68 -0
  2309. package/dist/notification/v1/generated/validators/notificationScope.zod.js +65 -0
  2310. package/dist/notification/v1/generated/validators/notificationSeverity.zod.d.ts +70 -0
  2311. package/dist/notification/v1/generated/validators/notificationSeverity.zod.js +65 -0
  2312. package/dist/notification/v1/generated/validators/notificationTypeDescriptor.zod.d.ts +96 -0
  2313. package/dist/notification/v1/generated/validators/notificationTypeDescriptor.zod.js +88 -0
  2314. package/dist/notification/v1/generated/validators/notificationTypeListResponseBody.zod.d.ts +98 -0
  2315. package/dist/notification/v1/generated/validators/notificationTypeListResponseBody.zod.js +66 -0
  2316. package/dist/notification/v1/generated/validators/offsetPagination.zod.d.ts +70 -0
  2317. package/dist/notification/v1/generated/validators/offsetPagination.zod.js +70 -0
  2318. package/dist/notification/v1/generated/validators/preferencesResource.zod.d.ts +72 -0
  2319. package/dist/notification/v1/generated/validators/preferencesResource.zod.js +86 -0
  2320. package/dist/notification/v1/generated/validators/realtimeAuthResource.zod.d.ts +67 -0
  2321. package/dist/notification/v1/generated/validators/realtimeAuthResource.zod.js +67 -0
  2322. package/dist/notification/v1/generated/validators/realtimeConnectionResource.zod.d.ts +76 -0
  2323. package/dist/notification/v1/generated/validators/realtimeConnectionResource.zod.js +88 -0
  2324. package/dist/notification/v1/generated/validators/revealedCredentialResource.zod.d.ts +73 -0
  2325. package/dist/notification/v1/generated/validators/revealedCredentialResource.zod.js +77 -0
  2326. package/dist/notification/v1/generated/validators/typePreferenceListResponseBody.zod.d.ts +84 -0
  2327. package/dist/notification/v1/generated/validators/typePreferenceListResponseBody.zod.js +66 -0
  2328. package/dist/notification/v1/generated/validators/typePreferenceResource.zod.d.ts +82 -0
  2329. package/dist/notification/v1/generated/validators/typePreferenceResource.zod.js +82 -0
  2330. package/dist/notification/v1/generated/validators/unreadCountResource.zod.d.ts +67 -0
  2331. package/dist/notification/v1/generated/validators/unreadCountResource.zod.js +65 -0
  2332. package/dist/notification/v1/generated/validators/updateChannelRequestBody.zod.d.ts +69 -0
  2333. package/dist/notification/v1/generated/validators/updateChannelRequestBody.zod.js +72 -0
  2334. package/dist/notification/v1/generated/validators/updatePreferencesRequestBody.zod.d.ts +71 -0
  2335. package/dist/notification/v1/generated/validators/updatePreferencesRequestBody.zod.js +80 -0
  2336. package/dist/notification/v1/generated/validators/updateTypePreferenceParams.zod.d.ts +67 -0
  2337. package/dist/notification/v1/generated/validators/updateTypePreferenceParams.zod.js +68 -0
  2338. package/dist/notification/v1/generated/validators/updateTypePreferenceRequestBody.zod.d.ts +80 -0
  2339. package/dist/notification/v1/generated/validators/updateTypePreferenceRequestBody.zod.js +82 -0
  2340. package/dist/notification/v1/index.d.ts +3 -60
  2341. package/dist/notification/v1/index.js +3 -5
  2342. package/dist/routes.d.ts +4241 -0
  2343. package/dist/routes.js +4770 -0
  2344. package/dist/support/v1/generated/functions.d.ts +410 -0
  2345. package/dist/support/v1/generated/functions.js +409 -0
  2346. package/dist/support/v1/generated/models.d.ts +502 -0
  2347. package/dist/support/v1/generated/models.js +27 -0
  2348. package/dist/support/v1/generated/schemas.zod.d.ts +259 -0
  2349. package/dist/support/v1/generated/schemas.zod.js +308 -0
  2350. package/dist/support/v1/generated/validators/createTicketMessageRequestBody.zod.d.ts +59 -0
  2351. package/dist/support/v1/generated/validators/createTicketMessageRequestBody.zod.js +61 -0
  2352. package/dist/support/v1/generated/validators/createTicketRequestBody.zod.d.ts +68 -0
  2353. package/dist/support/v1/generated/validators/createTicketRequestBody.zod.js +70 -0
  2354. package/dist/support/v1/generated/validators/createTicketSatisfactionRequestBody.zod.d.ts +59 -0
  2355. package/dist/support/v1/generated/validators/createTicketSatisfactionRequestBody.zod.js +57 -0
  2356. package/dist/support/v1/generated/validators/cursorPagination.zod.d.ts +57 -0
  2357. package/dist/support/v1/generated/validators/cursorPagination.zod.js +57 -0
  2358. package/dist/support/v1/generated/validators/downloadAttachmentParams.zod.d.ts +56 -0
  2359. package/dist/support/v1/generated/validators/downloadAttachmentParams.zod.js +54 -0
  2360. package/dist/support/v1/generated/validators/error.zod.d.ts +68 -0
  2361. package/dist/support/v1/generated/validators/error.zod.js +57 -0
  2362. package/dist/support/v1/generated/validators/errorStatus.zod.d.ts +66 -0
  2363. package/dist/support/v1/generated/validators/errorStatus.zod.js +81 -0
  2364. package/dist/support/v1/generated/validators/fieldViolation.zod.d.ts +57 -0
  2365. package/dist/support/v1/generated/validators/fieldViolation.zod.js +60 -0
  2366. package/dist/support/v1/generated/validators/lengthAwarePageMaintenanceResource.zod.d.ts +80 -0
  2367. package/dist/support/v1/generated/validators/lengthAwarePageMaintenanceResource.zod.js +58 -0
  2368. package/dist/support/v1/generated/validators/lengthAwarePageMaintenanceTimelineEntryResource.zod.d.ts +75 -0
  2369. package/dist/support/v1/generated/validators/lengthAwarePageMaintenanceTimelineEntryResource.zod.js +58 -0
  2370. package/dist/support/v1/generated/validators/lengthAwarePageTicketCategoryResource.zod.d.ts +63 -0
  2371. package/dist/support/v1/generated/validators/lengthAwarePageTicketCategoryResource.zod.js +58 -0
  2372. package/dist/support/v1/generated/validators/lengthAwarePageTicketMessageResource.zod.d.ts +75 -0
  2373. package/dist/support/v1/generated/validators/lengthAwarePageTicketMessageResource.zod.js +58 -0
  2374. package/dist/support/v1/generated/validators/lengthAwarePageTicketResource.zod.d.ts +90 -0
  2375. package/dist/support/v1/generated/validators/lengthAwarePageTicketResource.zod.js +58 -0
  2376. package/dist/support/v1/generated/validators/listMaintenanceTimelineParams.zod.d.ts +62 -0
  2377. package/dist/support/v1/generated/validators/listMaintenanceTimelineParams.zod.js +68 -0
  2378. package/dist/support/v1/generated/validators/listMaintenancesParams.zod.d.ts +70 -0
  2379. package/dist/support/v1/generated/validators/listMaintenancesParams.zod.js +72 -0
  2380. package/dist/support/v1/generated/validators/listTicketCategoriesParams.zod.d.ts +62 -0
  2381. package/dist/support/v1/generated/validators/listTicketCategoriesParams.zod.js +68 -0
  2382. package/dist/support/v1/generated/validators/listTicketMessagesParams.zod.d.ts +62 -0
  2383. package/dist/support/v1/generated/validators/listTicketMessagesParams.zod.js +68 -0
  2384. package/dist/support/v1/generated/validators/listTicketsParams.zod.d.ts +76 -0
  2385. package/dist/support/v1/generated/validators/listTicketsParams.zod.js +71 -0
  2386. package/dist/support/v1/generated/validators/maintenanceImpact.zod.d.ts +59 -0
  2387. package/dist/support/v1/generated/validators/maintenanceImpact.zod.js +54 -0
  2388. package/dist/support/v1/generated/validators/maintenanceResource.zod.d.ts +75 -0
  2389. package/dist/support/v1/generated/validators/maintenanceResource.zod.js +75 -0
  2390. package/dist/support/v1/generated/validators/maintenanceStatus.zod.d.ts +59 -0
  2391. package/dist/support/v1/generated/validators/maintenanceStatus.zod.js +54 -0
  2392. package/dist/support/v1/generated/validators/maintenanceTimelineEntryResource.zod.d.ts +70 -0
  2393. package/dist/support/v1/generated/validators/maintenanceTimelineEntryResource.zod.js +66 -0
  2394. package/dist/support/v1/generated/validators/noticeMaintenanceResource.zod.d.ts +74 -0
  2395. package/dist/support/v1/generated/validators/noticeMaintenanceResource.zod.js +64 -0
  2396. package/dist/support/v1/generated/validators/noticeResource.zod.d.ts +76 -0
  2397. package/dist/support/v1/generated/validators/noticeResource.zod.js +57 -0
  2398. package/dist/support/v1/generated/validators/offsetPagination.zod.d.ts +59 -0
  2399. package/dist/support/v1/generated/validators/offsetPagination.zod.js +59 -0
  2400. package/dist/support/v1/generated/validators/ticketAttachmentResource.zod.d.ts +60 -0
  2401. package/dist/support/v1/generated/validators/ticketAttachmentResource.zod.js +62 -0
  2402. package/dist/support/v1/generated/validators/ticketAuthorType.zod.d.ts +57 -0
  2403. package/dist/support/v1/generated/validators/ticketAuthorType.zod.js +54 -0
  2404. package/dist/support/v1/generated/validators/ticketCategoryResource.zod.d.ts +58 -0
  2405. package/dist/support/v1/generated/validators/ticketCategoryResource.zod.js +58 -0
  2406. package/dist/support/v1/generated/validators/ticketMessageResource.zod.d.ts +70 -0
  2407. package/dist/support/v1/generated/validators/ticketMessageResource.zod.js +65 -0
  2408. package/dist/support/v1/generated/validators/ticketPriority.zod.d.ts +59 -0
  2409. package/dist/support/v1/generated/validators/ticketPriority.zod.js +54 -0
  2410. package/dist/support/v1/generated/validators/ticketResource.zod.d.ts +85 -0
  2411. package/dist/support/v1/generated/validators/ticketResource.zod.js +84 -0
  2412. package/dist/support/v1/generated/validators/ticketSatisfactionResource.zod.d.ts +60 -0
  2413. package/dist/support/v1/generated/validators/ticketSatisfactionResource.zod.js +60 -0
  2414. package/dist/support/v1/generated/validators/ticketStatus.zod.d.ts +58 -0
  2415. package/dist/support/v1/generated/validators/ticketStatus.zod.js +54 -0
  2416. package/dist/support/v1/generated/validators/uploadAttachmentParams.zod.d.ts +57 -0
  2417. package/dist/support/v1/generated/validators/uploadAttachmentParams.zod.js +55 -0
  2418. package/dist/support/v1/index.d.ts +3 -60
  2419. package/dist/support/v1/index.js +3 -5
  2420. package/dist/swas/v1/generated/functions.d.ts +418 -0
  2421. package/dist/swas/v1/generated/functions.js +250 -0
  2422. package/dist/swas/v1/generated/models.d.ts +468 -0
  2423. package/dist/swas/v1/generated/models.js +95 -0
  2424. package/dist/swas/v1/generated/schemas.zod.d.ts +115 -0
  2425. package/dist/swas/v1/generated/schemas.zod.js +125 -0
  2426. package/dist/swas/v1/generated/validators/catalog.zod.d.ts +39 -0
  2427. package/dist/swas/v1/generated/validators/catalog.zod.js +16 -0
  2428. package/dist/swas/v1/generated/validators/createPurchaseHeaders.zod.d.ts +14 -0
  2429. package/dist/swas/v1/generated/validators/createPurchaseHeaders.zod.js +12 -0
  2430. package/dist/swas/v1/generated/validators/cursorPagination.zod.d.ts +14 -0
  2431. package/dist/swas/v1/generated/validators/cursorPagination.zod.js +14 -0
  2432. package/dist/swas/v1/generated/validators/customerRefundProgress.zod.d.ts +16 -0
  2433. package/dist/swas/v1/generated/validators/customerRefundProgress.zod.js +14 -0
  2434. package/dist/swas/v1/generated/validators/decimalAmount.zod.d.ts +12 -0
  2435. package/dist/swas/v1/generated/validators/decimalAmount.zod.js +11 -0
  2436. package/dist/swas/v1/generated/validators/error.zod.d.ts +25 -0
  2437. package/dist/swas/v1/generated/validators/error.zod.js +14 -0
  2438. package/dist/swas/v1/generated/validators/errorStatus.zod.d.ts +23 -0
  2439. package/dist/swas/v1/generated/validators/errorStatus.zod.js +38 -0
  2440. package/dist/swas/v1/generated/validators/fieldViolation.zod.d.ts +14 -0
  2441. package/dist/swas/v1/generated/validators/fieldViolation.zod.js +17 -0
  2442. package/dist/swas/v1/generated/validators/instance.zod.d.ts +58 -0
  2443. package/dist/swas/v1/generated/validators/instance.zod.js +47 -0
  2444. package/dist/swas/v1/generated/validators/instanceCapabilities.zod.d.ts +16 -0
  2445. package/dist/swas/v1/generated/validators/instanceCapabilities.zod.js +14 -0
  2446. package/dist/swas/v1/generated/validators/instanceList.zod.d.ts +62 -0
  2447. package/dist/swas/v1/generated/validators/instanceList.zod.js +15 -0
  2448. package/dist/swas/v1/generated/validators/instancePagination.zod.d.ts +15 -0
  2449. package/dist/swas/v1/generated/validators/instancePagination.zod.js +10 -0
  2450. package/dist/swas/v1/generated/validators/instancePrice.zod.d.ts +16 -0
  2451. package/dist/swas/v1/generated/validators/instancePrice.zod.js +26 -0
  2452. package/dist/swas/v1/generated/validators/listInstancesParams.zod.d.ts +20 -0
  2453. package/dist/swas/v1/generated/validators/listInstancesParams.zod.js +22 -0
  2454. package/dist/swas/v1/generated/validators/listPlansParams.zod.d.ts +16 -0
  2455. package/dist/swas/v1/generated/validators/listPlansParams.zod.js +14 -0
  2456. package/dist/swas/v1/generated/validators/managementOperation.zod.d.ts +36 -0
  2457. package/dist/swas/v1/generated/validators/managementOperation.zod.js +21 -0
  2458. package/dist/swas/v1/generated/validators/money.zod.d.ts +11 -0
  2459. package/dist/swas/v1/generated/validators/money.zod.js +11 -0
  2460. package/dist/swas/v1/generated/validators/offsetPagination.zod.d.ts +16 -0
  2461. package/dist/swas/v1/generated/validators/offsetPagination.zod.js +16 -0
  2462. package/dist/swas/v1/generated/validators/plan.zod.d.ts +38 -0
  2463. package/dist/swas/v1/generated/validators/plan.zod.js +33 -0
  2464. package/dist/swas/v1/generated/validators/price.zod.d.ts +20 -0
  2465. package/dist/swas/v1/generated/validators/price.zod.js +33 -0
  2466. package/dist/swas/v1/generated/validators/priceOption.zod.d.ts +20 -0
  2467. package/dist/swas/v1/generated/validators/priceOption.zod.js +32 -0
  2468. package/dist/swas/v1/generated/validators/purchase.zod.d.ts +34 -0
  2469. package/dist/swas/v1/generated/validators/purchase.zod.js +34 -0
  2470. package/dist/swas/v1/generated/validators/purchaseCreate.zod.d.ts +23 -0
  2471. package/dist/swas/v1/generated/validators/purchaseCreate.zod.js +24 -0
  2472. package/dist/swas/v1/generated/validators/rebootCycle.zod.d.ts +14 -0
  2473. package/dist/swas/v1/generated/validators/rebootCycle.zod.js +17 -0
  2474. package/dist/swas/v1/generated/validators/rebootInstance.zod.d.ts +11 -0
  2475. package/dist/swas/v1/generated/validators/rebootInstance.zod.js +9 -0
  2476. package/dist/swas/v1/generated/validators/rebootInstanceHeaders.zod.d.ts +14 -0
  2477. package/dist/swas/v1/generated/validators/rebootInstanceHeaders.zod.js +12 -0
  2478. package/dist/swas/v1/generated/validators/refundProgress.zod.d.ts +33 -0
  2479. package/dist/swas/v1/generated/validators/refundProgress.zod.js +27 -0
  2480. package/dist/swas/v1/generated/validators/startInstance.zod.d.ts +11 -0
  2481. package/dist/swas/v1/generated/validators/startInstance.zod.js +9 -0
  2482. package/dist/swas/v1/generated/validators/startInstanceHeaders.zod.d.ts +14 -0
  2483. package/dist/swas/v1/generated/validators/startInstanceHeaders.zod.js +12 -0
  2484. package/dist/swas/v1/generated/validators/stopInstance.zod.d.ts +11 -0
  2485. package/dist/swas/v1/generated/validators/stopInstance.zod.js +9 -0
  2486. package/dist/swas/v1/generated/validators/stopInstanceHeaders.zod.d.ts +14 -0
  2487. package/dist/swas/v1/generated/validators/stopInstanceHeaders.zod.js +12 -0
  2488. package/dist/swas/v1/generated/validators/supplierRefundProgress.zod.d.ts +14 -0
  2489. package/dist/swas/v1/generated/validators/supplierRefundProgress.zod.js +12 -0
  2490. package/dist/swas/v1/index.d.ts +4 -0
  2491. package/dist/swas/v1/index.js +4 -0
  2492. package/dist/swas/v1/response-schemas.d.ts +19 -0
  2493. package/dist/swas/v1/response-schemas.js +20 -0
  2494. package/dist/swas-legacy/v1/generated/functions.d.ts +652 -0
  2495. package/dist/swas-legacy/v1/generated/functions.js +438 -0
  2496. package/dist/swas-legacy/v1/generated/models.d.ts +0 -0
  2497. package/dist/swas-legacy/v1/generated/models.js +98 -0
  2498. package/dist/swas-legacy/v1/generated/schemas.zod.d.ts +257 -0
  2499. package/dist/swas-legacy/v1/generated/schemas.zod.js +288 -0
  2500. package/dist/swas-legacy/v1/generated/validators/capabilities.zod.d.ts +16 -0
  2501. package/dist/swas-legacy/v1/generated/validators/capabilities.zod.js +14 -0
  2502. package/dist/swas-legacy/v1/generated/validators/console.zod.d.ts +16 -0
  2503. package/dist/swas-legacy/v1/generated/validators/console.zod.js +16 -0
  2504. package/dist/swas-legacy/v1/generated/validators/createInstanceConsoleHeaders.zod.d.ts +15 -0
  2505. package/dist/swas-legacy/v1/generated/validators/createInstanceConsoleHeaders.zod.js +17 -0
  2506. package/dist/swas-legacy/v1/generated/validators/createInstanceFirewallRuleHeaders.zod.d.ts +15 -0
  2507. package/dist/swas-legacy/v1/generated/validators/createInstanceFirewallRuleHeaders.zod.js +17 -0
  2508. package/dist/swas-legacy/v1/generated/validators/decimal.zod.d.ts +12 -0
  2509. package/dist/swas-legacy/v1/generated/validators/decimal.zod.js +10 -0
  2510. package/dist/swas-legacy/v1/generated/validators/deleteInstanceFirewallRuleHeaders.zod.d.ts +15 -0
  2511. package/dist/swas-legacy/v1/generated/validators/deleteInstanceFirewallRuleHeaders.zod.js +17 -0
  2512. package/dist/swas-legacy/v1/generated/validators/error.zod.d.ts +21 -0
  2513. package/dist/swas-legacy/v1/generated/validators/error.zod.js +19 -0
  2514. package/dist/swas-legacy/v1/generated/validators/firewallRule.zod.d.ts +24 -0
  2515. package/dist/swas-legacy/v1/generated/validators/firewallRule.zod.js +17 -0
  2516. package/dist/swas-legacy/v1/generated/validators/firewallRuleList.zod.d.ts +29 -0
  2517. package/dist/swas-legacy/v1/generated/validators/firewallRuleList.zod.js +14 -0
  2518. package/dist/swas-legacy/v1/generated/validators/firewallWriteRequest.zod.d.ts +28 -0
  2519. package/dist/swas-legacy/v1/generated/validators/firewallWriteRequest.zod.js +0 -0
  2520. package/dist/swas-legacy/v1/generated/validators/generationRequest.zod.d.ts +13 -0
  2521. package/dist/swas-legacy/v1/generated/validators/generationRequest.zod.js +11 -0
  2522. package/dist/swas-legacy/v1/generated/validators/image.zod.d.ts +20 -0
  2523. package/dist/swas-legacy/v1/generated/validators/image.zod.js +18 -0
  2524. package/dist/swas-legacy/v1/generated/validators/imageList.zod.d.ts +24 -0
  2525. package/dist/swas-legacy/v1/generated/validators/imageList.zod.js +14 -0
  2526. package/dist/swas-legacy/v1/generated/validators/instance.zod.d.ts +82 -0
  2527. package/dist/swas-legacy/v1/generated/validators/instance.zod.js +33 -0
  2528. package/dist/swas-legacy/v1/generated/validators/instanceList.zod.d.ts +88 -0
  2529. package/dist/swas-legacy/v1/generated/validators/instanceList.zod.js +14 -0
  2530. package/dist/swas-legacy/v1/generated/validators/lastOperation.zod.d.ts +33 -0
  2531. package/dist/swas-legacy/v1/generated/validators/lastOperation.zod.js +31 -0
  2532. package/dist/swas-legacy/v1/generated/validators/listInstanceFirewallRulesParams.zod.d.ts +18 -0
  2533. package/dist/swas-legacy/v1/generated/validators/listInstanceFirewallRulesParams.zod.js +24 -0
  2534. package/dist/swas-legacy/v1/generated/validators/listInstanceMetricsParams.zod.d.ts +19 -0
  2535. package/dist/swas-legacy/v1/generated/validators/listInstanceMetricsParams.zod.js +12 -0
  2536. package/dist/swas-legacy/v1/generated/validators/listInstanceOperationsParams.zod.d.ts +18 -0
  2537. package/dist/swas-legacy/v1/generated/validators/listInstanceOperationsParams.zod.js +24 -0
  2538. package/dist/swas-legacy/v1/generated/validators/listInstanceReinstallImagesParams.zod.d.ts +18 -0
  2539. package/dist/swas-legacy/v1/generated/validators/listInstanceReinstallImagesParams.zod.js +24 -0
  2540. package/dist/swas-legacy/v1/generated/validators/listInstancesParams.zod.d.ts +18 -0
  2541. package/dist/swas-legacy/v1/generated/validators/listInstancesParams.zod.js +20 -0
  2542. package/dist/swas-legacy/v1/generated/validators/metricPoint.zod.d.ts +14 -0
  2543. package/dist/swas-legacy/v1/generated/validators/metricPoint.zod.js +13 -0
  2544. package/dist/swas-legacy/v1/generated/validators/metricSeries.zod.d.ts +30 -0
  2545. package/dist/swas-legacy/v1/generated/validators/metricSeries.zod.js +23 -0
  2546. package/dist/swas-legacy/v1/generated/validators/metrics.zod.d.ts +41 -0
  2547. package/dist/swas-legacy/v1/generated/validators/metrics.zod.js +19 -0
  2548. package/dist/swas-legacy/v1/generated/validators/operation.zod.d.ts +35 -0
  2549. package/dist/swas-legacy/v1/generated/validators/operation.zod.js +33 -0
  2550. package/dist/swas-legacy/v1/generated/validators/operationLogList.zod.d.ts +39 -0
  2551. package/dist/swas-legacy/v1/generated/validators/operationLogList.zod.js +16 -0
  2552. package/dist/swas-legacy/v1/generated/validators/pagination.zod.d.ts +18 -0
  2553. package/dist/swas-legacy/v1/generated/validators/pagination.zod.js +18 -0
  2554. package/dist/swas-legacy/v1/generated/validators/passwordRequest.zod.d.ts +17 -0
  2555. package/dist/swas-legacy/v1/generated/validators/passwordRequest.zod.js +0 -0
  2556. package/dist/swas-legacy/v1/generated/validators/rebootInstanceHeaders.zod.d.ts +15 -0
  2557. package/dist/swas-legacy/v1/generated/validators/rebootInstanceHeaders.zod.js +17 -0
  2558. package/dist/swas-legacy/v1/generated/validators/reinstallInstanceHeaders.zod.d.ts +15 -0
  2559. package/dist/swas-legacy/v1/generated/validators/reinstallInstanceHeaders.zod.js +17 -0
  2560. package/dist/swas-legacy/v1/generated/validators/reinstallRequest.zod.d.ts +17 -0
  2561. package/dist/swas-legacy/v1/generated/validators/reinstallRequest.zod.js +19 -0
  2562. package/dist/swas-legacy/v1/generated/validators/setInstancePasswordHeaders.zod.d.ts +15 -0
  2563. package/dist/swas-legacy/v1/generated/validators/setInstancePasswordHeaders.zod.js +17 -0
  2564. package/dist/swas-legacy/v1/generated/validators/startInstanceHeaders.zod.d.ts +15 -0
  2565. package/dist/swas-legacy/v1/generated/validators/startInstanceHeaders.zod.js +17 -0
  2566. package/dist/swas-legacy/v1/generated/validators/stopInstanceHeaders.zod.d.ts +15 -0
  2567. package/dist/swas-legacy/v1/generated/validators/stopInstanceHeaders.zod.js +17 -0
  2568. package/dist/swas-legacy/v1/generated/validators/traffic.zod.d.ts +22 -0
  2569. package/dist/swas-legacy/v1/generated/validators/traffic.zod.js +20 -0
  2570. package/dist/swas-legacy/v1/generated/validators/updateInstanceFirewallRuleHeaders.zod.d.ts +15 -0
  2571. package/dist/swas-legacy/v1/generated/validators/updateInstanceFirewallRuleHeaders.zod.js +17 -0
  2572. package/dist/swas-legacy/v1/index.d.ts +3 -0
  2573. package/dist/swas-legacy/v1/index.js +3 -0
  2574. package/dist/type/checkout/v1/generated/functions.d.ts +8 -0
  2575. package/dist/type/checkout/v1/generated/functions.js +8 -0
  2576. package/dist/type/checkout/v1/generated/models.d.ts +48 -0
  2577. package/dist/type/checkout/v1/generated/models.js +4 -0
  2578. package/dist/type/checkout/v1/generated/schemas.zod.d.ts +8 -0
  2579. package/dist/type/checkout/v1/generated/schemas.zod.js +8 -0
  2580. package/dist/type/checkout/v1/generated/validators/checkoutMode.zod.d.ts +14 -0
  2581. package/dist/type/checkout/v1/generated/validators/checkoutMode.zod.js +11 -0
  2582. package/dist/type/checkout/v1/generated/validators/checkoutOptions.zod.d.ts +19 -0
  2583. package/dist/type/checkout/v1/generated/validators/checkoutOptions.zod.js +20 -0
  2584. package/dist/type/checkout/v1/generated/validators/money.zod.d.ts +11 -0
  2585. package/dist/type/checkout/v1/generated/validators/money.zod.js +11 -0
  2586. package/dist/type/checkout/v1/index.d.ts +3 -0
  2587. package/dist/type/checkout/v1/index.js +3 -0
  2588. package/dist/type/error/v1/generated/functions.d.ts +9 -0
  2589. package/dist/type/error/v1/generated/functions.js +9 -0
  2590. package/dist/type/error/v1/generated/models.d.ts +67 -0
  2591. package/dist/type/error/v1/generated/models.js +1 -0
  2592. package/dist/type/error/v1/generated/schemas.zod.d.ts +9 -0
  2593. package/dist/type/error/v1/generated/schemas.zod.js +9 -0
  2594. package/dist/type/error/v1/generated/validators/error.zod.d.ts +26 -0
  2595. package/dist/type/error/v1/generated/validators/error.zod.js +15 -0
  2596. package/dist/type/error/v1/generated/validators/errorStatus.zod.d.ts +24 -0
  2597. package/dist/type/error/v1/generated/validators/errorStatus.zod.js +39 -0
  2598. package/dist/type/error/v1/generated/validators/fieldViolation.zod.d.ts +15 -0
  2599. package/dist/type/error/v1/generated/validators/fieldViolation.zod.js +18 -0
  2600. package/dist/type/error/v1/index.d.ts +3 -0
  2601. package/dist/type/error/v1/index.js +3 -0
  2602. package/dist/type/identity/v1/generated/functions.d.ts +8 -0
  2603. package/dist/type/identity/v1/generated/functions.js +8 -0
  2604. package/dist/type/identity/v1/generated/models.d.ts +22 -0
  2605. package/dist/type/identity/v1/generated/models.js +1 -0
  2606. package/dist/type/identity/v1/generated/schemas.zod.d.ts +8 -0
  2607. package/dist/type/identity/v1/generated/schemas.zod.js +8 -0
  2608. package/dist/type/identity/v1/generated/validators/namedIdentity.zod.d.ts +15 -0
  2609. package/dist/type/identity/v1/generated/validators/namedIdentity.zod.js +15 -0
  2610. package/dist/type/identity/v1/index.d.ts +3 -0
  2611. package/dist/type/identity/v1/index.js +3 -0
  2612. package/dist/type/index.d.ts +9 -0
  2613. package/dist/type/index.js +9 -0
  2614. package/dist/type/money/v1/generated/functions.d.ts +8 -0
  2615. package/dist/type/money/v1/generated/functions.js +8 -0
  2616. package/dist/type/money/v1/generated/models.d.ts +19 -0
  2617. package/dist/type/money/v1/generated/models.js +1 -0
  2618. package/dist/type/money/v1/generated/schemas.zod.d.ts +8 -0
  2619. package/dist/type/money/v1/generated/schemas.zod.js +8 -0
  2620. package/dist/type/money/v1/generated/validators/money.zod.d.ts +11 -0
  2621. package/dist/type/money/v1/generated/validators/money.zod.js +11 -0
  2622. package/dist/type/money/v1/index.d.ts +3 -0
  2623. package/dist/type/money/v1/index.js +3 -0
  2624. package/dist/type/order/v1/generated/functions.d.ts +8 -0
  2625. package/dist/type/order/v1/generated/functions.js +8 -0
  2626. package/dist/type/order/v1/generated/models.d.ts +19 -0
  2627. package/dist/type/order/v1/generated/models.js +1 -0
  2628. package/dist/type/order/v1/generated/schemas.zod.d.ts +8 -0
  2629. package/dist/type/order/v1/generated/schemas.zod.js +8 -0
  2630. package/dist/type/order/v1/generated/validators/placedOrder.zod.d.ts +14 -0
  2631. package/dist/type/order/v1/generated/validators/placedOrder.zod.js +19 -0
  2632. package/dist/type/order/v1/index.d.ts +3 -0
  2633. package/dist/type/order/v1/index.js +3 -0
  2634. package/dist/type/pagination/v1/generated/functions.d.ts +10 -0
  2635. package/dist/type/pagination/v1/generated/functions.js +10 -0
  2636. package/dist/type/pagination/v1/generated/models.d.ts +62 -0
  2637. package/dist/type/pagination/v1/generated/models.js +1 -0
  2638. package/dist/type/pagination/v1/generated/schemas.zod.d.ts +10 -0
  2639. package/dist/type/pagination/v1/generated/schemas.zod.js +10 -0
  2640. package/dist/type/pagination/v1/generated/validators/cursorPagination.zod.d.ts +16 -0
  2641. package/dist/type/pagination/v1/generated/validators/cursorPagination.zod.js +16 -0
  2642. package/dist/type/pagination/v1/generated/validators/offsetPagination.zod.d.ts +18 -0
  2643. package/dist/type/pagination/v1/generated/validators/offsetPagination.zod.js +18 -0
  2644. package/dist/type/pagination/v1/index.d.ts +3 -0
  2645. package/dist/type/pagination/v1/index.js +3 -0
  2646. package/dist/type/quote/v1/generated/functions.d.ts +8 -0
  2647. package/dist/type/quote/v1/generated/functions.js +8 -0
  2648. package/dist/type/quote/v1/generated/models.d.ts +98 -0
  2649. package/dist/type/quote/v1/generated/models.js +1 -0
  2650. package/dist/type/quote/v1/generated/schemas.zod.d.ts +8 -0
  2651. package/dist/type/quote/v1/generated/schemas.zod.js +8 -0
  2652. package/dist/type/quote/v1/generated/validators/money.zod.d.ts +11 -0
  2653. package/dist/type/quote/v1/generated/validators/money.zod.js +11 -0
  2654. package/dist/type/quote/v1/generated/validators/quote.zod.d.ts +32 -0
  2655. package/dist/type/quote/v1/generated/validators/quote.zod.js +32 -0
  2656. package/dist/type/quote/v1/generated/validators/quoteItem.zod.d.ts +22 -0
  2657. package/dist/type/quote/v1/generated/validators/quoteItem.zod.js +27 -0
  2658. package/dist/type/quote/v1/index.d.ts +3 -0
  2659. package/dist/type/quote/v1/index.js +3 -0
  2660. package/dist/type/resource/v1/generated/functions.d.ts +8 -0
  2661. package/dist/type/resource/v1/generated/functions.js +8 -0
  2662. package/dist/type/resource/v1/generated/models.d.ts +157 -0
  2663. package/dist/type/resource/v1/generated/models.js +25 -0
  2664. package/dist/type/resource/v1/generated/schemas.zod.d.ts +8 -0
  2665. package/dist/type/resource/v1/generated/schemas.zod.js +8 -0
  2666. package/dist/type/resource/v1/generated/validators/attachment.zod.d.ts +37 -0
  2667. package/dist/type/resource/v1/generated/validators/attachment.zod.js +21 -0
  2668. package/dist/type/resource/v1/generated/validators/attachmentList.zod.d.ts +44 -0
  2669. package/dist/type/resource/v1/generated/validators/attachmentList.zod.js +14 -0
  2670. package/dist/type/resource/v1/generated/validators/cursorPagination.zod.d.ts +14 -0
  2671. package/dist/type/resource/v1/generated/validators/cursorPagination.zod.js +14 -0
  2672. package/dist/type/resource/v1/generated/validators/idlePolicy.zod.d.ts +16 -0
  2673. package/dist/type/resource/v1/generated/validators/idlePolicy.zod.js +16 -0
  2674. package/dist/type/resource/v1/generated/validators/offsetPagination.zod.d.ts +16 -0
  2675. package/dist/type/resource/v1/generated/validators/offsetPagination.zod.js +16 -0
  2676. package/dist/type/resource/v1/generated/validators/reclamationState.zod.d.ts +33 -0
  2677. package/dist/type/resource/v1/generated/validators/reclamationState.zod.js +20 -0
  2678. package/dist/type/resource/v1/generated/validators/resourceDependency.zod.d.ts +26 -0
  2679. package/dist/type/resource/v1/generated/validators/resourceDependency.zod.js +20 -0
  2680. package/dist/type/resource/v1/generated/validators/resourceDependencyList.zod.d.ts +32 -0
  2681. package/dist/type/resource/v1/generated/validators/resourceDependencyList.zod.js +14 -0
  2682. package/dist/type/resource/v1/generated/validators/resourceReference.zod.d.ts +18 -0
  2683. package/dist/type/resource/v1/generated/validators/resourceReference.zod.js +22 -0
  2684. package/dist/type/resource/v1/generated/validators/resourceUsage.zod.d.ts +38 -0
  2685. package/dist/type/resource/v1/generated/validators/resourceUsage.zod.js +26 -0
  2686. package/dist/type/resource/v1/generated/validators/resourceUsageList.zod.d.ts +43 -0
  2687. package/dist/type/resource/v1/generated/validators/resourceUsageList.zod.js +14 -0
  2688. package/dist/type/resource/v1/index.d.ts +3 -0
  2689. package/dist/type/resource/v1/index.js +3 -0
  2690. package/dist/type/security/v1/generated/functions.d.ts +9 -0
  2691. package/dist/type/security/v1/generated/functions.js +9 -0
  2692. package/dist/type/security/v1/generated/models.d.ts +9 -0
  2693. package/dist/type/security/v1/generated/models.js +9 -0
  2694. package/dist/type/security/v1/generated/schemas.zod.d.ts +9 -0
  2695. package/dist/type/security/v1/generated/schemas.zod.js +9 -0
  2696. package/dist/type/security/v1/index.d.ts +3 -0
  2697. package/dist/type/security/v1/index.js +3 -0
  2698. package/package.json +18 -41
  2699. package/dist/account/v1/schema.d.ts +0 -941
  2700. package/dist/account/v1/schema.js +0 -5
  2701. package/dist/assistant/v1/schema.d.ts +0 -2190
  2702. package/dist/assistant/v1/schema.js +0 -5
  2703. package/dist/canopy/v1/schema.d.ts +0 -1100
  2704. package/dist/canopy/v1/schema.js +0 -5
  2705. package/dist/compute/v1/index.d.ts +0 -246
  2706. package/dist/compute/v1/index.js +0 -5
  2707. package/dist/compute/v1/schema.d.ts +0 -4854
  2708. package/dist/compute/v1/schema.js +0 -5
  2709. package/dist/dns/v1/schema.d.ts +0 -883
  2710. package/dist/dns/v1/schema.js +0 -5
  2711. package/dist/iam/v1/schema.d.ts +0 -1230
  2712. package/dist/iam/v1/schema.js +0 -5
  2713. package/dist/monitoring/v1/schema.d.ts +0 -4075
  2714. package/dist/monitoring/v1/schema.js +0 -5
  2715. package/dist/notification/v1/schema.d.ts +0 -1557
  2716. package/dist/notification/v1/schema.js +0 -5
  2717. package/dist/support/v1/schema.d.ts +0 -1335
  2718. package/dist/support/v1/schema.js +0 -5
  2719. package/dist/tunnel/v1/index.d.ts +0 -16
  2720. package/dist/tunnel/v1/index.js +0 -5
  2721. package/dist/tunnel/v1/schema.d.ts +0 -401
  2722. package/dist/tunnel/v1/schema.js +0 -5
@@ -0,0 +1,4277 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Leaflow Billing API
5
+ * Products, prices, orders, subscriptions and account billing. Operations on a billing account require an account access token. The account, its balance, payment options and quotes are also readable by members of the projects it currently pays for; changing the account and moving its funds need the owner. Members of a project, as each operation states, can also read the project's billing account, subscriptions and orders, complete and pay for its purchases, quote purchases, changes and renewals, preview cancellations, and, with the project permission `billing:finance.manage` granted in IAM, renew, cancel and turn automatic renewal of its subscriptions on or off, change its billing account and read its costs. A member without the permission an operation needs is refused with 403 `PERMISSION_DENIED` and `meta.permission`; a caller who is not a member, with 403 `IAM_NOT_PROJECT_MEMBER`. Public catalogue operations declare no security requirement.
6
+ * OpenAPI spec version: v1
7
+ */
8
+ /**
9
+ * Whether a cancellation of a delivered purchase may take effect immediately or only at the end of its paid term; refunds follow the refund policy. When absent, no cancellation terms were agreed.
10
+ */
11
+ export type CancellationPolicy = (typeof CancellationPolicy)[keyof typeof CancellationPolicy];
12
+ export declare const CancellationPolicy: {
13
+ readonly immediate: "immediate";
14
+ readonly period_end: "period_end";
15
+ };
16
+ /**
17
+ * `none` refunds nothing.
18
+ *
19
+ * `prorated` refunds the amount paid for the current period minus the value of the time used, never below zero
20
+ * or above what remains unrefunded. Time used runs from the period start to the effective cancellation, by the
21
+ * second. Each whole month from the period start is valued at the order item's `monthly_list_amount`, and the
22
+ * remainder at that amount in proportion to the length of the month it falls in; without `monthly_list_amount`,
23
+ * time used is valued at the amount paid in proportion to the length of the period. A renewal starts a new
24
+ * period, and an immediate change starts one at the change. Discounts and setup fees are not refunded. Refunds
25
+ * return to the original payment sources, with tax refunded in proportion.
26
+ *
27
+ * `short_rate` refunds as `prorated`, except that when the cancellation takes effect less than
28
+ * `short_rate_threshold_seconds` after the period start, the value of the time used is multiplied by
29
+ * `short_rate_multiplier`, up to `monthly_list_amount` for each month begun or, without `monthly_list_amount`,
30
+ * up to the amount paid.
31
+ */
32
+ export type RefundPolicy = (typeof RefundPolicy)[keyof typeof RefundPolicy];
33
+ export declare const RefundPolicy: {
34
+ readonly none: "none";
35
+ readonly prorated: "prorated";
36
+ readonly short_rate: "short_rate";
37
+ };
38
+ export interface OrderCancel {
39
+ /**
40
+ * Omit to select all still-pending items. Explicit selections name one or more items of this order; successful items cannot be reversed here.
41
+ * @minItems 1
42
+ * @maxItems 100
43
+ */
44
+ order_item_ids?: string[];
45
+ }
46
+ export type QuoteRenewalInterval = (typeof QuoteRenewalInterval)[keyof typeof QuoteRenewalInterval];
47
+ export declare const QuoteRenewalInterval: {
48
+ readonly day: "day";
49
+ readonly month: "month";
50
+ readonly year: "year";
51
+ };
52
+ /**
53
+ * Price renewing a licensed subscription. Give `price_id`, or `interval` with
54
+ * `interval_count`, to renew for another term at the price currently sold for it. Naming
55
+ * the current term, or giving neither, renews at the agreed amount. A term sold at several
56
+ * prices that differ in cancellation policy is refused with 409
57
+ * `BILLING_RENEWAL_OPTION_AMBIGUOUS` unless `cancellation_policy` or `price_id` is given.
58
+ */
59
+ export interface QuoteRenewal {
60
+ subscription_id: string;
61
+ price_id?: string;
62
+ interval?: QuoteRenewalInterval;
63
+ /** @minimum 1 */
64
+ interval_count?: number;
65
+ /** With `interval` and `interval_count`, chooses among prices of that term that differ in cancellation policy. */
66
+ cancellation_policy?: CancellationPolicy;
67
+ /**
68
+ * How many consecutive periods to renew for.
69
+ * @minimum 1
70
+ * @maximum 100
71
+ */
72
+ periods?: number;
73
+ }
74
+ export type QuoteRenewalResultInterval = (typeof QuoteRenewalResultInterval)[keyof typeof QuoteRenewalResultInterval];
75
+ export declare const QuoteRenewalResultInterval: {
76
+ readonly day: "day";
77
+ readonly month: "month";
78
+ readonly year: "year";
79
+ };
80
+ /**
81
+ * A decimal string, in the currency stated alongside it.
82
+ *
83
+ * **The currency is not part of this type.** It is carried by a `currency` field next to the
84
+ * amount, or by the account the amount belongs to. Reading an amount without that field is
85
+ * reading a number with no unit.
86
+ *
87
+ * It is a string rather than a JSON number because a JSON number is a float in most parsers,
88
+ * and a float loses precision on the first arithmetic. Nothing on this platform puts an amount
89
+ * through a float.
90
+ */
91
+ export type Money = string;
92
+ /**
93
+ * What renewing would charge. Renewing the same subscription for the same term and periods charges exactly `total` unless prices or the account's discounts change first.
94
+ */
95
+ export interface QuoteRenewalResult {
96
+ /** Which renewal of the request this answers. */
97
+ index: number;
98
+ subscription_id: string;
99
+ /** The price the renewal is charged under. */
100
+ price_id: string;
101
+ interval: QuoteRenewalResultInterval;
102
+ interval_count: number;
103
+ periods: number;
104
+ /** The price of the periods before the account's discounts, with any discount the subscription carries already reflected; includes tax only where the price does. */
105
+ amount: Money;
106
+ /** The reduction from a discount the account holds. */
107
+ discount_amount: Money;
108
+ /** Tax on the discounted amount. */
109
+ tax_amount: Money;
110
+ /** The part of `tax_amount` already contained in `amount`. */
111
+ tax_included_amount: Money;
112
+ /**
113
+ * What renewing would charge: `amount` less `discount_amount`, plus `tax_amount`, less
114
+ * `tax_included_amount`.
115
+ */
116
+ total: Money;
117
+ }
118
+ /**
119
+ * The billing period of a recurring licensed line; `none` otherwise.
120
+ */
121
+ export type QuoteItemInterval = (typeof QuoteItemInterval)[keyof typeof QuoteItemInterval];
122
+ export declare const QuoteItemInterval: {
123
+ readonly none: "none";
124
+ readonly day: "day";
125
+ readonly month: "month";
126
+ readonly year: "year";
127
+ };
128
+ /**
129
+ * The dimension values the line is priced at.
130
+ */
131
+ export type QuoteItemDimensions = {
132
+ [key: string]: string;
133
+ };
134
+ /**
135
+ * The platform service's fixed identifier, such as compute, canopy or assistant.
136
+ * @minLength 1
137
+ * @maxLength 64
138
+ * @pattern ^[a-z][a-z0-9]*(-[a-z0-9]+)*$
139
+ */
140
+ export type ProductID = string;
141
+ /**
142
+ * `one_time` charges once when bought. `recurring` charges again for every period, or for usage as it is settled.
143
+ */
144
+ export type PriceType = (typeof PriceType)[keyof typeof PriceType];
145
+ export declare const PriceType: {
146
+ readonly one_time: "one_time";
147
+ readonly recurring: "recurring";
148
+ };
149
+ /**
150
+ * `licensed` charges for the quantity bought, each period paid before it starts. `metered` charges for the usage
151
+ * reported, after it is settled; a metered subscription lasts until it is canceled. A one-time price is licensed.
152
+ */
153
+ export type UsageType = (typeof UsageType)[keyof typeof UsageType];
154
+ export declare const UsageType: {
155
+ readonly licensed: "licensed";
156
+ readonly metered: "metered";
157
+ };
158
+ /**
159
+ * What an immediate downgrade would refund, estimated as of `proration_date`. The refund itself is determined when the change takes effect.
160
+ */
161
+ export interface QuoteDowngradeRefund {
162
+ /** Returned to the original payment sources, tax paid on it included. */
163
+ refundable_amount: Money;
164
+ /** Before tax, the part of the excess that the subscription's refund terms do not return. */
165
+ forfeited_amount: Money;
166
+ }
167
+ /**
168
+ * One fully calculated purchase line. An item with no immediate charge, such as a metered purchase, has zero checkout amounts.
169
+ */
170
+ export interface QuoteItem {
171
+ tax_amount: Money;
172
+ tax_included_amount: Money;
173
+ /**
174
+ * The zero-based index of the item or change in the request, or the item's position for a Checkout Session quote.
175
+ * @minimum 0
176
+ */
177
+ index: number;
178
+ /**
179
+ * The subscription changed; null for a new purchase.
180
+ * @nullable
181
+ */
182
+ subscription_id: string | null;
183
+ product_id: ProductID;
184
+ plan_id: string;
185
+ /** The selected price, also when the request identified it indirectly. */
186
+ price_id: string;
187
+ plan_name: string;
188
+ type: PriceType;
189
+ usage_type: UsageType;
190
+ /** The billing period of a recurring licensed line; `none` otherwise. */
191
+ interval: QuoteItemInterval;
192
+ /**
193
+ * Periods per billing cycle of a recurring licensed line; null otherwise.
194
+ * @minimum 1
195
+ * @nullable
196
+ */
197
+ interval_count: number | null;
198
+ /** The dimension values the line is priced at. */
199
+ dimensions: QuoteItemDimensions;
200
+ /** The setup charge already included in `amount`; null when none applies. */
201
+ setup_amount: Money | null;
202
+ /** Recurring licensed lines only; null otherwise. What each later period renews at, before discounts and tax, which differs from `amount` when the first period is priced differently. `discount` says whether its discount continues on renewals. */
203
+ recurring_amount: Money | null;
204
+ /** Unit price before discounts. Null when no single unit price applies, such as tiered or multiple-rate pricing. */
205
+ unit_amount: Money | null;
206
+ /** The quantity priced. */
207
+ quantity: string;
208
+ /** Amount before discounts and including any setup charge. */
209
+ amount: Money;
210
+ discount_amount: Money;
211
+ /** Immediate changes only; null otherwise. Before tax, the new terms for the time from `proration_date` to the end of the paid period. An upgrade invoices `remaining_amount` minus `unused_amount`. */
212
+ remaining_amount: Money | null;
213
+ /** Immediate changes only; null otherwise. Before tax, for an upgrade or an unchanged period price, the amount paid for that time, up to the new terms' value for the same time; for a downgrade, the remaining value of what was paid, under the refund terms of each paid period. */
214
+ unused_amount: Money | null;
215
+ /** Immediate downgrades only, when `unused_amount` exceeds `remaining_amount`; null otherwise. */
216
+ downgrade_refund: QuoteDowngradeRefund | null;
217
+ total: Money;
218
+ currency: string;
219
+ }
220
+ /**
221
+ * `complete`: tax is calculated for the billing account's invoice contact, or for `address` without an account. `requires_location_inputs`: a quote without an account or `address`, which leaves out tax that would be added; tax already contained in a price is included.
222
+ */
223
+ export type QuoteTaxStatus = (typeof QuoteTaxStatus)[keyof typeof QuoteTaxStatus];
224
+ export declare const QuoteTaxStatus: {
225
+ readonly complete: "complete";
226
+ readonly requires_location_inputs: "requires_location_inputs";
227
+ };
228
+ /**
229
+ * Account funding for this purchase, calculated by Billing. Amounts use the enclosing response currency.
230
+ * Credit eligibility and all purchase requirements are already evaluated. Nothing is charged or reserved.
231
+ * A licensed purchase may instead be paid with an online payment method.
232
+ */
233
+ export interface Funds {
234
+ /** Spendable balance after pending returns. */
235
+ available_balance_amount: Money;
236
+ /** Currently effective credits eligible for the quoted purchases or metered usage. Each grant is counted once. */
237
+ usable_credit_amount: Money;
238
+ /** Currently effective credits that cannot fund any quoted purchase or metered target. Unused eligible credits are not restricted. */
239
+ restricted_credit_amount: Money;
240
+ /** Minimum spendable balance needed after eligible credits, covering immediate charges and every new metered purchase's admission requirement. */
241
+ required_balance_amount: Money;
242
+ /** Additional balance needed now. Zero means account funds satisfy this quote. No funds are reserved. */
243
+ balance_shortfall_amount: Money;
244
+ /** Minimum recharge that covers the shortfall, respecting the currency minimum recharge and currency precision. Zero when no additional balance is needed. */
245
+ required_top_up_amount: Money;
246
+ }
247
+ export type QuotedDiscountType = (typeof QuotedDiscountType)[keyof typeof QuotedDiscountType];
248
+ export declare const QuotedDiscountType: {
249
+ readonly promotion_code: "promotion_code";
250
+ readonly account_discount: "account_discount";
251
+ };
252
+ /**
253
+ * Whether the discount continues on renewals of what is bought: `once` applies only to this purchase, `recurring` for `frequency_duration` periods including the first, `forever` on every renewal.
254
+ */
255
+ export type QuotedDiscountFrequency = (typeof QuotedDiscountFrequency)[keyof typeof QuotedDiscountFrequency];
256
+ export declare const QuotedDiscountFrequency: {
257
+ readonly once: "once";
258
+ readonly recurring: "recurring";
259
+ readonly forever: "forever";
260
+ };
261
+ /**
262
+ * `confirmed`: every condition of the discount holds for the billing account. `unverified`: a quote without an account, where conditions that depend on the account, such as a first purchase or a per-account limit, are checked only when a Checkout Session is completed.
263
+ */
264
+ export type QuotedDiscountEligibility = (typeof QuotedDiscountEligibility)[keyof typeof QuotedDiscountEligibility];
265
+ export declare const QuotedDiscountEligibility: {
266
+ readonly confirmed: "confirmed";
267
+ readonly unverified: "unverified";
268
+ };
269
+ /**
270
+ * The discount selected for this calculation, not applied and not reserved. Amounts are on the quote and its lines.
271
+ */
272
+ export interface QuotedDiscount {
273
+ type: QuotedDiscountType;
274
+ name: string;
275
+ /**
276
+ * Code text for a promotion_code discount; null for an account_discount.
277
+ * @minLength 1
278
+ * @maxLength 64
279
+ * @nullable
280
+ */
281
+ promotion_code: string | null;
282
+ /** Whether the discount continues on renewals of what is bought: `once` applies only to this purchase, `recurring` for `frequency_duration` periods including the first, `forever` on every renewal. */
283
+ frequency: QuotedDiscountFrequency;
284
+ /**
285
+ * For `recurring`, the periods the discount lasts; null otherwise.
286
+ * @minimum 1
287
+ * @nullable
288
+ */
289
+ frequency_duration: number | null;
290
+ /** `confirmed`: every condition of the discount holds for the billing account. `unverified`: a quote without an account, where conditions that depend on the account, such as a first purchase or a per-account limit, are checked only when a Checkout Session is completed. */
291
+ eligibility: QuotedDiscountEligibility;
292
+ }
293
+ /**
294
+ * A complete calculation in `currency`; nothing is saved or reserved. The request fails if any item cannot be priced. A Checkout Session quote gives what completing the session would invoice.
295
+ */
296
+ export interface Quote {
297
+ /** Account funds for the quoted purchase. Null without an account. */
298
+ funds: Funds | null;
299
+ subtotal: Money;
300
+ discount_amount: Money;
301
+ tax_amount: Money;
302
+ /** The discount a purchase would get, not yet applied. Null when there is none, and for renewals. */
303
+ discount: QuotedDiscount | null;
304
+ items: QuoteItem[];
305
+ renewals: QuoteRenewalResult[];
306
+ total: Money;
307
+ currency: string;
308
+ /**
309
+ * Immediate changes only; null otherwise. The instant the change is priced from; pass it when confirming the Checkout Session so it is priced from the same instant.
310
+ * @nullable
311
+ */
312
+ proration_date: string | null;
313
+ /** `complete`: tax is calculated for the billing account's invoice contact, or for `address` without an account. `requires_location_inputs`: a quote without an account or `address`, which leaves out tax that would be added; tax already contained in a price is included. */
314
+ tax_status: QuoteTaxStatus;
315
+ }
316
+ /**
317
+ * When subscriptions end. immediate ends them now and refunds the unused value under their refund terms; period_end
318
+ * ends them at the end of their paid period. The cancellation terms fixed when a subscription was bought decide which
319
+ * modes it allows: a pay-as-you-go subscription ends only immediately, and a prepaid one whose terms allow only the
320
+ * end of its paid period ends only then. Billing refuses a mode the terms do not allow with HTTP 422
321
+ * BILLING_CANCELLATION_MODE_FIXED.
322
+ */
323
+ export type CancellationMode = (typeof CancellationMode)[keyof typeof CancellationMode];
324
+ export declare const CancellationMode: {
325
+ readonly immediate: "immediate";
326
+ readonly period_end: "period_end";
327
+ };
328
+ /**
329
+ * What ending these subscriptions together would return, for one mode; preview `immediate` and `period_end` separately to compare. Refused with 409 `BILLING_SUBSCRIPTION_OPERATION_PENDING` when a subscription is already being canceled (`meta.cancellation_id`), is being reclaimed (`meta.reason` `reclaim_requested`) or has a paid change waiting to switch (`meta.order_id`).
330
+ */
331
+ export interface CancellationPreviewRequest {
332
+ /**
333
+ * A billing account you own that currently pays for every subscription.
334
+ * @minimum 1
335
+ */
336
+ billing_account_id: number;
337
+ /**
338
+ * The subscriptions to end together, all of one service, including every subscription released with a resource.
339
+ * @minItems 1
340
+ * @maxItems 50
341
+ */
342
+ subscription_ids: string[];
343
+ mode: CancellationMode;
344
+ }
345
+ /**
346
+ * Which object this is, together with what a person currently calls it.
347
+ *
348
+ * The name is for display. It is chosen by whoever owns the object, it changes, it is not unique
349
+ * between objects, and it may be empty when nobody has named it yet — so it must not be used to
350
+ * address, match or deduplicate anything. Addressing is by id.
351
+ *
352
+ * This differs from an identity carrying a lookup key: a lookup key is written once by an operator,
353
+ * is unique, and can be used to fetch the object. A name cannot.
354
+ */
355
+ export interface NamedIdentity {
356
+ id: string;
357
+ /** @maxLength 255 */
358
+ name: string;
359
+ }
360
+ /**
361
+ * One subscription of the previewed cancellation.
362
+ */
363
+ export interface CancellationPreviewItem {
364
+ subscription_id: string;
365
+ plan_id: string;
366
+ plan_name: string;
367
+ /** The project and its current name. Absent for an account-level purchase or when the project cannot be read. */
368
+ project?: NamedIdentity | null;
369
+ type: PriceType;
370
+ usage_type: UsageType;
371
+ /** Whether automatic renewal is on now. Creating the cancellation turns it off; withdrawing it turns it back on for a metered subscription but not for a licensed one. */
372
+ auto_renew: boolean;
373
+ unused_amount: Money;
374
+ short_rate_surcharge_amount: Money;
375
+ refundable_amount: Money;
376
+ refund_amount: Money;
377
+ credit_amount: Money;
378
+ tax_amount: Money;
379
+ forfeited_amount: Money;
380
+ }
381
+ /**
382
+ * What the cancellation would return, per subscription and in total, as of now. Give `proration_date` and
383
+ * `refundable_amount` when creating the cancellation.
384
+ *
385
+ * - `unused_amount`: before tax, the amount paid for the current periods in proportion to the time remaining.
386
+ * - `short_rate_surcharge_amount`: before tax, the part of `forfeited_amount` due to the short rate of the
387
+ * refund policy.
388
+ * - `refundable_amount`: what is returned the way it was paid, tax included; `refund_amount` plus
389
+ * `credit_amount`.
390
+ * - `refund_amount`: the part returned to the balance or the payment method.
391
+ * - `credit_amount`: the part restored to the credit grants that paid.
392
+ * - `tax_amount`: the tax included in `refundable_amount`.
393
+ * - `forfeited_amount`: before tax, the part of `unused_amount` the refund terms do not return.
394
+ *
395
+ * Metered and one-time subscriptions show zero; their usage until release is charged as usual.
396
+ */
397
+ export interface CancellationPreview {
398
+ mode: CancellationMode;
399
+ /** For `period_end`, when release begins, the end of the paid terms. */
400
+ scheduled_at?: string;
401
+ /** For `immediate`, the second the refund is computed as of. Give it when creating the cancellation. */
402
+ proration_date?: string;
403
+ currency: string;
404
+ unused_amount: Money;
405
+ short_rate_surcharge_amount: Money;
406
+ refundable_amount: Money;
407
+ refund_amount: Money;
408
+ credit_amount: Money;
409
+ tax_amount: Money;
410
+ forfeited_amount: Money;
411
+ items: CancellationPreviewItem[];
412
+ }
413
+ export interface CancellationCreate {
414
+ /**
415
+ * As in the preview.
416
+ * @minItems 1
417
+ * @maxItems 50
418
+ */
419
+ subscription_ids: string[];
420
+ mode: CancellationMode;
421
+ /** For `immediate`, the preview's `proration_date`: a whole second, not in the future and at most ten minutes old; the refund is computed as of it. Now when omitted. */
422
+ proration_date?: string;
423
+ /** The preview's `refundable_amount`; the cancellation is refused when the refund differs. */
424
+ expected_refundable_amount: Money & string;
425
+ /**
426
+ * A note from the account holder, kept with the cancellation.
427
+ * @maxLength 1024
428
+ */
429
+ reason?: string;
430
+ }
431
+ export type CancellationStatus = (typeof CancellationStatus)[keyof typeof CancellationStatus];
432
+ export declare const CancellationStatus: {
433
+ readonly requested: "requested";
434
+ readonly scheduled: "scheduled";
435
+ readonly releasing: "releasing";
436
+ readonly completed: "completed";
437
+ readonly canceled: "canceled";
438
+ readonly failed: "failed";
439
+ };
440
+ /**
441
+ * Who requested it; `project_deletion` means the project was deleted.
442
+ */
443
+ export type CancellationOrigin = (typeof CancellationOrigin)[keyof typeof CancellationOrigin];
444
+ export declare const CancellationOrigin: {
445
+ readonly customer: "customer";
446
+ readonly operator: "operator";
447
+ readonly project_deletion: "project_deletion";
448
+ };
449
+ export type CancellationItemStatus = (typeof CancellationItemStatus)[keyof typeof CancellationItemStatus];
450
+ export declare const CancellationItemStatus: {
451
+ readonly requested: "requested";
452
+ readonly scheduled: "scheduled";
453
+ readonly releasing: "releasing";
454
+ readonly completed: "completed";
455
+ readonly canceled: "canceled";
456
+ readonly failed: "failed";
457
+ };
458
+ /**
459
+ * One subscription of the cancellation.
460
+ */
461
+ export interface CancellationItem {
462
+ /** The subscription's cancellation item, the same as `Subscription.cancellation.id`. */
463
+ id: string;
464
+ subscription_id: string;
465
+ plan_id: string;
466
+ plan_name: string;
467
+ type: PriceType;
468
+ /**
469
+ * Creating the cancellation turned automatic renewal off; withdrawing it turns renewal back on
470
+ * for a `metered` subscription and leaves it off for a `licensed` one.
471
+ */
472
+ usage_type: UsageType;
473
+ status: CancellationItemStatus;
474
+ /** The release stopped or its result is unknown; present while the release needs resolution. */
475
+ failure_code?: string;
476
+ release_started_at?: string;
477
+ /** When the service ended, as confirmed by the service that provides it. */
478
+ effective_at?: string;
479
+ /** Present with `completed`. The part of the refund returned to the account balance. */
480
+ balance_amount?: Money;
481
+ /** Present with `completed`. The part restored to the credit grants that paid. */
482
+ credit_amount?: Money;
483
+ /** Present with `completed`. The part returned to the payment method it was paid with. */
484
+ gateway_amount?: Money;
485
+ }
486
+ /**
487
+ * One cancellation of a set of subscriptions of one service, released together at one time.
488
+ *
489
+ * - `requested`: `immediate`, release has not begun.
490
+ * - `scheduled`: `period_end`, waiting for `scheduled_at`.
491
+ * - `releasing`: release has begun; it can no longer be withdrawn.
492
+ * - `completed`: every subscription has ended and its refund has been made.
493
+ * - `canceled`: withdrawn before release began; the subscriptions continue.
494
+ * - `failed`: the service could not carry it out, for the reason in `failure_code`; the
495
+ * subscriptions continue and can be canceled again.
496
+ */
497
+ export interface Cancellation {
498
+ id: string;
499
+ status: CancellationStatus;
500
+ mode: CancellationMode;
501
+ scheduled_at?: string;
502
+ /** For `immediate`, the second the refund is computed as of. */
503
+ proration_date?: string;
504
+ /** Who requested it; `project_deletion` means the project was deleted. */
505
+ origin: CancellationOrigin;
506
+ /** The billing account paying for these subscriptions when the cancellation was created: the purchasing account of an account-level purchase, or the project's linked account. */
507
+ billing_account_id: number;
508
+ currency: string;
509
+ /** The refund confirmed when the cancellation was created. Absent when the platform created it. */
510
+ expected_refundable_amount?: Money;
511
+ /** Present with `failed`: the owning service's code, such as for a disk that can only be released with its server. */
512
+ failure_code?: string;
513
+ requested_at: string;
514
+ completed_at?: string;
515
+ canceled_at?: string;
516
+ items: CancellationItem[];
517
+ }
518
+ /**
519
+ * Pagination metadata for stable numbered pages. total_count is returned only when the operation can determine it without an unbounded scan.
520
+ */
521
+ export interface OffsetPagination {
522
+ /** @minimum 1 */
523
+ page: number;
524
+ /** @minimum 1 */
525
+ page_size: number;
526
+ /** @minimum 0 */
527
+ total_count?: number;
528
+ }
529
+ export interface CancellationList {
530
+ items: Cancellation[];
531
+ pagination: OffsetPagination;
532
+ }
533
+ export type SubscriptionCancellationStatus = (typeof SubscriptionCancellationStatus)[keyof typeof SubscriptionCancellationStatus];
534
+ export declare const SubscriptionCancellationStatus: {
535
+ readonly requested: "requested";
536
+ readonly scheduled: "scheduled";
537
+ readonly releasing: "releasing";
538
+ readonly failed: "failed";
539
+ readonly completed: "completed";
540
+ readonly canceled: "canceled";
541
+ };
542
+ /**
543
+ * The latest cancellation including the subscription, with this subscription's item: `id` is the item and `cancellation_id` the cancellation. scheduled_at is the intended time and effective_at the confirmed end of service.
544
+ */
545
+ export interface SubscriptionCancellation {
546
+ reason?: string;
547
+ /** The cancellation this item belongs to, with the other subscriptions released together. */
548
+ cancellation_id?: string;
549
+ id: string;
550
+ subscription_id: string;
551
+ status: SubscriptionCancellationStatus;
552
+ mode: CancellationMode;
553
+ requested_at: string;
554
+ scheduled_at?: string;
555
+ effective_at?: string;
556
+ completed_at?: string;
557
+ release_started_at?: string;
558
+ canceled_at?: string;
559
+ forfeit_remaining_value: boolean;
560
+ failure_code?: string;
561
+ failure_reason?: string;
562
+ }
563
+ export interface FieldViolation {
564
+ /** The path to the rejected field in the request body, such as `items[2].price_id`. */
565
+ field: string;
566
+ /** Why the field was rejected, such as `REQUIRED` or `OUT_OF_RANGE`. */
567
+ reason?: string;
568
+ }
569
+ /**
570
+ * Values that belong to `reason`, one set per reason. Clients use them to fill in
571
+ * localized text and never parse `message` to obtain them. Keys are documented per
572
+ * reason; a key that has appeared once keeps appearing.
573
+ */
574
+ export type ErrorStatusMetadata = {
575
+ [key: string]: string;
576
+ };
577
+ export interface ErrorStatus {
578
+ /** The HTTP status code of the response. */
579
+ code: number;
580
+ /** The canonical name of the status, such as `INVALID_ARGUMENT` or `UNAVAILABLE`. */
581
+ status: string;
582
+ /**
583
+ * A description of the failure for developers. It is always English and is not meant
584
+ * to be shown to end users as is.
585
+ */
586
+ message: string;
587
+ /**
588
+ * A stable machine-readable code identifying the failure. Clients branch on this value
589
+ * and render their own text; it does not change once published.
590
+ */
591
+ reason?: string;
592
+ /**
593
+ * Values that belong to `reason`, one set per reason. Clients use them to fill in
594
+ * localized text and never parse `message` to obtain them. Keys are documented per
595
+ * reason; a key that has appeared once keeps appearing.
596
+ */
597
+ metadata?: ErrorStatusMetadata;
598
+ /**
599
+ * Request fields rejected by the request's constraints. Present on validation
600
+ * failures; one request may violate several fields.
601
+ */
602
+ field_violations?: FieldViolation[];
603
+ /**
604
+ * How long the client should wait before retrying, as a duration string such as
605
+ * `30s`. Present only when waiting can succeed.
606
+ */
607
+ retry_delay?: string;
608
+ /**
609
+ * The identifier of the request in the service's logs. Quote it when reporting a
610
+ * failure.
611
+ */
612
+ request_id?: string;
613
+ }
614
+ /**
615
+ * A failed request. The envelope follows the Google REST error format: `code` is the HTTP
616
+ * status, `status` is its canonical name, and `reason` is the stable machine-readable code
617
+ * that identifies the failure.
618
+ */
619
+ export interface Error {
620
+ error: ErrorStatus;
621
+ }
622
+ export interface Product {
623
+ id: ProductID;
624
+ name: string;
625
+ description?: string;
626
+ }
627
+ export type BillingAccountStatus = (typeof BillingAccountStatus)[keyof typeof BillingAccountStatus];
628
+ export declare const BillingAccountStatus: {
629
+ readonly active: "active";
630
+ readonly suspended: "suspended";
631
+ readonly closed: "closed";
632
+ };
633
+ /**
634
+ * Who suspended the account: `owner` (you), `operator` (Leaflow), or `none` while it is not suspended. Only a suspension by `owner` can be resumed by you.
635
+ */
636
+ export type BillingAccountSuspendedBy = (typeof BillingAccountSuspendedBy)[keyof typeof BillingAccountSuspendedBy];
637
+ export declare const BillingAccountSuspendedBy: {
638
+ readonly none: "none";
639
+ readonly owner: "owner";
640
+ readonly operator: "operator";
641
+ };
642
+ export interface BillingAccount {
643
+ /**
644
+ * The active contact used for invoices, of this account; null clears it.
645
+ * @nullable
646
+ */
647
+ invoice_contact_id?: string | null;
648
+ id: number;
649
+ /** Your name for the account. */
650
+ name?: string;
651
+ /** Fixed when the account was opened. */
652
+ currency: string;
653
+ status: BillingAccountStatus;
654
+ /** Who suspended the account: `owner` (you), `operator` (Leaflow), or `none` while it is not suspended. Only a suspension by `owner` can be resumed by you. */
655
+ suspended_by: BillingAccountSuspendedBy;
656
+ /** How far past the suspension threshold the account may go before its resources are suspended; `0` means none. */
657
+ grace_amount?: string;
658
+ /** How long the account has to top up after crossing the suspension threshold, in seconds; `0` means none. Grace ends when this or grace_amount runs out. */
659
+ grace_period_seconds?: number;
660
+ /**
661
+ * When the account was closed. Null if it is not closed or the time is unknown.
662
+ * @nullable
663
+ */
664
+ readonly closed_at?: string | null;
665
+ created_at: string;
666
+ }
667
+ /**
668
+ * A currency a billing account can be opened in.
669
+ */
670
+ export interface Currency {
671
+ /**
672
+ * ISO 4217 alpha-3, uppercase.
673
+ * @minLength 3
674
+ * @maxLength 3
675
+ */
676
+ code: string;
677
+ /**
678
+ * Decimal places of the ISO 4217 minor unit.
679
+ * @minimum 0
680
+ * @maximum 4
681
+ */
682
+ exponent: number;
683
+ /**
684
+ * @minLength 1
685
+ * @maxLength 64
686
+ */
687
+ name: string;
688
+ minimum_top_up: Money;
689
+ }
690
+ export interface CurrencyList {
691
+ items: Currency[];
692
+ pagination: OffsetPagination;
693
+ }
694
+ export interface BillingAccountCreate {
695
+ /**
696
+ * @minLength 3
697
+ * @maxLength 3
698
+ */
699
+ currency: string;
700
+ /** @maxLength 255 */
701
+ name?: string;
702
+ }
703
+ export interface BillingAccountUpdate {
704
+ /**
705
+ * The active contact used for invoices, of this account; null clears it.
706
+ * @nullable
707
+ */
708
+ invoice_contact_id?: string | null;
709
+ /** @maxLength 255 */
710
+ name?: string;
711
+ }
712
+ export interface BillingAccountList {
713
+ items: BillingAccount[];
714
+ pagination: OffsetPagination;
715
+ }
716
+ /**
717
+ * A plan referenced by an applicability; active is false once it is archived, and the reference still applies.
718
+ */
719
+ export interface ApplicablePlan {
720
+ id: string;
721
+ name: string;
722
+ active: boolean;
723
+ }
724
+ /**
725
+ * A catalog object, inlined for display.
726
+ */
727
+ export interface ObjectIdentity {
728
+ lookup_key?: string;
729
+ id: string;
730
+ name: string;
731
+ }
732
+ /**
733
+ * `per_unit` multiplies a unit amount; `tiered` walks a ladder.
734
+ */
735
+ export type BillingScheme = (typeof BillingScheme)[keyof typeof BillingScheme];
736
+ export declare const BillingScheme: {
737
+ readonly per_unit: "per_unit";
738
+ readonly tiered: "tiered";
739
+ };
740
+ export type PriceOptionInterval = (typeof PriceOptionInterval)[keyof typeof PriceOptionInterval];
741
+ export declare const PriceOptionInterval: {
742
+ readonly none: "none";
743
+ readonly day: "day";
744
+ readonly month: "month";
745
+ readonly year: "year";
746
+ };
747
+ /**
748
+ * A price's display terms, including archived prices referenced by an applicability.
749
+ */
750
+ export interface PriceOption {
751
+ product: Product;
752
+ plan: ObjectIdentity;
753
+ /** Absent when the price delegates to a rate card. */
754
+ billing_scheme?: BillingScheme;
755
+ unit_quantity: string;
756
+ id: string;
757
+ currency: string;
758
+ type: PriceType;
759
+ usage_type: UsageType;
760
+ interval: PriceOptionInterval;
761
+ /** How many periods one purchase covers. */
762
+ interval_count?: number;
763
+ unit_amount?: Money;
764
+ /** False once the price is archived. It still applies to purchases already made at this price. */
765
+ active: boolean;
766
+ }
767
+ /**
768
+ * The purchase operation covered. `new`: every new purchase, including zero-charge ones; it does not mean the account's first purchase, which `first_purchase_only` restricts. `renew`: renewals. `modify`: configuration or billing-term changes, whether they charge, refund or neither.
769
+ */
770
+ export type PurchaseOperation = (typeof PurchaseOperation)[keyof typeof PurchaseOperation];
771
+ export declare const PurchaseOperation: {
772
+ readonly new: "new";
773
+ readonly renew: "renew";
774
+ readonly modify: "modify";
775
+ };
776
+ /**
777
+ * Covers anything not excluded that matches an inclusion, or anything not excluded when no inclusion is given, subject to the price type, usage type, operation and term conditions. Archived plans and prices stay listed with active false.
778
+ */
779
+ export interface Applicability {
780
+ products?: Product[];
781
+ plans?: ApplicablePlan[];
782
+ prices?: PriceOption[];
783
+ /** The price types covered; empty covers both. */
784
+ price_types?: PriceType[];
785
+ /** The usage types covered; empty covers both. */
786
+ usage_types?: UsageType[];
787
+ operations?: PurchaseOperation[];
788
+ /** The shortest term a purchase may have, in months. Purchases without a term, such as metered usage, do not qualify while this is set. */
789
+ min_term_months?: number;
790
+ /** The longest term a purchase may have, in months. */
791
+ max_term_months?: number;
792
+ excluded_products?: Product[];
793
+ excluded_plans?: ApplicablePlan[];
794
+ excluded_prices?: PriceOption[];
795
+ }
796
+ export interface CreditGroup {
797
+ /** What the credit in this group may pay for; no restrictions means anything on the account. */
798
+ applies_to: Applicability;
799
+ /** Restricted to your first purchase of anything it applies to. */
800
+ first_purchase_only?: boolean;
801
+ amount: Money;
802
+ }
803
+ /**
804
+ * Balance, credits and unpaid charges, each reported separately.
805
+ */
806
+ export interface AccountBalance {
807
+ /** Balance minus pending balance returns and the part of unbilled_amount and due that estimated_credit_applied does not cover. Negative only when the balance and applicable credit fall short of what the account owes. */
808
+ available_credit: Money;
809
+ /** Credit expected to pay unbilled_amount and due, matching each charge to the grants whose scope, validity and conditions it meets, in the order credit is applied at payment. Nothing is deducted until an invoice is paid, so credits still includes this amount. */
810
+ estimated_credit_applied: Money;
811
+ /** Current estimate of priced usage that has not been invoiced. Final pricing and tax are fixed at issuance. */
812
+ unbilled_amount: Money;
813
+ billing_account_id: number;
814
+ currency: string;
815
+ /** Topped-up funds in the account's currency, excluding credits. May be negative after a payment dispute. Amounts owed are reported in due; this is not a withdrawable amount. */
816
+ balance: Money;
817
+ /** Remaining credit, including restricted grants; not withdrawable and not part of balance. credit_groups shows currently valid credit by permitted use; positive credits do not mean due is zero. */
818
+ credits: Money;
819
+ /** Currently valid credit restricted to certain products, operations or conditions; part of credits, not of balance. */
820
+ restricted_credits: Money;
821
+ /** Currently valid unspent credit grouped by permitted use. Each group covers only the charges its restrictions and validity allow, and the groups may differ from the recorded credits total. */
822
+ credit_groups: CreditGroup[];
823
+ /** Amount still payable on issued invoices. The invoice of an order not yet accepted is excluded, here and from available_credit. Usage not yet invoiced is reported separately. */
824
+ due: Money;
825
+ pending_returns_amount: Money;
826
+ }
827
+ /**
828
+ * `ARREARS`: the balance is negative. `PROJECTS_ASSIGNED`: the account still pays for a project, yours or anyone
829
+ * else's. `ACTIVE_SUBSCRIPTION`: a subscription it bought has not ended. `OPEN_ORDER`: an order is not finished.
830
+ * `UNPAID_INVOICE`: an issued invoice is not settled. `UNBILLED_USAGE`: usage has not been invoiced yet; it is
831
+ * invoiced in the next billing run. `PENDING_TRANSACTION`: a top-up, refund or withdrawal is still pending.
832
+ */
833
+ export type AccountDeletionObjection = (typeof AccountDeletionObjection)[keyof typeof AccountDeletionObjection];
834
+ export declare const AccountDeletionObjection: {
835
+ readonly ARREARS: "ARREARS";
836
+ readonly PROJECTS_ASSIGNED: "PROJECTS_ASSIGNED";
837
+ readonly ACTIVE_SUBSCRIPTION: "ACTIVE_SUBSCRIPTION";
838
+ readonly OPEN_ORDER: "OPEN_ORDER";
839
+ readonly UNPAID_INVOICE: "UNPAID_INVOICE";
840
+ readonly UNBILLED_USAGE: "UNBILLED_USAGE";
841
+ readonly PENDING_TRANSACTION: "PENDING_TRANSACTION";
842
+ };
843
+ export interface AccountDeletionReadinessItem {
844
+ account: BillingAccount;
845
+ /** Topped-up funds, in the account's currency, forfeited when it closes. Negative means arrears. */
846
+ balance: Money;
847
+ /** Remaining credit, in the account's currency, forfeited when it closes. */
848
+ credits: Money;
849
+ /** What stops this account from closing; empty when it can close. */
850
+ objections: AccountDeletionObjection[];
851
+ }
852
+ export interface AccountDeletionReadiness {
853
+ /** Every billing account you own that is not closed; empty when you own none. */
854
+ accounts: AccountDeletionReadinessItem[];
855
+ }
856
+ /**
857
+ * A project's assignment to a billing account from effective_from until effective_to; an open assignment has no end.
858
+ */
859
+ export interface ProjectAssignment {
860
+ project_id: string;
861
+ /** The project and its current name. Absent when the project cannot be read; `project_id` still identifies it. */
862
+ project?: NamedIdentity | null;
863
+ billing_account_id: number;
864
+ account_name?: string;
865
+ currency: string;
866
+ effective_from: string;
867
+ /** @nullable */
868
+ effective_to?: string | null;
869
+ }
870
+ export interface ProjectAssignmentList {
871
+ items: ProjectAssignment[];
872
+ pagination: OffsetPagination;
873
+ }
874
+ export interface SetProjectAssignmentRequest {
875
+ billing_account_id: number;
876
+ }
877
+ /**
878
+ * `pending` until the payment gateway reaches a result; the balance increases on `succeeded`. `failed`: the gateway declined the payment, which is withdrawn at the gateway; create a new top-up to pay another way. `canceled`: withdrawn without collecting money, for the reason in `cancellation_reason`. Unknown gateway outcomes stay `pending`; a browser redirect is not proof of payment. `failed` and `canceled` are final; a payment the gateway collects afterwards is credited as a separate `succeeded` top-up.
879
+ */
880
+ export type TopUpStatus = (typeof TopUpStatus)[keyof typeof TopUpStatus];
881
+ export declare const TopUpStatus: {
882
+ readonly pending: "pending";
883
+ readonly succeeded: "succeeded";
884
+ readonly failed: "failed";
885
+ readonly canceled: "canceled";
886
+ };
887
+ export interface AccountIdentity {
888
+ id: number;
889
+ name: string;
890
+ currency: string;
891
+ }
892
+ /**
893
+ * Why a gateway payment was withdrawn: `abandoned` when the customer did not complete it in time, `requested_by_customer` when the customer canceled it.
894
+ */
895
+ export type PaymentCancellationReason = (typeof PaymentCancellationReason)[keyof typeof PaymentCancellationReason];
896
+ export declare const PaymentCancellationReason: {
897
+ readonly abandoned: "abandoned";
898
+ readonly requested_by_customer: "requested_by_customer";
899
+ };
900
+ export type PaymentActionType = (typeof PaymentActionType)[keyof typeof PaymentActionType];
901
+ export declare const PaymentActionType: {
902
+ readonly redirect: "redirect";
903
+ readonly qr_code: "qr_code";
904
+ readonly sdk: "sdk";
905
+ };
906
+ /**
907
+ * The customer's next step; the payment outcome is reported separately.
908
+ */
909
+ export interface PaymentAction {
910
+ type: PaymentActionType;
911
+ /** The browser adapter for the action, for example stripe. */
912
+ provider?: string;
913
+ url?: string;
914
+ /** QR content to render, not an image URL. */
915
+ qr_code?: string;
916
+ /** Short-lived client credential for confirming this payment in the browser. */
917
+ client_secret?: string;
918
+ public_key?: string;
919
+ }
920
+ /**
921
+ * A top-up attempt and its outcome. A successful top-up adds to the balance; it is not a credit grant and has no invoice.
922
+ */
923
+ export interface TopUp {
924
+ id: string;
925
+ billing_account_id: number;
926
+ account: AccountIdentity;
927
+ /** What is credited to the account, in its currency. */
928
+ amount: Money;
929
+ currency: string;
930
+ /** The part of this top-up still in the balance. Pending refunds may hold part of it, so not all of it is necessarily withdrawable. */
931
+ remaining_amount?: Money;
932
+ /** `pending` until the payment gateway reaches a result; the balance increases on `succeeded`. `failed`: the gateway declined the payment, which is withdrawn at the gateway; create a new top-up to pay another way. `canceled`: withdrawn without collecting money, for the reason in `cancellation_reason`. Unknown gateway outcomes stay `pending`; a browser redirect is not proof of payment. `failed` and `canceled` are final; a payment the gateway collects afterwards is credited as a separate `succeeded` top-up. */
933
+ status: TopUpStatus;
934
+ cancellation_reason?: PaymentCancellationReason;
935
+ /** Which payment gateway collected it. */
936
+ payment_gateway?: string;
937
+ /** The selected payment method, such as card, wechat_pay or alipay. */
938
+ method_type?: string;
939
+ /** The currency the customer was charged in when the checkout collected a local currency; absent when it is the account's. */
940
+ presentment_currency?: string;
941
+ /** The amount charged in `presentment_currency`, as shown on the customer's statement. */
942
+ presentment_amount?: Money;
943
+ /** Why the gateway declined it; present with `failed`. The gateway's code unchanged: the issuer's decline code when there is one (Stripe decline_code, such as insufficient_funds), otherwise the gateway's error code (Stripe code, such as card_declined). Treat an unknown value as a generic decline. */
944
+ failure_reason?: string;
945
+ action?: PaymentAction;
946
+ created_at: string;
947
+ /**
948
+ * When the funds arrived, possibly days after `created_at`. Absent until the payment completes.
949
+ * @nullable
950
+ */
951
+ settled_at?: string | null;
952
+ }
953
+ export interface TopUpCreate {
954
+ /**
955
+ * The gateway selected from the available payment options.
956
+ * @minLength 1
957
+ * @maxLength 32
958
+ */
959
+ payment_gateway: string;
960
+ /**
961
+ * The selected method, such as card, wechat_pay or alipay.
962
+ * @minLength 1
963
+ * @maxLength 64
964
+ */
965
+ method_type: string;
966
+ /** The top-up ID, chosen by the caller. Read it after an uncertain response. */
967
+ id: string;
968
+ billing_account_id: number;
969
+ /** In the account's currency, no finer than its smallest unit (two decimals for most currencies, none for JPY). An amount below the currency's minimum top-up is refused, and the minimum is returned with the error. */
970
+ amount: Money & string;
971
+ /** Charge a saved payment method instead of opening a checkout page. */
972
+ payment_method_id?: string;
973
+ /** Where to send the customer after checkout. */
974
+ return_url?: string;
975
+ }
976
+ export interface TopUpList {
977
+ items: TopUp[];
978
+ pagination: OffsetPagination;
979
+ }
980
+ export interface PaymentOptionMethod {
981
+ /** The value to send as `method_type`, such as card, wechat_pay or alipay. */
982
+ method_type: string;
983
+ /** Whether this method type can be saved with create-payment-method-setup and charged later without the customer. */
984
+ reusable: boolean;
985
+ }
986
+ /**
987
+ * A gateway accepting the account's currency, with its payment methods.
988
+ */
989
+ export interface PaymentOption {
990
+ /** The value to send as `payment_gateway`. */
991
+ payment_gateway: string;
992
+ methods: PaymentOptionMethod[];
993
+ }
994
+ export interface PaymentOptionList {
995
+ items: PaymentOption[];
996
+ pagination: OffsetPagination;
997
+ }
998
+ export type PaymentMethodStatus = (typeof PaymentMethodStatus)[keyof typeof PaymentMethodStatus];
999
+ export declare const PaymentMethodStatus: {
1000
+ readonly active: "active";
1001
+ readonly expired: "expired";
1002
+ readonly removed: "removed";
1003
+ };
1004
+ export interface PaymentMethod {
1005
+ id: string;
1006
+ billing_account_id: number;
1007
+ payment_gateway: string;
1008
+ brand?: string;
1009
+ last4?: string;
1010
+ /** @nullable */
1011
+ exp_month?: number | null;
1012
+ /** @nullable */
1013
+ exp_year?: number | null;
1014
+ is_default: boolean;
1015
+ status: PaymentMethodStatus;
1016
+ }
1017
+ export interface PaymentMethodList {
1018
+ items: PaymentMethod[];
1019
+ pagination: OffsetPagination;
1020
+ }
1021
+ export interface PaymentMethodSetup {
1022
+ /**
1023
+ * The selected gateway supporting saved payment methods.
1024
+ * @minLength 1
1025
+ * @maxLength 32
1026
+ */
1027
+ payment_gateway: string;
1028
+ billing_account_id: number;
1029
+ }
1030
+ /**
1031
+ * What the payment gateway's browser library needs to collect a card in the page; the card goes from the browser straight to the gateway.
1032
+ */
1033
+ export interface PaymentMethodSetupResult {
1034
+ /** The gateway's identifier for this attempt. */
1035
+ setup_id: string;
1036
+ payment_gateway: string;
1037
+ action: PaymentAction;
1038
+ }
1039
+ /**
1040
+ * Applies eligible credit grants and the available balance as requested, then collects only the remainder
1041
+ * through the selected gateway. Grants restricted to other purchases are not counted as available funds.
1042
+ * An unresolved channel payment is reused; retries do not apply the grant or balance portions twice.
1043
+ * Without a gateway selection, insufficient account funds fail without starting an online payment.
1044
+ *
1045
+ * `payment_gateway` and `method_type` are given together, and `payment_method_id` only with both;
1046
+ * otherwise the request is refused with `BILLING_PURCHASE_INVALID`.
1047
+ */
1048
+ export interface PayInvoiceRequest {
1049
+ /**
1050
+ * Required to collect an online remainder. An existing attempt keeps its gateway.
1051
+ * @minLength 1
1052
+ * @maxLength 32
1053
+ */
1054
+ payment_gateway?: string;
1055
+ /**
1056
+ * Required with payment_gateway; for example card, wechat_pay or alipay.
1057
+ * @minLength 1
1058
+ * @maxLength 64
1059
+ */
1060
+ method_type?: string;
1061
+ /** A saved card of this billing account at the selected gateway. Omit to pay interactively. */
1062
+ payment_method_id?: string;
1063
+ /** Whether to apply the balance; credit grants are controlled by use_credits. */
1064
+ use_balance?: boolean;
1065
+ /** Apply eligible, unexpired credit grants before the balance. Grants are never converted into balance. */
1066
+ use_credits?: boolean;
1067
+ return_url?: string;
1068
+ }
1069
+ /**
1070
+ * Name at least one invoice or order. All must belong to one account in its currency.
1071
+ */
1072
+ export interface PayTogetherRequest {
1073
+ /** @maxItems 100 */
1074
+ invoice_ids?: string[];
1075
+ /** @maxItems 100 */
1076
+ order_ids?: string[];
1077
+ /** The amount due across all invoices, before credit grants or balance, as preview-pay-together gave it. A different amount fails with `BILLING_AMOUNT_CHANGED` and nothing is charged. Omit to skip the check. */
1078
+ expected_amount?: Money & string;
1079
+ }
1080
+ /**
1081
+ * `succeeded`: paid. `processing`: confirmation is pending; poll the invoice or order instead of paying again. `requires_action`: the customer must complete the returned action. `failed`: the attempt did not succeed, for the reason in failure_reason; a declined gateway payment is withdrawn, and paying again starts a new payment.
1082
+ */
1083
+ export type PaymentStatus = (typeof PaymentStatus)[keyof typeof PaymentStatus];
1084
+ export declare const PaymentStatus: {
1085
+ readonly succeeded: "succeeded";
1086
+ readonly processing: "processing";
1087
+ readonly requires_action: "requires_action";
1088
+ readonly failed: "failed";
1089
+ };
1090
+ /**
1091
+ * A credit grant and what it would pay.
1092
+ */
1093
+ export interface AppliedCredit {
1094
+ credit_grant_id: string;
1095
+ name: string;
1096
+ amount: Money;
1097
+ }
1098
+ export interface PaymentPreviewInvoice {
1099
+ invoice_id: string;
1100
+ /** @nullable */
1101
+ order_id?: string | null;
1102
+ amount_due: Money;
1103
+ credit_applied: Money;
1104
+ balance_applied: Money;
1105
+ }
1106
+ /**
1107
+ * What paying would take, calculated as paying does. Nothing is charged or reserved.
1108
+ */
1109
+ export interface PaymentPreview {
1110
+ funds?: Funds;
1111
+ currency: string;
1112
+ /** What is outstanding before paying. */
1113
+ amount_due: Money;
1114
+ /** What credit grants would pay. Grants restricted to other purchases pay nothing here. */
1115
+ credit_applied: Money;
1116
+ /** The credit grants that would pay, in the order used. */
1117
+ credit_grants: AppliedCredit[];
1118
+ /** What the balance would pay. */
1119
+ balance_applied: Money;
1120
+ /** What would remain to pay online. Paying without a gateway is refused with `BILLING_INSUFFICIENT_FUNDS` while this is above zero. */
1121
+ gateway_amount: Money;
1122
+ /** The available balance after paying. */
1123
+ balance_after: Money;
1124
+ /** Paying together only: each invoice, in payment order. */
1125
+ invoices?: PaymentPreviewInvoice[];
1126
+ }
1127
+ /**
1128
+ * Present on refunds: where this part goes. `balance`: the account balance. `credit`: the credit grant that paid, keeping its original expiry. `gateway`: the payment method it was paid with.
1129
+ */
1130
+ export type TransactionRefundDestination = (typeof TransactionRefundDestination)[keyof typeof TransactionRefundDestination];
1131
+ export declare const TransactionRefundDestination: {
1132
+ readonly balance: "balance";
1133
+ readonly credit: "credit";
1134
+ readonly gateway: "gateway";
1135
+ };
1136
+ /**
1137
+ * `failed`: the operation did not succeed; for a gateway payment, the gateway declined it. `canceled`: a gateway payment was withdrawn without collecting money. Either way, the invoice it was for stays open.
1138
+ */
1139
+ export type TransactionStatus = (typeof TransactionStatus)[keyof typeof TransactionStatus];
1140
+ export declare const TransactionStatus: {
1141
+ readonly pending: "pending";
1142
+ readonly succeeded: "succeeded";
1143
+ readonly failed: "failed";
1144
+ readonly canceled: "canceled";
1145
+ };
1146
+ /**
1147
+ * topup adds to the balance; payment settles an invoice; refund returns original funds; adjustment changes the balance with an audit reason.
1148
+ */
1149
+ export type TransactionType = (typeof TransactionType)[keyof typeof TransactionType];
1150
+ export declare const TransactionType: {
1151
+ readonly topup: "topup";
1152
+ readonly payment: "payment";
1153
+ readonly refund: "refund";
1154
+ readonly adjustment: "adjustment";
1155
+ readonly fee: "fee";
1156
+ };
1157
+ /**
1158
+ * A funds movement with one source. Refunds name the original transaction. Unknown gateway results stay pending.
1159
+ */
1160
+ export interface Transaction {
1161
+ invoice_id?: string;
1162
+ transaction_id?: string;
1163
+ /** The credit grant that paid, or for a refund, the credit grant restored. */
1164
+ credit_grant_id?: string;
1165
+ credit_grant?: ObjectIdentity;
1166
+ refund_id?: string;
1167
+ /** Present on refunds: where this part goes. `balance`: the account balance. `credit`: the credit grant that paid, keeping its original expiry. `gateway`: the payment method it was paid with. */
1168
+ refund_destination?: TransactionRefundDestination;
1169
+ /** `failed`: the operation did not succeed; for a gateway payment, the gateway declined it. `canceled`: a gateway payment was withdrawn without collecting money. Either way, the invoice it was for stays open. */
1170
+ status?: TransactionStatus;
1171
+ cancellation_reason?: PaymentCancellationReason;
1172
+ payment_gateway?: string;
1173
+ method_type?: string;
1174
+ /** Why it failed; present with `failed`. For a declined gateway payment, the gateway's code unchanged: the issuer's decline code when there is one (Stripe decline_code, such as insufficient_funds), otherwise the gateway's error code (Stripe code, such as card_declined). Treat an unknown value as a generic decline. */
1175
+ failure_reason?: string;
1176
+ settled_at?: string;
1177
+ id: string;
1178
+ billing_account_id?: number;
1179
+ type: TransactionType;
1180
+ /** Signed by type: positive for `topup` and `payment`, negative for `refund`. An `adjustment` is positive when it adds to the balance and negative when it takes from it. For other types the sign does not show the effect on the balance: a payment from balance lowers it, a payment by gateway or credit does not. */
1181
+ amount: Money;
1182
+ /** How much of this transaction is still in the balance. Only top-ups, positive adjustments and gateway payments returned to the balance can be non-zero. */
1183
+ remaining_amount: Money;
1184
+ currency: string;
1185
+ reason?: string;
1186
+ created_at: string;
1187
+ }
1188
+ export interface PaymentResult {
1189
+ transactions: Transaction[];
1190
+ /** The gateway transaction, when one is involved. */
1191
+ transaction_id?: string;
1192
+ status: PaymentStatus;
1193
+ amount_paid: Money;
1194
+ /** What is still outstanding: zero once the payment succeeds, unchanged while `processing`. */
1195
+ amount_due: Money;
1196
+ currency: string;
1197
+ credit_applied?: Money;
1198
+ gateway_amount?: Money;
1199
+ payment_gateway?: string;
1200
+ method_type?: string;
1201
+ /** The amount already paid from balance toward this invoice; retrying the online remainder does not debit it again. */
1202
+ balance_applied?: Money;
1203
+ action?: PaymentAction;
1204
+ /** Whether paying again can succeed. False for a refusal that will repeat, such as a closed account or an amount over a limit. */
1205
+ retriable?: boolean;
1206
+ /** @nullable */
1207
+ invoice_id?: string | null;
1208
+ /** @nullable */
1209
+ order_id?: string | null;
1210
+ /** Why the payment failed; present with `failed`. For a declined gateway payment, the gateway's code unchanged: the issuer's decline code when there is one (Stripe decline_code, such as insufficient_funds), otherwise the gateway's error code (Stripe code, such as card_declined). Treat an unknown value as a generic decline. */
1211
+ failure_reason?: string;
1212
+ }
1213
+ /**
1214
+ * `open`: issued and not yet settled; a zero-total invoice is paid at once. `paid` stays paid after a refund, with the refunded part in amount_refunded. `void`: collection has stopped and any funds received have been returned. Usage not yet invoiced is not on any invoice.
1215
+ */
1216
+ export type InvoiceStatus = (typeof InvoiceStatus)[keyof typeof InvoiceStatus];
1217
+ export declare const InvoiceStatus: {
1218
+ readonly open: "open";
1219
+ readonly paid: "paid";
1220
+ readonly void: "void";
1221
+ };
1222
+ /**
1223
+ * How tax applied to the customer when the invoice was issued; `reverse` means no tax was charged under the reverse-charge mechanism.
1224
+ */
1225
+ export type InvoiceCustomerTaxExempt = (typeof InvoiceCustomerTaxExempt)[keyof typeof InvoiceCustomerTaxExempt];
1226
+ export declare const InvoiceCustomerTaxExempt: {
1227
+ readonly none: "none";
1228
+ readonly exempt: "exempt";
1229
+ readonly reverse: "reverse";
1230
+ };
1231
+ /**
1232
+ * Tax name, rate and amounts frozen on the invoice.
1233
+ */
1234
+ export interface TaxItem {
1235
+ id: string;
1236
+ invoice_id: string;
1237
+ name: string;
1238
+ percentage: string;
1239
+ country: string;
1240
+ state?: string;
1241
+ taxable_amount: string;
1242
+ tax_amount: string;
1243
+ currency: string;
1244
+ }
1245
+ export interface Invoice {
1246
+ /** Collection has stopped; accepted return obligations are completed. */
1247
+ void_requested_at?: string;
1248
+ due_at?: string;
1249
+ amount_refunded?: string;
1250
+ tax_items: TaxItem[];
1251
+ id: string;
1252
+ billing_account_id: number;
1253
+ /** Numbered per account and per month. */
1254
+ number: string;
1255
+ currency: string;
1256
+ status: InvoiceStatus;
1257
+ /**
1258
+ * Sum of the line amounts before discounts. Where prices include tax, the tax contained in
1259
+ * each line's discounted amount is taken out here, so that total = subtotal -
1260
+ * discount_amount + tax_amount always holds.
1261
+ */
1262
+ subtotal?: Money;
1263
+ /** Sum of the line discounts, taken off before tax. */
1264
+ discount_amount?: Money;
1265
+ tax_amount?: Money;
1266
+ /** Successful credit-grant payments, included in amount_paid; they do not reduce the receivable or tax base. */
1267
+ credit_applied?: Money;
1268
+ /** Subtotal less discount plus tax. Balance and credit grants pay it plus rounding_amount; they do not reduce it. */
1269
+ total: Money;
1270
+ /** Added to total to round the amount payable to the currency's minor unit; negative when rounded down. The rounding of a usage invoice carries over to the next invoice of the same billing period. */
1271
+ rounding_amount: Money;
1272
+ amount_paid?: Money;
1273
+ /** Issued credit notes that reduced unpaid receivables; the original invoice total is unchanged. */
1274
+ pre_payment_credit_notes_amount: Money;
1275
+ /** Issued credit notes against payments already received; their refunds may not have completed. */
1276
+ post_payment_credit_notes_amount: Money;
1277
+ /** What is still collectible from total plus rounding_amount after unpaid credit notes and successful payments; never below zero. Zero for a paid or void invoice. */
1278
+ amount_due: Money;
1279
+ /** @nullable */
1280
+ period_start?: string | null;
1281
+ /**
1282
+ * Exclusive.
1283
+ * @nullable
1284
+ */
1285
+ period_end?: string | null;
1286
+ /** The billing details recorded when the invoice was issued. */
1287
+ customer_name?: string;
1288
+ customer_email?: string;
1289
+ customer_tax_id?: string;
1290
+ /** How tax applied to the customer when the invoice was issued; `reverse` means no tax was charged under the reverse-charge mechanism. */
1291
+ customer_tax_exempt?: InvoiceCustomerTaxExempt;
1292
+ customer_address_line1?: string;
1293
+ customer_address_line2?: string;
1294
+ customer_address_city?: string;
1295
+ customer_address_state?: string;
1296
+ customer_address_postal_code?: string;
1297
+ customer_address_country?: string;
1298
+ /** @nullable */
1299
+ paid_at?: string | null;
1300
+ }
1301
+ export interface InvoiceList {
1302
+ items: Invoice[];
1303
+ pagination: OffsetPagination;
1304
+ }
1305
+ /**
1306
+ * For a usage line, the values of its meter's presentation dimensions, such as the model and token kind. Empty for other lines.
1307
+ */
1308
+ export type InvoiceItemDimensions = {
1309
+ [key: string]: string;
1310
+ };
1311
+ /**
1312
+ * The value of one paid period moved to the new configuration of a subscription.
1313
+ */
1314
+ export interface InvoiceItemProration {
1315
+ /** The earlier invoice line that paid for the period. */
1316
+ credited_invoice_item_id: string;
1317
+ /** The earlier invoice line's wording as recorded. */
1318
+ description: string;
1319
+ period_start: string;
1320
+ /** Exclusive. */
1321
+ period_end: string;
1322
+ /** Before tax and discounts, the new configuration for the period. */
1323
+ remaining_amount: Money;
1324
+ /** Before tax, the unused value of the earlier line for the period, credited against `remaining_amount`. */
1325
+ credited_amount: Money;
1326
+ }
1327
+ export interface InvoiceItem {
1328
+ taxable?: boolean;
1329
+ /** Discount applied to this line before tax. */
1330
+ discount_amount?: string;
1331
+ /**
1332
+ * The account discount applied to this line.
1333
+ * @nullable
1334
+ */
1335
+ discount_id?: string | null;
1336
+ /**
1337
+ * The coupon applied to this line.
1338
+ * @nullable
1339
+ */
1340
+ coupon_id?: string | null;
1341
+ /** Tax on the discounted line, including tax already included in the price. */
1342
+ tax_amount?: string;
1343
+ /** The part of tax_amount already included in amount. */
1344
+ tax_included_amount?: string;
1345
+ id: string;
1346
+ /** @nullable */
1347
+ project_id?: string | null;
1348
+ /** The project the charge was for and its current name. Absent when the line has no project or the project cannot be read; `project_id` still identifies it. */
1349
+ project?: NamedIdentity | null;
1350
+ resource_id?: string;
1351
+ /** The line's wording as recorded when the invoice was issued. */
1352
+ description: string;
1353
+ unit?: string;
1354
+ quantity?: string;
1355
+ /** The part covered by an included allowance, and therefore not charged. */
1356
+ deducted_quantity?: string;
1357
+ unit_amount?: Money;
1358
+ /** The quantity `unit_amount` prices, such as 1000000 tokens or 3600 seconds: `amount` is `quantity` × `unit_amount` ÷ `unit_quantity`. Present together with `unit_amount`. */
1359
+ unit_quantity?: string;
1360
+ amount: Money;
1361
+ /** This line's share of the invoice's rounding_amount. The line's net amount is amount - discount_amount + tax_amount - tax_included_amount + rounding_amount. */
1362
+ rounding_amount: Money;
1363
+ /** Usage charges billed on this line; zero for other lines. */
1364
+ usage_charge_count: number;
1365
+ currency: string;
1366
+ /** @nullable */
1367
+ period_start?: string | null;
1368
+ /** @nullable */
1369
+ period_end?: string | null;
1370
+ /** For a usage line, the values of its meter's presentation dimensions, such as the model and token kind. Empty for other lines. */
1371
+ dimensions?: InvoiceItemDimensions;
1372
+ /**
1373
+ * Present on a line that changes a subscription immediately, one entry for each paid period it
1374
+ * covers. `amount` is the sum of `remaining_amount` minus `credited_amount` over the entries.
1375
+ */
1376
+ prorations?: InvoiceItemProration[];
1377
+ }
1378
+ export interface InvoiceItemList {
1379
+ items: InvoiceItem[];
1380
+ pagination: OffsetPagination;
1381
+ }
1382
+ export interface TransactionList {
1383
+ items: Transaction[];
1384
+ pagination: OffsetPagination;
1385
+ }
1386
+ export type CreditGrantStatus = (typeof CreditGrantStatus)[keyof typeof CreditGrantStatus];
1387
+ export declare const CreditGrantStatus: {
1388
+ readonly active: "active";
1389
+ readonly depleted: "depleted";
1390
+ readonly expired: "expired";
1391
+ readonly voided: "voided";
1392
+ };
1393
+ export interface CreditGrant {
1394
+ min_amount?: string;
1395
+ id: string;
1396
+ billing_account_id?: number;
1397
+ name: string;
1398
+ amount: Money;
1399
+ remaining_amount: Money;
1400
+ currency: string;
1401
+ /** What this credit may pay for. No restrictions means anything on the account. */
1402
+ applies_to: Applicability;
1403
+ /** Restricted to your first purchase of anything it applies to. */
1404
+ first_purchase_only?: boolean;
1405
+ status: CreditGrantStatus;
1406
+ valid_from: string;
1407
+ /** @nullable */
1408
+ valid_until?: string | null;
1409
+ }
1410
+ export interface CreditGrantList {
1411
+ items: CreditGrant[];
1412
+ pagination: OffsetPagination;
1413
+ }
1414
+ export type CreditNoteStatus = (typeof CreditNoteStatus)[keyof typeof CreditNoteStatus];
1415
+ export declare const CreditNoteStatus: {
1416
+ readonly issued: "issued";
1417
+ readonly void: "void";
1418
+ };
1419
+ /**
1420
+ * Why the note was issued. Notes for canceled, expired or failed orders carry the order's reason; `usage_true_up` returns a tier price reduction settled after the original invoice; `operator` was issued on request.
1421
+ */
1422
+ export type CreditNoteReason = (typeof CreditNoteReason)[keyof typeof CreditNoteReason];
1423
+ export declare const CreditNoteReason: {
1424
+ readonly provisioning_failed: "provisioning_failed";
1425
+ readonly order_expired: "order_expired";
1426
+ readonly order_canceled: "order_canceled";
1427
+ readonly change_canceled: "change_canceled";
1428
+ readonly change_expired: "change_expired";
1429
+ readonly subscription_canceled: "subscription_canceled";
1430
+ readonly usage_true_up: "usage_true_up";
1431
+ readonly operator: "operator";
1432
+ };
1433
+ /**
1434
+ * A reduction of an issued invoice; the original invoice amounts do not change. The credited amount is pre_payment_amount plus post_payment_amount. A paid part creates a refund, identified by refund_id, whose outcome may still be pending.
1435
+ */
1436
+ export interface CreditNote {
1437
+ id: string;
1438
+ invoice_id: string;
1439
+ currency: string;
1440
+ issued_at: string;
1441
+ status: CreditNoteStatus;
1442
+ /**
1443
+ * When this note was voided; null while issued.
1444
+ * @nullable
1445
+ */
1446
+ voided_at: string | null;
1447
+ /** The reduction of unpaid receivables. A void note no longer reduces what is due. */
1448
+ pre_payment_amount: Money;
1449
+ /** The credited part of payments already received; its refund may not have completed. */
1450
+ post_payment_amount: Money;
1451
+ /**
1452
+ * The refund to the original payment sources; null when no paid amount was credited.
1453
+ * @nullable
1454
+ */
1455
+ refund_id: string | null;
1456
+ /** Why the note was issued. Notes for canceled, expired or failed orders carry the order's reason; `usage_true_up` returns a tier price reduction settled after the original invoice; `operator` was issued on request. */
1457
+ reason: CreditNoteReason;
1458
+ }
1459
+ export interface CreditNoteItem {
1460
+ id: string;
1461
+ credit_note_id: string;
1462
+ invoice_item_id: string;
1463
+ pre_payment_amount: Money;
1464
+ post_payment_amount: Money;
1465
+ }
1466
+ export interface CreditNoteList {
1467
+ items: CreditNote[];
1468
+ pagination: OffsetPagination;
1469
+ }
1470
+ export interface CreditNoteItemList {
1471
+ items: CreditNoteItem[];
1472
+ pagination: OffsetPagination;
1473
+ }
1474
+ /**
1475
+ * Use balance_amount, credit_amount and gateway_amount, which also show a refund split between destinations.
1476
+ * @deprecated
1477
+ */
1478
+ export type RefundDestination = (typeof RefundDestination)[keyof typeof RefundDestination];
1479
+ export declare const RefundDestination: {
1480
+ readonly balance: "balance";
1481
+ readonly gateway: "gateway";
1482
+ };
1483
+ /**
1484
+ * Summary of the parts in `transactions`.
1485
+ *
1486
+ * - `pending`: nothing has been returned yet, and at least one part is in progress.
1487
+ * - `processing`: some parts have been returned, and at least one is still in progress.
1488
+ * - `succeeded`: every part has been returned.
1489
+ * - `failed`: no part is in progress and at least one has failed. What was returned is in
1490
+ * settled_amount.
1491
+ *
1492
+ * Returns to the balance and to credit grants complete shortly after the refund is made; a
1493
+ * return to a payment method completes when the gateway confirms it.
1494
+ */
1495
+ export type RefundStatus = (typeof RefundStatus)[keyof typeof RefundStatus];
1496
+ export declare const RefundStatus: {
1497
+ readonly pending: "pending";
1498
+ readonly processing: "processing";
1499
+ readonly succeeded: "succeeded";
1500
+ readonly failed: "failed";
1501
+ };
1502
+ /**
1503
+ * Why the refund was made. New codes may be added; treat an unknown code as unspecified.
1504
+ *
1505
+ * - `provisioning_failed`: the purchase could not be delivered.
1506
+ * - `order_expired`: the order expired after part of it was paid.
1507
+ * - `order_canceled`: the order was canceled after part of it was paid.
1508
+ * - `change_canceled`: a scheduled change was withdrawn after part of it was paid.
1509
+ * - `change_expired`: a scheduled change could not take effect in time.
1510
+ * - `subscription_canceled`: the unused value of a canceled subscription, under its refund terms.
1511
+ * - `future_period_canceled`: a renewal that had not started was withdrawn.
1512
+ * - `downgrade_difference`: after a downgrade, the remaining paid value, valued under each paid period's refund
1513
+ * policy and as `prorated` where that policy is `none`, minus the new configuration's value for the remaining
1514
+ * time: each whole month at the change item's `monthly_list_amount` and the remainder in proportion to the
1515
+ * length of the month it falls in, or without `monthly_list_amount`, the new period price in proportion to the
1516
+ * remaining time.
1517
+ * - `usage_true_up`: usage priced over the whole month cost less than was charged.
1518
+ * - `payment_not_applied`: a payment arrived after its invoice could no longer be paid.
1519
+ * - `operator`: made by the platform operator.
1520
+ */
1521
+ export type RefundReason = (typeof RefundReason)[keyof typeof RefundReason];
1522
+ export declare const RefundReason: {
1523
+ readonly provisioning_failed: "provisioning_failed";
1524
+ readonly order_expired: "order_expired";
1525
+ readonly order_canceled: "order_canceled";
1526
+ readonly change_canceled: "change_canceled";
1527
+ readonly change_expired: "change_expired";
1528
+ readonly subscription_canceled: "subscription_canceled";
1529
+ readonly future_period_canceled: "future_period_canceled";
1530
+ readonly downgrade_difference: "downgrade_difference";
1531
+ readonly usage_true_up: "usage_true_up";
1532
+ readonly payment_not_applied: "payment_not_applied";
1533
+ readonly operator: "operator";
1534
+ };
1535
+ export interface Refund {
1536
+ transaction_id?: string;
1537
+ cancellation_item_id?: string;
1538
+ /** The refund split by original payment source, with each result. Unknown gateway results stay pending. */
1539
+ transactions: Transaction[];
1540
+ id: string;
1541
+ billing_account_id?: number;
1542
+ /** @nullable */
1543
+ invoice_id?: string | null;
1544
+ /**
1545
+ * The order the refund belongs to: the order that caused it, such as a downgrade, otherwise the order of the refunded invoice. Null for refunds of top-ups and usage invoices.
1546
+ * @nullable
1547
+ */
1548
+ order_id?: string | null;
1549
+ /** The whole refund. Equals balance_amount plus credit_amount plus gateway_amount. */
1550
+ amount: Money;
1551
+ /** The part returned to the account balance. */
1552
+ balance_amount: Money;
1553
+ /** The part restored to the credit grants that paid for it. */
1554
+ credit_amount: Money;
1555
+ /** The part returned to the payment method it was paid with. */
1556
+ gateway_amount: Money;
1557
+ /** What has actually been returned. */
1558
+ settled_amount?: Money;
1559
+ currency: string;
1560
+ /**
1561
+ * Use balance_amount, credit_amount and gateway_amount, which also show a refund split between destinations.
1562
+ * @deprecated
1563
+ */
1564
+ destination?: RefundDestination;
1565
+ /**
1566
+ * Summary of the parts in `transactions`.
1567
+ *
1568
+ * - `pending`: nothing has been returned yet, and at least one part is in progress.
1569
+ * - `processing`: some parts have been returned, and at least one is still in progress.
1570
+ * - `succeeded`: every part has been returned.
1571
+ * - `failed`: no part is in progress and at least one has failed. What was returned is in
1572
+ * settled_amount.
1573
+ *
1574
+ * Returns to the balance and to credit grants complete shortly after the refund is made; a
1575
+ * return to a payment method completes when the gateway confirms it.
1576
+ */
1577
+ status: RefundStatus;
1578
+ /** When the last part was returned. Present with `succeeded`. */
1579
+ settled_at?: string;
1580
+ reason: RefundReason;
1581
+ created_at: string;
1582
+ }
1583
+ export interface RefundList {
1584
+ items: Refund[];
1585
+ pagination: OffsetPagination;
1586
+ }
1587
+ /**
1588
+ * The dimension values the rate was matched by, such as region and machine type.
1589
+ */
1590
+ export type UsageChargeDimensions = {
1591
+ [key: string]: string;
1592
+ };
1593
+ export interface UsageCharge {
1594
+ subscription_id: string;
1595
+ id: string;
1596
+ project_id?: string;
1597
+ /** The project and its current name. Absent when the project cannot be read; `project_id` still identifies it. */
1598
+ project?: NamedIdentity | null;
1599
+ product: Product;
1600
+ /** Which resource this was charged for. Empty for charges not tied to one. */
1601
+ resource_id?: string;
1602
+ meter: ObjectIdentity;
1603
+ unit?: string;
1604
+ /** The dimension values the rate was matched by, such as region and machine type. */
1605
+ dimensions?: UsageChargeDimensions;
1606
+ window_start: string;
1607
+ /** Exclusive. */
1608
+ window_end: string;
1609
+ /** Quantity used before allowances. */
1610
+ gross_quantity?: string;
1611
+ /** How much of that was covered by an allowance. */
1612
+ deducted_quantity?: string;
1613
+ /** The quantity charged: gross quantity less the part covered by allowances. */
1614
+ quantity: string;
1615
+ unit_amount?: Money;
1616
+ /** The quantity `unit_amount` prices, such as 1000000 tokens or 3600 seconds: `amount` is `quantity` × `unit_amount` ÷ `unit_quantity`. */
1617
+ unit_quantity?: string;
1618
+ amount: Money;
1619
+ currency: string;
1620
+ /**
1621
+ * Present after the statement is closed and its invoice is issued.
1622
+ * @nullable
1623
+ */
1624
+ invoice_id?: string | null;
1625
+ /**
1626
+ * Present after the statement is closed and its invoice is issued.
1627
+ * @nullable
1628
+ */
1629
+ invoice_item_id?: string | null;
1630
+ /** The statement this charge was collected into. */
1631
+ statement_id?: string;
1632
+ }
1633
+ export interface UsageChargeList {
1634
+ items: UsageCharge[];
1635
+ pagination: OffsetPagination;
1636
+ }
1637
+ export type SubscriptionInterval = (typeof SubscriptionInterval)[keyof typeof SubscriptionInterval];
1638
+ export declare const SubscriptionInterval: {
1639
+ readonly none: "none";
1640
+ readonly day: "day";
1641
+ readonly month: "month";
1642
+ readonly year: "year";
1643
+ };
1644
+ /**
1645
+ * An operation prevented on the subscription. `billing.subscriptions.use` stops the service. `renew` prevents renewal and paying a renewal order. `modify` prevents placing a change order. `cancel` prevents cancellation. `terminate` prevents immediate termination.
1646
+ */
1647
+ export type SubscriptionRestriction = (typeof SubscriptionRestriction)[keyof typeof SubscriptionRestriction];
1648
+ export declare const SubscriptionRestriction: {
1649
+ readonly billingsubscriptionsuse: "billing.subscriptions.use";
1650
+ readonly billingsubscriptionsrenew: "billing.subscriptions.renew";
1651
+ readonly billingsubscriptionsmodify: "billing.subscriptions.modify";
1652
+ readonly billingsubscriptionscancel: "billing.subscriptions.cancel";
1653
+ readonly billingsubscriptionsterminate: "billing.subscriptions.terminate";
1654
+ };
1655
+ /**
1656
+ * Follows the items. `pending`: not yet accepted, paid or unpaid; its invoice shows whether payment is needed, and it can expire or be canceled. `accepted`: items are being set up. `completed`: every item was set up. `partially_completed`: some items were set up and the others failed or were canceled and refunded to their original payment sources. `failed`: no item was delivered and at least one failed; amounts collected for undelivered items are refunded. `canceled`: every item was withdrawn without delivery; collected amounts are returned to their original payment sources. No status by itself means the service was delivered.
1657
+ */
1658
+ export type OrderStatus = (typeof OrderStatus)[keyof typeof OrderStatus];
1659
+ export declare const OrderStatus: {
1660
+ readonly pending: "pending";
1661
+ readonly accepted: "accepted";
1662
+ readonly completed: "completed";
1663
+ readonly partially_completed: "partially_completed";
1664
+ readonly failed: "failed";
1665
+ readonly canceled: "canceled";
1666
+ };
1667
+ export type ScheduledChangeInterval = (typeof ScheduledChangeInterval)[keyof typeof ScheduledChangeInterval];
1668
+ export declare const ScheduledChangeInterval: {
1669
+ readonly day: "day";
1670
+ readonly month: "month";
1671
+ readonly year: "year";
1672
+ };
1673
+ /**
1674
+ * The next accepted period-end change of the subscription: the target terms, applied at effective_at.
1675
+ */
1676
+ export interface ScheduledChange {
1677
+ order_id: string;
1678
+ status: OrderStatus;
1679
+ /** When the target terms take effect, normally the end of the current paid period. */
1680
+ effective_at: string;
1681
+ plan_id: string;
1682
+ plan_name: string;
1683
+ price_id: string;
1684
+ quantity: string;
1685
+ /** The target licensed renewal amount before tax. */
1686
+ recurring_amount: string;
1687
+ currency: string;
1688
+ interval: ScheduledChangeInterval;
1689
+ /** @minimum 1 */
1690
+ interval_count: number;
1691
+ }
1692
+ /**
1693
+ * `pending`: the order has not been accepted. `provisioning`: the owning service accepted the order and is delivering. `active`: delivery was confirmed; payment alone does not make a subscription active. `suspended`: service is stopped while a lien restricts its use. `canceled`: cancellation completed, or an undelivered purchase was canceled or failed. `terminated`: an operator or the owning service ended it immediately.
1694
+ */
1695
+ export type SubscriptionStatus = (typeof SubscriptionStatus)[keyof typeof SubscriptionStatus];
1696
+ export declare const SubscriptionStatus: {
1697
+ readonly pending: "pending";
1698
+ readonly provisioning: "provisioning";
1699
+ readonly active: "active";
1700
+ readonly suspended: "suspended";
1701
+ readonly canceled: "canceled";
1702
+ readonly terminated: "terminated";
1703
+ };
1704
+ /**
1705
+ * The dimension values of what was bought, such as region and instance type. Empty when the purchase gave none.
1706
+ */
1707
+ export type SubscriptionDimensions = {
1708
+ [key: string]: string;
1709
+ };
1710
+ /**
1711
+ * A purchase that is billed, renewed and changed on its own, separate from the owning service's resource. A new
1712
+ * recurring purchase creates a pending subscription for each order line; its ID is returned on the order item
1713
+ * and stays the same through checkout, delivery, renewals and changes. A one-time purchase may create none.
1714
+ *
1715
+ * Pending and provisioning subscriptions grant no service. A subscription becomes provisioning when the owning
1716
+ * service accepts the order, and active when the service confirms delivery, which sets started_at; payment
1717
+ * changes neither. Licensed service periods start at delivery, and metered usage is charged as the service
1718
+ * reports it. Canceling or failing an undelivered purchase cancels its subscriptions without starting a period.
1719
+ * Renewals use recurring_amount and the agreed interval; paid periods keep their value.
1720
+ *
1721
+ * A shared capacity limit, such as a regional snapshot quota, has one subscription for the purchased quantity
1722
+ * rather than one per item.
1723
+ */
1724
+ export interface Subscription {
1725
+ /** Whether new account discounts may apply to future renewals. A fixed operator renewal agreement disables automatic discounts; catalog repricing or a newly selected purchase agreement enables them. */
1726
+ renewal_discounts_enabled?: boolean;
1727
+ currency: string;
1728
+ type: PriceType;
1729
+ usage_type: UsageType;
1730
+ /** The dimension values of what was bought, such as region and instance type. Empty when the purchase gave none. */
1731
+ dimensions: SubscriptionDimensions;
1732
+ interval: SubscriptionInterval;
1733
+ /** @minimum 1 */
1734
+ interval_count?: number;
1735
+ /** The whole licensed subscription's renewal amount, after continuing discounts and before tax. A pending subscription shows base terms until paying the order fixes any new discount. Absent for metered and one-time subscriptions. */
1736
+ recurring_amount?: string;
1737
+ cancellation_policy?: CancellationPolicy;
1738
+ refund_policy?: RefundPolicy;
1739
+ /** Refund policy `short_rate` only, as on the price bought. */
1740
+ short_rate_multiplier?: string;
1741
+ /** Refund policy `short_rate` only, as on the price bought. */
1742
+ short_rate_threshold_seconds?: number;
1743
+ /** Licensed recurring only, the `monthly_list_amount` that a renewal at the agreed amount keeps; see the order item. */
1744
+ monthly_list_amount?: string;
1745
+ order_item_id?: string;
1746
+ coupon_id?: string;
1747
+ coupon?: ObjectIdentity;
1748
+ /** @minimum 0 */
1749
+ discounted_renewals_remaining?: number;
1750
+ /** The operations currently prevented on the subscription, sorted; it is suspended while this contains `billing.subscriptions.use`. */
1751
+ restrictions?: SubscriptionRestriction[];
1752
+ billing_cycle_anchor?: string;
1753
+ cancellation?: SubscriptionCancellation;
1754
+ /** The accepted period-end change scheduled for this subscription; null when there is none. */
1755
+ scheduled_change?: ScheduledChange | null;
1756
+ /**
1757
+ * The saved payment method automatic renewal charges after balance and credits, before the account's default payment method. Set when a purchase, renewal or change is paid with a saved payment method. Used only while it belongs to the account paying the renewal.
1758
+ * @nullable
1759
+ */
1760
+ default_payment_method_id?: string | null;
1761
+ created_at?: string;
1762
+ id: string;
1763
+ /** The billing account that made the purchase. Renewals of a project subscription are charged to the project's current billing account. */
1764
+ billing_account_id: number;
1765
+ account: AccountIdentity;
1766
+ product_id: ProductID;
1767
+ /**
1768
+ * The project it is for. Absent for an account-level purchase, such as a membership.
1769
+ * @nullable
1770
+ */
1771
+ project_id?: string | null;
1772
+ /** The project and its current name. Absent for an account-level purchase or when the project cannot be read; `project_id` still identifies it. */
1773
+ project?: NamedIdentity | null;
1774
+ product: Product;
1775
+ plan_id: string;
1776
+ plan_name: string;
1777
+ price_id: string;
1778
+ quantity: string;
1779
+ /**
1780
+ * When a licensed subscription renews or expires: the end of the last period bought, moved by renewing in advance. Null until the subscription becomes active, even when its purchase has been paid, and for metered subscriptions.
1781
+ * @nullable
1782
+ */
1783
+ current_term_end?: string | null;
1784
+ /**
1785
+ * Start of the service period in effect now. Null when none is, including for metered subscriptions.
1786
+ * @nullable
1787
+ */
1788
+ current_period_start?: string | null;
1789
+ /**
1790
+ * End of the service period in effect now; renewing in advance moves `current_term_end`, not this. Null when no period is in effect, including for metered subscriptions.
1791
+ * @nullable
1792
+ */
1793
+ current_period_end?: string | null;
1794
+ /** Whether a licensed subscription renews automatically. A metered subscription continues until it is canceled; for it this is true until a cancellation is requested, and cannot be set. */
1795
+ auto_renew: boolean;
1796
+ /** `pending`: the order has not been accepted. `provisioning`: the owning service accepted the order and is delivering. `active`: delivery was confirmed; payment alone does not make a subscription active. `suspended`: service is stopped while a lien restricts its use. `canceled`: cancellation completed, or an undelivered purchase was canceled or failed. `terminated`: an operator or the owning service ended it immediately. */
1797
+ status: SubscriptionStatus;
1798
+ /**
1799
+ * When service started. Null until a new subscription becomes active, also after payment.
1800
+ * @nullable
1801
+ */
1802
+ started_at?: string | null;
1803
+ /** @nullable */
1804
+ ended_at?: string | null;
1805
+ }
1806
+ export interface SubscriptionList {
1807
+ items: Subscription[];
1808
+ pagination: OffsetPagination;
1809
+ }
1810
+ export type RenewalPriceInterval = (typeof RenewalPriceInterval)[keyof typeof RenewalPriceInterval];
1811
+ export declare const RenewalPriceInterval: {
1812
+ readonly day: "day";
1813
+ readonly month: "month";
1814
+ readonly year: "year";
1815
+ };
1816
+ export interface RenewalPrice {
1817
+ cancellation_policy?: CancellationPolicy;
1818
+ refund_policy?: RefundPolicy;
1819
+ /** Refund policy `short_rate` only. */
1820
+ short_rate_multiplier?: string;
1821
+ /** Refund policy `short_rate` only. */
1822
+ short_rate_threshold_seconds?: number;
1823
+ price_id: string;
1824
+ /** How many periods one renewal covers. */
1825
+ interval_count: number;
1826
+ interval: RenewalPriceInterval;
1827
+ /** What renewing for this term costs, for the quantity held. */
1828
+ amount?: Money;
1829
+ currency?: string;
1830
+ /** The term the subscription renews at now; renewing for it keeps the agreed price. */
1831
+ current: boolean;
1832
+ }
1833
+ export interface RenewalPriceList {
1834
+ items: RenewalPrice[];
1835
+ pagination: OffsetPagination;
1836
+ }
1837
+ /**
1838
+ * The unit interval_count counts in.
1839
+ */
1840
+ export type RenewRequestInterval = (typeof RenewRequestInterval)[keyof typeof RenewRequestInterval];
1841
+ export declare const RenewRequestInterval: {
1842
+ readonly day: "day";
1843
+ readonly month: "month";
1844
+ readonly year: "year";
1845
+ };
1846
+ export interface RenewRequest {
1847
+ /** The order ID, chosen by the caller. Creating it again conflicts; read the order after an unknown outcome. */
1848
+ order_id: string;
1849
+ /**
1850
+ * How many further periods to buy, each at the price the subscription already renews at. To buy a longer term at its own price, give `interval` and `interval_count` instead.
1851
+ * @minimum 1
1852
+ */
1853
+ periods?: number;
1854
+ /**
1855
+ * Renew for a term of this length instead, at the price currently sold for it. Give
1856
+ * `interval` with it.
1857
+ *
1858
+ * Leaving both out renews at the price this item already bills at, which a later price
1859
+ * change does not affect. Naming a term that differs from the current one is a fresh
1860
+ * choice, so it is bought at today's price. Naming the current term changes nothing. A
1861
+ * term sold at several prices that differ in cancellation policy is refused with 409
1862
+ * `BILLING_RENEWAL_OPTION_AMBIGUOUS` unless `cancellation_policy` is given.
1863
+ *
1864
+ * List the terms on offer with the renewal prices operation.
1865
+ * @minimum 1
1866
+ */
1867
+ interval_count?: number;
1868
+ /** The unit interval_count counts in. */
1869
+ interval?: RenewRequestInterval;
1870
+ /** With `interval` and `interval_count`, chooses among prices of that term that differ in cancellation policy. */
1871
+ cancellation_policy?: CancellationPolicy;
1872
+ payment_method_id?: string;
1873
+ /** Whether to pay from the balance, with or without `payment_method_id`. */
1874
+ use_balance?: boolean;
1875
+ /** Whether to pay from eligible credit grants before the balance. */
1876
+ use_credits?: boolean;
1877
+ return_url?: string;
1878
+ }
1879
+ export interface AutoRenewSet {
1880
+ auto_renew: boolean;
1881
+ }
1882
+ /**
1883
+ * `open`: waiting for you to complete checkout; nothing is ordered, invoiced or reserved. `complete`: the order and its issued invoice exist; read the order for payment and delivery. `expired`: ended without an order.
1884
+ */
1885
+ export type CheckoutSessionStatus = (typeof CheckoutSessionStatus)[keyof typeof CheckoutSessionStatus];
1886
+ export declare const CheckoutSessionStatus: {
1887
+ readonly open: "open";
1888
+ readonly complete: "complete";
1889
+ readonly expired: "expired";
1890
+ };
1891
+ /**
1892
+ * `new` buys, `renew` extends a licensed subscription, `modify` changes a subscription's configuration or billing terms.
1893
+ */
1894
+ export type CheckoutSessionType = (typeof CheckoutSessionType)[keyof typeof CheckoutSessionType];
1895
+ export declare const CheckoutSessionType: {
1896
+ readonly new: "new";
1897
+ readonly renew: "renew";
1898
+ readonly modify: "modify";
1899
+ };
1900
+ /**
1901
+ * When a change takes effect, as on the order it creates; `none` for anything that is not a change.
1902
+ */
1903
+ export type CheckoutSessionChangeEffective = (typeof CheckoutSessionChangeEffective)[keyof typeof CheckoutSessionChangeEffective];
1904
+ export declare const CheckoutSessionChangeEffective: {
1905
+ readonly none: "none";
1906
+ readonly immediate: "immediate";
1907
+ readonly period_end: "period_end";
1908
+ };
1909
+ /**
1910
+ * automatic completes checkout with the purchase: the best applicable account discount is applied, and the
1911
+ * order is created with its invoice issued and paid from eligible credit grants and available balance.
1912
+ * Insufficient funds fail the purchase with HTTP 422 BILLING_INSUFFICIENT_FUNDS; no Billing order, charge or
1913
+ * discount redemption is committed.
1914
+ * deferred creates an open Billing Checkout Session and charges nothing, even for a zero total. The customer
1915
+ * completes it through Billing, where a promotion code can be applied, and then pays the issued invoice; a
1916
+ * session not completed by its deadline expires.
1917
+ */
1918
+ export type CheckoutMode = (typeof CheckoutMode)[keyof typeof CheckoutMode];
1919
+ export declare const CheckoutMode: {
1920
+ readonly automatic: "automatic";
1921
+ readonly deferred: "deferred";
1922
+ };
1923
+ /**
1924
+ * Shared checkout choices for a product purchase. The service may set them or forward its client's
1925
+ * choices unchanged; it does not need to read them, and Billing validates them. Omitting this object or
1926
+ * mode selects automatic checkout. Each purchase creates its own Checkout Session. Promotion codes are supplied
1927
+ * only to Billing. A service may retain a failed creation record when Billing refuses a purchase; no
1928
+ * infrastructure is created for that refusal.
1929
+ */
1930
+ export interface CheckoutOptions {
1931
+ mode?: CheckoutMode;
1932
+ /**
1933
+ * Expected invoice total after discounts and tax, before applying credit grants or balance.
1934
+ * A different total fails with BILLING_AMOUNT_CHANGED without charging or reserving a discount.
1935
+ * Accepted only in automatic mode; with deferred it is refused with HTTP 400. For deferred
1936
+ * checkout, give the expected amount when completing it through Billing.
1937
+ */
1938
+ expected_amount?: Money & string;
1939
+ /**
1940
+ * Where the client goes after the customer finishes a deferred checkout. Any absolute URI with a
1941
+ * scheme, including mobile and desktop application schemes. Billing stores it without checking the
1942
+ * target; each client validates its own.
1943
+ * @maxLength 2048
1944
+ */
1945
+ return_url?: string;
1946
+ }
1947
+ /**
1948
+ * A purchase waiting for you to complete checkout. Completing it applies the discount and creates the order with its invoice issued; the order carries the session's ID.
1949
+ */
1950
+ export interface CheckoutSession {
1951
+ id: string;
1952
+ product_id: ProductID;
1953
+ billing_account_id: number;
1954
+ account: AccountIdentity;
1955
+ /**
1956
+ * The project the purchase is for. Null for an account-level purchase, such as a membership.
1957
+ * @nullable
1958
+ */
1959
+ project_id: string | null;
1960
+ /** The project and its current name. Null for an account-level purchase or when the project cannot be read; `project_id` still identifies it. */
1961
+ project: NamedIdentity | null;
1962
+ /** `new` buys, `renew` extends a licensed subscription, `modify` changes a subscription's configuration or billing terms. */
1963
+ type: CheckoutSessionType;
1964
+ /** When a change takes effect, as on the order it creates; `none` for anything that is not a change. */
1965
+ change_effective: CheckoutSessionChangeEffective;
1966
+ status: CheckoutSessionStatus;
1967
+ currency: string;
1968
+ /** The checkout choices as the purchase gave them. Billing does not check `return_url`; validate it before navigating. */
1969
+ checkout: CheckoutOptions;
1970
+ /** When an open session expires. The order a complete session created has its own payment deadline. */
1971
+ expires_at: string;
1972
+ created_at: string;
1973
+ /** @nullable */
1974
+ completed_at: string | null;
1975
+ /** @nullable */
1976
+ expired_at: string | null;
1977
+ /**
1978
+ * The order created when the session completed. Null otherwise.
1979
+ * @nullable
1980
+ */
1981
+ order_id: string | null;
1982
+ }
1983
+ export interface CheckoutSessionList {
1984
+ items: CheckoutSession[];
1985
+ pagination: OffsetPagination;
1986
+ }
1987
+ /**
1988
+ * The dimension values of what is bought, such as region and instance type.
1989
+ */
1990
+ export type CheckoutSessionItemDimensions = {
1991
+ [key: string]: string;
1992
+ };
1993
+ /**
1994
+ * One item of the session. It becomes the order item at the same position; its price is chosen when checkout completes.
1995
+ */
1996
+ export interface CheckoutSessionItem {
1997
+ /** @minimum 0 */
1998
+ position: number;
1999
+ plan_id: string;
2000
+ plan_name: string;
2001
+ /**
2002
+ * The price the item named. Null when Billing selects it by billing terms or from the subscription being changed or renewed.
2003
+ * @nullable
2004
+ */
2005
+ price_id: string | null;
2006
+ quantity: string;
2007
+ /** The dimension values of what is bought, such as region and instance type. */
2008
+ dimensions: CheckoutSessionItemDimensions;
2009
+ /**
2010
+ * The subscription changed or renewed. Null for a new purchase.
2011
+ * @nullable
2012
+ */
2013
+ subscription_id: string | null;
2014
+ /**
2015
+ * Renewals only; null otherwise. How many consecutive periods are renewed.
2016
+ * @minimum 1
2017
+ * @nullable
2018
+ */
2019
+ periods: number | null;
2020
+ }
2021
+ export interface CheckoutSessionItemList {
2022
+ items: CheckoutSessionItem[];
2023
+ pagination: OffsetPagination;
2024
+ }
2025
+ /**
2026
+ * As in renewing.
2027
+ */
2028
+ export type CheckoutSessionCreateInterval = (typeof CheckoutSessionCreateInterval)[keyof typeof CheckoutSessionCreateInterval];
2029
+ export declare const CheckoutSessionCreateInterval: {
2030
+ readonly day: "day";
2031
+ readonly month: "month";
2032
+ readonly year: "year";
2033
+ };
2034
+ /**
2035
+ * The subscription to renew, and its periods and price chosen as in renewing.
2036
+ */
2037
+ export interface CheckoutSessionCreate {
2038
+ /** Chosen by the caller. Creating it again conflicts; read the session after an unknown outcome. */
2039
+ checkout_session_id: string;
2040
+ subscription_id: string;
2041
+ /**
2042
+ * As in renewing.
2043
+ * @minimum 1
2044
+ */
2045
+ periods?: number;
2046
+ /**
2047
+ * As in renewing.
2048
+ * @minimum 1
2049
+ */
2050
+ interval_count?: number;
2051
+ /** As in renewing. */
2052
+ interval?: CheckoutSessionCreateInterval;
2053
+ /** As in renewing. */
2054
+ cancellation_policy?: CancellationPolicy;
2055
+ }
2056
+ export interface CheckoutSessionConfirm {
2057
+ /**
2058
+ * As quoted. Omit to apply the best applicable account discount.
2059
+ * @minLength 1
2060
+ * @maxLength 64
2061
+ */
2062
+ promotion_code?: string;
2063
+ /** The quote's `total`, after discounts and tax and before credit grants or balance. */
2064
+ expected_amount: Money & string;
2065
+ /** Immediate changes only. The quote's `proration_date`; 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`. Defaults to the time of the request. */
2066
+ proration_date?: string;
2067
+ }
2068
+ /**
2069
+ * An order's invoice amounts, without contact details or payment methods, issued when the order is created; a zero-total invoice is paid at once.
2070
+ */
2071
+ export interface InvoiceSummary {
2072
+ id: string;
2073
+ number?: string;
2074
+ currency: string;
2075
+ status: InvoiceStatus;
2076
+ /**
2077
+ * Sum of the line amounts before discounts. Where prices include tax, the tax contained in
2078
+ * each line's discounted amount is taken out here, so that total = subtotal -
2079
+ * discount_amount + tax_amount always holds.
2080
+ */
2081
+ subtotal: string;
2082
+ /** Sum of the line discounts, taken off before tax. */
2083
+ discount_amount: string;
2084
+ tax_amount: string;
2085
+ total: string;
2086
+ amount_paid: string;
2087
+ /** Issued credit notes that reduced unpaid receivables; the original invoice total is unchanged. */
2088
+ pre_payment_credit_notes_amount: Money;
2089
+ /** Issued credit notes against payments already received; their refunds may not have completed. */
2090
+ post_payment_credit_notes_amount: Money;
2091
+ /**
2092
+ * What is still collectible after unpaid credit notes and successful payments; never below zero.
2093
+ * @pattern ^\d+(\.\d{1,10})?$
2094
+ */
2095
+ amount_due: string;
2096
+ amount_refunded: string;
2097
+ due_at?: string;
2098
+ }
2099
+ /**
2100
+ * How it was paid. `payment_method_id` still names the payment method after it is removed.
2101
+ */
2102
+ export interface PaidWith {
2103
+ /**
2104
+ * `balance` when the account's balance and credits covered it in full. Otherwise the method used
2105
+ * with the gateway, such as `card`.
2106
+ */
2107
+ method_type: string;
2108
+ /** The gateway that collected it. Absent when `method_type` is `balance`. */
2109
+ payment_gateway?: string;
2110
+ /** The saved payment method that was charged, when one was. */
2111
+ payment_method_id?: string;
2112
+ brand?: string;
2113
+ last4?: string;
2114
+ }
2115
+ /**
2116
+ * `new` buys, `renew` extends a licensed subscription, `modify` changes a subscription's configuration or billing terms.
2117
+ */
2118
+ export type OrderType = (typeof OrderType)[keyof typeof OrderType];
2119
+ export declare const OrderType: {
2120
+ readonly new: "new";
2121
+ readonly renew: "renew";
2122
+ readonly modify: "modify";
2123
+ };
2124
+ /**
2125
+ * When a plan change takes effect; `none` for anything that is not a change. A `period_end` order stays pending until the first period at the new price is paid. That period is invoiced when the order is created and starts when the current paid period ends; if the invoice is unpaid by then, the order is canceled and the subscription renews or ends as usual.
2126
+ */
2127
+ export type OrderChangeEffective = (typeof OrderChangeEffective)[keyof typeof OrderChangeEffective];
2128
+ export declare const OrderChangeEffective: {
2129
+ readonly none: "none";
2130
+ readonly immediate: "immediate";
2131
+ readonly period_end: "period_end";
2132
+ };
2133
+ export type OrderItemInterval = (typeof OrderItemInterval)[keyof typeof OrderItemInterval];
2134
+ export declare const OrderItemInterval: {
2135
+ readonly none: "none";
2136
+ readonly day: "day";
2137
+ readonly month: "month";
2138
+ readonly year: "year";
2139
+ };
2140
+ /**
2141
+ * `pending`: waiting to be set up. `completed`: set up, as confirmed by the service. `failed`: not set up; its amount was refunded to the original payment sources. `canceled`: withdrawn without delivery; any collected amount is returned. A completed item ends when its subscription is canceled.
2142
+ */
2143
+ export type OrderItemStatus = (typeof OrderItemStatus)[keyof typeof OrderItemStatus];
2144
+ export declare const OrderItemStatus: {
2145
+ readonly pending: "pending";
2146
+ readonly completed: "completed";
2147
+ readonly failed: "failed";
2148
+ readonly canceled: "canceled";
2149
+ };
2150
+ export type OrderItemConfiguration = {
2151
+ [key: string]: unknown;
2152
+ };
2153
+ /**
2154
+ * The dimension values the line was bought with, such as region and instance type. Empty when the purchase gave none.
2155
+ */
2156
+ export type OrderItemDimensions = {
2157
+ [key: string]: string;
2158
+ };
2159
+ /**
2160
+ * The purchase terms frozen at placement. Monetary fields come from the order's invoice lines and are zero without an immediate charge, such as for a metered purchase. Later catalog changes do not reprice the line. A new service purchase has its pending subscription from placement.
2161
+ */
2162
+ export interface OrderItem {
2163
+ /** Whether new account discounts may apply to future renewals. A fixed operator renewal agreement disables automatic discounts; catalog repricing or a newly selected purchase agreement enables them. */
2164
+ renewal_discounts_enabled?: boolean;
2165
+ /** Financial lines produced by this purchase item, including setup charges. */
2166
+ invoice_item_ids?: string[];
2167
+ /** @minimum 0 */
2168
+ position?: number;
2169
+ configuration?: OrderItemConfiguration;
2170
+ /** The Billing subscription: the new pending subscription of a recurring purchase, or the existing one renewed or changed, which keeps its ID. Absent for a purchase without a subscription. */
2171
+ subscription_id?: string;
2172
+ interval: OrderItemInterval;
2173
+ /** @minimum 1 */
2174
+ interval_count?: number;
2175
+ cancellation_policy?: CancellationPolicy;
2176
+ refund_policy?: RefundPolicy;
2177
+ /**
2178
+ * Recurring licensed items only: a month at list price for this item's quantity, before tax and discounts, which values time under a refund or a downgrade. It is the monthly amount of the shortest period the plan sells, not longer than the one bought, at the item's dimensions, fixed at purchase; a renewal at the agreed amount keeps the previous value. Null when time used is valued at the amount paid, as for a daily period.
2179
+ * @nullable
2180
+ */
2181
+ monthly_list_amount?: string | null;
2182
+ /**
2183
+ * Refund policy `short_rate` only, as on the price when bought.
2184
+ * @nullable
2185
+ */
2186
+ short_rate_multiplier?: string | null;
2187
+ /**
2188
+ * Refund policy `short_rate` only, as on the price when bought.
2189
+ * @nullable
2190
+ */
2191
+ short_rate_threshold_seconds?: number | null;
2192
+ recurring_amount?: string;
2193
+ setup_amount?: string;
2194
+ type: PriceType;
2195
+ usage_type: UsageType;
2196
+ /** The dimension values the line was bought with, such as region and instance type. Empty when the purchase gave none. */
2197
+ dimensions: OrderItemDimensions;
2198
+ /** Total tax after discounts, including any tax already included in the price. */
2199
+ tax_amount?: string;
2200
+ /** The part of tax_amount already included in gross_amount; it is not charged again. */
2201
+ tax_included_amount?: string;
2202
+ id: string;
2203
+ order_id?: string;
2204
+ price_id: string;
2205
+ product_id?: ProductID;
2206
+ product?: Product;
2207
+ /** Which plan was bought. */
2208
+ plan_id: string;
2209
+ /** The name when bought. */
2210
+ plan_name: string;
2211
+ quantity: string;
2212
+ /** The unit amount of the price the line is charged under. Absent for a tiered price, and for an immediate change, which is charged as `gross_amount` describes. */
2213
+ unit_amount?: Money;
2214
+ /**
2215
+ * Before discounts and setup fees: the price applied to the quantity, `unit_amount` times `quantity` for a per-
2216
+ * unit price, raised by any minimum charge. For an immediate upgrade it is the new price for the rest of the
2217
+ * paid period minus the amount paid for that time; a downgrade, or a change between equal period prices, charges
2218
+ * nothing.
2219
+ *
2220
+ * Under an inclusive tax rate it includes tax, shown in `tax_included_amount`, except for a renewal at agreed
2221
+ * terms, whose amount excludes tax.
2222
+ */
2223
+ gross_amount?: Money;
2224
+ /** The reduction on this line, from the order's coupon and, for a renewal at agreed terms, from the subscription's carried discount. With a carried discount, `gross_amount` is `unit_amount` times `quantity`, except when the renewal order also uses an account coupon or the tax rate is inclusive: then `gross_amount` is the agreed amount, which already reflects the carried discount. */
2225
+ discount_amount?: Money;
2226
+ /** `gross_amount` less `discount_amount`. */
2227
+ amount?: Money;
2228
+ currency: string;
2229
+ /**
2230
+ * The start of the service period this line paid for. Fixed at placement for renewals and period-end changes, and for a licensed line of a new purchase when its invoice is paid. Absent for metered and one-time lines.
2231
+ * @nullable
2232
+ */
2233
+ period_start?: string | null;
2234
+ /**
2235
+ * The end of that service period, exclusive.
2236
+ * @nullable
2237
+ */
2238
+ period_end?: string | null;
2239
+ status: OrderItemStatus;
2240
+ }
2241
+ /**
2242
+ * A recorded purchase, created with its invoice issued when its Checkout Session completes or when Billing renews a subscription. A zero-total invoice, such as for a metered purchase, is paid at once. Coupon fields describe the discount applied then. Payment and acceptance do not mean the resources were delivered.
2243
+ */
2244
+ export interface Order {
2245
+ coupon_id?: string;
2246
+ coupon?: ObjectIdentity;
2247
+ promotion_code_id?: string;
2248
+ /** The promotion code applied. Absent for an account discount. */
2249
+ promotion_code?: string;
2250
+ /** The order's invoice, the same as invoice.id. */
2251
+ invoice_id: string;
2252
+ invoice: InvoiceSummary;
2253
+ /** How the order was paid. Absent until it is paid. */
2254
+ paid_with?: PaidWith;
2255
+ account?: AccountIdentity;
2256
+ change_effective_at?: string;
2257
+ id: string;
2258
+ /**
2259
+ * The project it was bought for. Absent for an account-level purchase, such as a membership.
2260
+ * @nullable
2261
+ */
2262
+ project_id?: string | null;
2263
+ /** The project and its current name. Absent for an account-level purchase or when the project cannot be read; `project_id` still identifies it. */
2264
+ project?: NamedIdentity | null;
2265
+ /** The billing account the order was placed with, unchanged when the project is later linked to another account. While it is suspended or closed, the order cannot be accepted, and a period-end change is called off when the current period ends; such requests fail with `BILLING_ACCOUNT_UNAVAILABLE`. */
2266
+ billing_account_id?: number;
2267
+ currency: string;
2268
+ /** `new` buys, `renew` extends a licensed subscription, `modify` changes a subscription's configuration or billing terms. */
2269
+ type: OrderType;
2270
+ status: OrderStatus;
2271
+ /** When a plan change takes effect; `none` for anything that is not a change. A `period_end` order stays pending until the first period at the new price is paid. That period is invoiced when the order is created and starts when the current paid period ends; if the invoice is unpaid by then, the order is canceled and the subscription renews or ends as usual. */
2272
+ change_effective?: OrderChangeEffective;
2273
+ /**
2274
+ * Acceptance deadline; a pending order expires after it.
2275
+ * @nullable
2276
+ */
2277
+ expires_at?: string | null;
2278
+ /**
2279
+ * The Checkout Session that created the order. Null for orders Billing creates itself, such as automatic renewals.
2280
+ * @nullable
2281
+ */
2282
+ checkout_session_id?: string | null;
2283
+ created_at: string;
2284
+ /** What was bought. */
2285
+ items: OrderItem[];
2286
+ }
2287
+ /**
2288
+ * The complete session and the order it created.
2289
+ */
2290
+ export interface CheckoutSessionResult {
2291
+ checkout_session: CheckoutSession;
2292
+ order: Order;
2293
+ }
2294
+ export interface OrderList {
2295
+ items: Order[];
2296
+ pagination: OffsetPagination;
2297
+ }
2298
+ /**
2299
+ * `scheduled` before valid_from, `active` within the validity, `expired` after valid_until, or `voided` once withdrawn.
2300
+ */
2301
+ export type DiscountStatus = (typeof DiscountStatus)[keyof typeof DiscountStatus];
2302
+ export declare const DiscountStatus: {
2303
+ readonly scheduled: "scheduled";
2304
+ readonly active: "active";
2305
+ readonly expired: "expired";
2306
+ readonly voided: "voided";
2307
+ };
2308
+ export type DiscountType = (typeof DiscountType)[keyof typeof DiscountType];
2309
+ export declare const DiscountType: {
2310
+ readonly percentage: "percentage";
2311
+ readonly fixed_amount: "fixed_amount";
2312
+ readonly price_override: "price_override";
2313
+ readonly free_setup: "free_setup";
2314
+ };
2315
+ /**
2316
+ * Whether the discount continues on renewals: `once` applies only to the purchase or renewal using the coupon, `recurring` for `frequency_duration` periods including the first, `forever` on every renewal.
2317
+ */
2318
+ export type DiscountFrequency = (typeof DiscountFrequency)[keyof typeof DiscountFrequency];
2319
+ export declare const DiscountFrequency: {
2320
+ readonly once: "once";
2321
+ readonly recurring: "recurring";
2322
+ readonly forever: "forever";
2323
+ };
2324
+ /**
2325
+ * A coupon held by the account for a period, applying without a code to the purchases and metered usage it covers.
2326
+ */
2327
+ export interface Discount {
2328
+ min_amount?: string;
2329
+ billing_account_id?: number;
2330
+ coupon_id: string;
2331
+ promotion_code_id?: string;
2332
+ /** `scheduled` before valid_from, `active` within the validity, `expired` after valid_until, or `voided` once withdrawn. */
2333
+ status: DiscountStatus;
2334
+ voided_at?: string;
2335
+ type: DiscountType;
2336
+ /** Whether the discount continues on renewals: `once` applies only to the purchase or renewal using the coupon, `recurring` for `frequency_duration` periods including the first, `forever` on every renewal. */
2337
+ frequency?: DiscountFrequency;
2338
+ /** @minimum 1 */
2339
+ frequency_duration?: number;
2340
+ id: string;
2341
+ name?: string;
2342
+ /** For a percentage discount, out of one hundred. */
2343
+ percent_off?: string;
2344
+ amount?: Money;
2345
+ /** Caps a percentage discount. */
2346
+ max_discount?: Money;
2347
+ currency?: string;
2348
+ /** What it may pay for. Absent means anything on the account, including setup fees and usage. */
2349
+ applies_to: Applicability;
2350
+ /** Restricted to your first purchase of anything it applies to. */
2351
+ first_purchase_only?: boolean;
2352
+ valid_from?: string;
2353
+ /**
2354
+ * Absent follows the coupon's own validity.
2355
+ * @nullable
2356
+ */
2357
+ valid_until?: string | null;
2358
+ }
2359
+ export interface DiscountList {
2360
+ items: Discount[];
2361
+ pagination: OffsetPagination;
2362
+ }
2363
+ export interface OrderItemList {
2364
+ items: OrderItem[];
2365
+ pagination: OffsetPagination;
2366
+ }
2367
+ /**
2368
+ * Whether the quantity was paid for or granted free; both are consumed the same way.
2369
+ */
2370
+ export type AllowanceCategory = (typeof AllowanceCategory)[keyof typeof AllowanceCategory];
2371
+ export declare const AllowanceCategory: {
2372
+ readonly paid: "paid";
2373
+ readonly promotional: "promotional";
2374
+ };
2375
+ /**
2376
+ * Exact values for a subset of the meter's dimensions. Only usage with these values is deducted;
2377
+ * omitted dimensions are not restricted.
2378
+ */
2379
+ export type AllowanceDimensions = {
2380
+ [key: string]: string;
2381
+ };
2382
+ export type AllowanceStatus = (typeof AllowanceStatus)[keyof typeof AllowanceStatus];
2383
+ export declare const AllowanceStatus: {
2384
+ readonly active: "active";
2385
+ readonly depleted: "depleted";
2386
+ readonly expired: "expired";
2387
+ readonly voided: "voided";
2388
+ };
2389
+ export interface Allowance {
2390
+ /** Optional issuance key, unique within this billing account. */
2391
+ idempotency_key?: string;
2392
+ subscription_id?: string;
2393
+ id: string;
2394
+ billing_account_id?: number;
2395
+ product: Product;
2396
+ meter: ObjectIdentity;
2397
+ /** The unit it is counted in, such as `MiB`. */
2398
+ unit?: string;
2399
+ /** Whether the quantity was paid for or granted free; both are consumed the same way. */
2400
+ category: AllowanceCategory;
2401
+ /**
2402
+ * Exact values for a subset of the meter's dimensions. Only usage with these values is deducted;
2403
+ * omitted dimensions are not restricted.
2404
+ */
2405
+ dimensions: AllowanceDimensions;
2406
+ name: string;
2407
+ /** How much was granted. */
2408
+ quantity: string;
2409
+ /** How much is left. */
2410
+ remaining_quantity: string;
2411
+ /** Lower values are consumed first; at equal priority, earlier expiry and then earlier issuance. */
2412
+ priority?: number;
2413
+ status: AllowanceStatus;
2414
+ valid_from: string;
2415
+ /**
2416
+ * When the allowance lapses; unused quantity is lost. Absent when it does not expire.
2417
+ * @nullable
2418
+ */
2419
+ valid_until?: string | null;
2420
+ }
2421
+ export interface AllowanceList {
2422
+ items: Allowance[];
2423
+ pagination: OffsetPagination;
2424
+ }
2425
+ /**
2426
+ * Derived from the validity period. scheduled means valid_from has not yet arrived.
2427
+ */
2428
+ export type FeatureGrantStatus = (typeof FeatureGrantStatus)[keyof typeof FeatureGrantStatus];
2429
+ export declare const FeatureGrantStatus: {
2430
+ readonly scheduled: "scheduled";
2431
+ readonly active: "active";
2432
+ readonly expired: "expired";
2433
+ readonly voided: "voided";
2434
+ };
2435
+ export interface FeatureGrant {
2436
+ id: string;
2437
+ billing_account_id: number;
2438
+ product: Product;
2439
+ feature: ObjectIdentity;
2440
+ name: string;
2441
+ valid_from: string;
2442
+ /**
2443
+ * Null means the grant does not expire.
2444
+ * @nullable
2445
+ */
2446
+ valid_until: string | null;
2447
+ status: FeatureGrantStatus;
2448
+ }
2449
+ export interface FeatureGrantList {
2450
+ items: FeatureGrant[];
2451
+ pagination: OffsetPagination;
2452
+ }
2453
+ export interface Entitlement {
2454
+ product: Product;
2455
+ feature: ObjectIdentity;
2456
+ name?: string;
2457
+ enabled: boolean;
2458
+ /**
2459
+ * When the providing subscription ends. Absent for a metered subscription.
2460
+ * @nullable
2461
+ */
2462
+ expires_at?: string | null;
2463
+ }
2464
+ export interface EntitlementList {
2465
+ items: Entitlement[];
2466
+ pagination: OffsetPagination;
2467
+ }
2468
+ export interface ProductList {
2469
+ items: Product[];
2470
+ pagination: OffsetPagination;
2471
+ }
2472
+ export interface PlanFeature {
2473
+ feature: ObjectIdentity;
2474
+ name: string;
2475
+ }
2476
+ export interface Plan {
2477
+ /** False once archived. An archived plan cannot be bought until it is active again. */
2478
+ active: boolean;
2479
+ lookup_key?: string;
2480
+ product: Product;
2481
+ features: PlanFeature[];
2482
+ id: string;
2483
+ product_id: ProductID;
2484
+ name: string;
2485
+ description?: string;
2486
+ }
2487
+ export interface PlanList {
2488
+ items: Plan[];
2489
+ pagination: OffsetPagination;
2490
+ }
2491
+ /**
2492
+ * How a ladder is walked: `graduated` charges each band at its own rate, `volume` charges everything at the rate of the band the total falls in. `none` when not tiered.
2493
+ */
2494
+ export type PriceTiersMode = (typeof PriceTiersMode)[keyof typeof PriceTiersMode];
2495
+ export declare const PriceTiersMode: {
2496
+ readonly none: "none";
2497
+ readonly graduated: "graduated";
2498
+ readonly volume: "volume";
2499
+ };
2500
+ export type PriceInterval = (typeof PriceInterval)[keyof typeof PriceInterval];
2501
+ export declare const PriceInterval: {
2502
+ readonly none: "none";
2503
+ readonly day: "day";
2504
+ readonly month: "month";
2505
+ readonly year: "year";
2506
+ };
2507
+ /**
2508
+ * Licensed rates only, the period the amount buys; `none` for metered rates.
2509
+ */
2510
+ export type RateInterval = (typeof RateInterval)[keyof typeof RateInterval];
2511
+ export declare const RateInterval: {
2512
+ readonly none: "none";
2513
+ readonly day: "day";
2514
+ readonly month: "month";
2515
+ readonly year: "year";
2516
+ };
2517
+ /**
2518
+ * `graduated` charges each band at its own rate; `volume` charges everything at the rate of the band the total lands in. `none` for a `per_unit` rate.
2519
+ */
2520
+ export type RateTiersMode = (typeof RateTiersMode)[keyof typeof RateTiersMode];
2521
+ export declare const RateTiersMode: {
2522
+ readonly none: "none";
2523
+ readonly graduated: "graduated";
2524
+ readonly volume: "volume";
2525
+ };
2526
+ export interface Tier {
2527
+ /**
2528
+ * The band's inclusive upper bound; null for the last band.
2529
+ * @nullable
2530
+ */
2531
+ up_to?: string | null;
2532
+ unit_amount: Money;
2533
+ /** Charged once when this band is reached, in addition to the per-unit amount. */
2534
+ flat_amount?: Money;
2535
+ }
2536
+ /**
2537
+ * The dimension values this rate applies to, such as region and machine type.
2538
+ */
2539
+ export type RateDimensions = {
2540
+ [key: string]: string;
2541
+ };
2542
+ export interface Rate {
2543
+ meter: ObjectIdentity;
2544
+ /** The unit readings are reported in, such as `core-second`. */
2545
+ unit?: string;
2546
+ /** The dimension values this rate applies to, such as region and machine type. */
2547
+ dimensions: RateDimensions;
2548
+ billing_scheme: BillingScheme;
2549
+ /** `metered` prices usage; `licensed` prices holding a quantity for one period. */
2550
+ usage_type: UsageType;
2551
+ /** Licensed rates only, the period the amount buys; `none` for metered rates. */
2552
+ interval: RateInterval;
2553
+ /** @nullable */
2554
+ interval_count?: number | null;
2555
+ /** `graduated` charges each band at its own rate; `volume` charges everything at the rate of the band the total lands in. `none` for a `per_unit` rate. */
2556
+ tiers_mode: RateTiersMode;
2557
+ /** Present for `per_unit`. Tiered rates carry their amounts on the tiers. */
2558
+ unit_amount?: Money;
2559
+ /** Present for a tiered rate, in ascending order. */
2560
+ tiers?: Tier[];
2561
+ /** How many measured units one amount covers; an hourly rate on a per-second meter is `"3600"`. */
2562
+ unit_quantity?: string;
2563
+ currency: string;
2564
+ effective_from: string;
2565
+ /** @nullable */
2566
+ effective_to?: string | null;
2567
+ }
2568
+ export interface Price {
2569
+ /**
2570
+ * For a price that delegates to a rate card, the rates in effect now that it charges at, one for each meter, dimension values and period; metered rates for a metered price, and rates on its own meter and period for a licensed one. `search-prices` narrows them with `dimensions`. Null for a price with its own amounts. Prices are set per currency, and dimension values a currency does not offer, for example in a region it does not sell to, have no rate in that currency and cannot be bought with it.
2571
+ * @nullable
2572
+ */
2573
+ rates?: Rate[] | null;
2574
+ lookup_key?: string;
2575
+ product: Product;
2576
+ plan: ObjectIdentity;
2577
+ /** For a metered price with its own amounts, the meter it charges. For a licensed price, the meter its quantity is held on. Absent otherwise. */
2578
+ meter_id?: string;
2579
+ meter?: ObjectIdentity;
2580
+ unit_quantity: string;
2581
+ /** False once archived. An archived price cannot be bought until it is active again. */
2582
+ active: boolean;
2583
+ cancellation_policy?: CancellationPolicy;
2584
+ refund_policy?: RefundPolicy;
2585
+ /** Refund policy `short_rate` only, the factor applied to the value of the time used when a cancellation takes effect less than `short_rate_threshold_seconds` after the period start. */
2586
+ short_rate_multiplier?: string;
2587
+ /** Refund policy `short_rate` only, how long after the period start `short_rate_multiplier` applies. */
2588
+ short_rate_threshold_seconds?: number;
2589
+ product_id?: ProductID;
2590
+ id: string;
2591
+ plan_id: string;
2592
+ currency: string;
2593
+ type: PriceType;
2594
+ usage_type: UsageType;
2595
+ /** Absent when the price delegates to a rate card, where the rate depends on attributes such as region or machine type. */
2596
+ billing_scheme?: BillingScheme;
2597
+ /** Present for `per_unit`. */
2598
+ unit_amount?: Money;
2599
+ /** How a ladder is walked: `graduated` charges each band at its own rate, `volume` charges everything at the rate of the band the total falls in. `none` when not tiered. */
2600
+ tiers_mode?: PriceTiersMode;
2601
+ /** Present for `tiered`, in ascending order. */
2602
+ tiers?: Tier[];
2603
+ /** The smallest quantity that can be bought. Absent means no lower bound. */
2604
+ min_quantity?: string;
2605
+ /** The largest quantity that may be bought; absent when there is no limit. A larger quantity is refused with `BILLING_PRICE_INVALID` and `field` `max_quantity`. */
2606
+ max_quantity?: string;
2607
+ /** Quantities must be a multiple of this. Absent means any quantity within the bounds. */
2608
+ quantity_step?: string;
2609
+ /** For recurring licensed prices, how many interval units one period covers. */
2610
+ interval_count?: number;
2611
+ interval: PriceInterval;
2612
+ setup_fee?: Money;
2613
+ }
2614
+ export interface PriceList {
2615
+ items: Price[];
2616
+ pagination: OffsetPagination;
2617
+ }
2618
+ export type QuoteItemInputInterval = (typeof QuoteItemInputInterval)[keyof typeof QuoteItemInputInterval];
2619
+ export declare const QuoteItemInputInterval: {
2620
+ readonly none: "none";
2621
+ readonly day: "day";
2622
+ readonly month: "month";
2623
+ readonly year: "year";
2624
+ };
2625
+ /**
2626
+ * The dimension values of what is bought, such as region and instance type. Required whenever the price uses a rate card; prices with their own amounts ignore them. Every key the meter declares must be given. A combination no rate covers is refused with `BILLING_PRICE_UNAVAILABLE` rather than priced at zero. Prices are set per currency, and a currency may not offer some combinations at all, for example in a region it does not sell to.
2627
+ */
2628
+ export type QuoteItemInputDimensions = {
2629
+ [key: string]: string;
2630
+ };
2631
+ /**
2632
+ * Identify a price, or select one for a plan; give each resource's ID or lookup key, never both, and product_id with lookup keys. A metered item includes only any setup charge; its usage is estimated with `estimate-usage`.
2633
+ */
2634
+ export interface QuoteItemInput {
2635
+ /**
2636
+ * @minLength 1
2637
+ * @maxLength 128
2638
+ */
2639
+ price_lookup_key?: string;
2640
+ /**
2641
+ * @minLength 1
2642
+ * @maxLength 128
2643
+ */
2644
+ plan_lookup_key?: string;
2645
+ price_id?: string;
2646
+ product_id?: ProductID;
2647
+ plan_id?: string;
2648
+ /** Narrows the selection when a plan offers more than one price type. */
2649
+ price_type?: PriceType;
2650
+ /** Narrows the selection when a plan offers more than one usage type. */
2651
+ usage_type?: UsageType;
2652
+ interval?: QuoteItemInputInterval;
2653
+ /** @minimum 1 */
2654
+ interval_count?: number;
2655
+ /** Selects among licensed prices with otherwise identical billing terms. Ambiguous terms are refused instead of choosing a price arbitrarily. */
2656
+ cancellation_policy?: CancellationPolicy;
2657
+ /** @pattern ^(?:(?:[1-9][0-9]{0,27}|0(?:[1-9][0-9]{0,26}|0(?:[1-9][0-9]{0,25}|0(?:[1-9][0-9]{0,24}|0(?:[1-9][0-9]{0,23}|0(?:[1-9][0-9]{0,22}|0(?:[1-9][0-9]{0,21}|0(?:[1-9][0-9]{0,20}|0(?:[1-9][0-9]{0,19}|0(?:[1-9][0-9]{0,18}|0(?:[1-9][0-9]{0,17}|0(?:[1-9][0-9]{0,16}|0(?:[1-9][0-9]{0,15}|0(?:[1-9][0-9]{0,14}|0(?:[1-9][0-9]{0,13}|0(?:[1-9][0-9]{0,12}|0(?:[1-9][0-9]{0,11}|0(?:[1-9][0-9]{0,10}|0(?:[1-9][0-9]{0,9}|0(?:[1-9][0-9]{0,8}|0(?:[1-9][0-9]{0,7}|0(?:[1-9][0-9]{0,6}|0(?:[1-9][0-9]{0,5}|0(?:[1-9][0-9]{0,4}|0(?:[1-9][0-9]{0,3}|0(?:[1-9][0-9]{0,2}|0(?:[1-9][0-9]{0,1}|0[1-9])))))))))))))))))))))))))))([.][0-9]{1,10})?|0{1,28}[.](?:[1-9][0-9]{0,9}|0(?:[1-9][0-9]{0,8}|0(?:[1-9][0-9]{0,7}|0(?:[1-9][0-9]{0,6}|0(?:[1-9][0-9]{0,5}|0(?:[1-9][0-9]{0,4}|0(?:[1-9][0-9]{0,3}|0(?:[1-9][0-9]{0,2}|0(?:[1-9][0-9]{0,1}|0[1-9]))))))))))$ */
2658
+ quantity: string;
2659
+ /** The dimension values of what is bought, such as region and instance type. Required whenever the price uses a rate card; prices with their own amounts ignore them. Every key the meter declares must be given. A combination no rate covers is refused with `BILLING_PRICE_UNAVAILABLE` rather than priced at zero. Prices are set per currency, and a currency may not offer some combinations at all, for example in a region it does not sell to. */
2660
+ dimensions?: QuoteItemInputDimensions;
2661
+ }
2662
+ /**
2663
+ * The values of the meter's presentation dimensions, present only when grouped by meter.
2664
+ */
2665
+ export type SpendRowDimensions = {
2666
+ [key: string]: string;
2667
+ };
2668
+ export interface SpendRow {
2669
+ product?: Product;
2670
+ plan_id?: string;
2671
+ plan_name?: string;
2672
+ /** Present only when grouped by resource. */
2673
+ resource_id?: string;
2674
+ /** Present only when grouped by meter. */
2675
+ meter?: ObjectIdentity;
2676
+ /** Present only when grouped by meter. */
2677
+ unit?: string;
2678
+ /** Net usage quantity, present only when grouped by meter. */
2679
+ quantity?: string;
2680
+ /** The values of the meter's presentation dimensions, present only when grouped by meter. */
2681
+ dimensions?: SpendRowDimensions;
2682
+ amount: Money;
2683
+ currency: string;
2684
+ }
2685
+ export interface SpendRowList {
2686
+ items: SpendRow[];
2687
+ /** The total over all matching groups, not only the page returned. */
2688
+ total: Money;
2689
+ currency: string;
2690
+ pagination: OffsetPagination;
2691
+ }
2692
+ export type ActiveResourceDimensions = {
2693
+ [key: string]: string;
2694
+ };
2695
+ export type ActiveResourceStatus = (typeof ActiveResourceStatus)[keyof typeof ActiveResourceStatus];
2696
+ export declare const ActiveResourceStatus: {
2697
+ readonly active: "active";
2698
+ readonly suspended: "suspended";
2699
+ readonly closing: "closing";
2700
+ readonly closed: "closed";
2701
+ };
2702
+ /**
2703
+ * A resource charged continuously by the second.
2704
+ */
2705
+ export interface ActiveResource {
2706
+ id: string;
2707
+ ended_at?: string;
2708
+ suspended_at?: string;
2709
+ state_changed_at?: string;
2710
+ /** The metered subscription charged for this metering record. */
2711
+ subscription_id: string;
2712
+ resource_id: string;
2713
+ product: Product;
2714
+ /** The resource type, as the owning service names it. */
2715
+ resource_type?: string;
2716
+ meter: ObjectIdentity;
2717
+ unit?: string;
2718
+ /** How much is held, such as cores, MiB or cards; not how much was used. */
2719
+ quantity: string;
2720
+ dimensions?: ActiveResourceDimensions;
2721
+ status: ActiveResourceStatus;
2722
+ started_at: string;
2723
+ project_id?: string;
2724
+ /** Usage has been generated up to this boundary; it says nothing about invoicing or payment. */
2725
+ usage_generated_until: string;
2726
+ }
2727
+ export interface ActiveResourceList {
2728
+ items: ActiveResource[];
2729
+ pagination: OffsetPagination;
2730
+ }
2731
+ /**
2732
+ * An estimated refund to the original payment sources. Before acceptance, cancellation returns the collected amount. For delivered service, only value paid by this order is included; renewals are evaluated with their own orders under the agreed cancellation terms. Nothing is refunded by the quote; the amount is fixed when cancellation or termination is confirmed.
2733
+ */
2734
+ export interface OrderRefundPreview {
2735
+ order_id: string;
2736
+ refundable_amount: Money;
2737
+ refund_amount: Money;
2738
+ credit_amount: Money;
2739
+ currency: string;
2740
+ }
2741
+ /**
2742
+ * The dimension values of the usage, such as region or token kind. Every key the meter declares must be given; a combination no rate covers is refused rather than priced at zero.
2743
+ */
2744
+ export type UsageEstimateInputDimensions = {
2745
+ [key: string]: string;
2746
+ };
2747
+ /**
2748
+ * Future usage of one metered price. Give the price, or the plan to use its metered price in the currency, and the meter that measures the usage; give each resource's ID or lookup key, never both, and product_id with lookup keys.
2749
+ */
2750
+ export interface UsageEstimateInput {
2751
+ product_id?: ProductID;
2752
+ plan_id?: string;
2753
+ /**
2754
+ * @minLength 1
2755
+ * @maxLength 128
2756
+ */
2757
+ plan_lookup_key?: string;
2758
+ price_id?: string;
2759
+ /**
2760
+ * @minLength 1
2761
+ * @maxLength 128
2762
+ */
2763
+ price_lookup_key?: string;
2764
+ meter_id?: string;
2765
+ /**
2766
+ * @minLength 1
2767
+ * @maxLength 128
2768
+ */
2769
+ meter_lookup_key?: string;
2770
+ /** The dimension values of the usage, such as region or token kind. Every key the meter declares must be given; a combination no rate covers is refused rather than priced at zero. */
2771
+ dimensions?: UsageEstimateInputDimensions;
2772
+ /**
2773
+ * Decimal string. Positive.
2774
+ * @pattern ^[0-9]{1,28}([.][0-9]{1,10})?$
2775
+ */
2776
+ quantity: string;
2777
+ /**
2778
+ * For a duration meter, how long the quantity is held; the priced quantity is `quantity` times this duration.
2779
+ * @minimum 1
2780
+ */
2781
+ duration_seconds?: number;
2782
+ }
2783
+ export interface UsageEstimateRequest {
2784
+ /**
2785
+ * The ISO 4217 currency to price in.
2786
+ * @minLength 3
2787
+ * @maxLength 3
2788
+ */
2789
+ currency: string;
2790
+ /**
2791
+ * @minItems 1
2792
+ * @maxItems 100
2793
+ */
2794
+ items: UsageEstimateInput[];
2795
+ }
2796
+ export interface UsageEstimateItem {
2797
+ /**
2798
+ * The zero-based request item this answers.
2799
+ * @minimum 0
2800
+ */
2801
+ index: number;
2802
+ price_id: string;
2803
+ meter_id: string;
2804
+ /** The quantity priced. */
2805
+ quantity: string;
2806
+ /** Null when the matched rates do not have a single unit price, for example a tiered rate. */
2807
+ unit_amount: Money | null;
2808
+ /**
2809
+ * The quantity unit_amount is for; null with unit_amount.
2810
+ * @nullable
2811
+ */
2812
+ unit_quantity: string | null;
2813
+ /** Before discounts and tax, unrounded. */
2814
+ amount: Money;
2815
+ }
2816
+ export interface UsageEstimate {
2817
+ currency: string;
2818
+ /** The sum of the items' amounts. */
2819
+ amount: Money;
2820
+ /** One per request item, in request order. */
2821
+ items: UsageEstimateItem[];
2822
+ }
2823
+ /**
2824
+ * When the changes take effect; defaults to `immediate`. `immediate` prices the rest of the paid period from `proration_date`, charging an upgrade the difference and showing what a downgrade refunds. `period_end` prices the first period at the new terms, which replaces the renewal when the paid period ends.
2825
+ */
2826
+ export type QuoteRequestChangeEffective = (typeof QuoteRequestChangeEffective)[keyof typeof QuoteRequestChangeEffective];
2827
+ export declare const QuoteRequestChangeEffective: {
2828
+ readonly immediate: "immediate";
2829
+ readonly period_end: "period_end";
2830
+ };
2831
+ export type QuoteChangeInputInterval = (typeof QuoteChangeInputInterval)[keyof typeof QuoteChangeInputInterval];
2832
+ export declare const QuoteChangeInputInterval: {
2833
+ readonly none: "none";
2834
+ readonly day: "day";
2835
+ readonly month: "month";
2836
+ readonly year: "year";
2837
+ };
2838
+ /**
2839
+ * The dimension values after the change, given in full; omit to keep the subscription's.
2840
+ */
2841
+ export type QuoteChangeInputDimensions = {
2842
+ [key: string]: string;
2843
+ };
2844
+ /**
2845
+ * The new terms of one subscription. Identify the price, or the plan to select one from, as for a proposed item. Without a price or billing terms, the plan's price with the subscription's price type, usage type, interval, interval count and cancellation policy is selected. Omitted dimensions keep the subscription's.
2846
+ */
2847
+ export interface QuoteChangeInput {
2848
+ subscription_id: string;
2849
+ /**
2850
+ * @minLength 1
2851
+ * @maxLength 128
2852
+ */
2853
+ price_lookup_key?: string;
2854
+ /**
2855
+ * @minLength 1
2856
+ * @maxLength 128
2857
+ */
2858
+ plan_lookup_key?: string;
2859
+ price_id?: string;
2860
+ product_id?: ProductID;
2861
+ plan_id?: string;
2862
+ /** Selects the price type instead of keeping the subscription's. */
2863
+ price_type?: PriceType;
2864
+ /** Selects the usage type instead of keeping the subscription's. */
2865
+ usage_type?: UsageType;
2866
+ interval?: QuoteChangeInputInterval;
2867
+ /** @minimum 1 */
2868
+ interval_count?: number;
2869
+ /** Selects among licensed prices with otherwise identical billing terms. */
2870
+ cancellation_policy?: CancellationPolicy;
2871
+ /**
2872
+ * The quantity after the change.
2873
+ * @pattern ^(?:(?:[1-9][0-9]{0,27}|0(?:[1-9][0-9]{0,26}|0(?:[1-9][0-9]{0,25}|0(?:[1-9][0-9]{0,24}|0(?:[1-9][0-9]{0,23}|0(?:[1-9][0-9]{0,22}|0(?:[1-9][0-9]{0,21}|0(?:[1-9][0-9]{0,20}|0(?:[1-9][0-9]{0,19}|0(?:[1-9][0-9]{0,18}|0(?:[1-9][0-9]{0,17}|0(?:[1-9][0-9]{0,16}|0(?:[1-9][0-9]{0,15}|0(?:[1-9][0-9]{0,14}|0(?:[1-9][0-9]{0,13}|0(?:[1-9][0-9]{0,12}|0(?:[1-9][0-9]{0,11}|0(?:[1-9][0-9]{0,10}|0(?:[1-9][0-9]{0,9}|0(?:[1-9][0-9]{0,8}|0(?:[1-9][0-9]{0,7}|0(?:[1-9][0-9]{0,6}|0(?:[1-9][0-9]{0,5}|0(?:[1-9][0-9]{0,4}|0(?:[1-9][0-9]{0,3}|0(?:[1-9][0-9]{0,2}|0(?:[1-9][0-9]{0,1}|0[1-9])))))))))))))))))))))))))))([.][0-9]{1,10})?|0{1,28}[.](?:[1-9][0-9]{0,9}|0(?:[1-9][0-9]{0,8}|0(?:[1-9][0-9]{0,7}|0(?:[1-9][0-9]{0,6}|0(?:[1-9][0-9]{0,5}|0(?:[1-9][0-9]{0,4}|0(?:[1-9][0-9]{0,3}|0(?:[1-9][0-9]{0,2}|0(?:[1-9][0-9]{0,1}|0[1-9]))))))))))$
2874
+ */
2875
+ quantity: string;
2876
+ /** The dimension values after the change, given in full; omit to keep the subscription's. */
2877
+ dimensions?: QuoteChangeInputDimensions;
2878
+ }
2879
+ export interface QuoteAddress {
2880
+ /**
2881
+ * ISO 3166-1 alpha-2, two uppercase letters.
2882
+ * @pattern ^[A-Z]{2}$
2883
+ */
2884
+ country: string;
2885
+ /**
2886
+ * The state or province, as the tax rates name it.
2887
+ * @minLength 1
2888
+ * @maxLength 128
2889
+ */
2890
+ state?: string;
2891
+ }
2892
+ /**
2893
+ * Quote proposed items, changes or renewals: exactly one of them. Give exactly one of `billing_account_id` and `currency`; changes and renewals need the account. Promotion codes apply to proposed items and changes. An invalid combination fails with `BILLING_PURCHASE_INVALID` and the field.
2894
+ */
2895
+ export interface QuoteRequest {
2896
+ /**
2897
+ * The billing account to price for; it must be yours or currently pay for a project you are a member of, and an access token is required. Renewals must currently be paid by it.
2898
+ * @minimum 1
2899
+ */
2900
+ billing_account_id?: number;
2901
+ /**
2902
+ * The ISO 4217 currency to price in without an account.
2903
+ * @minLength 3
2904
+ * @maxLength 3
2905
+ */
2906
+ currency?: string;
2907
+ /**
2908
+ * A proposed purchase.
2909
+ * @minItems 1
2910
+ * @maxItems 100
2911
+ */
2912
+ items?: QuoteItemInput[];
2913
+ /**
2914
+ * Preview renewing these subscriptions, each at most once; each entry is a separate renewal order. Each must currently be paid by `billing_account_id` and be yours to read, as the owner of that account or a member of the subscription's project. To apply a promotion code, create a renewal Checkout Session and quote it.
2915
+ * @minItems 1
2916
+ * @maxItems 100
2917
+ */
2918
+ renewals?: QuoteRenewal[];
2919
+ /**
2920
+ * Preview changing these subscriptions in one order, each at most once. Each must currently be paid by `billing_account_id` and be yours to read, as the owner of that account or a member of the subscription's project; all must belong to the same project, or all to no project.
2921
+ * @minItems 1
2922
+ * @maxItems 100
2923
+ */
2924
+ changes?: QuoteChangeInput[];
2925
+ /** When the changes take effect; defaults to `immediate`. `immediate` prices the rest of the paid period from `proration_date`, charging an upgrade the difference and showing what a downgrade refunds. `period_end` prices the first period at the new terms, which replaces the renewal when the paid period ends. */
2926
+ change_effective?: QuoteRequestChangeEffective;
2927
+ /** Only with `currency`. Where the customer is, to include the tax that would be added there for a customer who is not tax exempt; `tax_status` is then `complete`. Refused with `billing_account_id`, whose invoice contact decides tax. */
2928
+ address?: QuoteAddress;
2929
+ /**
2930
+ * @minLength 1
2931
+ * @maxLength 64
2932
+ */
2933
+ promotion_code?: string;
2934
+ }
2935
+ /**
2936
+ * Pagination metadata for keyset traversal. Pass next_cursor as cursor to read the following page; null means there is no following page.
2937
+ */
2938
+ export interface CursorPagination {
2939
+ /** @minimum 1 */
2940
+ page_size: number;
2941
+ /** @nullable */
2942
+ next_cursor?: string | null;
2943
+ }
2944
+ export interface WithdrawalAllocation {
2945
+ source_transaction_id: string;
2946
+ /** @pattern ^[0-9]{1,15}([.][0-9]{1,10})?$ */
2947
+ amount: string;
2948
+ /** @pattern ^[0-9]{1,15}([.][0-9]{1,10})?$ */
2949
+ fee_amount: string;
2950
+ /** @pattern ^[0-9]{1,15}([.][0-9]{1,10})?$ */
2951
+ refund_amount: string;
2952
+ }
2953
+ export type WithdrawalItemStatus = (typeof WithdrawalItemStatus)[keyof typeof WithdrawalItemStatus];
2954
+ export declare const WithdrawalItemStatus: {
2955
+ readonly pending: "pending";
2956
+ readonly succeeded: "succeeded";
2957
+ readonly failed: "failed";
2958
+ readonly reversed: "reversed";
2959
+ };
2960
+ /**
2961
+ * The original top-up and where its refund goes. Card details are included when the original payment method was saved.
2962
+ */
2963
+ export interface WithdrawalSource {
2964
+ /** @pattern ^[0-9]{1,15}([.][0-9]{1,10})?$ */
2965
+ amount: string;
2966
+ /**
2967
+ * @minLength 3
2968
+ * @maxLength 3
2969
+ */
2970
+ currency: string;
2971
+ received_at: string;
2972
+ payment_gateway: string;
2973
+ method_type: string;
2974
+ card_brand?: string;
2975
+ /** @pattern ^[0-9]{4}$ */
2976
+ card_last4?: string;
2977
+ }
2978
+ /**
2979
+ * For one original top-up: the principal deducted, the withdrawal fee and the amount refunded, through its own refund. payment_gateway and method_type identify the original route.
2980
+ */
2981
+ export interface WithdrawalItem {
2982
+ source_transaction_id: string;
2983
+ /** @pattern ^[0-9]{1,15}([.][0-9]{1,10})?$ */
2984
+ amount: string;
2985
+ /** @pattern ^[0-9]{1,15}([.][0-9]{1,10})?$ */
2986
+ fee_amount: string;
2987
+ /** @pattern ^[0-9]{1,15}([.][0-9]{1,10})?$ */
2988
+ refund_amount: string;
2989
+ id: string;
2990
+ withdrawal_id: string;
2991
+ billing_account_id: number;
2992
+ /**
2993
+ * @minLength 3
2994
+ * @maxLength 3
2995
+ */
2996
+ currency: string;
2997
+ refund_id: string;
2998
+ fee_transaction_id?: string;
2999
+ status: WithdrawalItemStatus;
3000
+ completed_at?: string;
3001
+ payment_gateway: string;
3002
+ method_type: string;
3003
+ source: WithdrawalSource;
3004
+ /** The gateway's failure code when a refund failed, or `refund_reversed` when a completed refund was reversed. Absent while pending or successful. */
3005
+ failure_code?: string;
3006
+ }
3007
+ export type WithdrawalStatus = (typeof WithdrawalStatus)[keyof typeof WithdrawalStatus];
3008
+ export declare const WithdrawalStatus: {
3009
+ readonly pending: "pending";
3010
+ readonly processing: "processing";
3011
+ readonly succeeded: "succeeded";
3012
+ readonly partially_completed: "partially_completed";
3013
+ readonly failed: "failed";
3014
+ readonly reversed: "reversed";
3015
+ };
3016
+ /**
3017
+ * A withdrawal of account balance to the original payment methods of its unused top-ups. Accepted amounts are fixed. deducted_amount, settled_amount and charged_fee_amount cover completed items. A failed item releases its principal and fee; successful items stand when another item fails.
3018
+ */
3019
+ export interface Withdrawal {
3020
+ id: string;
3021
+ billing_account_id: number;
3022
+ /**
3023
+ * @minLength 3
3024
+ * @maxLength 3
3025
+ */
3026
+ currency: string;
3027
+ /** @pattern ^[0-9]{1,15}([.][0-9]{1,10})?$ */
3028
+ amount: string;
3029
+ /** @pattern ^[0-9]{1,15}([.][0-9]{1,10})?$ */
3030
+ fee_amount: string;
3031
+ /** @pattern ^[0-9]{1,15}([.][0-9]{1,10})?$ */
3032
+ refund_amount: string;
3033
+ /** @pattern ^[0-9]{1,15}([.][0-9]{1,10})?$ */
3034
+ deducted_amount: string;
3035
+ /** @pattern ^[0-9]{1,15}([.][0-9]{1,10})?$ */
3036
+ settled_amount: string;
3037
+ /** @pattern ^[0-9]{1,15}([.][0-9]{1,10})?$ */
3038
+ charged_fee_amount: string;
3039
+ status: WithdrawalStatus;
3040
+ created_at: string;
3041
+ completed_at?: string;
3042
+ /** Who submitted the withdrawal; may differ from the account owner. */
3043
+ created_by?: string;
3044
+ }
3045
+ export interface WithdrawalPreviewItem {
3046
+ source_transaction_id: string;
3047
+ /** @pattern ^[0-9]{1,15}([.][0-9]{1,10})?$ */
3048
+ amount: string;
3049
+ /** @pattern ^[0-9]{1,15}([.][0-9]{1,10})?$ */
3050
+ fee_amount: string;
3051
+ /** @pattern ^[0-9]{1,15}([.][0-9]{1,10})?$ */
3052
+ refund_amount: string;
3053
+ source: WithdrawalSource;
3054
+ }
3055
+ export interface WithdrawalPreview {
3056
+ billing_account_id: number;
3057
+ /**
3058
+ * @minLength 3
3059
+ * @maxLength 3
3060
+ */
3061
+ currency: string;
3062
+ /** @pattern ^[0-9]{1,15}([.][0-9]{1,10})?$ */
3063
+ available_amount: string;
3064
+ /** @pattern ^[0-9]{1,15}([.][0-9]{1,10})?$ */
3065
+ amount: string;
3066
+ /** @pattern ^[0-9]{1,15}([.][0-9]{1,10})?$ */
3067
+ fee_amount: string;
3068
+ /** @pattern ^[0-9]{1,15}([.][0-9]{1,10})?$ */
3069
+ refund_amount: string;
3070
+ /** @maxItems 200 */
3071
+ items: WithdrawalPreviewItem[];
3072
+ }
3073
+ export interface WithdrawalPreviewRequest {
3074
+ billing_account_id: number;
3075
+ /** @pattern ^[0-9]{1,15}([.][0-9]{1,10})?$ */
3076
+ amount?: string;
3077
+ }
3078
+ export interface WithdrawalCreate {
3079
+ id: string;
3080
+ billing_account_id: number;
3081
+ /** @pattern ^[0-9]{1,15}([.][0-9]{1,10})?$ */
3082
+ amount: string;
3083
+ /** @pattern ^[0-9]{1,15}([.][0-9]{1,10})?$ */
3084
+ expected_refund_amount: string;
3085
+ /**
3086
+ * @minItems 1
3087
+ * @maxItems 200
3088
+ */
3089
+ expected_items: WithdrawalAllocation[];
3090
+ }
3091
+ export interface WithdrawalList {
3092
+ items: Withdrawal[];
3093
+ pagination: OffsetPagination;
3094
+ }
3095
+ export interface WithdrawalItemList {
3096
+ items: WithdrawalItem[];
3097
+ pagination: OffsetPagination;
3098
+ }
3099
+ /**
3100
+ * How tax applies to the customer, as in Stripe: `none` taxes normally, `exempt` charges no tax, `reverse` charges no tax under the reverse-charge mechanism, stated on invoices. Only operators change it.
3101
+ */
3102
+ export type ContactTaxExempt = (typeof ContactTaxExempt)[keyof typeof ContactTaxExempt];
3103
+ export declare const ContactTaxExempt: {
3104
+ readonly none: "none";
3105
+ readonly exempt: "exempt";
3106
+ readonly reverse: "reverse";
3107
+ };
3108
+ /**
3109
+ * A contact of a billing account with one address. An account can hold several; a contact is not a login.
3110
+ */
3111
+ export interface Contact {
3112
+ id: string;
3113
+ billing_account_id: number;
3114
+ /**
3115
+ * @minLength 1
3116
+ * @maxLength 255
3117
+ */
3118
+ name: string;
3119
+ /** @maxLength 255 */
3120
+ legal_name?: string;
3121
+ /** @maxLength 255 */
3122
+ email?: string;
3123
+ /** @maxLength 64 */
3124
+ tax_id?: string;
3125
+ /** @maxLength 255 */
3126
+ address_line1?: string;
3127
+ /** @maxLength 255 */
3128
+ address_line2?: string;
3129
+ /** @maxLength 128 */
3130
+ address_city?: string;
3131
+ /** @maxLength 128 */
3132
+ address_state?: string;
3133
+ /** @maxLength 32 */
3134
+ address_postal_code?: string;
3135
+ /** @pattern ^([A-Z]{2})?$ */
3136
+ address_country?: string;
3137
+ /** How tax applies to the customer, as in Stripe: `none` taxes normally, `exempt` charges no tax, `reverse` charges no tax under the reverse-charge mechanism, stated on invoices. Only operators change it. */
3138
+ tax_exempt: ContactTaxExempt;
3139
+ active: boolean;
3140
+ created_at: string;
3141
+ }
3142
+ export interface ContactCreate {
3143
+ /**
3144
+ * @minLength 1
3145
+ * @maxLength 255
3146
+ */
3147
+ name: string;
3148
+ /** @maxLength 255 */
3149
+ legal_name?: string;
3150
+ /** @maxLength 255 */
3151
+ email?: string;
3152
+ /** @maxLength 64 */
3153
+ tax_id?: string;
3154
+ /** @maxLength 255 */
3155
+ address_line1?: string;
3156
+ /** @maxLength 255 */
3157
+ address_line2?: string;
3158
+ /** @maxLength 128 */
3159
+ address_city?: string;
3160
+ /** @maxLength 128 */
3161
+ address_state?: string;
3162
+ /** @maxLength 32 */
3163
+ address_postal_code?: string;
3164
+ /** @pattern ^([A-Z]{2})?$ */
3165
+ address_country?: string;
3166
+ }
3167
+ export interface ContactUpdate {
3168
+ /**
3169
+ * @minLength 1
3170
+ * @maxLength 255
3171
+ */
3172
+ name?: string;
3173
+ /** @maxLength 255 */
3174
+ legal_name?: string;
3175
+ /** @maxLength 255 */
3176
+ email?: string;
3177
+ /** @maxLength 64 */
3178
+ tax_id?: string;
3179
+ /** @maxLength 255 */
3180
+ address_line1?: string;
3181
+ /** @maxLength 255 */
3182
+ address_line2?: string;
3183
+ /** @maxLength 128 */
3184
+ address_city?: string;
3185
+ /** @maxLength 128 */
3186
+ address_state?: string;
3187
+ /** @maxLength 32 */
3188
+ address_postal_code?: string;
3189
+ /** @pattern ^([A-Z]{2})?$ */
3190
+ address_country?: string;
3191
+ active?: boolean;
3192
+ }
3193
+ export interface ContactList {
3194
+ items: Contact[];
3195
+ pagination: OffsetPagination;
3196
+ }
3197
+ export type PriceSearchDimensionsItem = {
3198
+ [key: string]: string;
3199
+ };
3200
+ /**
3201
+ * Conditions combined with AND.
3202
+ */
3203
+ export interface PriceSearch {
3204
+ /**
3205
+ * ISO 4217, three uppercase letters.
3206
+ * @minLength 3
3207
+ * @maxLength 3
3208
+ */
3209
+ currency: string;
3210
+ /**
3211
+ * Only these prices, such as the prices another service names.
3212
+ * @minItems 1
3213
+ * @maxItems 200
3214
+ */
3215
+ ids?: string[];
3216
+ /**
3217
+ * Only prices of these plans.
3218
+ * @minItems 1
3219
+ * @maxItems 200
3220
+ */
3221
+ plan_ids?: string[];
3222
+ product_id?: ProductID;
3223
+ /** Narrows to one price type. */
3224
+ type?: PriceType;
3225
+ /** Narrows to one usage type. */
3226
+ usage_type?: UsageType;
3227
+ /**
3228
+ * Narrows each price's `rates` to these dimension value sets, given as on order lines and usage; prices are not filtered by it. A set no rate has adds nothing.
3229
+ * @minItems 1
3230
+ * @maxItems 200
3231
+ */
3232
+ dimensions?: PriceSearchDimensionsItem[];
3233
+ /**
3234
+ * 1-based page number. Defaults to 1.
3235
+ * @minimum 1
3236
+ * @maximum 2147483647
3237
+ */
3238
+ page?: number;
3239
+ /**
3240
+ * Items per page. Defaults to 50; at most 200.
3241
+ * @minimum 1
3242
+ * @maximum 200
3243
+ */
3244
+ page_size?: number;
3245
+ }
3246
+ export interface CancelSubscriptionRequest {
3247
+ mode: CancellationMode;
3248
+ /** For immediate cancellation, the preview's `proration_date`, the whole second the refund is computed as of. Now when omitted. */
3249
+ proration_date?: string;
3250
+ /** The preview's `refundable_amount`, including an explicit zero. */
3251
+ expected_refundable_amount: Money & string;
3252
+ /** @maxLength 1024 */
3253
+ reason?: string;
3254
+ }
3255
+ export interface StatementAmounts {
3256
+ subtotal: Money;
3257
+ discount_amount: Money;
3258
+ tax_amount: Money;
3259
+ total: Money;
3260
+ /** Added to total to round the invoiced amount to the currency's minor unit. Zero for an open statement's estimate. */
3261
+ rounding_amount: Money;
3262
+ }
3263
+ /**
3264
+ * One billing account's usage billing for one UTC calendar month, summed over its statements. Not payable itself; each statement's invoice is collected on its own.
3265
+ */
3266
+ export interface MonthlyStatement {
3267
+ billing_account_id: number;
3268
+ currency: string;
3269
+ period_start: string;
3270
+ period_end: string;
3271
+ /** True after the period's final closing, which applies the month's minimum charges. Usage priced later is billed in supplement statements and added here. */
3272
+ finalized: boolean;
3273
+ finalized_at?: string;
3274
+ /** Statements of the period, including the open one. */
3275
+ statement_count: number;
3276
+ billed: StatementAmounts;
3277
+ credited_amount: Money;
3278
+ unbilled?: StatementAmounts;
3279
+ credit_applied: Money;
3280
+ amount_paid: Money;
3281
+ amount_due: Money;
3282
+ amount_refunded: Money;
3283
+ }
3284
+ export interface MonthlyStatementList {
3285
+ items: MonthlyStatement[];
3286
+ pagination: OffsetPagination;
3287
+ }
3288
+ export type StatementStatus = (typeof StatementStatus)[keyof typeof StatementStatus];
3289
+ export declare const StatementStatus: {
3290
+ readonly open: "open";
3291
+ readonly closed: "closed";
3292
+ };
3293
+ /**
3294
+ * `interim`: a closing before the period's usage is final, without minimum charges. `final`: the first closing after the period ended and its late usage was settled, applying the period's minimum charges. `supplement`: a closing after the final one, for usage priced late. An open statement is interim.
3295
+ */
3296
+ export type StatementType = (typeof StatementType)[keyof typeof StatementType];
3297
+ export declare const StatementType: {
3298
+ readonly interim: "interim";
3299
+ readonly final: "final";
3300
+ readonly supplement: "supplement";
3301
+ };
3302
+ /**
3303
+ * An account's consumption for one billing period up to one closing. Usage is invoiced after every settlement run, about hourly: each closing issues an invoice for the usage priced since the previous one and collects it from credits and balance, and later usage goes into the next statement of the same period. A closed statement does not change. The period's consumption is the sum of its statements.
3304
+ */
3305
+ export interface Statement {
3306
+ id: string;
3307
+ billing_account_id: number;
3308
+ currency: string;
3309
+ period_start: string;
3310
+ period_end: string;
3311
+ /** Increases with each closing of the period. */
3312
+ sequence: number;
3313
+ status: StatementStatus;
3314
+ type: StatementType;
3315
+ /** True while the statement is open. The estimate prices the period's usage so far at tier prices and adds tax for the current invoice contact. Minimum charges are added at the period's final closing, and a tier reduction larger than this statement's charges is credited to the period's earlier invoices at closing. */
3316
+ estimated: boolean;
3317
+ amounts: StatementAmounts;
3318
+ closed_at?: string;
3319
+ /** The invoice issued at this closing, when it produced one. */
3320
+ invoice_id?: string;
3321
+ created_at: string;
3322
+ calculated_at?: string;
3323
+ credited_amount: Money;
3324
+ }
3325
+ export interface StatementList {
3326
+ items: Statement[];
3327
+ pagination: OffsetPagination;
3328
+ }
3329
+ /**
3330
+ * The values of the meter's presentation dimensions, such as the model and token kind. Included only when grouping by meter, which splits each meter by these values.
3331
+ */
3332
+ export type StatementItemDimensions = {
3333
+ [key: string]: string;
3334
+ };
3335
+ export interface StatementItem {
3336
+ project_id?: string;
3337
+ product_id?: string;
3338
+ meter_id?: string;
3339
+ unit?: string;
3340
+ /** The values of the meter's presentation dimensions, such as the model and token kind. Included only when grouping by meter, which splits each meter by these values. */
3341
+ dimensions?: StatementItemDimensions;
3342
+ /** Net usage quantity. Included only when grouping by meter. */
3343
+ quantity?: string;
3344
+ deducted_quantity?: string;
3345
+ amount: Money;
3346
+ }
3347
+ export type StatementSummaryGroupBy = (typeof StatementSummaryGroupBy)[keyof typeof StatementSummaryGroupBy];
3348
+ export declare const StatementSummaryGroupBy: {
3349
+ readonly project: "project";
3350
+ readonly product: "product";
3351
+ readonly meter: "meter";
3352
+ };
3353
+ export interface StatementSummary {
3354
+ statement_id: string;
3355
+ currency: string;
3356
+ estimated: boolean;
3357
+ calculated_at?: string;
3358
+ group_by: StatementSummaryGroupBy;
3359
+ items: StatementItem[];
3360
+ pagination: OffsetPagination;
3361
+ }
3362
+ /**
3363
+ * Error
3364
+ */
3365
+ export type ErrorResponse = Error;
3366
+ /**
3367
+ * Unchanged since the given `ETag`; no body.
3368
+ */
3369
+ export type NotModifiedResponse = void;
3370
+ export type FromParameter = string;
3371
+ /**
3372
+ * Exclusive.
3373
+ */
3374
+ export type ToParameter = string;
3375
+ /**
3376
+ * Only this account; all of yours when omitted.
3377
+ */
3378
+ export type AccountIdQueryParameter = number;
3379
+ /**
3380
+ * The `ETag` of an earlier response. When the catalogue has not changed since, the response is `304` with no body.
3381
+ */
3382
+ export type IfNoneMatchParameter = string;
3383
+ export type FromRequiredParameter = string;
3384
+ /**
3385
+ * Exclusive. One month is `[2026-09-01, 2026-10-01)`.
3386
+ */
3387
+ export type ToRequiredParameter = string;
3388
+ /**
3389
+ * Only records of these projects. Omit for all projects and account-level records of your billing accounts. Where an operation is open to project members, each project must be assigned to a billing account you own or have you as a member, and a member sees the records of the project that the owner of its current billing account sees.
3390
+ */
3391
+ export type ProjectIdsQueryParameter = string[];
3392
+ export type ListWithdrawalItemsParams = {
3393
+ /**
3394
+ * 1-based page number. Defaults to 1.
3395
+ * @minimum 1
3396
+ * @maximum 2147483647
3397
+ */
3398
+ page?: number;
3399
+ /**
3400
+ * Items per page. Defaults to 50; at most 200.
3401
+ * @minimum 1
3402
+ * @maximum 200
3403
+ */
3404
+ page_size?: number;
3405
+ };
3406
+ export type ListWithdrawalsParams = {
3407
+ /**
3408
+ * 1-based page number. Defaults to 1.
3409
+ * @minimum 1
3410
+ * @maximum 2147483647
3411
+ */
3412
+ page?: number;
3413
+ /**
3414
+ * Items per page. Defaults to 50; at most 200.
3415
+ * @minimum 1
3416
+ * @maximum 200
3417
+ */
3418
+ page_size?: number;
3419
+ billing_account_id?: number;
3420
+ };
3421
+ export type ListContactsParams = {
3422
+ /**
3423
+ * 1-based page number. Defaults to 1.
3424
+ * @minimum 1
3425
+ * @maximum 2147483647
3426
+ */
3427
+ page?: number;
3428
+ /**
3429
+ * Items per page. Defaults to 50; at most 200.
3430
+ * @minimum 1
3431
+ * @maximum 200
3432
+ */
3433
+ page_size?: number;
3434
+ };
3435
+ export type ListCurrenciesParams = {
3436
+ /**
3437
+ * 1-based page number. Defaults to 1.
3438
+ * @minimum 1
3439
+ * @maximum 2147483647
3440
+ */
3441
+ page?: number;
3442
+ /**
3443
+ * Items per page. Defaults to 50; at most 200.
3444
+ * @minimum 1
3445
+ * @maximum 200
3446
+ */
3447
+ page_size?: number;
3448
+ };
3449
+ export type ListBillingAccountsParams = {
3450
+ /**
3451
+ * 1-based page number. Defaults to 1.
3452
+ * @minimum 1
3453
+ * @maximum 2147483647
3454
+ */
3455
+ page?: number;
3456
+ /**
3457
+ * Items per page. Defaults to 50; at most 200.
3458
+ * @minimum 1
3459
+ * @maximum 200
3460
+ */
3461
+ page_size?: number;
3462
+ };
3463
+ export type ListPaymentOptionsParams = {
3464
+ /**
3465
+ * 1-based page number. Defaults to 1.
3466
+ * @minimum 1
3467
+ * @maximum 2147483647
3468
+ */
3469
+ page?: number;
3470
+ /**
3471
+ * Items per page. Defaults to 50; at most 200.
3472
+ * @minimum 1
3473
+ * @maximum 200
3474
+ */
3475
+ page_size?: number;
3476
+ };
3477
+ export type ListProjectAssignmentsParams = {
3478
+ /**
3479
+ * 1-based page number. Defaults to 1.
3480
+ * @minimum 1
3481
+ * @maximum 2147483647
3482
+ */
3483
+ page?: number;
3484
+ /**
3485
+ * Items per page. Defaults to 50; at most 200.
3486
+ * @minimum 1
3487
+ * @maximum 200
3488
+ */
3489
+ page_size?: number;
3490
+ billing_account_id?: number;
3491
+ /**
3492
+ * Only records of these projects. Omit for all projects and account-level records of your billing accounts. Where an operation is open to project members, each project must be assigned to a billing account you own or have you as a member, and a member sees the records of the project that the owner of its current billing account sees.
3493
+ * @minItems 1
3494
+ * @maxItems 100
3495
+ */
3496
+ project_ids?: ProjectIdsQueryParameter;
3497
+ };
3498
+ export type ListTopUpsParams = {
3499
+ /**
3500
+ * 1-based page number. Defaults to 1.
3501
+ * @minimum 1
3502
+ * @maximum 2147483647
3503
+ */
3504
+ page?: number;
3505
+ /**
3506
+ * Items per page. Defaults to 50; at most 200.
3507
+ * @minimum 1
3508
+ * @maximum 200
3509
+ */
3510
+ page_size?: number;
3511
+ /**
3512
+ * Only this account; all of yours when omitted.
3513
+ */
3514
+ billing_account_id?: AccountIdQueryParameter;
3515
+ };
3516
+ export type ListPaymentMethodsParams = {
3517
+ /**
3518
+ * 1-based page number. Defaults to 1.
3519
+ * @minimum 1
3520
+ * @maximum 2147483647
3521
+ */
3522
+ page?: number;
3523
+ /**
3524
+ * Items per page. Defaults to 50; at most 200.
3525
+ * @minimum 1
3526
+ * @maximum 200
3527
+ */
3528
+ page_size?: number;
3529
+ /**
3530
+ * Only this account; all of yours when omitted.
3531
+ */
3532
+ billing_account_id?: AccountIdQueryParameter;
3533
+ };
3534
+ export type PreviewInvoicePaymentParams = {
3535
+ /**
3536
+ * As in paying. True when omitted.
3537
+ */
3538
+ use_balance?: boolean;
3539
+ /**
3540
+ * As in paying. True when omitted.
3541
+ */
3542
+ use_credits?: boolean;
3543
+ };
3544
+ export type ListInvoicesParams = {
3545
+ /**
3546
+ * 1-based page number. Defaults to 1.
3547
+ * @minimum 1
3548
+ * @maximum 2147483647
3549
+ */
3550
+ page?: number;
3551
+ /**
3552
+ * Items per page. Defaults to 50; at most 200.
3553
+ * @minimum 1
3554
+ * @maximum 200
3555
+ */
3556
+ page_size?: number;
3557
+ /**
3558
+ * Only this account; all of yours when omitted.
3559
+ */
3560
+ billing_account_id?: AccountIdQueryParameter;
3561
+ status?: InvoiceStatus;
3562
+ /**
3563
+ * Only invoices with a charge from this subscription; amounts are for the whole invoice.
3564
+ */
3565
+ subscription_id?: string;
3566
+ from?: FromParameter;
3567
+ /**
3568
+ * Exclusive.
3569
+ */
3570
+ to?: ToParameter;
3571
+ };
3572
+ export type ListInvoiceItemsParams = {
3573
+ /**
3574
+ * 1-based page number. Defaults to 1.
3575
+ * @minimum 1
3576
+ * @maximum 2147483647
3577
+ */
3578
+ page?: number;
3579
+ /**
3580
+ * Items per page. Defaults to 50; at most 200.
3581
+ * @minimum 1
3582
+ * @maximum 200
3583
+ */
3584
+ page_size?: number;
3585
+ };
3586
+ export type ListTransactionsParams = {
3587
+ /**
3588
+ * 1-based page number. Defaults to 1.
3589
+ * @minimum 1
3590
+ * @maximum 2147483647
3591
+ */
3592
+ page?: number;
3593
+ /**
3594
+ * Items per page. Defaults to 50; at most 200.
3595
+ * @minimum 1
3596
+ * @maximum 200
3597
+ */
3598
+ page_size?: number;
3599
+ /**
3600
+ * Only this account; all of yours when omitted.
3601
+ */
3602
+ billing_account_id?: AccountIdQueryParameter;
3603
+ from?: FromParameter;
3604
+ /**
3605
+ * Exclusive.
3606
+ */
3607
+ to?: ToParameter;
3608
+ };
3609
+ export type ListAccountDiscountsParams = {
3610
+ /**
3611
+ * 1-based page number. Defaults to 1.
3612
+ * @minimum 1
3613
+ * @maximum 2147483647
3614
+ */
3615
+ page?: number;
3616
+ /**
3617
+ * Items per page. Defaults to 50; at most 200.
3618
+ * @minimum 1
3619
+ * @maximum 200
3620
+ */
3621
+ page_size?: number;
3622
+ /**
3623
+ * Only this account; all of yours when omitted.
3624
+ */
3625
+ billing_account_id?: AccountIdQueryParameter;
3626
+ };
3627
+ export type ListCreditGrantsParams = {
3628
+ /**
3629
+ * 1-based page number. Defaults to 1.
3630
+ * @minimum 1
3631
+ * @maximum 2147483647
3632
+ */
3633
+ page?: number;
3634
+ /**
3635
+ * Items per page. Defaults to 50; at most 200.
3636
+ * @minimum 1
3637
+ * @maximum 200
3638
+ */
3639
+ page_size?: number;
3640
+ /**
3641
+ * Only this account; all of yours when omitted.
3642
+ */
3643
+ billing_account_id?: AccountIdQueryParameter;
3644
+ status?: ListCreditGrantsStatus;
3645
+ };
3646
+ export type ListCreditGrantsStatus = (typeof ListCreditGrantsStatus)[keyof typeof ListCreditGrantsStatus];
3647
+ export declare const ListCreditGrantsStatus: {
3648
+ readonly active: "active";
3649
+ readonly depleted: "depleted";
3650
+ readonly expired: "expired";
3651
+ readonly voided: "voided";
3652
+ };
3653
+ export type ListCreditNotesParams = {
3654
+ /**
3655
+ * 1-based page number. Defaults to 1.
3656
+ * @minimum 1
3657
+ * @maximum 2147483647
3658
+ */
3659
+ page?: number;
3660
+ /**
3661
+ * Items per page. Defaults to 50; at most 200.
3662
+ * @minimum 1
3663
+ * @maximum 200
3664
+ */
3665
+ page_size?: number;
3666
+ /**
3667
+ * Only this account; all of yours when omitted.
3668
+ */
3669
+ billing_account_id?: AccountIdQueryParameter;
3670
+ /**
3671
+ * Only the notes for this invoice.
3672
+ */
3673
+ invoice_id?: string;
3674
+ };
3675
+ export type ListCreditNoteItemsParams = {
3676
+ /**
3677
+ * 1-based page number. Defaults to 1.
3678
+ * @minimum 1
3679
+ * @maximum 2147483647
3680
+ */
3681
+ page?: number;
3682
+ /**
3683
+ * Items per page. Defaults to 50; at most 200.
3684
+ * @minimum 1
3685
+ * @maximum 200
3686
+ */
3687
+ page_size?: number;
3688
+ };
3689
+ export type ListRefundsParams = {
3690
+ /**
3691
+ * 1-based page number. Defaults to 1.
3692
+ * @minimum 1
3693
+ * @maximum 2147483647
3694
+ */
3695
+ page?: number;
3696
+ /**
3697
+ * Items per page. Defaults to 50; at most 200.
3698
+ * @minimum 1
3699
+ * @maximum 200
3700
+ */
3701
+ page_size?: number;
3702
+ /**
3703
+ * Only this account; all of yours when omitted.
3704
+ */
3705
+ billing_account_id?: AccountIdQueryParameter;
3706
+ /**
3707
+ * Only the refunds of this invoice.
3708
+ */
3709
+ invoice_id?: string;
3710
+ /**
3711
+ * Refunds of this order: those of its invoice, such as for an undeliverable purchase, and those it caused on an earlier invoice, such as a downgrade difference.
3712
+ */
3713
+ order_id?: string;
3714
+ };
3715
+ export type ListUsageChargesParams = {
3716
+ /**
3717
+ * 1-based page number. Defaults to 1.
3718
+ * @minimum 1
3719
+ * @maximum 2147483647
3720
+ */
3721
+ page?: number;
3722
+ /**
3723
+ * Items per page. Defaults to 50; at most 200.
3724
+ * @minimum 1
3725
+ * @maximum 200
3726
+ */
3727
+ page_size?: number;
3728
+ /**
3729
+ * Only this account; all of yours when omitted.
3730
+ */
3731
+ billing_account_id?: AccountIdQueryParameter;
3732
+ product_id?: ProductID;
3733
+ resource_id?: string;
3734
+ /**
3735
+ * Only the charges summed into this usage invoice line.
3736
+ */
3737
+ invoice_item_id?: string;
3738
+ from?: FromParameter;
3739
+ /**
3740
+ * Exclusive.
3741
+ */
3742
+ to?: ToParameter;
3743
+ /**
3744
+ * Only records of these projects. Omit for all projects and account-level records of your billing accounts. Where an operation is open to project members, each project must be assigned to a billing account you own or have you as a member, and a member sees the records of the project that the owner of its current billing account sees.
3745
+ * @minItems 1
3746
+ * @maxItems 100
3747
+ */
3748
+ project_ids?: ProjectIdsQueryParameter;
3749
+ meter_id?: string;
3750
+ statement_id?: string;
3751
+ };
3752
+ export type ListSubscriptionsParams = {
3753
+ expiring_before?: string;
3754
+ /**
3755
+ * 1-based page number. Defaults to 1.
3756
+ * @minimum 1
3757
+ * @maximum 2147483647
3758
+ */
3759
+ page?: number;
3760
+ /**
3761
+ * Items per page. Defaults to 50; at most 200.
3762
+ * @minimum 1
3763
+ * @maximum 200
3764
+ */
3765
+ page_size?: number;
3766
+ /**
3767
+ * Only this account; all of yours when omitted.
3768
+ */
3769
+ billing_account_id?: AccountIdQueryParameter;
3770
+ /**
3771
+ * Only records of these projects. Omit for all projects and account-level records of your billing accounts. Where an operation is open to project members, each project must be assigned to a billing account you own or have you as a member, and a member sees the records of the project that the owner of its current billing account sees.
3772
+ * @minItems 1
3773
+ * @maxItems 100
3774
+ */
3775
+ project_ids?: ProjectIdsQueryParameter;
3776
+ };
3777
+ export type ListCancellationsParams = {
3778
+ /**
3779
+ * 1-based page number. Defaults to 1.
3780
+ * @minimum 1
3781
+ * @maximum 2147483647
3782
+ */
3783
+ page?: number;
3784
+ /**
3785
+ * Items per page. Defaults to 50; at most 200.
3786
+ * @minimum 1
3787
+ * @maximum 200
3788
+ */
3789
+ page_size?: number;
3790
+ /**
3791
+ * Only this account; all of yours when omitted.
3792
+ */
3793
+ billing_account_id?: AccountIdQueryParameter;
3794
+ /**
3795
+ * Only cancellations that include this subscription.
3796
+ */
3797
+ subscription_id?: string;
3798
+ /**
3799
+ * Only cancellations in this status. `open` means requested, scheduled or releasing.
3800
+ */
3801
+ status?: ListCancellationsStatus;
3802
+ /**
3803
+ * Only records of these projects. Omit for all projects and account-level records of your billing accounts. Where an operation is open to project members, each project must be assigned to a billing account you own or have you as a member, and a member sees the records of the project that the owner of its current billing account sees.
3804
+ * @minItems 1
3805
+ * @maxItems 100
3806
+ */
3807
+ project_ids?: ProjectIdsQueryParameter;
3808
+ };
3809
+ export type ListCancellationsStatus = (typeof ListCancellationsStatus)[keyof typeof ListCancellationsStatus];
3810
+ export declare const ListCancellationsStatus: {
3811
+ readonly open: "open";
3812
+ readonly requested: "requested";
3813
+ readonly scheduled: "scheduled";
3814
+ readonly releasing: "releasing";
3815
+ readonly completed: "completed";
3816
+ readonly canceled: "canceled";
3817
+ readonly failed: "failed";
3818
+ };
3819
+ export type ListRenewalPricesParams = {
3820
+ /**
3821
+ * 1-based page number. Defaults to 1.
3822
+ * @minimum 1
3823
+ * @maximum 2147483647
3824
+ */
3825
+ page?: number;
3826
+ /**
3827
+ * Items per page. Defaults to 50; at most 200.
3828
+ * @minimum 1
3829
+ * @maximum 200
3830
+ */
3831
+ page_size?: number;
3832
+ };
3833
+ export type ListAllowancesParams = {
3834
+ /**
3835
+ * 1-based page number. Defaults to 1.
3836
+ * @minimum 1
3837
+ * @maximum 2147483647
3838
+ */
3839
+ page?: number;
3840
+ /**
3841
+ * Items per page. Defaults to 50; at most 200.
3842
+ * @minimum 1
3843
+ * @maximum 200
3844
+ */
3845
+ page_size?: number;
3846
+ /**
3847
+ * Only this account; all of yours when omitted.
3848
+ */
3849
+ billing_account_id?: AccountIdQueryParameter;
3850
+ /**
3851
+ * Filter by the meter UUID.
3852
+ */
3853
+ meter_id?: string;
3854
+ status?: ListAllowancesStatus;
3855
+ product_id?: ProductID;
3856
+ /**
3857
+ * Only records of these projects. Omit for all projects and account-level records of your billing accounts. Where an operation is open to project members, each project must be assigned to a billing account you own or have you as a member, and a member sees the records of the project that the owner of its current billing account sees.
3858
+ * @minItems 1
3859
+ * @maxItems 100
3860
+ */
3861
+ project_ids?: ProjectIdsQueryParameter;
3862
+ };
3863
+ export type ListAllowancesStatus = (typeof ListAllowancesStatus)[keyof typeof ListAllowancesStatus];
3864
+ export declare const ListAllowancesStatus: {
3865
+ readonly active: "active";
3866
+ readonly depleted: "depleted";
3867
+ readonly expired: "expired";
3868
+ readonly voided: "voided";
3869
+ };
3870
+ export type ListCheckoutSessionsParams = {
3871
+ /**
3872
+ * 1-based page number. Defaults to 1.
3873
+ * @minimum 1
3874
+ * @maximum 2147483647
3875
+ */
3876
+ page?: number;
3877
+ /**
3878
+ * Items per page. Defaults to 50; at most 200.
3879
+ * @minimum 1
3880
+ * @maximum 200
3881
+ */
3882
+ page_size?: number;
3883
+ /**
3884
+ * Only this account; all of yours when omitted.
3885
+ */
3886
+ billing_account_id?: AccountIdQueryParameter;
3887
+ status?: CheckoutSessionStatus;
3888
+ /**
3889
+ * Only records of these projects. Omit for all projects and account-level records of your billing accounts. Where an operation is open to project members, each project must be assigned to a billing account you own or have you as a member, and a member sees the records of the project that the owner of its current billing account sees.
3890
+ * @minItems 1
3891
+ * @maxItems 100
3892
+ */
3893
+ project_ids?: ProjectIdsQueryParameter;
3894
+ };
3895
+ export type ListCheckoutSessionItemsParams = {
3896
+ /**
3897
+ * 1-based page number. Defaults to 1.
3898
+ * @minimum 1
3899
+ * @maximum 2147483647
3900
+ */
3901
+ page?: number;
3902
+ /**
3903
+ * Items per page. Defaults to 50; at most 200.
3904
+ * @minimum 1
3905
+ * @maximum 200
3906
+ */
3907
+ page_size?: number;
3908
+ };
3909
+ export type GetCheckoutSessionQuoteParams = {
3910
+ /**
3911
+ * @minLength 1
3912
+ * @maxLength 64
3913
+ */
3914
+ promotion_code?: string;
3915
+ };
3916
+ export type ListOrdersParams = {
3917
+ /**
3918
+ * 1-based page number. Defaults to 1.
3919
+ * @minimum 1
3920
+ * @maximum 2147483647
3921
+ */
3922
+ page?: number;
3923
+ /**
3924
+ * Items per page. Defaults to 50; at most 200.
3925
+ * @minimum 1
3926
+ * @maximum 200
3927
+ */
3928
+ page_size?: number;
3929
+ /**
3930
+ * Only this account; all of yours when omitted.
3931
+ */
3932
+ billing_account_id?: AccountIdQueryParameter;
3933
+ status?: OrderStatus;
3934
+ from?: FromParameter;
3935
+ /**
3936
+ * Exclusive.
3937
+ */
3938
+ to?: ToParameter;
3939
+ /**
3940
+ * Only records of these projects. Omit for all projects and account-level records of your billing accounts. Where an operation is open to project members, each project must be assigned to a billing account you own or have you as a member, and a member sees the records of the project that the owner of its current billing account sees.
3941
+ * @minItems 1
3942
+ * @maxItems 100
3943
+ */
3944
+ project_ids?: ProjectIdsQueryParameter;
3945
+ };
3946
+ export type PreviewOrderRefundParams = {
3947
+ /**
3948
+ * Only these items of the order. Omit for the whole order.
3949
+ * @minItems 1
3950
+ * @maxItems 100
3951
+ */
3952
+ order_item_ids?: string[];
3953
+ };
3954
+ export type ListOrderItemsParams = {
3955
+ /**
3956
+ * 1-based page number. Defaults to 1.
3957
+ * @minimum 1
3958
+ * @maximum 2147483647
3959
+ */
3960
+ page?: number;
3961
+ /**
3962
+ * Items per page. Defaults to 50; at most 200.
3963
+ * @minimum 1
3964
+ * @maximum 200
3965
+ */
3966
+ page_size?: number;
3967
+ };
3968
+ export type ListEntitlementsParams = {
3969
+ /**
3970
+ * 1-based page number. Defaults to 1.
3971
+ * @minimum 1
3972
+ * @maximum 2147483647
3973
+ */
3974
+ page?: number;
3975
+ /**
3976
+ * Items per page. Defaults to 50; at most 200.
3977
+ * @minimum 1
3978
+ * @maximum 200
3979
+ */
3980
+ page_size?: number;
3981
+ /**
3982
+ * Only this account; all of yours when omitted.
3983
+ */
3984
+ billing_account_id?: AccountIdQueryParameter;
3985
+ /**
3986
+ * Only records of these projects. Omit for all projects and account-level records of your billing accounts. Where an operation is open to project members, each project must be assigned to a billing account you own or have you as a member, and a member sees the records of the project that the owner of its current billing account sees.
3987
+ * @minItems 1
3988
+ * @maxItems 100
3989
+ */
3990
+ project_ids?: ProjectIdsQueryParameter;
3991
+ product_id?: ProductID;
3992
+ };
3993
+ export type ListFeatureGrantsParams = {
3994
+ /**
3995
+ * 1-based page number. Defaults to 1.
3996
+ * @minimum 1
3997
+ * @maximum 2147483647
3998
+ */
3999
+ page?: number;
4000
+ /**
4001
+ * Items per page. Defaults to 50; at most 200.
4002
+ * @minimum 1
4003
+ * @maximum 200
4004
+ */
4005
+ page_size?: number;
4006
+ /**
4007
+ * Only this account; all of yours when omitted.
4008
+ */
4009
+ billing_account_id?: AccountIdQueryParameter;
4010
+ product_id?: ProductID;
4011
+ status?: FeatureGrantStatus;
4012
+ };
4013
+ export type ListPricesParams = {
4014
+ /**
4015
+ * 1-based page number. Defaults to 1.
4016
+ * @minimum 1
4017
+ * @maximum 2147483647
4018
+ */
4019
+ page?: number;
4020
+ /**
4021
+ * Items per page. Defaults to 50; at most 200.
4022
+ * @minimum 1
4023
+ * @maximum 200
4024
+ */
4025
+ page_size?: number;
4026
+ /**
4027
+ * ISO 4217, three uppercase letters.
4028
+ * @minLength 3
4029
+ * @maxLength 3
4030
+ */
4031
+ currency: string;
4032
+ product_id?: ProductID;
4033
+ /**
4034
+ * Narrows to one price type.
4035
+ */
4036
+ type?: PriceType;
4037
+ /**
4038
+ * Narrows to one usage type.
4039
+ */
4040
+ usage_type?: UsageType;
4041
+ };
4042
+ export type ListPricesHeaders = {
4043
+ /**
4044
+ * The `ETag` of an earlier response. When the catalogue has not changed since, the response is `304` with no body.
4045
+ */
4046
+ "If-None-Match"?: IfNoneMatchParameter;
4047
+ };
4048
+ export type ListProductsParams = {
4049
+ /**
4050
+ * 1-based page number. Defaults to 1.
4051
+ * @minimum 1
4052
+ * @maximum 2147483647
4053
+ */
4054
+ page?: number;
4055
+ /**
4056
+ * Items per page. Defaults to 50; at most 200.
4057
+ * @minimum 1
4058
+ * @maximum 200
4059
+ */
4060
+ page_size?: number;
4061
+ };
4062
+ export type ListProductsHeaders = {
4063
+ /**
4064
+ * The `ETag` of an earlier response. When the catalogue has not changed since, the response is `304` with no body.
4065
+ */
4066
+ "If-None-Match"?: IfNoneMatchParameter;
4067
+ };
4068
+ export type GetProductHeaders = {
4069
+ /**
4070
+ * The `ETag` of an earlier response. When the catalogue has not changed since, the response is `304` with no body.
4071
+ */
4072
+ "If-None-Match"?: IfNoneMatchParameter;
4073
+ };
4074
+ export type GetPlanHeaders = {
4075
+ /**
4076
+ * The `ETag` of an earlier response. When the catalogue has not changed since, the response is `304` with no body.
4077
+ */
4078
+ "If-None-Match"?: IfNoneMatchParameter;
4079
+ };
4080
+ export type GetPriceHeaders = {
4081
+ /**
4082
+ * The `ETag` of an earlier response. When the catalogue has not changed since, the response is `304` with no body.
4083
+ */
4084
+ "If-None-Match"?: IfNoneMatchParameter;
4085
+ };
4086
+ export type ListPlansParams = {
4087
+ product_id: ProductID;
4088
+ /**
4089
+ * 1-based page number. Defaults to 1.
4090
+ * @minimum 1
4091
+ * @maximum 2147483647
4092
+ */
4093
+ page?: number;
4094
+ /**
4095
+ * Items per page. Defaults to 50; at most 200.
4096
+ * @minimum 1
4097
+ * @maximum 200
4098
+ */
4099
+ page_size?: number;
4100
+ };
4101
+ export type ListPlansHeaders = {
4102
+ /**
4103
+ * The `ETag` of an earlier response. When the catalogue has not changed since, the response is `304` with no body.
4104
+ */
4105
+ "If-None-Match"?: IfNoneMatchParameter;
4106
+ };
4107
+ export type ListPricesByPlanParams = {
4108
+ /**
4109
+ * 1-based page number. Defaults to 1.
4110
+ * @minimum 1
4111
+ * @maximum 2147483647
4112
+ */
4113
+ page?: number;
4114
+ /**
4115
+ * Items per page. Defaults to 50; at most 200.
4116
+ * @minimum 1
4117
+ * @maximum 200
4118
+ */
4119
+ page_size?: number;
4120
+ currency?: string;
4121
+ };
4122
+ export type ListPricesByPlanHeaders = {
4123
+ /**
4124
+ * The `ETag` of an earlier response. When the catalogue has not changed since, the response is `304` with no body.
4125
+ */
4126
+ "If-None-Match"?: IfNoneMatchParameter;
4127
+ };
4128
+ export type ListActiveResourcesParams = {
4129
+ /**
4130
+ * 1-based page number. Defaults to 1.
4131
+ * @minimum 1
4132
+ * @maximum 2147483647
4133
+ */
4134
+ page?: number;
4135
+ /**
4136
+ * Items per page. Defaults to 50; at most 200.
4137
+ * @minimum 1
4138
+ * @maximum 200
4139
+ */
4140
+ page_size?: number;
4141
+ resource_id?: string;
4142
+ /**
4143
+ * Only this account; all of yours when omitted.
4144
+ */
4145
+ billing_account_id?: AccountIdQueryParameter;
4146
+ /**
4147
+ * Only records of these projects. Omit for all projects and account-level records of your billing accounts. Where an operation is open to project members, each project must be assigned to a billing account you own or have you as a member, and a member sees the records of the project that the owner of its current billing account sees.
4148
+ * @minItems 1
4149
+ * @maxItems 100
4150
+ */
4151
+ project_ids?: ProjectIdsQueryParameter;
4152
+ meter_id?: string;
4153
+ product_id?: ProductID;
4154
+ status?: ListActiveResourcesStatus;
4155
+ };
4156
+ export type ListActiveResourcesStatus = (typeof ListActiveResourcesStatus)[keyof typeof ListActiveResourcesStatus];
4157
+ export declare const ListActiveResourcesStatus: {
4158
+ readonly active: "active";
4159
+ readonly suspended: "suspended";
4160
+ readonly closing: "closing";
4161
+ readonly closed: "closed";
4162
+ };
4163
+ export type ListSpendParams = {
4164
+ from: FromRequiredParameter;
4165
+ /**
4166
+ * Exclusive. One month is `[2026-09-01, 2026-10-01)`.
4167
+ */
4168
+ to: ToRequiredParameter;
4169
+ /**
4170
+ * `plan` groups by the plan of the price each charge was priced with, unchanged after the subscription changes plan. `resource` groups by the resource each charge names; a disk or an address billed under its own identifier is its own row. `meter` groups by meter and the values of its presentation dimensions, such as the model and token kind, and includes the quantity used.
4171
+ */
4172
+ group_by?: ListSpendGroupBy;
4173
+ /**
4174
+ * Filter by the fixed platform service ID.
4175
+ */
4176
+ product_id?: ProductID;
4177
+ /**
4178
+ * 1-based page number. Defaults to 1.
4179
+ * @minimum 1
4180
+ * @maximum 2147483647
4181
+ */
4182
+ page?: number;
4183
+ /**
4184
+ * Items per page. Defaults to 50; at most 200.
4185
+ * @minimum 1
4186
+ * @maximum 200
4187
+ */
4188
+ page_size?: number;
4189
+ /**
4190
+ * The billing account whose currency and charges the report uses; it must be authorized.
4191
+ */
4192
+ billing_account_id: number;
4193
+ /**
4194
+ * Only records of these projects. Omit for all projects and account-level records of your billing accounts. Where an operation is open to project members, each project must be assigned to a billing account you own or have you as a member, and a member sees the records of the project that the owner of its current billing account sees.
4195
+ * @minItems 1
4196
+ * @maxItems 100
4197
+ */
4198
+ project_ids?: ProjectIdsQueryParameter;
4199
+ };
4200
+ export type ListSpendGroupBy = (typeof ListSpendGroupBy)[keyof typeof ListSpendGroupBy];
4201
+ export declare const ListSpendGroupBy: {
4202
+ readonly product: "product";
4203
+ readonly plan: "plan";
4204
+ readonly resource: "resource";
4205
+ readonly meter: "meter";
4206
+ };
4207
+ export type ListMonthlyStatementsParams = {
4208
+ billing_account_id?: number;
4209
+ /**
4210
+ * Earliest period start, inclusive.
4211
+ */
4212
+ from?: string;
4213
+ /**
4214
+ * Latest period start, exclusive.
4215
+ */
4216
+ to?: string;
4217
+ /**
4218
+ * 1-based page number. Defaults to 1.
4219
+ * @minimum 1
4220
+ * @maximum 2147483647
4221
+ */
4222
+ page?: number;
4223
+ /**
4224
+ * Items per page. Defaults to 50; at most 200.
4225
+ * @minimum 1
4226
+ * @maximum 200
4227
+ */
4228
+ page_size?: number;
4229
+ };
4230
+ export type ListStatementsParams = {
4231
+ billing_account_id?: number;
4232
+ status?: StatementStatus;
4233
+ from?: string;
4234
+ to?: string;
4235
+ /**
4236
+ * 1-based page number. Defaults to 1.
4237
+ * @minimum 1
4238
+ * @maximum 2147483647
4239
+ */
4240
+ page?: number;
4241
+ /**
4242
+ * Items per page. Defaults to 50; at most 200.
4243
+ * @minimum 1
4244
+ * @maximum 200
4245
+ */
4246
+ page_size?: number;
4247
+ };
4248
+ export type GetStatementUsageParams = {
4249
+ group_by?: GetStatementUsageGroupBy;
4250
+ /**
4251
+ * @maxItems 100
4252
+ */
4253
+ project_ids?: string[];
4254
+ /**
4255
+ * @maxLength 64
4256
+ */
4257
+ product_id?: string;
4258
+ meter_id?: string;
4259
+ /**
4260
+ * 1-based page number. Defaults to 1.
4261
+ * @minimum 1
4262
+ * @maximum 2147483647
4263
+ */
4264
+ page?: number;
4265
+ /**
4266
+ * Items per page. Defaults to 50; at most 200.
4267
+ * @minimum 1
4268
+ * @maximum 200
4269
+ */
4270
+ page_size?: number;
4271
+ };
4272
+ export type GetStatementUsageGroupBy = (typeof GetStatementUsageGroupBy)[keyof typeof GetStatementUsageGroupBy];
4273
+ export declare const GetStatementUsageGroupBy: {
4274
+ readonly project: "project";
4275
+ readonly product: "product";
4276
+ readonly meter: "meter";
4277
+ };