@leaflow/sdk 0.0.0-dev.53.gd8db059 → 0.0.0-dev.538.g0285c19

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 (3122) hide show
  1. package/README.md +23 -22
  2. package/dist/account/v1/generated/functions.d.ts +822 -0
  3. package/dist/account/v1/generated/functions.js +827 -0
  4. package/dist/account/v1/generated/models.d.ts +777 -0
  5. package/dist/account/v1/generated/models.js +88 -0
  6. package/dist/account/v1/generated/schemas.zod.d.ts +346 -0
  7. package/dist/account/v1/generated/schemas.zod.js +357 -0
  8. package/dist/account/v1/generated/validators/acceptConsentsRequestBody.zod.d.ts +60 -0
  9. package/dist/account/v1/generated/validators/acceptConsentsRequestBody.zod.js +52 -0
  10. package/dist/account/v1/generated/validators/acceptInvitationByTokenRequestBody.zod.d.ts +54 -0
  11. package/dist/account/v1/generated/validators/acceptInvitationByTokenRequestBody.zod.js +56 -0
  12. package/dist/account/v1/generated/validators/acceptedInvitationResponseBody.zod.d.ts +77 -0
  13. package/dist/account/v1/generated/validators/acceptedInvitationResponseBody.zod.js +52 -0
  14. package/dist/account/v1/generated/validators/accountDeletionObjectionResource.zod.d.ts +54 -0
  15. package/dist/account/v1/generated/validators/accountDeletionObjectionResource.zod.js +54 -0
  16. package/dist/account/v1/generated/validators/accountDeletionResource.zod.d.ts +91 -0
  17. package/dist/account/v1/generated/validators/accountDeletionResource.zod.js +75 -0
  18. package/dist/account/v1/generated/validators/accountDeletionState.zod.d.ts +56 -0
  19. package/dist/account/v1/generated/validators/accountDeletionState.zod.js +51 -0
  20. package/dist/account/v1/generated/validators/accountResource.zod.d.ts +76 -0
  21. package/dist/account/v1/generated/validators/accountResource.zod.js +67 -0
  22. package/dist/account/v1/generated/validators/agreementListResponseBody.zod.d.ts +62 -0
  23. package/dist/account/v1/generated/validators/agreementListResponseBody.zod.js +52 -0
  24. package/dist/account/v1/generated/validators/agreementResource.zod.d.ts +60 -0
  25. package/dist/account/v1/generated/validators/agreementResource.zod.js +56 -0
  26. package/dist/account/v1/generated/validators/applicationResource.zod.d.ts +60 -0
  27. package/dist/account/v1/generated/validators/applicationResource.zod.js +60 -0
  28. package/dist/account/v1/generated/validators/authorizeApplicationRequestBody.zod.d.ts +55 -0
  29. package/dist/account/v1/generated/validators/authorizeApplicationRequestBody.zod.js +53 -0
  30. package/dist/account/v1/generated/validators/authorizedApplicationResource.zod.d.ts +93 -0
  31. package/dist/account/v1/generated/validators/authorizedApplicationResource.zod.js +59 -0
  32. package/dist/account/v1/generated/validators/consentBody.zod.d.ts +59 -0
  33. package/dist/account/v1/generated/validators/consentBody.zod.js +53 -0
  34. package/dist/account/v1/generated/validators/consentListResponseBody.zod.d.ts +65 -0
  35. package/dist/account/v1/generated/validators/consentListResponseBody.zod.js +52 -0
  36. package/dist/account/v1/generated/validators/consentResource.zod.d.ts +63 -0
  37. package/dist/account/v1/generated/validators/consentResource.zod.js +56 -0
  38. package/dist/account/v1/generated/validators/countryOption.zod.d.ts +54 -0
  39. package/dist/account/v1/generated/validators/countryOption.zod.js +52 -0
  40. package/dist/account/v1/generated/validators/createProjectRequestBody.zod.d.ts +58 -0
  41. package/dist/account/v1/generated/validators/createProjectRequestBody.zod.js +60 -0
  42. package/dist/account/v1/generated/validators/createSSHKeyRequestBody.zod.d.ts +56 -0
  43. package/dist/account/v1/generated/validators/createSSHKeyRequestBody.zod.js +58 -0
  44. package/dist/account/v1/generated/validators/cursorPagination.zod.d.ts +54 -0
  45. package/dist/account/v1/generated/validators/cursorPagination.zod.js +54 -0
  46. package/dist/account/v1/generated/validators/error.zod.d.ts +65 -0
  47. package/dist/account/v1/generated/validators/error.zod.js +54 -0
  48. package/dist/account/v1/generated/validators/errorStatus.zod.d.ts +63 -0
  49. package/dist/account/v1/generated/validators/errorStatus.zod.js +78 -0
  50. package/dist/account/v1/generated/validators/fieldViolation.zod.d.ts +54 -0
  51. package/dist/account/v1/generated/validators/fieldViolation.zod.js +57 -0
  52. package/dist/account/v1/generated/validators/grantResource.zod.d.ts +66 -0
  53. package/dist/account/v1/generated/validators/grantResource.zod.js +58 -0
  54. package/dist/account/v1/generated/validators/identityVerificationResource.zod.d.ts +62 -0
  55. package/dist/account/v1/generated/validators/identityVerificationResource.zod.js +56 -0
  56. package/dist/account/v1/generated/validators/invitationPreviewResource.zod.d.ts +57 -0
  57. package/dist/account/v1/generated/validators/invitationPreviewResource.zod.js +64 -0
  58. package/dist/account/v1/generated/validators/invitationResource.zod.d.ts +62 -0
  59. package/dist/account/v1/generated/validators/invitationResource.zod.js +65 -0
  60. package/dist/account/v1/generated/validators/languageOption.zod.d.ts +58 -0
  61. package/dist/account/v1/generated/validators/languageOption.zod.js +55 -0
  62. package/dist/account/v1/generated/validators/lengthAwarePageAuthorizedApplicationResource.zod.d.ts +98 -0
  63. package/dist/account/v1/generated/validators/lengthAwarePageAuthorizedApplicationResource.zod.js +55 -0
  64. package/dist/account/v1/generated/validators/lengthAwarePageInvitationResource.zod.d.ts +67 -0
  65. package/dist/account/v1/generated/validators/lengthAwarePageInvitationResource.zod.js +55 -0
  66. package/dist/account/v1/generated/validators/lengthAwarePageProjectAccessResource.zod.d.ts +98 -0
  67. package/dist/account/v1/generated/validators/lengthAwarePageProjectAccessResource.zod.js +55 -0
  68. package/dist/account/v1/generated/validators/lengthAwarePageSSHKeyResource.zod.d.ts +67 -0
  69. package/dist/account/v1/generated/validators/lengthAwarePageSSHKeyResource.zod.js +55 -0
  70. package/dist/account/v1/generated/validators/listAuthorizedApplicationsParams.zod.d.ts +59 -0
  71. package/dist/account/v1/generated/validators/listAuthorizedApplicationsParams.zod.js +65 -0
  72. package/dist/account/v1/generated/validators/listMyInvitationsParams.zod.d.ts +59 -0
  73. package/dist/account/v1/generated/validators/listMyInvitationsParams.zod.js +65 -0
  74. package/dist/account/v1/generated/validators/listProjectsParams.zod.d.ts +63 -0
  75. package/dist/account/v1/generated/validators/listProjectsParams.zod.js +69 -0
  76. package/dist/account/v1/generated/validators/listSshKeysParams.zod.d.ts +63 -0
  77. package/dist/account/v1/generated/validators/listSshKeysParams.zod.js +65 -0
  78. package/dist/account/v1/generated/validators/locale.zod.d.ts +55 -0
  79. package/dist/account/v1/generated/validators/locale.zod.js +51 -0
  80. package/dist/account/v1/generated/validators/localeOptionsResource.zod.d.ts +64 -0
  81. package/dist/account/v1/generated/validators/localeOptionsResource.zod.js +54 -0
  82. package/dist/account/v1/generated/validators/offsetPagination.zod.d.ts +56 -0
  83. package/dist/account/v1/generated/validators/offsetPagination.zod.js +56 -0
  84. package/dist/account/v1/generated/validators/previewInvitationByTokenParams.zod.d.ts +54 -0
  85. package/dist/account/v1/generated/validators/previewInvitationByTokenParams.zod.js +52 -0
  86. package/dist/account/v1/generated/validators/projectAccessList.zod.d.ts +100 -0
  87. package/dist/account/v1/generated/validators/projectAccessList.zod.js +54 -0
  88. package/dist/account/v1/generated/validators/projectAccessResource.zod.d.ts +93 -0
  89. package/dist/account/v1/generated/validators/projectAccessResource.zod.js +54 -0
  90. package/dist/account/v1/generated/validators/projectResource.zod.d.ts +76 -0
  91. package/dist/account/v1/generated/validators/projectResource.zod.js +71 -0
  92. package/dist/account/v1/generated/validators/projectSlugAvailabilityResource.zod.d.ts +58 -0
  93. package/dist/account/v1/generated/validators/projectSlugAvailabilityResource.zod.js +54 -0
  94. package/dist/account/v1/generated/validators/projectStatus.zod.d.ts +55 -0
  95. package/dist/account/v1/generated/validators/projectStatus.zod.js +51 -0
  96. package/dist/account/v1/generated/validators/projectTraitResource.zod.d.ts +59 -0
  97. package/dist/account/v1/generated/validators/projectTraitResource.zod.js +54 -0
  98. package/dist/account/v1/generated/validators/registerRequestBody.zod.d.ts +68 -0
  99. package/dist/account/v1/generated/validators/registerRequestBody.zod.js +64 -0
  100. package/dist/account/v1/generated/validators/renameSSHKeyRequestBody.zod.d.ts +54 -0
  101. package/dist/account/v1/generated/validators/renameSSHKeyRequestBody.zod.js +52 -0
  102. package/dist/account/v1/generated/validators/requestAccountDeletionParams.zod.d.ts +53 -0
  103. package/dist/account/v1/generated/validators/requestAccountDeletionParams.zod.js +51 -0
  104. package/dist/account/v1/generated/validators/resourceRefResource.zod.d.ts +54 -0
  105. package/dist/account/v1/generated/validators/resourceRefResource.zod.js +56 -0
  106. package/dist/account/v1/generated/validators/ruleResource.zod.d.ts +61 -0
  107. package/dist/account/v1/generated/validators/ruleResource.zod.js +60 -0
  108. package/dist/account/v1/generated/validators/sSHKeyResource.zod.d.ts +62 -0
  109. package/dist/account/v1/generated/validators/sSHKeyResource.zod.js +59 -0
  110. package/dist/account/v1/generated/validators/scopedTokenResponseBody.zod.d.ts +97 -0
  111. package/dist/account/v1/generated/validators/scopedTokenResponseBody.zod.js +60 -0
  112. package/dist/account/v1/generated/validators/searchProjectsRequestBody.zod.d.ts +63 -0
  113. package/dist/account/v1/generated/validators/searchProjectsRequestBody.zod.js +76 -0
  114. package/dist/account/v1/generated/validators/settingsResource.zod.d.ts +64 -0
  115. package/dist/account/v1/generated/validators/settingsResource.zod.js +62 -0
  116. package/dist/account/v1/generated/validators/submitIdentityVerificationRequestBody.zod.d.ts +57 -0
  117. package/dist/account/v1/generated/validators/submitIdentityVerificationRequestBody.zod.js +63 -0
  118. package/dist/account/v1/generated/validators/updateAccountRequestBody.zod.d.ts +60 -0
  119. package/dist/account/v1/generated/validators/updateAccountRequestBody.zod.js +62 -0
  120. package/dist/account/v1/index.d.ts +3 -44
  121. package/dist/account/v1/index.js +3 -5
  122. package/dist/assistant/v1/generated/functions.d.ts +1966 -0
  123. package/dist/assistant/v1/generated/functions.js +2178 -0
  124. package/dist/assistant/v1/generated/models.d.ts +2352 -0
  125. package/dist/assistant/v1/generated/models.js +274 -0
  126. package/dist/assistant/v1/generated/schemas.zod.d.ts +1052 -0
  127. package/dist/assistant/v1/generated/schemas.zod.js +1001 -0
  128. package/dist/assistant/v1/generated/validators/answerQuestionRequestBody.zod.d.ts +35 -0
  129. package/dist/assistant/v1/generated/validators/answerQuestionRequestBody.zod.js +33 -0
  130. package/dist/assistant/v1/generated/validators/approvalMode.zod.d.ts +37 -0
  131. package/dist/assistant/v1/generated/validators/approvalMode.zod.js +33 -0
  132. package/dist/assistant/v1/generated/validators/artifactListResponseBody.zod.d.ts +68 -0
  133. package/dist/assistant/v1/generated/validators/artifactListResponseBody.zod.js +35 -0
  134. package/dist/assistant/v1/generated/validators/artifactResource.zod.d.ts +65 -0
  135. package/dist/assistant/v1/generated/validators/artifactResource.zod.js +41 -0
  136. package/dist/assistant/v1/generated/validators/artifactVersionListResponseBody.zod.d.ts +61 -0
  137. package/dist/assistant/v1/generated/validators/artifactVersionListResponseBody.zod.js +35 -0
  138. package/dist/assistant/v1/generated/validators/artifactVersionResource.zod.d.ts +58 -0
  139. package/dist/assistant/v1/generated/validators/artifactVersionResource.zod.js +51 -0
  140. package/dist/assistant/v1/generated/validators/bindingCodeResponseBody.zod.d.ts +36 -0
  141. package/dist/assistant/v1/generated/validators/bindingCodeResponseBody.zod.js +34 -0
  142. package/dist/assistant/v1/generated/validators/bindingResource.zod.d.ts +51 -0
  143. package/dist/assistant/v1/generated/validators/bindingResource.zod.js +40 -0
  144. package/dist/assistant/v1/generated/validators/channelResource.zod.d.ts +61 -0
  145. package/dist/assistant/v1/generated/validators/channelResource.zod.js +53 -0
  146. package/dist/assistant/v1/generated/validators/channelWithSecretResponseBody.zod.d.ts +62 -0
  147. package/dist/assistant/v1/generated/validators/channelWithSecretResponseBody.zod.js +57 -0
  148. package/dist/assistant/v1/generated/validators/checkSenderParams.zod.d.ts +36 -0
  149. package/dist/assistant/v1/generated/validators/checkSenderParams.zod.js +39 -0
  150. package/dist/assistant/v1/generated/validators/choiceResource.zod.d.ts +36 -0
  151. package/dist/assistant/v1/generated/validators/choiceResource.zod.js +34 -0
  152. package/dist/assistant/v1/generated/validators/clientActionRequest.zod.d.ts +47 -0
  153. package/dist/assistant/v1/generated/validators/clientActionRequest.zod.js +47 -0
  154. package/dist/assistant/v1/generated/validators/clientContextPart.zod.d.ts +36 -0
  155. package/dist/assistant/v1/generated/validators/clientContextPart.zod.js +36 -0
  156. package/dist/assistant/v1/generated/validators/clientContextRequest.zod.d.ts +52 -0
  157. package/dist/assistant/v1/generated/validators/clientContextRequest.zod.js +53 -0
  158. package/dist/assistant/v1/generated/validators/clientFunctionRequest.zod.d.ts +40 -0
  159. package/dist/assistant/v1/generated/validators/clientFunctionRequest.zod.js +48 -0
  160. package/dist/assistant/v1/generated/validators/completeUploadRequestBody.zod.d.ts +35 -0
  161. package/dist/assistant/v1/generated/validators/completeUploadRequestBody.zod.js +33 -0
  162. package/dist/assistant/v1/generated/validators/contextUsageResource.zod.d.ts +36 -0
  163. package/dist/assistant/v1/generated/validators/contextUsageResource.zod.js +42 -0
  164. package/dist/assistant/v1/generated/validators/createArtifactRequestBody.zod.d.ts +38 -0
  165. package/dist/assistant/v1/generated/validators/createArtifactRequestBody.zod.js +36 -0
  166. package/dist/assistant/v1/generated/validators/createArtifactVersionRequestBody.zod.d.ts +36 -0
  167. package/dist/assistant/v1/generated/validators/createArtifactVersionRequestBody.zod.js +34 -0
  168. package/dist/assistant/v1/generated/validators/createChannelRequestBody.zod.d.ts +44 -0
  169. package/dist/assistant/v1/generated/validators/createChannelRequestBody.zod.js +45 -0
  170. package/dist/assistant/v1/generated/validators/createFolderRequestBody.zod.d.ts +36 -0
  171. package/dist/assistant/v1/generated/validators/createFolderRequestBody.zod.js +34 -0
  172. package/dist/assistant/v1/generated/validators/createTaskRequestBody.zod.d.ts +73 -0
  173. package/dist/assistant/v1/generated/validators/createTaskRequestBody.zod.js +40 -0
  174. package/dist/assistant/v1/generated/validators/createThreadRequestBody.zod.d.ts +75 -0
  175. package/dist/assistant/v1/generated/validators/createThreadRequestBody.zod.js +53 -0
  176. package/dist/assistant/v1/generated/validators/createThreadResponseBody.zod.d.ts +124 -0
  177. package/dist/assistant/v1/generated/validators/createThreadResponseBody.zod.js +38 -0
  178. package/dist/assistant/v1/generated/validators/createUploadRequestBody.zod.d.ts +42 -0
  179. package/dist/assistant/v1/generated/validators/createUploadRequestBody.zod.js +40 -0
  180. package/dist/assistant/v1/generated/validators/credentialFieldResource.zod.d.ts +39 -0
  181. package/dist/assistant/v1/generated/validators/credentialFieldResource.zod.js +37 -0
  182. package/dist/assistant/v1/generated/validators/cursorPagination.zod.d.ts +36 -0
  183. package/dist/assistant/v1/generated/validators/cursorPagination.zod.js +36 -0
  184. package/dist/assistant/v1/generated/validators/decideToolCallsRequestBody.zod.d.ts +38 -0
  185. package/dist/assistant/v1/generated/validators/decideToolCallsRequestBody.zod.js +43 -0
  186. package/dist/assistant/v1/generated/validators/defaultModelResource.zod.d.ts +44 -0
  187. package/dist/assistant/v1/generated/validators/defaultModelResource.zod.js +43 -0
  188. package/dist/assistant/v1/generated/validators/error.zod.d.ts +47 -0
  189. package/dist/assistant/v1/generated/validators/error.zod.js +36 -0
  190. package/dist/assistant/v1/generated/validators/errorStatus.zod.d.ts +45 -0
  191. package/dist/assistant/v1/generated/validators/errorStatus.zod.js +60 -0
  192. package/dist/assistant/v1/generated/validators/fieldViolation.zod.d.ts +36 -0
  193. package/dist/assistant/v1/generated/validators/fieldViolation.zod.js +39 -0
  194. package/dist/assistant/v1/generated/validators/fileCountsResource.zod.d.ts +36 -0
  195. package/dist/assistant/v1/generated/validators/fileCountsResource.zod.js +36 -0
  196. package/dist/assistant/v1/generated/validators/fileDiffResource.zod.d.ts +43 -0
  197. package/dist/assistant/v1/generated/validators/fileDiffResource.zod.js +42 -0
  198. package/dist/assistant/v1/generated/validators/fileListResponseBody.zod.d.ts +55 -0
  199. package/dist/assistant/v1/generated/validators/fileListResponseBody.zod.js +39 -0
  200. package/dist/assistant/v1/generated/validators/fileResource.zod.d.ts +48 -0
  201. package/dist/assistant/v1/generated/validators/fileResource.zod.js +54 -0
  202. package/dist/assistant/v1/generated/validators/folderCountsResource.zod.d.ts +40 -0
  203. package/dist/assistant/v1/generated/validators/folderCountsResource.zod.js +40 -0
  204. package/dist/assistant/v1/generated/validators/folderListResponseBody.zod.d.ts +50 -0
  205. package/dist/assistant/v1/generated/validators/folderListResponseBody.zod.js +34 -0
  206. package/dist/assistant/v1/generated/validators/folderResource.zod.d.ts +49 -0
  207. package/dist/assistant/v1/generated/validators/folderResource.zod.js +43 -0
  208. package/dist/assistant/v1/generated/validators/itemSourceResource.zod.d.ts +41 -0
  209. package/dist/assistant/v1/generated/validators/itemSourceResource.zod.js +36 -0
  210. package/dist/assistant/v1/generated/validators/lastTurnResource.zod.d.ts +48 -0
  211. package/dist/assistant/v1/generated/validators/lastTurnResource.zod.js +42 -0
  212. package/dist/assistant/v1/generated/validators/lengthAwarePageBindingResource.zod.d.ts +56 -0
  213. package/dist/assistant/v1/generated/validators/lengthAwarePageBindingResource.zod.js +37 -0
  214. package/dist/assistant/v1/generated/validators/lengthAwarePageChannelResource.zod.d.ts +66 -0
  215. package/dist/assistant/v1/generated/validators/lengthAwarePageChannelResource.zod.js +37 -0
  216. package/dist/assistant/v1/generated/validators/listArtifactVersionsParams.zod.d.ts +39 -0
  217. package/dist/assistant/v1/generated/validators/listArtifactVersionsParams.zod.js +41 -0
  218. package/dist/assistant/v1/generated/validators/listArtifactsParams.zod.d.ts +41 -0
  219. package/dist/assistant/v1/generated/validators/listArtifactsParams.zod.js +39 -0
  220. package/dist/assistant/v1/generated/validators/listBindingsParams.zod.d.ts +44 -0
  221. package/dist/assistant/v1/generated/validators/listBindingsParams.zod.js +46 -0
  222. package/dist/assistant/v1/generated/validators/listChannelRejectionsParams.zod.d.ts +38 -0
  223. package/dist/assistant/v1/generated/validators/listChannelRejectionsParams.zod.js +40 -0
  224. package/dist/assistant/v1/generated/validators/listChannelsParams.zod.d.ts +43 -0
  225. package/dist/assistant/v1/generated/validators/listChannelsParams.zod.js +45 -0
  226. package/dist/assistant/v1/generated/validators/listTaskRunsParams.zod.d.ts +39 -0
  227. package/dist/assistant/v1/generated/validators/listTaskRunsParams.zod.js +37 -0
  228. package/dist/assistant/v1/generated/validators/listThreadItemsParams.zod.d.ts +43 -0
  229. package/dist/assistant/v1/generated/validators/listThreadItemsParams.zod.js +45 -0
  230. package/dist/assistant/v1/generated/validators/listThreadMessagesParams.zod.d.ts +41 -0
  231. package/dist/assistant/v1/generated/validators/listThreadMessagesParams.zod.js +47 -0
  232. package/dist/assistant/v1/generated/validators/listThreadTurnsParams.zod.d.ts +41 -0
  233. package/dist/assistant/v1/generated/validators/listThreadTurnsParams.zod.js +43 -0
  234. package/dist/assistant/v1/generated/validators/loginResource.zod.d.ts +46 -0
  235. package/dist/assistant/v1/generated/validators/loginResource.zod.js +41 -0
  236. package/dist/assistant/v1/generated/validators/memoryListResponseBody.zod.d.ts +42 -0
  237. package/dist/assistant/v1/generated/validators/memoryListResponseBody.zod.js +34 -0
  238. package/dist/assistant/v1/generated/validators/memoryResource.zod.d.ts +40 -0
  239. package/dist/assistant/v1/generated/validators/memoryResource.zod.js +43 -0
  240. package/dist/assistant/v1/generated/validators/messagePart.zod.d.ts +39 -0
  241. package/dist/assistant/v1/generated/validators/messagePart.zod.js +42 -0
  242. package/dist/assistant/v1/generated/validators/moveFolderRequestBody.zod.d.ts +37 -0
  243. package/dist/assistant/v1/generated/validators/moveFolderRequestBody.zod.js +35 -0
  244. package/dist/assistant/v1/generated/validators/offsetPagination.zod.d.ts +38 -0
  245. package/dist/assistant/v1/generated/validators/offsetPagination.zod.js +38 -0
  246. package/dist/assistant/v1/generated/validators/partResource.zod.d.ts +56 -0
  247. package/dist/assistant/v1/generated/validators/partResource.zod.js +41 -0
  248. package/dist/assistant/v1/generated/validators/pendingActionResource.zod.d.ts +40 -0
  249. package/dist/assistant/v1/generated/validators/pendingActionResource.zod.js +42 -0
  250. package/dist/assistant/v1/generated/validators/placeThreadRequestBody.zod.d.ts +38 -0
  251. package/dist/assistant/v1/generated/validators/placeThreadRequestBody.zod.js +39 -0
  252. package/dist/assistant/v1/generated/validators/platformListResponseBody.zod.d.ts +61 -0
  253. package/dist/assistant/v1/generated/validators/platformListResponseBody.zod.js +34 -0
  254. package/dist/assistant/v1/generated/validators/platformResource.zod.d.ts +59 -0
  255. package/dist/assistant/v1/generated/validators/platformResource.zod.js +46 -0
  256. package/dist/assistant/v1/generated/validators/presentationResource.zod.d.ts +48 -0
  257. package/dist/assistant/v1/generated/validators/presentationResource.zod.js +39 -0
  258. package/dist/assistant/v1/generated/validators/putUploadPartHeaders.zod.d.ts +35 -0
  259. package/dist/assistant/v1/generated/validators/putUploadPartHeaders.zod.js +33 -0
  260. package/dist/assistant/v1/generated/validators/putUploadPartParams.zod.d.ts +35 -0
  261. package/dist/assistant/v1/generated/validators/putUploadPartParams.zod.js +33 -0
  262. package/dist/assistant/v1/generated/validators/questionResource.zod.d.ts +41 -0
  263. package/dist/assistant/v1/generated/validators/questionResource.zod.js +39 -0
  264. package/dist/assistant/v1/generated/validators/reasoningEffort.zod.d.ts +37 -0
  265. package/dist/assistant/v1/generated/validators/reasoningEffort.zod.js +33 -0
  266. package/dist/assistant/v1/generated/validators/rejectionListResponseBody.zod.d.ts +43 -0
  267. package/dist/assistant/v1/generated/validators/rejectionListResponseBody.zod.js +34 -0
  268. package/dist/assistant/v1/generated/validators/rejectionResource.zod.d.ts +41 -0
  269. package/dist/assistant/v1/generated/validators/rejectionResource.zod.js +39 -0
  270. package/dist/assistant/v1/generated/validators/resumeThreadRequestBody.zod.d.ts +36 -0
  271. package/dist/assistant/v1/generated/validators/resumeThreadRequestBody.zod.js +38 -0
  272. package/dist/assistant/v1/generated/validators/revertRequestBody.zod.d.ts +36 -0
  273. package/dist/assistant/v1/generated/validators/revertRequestBody.zod.js +37 -0
  274. package/dist/assistant/v1/generated/validators/revertedCountResponseBody.zod.d.ts +36 -0
  275. package/dist/assistant/v1/generated/validators/revertedCountResponseBody.zod.js +34 -0
  276. package/dist/assistant/v1/generated/validators/rotateSecretRequestBody.zod.d.ts +35 -0
  277. package/dist/assistant/v1/generated/validators/rotateSecretRequestBody.zod.js +36 -0
  278. package/dist/assistant/v1/generated/validators/searchFilesRequestBody.zod.d.ts +52 -0
  279. package/dist/assistant/v1/generated/validators/searchFilesRequestBody.zod.js +66 -0
  280. package/dist/assistant/v1/generated/validators/searchTasksRequestBody.zod.d.ts +58 -0
  281. package/dist/assistant/v1/generated/validators/searchTasksRequestBody.zod.js +50 -0
  282. package/dist/assistant/v1/generated/validators/searchThreadsRequestBody.zod.d.ts +67 -0
  283. package/dist/assistant/v1/generated/validators/searchThreadsRequestBody.zod.js +88 -0
  284. package/dist/assistant/v1/generated/validators/sendMessageRequestBody.zod.d.ts +57 -0
  285. package/dist/assistant/v1/generated/validators/sendMessageRequestBody.zod.js +39 -0
  286. package/dist/assistant/v1/generated/validators/sendMessageResponseBody.zod.d.ts +38 -0
  287. package/dist/assistant/v1/generated/validators/sendMessageResponseBody.zod.js +42 -0
  288. package/dist/assistant/v1/generated/validators/senderCheckResource.zod.d.ts +44 -0
  289. package/dist/assistant/v1/generated/validators/senderCheckResource.zod.js +42 -0
  290. package/dist/assistant/v1/generated/validators/settingsResource.zod.d.ts +52 -0
  291. package/dist/assistant/v1/generated/validators/settingsResource.zod.js +39 -0
  292. package/dist/assistant/v1/generated/validators/skillEnabledRequestBody.zod.d.ts +35 -0
  293. package/dist/assistant/v1/generated/validators/skillEnabledRequestBody.zod.js +33 -0
  294. package/dist/assistant/v1/generated/validators/skillListResponseBody.zod.d.ts +47 -0
  295. package/dist/assistant/v1/generated/validators/skillListResponseBody.zod.js +34 -0
  296. package/dist/assistant/v1/generated/validators/skillRequestBody.zod.d.ts +43 -0
  297. package/dist/assistant/v1/generated/validators/skillRequestBody.zod.js +51 -0
  298. package/dist/assistant/v1/generated/validators/skillResource.zod.d.ts +45 -0
  299. package/dist/assistant/v1/generated/validators/skillResource.zod.js +52 -0
  300. package/dist/assistant/v1/generated/validators/subagentCountResource.zod.d.ts +38 -0
  301. package/dist/assistant/v1/generated/validators/subagentCountResource.zod.js +36 -0
  302. package/dist/assistant/v1/generated/validators/taskAction.zod.d.ts +46 -0
  303. package/dist/assistant/v1/generated/validators/taskAction.zod.js +56 -0
  304. package/dist/assistant/v1/generated/validators/taskListResponseBody.zod.d.ts +119 -0
  305. package/dist/assistant/v1/generated/validators/taskListResponseBody.zod.js +35 -0
  306. package/dist/assistant/v1/generated/validators/taskResource.zod.d.ts +116 -0
  307. package/dist/assistant/v1/generated/validators/taskResource.zod.js +57 -0
  308. package/dist/assistant/v1/generated/validators/taskRunEvent.zod.d.ts +41 -0
  309. package/dist/assistant/v1/generated/validators/taskRunEvent.zod.js +44 -0
  310. package/dist/assistant/v1/generated/validators/taskRunListResponseBody.zod.d.ts +68 -0
  311. package/dist/assistant/v1/generated/validators/taskRunListResponseBody.zod.js +35 -0
  312. package/dist/assistant/v1/generated/validators/taskRunResource.zod.d.ts +65 -0
  313. package/dist/assistant/v1/generated/validators/taskRunResource.zod.js +54 -0
  314. package/dist/assistant/v1/generated/validators/taskTrigger.zod.d.ts +68 -0
  315. package/dist/assistant/v1/generated/validators/taskTrigger.zod.js +103 -0
  316. package/dist/assistant/v1/generated/validators/threadCountsResource.zod.d.ts +42 -0
  317. package/dist/assistant/v1/generated/validators/threadCountsResource.zod.js +42 -0
  318. package/dist/assistant/v1/generated/validators/threadItemListResponseBody.zod.d.ts +333 -0
  319. package/dist/assistant/v1/generated/validators/threadItemListResponseBody.zod.js +51 -0
  320. package/dist/assistant/v1/generated/validators/threadItemResource.zod.d.ts +179 -0
  321. package/dist/assistant/v1/generated/validators/threadItemResource.zod.js +92 -0
  322. package/dist/assistant/v1/generated/validators/threadListResponseBody.zod.d.ts +130 -0
  323. package/dist/assistant/v1/generated/validators/threadListResponseBody.zod.js +39 -0
  324. package/dist/assistant/v1/generated/validators/threadMessageListResponseBody.zod.d.ts +45 -0
  325. package/dist/assistant/v1/generated/validators/threadMessageListResponseBody.zod.js +39 -0
  326. package/dist/assistant/v1/generated/validators/threadMessageResource.zod.d.ts +42 -0
  327. package/dist/assistant/v1/generated/validators/threadMessageResource.zod.js +49 -0
  328. package/dist/assistant/v1/generated/validators/threadResource.zod.d.ts +123 -0
  329. package/dist/assistant/v1/generated/validators/threadResource.zod.js +104 -0
  330. package/dist/assistant/v1/generated/validators/threadStatus.zod.d.ts +40 -0
  331. package/dist/assistant/v1/generated/validators/threadStatus.zod.js +33 -0
  332. package/dist/assistant/v1/generated/validators/threadTurnListResponseBody.zod.d.ts +80 -0
  333. package/dist/assistant/v1/generated/validators/threadTurnListResponseBody.zod.js +35 -0
  334. package/dist/assistant/v1/generated/validators/threadTurnResource.zod.d.ts +79 -0
  335. package/dist/assistant/v1/generated/validators/threadTurnResource.zod.js +79 -0
  336. package/dist/assistant/v1/generated/validators/todoResource.zod.d.ts +41 -0
  337. package/dist/assistant/v1/generated/validators/todoResource.zod.js +39 -0
  338. package/dist/assistant/v1/generated/validators/toolCallResource.zod.d.ts +112 -0
  339. package/dist/assistant/v1/generated/validators/toolCallResource.zod.js +93 -0
  340. package/dist/assistant/v1/generated/validators/toolResultRequestBody.zod.d.ts +41 -0
  341. package/dist/assistant/v1/generated/validators/toolResultRequestBody.zod.js +53 -0
  342. package/dist/assistant/v1/generated/validators/turnStartedResponseBody.zod.d.ts +35 -0
  343. package/dist/assistant/v1/generated/validators/turnStartedResponseBody.zod.js +33 -0
  344. package/dist/assistant/v1/generated/validators/turnStatus.zod.d.ts +39 -0
  345. package/dist/assistant/v1/generated/validators/turnStatus.zod.js +33 -0
  346. package/dist/assistant/v1/generated/validators/turnType.zod.d.ts +36 -0
  347. package/dist/assistant/v1/generated/validators/turnType.zod.js +33 -0
  348. package/dist/assistant/v1/generated/validators/updateArtifactRequestBody.zod.d.ts +36 -0
  349. package/dist/assistant/v1/generated/validators/updateArtifactRequestBody.zod.js +34 -0
  350. package/dist/assistant/v1/generated/validators/updateChannelRequestBody.zod.d.ts +43 -0
  351. package/dist/assistant/v1/generated/validators/updateChannelRequestBody.zod.js +47 -0
  352. package/dist/assistant/v1/generated/validators/updateFileRequestBody.zod.d.ts +36 -0
  353. package/dist/assistant/v1/generated/validators/updateFileRequestBody.zod.js +34 -0
  354. package/dist/assistant/v1/generated/validators/updateFolderRequestBody.zod.d.ts +36 -0
  355. package/dist/assistant/v1/generated/validators/updateFolderRequestBody.zod.js +34 -0
  356. package/dist/assistant/v1/generated/validators/updateSettingsRequestBody.zod.d.ts +41 -0
  357. package/dist/assistant/v1/generated/validators/updateSettingsRequestBody.zod.js +36 -0
  358. package/dist/assistant/v1/generated/validators/updateTaskRequestBody.zod.d.ts +71 -0
  359. package/dist/assistant/v1/generated/validators/updateTaskRequestBody.zod.js +38 -0
  360. package/dist/assistant/v1/generated/validators/updateThreadRequestBody.zod.d.ts +49 -0
  361. package/dist/assistant/v1/generated/validators/updateThreadRequestBody.zod.js +41 -0
  362. package/dist/assistant/v1/generated/validators/updateUploadRequestBody.zod.d.ts +36 -0
  363. package/dist/assistant/v1/generated/validators/updateUploadRequestBody.zod.js +34 -0
  364. package/dist/assistant/v1/generated/validators/uploadConfigurationResource.zod.d.ts +40 -0
  365. package/dist/assistant/v1/generated/validators/uploadConfigurationResource.zod.js +38 -0
  366. package/dist/assistant/v1/generated/validators/uploadFileParams.zod.d.ts +36 -0
  367. package/dist/assistant/v1/generated/validators/uploadFileParams.zod.js +34 -0
  368. package/dist/assistant/v1/generated/validators/uploadListResponseBody.zod.d.ts +49 -0
  369. package/dist/assistant/v1/generated/validators/uploadListResponseBody.zod.js +34 -0
  370. package/dist/assistant/v1/generated/validators/uploadPartResource.zod.d.ts +37 -0
  371. package/dist/assistant/v1/generated/validators/uploadPartResource.zod.js +35 -0
  372. package/dist/assistant/v1/generated/validators/uploadResource.zod.d.ts +47 -0
  373. package/dist/assistant/v1/generated/validators/uploadResource.zod.js +45 -0
  374. package/dist/assistant/v1/generated/validators/usage.zod.d.ts +49 -0
  375. package/dist/assistant/v1/generated/validators/usage.zod.js +66 -0
  376. package/dist/assistant/v1/generated/validators/verifyCodeRequestBody.zod.d.ts +35 -0
  377. package/dist/assistant/v1/generated/validators/verifyCodeRequestBody.zod.js +33 -0
  378. package/dist/assistant/v1/generated/validators/webhookSecretResponseBody.zod.d.ts +35 -0
  379. package/dist/assistant/v1/generated/validators/webhookSecretResponseBody.zod.js +33 -0
  380. package/dist/assistant/v1/index.d.ts +3 -94
  381. package/dist/assistant/v1/index.js +3 -5
  382. package/dist/billing/type/cancellation/v1/generated/functions.d.ts +8 -0
  383. package/dist/billing/type/cancellation/v1/generated/functions.js +8 -0
  384. package/dist/billing/type/cancellation/v1/generated/models.d.ts +19 -0
  385. package/dist/billing/type/cancellation/v1/generated/models.js +4 -0
  386. package/dist/billing/type/cancellation/v1/generated/schemas.zod.d.ts +8 -0
  387. package/dist/billing/type/cancellation/v1/generated/schemas.zod.js +8 -0
  388. package/dist/billing/type/cancellation/v1/generated/validators/cancellationMode.zod.d.ts +14 -0
  389. package/dist/billing/type/cancellation/v1/generated/validators/cancellationMode.zod.js +11 -0
  390. package/dist/billing/type/checkout/v1/generated/functions.d.ts +8 -0
  391. package/dist/billing/type/checkout/v1/generated/functions.js +8 -0
  392. package/dist/billing/type/checkout/v1/generated/models.d.ts +71 -0
  393. package/dist/billing/type/checkout/v1/generated/models.js +4 -0
  394. package/dist/billing/type/checkout/v1/generated/schemas.zod.d.ts +8 -0
  395. package/dist/billing/type/checkout/v1/generated/schemas.zod.js +8 -0
  396. package/dist/billing/type/checkout/v1/generated/validators/checkoutMode.zod.d.ts +14 -0
  397. package/dist/billing/type/checkout/v1/generated/validators/checkoutMode.zod.js +11 -0
  398. package/dist/billing/type/checkout/v1/generated/validators/checkoutOptions.zod.d.ts +24 -0
  399. package/dist/billing/type/checkout/v1/generated/validators/checkoutOptions.zod.js +35 -0
  400. package/dist/billing/type/checkout/v1/generated/validators/money.zod.d.ts +11 -0
  401. package/dist/billing/type/checkout/v1/generated/validators/money.zod.js +11 -0
  402. package/dist/billing/type/funds/v1/generated/functions.d.ts +8 -0
  403. package/dist/billing/type/funds/v1/generated/functions.js +8 -0
  404. package/dist/billing/type/funds/v1/generated/models.d.ts +38 -0
  405. package/dist/billing/type/funds/v1/generated/models.js +1 -0
  406. package/dist/billing/type/funds/v1/generated/schemas.zod.d.ts +8 -0
  407. package/dist/billing/type/funds/v1/generated/schemas.zod.js +8 -0
  408. package/dist/billing/type/funds/v1/generated/validators/funds.zod.d.ts +18 -0
  409. package/dist/billing/type/funds/v1/generated/validators/funds.zod.js +19 -0
  410. package/dist/billing/type/funds/v1/generated/validators/money.zod.d.ts +11 -0
  411. package/dist/billing/type/funds/v1/generated/validators/money.zod.js +11 -0
  412. package/dist/billing/type/order/v1/generated/functions.d.ts +8 -0
  413. package/dist/billing/type/order/v1/generated/functions.js +8 -0
  414. package/dist/billing/type/order/v1/generated/models.d.ts +2890 -0
  415. package/dist/billing/type/order/v1/generated/models.js +367 -0
  416. package/dist/billing/type/order/v1/generated/schemas.zod.d.ts +8 -0
  417. package/dist/billing/type/order/v1/generated/schemas.zod.js +8 -0
  418. package/dist/billing/type/order/v1/generated/validators/accountBalance.zod.d.ts +135 -0
  419. package/dist/billing/type/order/v1/generated/validators/accountBalance.zod.js +27 -0
  420. package/dist/billing/type/order/v1/generated/validators/accountDeletionObjection.zod.d.ts +19 -0
  421. package/dist/billing/type/order/v1/generated/validators/accountDeletionObjection.zod.js +19 -0
  422. package/dist/billing/type/order/v1/generated/validators/accountDeletionReadiness.zod.d.ts +45 -0
  423. package/dist/billing/type/order/v1/generated/validators/accountDeletionReadiness.zod.js +14 -0
  424. package/dist/billing/type/order/v1/generated/validators/accountDeletionReadinessItem.zod.d.ts +43 -0
  425. package/dist/billing/type/order/v1/generated/validators/accountDeletionReadinessItem.zod.js +19 -0
  426. package/dist/billing/type/order/v1/generated/validators/accountIdentity.zod.d.ts +15 -0
  427. package/dist/billing/type/order/v1/generated/validators/accountIdentity.zod.js +13 -0
  428. package/dist/billing/type/order/v1/generated/validators/activeResource.zod.d.ts +41 -0
  429. package/dist/billing/type/order/v1/generated/validators/activeResource.zod.js +39 -0
  430. package/dist/billing/type/order/v1/generated/validators/activeResourceList.zod.d.ts +48 -0
  431. package/dist/billing/type/order/v1/generated/validators/activeResourceList.zod.js +14 -0
  432. package/dist/billing/type/order/v1/generated/validators/allowance.zod.d.ts +44 -0
  433. package/dist/billing/type/order/v1/generated/validators/allowance.zod.js +41 -0
  434. package/dist/billing/type/order/v1/generated/validators/allowanceList.zod.d.ts +51 -0
  435. package/dist/billing/type/order/v1/generated/validators/allowanceList.zod.js +14 -0
  436. package/dist/billing/type/order/v1/generated/validators/applicability.zod.d.ts +119 -0
  437. package/dist/billing/type/order/v1/generated/validators/applicability.zod.js +41 -0
  438. package/dist/billing/type/order/v1/generated/validators/applicablePlan.zod.d.ts +15 -0
  439. package/dist/billing/type/order/v1/generated/validators/applicablePlan.zod.js +15 -0
  440. package/dist/billing/type/order/v1/generated/validators/appliedCredit.zod.d.ts +15 -0
  441. package/dist/billing/type/order/v1/generated/validators/appliedCredit.zod.js +16 -0
  442. package/dist/billing/type/order/v1/generated/validators/autoRenewSet.zod.d.ts +13 -0
  443. package/dist/billing/type/order/v1/generated/validators/autoRenewSet.zod.js +11 -0
  444. package/dist/billing/type/order/v1/generated/validators/billingAccount.zod.d.ts +30 -0
  445. package/dist/billing/type/order/v1/generated/validators/billingAccount.zod.js +34 -0
  446. package/dist/billing/type/order/v1/generated/validators/billingAccountCreate.zod.d.ts +17 -0
  447. package/dist/billing/type/order/v1/generated/validators/billingAccountCreate.zod.js +15 -0
  448. package/dist/billing/type/order/v1/generated/validators/billingAccountList.zod.d.ts +37 -0
  449. package/dist/billing/type/order/v1/generated/validators/billingAccountList.zod.js +14 -0
  450. package/dist/billing/type/order/v1/generated/validators/billingAccountUpdate.zod.d.ts +15 -0
  451. package/dist/billing/type/order/v1/generated/validators/billingAccountUpdate.zod.js +16 -0
  452. package/dist/billing/type/order/v1/generated/validators/billingScheme.zod.d.ts +14 -0
  453. package/dist/billing/type/order/v1/generated/validators/billingScheme.zod.js +11 -0
  454. package/dist/billing/type/order/v1/generated/validators/cancelSubscriptionRequest.zod.d.ts +21 -0
  455. package/dist/billing/type/order/v1/generated/validators/cancelSubscriptionRequest.zod.js +21 -0
  456. package/dist/billing/type/order/v1/generated/validators/cancellation.zod.d.ts +67 -0
  457. package/dist/billing/type/order/v1/generated/validators/cancellation.zod.js +39 -0
  458. package/dist/billing/type/order/v1/generated/validators/cancellationCreate.zod.d.ts +23 -0
  459. package/dist/billing/type/order/v1/generated/validators/cancellationCreate.zod.js +31 -0
  460. package/dist/billing/type/order/v1/generated/validators/cancellationItem.zod.d.ts +38 -0
  461. package/dist/billing/type/order/v1/generated/validators/cancellationItem.zod.js +36 -0
  462. package/dist/billing/type/order/v1/generated/validators/cancellationList.zod.d.ts +74 -0
  463. package/dist/billing/type/order/v1/generated/validators/cancellationList.zod.js +14 -0
  464. package/dist/billing/type/order/v1/generated/validators/cancellationPolicy.zod.d.ts +14 -0
  465. package/dist/billing/type/order/v1/generated/validators/cancellationPolicy.zod.js +11 -0
  466. package/dist/billing/type/order/v1/generated/validators/cancellationRefundPreview.zod.d.ts +51 -0
  467. package/dist/billing/type/order/v1/generated/validators/cancellationRefundPreview.zod.js +33 -0
  468. package/dist/billing/type/order/v1/generated/validators/cancellationRefundPreviewItem.zod.d.ts +35 -0
  469. package/dist/billing/type/order/v1/generated/validators/cancellationRefundPreviewItem.zod.js +35 -0
  470. package/dist/billing/type/order/v1/generated/validators/contact.zod.d.ts +41 -0
  471. package/dist/billing/type/order/v1/generated/validators/contact.zod.js +39 -0
  472. package/dist/billing/type/order/v1/generated/validators/contactCreate.zod.d.ts +32 -0
  473. package/dist/billing/type/order/v1/generated/validators/contactCreate.zod.js +30 -0
  474. package/dist/billing/type/order/v1/generated/validators/contactList.zod.d.ts +38 -0
  475. package/dist/billing/type/order/v1/generated/validators/contactList.zod.js +14 -0
  476. package/dist/billing/type/order/v1/generated/validators/contactUpdate.zod.d.ts +33 -0
  477. package/dist/billing/type/order/v1/generated/validators/contactUpdate.zod.js +31 -0
  478. package/dist/billing/type/order/v1/generated/validators/creditGrant.zod.d.ts +137 -0
  479. package/dist/billing/type/order/v1/generated/validators/creditGrant.zod.js +27 -0
  480. package/dist/billing/type/order/v1/generated/validators/creditGrantList.zod.d.ts +144 -0
  481. package/dist/billing/type/order/v1/generated/validators/creditGrantList.zod.js +14 -0
  482. package/dist/billing/type/order/v1/generated/validators/creditGroup.zod.d.ts +123 -0
  483. package/dist/billing/type/order/v1/generated/validators/creditGroup.zod.js +18 -0
  484. package/dist/billing/type/order/v1/generated/validators/creditNote.zod.d.ts +34 -0
  485. package/dist/billing/type/order/v1/generated/validators/creditNote.zod.js +40 -0
  486. package/dist/billing/type/order/v1/generated/validators/creditNoteItem.zod.d.ts +17 -0
  487. package/dist/billing/type/order/v1/generated/validators/creditNoteItem.zod.js +16 -0
  488. package/dist/billing/type/order/v1/generated/validators/creditNoteItemList.zod.d.ts +24 -0
  489. package/dist/billing/type/order/v1/generated/validators/creditNoteItemList.zod.js +14 -0
  490. package/dist/billing/type/order/v1/generated/validators/creditNoteList.zod.d.ts +41 -0
  491. package/dist/billing/type/order/v1/generated/validators/creditNoteList.zod.js +14 -0
  492. package/dist/billing/type/order/v1/generated/validators/currency.zod.d.ts +21 -0
  493. package/dist/billing/type/order/v1/generated/validators/currency.zod.js +30 -0
  494. package/dist/billing/type/order/v1/generated/validators/currencyList.zod.d.ts +23 -0
  495. package/dist/billing/type/order/v1/generated/validators/currencyList.zod.js +14 -0
  496. package/dist/billing/type/order/v1/generated/validators/cursorPagination.zod.d.ts +14 -0
  497. package/dist/billing/type/order/v1/generated/validators/cursorPagination.zod.js +14 -0
  498. package/dist/billing/type/order/v1/generated/validators/discount.zod.d.ts +153 -0
  499. package/dist/billing/type/order/v1/generated/validators/discount.zod.js +44 -0
  500. package/dist/billing/type/order/v1/generated/validators/discountList.zod.d.ts +160 -0
  501. package/dist/billing/type/order/v1/generated/validators/discountList.zod.js +14 -0
  502. package/dist/billing/type/order/v1/generated/validators/entitlement.zod.d.ts +25 -0
  503. package/dist/billing/type/order/v1/generated/validators/entitlement.zod.js +20 -0
  504. package/dist/billing/type/order/v1/generated/validators/entitlementList.zod.d.ts +32 -0
  505. package/dist/billing/type/order/v1/generated/validators/entitlementList.zod.js +14 -0
  506. package/dist/billing/type/order/v1/generated/validators/error.zod.d.ts +16 -0
  507. package/dist/billing/type/order/v1/generated/validators/error.zod.js +17 -0
  508. package/dist/billing/type/order/v1/generated/validators/featureGrant.zod.d.ts +33 -0
  509. package/dist/billing/type/order/v1/generated/validators/featureGrant.zod.js +24 -0
  510. package/dist/billing/type/order/v1/generated/validators/featureGrantList.zod.d.ts +40 -0
  511. package/dist/billing/type/order/v1/generated/validators/featureGrantList.zod.js +14 -0
  512. package/dist/billing/type/order/v1/generated/validators/featureGrantStatus.zod.d.ts +16 -0
  513. package/dist/billing/type/order/v1/generated/validators/featureGrantStatus.zod.js +11 -0
  514. package/dist/billing/type/order/v1/generated/validators/funds.zod.d.ts +18 -0
  515. package/dist/billing/type/order/v1/generated/validators/funds.zod.js +19 -0
  516. package/dist/billing/type/order/v1/generated/validators/invoice.zod.d.ts +63 -0
  517. package/dist/billing/type/order/v1/generated/validators/invoice.zod.js +54 -0
  518. package/dist/billing/type/order/v1/generated/validators/invoiceItem.zod.d.ts +46 -0
  519. package/dist/billing/type/order/v1/generated/validators/invoiceItem.zod.js +60 -0
  520. package/dist/billing/type/order/v1/generated/validators/invoiceItemList.zod.d.ts +53 -0
  521. package/dist/billing/type/order/v1/generated/validators/invoiceItemList.zod.js +14 -0
  522. package/dist/billing/type/order/v1/generated/validators/invoiceItemProration.zod.d.ts +18 -0
  523. package/dist/billing/type/order/v1/generated/validators/invoiceItemProration.zod.js +21 -0
  524. package/dist/billing/type/order/v1/generated/validators/invoiceList.zod.d.ts +70 -0
  525. package/dist/billing/type/order/v1/generated/validators/invoiceList.zod.js +14 -0
  526. package/dist/billing/type/order/v1/generated/validators/invoiceStatus.zod.d.ts +16 -0
  527. package/dist/billing/type/order/v1/generated/validators/invoiceStatus.zod.js +11 -0
  528. package/dist/billing/type/order/v1/generated/validators/invoiceSummary.zod.d.ts +32 -0
  529. package/dist/billing/type/order/v1/generated/validators/invoiceSummary.zod.js +34 -0
  530. package/dist/billing/type/order/v1/generated/validators/money.zod.d.ts +11 -0
  531. package/dist/billing/type/order/v1/generated/validators/money.zod.js +11 -0
  532. package/dist/billing/type/order/v1/generated/validators/monthlyStatement.zod.d.ts +38 -0
  533. package/dist/billing/type/order/v1/generated/validators/monthlyStatement.zod.js +30 -0
  534. package/dist/billing/type/order/v1/generated/validators/monthlyStatementList.zod.d.ts +45 -0
  535. package/dist/billing/type/order/v1/generated/validators/monthlyStatementList.zod.js +14 -0
  536. package/dist/billing/type/order/v1/generated/validators/namedIdentity.zod.d.ts +15 -0
  537. package/dist/billing/type/order/v1/generated/validators/namedIdentity.zod.js +15 -0
  538. package/dist/billing/type/order/v1/generated/validators/objectIdentity.zod.d.ts +15 -0
  539. package/dist/billing/type/order/v1/generated/validators/objectIdentity.zod.js +15 -0
  540. package/dist/billing/type/order/v1/generated/validators/offsetPagination.zod.d.ts +16 -0
  541. package/dist/billing/type/order/v1/generated/validators/offsetPagination.zod.js +16 -0
  542. package/dist/billing/type/order/v1/generated/validators/order.zod.d.ts +148 -0
  543. package/dist/billing/type/order/v1/generated/validators/order.zod.js +63 -0
  544. package/dist/billing/type/order/v1/generated/validators/orderCancel.zod.d.ts +14 -0
  545. package/dist/billing/type/order/v1/generated/validators/orderCancel.zod.js +17 -0
  546. package/dist/billing/type/order/v1/generated/validators/orderItem.zod.d.ts +75 -0
  547. package/dist/billing/type/order/v1/generated/validators/orderItem.zod.js +88 -0
  548. package/dist/billing/type/order/v1/generated/validators/orderItemList.zod.d.ts +81 -0
  549. package/dist/billing/type/order/v1/generated/validators/orderItemList.zod.js +14 -0
  550. package/dist/billing/type/order/v1/generated/validators/orderItemStatus.zod.d.ts +16 -0
  551. package/dist/billing/type/order/v1/generated/validators/orderItemStatus.zod.js +11 -0
  552. package/dist/billing/type/order/v1/generated/validators/orderList.zod.d.ts +155 -0
  553. package/dist/billing/type/order/v1/generated/validators/orderList.zod.js +14 -0
  554. package/dist/billing/type/order/v1/generated/validators/orderRefundQuote.zod.d.ts +17 -0
  555. package/dist/billing/type/order/v1/generated/validators/orderRefundQuote.zod.js +18 -0
  556. package/dist/billing/type/order/v1/generated/validators/orderRefundQuoteInput.zod.d.ts +15 -0
  557. package/dist/billing/type/order/v1/generated/validators/orderRefundQuoteInput.zod.js +20 -0
  558. package/dist/billing/type/order/v1/generated/validators/orderStatus.zod.d.ts +18 -0
  559. package/dist/billing/type/order/v1/generated/validators/orderStatus.zod.js +11 -0
  560. package/dist/billing/type/order/v1/generated/validators/paidWith.zod.d.ts +17 -0
  561. package/dist/billing/type/order/v1/generated/validators/paidWith.zod.js +25 -0
  562. package/dist/billing/type/order/v1/generated/validators/payInvoiceRequest.zod.d.ts +26 -0
  563. package/dist/billing/type/order/v1/generated/validators/payInvoiceRequest.zod.js +53 -0
  564. package/dist/billing/type/order/v1/generated/validators/payTogetherRequest.zod.d.ts +18 -0
  565. package/dist/billing/type/order/v1/generated/validators/payTogetherRequest.zod.js +21 -0
  566. package/dist/billing/type/order/v1/generated/validators/paymentAction.zod.d.ts +22 -0
  567. package/dist/billing/type/order/v1/generated/validators/paymentAction.zod.js +24 -0
  568. package/dist/billing/type/order/v1/generated/validators/paymentCancellationReason.zod.d.ts +14 -0
  569. package/dist/billing/type/order/v1/generated/validators/paymentCancellationReason.zod.js +11 -0
  570. package/dist/billing/type/order/v1/generated/validators/paymentMethod.zod.d.ts +25 -0
  571. package/dist/billing/type/order/v1/generated/validators/paymentMethod.zod.js +19 -0
  572. package/dist/billing/type/order/v1/generated/validators/paymentMethodList.zod.d.ts +32 -0
  573. package/dist/billing/type/order/v1/generated/validators/paymentMethodList.zod.js +14 -0
  574. package/dist/billing/type/order/v1/generated/validators/paymentMethodSetup.zod.d.ts +15 -0
  575. package/dist/billing/type/order/v1/generated/validators/paymentMethodSetup.zod.js +17 -0
  576. package/dist/billing/type/order/v1/generated/validators/paymentMethodSetupResult.zod.d.ts +26 -0
  577. package/dist/billing/type/order/v1/generated/validators/paymentMethodSetupResult.zod.js +16 -0
  578. package/dist/billing/type/order/v1/generated/validators/paymentOption.zod.d.ts +17 -0
  579. package/dist/billing/type/order/v1/generated/validators/paymentOption.zod.js +15 -0
  580. package/dist/billing/type/order/v1/generated/validators/paymentOptionList.zod.d.ts +24 -0
  581. package/dist/billing/type/order/v1/generated/validators/paymentOptionList.zod.js +14 -0
  582. package/dist/billing/type/order/v1/generated/validators/paymentOptionMethod.zod.d.ts +14 -0
  583. package/dist/billing/type/order/v1/generated/validators/paymentOptionMethod.zod.js +16 -0
  584. package/dist/billing/type/order/v1/generated/validators/paymentPreview.zod.d.ts +38 -0
  585. package/dist/billing/type/order/v1/generated/validators/paymentPreview.zod.js +30 -0
  586. package/dist/billing/type/order/v1/generated/validators/paymentPreviewInvoice.zod.d.ts +17 -0
  587. package/dist/billing/type/order/v1/generated/validators/paymentPreviewInvoice.zod.js +16 -0
  588. package/dist/billing/type/order/v1/generated/validators/paymentResult.zod.d.ts +87 -0
  589. package/dist/billing/type/order/v1/generated/validators/paymentResult.zod.js +36 -0
  590. package/dist/billing/type/order/v1/generated/validators/paymentStatus.zod.d.ts +16 -0
  591. package/dist/billing/type/order/v1/generated/validators/paymentStatus.zod.js +11 -0
  592. package/dist/billing/type/order/v1/generated/validators/placedOrder.zod.d.ts +35 -0
  593. package/dist/billing/type/order/v1/generated/validators/placedOrder.zod.js +16 -0
  594. package/dist/billing/type/order/v1/generated/validators/plan.zod.d.ts +31 -0
  595. package/dist/billing/type/order/v1/generated/validators/plan.zod.js +23 -0
  596. package/dist/billing/type/order/v1/generated/validators/planFeature.zod.d.ts +18 -0
  597. package/dist/billing/type/order/v1/generated/validators/planFeature.zod.js +13 -0
  598. package/dist/billing/type/order/v1/generated/validators/planList.zod.d.ts +38 -0
  599. package/dist/billing/type/order/v1/generated/validators/planList.zod.js +14 -0
  600. package/dist/billing/type/order/v1/generated/validators/price.zod.d.ts +86 -0
  601. package/dist/billing/type/order/v1/generated/validators/price.zod.js +78 -0
  602. package/dist/billing/type/order/v1/generated/validators/priceList.zod.d.ts +93 -0
  603. package/dist/billing/type/order/v1/generated/validators/priceList.zod.js +14 -0
  604. package/dist/billing/type/order/v1/generated/validators/priceOption.zod.d.ts +46 -0
  605. package/dist/billing/type/order/v1/generated/validators/priceOption.zod.js +32 -0
  606. package/dist/billing/type/order/v1/generated/validators/priceType.zod.d.ts +14 -0
  607. package/dist/billing/type/order/v1/generated/validators/priceType.zod.js +11 -0
  608. package/dist/billing/type/order/v1/generated/validators/product.zod.d.ts +15 -0
  609. package/dist/billing/type/order/v1/generated/validators/product.zod.js +14 -0
  610. package/dist/billing/type/order/v1/generated/validators/productID.zod.d.ts +13 -0
  611. package/dist/billing/type/order/v1/generated/validators/productID.zod.js +16 -0
  612. package/dist/billing/type/order/v1/generated/validators/productList.zod.d.ts +22 -0
  613. package/dist/billing/type/order/v1/generated/validators/productList.zod.js +14 -0
  614. package/dist/billing/type/order/v1/generated/validators/projectAssignment.zod.d.ts +22 -0
  615. package/dist/billing/type/order/v1/generated/validators/projectAssignment.zod.js +23 -0
  616. package/dist/billing/type/order/v1/generated/validators/projectAssignmentList.zod.d.ts +29 -0
  617. package/dist/billing/type/order/v1/generated/validators/projectAssignmentList.zod.js +14 -0
  618. package/dist/billing/type/order/v1/generated/validators/purchaseOperation.zod.d.ts +15 -0
  619. package/dist/billing/type/order/v1/generated/validators/purchaseOperation.zod.js +11 -0
  620. package/dist/billing/type/order/v1/generated/validators/quote.zod.d.ts +112 -0
  621. package/dist/billing/type/order/v1/generated/validators/quote.zod.js +32 -0
  622. package/dist/billing/type/order/v1/generated/validators/quoteCancellation.zod.d.ts +18 -0
  623. package/dist/billing/type/order/v1/generated/validators/quoteCancellation.zod.js +20 -0
  624. package/dist/billing/type/order/v1/generated/validators/quoteItem.zod.d.ts +25 -0
  625. package/dist/billing/type/order/v1/generated/validators/quoteItem.zod.js +38 -0
  626. package/dist/billing/type/order/v1/generated/validators/quoteItemInput.zod.d.ts +45 -0
  627. package/dist/billing/type/order/v1/generated/validators/quoteItemInput.zod.js +41 -0
  628. package/dist/billing/type/order/v1/generated/validators/quoteRenewal.zod.d.ts +27 -0
  629. package/dist/billing/type/order/v1/generated/validators/quoteRenewal.zod.js +26 -0
  630. package/dist/billing/type/order/v1/generated/validators/quoteRenewalResult.zod.d.ts +27 -0
  631. package/dist/billing/type/order/v1/generated/validators/quoteRenewalResult.zod.js +24 -0
  632. package/dist/billing/type/order/v1/generated/validators/quoteRequest.zod.d.ts +75 -0
  633. package/dist/billing/type/order/v1/generated/validators/quoteRequest.zod.js +42 -0
  634. package/dist/billing/type/order/v1/generated/validators/quotedDiscount.zod.d.ts +19 -0
  635. package/dist/billing/type/order/v1/generated/validators/quotedDiscount.zod.js +21 -0
  636. package/dist/billing/type/order/v1/generated/validators/rate.zod.d.ts +49 -0
  637. package/dist/billing/type/order/v1/generated/validators/rate.zod.js +41 -0
  638. package/dist/billing/type/order/v1/generated/validators/rateList.zod.d.ts +56 -0
  639. package/dist/billing/type/order/v1/generated/validators/rateList.zod.js +14 -0
  640. package/dist/billing/type/order/v1/generated/validators/refund.zod.d.ts +93 -0
  641. package/dist/billing/type/order/v1/generated/validators/refund.zod.js +44 -0
  642. package/dist/billing/type/order/v1/generated/validators/refundList.zod.d.ts +100 -0
  643. package/dist/billing/type/order/v1/generated/validators/refundList.zod.js +14 -0
  644. package/dist/billing/type/order/v1/generated/validators/refundPolicy.zod.d.ts +15 -0
  645. package/dist/billing/type/order/v1/generated/validators/refundPolicy.zod.js +11 -0
  646. package/dist/billing/type/order/v1/generated/validators/refundReason.zod.d.ts +23 -0
  647. package/dist/billing/type/order/v1/generated/validators/refundReason.zod.js +23 -0
  648. package/dist/billing/type/order/v1/generated/validators/renewRequest.zod.d.ts +31 -0
  649. package/dist/billing/type/order/v1/generated/validators/renewRequest.zod.js +42 -0
  650. package/dist/billing/type/order/v1/generated/validators/renewalOrderRequest.zod.d.ts +25 -0
  651. package/dist/billing/type/order/v1/generated/validators/renewalOrderRequest.zod.js +25 -0
  652. package/dist/billing/type/order/v1/generated/validators/renewalPrice.zod.d.ts +33 -0
  653. package/dist/billing/type/order/v1/generated/validators/renewalPrice.zod.js +25 -0
  654. package/dist/billing/type/order/v1/generated/validators/renewalPriceList.zod.d.ts +40 -0
  655. package/dist/billing/type/order/v1/generated/validators/renewalPriceList.zod.js +14 -0
  656. package/dist/billing/type/order/v1/generated/validators/scheduledChange.zod.d.ts +34 -0
  657. package/dist/billing/type/order/v1/generated/validators/scheduledChange.zod.js +26 -0
  658. package/dist/billing/type/order/v1/generated/validators/setProjectAssignmentRequest.zod.d.ts +13 -0
  659. package/dist/billing/type/order/v1/generated/validators/setProjectAssignmentRequest.zod.js +11 -0
  660. package/dist/billing/type/order/v1/generated/validators/spendRow.zod.d.ts +30 -0
  661. package/dist/billing/type/order/v1/generated/validators/spendRow.zod.js +29 -0
  662. package/dist/billing/type/order/v1/generated/validators/spendRowList.zod.d.ts +39 -0
  663. package/dist/billing/type/order/v1/generated/validators/spendRowList.zod.js +17 -0
  664. package/dist/billing/type/order/v1/generated/validators/statement.zod.d.ts +40 -0
  665. package/dist/billing/type/order/v1/generated/validators/statement.zod.js +36 -0
  666. package/dist/billing/type/order/v1/generated/validators/statementAmounts.zod.d.ts +17 -0
  667. package/dist/billing/type/order/v1/generated/validators/statementAmounts.zod.js +16 -0
  668. package/dist/billing/type/order/v1/generated/validators/statementItem.zod.d.ts +20 -0
  669. package/dist/billing/type/order/v1/generated/validators/statementItem.zod.js +25 -0
  670. package/dist/billing/type/order/v1/generated/validators/statementList.zod.d.ts +47 -0
  671. package/dist/billing/type/order/v1/generated/validators/statementList.zod.js +14 -0
  672. package/dist/billing/type/order/v1/generated/validators/statementStatus.zod.d.ts +14 -0
  673. package/dist/billing/type/order/v1/generated/validators/statementStatus.zod.js +9 -0
  674. package/dist/billing/type/order/v1/generated/validators/statementSummary.zod.d.ts +36 -0
  675. package/dist/billing/type/order/v1/generated/validators/statementSummary.zod.js +19 -0
  676. package/dist/billing/type/order/v1/generated/validators/statementType.zod.d.ts +15 -0
  677. package/dist/billing/type/order/v1/generated/validators/statementType.zod.js +11 -0
  678. package/dist/billing/type/order/v1/generated/validators/subscription.zod.d.ts +149 -0
  679. package/dist/billing/type/order/v1/generated/validators/subscription.zod.js +119 -0
  680. package/dist/billing/type/order/v1/generated/validators/subscriptionCancellation.zod.d.ts +37 -0
  681. package/dist/billing/type/order/v1/generated/validators/subscriptionCancellation.zod.js +30 -0
  682. package/dist/billing/type/order/v1/generated/validators/subscriptionList.zod.d.ts +155 -0
  683. package/dist/billing/type/order/v1/generated/validators/subscriptionList.zod.js +14 -0
  684. package/dist/billing/type/order/v1/generated/validators/subscriptionRestriction.zod.d.ts +17 -0
  685. package/dist/billing/type/order/v1/generated/validators/subscriptionRestriction.zod.js +17 -0
  686. package/dist/billing/type/order/v1/generated/validators/taxItem.zod.d.ts +21 -0
  687. package/dist/billing/type/order/v1/generated/validators/taxItem.zod.js +21 -0
  688. package/dist/billing/type/order/v1/generated/validators/tier.zod.d.ts +15 -0
  689. package/dist/billing/type/order/v1/generated/validators/tier.zod.js +17 -0
  690. package/dist/billing/type/order/v1/generated/validators/topUp.zod.d.ts +51 -0
  691. package/dist/billing/type/order/v1/generated/validators/topUp.zod.js +46 -0
  692. package/dist/billing/type/order/v1/generated/validators/topUpCreate.zod.d.ts +22 -0
  693. package/dist/billing/type/order/v1/generated/validators/topUpCreate.zod.js +34 -0
  694. package/dist/billing/type/order/v1/generated/validators/topUpList.zod.d.ts +58 -0
  695. package/dist/billing/type/order/v1/generated/validators/topUpList.zod.js +14 -0
  696. package/dist/billing/type/order/v1/generated/validators/transaction.zod.d.ts +54 -0
  697. package/dist/billing/type/order/v1/generated/validators/transaction.zod.js +48 -0
  698. package/dist/billing/type/order/v1/generated/validators/transactionList.zod.d.ts +61 -0
  699. package/dist/billing/type/order/v1/generated/validators/transactionList.zod.js +14 -0
  700. package/dist/billing/type/order/v1/generated/validators/transactionType.zod.d.ts +17 -0
  701. package/dist/billing/type/order/v1/generated/validators/transactionType.zod.js +11 -0
  702. package/dist/billing/type/order/v1/generated/validators/usageCharge.zod.d.ts +44 -0
  703. package/dist/billing/type/order/v1/generated/validators/usageCharge.zod.js +58 -0
  704. package/dist/billing/type/order/v1/generated/validators/usageChargeList.zod.d.ts +51 -0
  705. package/dist/billing/type/order/v1/generated/validators/usageChargeList.zod.js +14 -0
  706. package/dist/billing/type/order/v1/generated/validators/usageType.zod.d.ts +14 -0
  707. package/dist/billing/type/order/v1/generated/validators/usageType.zod.js +11 -0
  708. package/dist/billing/type/order/v1/generated/validators/withdrawal.zod.d.ts +40 -0
  709. package/dist/billing/type/order/v1/generated/validators/withdrawal.zod.js +43 -0
  710. package/dist/billing/type/order/v1/generated/validators/withdrawalAllocation.zod.d.ts +19 -0
  711. package/dist/billing/type/order/v1/generated/validators/withdrawalAllocation.zod.js +17 -0
  712. package/dist/billing/type/order/v1/generated/validators/withdrawalCreate.zod.d.ts +25 -0
  713. package/dist/billing/type/order/v1/generated/validators/withdrawalCreate.zod.js +19 -0
  714. package/dist/billing/type/order/v1/generated/validators/withdrawalItem.zod.d.ts +46 -0
  715. package/dist/billing/type/order/v1/generated/validators/withdrawalItem.zod.js +37 -0
  716. package/dist/billing/type/order/v1/generated/validators/withdrawalItemList.zod.d.ts +48 -0
  717. package/dist/billing/type/order/v1/generated/validators/withdrawalItemList.zod.js +14 -0
  718. package/dist/billing/type/order/v1/generated/validators/withdrawalList.zod.d.ts +39 -0
  719. package/dist/billing/type/order/v1/generated/validators/withdrawalList.zod.js +14 -0
  720. package/dist/billing/type/order/v1/generated/validators/withdrawalPreview.zod.d.ts +40 -0
  721. package/dist/billing/type/order/v1/generated/validators/withdrawalPreview.zod.js +25 -0
  722. package/dist/billing/type/order/v1/generated/validators/withdrawalPreviewItem.zod.d.ts +28 -0
  723. package/dist/billing/type/order/v1/generated/validators/withdrawalPreviewItem.zod.js +19 -0
  724. package/dist/billing/type/order/v1/generated/validators/withdrawalPreviewRequest.zod.d.ts +15 -0
  725. package/dist/billing/type/order/v1/generated/validators/withdrawalPreviewRequest.zod.js +13 -0
  726. package/dist/billing/type/order/v1/generated/validators/withdrawalSource.zod.d.ts +23 -0
  727. package/dist/billing/type/order/v1/generated/validators/withdrawalSource.zod.js +23 -0
  728. package/dist/billing/type/quote/v1/generated/functions.d.ts +8 -0
  729. package/dist/billing/type/quote/v1/generated/functions.js +8 -0
  730. package/dist/billing/type/quote/v1/generated/models.d.ts +190 -0
  731. package/dist/billing/type/quote/v1/generated/models.js +18 -0
  732. package/dist/billing/type/quote/v1/generated/schemas.zod.d.ts +8 -0
  733. package/dist/billing/type/quote/v1/generated/schemas.zod.js +8 -0
  734. package/dist/billing/type/quote/v1/generated/validators/funds.zod.d.ts +18 -0
  735. package/dist/billing/type/quote/v1/generated/validators/funds.zod.js +19 -0
  736. package/dist/billing/type/quote/v1/generated/validators/money.zod.d.ts +11 -0
  737. package/dist/billing/type/quote/v1/generated/validators/money.zod.js +11 -0
  738. package/dist/billing/type/quote/v1/generated/validators/quote.zod.d.ts +65 -0
  739. package/dist/billing/type/quote/v1/generated/validators/quote.zod.js +37 -0
  740. package/dist/billing/type/quote/v1/generated/validators/quoteItem.zod.d.ts +43 -0
  741. package/dist/billing/type/quote/v1/generated/validators/quoteItem.zod.js +51 -0
  742. package/dist/billing/v1/generated/functions.d.ts +2187 -0
  743. package/dist/billing/v1/generated/functions.js +2540 -0
  744. package/dist/billing/v1/generated/models.d.ts +4673 -0
  745. package/dist/billing/v1/generated/models.js +451 -0
  746. package/dist/billing/v1/generated/schemas.zod.d.ts +1428 -0
  747. package/dist/billing/v1/generated/schemas.zod.js +1902 -0
  748. package/dist/billing/v1/generated/validators/accountBalance.zod.d.ts +135 -0
  749. package/dist/billing/v1/generated/validators/accountBalance.zod.js +27 -0
  750. package/dist/billing/v1/generated/validators/accountDeletionObjection.zod.d.ts +19 -0
  751. package/dist/billing/v1/generated/validators/accountDeletionObjection.zod.js +19 -0
  752. package/dist/billing/v1/generated/validators/accountDeletionReadiness.zod.d.ts +45 -0
  753. package/dist/billing/v1/generated/validators/accountDeletionReadiness.zod.js +14 -0
  754. package/dist/billing/v1/generated/validators/accountDeletionReadinessItem.zod.d.ts +43 -0
  755. package/dist/billing/v1/generated/validators/accountDeletionReadinessItem.zod.js +19 -0
  756. package/dist/billing/v1/generated/validators/accountIdentity.zod.d.ts +15 -0
  757. package/dist/billing/v1/generated/validators/accountIdentity.zod.js +13 -0
  758. package/dist/billing/v1/generated/validators/activeResource.zod.d.ts +42 -0
  759. package/dist/billing/v1/generated/validators/activeResource.zod.js +41 -0
  760. package/dist/billing/v1/generated/validators/activeResourceList.zod.d.ts +49 -0
  761. package/dist/billing/v1/generated/validators/activeResourceList.zod.js +14 -0
  762. package/dist/billing/v1/generated/validators/activeResourceStatus.zod.d.ts +16 -0
  763. package/dist/billing/v1/generated/validators/activeResourceStatus.zod.js +9 -0
  764. package/dist/billing/v1/generated/validators/allowance.zod.d.ts +45 -0
  765. package/dist/billing/v1/generated/validators/allowance.zod.js +46 -0
  766. package/dist/billing/v1/generated/validators/allowanceList.zod.d.ts +52 -0
  767. package/dist/billing/v1/generated/validators/allowanceList.zod.js +14 -0
  768. package/dist/billing/v1/generated/validators/allowanceStatus.zod.d.ts +16 -0
  769. package/dist/billing/v1/generated/validators/allowanceStatus.zod.js +9 -0
  770. package/dist/billing/v1/generated/validators/applicability.zod.d.ts +119 -0
  771. package/dist/billing/v1/generated/validators/applicability.zod.js +41 -0
  772. package/dist/billing/v1/generated/validators/applicablePlan.zod.d.ts +15 -0
  773. package/dist/billing/v1/generated/validators/applicablePlan.zod.js +15 -0
  774. package/dist/billing/v1/generated/validators/appliedCredit.zod.d.ts +15 -0
  775. package/dist/billing/v1/generated/validators/appliedCredit.zod.js +16 -0
  776. package/dist/billing/v1/generated/validators/billingAccount.zod.d.ts +30 -0
  777. package/dist/billing/v1/generated/validators/billingAccount.zod.js +35 -0
  778. package/dist/billing/v1/generated/validators/billingAccountCreate.zod.d.ts +17 -0
  779. package/dist/billing/v1/generated/validators/billingAccountCreate.zod.js +15 -0
  780. package/dist/billing/v1/generated/validators/billingAccountList.zod.d.ts +37 -0
  781. package/dist/billing/v1/generated/validators/billingAccountList.zod.js +14 -0
  782. package/dist/billing/v1/generated/validators/billingAccountStatus.zod.d.ts +15 -0
  783. package/dist/billing/v1/generated/validators/billingAccountStatus.zod.js +11 -0
  784. package/dist/billing/v1/generated/validators/billingAccountUpdate.zod.d.ts +15 -0
  785. package/dist/billing/v1/generated/validators/billingAccountUpdate.zod.js +16 -0
  786. package/dist/billing/v1/generated/validators/billingScheme.zod.d.ts +14 -0
  787. package/dist/billing/v1/generated/validators/billingScheme.zod.js +11 -0
  788. package/dist/billing/v1/generated/validators/cancelSubscriptionRequest.zod.d.ts +21 -0
  789. package/dist/billing/v1/generated/validators/cancelSubscriptionRequest.zod.js +21 -0
  790. package/dist/billing/v1/generated/validators/cancellation.zod.d.ts +68 -0
  791. package/dist/billing/v1/generated/validators/cancellation.zod.js +39 -0
  792. package/dist/billing/v1/generated/validators/cancellationCreate.zod.d.ts +25 -0
  793. package/dist/billing/v1/generated/validators/cancellationCreate.zod.js +32 -0
  794. package/dist/billing/v1/generated/validators/cancellationItem.zod.d.ts +39 -0
  795. package/dist/billing/v1/generated/validators/cancellationItem.zod.js +37 -0
  796. package/dist/billing/v1/generated/validators/cancellationItemInput.zod.d.ts +13 -0
  797. package/dist/billing/v1/generated/validators/cancellationItemInput.zod.js +13 -0
  798. package/dist/billing/v1/generated/validators/cancellationList.zod.d.ts +75 -0
  799. package/dist/billing/v1/generated/validators/cancellationList.zod.js +14 -0
  800. package/dist/billing/v1/generated/validators/cancellationMode.zod.d.ts +14 -0
  801. package/dist/billing/v1/generated/validators/cancellationMode.zod.js +11 -0
  802. package/dist/billing/v1/generated/validators/cancellationPolicy.zod.d.ts +14 -0
  803. package/dist/billing/v1/generated/validators/cancellationPolicy.zod.js +11 -0
  804. package/dist/billing/v1/generated/validators/cancellationPreview.zod.d.ts +52 -0
  805. package/dist/billing/v1/generated/validators/cancellationPreview.zod.js +33 -0
  806. package/dist/billing/v1/generated/validators/cancellationPreviewItem.zod.d.ts +36 -0
  807. package/dist/billing/v1/generated/validators/cancellationPreviewItem.zod.js +36 -0
  808. package/dist/billing/v1/generated/validators/cancellationPreviewRequest.zod.d.ts +21 -0
  809. package/dist/billing/v1/generated/validators/cancellationPreviewRequest.zod.js +25 -0
  810. package/dist/billing/v1/generated/validators/checkoutMode.zod.d.ts +14 -0
  811. package/dist/billing/v1/generated/validators/checkoutMode.zod.js +11 -0
  812. package/dist/billing/v1/generated/validators/checkoutOptions.zod.d.ts +24 -0
  813. package/dist/billing/v1/generated/validators/checkoutOptions.zod.js +35 -0
  814. package/dist/billing/v1/generated/validators/checkoutSession.zod.d.ts +319 -0
  815. package/dist/billing/v1/generated/validators/checkoutSession.zod.js +86 -0
  816. package/dist/billing/v1/generated/validators/checkoutSessionConfirm.zod.d.ts +15 -0
  817. package/dist/billing/v1/generated/validators/checkoutSessionConfirm.zod.js +17 -0
  818. package/dist/billing/v1/generated/validators/checkoutSessionCreate.zod.d.ts +29 -0
  819. package/dist/billing/v1/generated/validators/checkoutSessionCreate.zod.js +32 -0
  820. package/dist/billing/v1/generated/validators/checkoutSessionDiscount.zod.d.ts +29 -0
  821. package/dist/billing/v1/generated/validators/checkoutSessionDiscount.zod.js +32 -0
  822. package/dist/billing/v1/generated/validators/checkoutSessionItem.zod.d.ts +51 -0
  823. package/dist/billing/v1/generated/validators/checkoutSessionItem.zod.js +87 -0
  824. package/dist/billing/v1/generated/validators/checkoutSessionItemDowngradeRefund.zod.d.ts +14 -0
  825. package/dist/billing/v1/generated/validators/checkoutSessionItemDowngradeRefund.zod.js +15 -0
  826. package/dist/billing/v1/generated/validators/checkoutSessionItemInput.zod.d.ts +42 -0
  827. package/dist/billing/v1/generated/validators/checkoutSessionItemInput.zod.js +41 -0
  828. package/dist/billing/v1/generated/validators/checkoutSessionList.zod.d.ts +326 -0
  829. package/dist/billing/v1/generated/validators/checkoutSessionList.zod.js +14 -0
  830. package/dist/billing/v1/generated/validators/checkoutSessionPreviewRequest.zod.d.ts +91 -0
  831. package/dist/billing/v1/generated/validators/checkoutSessionPreviewRequest.zod.js +69 -0
  832. package/dist/billing/v1/generated/validators/checkoutSessionPreviewSubscription.zod.d.ts +57 -0
  833. package/dist/billing/v1/generated/validators/checkoutSessionPreviewSubscription.zod.js +22 -0
  834. package/dist/billing/v1/generated/validators/checkoutSessionResult.zod.d.ts +459 -0
  835. package/dist/billing/v1/generated/validators/checkoutSessionResult.zod.js +16 -0
  836. package/dist/billing/v1/generated/validators/checkoutSessionStatus.zod.d.ts +15 -0
  837. package/dist/billing/v1/generated/validators/checkoutSessionStatus.zod.js +11 -0
  838. package/dist/billing/v1/generated/validators/checkoutSessionSubscription.zod.d.ts +95 -0
  839. package/dist/billing/v1/generated/validators/checkoutSessionSubscription.zod.js +53 -0
  840. package/dist/billing/v1/generated/validators/checkoutSessionSubscriptionInput.zod.d.ts +13 -0
  841. package/dist/billing/v1/generated/validators/checkoutSessionSubscriptionInput.zod.js +13 -0
  842. package/dist/billing/v1/generated/validators/checkoutSessionTrial.zod.d.ts +24 -0
  843. package/dist/billing/v1/generated/validators/checkoutSessionTrial.zod.js +16 -0
  844. package/dist/billing/v1/generated/validators/checkoutSessionUpdate.zod.d.ts +16 -0
  845. package/dist/billing/v1/generated/validators/checkoutSessionUpdate.zod.js +27 -0
  846. package/dist/billing/v1/generated/validators/contact.zod.d.ts +41 -0
  847. package/dist/billing/v1/generated/validators/contact.zod.js +39 -0
  848. package/dist/billing/v1/generated/validators/contactCreate.zod.d.ts +32 -0
  849. package/dist/billing/v1/generated/validators/contactCreate.zod.js +30 -0
  850. package/dist/billing/v1/generated/validators/contactList.zod.d.ts +38 -0
  851. package/dist/billing/v1/generated/validators/contactList.zod.js +14 -0
  852. package/dist/billing/v1/generated/validators/contactUpdate.zod.d.ts +33 -0
  853. package/dist/billing/v1/generated/validators/contactUpdate.zod.js +31 -0
  854. package/dist/billing/v1/generated/validators/creditGrant.zod.d.ts +137 -0
  855. package/dist/billing/v1/generated/validators/creditGrant.zod.js +28 -0
  856. package/dist/billing/v1/generated/validators/creditGrantList.zod.d.ts +144 -0
  857. package/dist/billing/v1/generated/validators/creditGrantList.zod.js +14 -0
  858. package/dist/billing/v1/generated/validators/creditGrantStatus.zod.d.ts +16 -0
  859. package/dist/billing/v1/generated/validators/creditGrantStatus.zod.js +9 -0
  860. package/dist/billing/v1/generated/validators/creditGroup.zod.d.ts +123 -0
  861. package/dist/billing/v1/generated/validators/creditGroup.zod.js +18 -0
  862. package/dist/billing/v1/generated/validators/creditNote.zod.d.ts +34 -0
  863. package/dist/billing/v1/generated/validators/creditNote.zod.js +41 -0
  864. package/dist/billing/v1/generated/validators/creditNoteItem.zod.d.ts +17 -0
  865. package/dist/billing/v1/generated/validators/creditNoteItem.zod.js +16 -0
  866. package/dist/billing/v1/generated/validators/creditNoteItemList.zod.d.ts +24 -0
  867. package/dist/billing/v1/generated/validators/creditNoteItemList.zod.js +14 -0
  868. package/dist/billing/v1/generated/validators/creditNoteList.zod.d.ts +41 -0
  869. package/dist/billing/v1/generated/validators/creditNoteList.zod.js +14 -0
  870. package/dist/billing/v1/generated/validators/creditNoteStatus.zod.d.ts +14 -0
  871. package/dist/billing/v1/generated/validators/creditNoteStatus.zod.js +9 -0
  872. package/dist/billing/v1/generated/validators/currency.zod.d.ts +21 -0
  873. package/dist/billing/v1/generated/validators/currency.zod.js +30 -0
  874. package/dist/billing/v1/generated/validators/currencyList.zod.d.ts +23 -0
  875. package/dist/billing/v1/generated/validators/currencyList.zod.js +14 -0
  876. package/dist/billing/v1/generated/validators/cursorPagination.zod.d.ts +14 -0
  877. package/dist/billing/v1/generated/validators/cursorPagination.zod.js +14 -0
  878. package/dist/billing/v1/generated/validators/customerAddress.zod.d.ts +16 -0
  879. package/dist/billing/v1/generated/validators/customerAddress.zod.js +24 -0
  880. package/dist/billing/v1/generated/validators/discount.zod.d.ts +153 -0
  881. package/dist/billing/v1/generated/validators/discount.zod.js +43 -0
  882. package/dist/billing/v1/generated/validators/discountList.zod.d.ts +160 -0
  883. package/dist/billing/v1/generated/validators/discountList.zod.js +14 -0
  884. package/dist/billing/v1/generated/validators/discountStatus.zod.d.ts +16 -0
  885. package/dist/billing/v1/generated/validators/discountStatus.zod.js +11 -0
  886. package/dist/billing/v1/generated/validators/entitlement.zod.d.ts +25 -0
  887. package/dist/billing/v1/generated/validators/entitlement.zod.js +20 -0
  888. package/dist/billing/v1/generated/validators/entitlementList.zod.d.ts +32 -0
  889. package/dist/billing/v1/generated/validators/entitlementList.zod.js +14 -0
  890. package/dist/billing/v1/generated/validators/error.zod.d.ts +25 -0
  891. package/dist/billing/v1/generated/validators/error.zod.js +14 -0
  892. package/dist/billing/v1/generated/validators/errorStatus.zod.d.ts +23 -0
  893. package/dist/billing/v1/generated/validators/errorStatus.zod.js +38 -0
  894. package/dist/billing/v1/generated/validators/featureGrant.zod.d.ts +33 -0
  895. package/dist/billing/v1/generated/validators/featureGrant.zod.js +24 -0
  896. package/dist/billing/v1/generated/validators/featureGrantList.zod.d.ts +40 -0
  897. package/dist/billing/v1/generated/validators/featureGrantList.zod.js +14 -0
  898. package/dist/billing/v1/generated/validators/featureGrantStatus.zod.d.ts +16 -0
  899. package/dist/billing/v1/generated/validators/featureGrantStatus.zod.js +11 -0
  900. package/dist/billing/v1/generated/validators/fieldViolation.zod.d.ts +14 -0
  901. package/dist/billing/v1/generated/validators/fieldViolation.zod.js +17 -0
  902. package/dist/billing/v1/generated/validators/funds.zod.d.ts +18 -0
  903. package/dist/billing/v1/generated/validators/funds.zod.js +19 -0
  904. package/dist/billing/v1/generated/validators/getPlanHeaders.zod.d.ts +13 -0
  905. package/dist/billing/v1/generated/validators/getPlanHeaders.zod.js +11 -0
  906. package/dist/billing/v1/generated/validators/getPriceHeaders.zod.d.ts +13 -0
  907. package/dist/billing/v1/generated/validators/getPriceHeaders.zod.js +11 -0
  908. package/dist/billing/v1/generated/validators/getProductHeaders.zod.d.ts +13 -0
  909. package/dist/billing/v1/generated/validators/getProductHeaders.zod.js +11 -0
  910. package/dist/billing/v1/generated/validators/getStatementUsageParams.zod.d.ts +29 -0
  911. package/dist/billing/v1/generated/validators/getStatementUsageParams.zod.js +33 -0
  912. package/dist/billing/v1/generated/validators/invoice.zod.d.ts +62 -0
  913. package/dist/billing/v1/generated/validators/invoice.zod.js +54 -0
  914. package/dist/billing/v1/generated/validators/invoiceItem.zod.d.ts +46 -0
  915. package/dist/billing/v1/generated/validators/invoiceItem.zod.js +60 -0
  916. package/dist/billing/v1/generated/validators/invoiceItemList.zod.d.ts +53 -0
  917. package/dist/billing/v1/generated/validators/invoiceItemList.zod.js +14 -0
  918. package/dist/billing/v1/generated/validators/invoiceItemProration.zod.d.ts +18 -0
  919. package/dist/billing/v1/generated/validators/invoiceItemProration.zod.js +21 -0
  920. package/dist/billing/v1/generated/validators/invoiceList.zod.d.ts +69 -0
  921. package/dist/billing/v1/generated/validators/invoiceList.zod.js +14 -0
  922. package/dist/billing/v1/generated/validators/invoiceStatus.zod.d.ts +15 -0
  923. package/dist/billing/v1/generated/validators/invoiceStatus.zod.js +11 -0
  924. package/dist/billing/v1/generated/validators/invoiceSummary.zod.d.ts +31 -0
  925. package/dist/billing/v1/generated/validators/invoiceSummary.zod.js +34 -0
  926. package/dist/billing/v1/generated/validators/listAccountDiscountsParams.zod.d.ts +26 -0
  927. package/dist/billing/v1/generated/validators/listAccountDiscountsParams.zod.js +28 -0
  928. package/dist/billing/v1/generated/validators/listActiveResourcesParams.zod.d.ts +31 -0
  929. package/dist/billing/v1/generated/validators/listActiveResourcesParams.zod.js +34 -0
  930. package/dist/billing/v1/generated/validators/listAllowancesParams.zod.d.ts +30 -0
  931. package/dist/billing/v1/generated/validators/listAllowancesParams.zod.js +29 -0
  932. package/dist/billing/v1/generated/validators/listBillingAccountsParams.zod.d.ts +24 -0
  933. package/dist/billing/v1/generated/validators/listBillingAccountsParams.zod.js +27 -0
  934. package/dist/billing/v1/generated/validators/listCancellationsParams.zod.d.ts +33 -0
  935. package/dist/billing/v1/generated/validators/listCancellationsParams.zod.js +35 -0
  936. package/dist/billing/v1/generated/validators/listCheckoutSessionsParams.zod.d.ts +27 -0
  937. package/dist/billing/v1/generated/validators/listCheckoutSessionsParams.zod.js +34 -0
  938. package/dist/billing/v1/generated/validators/listContactsParams.zod.d.ts +18 -0
  939. package/dist/billing/v1/generated/validators/listContactsParams.zod.js +20 -0
  940. package/dist/billing/v1/generated/validators/listCreditGrantsParams.zod.d.ts +26 -0
  941. package/dist/billing/v1/generated/validators/listCreditGrantsParams.zod.js +28 -0
  942. package/dist/billing/v1/generated/validators/listCreditNoteItemsParams.zod.d.ts +18 -0
  943. package/dist/billing/v1/generated/validators/listCreditNoteItemsParams.zod.js +24 -0
  944. package/dist/billing/v1/generated/validators/listCreditNotesParams.zod.d.ts +25 -0
  945. package/dist/billing/v1/generated/validators/listCreditNotesParams.zod.js +29 -0
  946. package/dist/billing/v1/generated/validators/listCurrenciesParams.zod.d.ts +18 -0
  947. package/dist/billing/v1/generated/validators/listCurrenciesParams.zod.js +20 -0
  948. package/dist/billing/v1/generated/validators/listEntitlementsParams.zod.d.ts +22 -0
  949. package/dist/billing/v1/generated/validators/listEntitlementsParams.zod.js +29 -0
  950. package/dist/billing/v1/generated/validators/listFeatureGrantsParams.zod.d.ts +27 -0
  951. package/dist/billing/v1/generated/validators/listFeatureGrantsParams.zod.js +30 -0
  952. package/dist/billing/v1/generated/validators/listInvoiceItemsParams.zod.d.ts +18 -0
  953. package/dist/billing/v1/generated/validators/listInvoiceItemsParams.zod.js +24 -0
  954. package/dist/billing/v1/generated/validators/listInvoicesParams.zod.d.ts +28 -0
  955. package/dist/billing/v1/generated/validators/listInvoicesParams.zod.js +27 -0
  956. package/dist/billing/v1/generated/validators/listMonthlyStatementsParams.zod.d.ts +21 -0
  957. package/dist/billing/v1/generated/validators/listMonthlyStatementsParams.zod.js +27 -0
  958. package/dist/billing/v1/generated/validators/listOrderItemsParams.zod.d.ts +18 -0
  959. package/dist/billing/v1/generated/validators/listOrderItemsParams.zod.js +20 -0
  960. package/dist/billing/v1/generated/validators/listOrdersParams.zod.d.ts +32 -0
  961. package/dist/billing/v1/generated/validators/listOrdersParams.zod.js +28 -0
  962. package/dist/billing/v1/generated/validators/listPaymentMethodsParams.zod.d.ts +24 -0
  963. package/dist/billing/v1/generated/validators/listPaymentMethodsParams.zod.js +31 -0
  964. package/dist/billing/v1/generated/validators/listPaymentOptionsParams.zod.d.ts +18 -0
  965. package/dist/billing/v1/generated/validators/listPaymentOptionsParams.zod.js +24 -0
  966. package/dist/billing/v1/generated/validators/listPlansHeaders.zod.d.ts +13 -0
  967. package/dist/billing/v1/generated/validators/listPlansHeaders.zod.js +11 -0
  968. package/dist/billing/v1/generated/validators/listPlansParams.zod.d.ts +18 -0
  969. package/dist/billing/v1/generated/validators/listPlansParams.zod.js +20 -0
  970. package/dist/billing/v1/generated/validators/listPricesByPlanHeaders.zod.d.ts +13 -0
  971. package/dist/billing/v1/generated/validators/listPricesByPlanHeaders.zod.js +11 -0
  972. package/dist/billing/v1/generated/validators/listPricesByPlanParams.zod.d.ts +27 -0
  973. package/dist/billing/v1/generated/validators/listPricesByPlanParams.zod.js +29 -0
  974. package/dist/billing/v1/generated/validators/listPricesHeaders.zod.d.ts +13 -0
  975. package/dist/billing/v1/generated/validators/listPricesHeaders.zod.js +11 -0
  976. package/dist/billing/v1/generated/validators/listPricesParams.zod.d.ts +30 -0
  977. package/dist/billing/v1/generated/validators/listPricesParams.zod.js +29 -0
  978. package/dist/billing/v1/generated/validators/listProductsHeaders.zod.d.ts +13 -0
  979. package/dist/billing/v1/generated/validators/listProductsHeaders.zod.js +11 -0
  980. package/dist/billing/v1/generated/validators/listProductsParams.zod.d.ts +18 -0
  981. package/dist/billing/v1/generated/validators/listProductsParams.zod.js +20 -0
  982. package/dist/billing/v1/generated/validators/listProjectAssignmentsParams.zod.d.ts +21 -0
  983. package/dist/billing/v1/generated/validators/listProjectAssignmentsParams.zod.js +31 -0
  984. package/dist/billing/v1/generated/validators/listRefundsParams.zod.d.ts +28 -0
  985. package/dist/billing/v1/generated/validators/listRefundsParams.zod.js +26 -0
  986. package/dist/billing/v1/generated/validators/listRenewalOptionsParams.zod.d.ts +18 -0
  987. package/dist/billing/v1/generated/validators/listRenewalOptionsParams.zod.js +24 -0
  988. package/dist/billing/v1/generated/validators/listSpendParams.zod.d.ts +31 -0
  989. package/dist/billing/v1/generated/validators/listSpendParams.zod.js +31 -0
  990. package/dist/billing/v1/generated/validators/listStatementsParams.zod.d.ts +26 -0
  991. package/dist/billing/v1/generated/validators/listStatementsParams.zod.js +26 -0
  992. package/dist/billing/v1/generated/validators/listSubscriptionsParams.zod.d.ts +34 -0
  993. package/dist/billing/v1/generated/validators/listSubscriptionsParams.zod.js +37 -0
  994. package/dist/billing/v1/generated/validators/listTopUpsParams.zod.d.ts +26 -0
  995. package/dist/billing/v1/generated/validators/listTopUpsParams.zod.js +24 -0
  996. package/dist/billing/v1/generated/validators/listTransactionsParams.zod.d.ts +36 -0
  997. package/dist/billing/v1/generated/validators/listTransactionsParams.zod.js +33 -0
  998. package/dist/billing/v1/generated/validators/listTrialGrantsParams.zod.d.ts +27 -0
  999. package/dist/billing/v1/generated/validators/listTrialGrantsParams.zod.js +28 -0
  1000. package/dist/billing/v1/generated/validators/listUsageChargesParams.zod.d.ts +28 -0
  1001. package/dist/billing/v1/generated/validators/listUsageChargesParams.zod.js +35 -0
  1002. package/dist/billing/v1/generated/validators/listWithdrawalItemsParams.zod.d.ts +18 -0
  1003. package/dist/billing/v1/generated/validators/listWithdrawalItemsParams.zod.js +24 -0
  1004. package/dist/billing/v1/generated/validators/listWithdrawalsParams.zod.d.ts +28 -0
  1005. package/dist/billing/v1/generated/validators/listWithdrawalsParams.zod.js +28 -0
  1006. package/dist/billing/v1/generated/validators/money.zod.d.ts +11 -0
  1007. package/dist/billing/v1/generated/validators/money.zod.js +11 -0
  1008. package/dist/billing/v1/generated/validators/monthlyStatement.zod.d.ts +38 -0
  1009. package/dist/billing/v1/generated/validators/monthlyStatement.zod.js +30 -0
  1010. package/dist/billing/v1/generated/validators/monthlyStatementList.zod.d.ts +45 -0
  1011. package/dist/billing/v1/generated/validators/monthlyStatementList.zod.js +14 -0
  1012. package/dist/billing/v1/generated/validators/namedIdentity.zod.d.ts +15 -0
  1013. package/dist/billing/v1/generated/validators/namedIdentity.zod.js +15 -0
  1014. package/dist/billing/v1/generated/validators/objectIdentity.zod.d.ts +15 -0
  1015. package/dist/billing/v1/generated/validators/objectIdentity.zod.js +15 -0
  1016. package/dist/billing/v1/generated/validators/offsetPagination.zod.d.ts +16 -0
  1017. package/dist/billing/v1/generated/validators/offsetPagination.zod.js +16 -0
  1018. package/dist/billing/v1/generated/validators/order.zod.d.ts +148 -0
  1019. package/dist/billing/v1/generated/validators/order.zod.js +63 -0
  1020. package/dist/billing/v1/generated/validators/orderCancel.zod.d.ts +14 -0
  1021. package/dist/billing/v1/generated/validators/orderCancel.zod.js +17 -0
  1022. package/dist/billing/v1/generated/validators/orderItem.zod.d.ts +76 -0
  1023. package/dist/billing/v1/generated/validators/orderItem.zod.js +92 -0
  1024. package/dist/billing/v1/generated/validators/orderItemList.zod.d.ts +82 -0
  1025. package/dist/billing/v1/generated/validators/orderItemList.zod.js +14 -0
  1026. package/dist/billing/v1/generated/validators/orderItemStatus.zod.d.ts +16 -0
  1027. package/dist/billing/v1/generated/validators/orderItemStatus.zod.js +11 -0
  1028. package/dist/billing/v1/generated/validators/orderList.zod.d.ts +155 -0
  1029. package/dist/billing/v1/generated/validators/orderList.zod.js +14 -0
  1030. package/dist/billing/v1/generated/validators/orderRefundPreview.zod.d.ts +17 -0
  1031. package/dist/billing/v1/generated/validators/orderRefundPreview.zod.js +18 -0
  1032. package/dist/billing/v1/generated/validators/orderStatus.zod.d.ts +18 -0
  1033. package/dist/billing/v1/generated/validators/orderStatus.zod.js +11 -0
  1034. package/dist/billing/v1/generated/validators/paidWith.zod.d.ts +17 -0
  1035. package/dist/billing/v1/generated/validators/paidWith.zod.js +25 -0
  1036. package/dist/billing/v1/generated/validators/payInvoiceRequest.zod.d.ts +22 -0
  1037. package/dist/billing/v1/generated/validators/payInvoiceRequest.zod.js +41 -0
  1038. package/dist/billing/v1/generated/validators/payTogetherRequest.zod.d.ts +18 -0
  1039. package/dist/billing/v1/generated/validators/payTogetherRequest.zod.js +21 -0
  1040. package/dist/billing/v1/generated/validators/paymentAction.zod.d.ts +22 -0
  1041. package/dist/billing/v1/generated/validators/paymentAction.zod.js +24 -0
  1042. package/dist/billing/v1/generated/validators/paymentCancellationReason.zod.d.ts +14 -0
  1043. package/dist/billing/v1/generated/validators/paymentCancellationReason.zod.js +11 -0
  1044. package/dist/billing/v1/generated/validators/paymentMethod.zod.d.ts +25 -0
  1045. package/dist/billing/v1/generated/validators/paymentMethod.zod.js +19 -0
  1046. package/dist/billing/v1/generated/validators/paymentMethodList.zod.d.ts +32 -0
  1047. package/dist/billing/v1/generated/validators/paymentMethodList.zod.js +14 -0
  1048. package/dist/billing/v1/generated/validators/paymentMethodSetup.zod.d.ts +15 -0
  1049. package/dist/billing/v1/generated/validators/paymentMethodSetup.zod.js +17 -0
  1050. package/dist/billing/v1/generated/validators/paymentMethodSetupResult.zod.d.ts +26 -0
  1051. package/dist/billing/v1/generated/validators/paymentMethodSetupResult.zod.js +16 -0
  1052. package/dist/billing/v1/generated/validators/paymentOption.zod.d.ts +17 -0
  1053. package/dist/billing/v1/generated/validators/paymentOption.zod.js +15 -0
  1054. package/dist/billing/v1/generated/validators/paymentOptionList.zod.d.ts +24 -0
  1055. package/dist/billing/v1/generated/validators/paymentOptionList.zod.js +14 -0
  1056. package/dist/billing/v1/generated/validators/paymentOptionMethod.zod.d.ts +14 -0
  1057. package/dist/billing/v1/generated/validators/paymentOptionMethod.zod.js +16 -0
  1058. package/dist/billing/v1/generated/validators/paymentPreview.zod.d.ts +38 -0
  1059. package/dist/billing/v1/generated/validators/paymentPreview.zod.js +30 -0
  1060. package/dist/billing/v1/generated/validators/paymentPreviewInvoice.zod.d.ts +17 -0
  1061. package/dist/billing/v1/generated/validators/paymentPreviewInvoice.zod.js +16 -0
  1062. package/dist/billing/v1/generated/validators/paymentResult.zod.d.ts +87 -0
  1063. package/dist/billing/v1/generated/validators/paymentResult.zod.js +36 -0
  1064. package/dist/billing/v1/generated/validators/paymentStatus.zod.d.ts +16 -0
  1065. package/dist/billing/v1/generated/validators/paymentStatus.zod.js +11 -0
  1066. package/dist/billing/v1/generated/validators/plan.zod.d.ts +31 -0
  1067. package/dist/billing/v1/generated/validators/plan.zod.js +23 -0
  1068. package/dist/billing/v1/generated/validators/planFeature.zod.d.ts +18 -0
  1069. package/dist/billing/v1/generated/validators/planFeature.zod.js +13 -0
  1070. package/dist/billing/v1/generated/validators/planList.zod.d.ts +38 -0
  1071. package/dist/billing/v1/generated/validators/planList.zod.js +14 -0
  1072. package/dist/billing/v1/generated/validators/previewInvoicePaymentParams.zod.d.ts +16 -0
  1073. package/dist/billing/v1/generated/validators/previewInvoicePaymentParams.zod.js +14 -0
  1074. package/dist/billing/v1/generated/validators/previewOrderRefundParams.zod.d.ts +14 -0
  1075. package/dist/billing/v1/generated/validators/previewOrderRefundParams.zod.js +16 -0
  1076. package/dist/billing/v1/generated/validators/price.zod.d.ts +119 -0
  1077. package/dist/billing/v1/generated/validators/price.zod.js +78 -0
  1078. package/dist/billing/v1/generated/validators/priceList.zod.d.ts +126 -0
  1079. package/dist/billing/v1/generated/validators/priceList.zod.js +14 -0
  1080. package/dist/billing/v1/generated/validators/priceOption.zod.d.ts +46 -0
  1081. package/dist/billing/v1/generated/validators/priceOption.zod.js +32 -0
  1082. package/dist/billing/v1/generated/validators/priceSearch.zod.d.ts +34 -0
  1083. package/dist/billing/v1/generated/validators/priceSearch.zod.js +60 -0
  1084. package/dist/billing/v1/generated/validators/priceType.zod.d.ts +14 -0
  1085. package/dist/billing/v1/generated/validators/priceType.zod.js +11 -0
  1086. package/dist/billing/v1/generated/validators/product.zod.d.ts +15 -0
  1087. package/dist/billing/v1/generated/validators/product.zod.js +14 -0
  1088. package/dist/billing/v1/generated/validators/productId.zod.d.ts +13 -0
  1089. package/dist/billing/v1/generated/validators/productId.zod.js +16 -0
  1090. package/dist/billing/v1/generated/validators/productList.zod.d.ts +22 -0
  1091. package/dist/billing/v1/generated/validators/productList.zod.js +14 -0
  1092. package/dist/billing/v1/generated/validators/projectAssignment.zod.d.ts +22 -0
  1093. package/dist/billing/v1/generated/validators/projectAssignment.zod.js +23 -0
  1094. package/dist/billing/v1/generated/validators/projectAssignmentList.zod.d.ts +29 -0
  1095. package/dist/billing/v1/generated/validators/projectAssignmentList.zod.js +14 -0
  1096. package/dist/billing/v1/generated/validators/purchaseOperation.zod.d.ts +15 -0
  1097. package/dist/billing/v1/generated/validators/purchaseOperation.zod.js +11 -0
  1098. package/dist/billing/v1/generated/validators/rate.zod.d.ts +49 -0
  1099. package/dist/billing/v1/generated/validators/rate.zod.js +41 -0
  1100. package/dist/billing/v1/generated/validators/refund.zod.d.ts +93 -0
  1101. package/dist/billing/v1/generated/validators/refund.zod.js +43 -0
  1102. package/dist/billing/v1/generated/validators/refundList.zod.d.ts +100 -0
  1103. package/dist/billing/v1/generated/validators/refundList.zod.js +14 -0
  1104. package/dist/billing/v1/generated/validators/refundPolicy.zod.d.ts +15 -0
  1105. package/dist/billing/v1/generated/validators/refundPolicy.zod.js +11 -0
  1106. package/dist/billing/v1/generated/validators/refundReason.zod.d.ts +23 -0
  1107. package/dist/billing/v1/generated/validators/refundReason.zod.js +23 -0
  1108. package/dist/billing/v1/generated/validators/refundStatus.zod.d.ts +16 -0
  1109. package/dist/billing/v1/generated/validators/refundStatus.zod.js +11 -0
  1110. package/dist/billing/v1/generated/validators/renewRequest.zod.d.ts +31 -0
  1111. package/dist/billing/v1/generated/validators/renewRequest.zod.js +42 -0
  1112. package/dist/billing/v1/generated/validators/renewalOption.zod.d.ts +37 -0
  1113. package/dist/billing/v1/generated/validators/renewalOption.zod.js +22 -0
  1114. package/dist/billing/v1/generated/validators/renewalOptionItem.zod.d.ts +26 -0
  1115. package/dist/billing/v1/generated/validators/renewalOptionItem.zod.js +25 -0
  1116. package/dist/billing/v1/generated/validators/renewalOptionList.zod.d.ts +44 -0
  1117. package/dist/billing/v1/generated/validators/renewalOptionList.zod.js +14 -0
  1118. package/dist/billing/v1/generated/validators/scheduledChange.zod.d.ts +34 -0
  1119. package/dist/billing/v1/generated/validators/scheduledChange.zod.js +26 -0
  1120. package/dist/billing/v1/generated/validators/setProjectAssignmentRequest.zod.d.ts +13 -0
  1121. package/dist/billing/v1/generated/validators/setProjectAssignmentRequest.zod.js +11 -0
  1122. package/dist/billing/v1/generated/validators/spendRow.zod.d.ts +30 -0
  1123. package/dist/billing/v1/generated/validators/spendRow.zod.js +29 -0
  1124. package/dist/billing/v1/generated/validators/spendRowList.zod.d.ts +39 -0
  1125. package/dist/billing/v1/generated/validators/spendRowList.zod.js +17 -0
  1126. package/dist/billing/v1/generated/validators/statement.zod.d.ts +40 -0
  1127. package/dist/billing/v1/generated/validators/statement.zod.js +36 -0
  1128. package/dist/billing/v1/generated/validators/statementAmounts.zod.d.ts +17 -0
  1129. package/dist/billing/v1/generated/validators/statementAmounts.zod.js +16 -0
  1130. package/dist/billing/v1/generated/validators/statementItem.zod.d.ts +20 -0
  1131. package/dist/billing/v1/generated/validators/statementItem.zod.js +25 -0
  1132. package/dist/billing/v1/generated/validators/statementList.zod.d.ts +47 -0
  1133. package/dist/billing/v1/generated/validators/statementList.zod.js +14 -0
  1134. package/dist/billing/v1/generated/validators/statementStatus.zod.d.ts +14 -0
  1135. package/dist/billing/v1/generated/validators/statementStatus.zod.js +9 -0
  1136. package/dist/billing/v1/generated/validators/statementSummary.zod.d.ts +36 -0
  1137. package/dist/billing/v1/generated/validators/statementSummary.zod.js +19 -0
  1138. package/dist/billing/v1/generated/validators/statementType.zod.d.ts +15 -0
  1139. package/dist/billing/v1/generated/validators/statementType.zod.js +11 -0
  1140. package/dist/billing/v1/generated/validators/subscription.zod.d.ts +168 -0
  1141. package/dist/billing/v1/generated/validators/subscription.zod.js +84 -0
  1142. package/dist/billing/v1/generated/validators/subscriptionData.zod.d.ts +25 -0
  1143. package/dist/billing/v1/generated/validators/subscriptionData.zod.js +27 -0
  1144. package/dist/billing/v1/generated/validators/subscriptionDataInput.zod.d.ts +25 -0
  1145. package/dist/billing/v1/generated/validators/subscriptionDataInput.zod.js +22 -0
  1146. package/dist/billing/v1/generated/validators/subscriptionItem.zod.d.ts +104 -0
  1147. package/dist/billing/v1/generated/validators/subscriptionItem.zod.js +74 -0
  1148. package/dist/billing/v1/generated/validators/subscriptionItemCancellation.zod.d.ts +37 -0
  1149. package/dist/billing/v1/generated/validators/subscriptionItemCancellation.zod.js +31 -0
  1150. package/dist/billing/v1/generated/validators/subscriptionList.zod.d.ts +175 -0
  1151. package/dist/billing/v1/generated/validators/subscriptionList.zod.js +14 -0
  1152. package/dist/billing/v1/generated/validators/subscriptionRestriction.zod.d.ts +17 -0
  1153. package/dist/billing/v1/generated/validators/subscriptionRestriction.zod.js +17 -0
  1154. package/dist/billing/v1/generated/validators/subscriptionStatus.zod.d.ts +19 -0
  1155. package/dist/billing/v1/generated/validators/subscriptionStatus.zod.js +11 -0
  1156. package/dist/billing/v1/generated/validators/subscriptionUpdate.zod.d.ts +13 -0
  1157. package/dist/billing/v1/generated/validators/subscriptionUpdate.zod.js +13 -0
  1158. package/dist/billing/v1/generated/validators/taxItem.zod.d.ts +21 -0
  1159. package/dist/billing/v1/generated/validators/taxItem.zod.js +21 -0
  1160. package/dist/billing/v1/generated/validators/tier.zod.d.ts +15 -0
  1161. package/dist/billing/v1/generated/validators/tier.zod.js +17 -0
  1162. package/dist/billing/v1/generated/validators/topUp.zod.d.ts +51 -0
  1163. package/dist/billing/v1/generated/validators/topUp.zod.js +45 -0
  1164. package/dist/billing/v1/generated/validators/topUpCreate.zod.d.ts +22 -0
  1165. package/dist/billing/v1/generated/validators/topUpCreate.zod.js +34 -0
  1166. package/dist/billing/v1/generated/validators/topUpList.zod.d.ts +58 -0
  1167. package/dist/billing/v1/generated/validators/topUpList.zod.js +14 -0
  1168. package/dist/billing/v1/generated/validators/topUpStatus.zod.d.ts +16 -0
  1169. package/dist/billing/v1/generated/validators/topUpStatus.zod.js +11 -0
  1170. package/dist/billing/v1/generated/validators/transaction.zod.d.ts +54 -0
  1171. package/dist/billing/v1/generated/validators/transaction.zod.js +46 -0
  1172. package/dist/billing/v1/generated/validators/transactionList.zod.d.ts +61 -0
  1173. package/dist/billing/v1/generated/validators/transactionList.zod.js +14 -0
  1174. package/dist/billing/v1/generated/validators/transactionStatus.zod.d.ts +16 -0
  1175. package/dist/billing/v1/generated/validators/transactionStatus.zod.js +11 -0
  1176. package/dist/billing/v1/generated/validators/transactionType.zod.d.ts +17 -0
  1177. package/dist/billing/v1/generated/validators/transactionType.zod.js +11 -0
  1178. package/dist/billing/v1/generated/validators/trialEndBehavior.zod.d.ts +18 -0
  1179. package/dist/billing/v1/generated/validators/trialEndBehavior.zod.js +17 -0
  1180. package/dist/billing/v1/generated/validators/trialGrant.zod.d.ts +152 -0
  1181. package/dist/billing/v1/generated/validators/trialGrant.zod.js +33 -0
  1182. package/dist/billing/v1/generated/validators/trialGrantList.zod.d.ts +159 -0
  1183. package/dist/billing/v1/generated/validators/trialGrantList.zod.js +14 -0
  1184. package/dist/billing/v1/generated/validators/trialGrantStatus.zod.d.ts +17 -0
  1185. package/dist/billing/v1/generated/validators/trialGrantStatus.zod.js +11 -0
  1186. package/dist/billing/v1/generated/validators/trialOffer.zod.d.ts +136 -0
  1187. package/dist/billing/v1/generated/validators/trialOffer.zod.js +21 -0
  1188. package/dist/billing/v1/generated/validators/trialSettings.zod.d.ts +20 -0
  1189. package/dist/billing/v1/generated/validators/trialSettings.zod.js +14 -0
  1190. package/dist/billing/v1/generated/validators/usageCharge.zod.d.ts +45 -0
  1191. package/dist/billing/v1/generated/validators/usageCharge.zod.js +59 -0
  1192. package/dist/billing/v1/generated/validators/usageChargeList.zod.d.ts +52 -0
  1193. package/dist/billing/v1/generated/validators/usageChargeList.zod.js +14 -0
  1194. package/dist/billing/v1/generated/validators/usageEstimate.zod.d.ts +23 -0
  1195. package/dist/billing/v1/generated/validators/usageEstimate.zod.js +15 -0
  1196. package/dist/billing/v1/generated/validators/usageEstimateInput.zod.d.ts +26 -0
  1197. package/dist/billing/v1/generated/validators/usageEstimateInput.zod.js +37 -0
  1198. package/dist/billing/v1/generated/validators/usageEstimateItem.zod.d.ts +20 -0
  1199. package/dist/billing/v1/generated/validators/usageEstimateItem.zod.js +27 -0
  1200. package/dist/billing/v1/generated/validators/usageEstimateRequest.zod.d.ts +28 -0
  1201. package/dist/billing/v1/generated/validators/usageEstimateRequest.zod.js +20 -0
  1202. package/dist/billing/v1/generated/validators/usageType.zod.d.ts +14 -0
  1203. package/dist/billing/v1/generated/validators/usageType.zod.js +11 -0
  1204. package/dist/billing/v1/generated/validators/withdrawal.zod.d.ts +40 -0
  1205. package/dist/billing/v1/generated/validators/withdrawal.zod.js +37 -0
  1206. package/dist/billing/v1/generated/validators/withdrawalAllocation.zod.d.ts +19 -0
  1207. package/dist/billing/v1/generated/validators/withdrawalAllocation.zod.js +17 -0
  1208. package/dist/billing/v1/generated/validators/withdrawalCreate.zod.d.ts +25 -0
  1209. package/dist/billing/v1/generated/validators/withdrawalCreate.zod.js +19 -0
  1210. package/dist/billing/v1/generated/validators/withdrawalItem.zod.d.ts +46 -0
  1211. package/dist/billing/v1/generated/validators/withdrawalItem.zod.js +37 -0
  1212. package/dist/billing/v1/generated/validators/withdrawalItemList.zod.d.ts +48 -0
  1213. package/dist/billing/v1/generated/validators/withdrawalItemList.zod.js +14 -0
  1214. package/dist/billing/v1/generated/validators/withdrawalList.zod.d.ts +39 -0
  1215. package/dist/billing/v1/generated/validators/withdrawalList.zod.js +14 -0
  1216. package/dist/billing/v1/generated/validators/withdrawalPreview.zod.d.ts +40 -0
  1217. package/dist/billing/v1/generated/validators/withdrawalPreview.zod.js +25 -0
  1218. package/dist/billing/v1/generated/validators/withdrawalPreviewItem.zod.d.ts +28 -0
  1219. package/dist/billing/v1/generated/validators/withdrawalPreviewItem.zod.js +19 -0
  1220. package/dist/billing/v1/generated/validators/withdrawalPreviewRequest.zod.d.ts +15 -0
  1221. package/dist/billing/v1/generated/validators/withdrawalPreviewRequest.zod.js +13 -0
  1222. package/dist/billing/v1/generated/validators/withdrawalSource.zod.d.ts +23 -0
  1223. package/dist/billing/v1/generated/validators/withdrawalSource.zod.js +23 -0
  1224. package/dist/billing/v1/generated/validators/withdrawalStatus.zod.d.ts +18 -0
  1225. package/dist/billing/v1/generated/validators/withdrawalStatus.zod.js +16 -0
  1226. package/dist/billing/v1/index.d.ts +3 -0
  1227. package/dist/billing/v1/index.js +3 -0
  1228. package/dist/canopy/v1/generated/functions.d.ts +691 -0
  1229. package/dist/canopy/v1/generated/functions.js +728 -0
  1230. package/dist/canopy/v1/generated/models.d.ts +1408 -0
  1231. package/dist/canopy/v1/generated/models.js +131 -0
  1232. package/dist/canopy/v1/generated/schemas.zod.d.ts +397 -0
  1233. package/dist/canopy/v1/generated/schemas.zod.js +403 -0
  1234. package/dist/canopy/v1/generated/validators/aPIKeyResource.zod.d.ts +70 -0
  1235. package/dist/canopy/v1/generated/validators/aPIKeyResource.zod.js +78 -0
  1236. package/dist/canopy/v1/generated/validators/aPIKeyUsageListResponseBody.zod.d.ts +72 -0
  1237. package/dist/canopy/v1/generated/validators/aPIKeyUsageListResponseBody.zod.js +54 -0
  1238. package/dist/canopy/v1/generated/validators/aPIKeyUsageResource.zod.d.ts +70 -0
  1239. package/dist/canopy/v1/generated/validators/aPIKeyUsageResource.zod.js +64 -0
  1240. package/dist/canopy/v1/generated/validators/audioCapabilities.zod.d.ts +60 -0
  1241. package/dist/canopy/v1/generated/validators/audioCapabilities.zod.js +76 -0
  1242. package/dist/canopy/v1/generated/validators/chatCompletion.zod.d.ts +53 -0
  1243. package/dist/canopy/v1/generated/validators/chatCompletion.zod.js +51 -0
  1244. package/dist/canopy/v1/generated/validators/chatCompletionRequest.zod.d.ts +60 -0
  1245. package/dist/canopy/v1/generated/validators/chatCompletionRequest.zod.js +58 -0
  1246. package/dist/canopy/v1/generated/validators/checkoutMode.zod.d.ts +56 -0
  1247. package/dist/canopy/v1/generated/validators/checkoutMode.zod.js +53 -0
  1248. package/dist/canopy/v1/generated/validators/checkoutOptions.zod.d.ts +66 -0
  1249. package/dist/canopy/v1/generated/validators/checkoutOptions.zod.js +77 -0
  1250. package/dist/canopy/v1/generated/validators/createAPIKeyRequestBody.zod.d.ts +59 -0
  1251. package/dist/canopy/v1/generated/validators/createAPIKeyRequestBody.zod.js +70 -0
  1252. package/dist/canopy/v1/generated/validators/createServiceRequestBody.zod.d.ts +64 -0
  1253. package/dist/canopy/v1/generated/validators/createServiceRequestBody.zod.js +54 -0
  1254. package/dist/canopy/v1/generated/validators/createServiceResponseBody.zod.d.ts +71 -0
  1255. package/dist/canopy/v1/generated/validators/createServiceResponseBody.zod.js +63 -0
  1256. package/dist/canopy/v1/generated/validators/cursorPageRequestResource.zod.d.ts +109 -0
  1257. package/dist/canopy/v1/generated/validators/cursorPageRequestResource.zod.js +55 -0
  1258. package/dist/canopy/v1/generated/validators/cursorPagination.zod.d.ts +56 -0
  1259. package/dist/canopy/v1/generated/validators/cursorPagination.zod.js +56 -0
  1260. package/dist/canopy/v1/generated/validators/embeddingRequest.zod.d.ts +62 -0
  1261. package/dist/canopy/v1/generated/validators/embeddingRequest.zod.js +59 -0
  1262. package/dist/canopy/v1/generated/validators/embeddingResponse.zod.d.ts +53 -0
  1263. package/dist/canopy/v1/generated/validators/embeddingResponse.zod.js +51 -0
  1264. package/dist/canopy/v1/generated/validators/error.zod.d.ts +67 -0
  1265. package/dist/canopy/v1/generated/validators/error.zod.js +56 -0
  1266. package/dist/canopy/v1/generated/validators/errorStatus.zod.d.ts +65 -0
  1267. package/dist/canopy/v1/generated/validators/errorStatus.zod.js +80 -0
  1268. package/dist/canopy/v1/generated/validators/fieldViolation.zod.d.ts +56 -0
  1269. package/dist/canopy/v1/generated/validators/fieldViolation.zod.js +59 -0
  1270. package/dist/canopy/v1/generated/validators/getUsageSummaryParams.zod.d.ts +68 -0
  1271. package/dist/canopy/v1/generated/validators/getUsageSummaryParams.zod.js +76 -0
  1272. package/dist/canopy/v1/generated/validators/getUsageTimelineParams.zod.d.ts +71 -0
  1273. package/dist/canopy/v1/generated/validators/getUsageTimelineParams.zod.js +83 -0
  1274. package/dist/canopy/v1/generated/validators/getVideoContentHeaders.zod.d.ts +55 -0
  1275. package/dist/canopy/v1/generated/validators/getVideoContentHeaders.zod.js +53 -0
  1276. package/dist/canopy/v1/generated/validators/imageCapabilities.zod.d.ts +61 -0
  1277. package/dist/canopy/v1/generated/validators/imageCapabilities.zod.js +78 -0
  1278. package/dist/canopy/v1/generated/validators/inferenceError.zod.d.ts +60 -0
  1279. package/dist/canopy/v1/generated/validators/inferenceError.zod.js +58 -0
  1280. package/dist/canopy/v1/generated/validators/issuedAPIKeyResource.zod.d.ts +71 -0
  1281. package/dist/canopy/v1/generated/validators/issuedAPIKeyResource.zod.js +81 -0
  1282. package/dist/canopy/v1/generated/validators/lengthAwarePageAPIKeyResource.zod.d.ts +75 -0
  1283. package/dist/canopy/v1/generated/validators/lengthAwarePageAPIKeyResource.zod.js +57 -0
  1284. package/dist/canopy/v1/generated/validators/listApiKeysParams.zod.d.ts +66 -0
  1285. package/dist/canopy/v1/generated/validators/listApiKeysParams.zod.js +67 -0
  1286. package/dist/canopy/v1/generated/validators/listRequestsParams.zod.d.ts +73 -0
  1287. package/dist/canopy/v1/generated/validators/listRequestsParams.zod.js +81 -0
  1288. package/dist/canopy/v1/generated/validators/listUsageByApiKeyParams.zod.d.ts +66 -0
  1289. package/dist/canopy/v1/generated/validators/listUsageByApiKeyParams.zod.js +69 -0
  1290. package/dist/canopy/v1/generated/validators/listUsageByModelParams.zod.d.ts +68 -0
  1291. package/dist/canopy/v1/generated/validators/listUsageByModelParams.zod.js +76 -0
  1292. package/dist/canopy/v1/generated/validators/mediaUsage.zod.d.ts +61 -0
  1293. package/dist/canopy/v1/generated/validators/mediaUsage.zod.js +70 -0
  1294. package/dist/canopy/v1/generated/validators/mediaUsageDetails.zod.d.ts +70 -0
  1295. package/dist/canopy/v1/generated/validators/mediaUsageDetails.zod.js +76 -0
  1296. package/dist/canopy/v1/generated/validators/modality.zod.d.ts +60 -0
  1297. package/dist/canopy/v1/generated/validators/modality.zod.js +51 -0
  1298. package/dist/canopy/v1/generated/validators/model.zod.d.ts +136 -0
  1299. package/dist/canopy/v1/generated/validators/model.zod.js +74 -0
  1300. package/dist/canopy/v1/generated/validators/modelBilling.zod.d.ts +73 -0
  1301. package/dist/canopy/v1/generated/validators/modelBilling.zod.js +62 -0
  1302. package/dist/canopy/v1/generated/validators/modelCapabilities.zod.d.ts +109 -0
  1303. package/dist/canopy/v1/generated/validators/modelCapabilities.zod.js +78 -0
  1304. package/dist/canopy/v1/generated/validators/modelList.zod.d.ts +139 -0
  1305. package/dist/canopy/v1/generated/validators/modelList.zod.js +55 -0
  1306. package/dist/canopy/v1/generated/validators/modelListResponseBody.zod.d.ts +162 -0
  1307. package/dist/canopy/v1/generated/validators/modelListResponseBody.zod.js +54 -0
  1308. package/dist/canopy/v1/generated/validators/modelMeter.zod.d.ts +70 -0
  1309. package/dist/canopy/v1/generated/validators/modelMeter.zod.js +76 -0
  1310. package/dist/canopy/v1/generated/validators/modelParameter.zod.d.ts +67 -0
  1311. package/dist/canopy/v1/generated/validators/modelParameter.zod.js +66 -0
  1312. package/dist/canopy/v1/generated/validators/modelResource.zod.d.ts +160 -0
  1313. package/dist/canopy/v1/generated/validators/modelResource.zod.js +79 -0
  1314. package/dist/canopy/v1/generated/validators/modelUsageListResponseBody.zod.d.ts +72 -0
  1315. package/dist/canopy/v1/generated/validators/modelUsageListResponseBody.zod.js +54 -0
  1316. package/dist/canopy/v1/generated/validators/modelUsageResource.zod.d.ts +70 -0
  1317. package/dist/canopy/v1/generated/validators/modelUsageResource.zod.js +64 -0
  1318. package/dist/canopy/v1/generated/validators/money.zod.d.ts +53 -0
  1319. package/dist/canopy/v1/generated/validators/money.zod.js +53 -0
  1320. package/dist/canopy/v1/generated/validators/nativeRequest.zod.d.ts +53 -0
  1321. package/dist/canopy/v1/generated/validators/nativeRequest.zod.js +53 -0
  1322. package/dist/canopy/v1/generated/validators/nativeResponse.zod.d.ts +53 -0
  1323. package/dist/canopy/v1/generated/validators/nativeResponse.zod.js +53 -0
  1324. package/dist/canopy/v1/generated/validators/offsetPagination.zod.d.ts +58 -0
  1325. package/dist/canopy/v1/generated/validators/offsetPagination.zod.js +58 -0
  1326. package/dist/canopy/v1/generated/validators/reasoningCapabilities.zod.d.ts +65 -0
  1327. package/dist/canopy/v1/generated/validators/reasoningCapabilities.zod.js +68 -0
  1328. package/dist/canopy/v1/generated/validators/reasoningDiagnostics.zod.d.ts +55 -0
  1329. package/dist/canopy/v1/generated/validators/reasoningDiagnostics.zod.js +53 -0
  1330. package/dist/canopy/v1/generated/validators/requestResource.zod.d.ts +107 -0
  1331. package/dist/canopy/v1/generated/validators/requestResource.zod.js +115 -0
  1332. package/dist/canopy/v1/generated/validators/responseCreate.zod.d.ts +65 -0
  1333. package/dist/canopy/v1/generated/validators/responseCreate.zod.js +71 -0
  1334. package/dist/canopy/v1/generated/validators/responseResource.zod.d.ts +53 -0
  1335. package/dist/canopy/v1/generated/validators/responseResource.zod.js +51 -0
  1336. package/dist/canopy/v1/generated/validators/serviceResource.zod.d.ts +67 -0
  1337. package/dist/canopy/v1/generated/validators/serviceResource.zod.js +91 -0
  1338. package/dist/canopy/v1/generated/validators/streamGenerateContentParams.zod.d.ts +57 -0
  1339. package/dist/canopy/v1/generated/validators/streamGenerateContentParams.zod.js +53 -0
  1340. package/dist/canopy/v1/generated/validators/totalsResource.zod.d.ts +69 -0
  1341. package/dist/canopy/v1/generated/validators/totalsResource.zod.js +63 -0
  1342. package/dist/canopy/v1/generated/validators/updateAPIKeyRequestBody.zod.d.ts +60 -0
  1343. package/dist/canopy/v1/generated/validators/updateAPIKeyRequestBody.zod.js +61 -0
  1344. package/dist/canopy/v1/generated/validators/usageBucketResource.zod.d.ts +71 -0
  1345. package/dist/canopy/v1/generated/validators/usageBucketResource.zod.js +65 -0
  1346. package/dist/canopy/v1/generated/validators/usageTimelineResponseBody.zod.d.ts +73 -0
  1347. package/dist/canopy/v1/generated/validators/usageTimelineResponseBody.zod.js +54 -0
  1348. package/dist/canopy/v1/generated/validators/videoCapabilities.zod.d.ts +65 -0
  1349. package/dist/canopy/v1/generated/validators/videoCapabilities.zod.js +83 -0
  1350. package/dist/canopy/v1/generated/validators/videoCreateRequest.zod.d.ts +76 -0
  1351. package/dist/canopy/v1/generated/validators/videoCreateRequest.zod.js +79 -0
  1352. package/dist/canopy/v1/generated/validators/videoDurationRange.zod.d.ts +57 -0
  1353. package/dist/canopy/v1/generated/validators/videoDurationRange.zod.js +57 -0
  1354. package/dist/canopy/v1/generated/validators/videoReferenceMedia.zod.d.ts +62 -0
  1355. package/dist/canopy/v1/generated/validators/videoReferenceMedia.zod.js +62 -0
  1356. package/dist/canopy/v1/generated/validators/videoTask.zod.d.ts +80 -0
  1357. package/dist/canopy/v1/generated/validators/videoTask.zod.js +73 -0
  1358. package/dist/canopy/v1/generated/validators/videoUsage.zod.d.ts +63 -0
  1359. package/dist/canopy/v1/generated/validators/videoUsage.zod.js +71 -0
  1360. package/dist/canopy/v1/index.d.ts +3 -48
  1361. package/dist/canopy/v1/index.js +3 -5
  1362. package/dist/compute/v2/generated/functions.d.ts +2909 -0
  1363. package/dist/compute/v2/generated/functions.js +3181 -0
  1364. package/dist/compute/v2/generated/models.d.ts +3545 -0
  1365. package/dist/compute/v2/generated/models.js +416 -0
  1366. package/dist/compute/v2/generated/schemas.zod.d.ts +2169 -0
  1367. package/dist/compute/v2/generated/schemas.zod.js +2604 -0
  1368. package/dist/compute/v2/generated/validators/associateElasticIpRequestBody.zod.d.ts +42 -0
  1369. package/dist/compute/v2/generated/validators/associateElasticIpRequestBody.zod.js +40 -0
  1370. package/dist/compute/v2/generated/validators/attachNetworkInterfaceRequestBody.zod.d.ts +40 -0
  1371. package/dist/compute/v2/generated/validators/attachNetworkInterfaceRequestBody.zod.js +39 -0
  1372. package/dist/compute/v2/generated/validators/attachVolumeRequestBody.zod.d.ts +40 -0
  1373. package/dist/compute/v2/generated/validators/attachVolumeRequestBody.zod.js +39 -0
  1374. package/dist/compute/v2/generated/validators/availabilityZoneId.zod.d.ts +41 -0
  1375. package/dist/compute/v2/generated/validators/availabilityZoneId.zod.js +44 -0
  1376. package/dist/compute/v2/generated/validators/availabilityZoneListResponseBody.zod.d.ts +50 -0
  1377. package/dist/compute/v2/generated/validators/availabilityZoneListResponseBody.zod.js +41 -0
  1378. package/dist/compute/v2/generated/validators/availabilityZoneResource.zod.d.ts +43 -0
  1379. package/dist/compute/v2/generated/validators/availabilityZoneResource.zod.js +47 -0
  1380. package/dist/compute/v2/generated/validators/billingCancellation.zod.d.ts +45 -0
  1381. package/dist/compute/v2/generated/validators/billingCancellation.zod.js +46 -0
  1382. package/dist/compute/v2/generated/validators/billingChoice.zod.d.ts +54 -0
  1383. package/dist/compute/v2/generated/validators/billingChoice.zod.js +46 -0
  1384. package/dist/compute/v2/generated/validators/billingComponent.zod.d.ts +64 -0
  1385. package/dist/compute/v2/generated/validators/billingComponent.zod.js +49 -0
  1386. package/dist/compute/v2/generated/validators/billingLineQuantity.zod.d.ts +42 -0
  1387. package/dist/compute/v2/generated/validators/billingLineQuantity.zod.js +38 -0
  1388. package/dist/compute/v2/generated/validators/billingMeter.zod.d.ts +48 -0
  1389. package/dist/compute/v2/generated/validators/billingMeter.zod.js +46 -0
  1390. package/dist/compute/v2/generated/validators/billingPeriod.zod.d.ts +45 -0
  1391. package/dist/compute/v2/generated/validators/billingPeriod.zod.js +40 -0
  1392. package/dist/compute/v2/generated/validators/billingQuantity.zod.d.ts +49 -0
  1393. package/dist/compute/v2/generated/validators/billingQuantity.zod.js +42 -0
  1394. package/dist/compute/v2/generated/validators/bootVolume.zod.d.ts +72 -0
  1395. package/dist/compute/v2/generated/validators/bootVolume.zod.js +40 -0
  1396. package/dist/compute/v2/generated/validators/cancellationMode.zod.d.ts +41 -0
  1397. package/dist/compute/v2/generated/validators/cancellationMode.zod.js +38 -0
  1398. package/dist/compute/v2/generated/validators/changeElasticIpBandwidthRequestBody.zod.d.ts +51 -0
  1399. package/dist/compute/v2/generated/validators/changeElasticIpBandwidthRequestBody.zod.js +47 -0
  1400. package/dist/compute/v2/generated/validators/changeElasticIpChargeTypeRequestBody.zod.d.ts +43 -0
  1401. package/dist/compute/v2/generated/validators/changeElasticIpChargeTypeRequestBody.zod.js +39 -0
  1402. package/dist/compute/v2/generated/validators/checkoutMode.zod.d.ts +41 -0
  1403. package/dist/compute/v2/generated/validators/checkoutMode.zod.js +38 -0
  1404. package/dist/compute/v2/generated/validators/checkoutOptions.zod.d.ts +51 -0
  1405. package/dist/compute/v2/generated/validators/checkoutOptions.zod.js +62 -0
  1406. package/dist/compute/v2/generated/validators/consoleResponseBody.zod.d.ts +40 -0
  1407. package/dist/compute/v2/generated/validators/consoleResponseBody.zod.js +40 -0
  1408. package/dist/compute/v2/generated/validators/createElasticIpRequestBody.zod.d.ts +75 -0
  1409. package/dist/compute/v2/generated/validators/createElasticIpRequestBody.zod.js +55 -0
  1410. package/dist/compute/v2/generated/validators/createElasticIpResponseBody.zod.d.ts +142 -0
  1411. package/dist/compute/v2/generated/validators/createElasticIpResponseBody.zod.js +48 -0
  1412. package/dist/compute/v2/generated/validators/createInstanceRequestBody.zod.d.ts +199 -0
  1413. package/dist/compute/v2/generated/validators/createInstanceRequestBody.zod.js +85 -0
  1414. package/dist/compute/v2/generated/validators/createInstanceResponseBody.zod.d.ts +167 -0
  1415. package/dist/compute/v2/generated/validators/createInstanceResponseBody.zod.js +57 -0
  1416. package/dist/compute/v2/generated/validators/createLaunchTemplateRequestBody.zod.d.ts +80 -0
  1417. package/dist/compute/v2/generated/validators/createLaunchTemplateRequestBody.zod.js +45 -0
  1418. package/dist/compute/v2/generated/validators/createLaunchTemplateResponseBody.zod.d.ts +88 -0
  1419. package/dist/compute/v2/generated/validators/createLaunchTemplateResponseBody.zod.js +41 -0
  1420. package/dist/compute/v2/generated/validators/createNetworkInterfaceAddressRequestBody.zod.d.ts +41 -0
  1421. package/dist/compute/v2/generated/validators/createNetworkInterfaceAddressRequestBody.zod.js +43 -0
  1422. package/dist/compute/v2/generated/validators/createNetworkInterfaceRequestBody.zod.d.ts +45 -0
  1423. package/dist/compute/v2/generated/validators/createNetworkInterfaceRequestBody.zod.js +53 -0
  1424. package/dist/compute/v2/generated/validators/createPrivateImageRequestBody.zod.d.ts +52 -0
  1425. package/dist/compute/v2/generated/validators/createPrivateImageRequestBody.zod.js +45 -0
  1426. package/dist/compute/v2/generated/validators/createPrivateImageResponseBody.zod.d.ts +125 -0
  1427. package/dist/compute/v2/generated/validators/createPrivateImageResponseBody.zod.js +48 -0
  1428. package/dist/compute/v2/generated/validators/createSecurityGroupRequestBody.zod.d.ts +44 -0
  1429. package/dist/compute/v2/generated/validators/createSecurityGroupRequestBody.zod.js +43 -0
  1430. package/dist/compute/v2/generated/validators/createSecurityGroupRuleRequestBody.zod.d.ts +52 -0
  1431. package/dist/compute/v2/generated/validators/createSecurityGroupRuleRequestBody.zod.js +62 -0
  1432. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudPeeringRequestBody.zod.d.ts +44 -0
  1433. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudPeeringRequestBody.zod.js +43 -0
  1434. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRequestBody.zod.d.ts +44 -0
  1435. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRequestBody.zod.js +47 -0
  1436. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRouteRequestBody.zod.d.ts +45 -0
  1437. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRouteRequestBody.zod.js +51 -0
  1438. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudSubnetRequestBody.zod.d.ts +43 -0
  1439. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudSubnetRequestBody.zod.js +45 -0
  1440. package/dist/compute/v2/generated/validators/createVolumeBackupRequestBody.zod.d.ts +52 -0
  1441. package/dist/compute/v2/generated/validators/createVolumeBackupRequestBody.zod.js +43 -0
  1442. package/dist/compute/v2/generated/validators/createVolumeBackupResponseBody.zod.d.ts +116 -0
  1443. package/dist/compute/v2/generated/validators/createVolumeBackupResponseBody.zod.js +48 -0
  1444. package/dist/compute/v2/generated/validators/createVolumeRequestBody.zod.d.ts +73 -0
  1445. package/dist/compute/v2/generated/validators/createVolumeRequestBody.zod.js +56 -0
  1446. package/dist/compute/v2/generated/validators/createVolumeResponseBody.zod.d.ts +153 -0
  1447. package/dist/compute/v2/generated/validators/createVolumeResponseBody.zod.js +48 -0
  1448. package/dist/compute/v2/generated/validators/createVolumeSnapshotRequestBody.zod.d.ts +52 -0
  1449. package/dist/compute/v2/generated/validators/createVolumeSnapshotRequestBody.zod.js +45 -0
  1450. package/dist/compute/v2/generated/validators/createVolumeSnapshotResponseBody.zod.d.ts +115 -0
  1451. package/dist/compute/v2/generated/validators/createVolumeSnapshotResponseBody.zod.js +48 -0
  1452. package/dist/compute/v2/generated/validators/cursorPagination.zod.d.ts +41 -0
  1453. package/dist/compute/v2/generated/validators/cursorPagination.zod.js +41 -0
  1454. package/dist/compute/v2/generated/validators/deleteElasticIpParams.zod.d.ts +43 -0
  1455. package/dist/compute/v2/generated/validators/deleteElasticIpParams.zod.js +41 -0
  1456. package/dist/compute/v2/generated/validators/deleteElasticIpResponseBody.zod.d.ts +148 -0
  1457. package/dist/compute/v2/generated/validators/deleteElasticIpResponseBody.zod.js +45 -0
  1458. package/dist/compute/v2/generated/validators/deleteInstanceParams.zod.d.ts +43 -0
  1459. package/dist/compute/v2/generated/validators/deleteInstanceParams.zod.js +41 -0
  1460. package/dist/compute/v2/generated/validators/deleteInstanceResponseBody.zod.d.ts +171 -0
  1461. package/dist/compute/v2/generated/validators/deleteInstanceResponseBody.zod.js +45 -0
  1462. package/dist/compute/v2/generated/validators/deletePrivateImageParams.zod.d.ts +43 -0
  1463. package/dist/compute/v2/generated/validators/deletePrivateImageParams.zod.js +41 -0
  1464. package/dist/compute/v2/generated/validators/deletePrivateImageResponseBody.zod.d.ts +131 -0
  1465. package/dist/compute/v2/generated/validators/deletePrivateImageResponseBody.zod.js +45 -0
  1466. package/dist/compute/v2/generated/validators/deleteVolumeBackupParams.zod.d.ts +43 -0
  1467. package/dist/compute/v2/generated/validators/deleteVolumeBackupParams.zod.js +41 -0
  1468. package/dist/compute/v2/generated/validators/deleteVolumeBackupResponseBody.zod.d.ts +122 -0
  1469. package/dist/compute/v2/generated/validators/deleteVolumeBackupResponseBody.zod.js +45 -0
  1470. package/dist/compute/v2/generated/validators/deleteVolumeParams.zod.d.ts +43 -0
  1471. package/dist/compute/v2/generated/validators/deleteVolumeParams.zod.js +41 -0
  1472. package/dist/compute/v2/generated/validators/deleteVolumeResponseBody.zod.d.ts +159 -0
  1473. package/dist/compute/v2/generated/validators/deleteVolumeResponseBody.zod.js +45 -0
  1474. package/dist/compute/v2/generated/validators/deleteVolumeSnapshotParams.zod.d.ts +43 -0
  1475. package/dist/compute/v2/generated/validators/deleteVolumeSnapshotParams.zod.js +41 -0
  1476. package/dist/compute/v2/generated/validators/deleteVolumeSnapshotResponseBody.zod.d.ts +121 -0
  1477. package/dist/compute/v2/generated/validators/deleteVolumeSnapshotResponseBody.zod.js +45 -0
  1478. package/dist/compute/v2/generated/validators/elasticIp.zod.d.ts +138 -0
  1479. package/dist/compute/v2/generated/validators/elasticIp.zod.js +132 -0
  1480. package/dist/compute/v2/generated/validators/elasticIpAssociation.zod.d.ts +51 -0
  1481. package/dist/compute/v2/generated/validators/elasticIpAssociation.zod.js +50 -0
  1482. package/dist/compute/v2/generated/validators/elasticIpAssociationId.zod.d.ts +41 -0
  1483. package/dist/compute/v2/generated/validators/elasticIpAssociationId.zod.js +44 -0
  1484. package/dist/compute/v2/generated/validators/elasticIpChangeResponseBody.zod.d.ts +142 -0
  1485. package/dist/compute/v2/generated/validators/elasticIpChangeResponseBody.zod.js +49 -0
  1486. package/dist/compute/v2/generated/validators/elasticIpId.zod.d.ts +41 -0
  1487. package/dist/compute/v2/generated/validators/elasticIpId.zod.js +44 -0
  1488. package/dist/compute/v2/generated/validators/elasticIpLine.zod.d.ts +112 -0
  1489. package/dist/compute/v2/generated/validators/elasticIpLine.zod.js +65 -0
  1490. package/dist/compute/v2/generated/validators/elasticIpLineId.zod.d.ts +41 -0
  1491. package/dist/compute/v2/generated/validators/elasticIpLineId.zod.js +44 -0
  1492. package/dist/compute/v2/generated/validators/elasticIpLineListResponseBody.zod.d.ts +116 -0
  1493. package/dist/compute/v2/generated/validators/elasticIpLineListResponseBody.zod.js +41 -0
  1494. package/dist/compute/v2/generated/validators/elasticIpListResponseBody.zod.d.ts +145 -0
  1495. package/dist/compute/v2/generated/validators/elasticIpListResponseBody.zod.js +41 -0
  1496. package/dist/compute/v2/generated/validators/elasticIpReleaseResource.zod.d.ts +44 -0
  1497. package/dist/compute/v2/generated/validators/elasticIpReleaseResource.zod.js +43 -0
  1498. package/dist/compute/v2/generated/validators/error.zod.d.ts +52 -0
  1499. package/dist/compute/v2/generated/validators/error.zod.js +41 -0
  1500. package/dist/compute/v2/generated/validators/errorStatus.zod.d.ts +50 -0
  1501. package/dist/compute/v2/generated/validators/errorStatus.zod.js +65 -0
  1502. package/dist/compute/v2/generated/validators/existingBootVolume.zod.d.ts +45 -0
  1503. package/dist/compute/v2/generated/validators/existingBootVolume.zod.js +46 -0
  1504. package/dist/compute/v2/generated/validators/existingElasticIp.zod.d.ts +43 -0
  1505. package/dist/compute/v2/generated/validators/existingElasticIp.zod.js +40 -0
  1506. package/dist/compute/v2/generated/validators/existingPrimaryNetworkInterface.zod.d.ts +43 -0
  1507. package/dist/compute/v2/generated/validators/existingPrimaryNetworkInterface.zod.js +40 -0
  1508. package/dist/compute/v2/generated/validators/fieldViolation.zod.d.ts +41 -0
  1509. package/dist/compute/v2/generated/validators/fieldViolation.zod.js +44 -0
  1510. package/dist/compute/v2/generated/validators/freeSubnetCidr.zod.d.ts +41 -0
  1511. package/dist/compute/v2/generated/validators/freeSubnetCidr.zod.js +39 -0
  1512. package/dist/compute/v2/generated/validators/generatedPassword.zod.d.ts +42 -0
  1513. package/dist/compute/v2/generated/validators/generatedPassword.zod.js +38 -0
  1514. package/dist/compute/v2/generated/validators/getVirtualPrivateCloudFreeSubnetCidrParams.zod.d.ts +43 -0
  1515. package/dist/compute/v2/generated/validators/getVirtualPrivateCloudFreeSubnetCidrParams.zod.js +45 -0
  1516. package/dist/compute/v2/generated/validators/imageId.zod.d.ts +41 -0
  1517. package/dist/compute/v2/generated/validators/imageId.zod.js +44 -0
  1518. package/dist/compute/v2/generated/validators/instance.zod.d.ts +164 -0
  1519. package/dist/compute/v2/generated/validators/instance.zod.js +181 -0
  1520. package/dist/compute/v2/generated/validators/instanceAssociationTarget.zod.d.ts +40 -0
  1521. package/dist/compute/v2/generated/validators/instanceAssociationTarget.zod.js +41 -0
  1522. package/dist/compute/v2/generated/validators/instanceElasticIp.zod.d.ts +70 -0
  1523. package/dist/compute/v2/generated/validators/instanceElasticIp.zod.js +40 -0
  1524. package/dist/compute/v2/generated/validators/instanceFamily.zod.d.ts +57 -0
  1525. package/dist/compute/v2/generated/validators/instanceFamily.zod.js +54 -0
  1526. package/dist/compute/v2/generated/validators/instanceFamilyCategory.zod.d.ts +42 -0
  1527. package/dist/compute/v2/generated/validators/instanceFamilyCategory.zod.js +38 -0
  1528. package/dist/compute/v2/generated/validators/instanceFamilyId.zod.d.ts +41 -0
  1529. package/dist/compute/v2/generated/validators/instanceFamilyId.zod.js +44 -0
  1530. package/dist/compute/v2/generated/validators/instanceFamilyListResponseBody.zod.d.ts +64 -0
  1531. package/dist/compute/v2/generated/validators/instanceFamilyListResponseBody.zod.js +41 -0
  1532. package/dist/compute/v2/generated/validators/instanceId.zod.d.ts +41 -0
  1533. package/dist/compute/v2/generated/validators/instanceId.zod.js +44 -0
  1534. package/dist/compute/v2/generated/validators/instanceListResponseBody.zod.d.ts +168 -0
  1535. package/dist/compute/v2/generated/validators/instanceListResponseBody.zod.js +41 -0
  1536. package/dist/compute/v2/generated/validators/instanceNetworkInterfaceId.zod.d.ts +41 -0
  1537. package/dist/compute/v2/generated/validators/instanceNetworkInterfaceId.zod.js +44 -0
  1538. package/dist/compute/v2/generated/validators/instanceReleaseResource.zod.d.ts +44 -0
  1539. package/dist/compute/v2/generated/validators/instanceReleaseResource.zod.js +43 -0
  1540. package/dist/compute/v2/generated/validators/instanceRestriction.zod.d.ts +49 -0
  1541. package/dist/compute/v2/generated/validators/instanceRestriction.zod.js +60 -0
  1542. package/dist/compute/v2/generated/validators/instanceType.zod.d.ts +80 -0
  1543. package/dist/compute/v2/generated/validators/instanceType.zod.js +58 -0
  1544. package/dist/compute/v2/generated/validators/instanceTypeId.zod.d.ts +41 -0
  1545. package/dist/compute/v2/generated/validators/instanceTypeId.zod.js +44 -0
  1546. package/dist/compute/v2/generated/validators/instanceTypeListResponseBody.zod.d.ts +87 -0
  1547. package/dist/compute/v2/generated/validators/instanceTypeListResponseBody.zod.js +41 -0
  1548. package/dist/compute/v2/generated/validators/instanceVolumeId.zod.d.ts +41 -0
  1549. package/dist/compute/v2/generated/validators/instanceVolumeId.zod.js +44 -0
  1550. package/dist/compute/v2/generated/validators/internetChargeType.zod.d.ts +41 -0
  1551. package/dist/compute/v2/generated/validators/internetChargeType.zod.js +38 -0
  1552. package/dist/compute/v2/generated/validators/ipv4HostAddress.zod.d.ts +41 -0
  1553. package/dist/compute/v2/generated/validators/ipv4HostAddress.zod.js +43 -0
  1554. package/dist/compute/v2/generated/validators/latestOperation.zod.d.ts +46 -0
  1555. package/dist/compute/v2/generated/validators/latestOperation.zod.js +46 -0
  1556. package/dist/compute/v2/generated/validators/launchTemplate.zod.d.ts +47 -0
  1557. package/dist/compute/v2/generated/validators/launchTemplate.zod.js +47 -0
  1558. package/dist/compute/v2/generated/validators/launchTemplateBootVolume.zod.d.ts +47 -0
  1559. package/dist/compute/v2/generated/validators/launchTemplateBootVolume.zod.js +48 -0
  1560. package/dist/compute/v2/generated/validators/launchTemplateDataVolume.zod.d.ts +46 -0
  1561. package/dist/compute/v2/generated/validators/launchTemplateDataVolume.zod.js +46 -0
  1562. package/dist/compute/v2/generated/validators/launchTemplateElasticIp.zod.d.ts +46 -0
  1563. package/dist/compute/v2/generated/validators/launchTemplateElasticIp.zod.js +45 -0
  1564. package/dist/compute/v2/generated/validators/launchTemplateId.zod.d.ts +41 -0
  1565. package/dist/compute/v2/generated/validators/launchTemplateId.zod.js +44 -0
  1566. package/dist/compute/v2/generated/validators/launchTemplateListResponseBody.zod.d.ts +54 -0
  1567. package/dist/compute/v2/generated/validators/launchTemplateListResponseBody.zod.js +41 -0
  1568. package/dist/compute/v2/generated/validators/launchTemplateNetworkInterface.zod.d.ts +42 -0
  1569. package/dist/compute/v2/generated/validators/launchTemplateNetworkInterface.zod.js +47 -0
  1570. package/dist/compute/v2/generated/validators/launchTemplateReference.zod.d.ts +41 -0
  1571. package/dist/compute/v2/generated/validators/launchTemplateReference.zod.js +46 -0
  1572. package/dist/compute/v2/generated/validators/launchTemplateVersion.zod.d.ts +76 -0
  1573. package/dist/compute/v2/generated/validators/launchTemplateVersion.zod.js +61 -0
  1574. package/dist/compute/v2/generated/validators/launchTemplateVersionListResponseBody.zod.d.ts +83 -0
  1575. package/dist/compute/v2/generated/validators/launchTemplateVersionListResponseBody.zod.js +41 -0
  1576. package/dist/compute/v2/generated/validators/listAvailabilityZonesParams.zod.d.ts +46 -0
  1577. package/dist/compute/v2/generated/validators/listAvailabilityZonesParams.zod.js +53 -0
  1578. package/dist/compute/v2/generated/validators/listElasticIpLinesParams.zod.d.ts +48 -0
  1579. package/dist/compute/v2/generated/validators/listElasticIpLinesParams.zod.js +55 -0
  1580. package/dist/compute/v2/generated/validators/listElasticIpTrafficUsageParams.zod.d.ts +52 -0
  1581. package/dist/compute/v2/generated/validators/listElasticIpTrafficUsageParams.zod.js +55 -0
  1582. package/dist/compute/v2/generated/validators/listElasticIpsParams.zod.d.ts +45 -0
  1583. package/dist/compute/v2/generated/validators/listElasticIpsParams.zod.js +47 -0
  1584. package/dist/compute/v2/generated/validators/listInstanceFamiliesParams.zod.d.ts +46 -0
  1585. package/dist/compute/v2/generated/validators/listInstanceFamiliesParams.zod.js +53 -0
  1586. package/dist/compute/v2/generated/validators/listInstanceNetworkInterfacesParams.zod.d.ts +45 -0
  1587. package/dist/compute/v2/generated/validators/listInstanceNetworkInterfacesParams.zod.js +51 -0
  1588. package/dist/compute/v2/generated/validators/listInstanceTypesParams.zod.d.ts +48 -0
  1589. package/dist/compute/v2/generated/validators/listInstanceTypesParams.zod.js +57 -0
  1590. package/dist/compute/v2/generated/validators/listInstanceVolumesParams.zod.d.ts +45 -0
  1591. package/dist/compute/v2/generated/validators/listInstanceVolumesParams.zod.js +51 -0
  1592. package/dist/compute/v2/generated/validators/listInstancesParams.zod.d.ts +47 -0
  1593. package/dist/compute/v2/generated/validators/listInstancesParams.zod.js +53 -0
  1594. package/dist/compute/v2/generated/validators/listLaunchTemplateVersionsParams.zod.d.ts +45 -0
  1595. package/dist/compute/v2/generated/validators/listLaunchTemplateVersionsParams.zod.js +51 -0
  1596. package/dist/compute/v2/generated/validators/listLaunchTemplatesParams.zod.d.ts +46 -0
  1597. package/dist/compute/v2/generated/validators/listLaunchTemplatesParams.zod.js +53 -0
  1598. package/dist/compute/v2/generated/validators/listNetworkInterfacesParams.zod.d.ts +45 -0
  1599. package/dist/compute/v2/generated/validators/listNetworkInterfacesParams.zod.js +51 -0
  1600. package/dist/compute/v2/generated/validators/listOperationLogsParams.zod.d.ts +47 -0
  1601. package/dist/compute/v2/generated/validators/listOperationLogsParams.zod.js +57 -0
  1602. package/dist/compute/v2/generated/validators/listPrivateImagesParams.zod.d.ts +46 -0
  1603. package/dist/compute/v2/generated/validators/listPrivateImagesParams.zod.js +53 -0
  1604. package/dist/compute/v2/generated/validators/listPublicImagesParams.zod.d.ts +46 -0
  1605. package/dist/compute/v2/generated/validators/listPublicImagesParams.zod.js +53 -0
  1606. package/dist/compute/v2/generated/validators/listQuotasParams.zod.d.ts +45 -0
  1607. package/dist/compute/v2/generated/validators/listQuotasParams.zod.js +47 -0
  1608. package/dist/compute/v2/generated/validators/listRegionsParams.zod.d.ts +45 -0
  1609. package/dist/compute/v2/generated/validators/listRegionsParams.zod.js +47 -0
  1610. package/dist/compute/v2/generated/validators/listSecurityGroupRulesParams.zod.d.ts +45 -0
  1611. package/dist/compute/v2/generated/validators/listSecurityGroupRulesParams.zod.js +51 -0
  1612. package/dist/compute/v2/generated/validators/listSecurityGroupsParams.zod.d.ts +47 -0
  1613. package/dist/compute/v2/generated/validators/listSecurityGroupsParams.zod.js +55 -0
  1614. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudPeeringsParams.zod.d.ts +45 -0
  1615. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudPeeringsParams.zod.js +51 -0
  1616. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudRoutesParams.zod.d.ts +45 -0
  1617. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudRoutesParams.zod.js +51 -0
  1618. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudSubnetsParams.zod.d.ts +45 -0
  1619. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudSubnetsParams.zod.js +51 -0
  1620. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudsParams.zod.d.ts +46 -0
  1621. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudsParams.zod.js +53 -0
  1622. package/dist/compute/v2/generated/validators/listVolumeBackupsParams.zod.d.ts +46 -0
  1623. package/dist/compute/v2/generated/validators/listVolumeBackupsParams.zod.js +53 -0
  1624. package/dist/compute/v2/generated/validators/listVolumeSnapshotsParams.zod.d.ts +46 -0
  1625. package/dist/compute/v2/generated/validators/listVolumeSnapshotsParams.zod.js +53 -0
  1626. package/dist/compute/v2/generated/validators/listVolumeTypesParams.zod.d.ts +47 -0
  1627. package/dist/compute/v2/generated/validators/listVolumeTypesParams.zod.js +55 -0
  1628. package/dist/compute/v2/generated/validators/listVolumesParams.zod.d.ts +47 -0
  1629. package/dist/compute/v2/generated/validators/listVolumesParams.zod.js +51 -0
  1630. package/dist/compute/v2/generated/validators/money.zod.d.ts +38 -0
  1631. package/dist/compute/v2/generated/validators/money.zod.js +38 -0
  1632. package/dist/compute/v2/generated/validators/networkInterface.zod.d.ts +103 -0
  1633. package/dist/compute/v2/generated/validators/networkInterface.zod.js +73 -0
  1634. package/dist/compute/v2/generated/validators/networkInterfaceAddress.zod.d.ts +54 -0
  1635. package/dist/compute/v2/generated/validators/networkInterfaceAddress.zod.js +49 -0
  1636. package/dist/compute/v2/generated/validators/networkInterfaceAddressAssociationTarget.zod.d.ts +40 -0
  1637. package/dist/compute/v2/generated/validators/networkInterfaceAddressAssociationTarget.zod.js +41 -0
  1638. package/dist/compute/v2/generated/validators/networkInterfaceAddressId.zod.d.ts +41 -0
  1639. package/dist/compute/v2/generated/validators/networkInterfaceAddressId.zod.js +44 -0
  1640. package/dist/compute/v2/generated/validators/networkInterfaceAttachment.zod.d.ts +58 -0
  1641. package/dist/compute/v2/generated/validators/networkInterfaceAttachment.zod.js +51 -0
  1642. package/dist/compute/v2/generated/validators/networkInterfaceAttachmentList.zod.d.ts +65 -0
  1643. package/dist/compute/v2/generated/validators/networkInterfaceAttachmentList.zod.js +41 -0
  1644. package/dist/compute/v2/generated/validators/networkInterfaceId.zod.d.ts +41 -0
  1645. package/dist/compute/v2/generated/validators/networkInterfaceId.zod.js +44 -0
  1646. package/dist/compute/v2/generated/validators/networkInterfaceListResponseBody.zod.d.ts +110 -0
  1647. package/dist/compute/v2/generated/validators/networkInterfaceListResponseBody.zod.js +41 -0
  1648. package/dist/compute/v2/generated/validators/newBootVolume.zod.d.ts +67 -0
  1649. package/dist/compute/v2/generated/validators/newBootVolume.zod.js +52 -0
  1650. package/dist/compute/v2/generated/validators/newCompute.zod.d.ts +57 -0
  1651. package/dist/compute/v2/generated/validators/newCompute.zod.js +43 -0
  1652. package/dist/compute/v2/generated/validators/newDataVolume.zod.d.ts +63 -0
  1653. package/dist/compute/v2/generated/validators/newDataVolume.zod.js +52 -0
  1654. package/dist/compute/v2/generated/validators/newElasticIp.zod.d.ts +66 -0
  1655. package/dist/compute/v2/generated/validators/newElasticIp.zod.js +52 -0
  1656. package/dist/compute/v2/generated/validators/newLaunchTemplateVersion.zod.d.ts +77 -0
  1657. package/dist/compute/v2/generated/validators/newLaunchTemplateVersion.zod.js +66 -0
  1658. package/dist/compute/v2/generated/validators/newPrimaryNetworkInterface.zod.d.ts +45 -0
  1659. package/dist/compute/v2/generated/validators/newPrimaryNetworkInterface.zod.js +47 -0
  1660. package/dist/compute/v2/generated/validators/offsetPagination.zod.d.ts +43 -0
  1661. package/dist/compute/v2/generated/validators/offsetPagination.zod.js +43 -0
  1662. package/dist/compute/v2/generated/validators/operationLogId.zod.d.ts +41 -0
  1663. package/dist/compute/v2/generated/validators/operationLogId.zod.js +44 -0
  1664. package/dist/compute/v2/generated/validators/operationLogListResponseBody.zod.d.ts +65 -0
  1665. package/dist/compute/v2/generated/validators/operationLogListResponseBody.zod.js +41 -0
  1666. package/dist/compute/v2/generated/validators/operationLogResource.zod.d.ts +58 -0
  1667. package/dist/compute/v2/generated/validators/operationLogResource.zod.js +68 -0
  1668. package/dist/compute/v2/generated/validators/passwordChoice.zod.d.ts +47 -0
  1669. package/dist/compute/v2/generated/validators/passwordChoice.zod.js +40 -0
  1670. package/dist/compute/v2/generated/validators/performanceFormula.zod.d.ts +43 -0
  1671. package/dist/compute/v2/generated/validators/performanceFormula.zod.js +43 -0
  1672. package/dist/compute/v2/generated/validators/primaryNetworkInterface.zod.d.ts +49 -0
  1673. package/dist/compute/v2/generated/validators/primaryNetworkInterface.zod.js +40 -0
  1674. package/dist/compute/v2/generated/validators/privateImageListResponseBody.zod.d.ts +128 -0
  1675. package/dist/compute/v2/generated/validators/privateImageListResponseBody.zod.js +41 -0
  1676. package/dist/compute/v2/generated/validators/privateImageReleaseResource.zod.d.ts +44 -0
  1677. package/dist/compute/v2/generated/validators/privateImageReleaseResource.zod.js +43 -0
  1678. package/dist/compute/v2/generated/validators/privateImageResource.zod.d.ts +122 -0
  1679. package/dist/compute/v2/generated/validators/privateImageResource.zod.js +126 -0
  1680. package/dist/compute/v2/generated/validators/projectQuota.zod.d.ts +63 -0
  1681. package/dist/compute/v2/generated/validators/projectQuota.zod.js +48 -0
  1682. package/dist/compute/v2/generated/validators/projectQuotaListResponseBody.zod.d.ts +69 -0
  1683. package/dist/compute/v2/generated/validators/projectQuotaListResponseBody.zod.js +41 -0
  1684. package/dist/compute/v2/generated/validators/publicImageListResponseBody.zod.d.ts +62 -0
  1685. package/dist/compute/v2/generated/validators/publicImageListResponseBody.zod.js +41 -0
  1686. package/dist/compute/v2/generated/validators/publicImageResource.zod.d.ts +56 -0
  1687. package/dist/compute/v2/generated/validators/publicImageResource.zod.js +68 -0
  1688. package/dist/compute/v2/generated/validators/quotaResourceType.zod.d.ts +53 -0
  1689. package/dist/compute/v2/generated/validators/quotaResourceType.zod.js +53 -0
  1690. package/dist/compute/v2/generated/validators/quotaSource.zod.d.ts +41 -0
  1691. package/dist/compute/v2/generated/validators/quotaSource.zod.js +38 -0
  1692. package/dist/compute/v2/generated/validators/rebootInstanceRequestBody.zod.d.ts +40 -0
  1693. package/dist/compute/v2/generated/validators/rebootInstanceRequestBody.zod.js +41 -0
  1694. package/dist/compute/v2/generated/validators/rebuildInstanceRequestBody.zod.d.ts +51 -0
  1695. package/dist/compute/v2/generated/validators/rebuildInstanceRequestBody.zod.js +45 -0
  1696. package/dist/compute/v2/generated/validators/rebuildInstanceResponseBody.zod.d.ts +164 -0
  1697. package/dist/compute/v2/generated/validators/rebuildInstanceResponseBody.zod.js +43 -0
  1698. package/dist/compute/v2/generated/validators/regionId.zod.d.ts +41 -0
  1699. package/dist/compute/v2/generated/validators/regionId.zod.js +44 -0
  1700. package/dist/compute/v2/generated/validators/regionListResponseBody.zod.d.ts +131 -0
  1701. package/dist/compute/v2/generated/validators/regionListResponseBody.zod.js +41 -0
  1702. package/dist/compute/v2/generated/validators/regionResource.zod.d.ts +124 -0
  1703. package/dist/compute/v2/generated/validators/regionResource.zod.js +52 -0
  1704. package/dist/compute/v2/generated/validators/releaseResource.zod.d.ts +74 -0
  1705. package/dist/compute/v2/generated/validators/releaseResource.zod.js +51 -0
  1706. package/dist/compute/v2/generated/validators/releaseSetItem.zod.d.ts +78 -0
  1707. package/dist/compute/v2/generated/validators/releaseSetItem.zod.js +43 -0
  1708. package/dist/compute/v2/generated/validators/replaceNetworkInterfaceSecurityGroupsRequestBody.zod.d.ts +41 -0
  1709. package/dist/compute/v2/generated/validators/replaceNetworkInterfaceSecurityGroupsRequestBody.zod.js +44 -0
  1710. package/dist/compute/v2/generated/validators/rescueInstanceResponseBody.zod.d.ts +164 -0
  1711. package/dist/compute/v2/generated/validators/rescueInstanceResponseBody.zod.js +40 -0
  1712. package/dist/compute/v2/generated/validators/resetInstancePasswordResponseBody.zod.d.ts +40 -0
  1713. package/dist/compute/v2/generated/validators/resetInstancePasswordResponseBody.zod.js +41 -0
  1714. package/dist/compute/v2/generated/validators/resizeInstanceRequestBody.zod.d.ts +51 -0
  1715. package/dist/compute/v2/generated/validators/resizeInstanceRequestBody.zod.js +45 -0
  1716. package/dist/compute/v2/generated/validators/resizeInstanceResponseBody.zod.d.ts +165 -0
  1717. package/dist/compute/v2/generated/validators/resizeInstanceResponseBody.zod.js +48 -0
  1718. package/dist/compute/v2/generated/validators/resizeVolumeRequestBody.zod.d.ts +51 -0
  1719. package/dist/compute/v2/generated/validators/resizeVolumeRequestBody.zod.js +44 -0
  1720. package/dist/compute/v2/generated/validators/retypeVolumeRequestBody.zod.d.ts +51 -0
  1721. package/dist/compute/v2/generated/validators/retypeVolumeRequestBody.zod.js +45 -0
  1722. package/dist/compute/v2/generated/validators/revertVolumeRequestBody.zod.d.ts +40 -0
  1723. package/dist/compute/v2/generated/validators/revertVolumeRequestBody.zod.js +39 -0
  1724. package/dist/compute/v2/generated/validators/runInstanceCommandRequestBody.zod.d.ts +43 -0
  1725. package/dist/compute/v2/generated/validators/runInstanceCommandRequestBody.zod.js +50 -0
  1726. package/dist/compute/v2/generated/validators/runInstanceCommandResponseBody.zod.d.ts +44 -0
  1727. package/dist/compute/v2/generated/validators/runInstanceCommandResponseBody.zod.js +49 -0
  1728. package/dist/compute/v2/generated/validators/securityGroup.zod.d.ts +46 -0
  1729. package/dist/compute/v2/generated/validators/securityGroup.zod.js +48 -0
  1730. package/dist/compute/v2/generated/validators/securityGroupId.zod.d.ts +41 -0
  1731. package/dist/compute/v2/generated/validators/securityGroupId.zod.js +44 -0
  1732. package/dist/compute/v2/generated/validators/securityGroupIdOrWildcard.zod.d.ts +39 -0
  1733. package/dist/compute/v2/generated/validators/securityGroupIdOrWildcard.zod.js +40 -0
  1734. package/dist/compute/v2/generated/validators/securityGroupListResponseBody.zod.d.ts +53 -0
  1735. package/dist/compute/v2/generated/validators/securityGroupListResponseBody.zod.js +41 -0
  1736. package/dist/compute/v2/generated/validators/securityGroupRule.zod.d.ts +52 -0
  1737. package/dist/compute/v2/generated/validators/securityGroupRule.zod.js +56 -0
  1738. package/dist/compute/v2/generated/validators/securityGroupRuleDirection.zod.d.ts +41 -0
  1739. package/dist/compute/v2/generated/validators/securityGroupRuleDirection.zod.js +36 -0
  1740. package/dist/compute/v2/generated/validators/securityGroupRuleId.zod.d.ts +41 -0
  1741. package/dist/compute/v2/generated/validators/securityGroupRuleId.zod.js +44 -0
  1742. package/dist/compute/v2/generated/validators/securityGroupRuleListResponseBody.zod.d.ts +59 -0
  1743. package/dist/compute/v2/generated/validators/securityGroupRuleListResponseBody.zod.js +41 -0
  1744. package/dist/compute/v2/generated/validators/subnetId.zod.d.ts +41 -0
  1745. package/dist/compute/v2/generated/validators/subnetId.zod.js +44 -0
  1746. package/dist/compute/v2/generated/validators/suppliedPassword.zod.d.ts +45 -0
  1747. package/dist/compute/v2/generated/validators/suppliedPassword.zod.js +45 -0
  1748. package/dist/compute/v2/generated/validators/terminationPolicy.zod.d.ts +41 -0
  1749. package/dist/compute/v2/generated/validators/terminationPolicy.zod.js +38 -0
  1750. package/dist/compute/v2/generated/validators/trafficUsage.zod.d.ts +44 -0
  1751. package/dist/compute/v2/generated/validators/trafficUsage.zod.js +44 -0
  1752. package/dist/compute/v2/generated/validators/trafficUsageListResponseBody.zod.d.ts +49 -0
  1753. package/dist/compute/v2/generated/validators/trafficUsageListResponseBody.zod.js +41 -0
  1754. package/dist/compute/v2/generated/validators/updateInstanceRequestBody.zod.d.ts +45 -0
  1755. package/dist/compute/v2/generated/validators/updateInstanceRequestBody.zod.js +52 -0
  1756. package/dist/compute/v2/generated/validators/updateLaunchTemplateRequestBody.zod.d.ts +44 -0
  1757. package/dist/compute/v2/generated/validators/updateLaunchTemplateRequestBody.zod.js +48 -0
  1758. package/dist/compute/v2/generated/validators/updateNetworkInterfaceRequestBody.zod.d.ts +41 -0
  1759. package/dist/compute/v2/generated/validators/updateNetworkInterfaceRequestBody.zod.js +41 -0
  1760. package/dist/compute/v2/generated/validators/updatePrivateImageRequestBody.zod.d.ts +41 -0
  1761. package/dist/compute/v2/generated/validators/updatePrivateImageRequestBody.zod.js +39 -0
  1762. package/dist/compute/v2/generated/validators/updateSecurityGroupRequestBody.zod.d.ts +43 -0
  1763. package/dist/compute/v2/generated/validators/updateSecurityGroupRequestBody.zod.js +41 -0
  1764. package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudRequestBody.zod.d.ts +41 -0
  1765. package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudRequestBody.zod.js +39 -0
  1766. package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudSubnetRequestBody.zod.d.ts +41 -0
  1767. package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudSubnetRequestBody.zod.js +39 -0
  1768. package/dist/compute/v2/generated/validators/updateVolumeBackupRequestBody.zod.d.ts +41 -0
  1769. package/dist/compute/v2/generated/validators/updateVolumeBackupRequestBody.zod.js +41 -0
  1770. package/dist/compute/v2/generated/validators/updateVolumeRequestBody.zod.d.ts +41 -0
  1771. package/dist/compute/v2/generated/validators/updateVolumeRequestBody.zod.js +41 -0
  1772. package/dist/compute/v2/generated/validators/updateVolumeSnapshotRequestBody.zod.d.ts +41 -0
  1773. package/dist/compute/v2/generated/validators/updateVolumeSnapshotRequestBody.zod.js +41 -0
  1774. package/dist/compute/v2/generated/validators/virtualPrivateCloud.zod.d.ts +63 -0
  1775. package/dist/compute/v2/generated/validators/virtualPrivateCloud.zod.js +56 -0
  1776. package/dist/compute/v2/generated/validators/virtualPrivateCloudId.zod.d.ts +41 -0
  1777. package/dist/compute/v2/generated/validators/virtualPrivateCloudId.zod.js +44 -0
  1778. package/dist/compute/v2/generated/validators/virtualPrivateCloudIdOrWildcard.zod.d.ts +39 -0
  1779. package/dist/compute/v2/generated/validators/virtualPrivateCloudIdOrWildcard.zod.js +40 -0
  1780. package/dist/compute/v2/generated/validators/virtualPrivateCloudListResponseBody.zod.d.ts +70 -0
  1781. package/dist/compute/v2/generated/validators/virtualPrivateCloudListResponseBody.zod.js +41 -0
  1782. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringId.zod.d.ts +41 -0
  1783. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringId.zod.js +44 -0
  1784. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringListResponseBody.zod.d.ts +77 -0
  1785. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringListResponseBody.zod.js +41 -0
  1786. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringResource.zod.d.ts +70 -0
  1787. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringResource.zod.js +62 -0
  1788. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteId.zod.d.ts +41 -0
  1789. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteId.zod.js +44 -0
  1790. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteListResponseBody.zod.d.ts +57 -0
  1791. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteListResponseBody.zod.js +41 -0
  1792. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteResource.zod.d.ts +50 -0
  1793. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteResource.zod.js +54 -0
  1794. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteType.zod.d.ts +41 -0
  1795. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteType.zod.js +38 -0
  1796. package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnet.zod.d.ts +48 -0
  1797. package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnet.zod.js +54 -0
  1798. package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnetListResponseBody.zod.d.ts +55 -0
  1799. package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnetListResponseBody.zod.js +41 -0
  1800. package/dist/compute/v2/generated/validators/volumeAttachment.zod.d.ts +63 -0
  1801. package/dist/compute/v2/generated/validators/volumeAttachment.zod.js +56 -0
  1802. package/dist/compute/v2/generated/validators/volumeAttachmentList.zod.d.ts +70 -0
  1803. package/dist/compute/v2/generated/validators/volumeAttachmentList.zod.js +41 -0
  1804. package/dist/compute/v2/generated/validators/volumeBackupId.zod.d.ts +41 -0
  1805. package/dist/compute/v2/generated/validators/volumeBackupId.zod.js +44 -0
  1806. package/dist/compute/v2/generated/validators/volumeBackupListResponseBody.zod.d.ts +119 -0
  1807. package/dist/compute/v2/generated/validators/volumeBackupListResponseBody.zod.js +41 -0
  1808. package/dist/compute/v2/generated/validators/volumeBackupReleaseResource.zod.d.ts +44 -0
  1809. package/dist/compute/v2/generated/validators/volumeBackupReleaseResource.zod.js +43 -0
  1810. package/dist/compute/v2/generated/validators/volumeBackupResource.zod.d.ts +112 -0
  1811. package/dist/compute/v2/generated/validators/volumeBackupResource.zod.js +94 -0
  1812. package/dist/compute/v2/generated/validators/volumeChangeResponseBody.zod.d.ts +153 -0
  1813. package/dist/compute/v2/generated/validators/volumeChangeResponseBody.zod.js +48 -0
  1814. package/dist/compute/v2/generated/validators/volumeId.zod.d.ts +41 -0
  1815. package/dist/compute/v2/generated/validators/volumeId.zod.js +44 -0
  1816. package/dist/compute/v2/generated/validators/volumeListResponseBody.zod.d.ts +156 -0
  1817. package/dist/compute/v2/generated/validators/volumeListResponseBody.zod.js +41 -0
  1818. package/dist/compute/v2/generated/validators/volumePerformance.zod.d.ts +41 -0
  1819. package/dist/compute/v2/generated/validators/volumePerformance.zod.js +41 -0
  1820. package/dist/compute/v2/generated/validators/volumeReleaseResource.zod.d.ts +44 -0
  1821. package/dist/compute/v2/generated/validators/volumeReleaseResource.zod.js +43 -0
  1822. package/dist/compute/v2/generated/validators/volumeResource.zod.d.ts +149 -0
  1823. package/dist/compute/v2/generated/validators/volumeResource.zod.js +112 -0
  1824. package/dist/compute/v2/generated/validators/volumeSnapshotId.zod.d.ts +41 -0
  1825. package/dist/compute/v2/generated/validators/volumeSnapshotId.zod.js +44 -0
  1826. package/dist/compute/v2/generated/validators/volumeSnapshotListResponseBody.zod.d.ts +118 -0
  1827. package/dist/compute/v2/generated/validators/volumeSnapshotListResponseBody.zod.js +41 -0
  1828. package/dist/compute/v2/generated/validators/volumeSnapshotReleaseResource.zod.d.ts +44 -0
  1829. package/dist/compute/v2/generated/validators/volumeSnapshotReleaseResource.zod.js +43 -0
  1830. package/dist/compute/v2/generated/validators/volumeSnapshotResource.zod.d.ts +111 -0
  1831. package/dist/compute/v2/generated/validators/volumeSnapshotResource.zod.js +91 -0
  1832. package/dist/compute/v2/generated/validators/volumeTypeId.zod.d.ts +41 -0
  1833. package/dist/compute/v2/generated/validators/volumeTypeId.zod.js +44 -0
  1834. package/dist/compute/v2/generated/validators/volumeTypeListResponseBody.zod.d.ts +103 -0
  1835. package/dist/compute/v2/generated/validators/volumeTypeListResponseBody.zod.js +41 -0
  1836. package/dist/compute/v2/generated/validators/volumeTypePerformance.zod.d.ts +51 -0
  1837. package/dist/compute/v2/generated/validators/volumeTypePerformance.zod.js +42 -0
  1838. package/dist/compute/v2/generated/validators/volumeTypeResource.zod.d.ts +96 -0
  1839. package/dist/compute/v2/generated/validators/volumeTypeResource.zod.js +55 -0
  1840. package/dist/compute/v2/index.d.ts +3 -0
  1841. package/dist/compute/v2/index.js +3 -0
  1842. package/dist/dns/v1/generated/functions.d.ts +393 -0
  1843. package/dist/dns/v1/generated/functions.js +398 -0
  1844. package/dist/dns/v1/generated/models.d.ts +484 -0
  1845. package/dist/dns/v1/generated/models.js +20 -0
  1846. package/dist/dns/v1/generated/schemas.zod.d.ts +354 -0
  1847. package/dist/dns/v1/generated/schemas.zod.js +364 -0
  1848. package/dist/dns/v1/generated/validators/aliDNSConfig.zod.d.ts +61 -0
  1849. package/dist/dns/v1/generated/validators/aliDNSConfig.zod.js +65 -0
  1850. package/dist/dns/v1/generated/validators/cloudflareConfig.zod.d.ts +59 -0
  1851. package/dist/dns/v1/generated/validators/cloudflareConfig.zod.js +67 -0
  1852. package/dist/dns/v1/generated/validators/createCredentialRequestBody.zod.d.ts +82 -0
  1853. package/dist/dns/v1/generated/validators/createCredentialRequestBody.zod.js +71 -0
  1854. package/dist/dns/v1/generated/validators/credentialResource.zod.d.ts +74 -0
  1855. package/dist/dns/v1/generated/validators/credentialResource.zod.js +79 -0
  1856. package/dist/dns/v1/generated/validators/credentialStatus.zod.d.ts +57 -0
  1857. package/dist/dns/v1/generated/validators/credentialStatus.zod.js +54 -0
  1858. package/dist/dns/v1/generated/validators/cursorPagination.zod.d.ts +57 -0
  1859. package/dist/dns/v1/generated/validators/cursorPagination.zod.js +57 -0
  1860. package/dist/dns/v1/generated/validators/deleteRecordSetParams.zod.d.ts +56 -0
  1861. package/dist/dns/v1/generated/validators/deleteRecordSetParams.zod.js +57 -0
  1862. package/dist/dns/v1/generated/validators/error.zod.d.ts +68 -0
  1863. package/dist/dns/v1/generated/validators/error.zod.js +57 -0
  1864. package/dist/dns/v1/generated/validators/errorStatus.zod.d.ts +66 -0
  1865. package/dist/dns/v1/generated/validators/errorStatus.zod.js +81 -0
  1866. package/dist/dns/v1/generated/validators/fieldViolation.zod.d.ts +57 -0
  1867. package/dist/dns/v1/generated/validators/fieldViolation.zod.js +60 -0
  1868. package/dist/dns/v1/generated/validators/lengthAwarePageCredentialResource.zod.d.ts +79 -0
  1869. package/dist/dns/v1/generated/validators/lengthAwarePageCredentialResource.zod.js +58 -0
  1870. package/dist/dns/v1/generated/validators/lengthAwarePageRecordSetResource.zod.d.ts +74 -0
  1871. package/dist/dns/v1/generated/validators/lengthAwarePageRecordSetResource.zod.js +58 -0
  1872. package/dist/dns/v1/generated/validators/listCredentialsParams.zod.d.ts +68 -0
  1873. package/dist/dns/v1/generated/validators/listCredentialsParams.zod.js +70 -0
  1874. package/dist/dns/v1/generated/validators/listRecordsParams.zod.d.ts +75 -0
  1875. package/dist/dns/v1/generated/validators/listRecordsParams.zod.js +76 -0
  1876. package/dist/dns/v1/generated/validators/listZonesParams.zod.d.ts +58 -0
  1877. package/dist/dns/v1/generated/validators/listZonesParams.zod.js +62 -0
  1878. package/dist/dns/v1/generated/validators/modifyRecordSetParams.zod.d.ts +56 -0
  1879. package/dist/dns/v1/generated/validators/modifyRecordSetParams.zod.js +57 -0
  1880. package/dist/dns/v1/generated/validators/modifyRecordSetRequestBody.zod.d.ts +65 -0
  1881. package/dist/dns/v1/generated/validators/modifyRecordSetRequestBody.zod.js +80 -0
  1882. package/dist/dns/v1/generated/validators/offsetPagination.zod.d.ts +59 -0
  1883. package/dist/dns/v1/generated/validators/offsetPagination.zod.js +59 -0
  1884. package/dist/dns/v1/generated/validators/provider.zod.d.ts +59 -0
  1885. package/dist/dns/v1/generated/validators/provider.zod.js +54 -0
  1886. package/dist/dns/v1/generated/validators/recordSetResource.zod.d.ts +69 -0
  1887. package/dist/dns/v1/generated/validators/recordSetResource.zod.js +63 -0
  1888. package/dist/dns/v1/generated/validators/recordType.zod.d.ts +63 -0
  1889. package/dist/dns/v1/generated/validators/recordType.zod.js +54 -0
  1890. package/dist/dns/v1/generated/validators/renameCredentialRequestBody.zod.d.ts +57 -0
  1891. package/dist/dns/v1/generated/validators/renameCredentialRequestBody.zod.js +55 -0
  1892. package/dist/dns/v1/generated/validators/route53Config.zod.d.ts +63 -0
  1893. package/dist/dns/v1/generated/validators/route53Config.zod.js +71 -0
  1894. package/dist/dns/v1/generated/validators/setRecordSetParams.zod.d.ts +56 -0
  1895. package/dist/dns/v1/generated/validators/setRecordSetParams.zod.js +57 -0
  1896. package/dist/dns/v1/generated/validators/setRecordSetRequestBody.zod.d.ts +62 -0
  1897. package/dist/dns/v1/generated/validators/setRecordSetRequestBody.zod.js +71 -0
  1898. package/dist/dns/v1/generated/validators/tencentCloudConfig.zod.d.ts +59 -0
  1899. package/dist/dns/v1/generated/validators/tencentCloudConfig.zod.js +59 -0
  1900. package/dist/dns/v1/generated/validators/zoneListResponseBody.zod.d.ts +67 -0
  1901. package/dist/dns/v1/generated/validators/zoneListResponseBody.zod.js +58 -0
  1902. package/dist/dns/v1/generated/validators/zoneResource.zod.d.ts +64 -0
  1903. package/dist/dns/v1/generated/validators/zoneResource.zod.js +61 -0
  1904. package/dist/dns/v1/index.d.ts +3 -42
  1905. package/dist/dns/v1/index.js +3 -5
  1906. package/dist/eventbus/v1/generated/functions.d.ts +611 -0
  1907. package/dist/eventbus/v1/generated/functions.js +400 -0
  1908. package/dist/eventbus/v1/generated/models.d.ts +568 -0
  1909. package/dist/eventbus/v1/generated/models.js +12 -0
  1910. package/dist/eventbus/v1/generated/schemas.zod.d.ts +271 -0
  1911. package/dist/eventbus/v1/generated/schemas.zod.js +304 -0
  1912. package/dist/eventbus/v1/generated/validators/createEventRequest.zod.d.ts +94 -0
  1913. package/dist/eventbus/v1/generated/validators/createEventRequest.zod.js +103 -0
  1914. package/dist/eventbus/v1/generated/validators/createNamespaceRequest.zod.d.ts +93 -0
  1915. package/dist/eventbus/v1/generated/validators/createNamespaceRequest.zod.js +98 -0
  1916. package/dist/eventbus/v1/generated/validators/createVersionRequest.zod.d.ts +90 -0
  1917. package/dist/eventbus/v1/generated/validators/createVersionRequest.zod.js +91 -0
  1918. package/dist/eventbus/v1/generated/validators/cursorPagination.zod.d.ts +89 -0
  1919. package/dist/eventbus/v1/generated/validators/cursorPagination.zod.js +89 -0
  1920. package/dist/eventbus/v1/generated/validators/error.zod.d.ts +100 -0
  1921. package/dist/eventbus/v1/generated/validators/error.zod.js +89 -0
  1922. package/dist/eventbus/v1/generated/validators/errorStatus.zod.d.ts +98 -0
  1923. package/dist/eventbus/v1/generated/validators/errorStatus.zod.js +113 -0
  1924. package/dist/eventbus/v1/generated/validators/eventDetail.zod.d.ts +111 -0
  1925. package/dist/eventbus/v1/generated/validators/eventDetail.zod.js +114 -0
  1926. package/dist/eventbus/v1/generated/validators/eventList.zod.d.ts +103 -0
  1927. package/dist/eventbus/v1/generated/validators/eventList.zod.js +94 -0
  1928. package/dist/eventbus/v1/generated/validators/eventMessage.zod.d.ts +103 -0
  1929. package/dist/eventbus/v1/generated/validators/eventMessage.zod.js +105 -0
  1930. package/dist/eventbus/v1/generated/validators/eventResource.zod.d.ts +101 -0
  1931. package/dist/eventbus/v1/generated/validators/eventResource.zod.js +112 -0
  1932. package/dist/eventbus/v1/generated/validators/eventStatus.zod.d.ts +89 -0
  1933. package/dist/eventbus/v1/generated/validators/eventStatus.zod.js +86 -0
  1934. package/dist/eventbus/v1/generated/validators/eventVersion.zod.d.ts +95 -0
  1935. package/dist/eventbus/v1/generated/validators/eventVersion.zod.js +97 -0
  1936. package/dist/eventbus/v1/generated/validators/fieldViolation.zod.d.ts +89 -0
  1937. package/dist/eventbus/v1/generated/validators/fieldViolation.zod.js +92 -0
  1938. package/dist/eventbus/v1/generated/validators/listEventsParams.zod.d.ts +99 -0
  1939. package/dist/eventbus/v1/generated/validators/listEventsParams.zod.js +101 -0
  1940. package/dist/eventbus/v1/generated/validators/listNamespacesParams.zod.d.ts +97 -0
  1941. package/dist/eventbus/v1/generated/validators/listNamespacesParams.zod.js +99 -0
  1942. package/dist/eventbus/v1/generated/validators/namespaceList.zod.d.ts +102 -0
  1943. package/dist/eventbus/v1/generated/validators/namespaceList.zod.js +94 -0
  1944. package/dist/eventbus/v1/generated/validators/namespaceResource.zod.d.ts +98 -0
  1945. package/dist/eventbus/v1/generated/validators/namespaceResource.zod.js +100 -0
  1946. package/dist/eventbus/v1/generated/validators/namespaceStatus.zod.d.ts +89 -0
  1947. package/dist/eventbus/v1/generated/validators/namespaceStatus.zod.js +86 -0
  1948. package/dist/eventbus/v1/generated/validators/offsetPagination.zod.d.ts +91 -0
  1949. package/dist/eventbus/v1/generated/validators/offsetPagination.zod.js +91 -0
  1950. package/dist/eventbus/v1/generated/validators/publication.zod.d.ts +98 -0
  1951. package/dist/eventbus/v1/generated/validators/publication.zod.js +106 -0
  1952. package/dist/eventbus/v1/generated/validators/publicationRecipient.zod.d.ts +89 -0
  1953. package/dist/eventbus/v1/generated/validators/publicationRecipient.zod.js +89 -0
  1954. package/dist/eventbus/v1/generated/validators/publishRequest.zod.d.ts +99 -0
  1955. package/dist/eventbus/v1/generated/validators/publishRequest.zod.js +94 -0
  1956. package/dist/eventbus/v1/generated/validators/publishResponse.zod.d.ts +93 -0
  1957. package/dist/eventbus/v1/generated/validators/publishResponse.zod.js +89 -0
  1958. package/dist/eventbus/v1/generated/validators/publishedMessage.zod.d.ts +91 -0
  1959. package/dist/eventbus/v1/generated/validators/publishedMessage.zod.js +91 -0
  1960. package/dist/eventbus/v1/generated/validators/realtimeTicket.zod.d.ts +90 -0
  1961. package/dist/eventbus/v1/generated/validators/realtimeTicket.zod.js +94 -0
  1962. package/dist/eventbus/v1/generated/validators/realtimeTicketRequest.zod.d.ts +90 -0
  1963. package/dist/eventbus/v1/generated/validators/realtimeTicketRequest.zod.js +92 -0
  1964. package/dist/eventbus/v1/generated/validators/recipient.zod.d.ts +89 -0
  1965. package/dist/eventbus/v1/generated/validators/recipient.zod.js +89 -0
  1966. package/dist/eventbus/v1/generated/validators/sender.zod.d.ts +89 -0
  1967. package/dist/eventbus/v1/generated/validators/sender.zod.js +92 -0
  1968. package/dist/eventbus/v1/generated/validators/updateEventRequest.zod.d.ts +95 -0
  1969. package/dist/eventbus/v1/generated/validators/updateEventRequest.zod.js +98 -0
  1970. package/dist/eventbus/v1/generated/validators/updateNamespaceRequest.zod.d.ts +93 -0
  1971. package/dist/eventbus/v1/generated/validators/updateNamespaceRequest.zod.js +89 -0
  1972. package/dist/eventbus/v1/index.d.ts +3 -0
  1973. package/dist/eventbus/v1/index.js +3 -0
  1974. package/dist/fleet/v1/generated/functions.d.ts +1857 -0
  1975. package/dist/fleet/v1/generated/functions.js +1808 -0
  1976. package/dist/fleet/v1/generated/models.d.ts +1730 -0
  1977. package/dist/fleet/v1/generated/models.js +119 -0
  1978. package/dist/fleet/v1/generated/schemas.zod.d.ts +1310 -0
  1979. package/dist/fleet/v1/generated/schemas.zod.js +1429 -0
  1980. package/dist/fleet/v1/generated/validators/accountList.zod.d.ts +272 -0
  1981. package/dist/fleet/v1/generated/validators/accountList.zod.js +256 -0
  1982. package/dist/fleet/v1/generated/validators/accountResource.zod.d.ts +266 -0
  1983. package/dist/fleet/v1/generated/validators/accountResource.zod.js +264 -0
  1984. package/dist/fleet/v1/generated/validators/approveEnrollmentRequest.zod.d.ts +254 -0
  1985. package/dist/fleet/v1/generated/validators/approveEnrollmentRequest.zod.js +256 -0
  1986. package/dist/fleet/v1/generated/validators/callMcpToolRequest.zod.d.ts +256 -0
  1987. package/dist/fleet/v1/generated/validators/callMcpToolRequest.zod.js +262 -0
  1988. package/dist/fleet/v1/generated/validators/callMcpToolResponse.zod.d.ts +253 -0
  1989. package/dist/fleet/v1/generated/validators/callMcpToolResponse.zod.js +253 -0
  1990. package/dist/fleet/v1/generated/validators/callToolRequest.zod.d.ts +261 -0
  1991. package/dist/fleet/v1/generated/validators/callToolRequest.zod.js +269 -0
  1992. package/dist/fleet/v1/generated/validators/callToolResponse.zod.d.ts +273 -0
  1993. package/dist/fleet/v1/generated/validators/callToolResponse.zod.js +260 -0
  1994. package/dist/fleet/v1/generated/validators/createGroupMemberRequest.zod.d.ts +253 -0
  1995. package/dist/fleet/v1/generated/validators/createGroupMemberRequest.zod.js +251 -0
  1996. package/dist/fleet/v1/generated/validators/createGroupRequest.zod.d.ts +253 -0
  1997. package/dist/fleet/v1/generated/validators/createGroupRequest.zod.js +252 -0
  1998. package/dist/fleet/v1/generated/validators/createMachineRegistrationRequest.zod.d.ts +258 -0
  1999. package/dist/fleet/v1/generated/validators/createMachineRegistrationRequest.zod.js +265 -0
  2000. package/dist/fleet/v1/generated/validators/createMachineRegistrationResponse.zod.d.ts +269 -0
  2001. package/dist/fleet/v1/generated/validators/createMachineRegistrationResponse.zod.js +255 -0
  2002. package/dist/fleet/v1/generated/validators/createParticipantRequest.zod.d.ts +270 -0
  2003. package/dist/fleet/v1/generated/validators/createParticipantRequest.zod.js +283 -0
  2004. package/dist/fleet/v1/generated/validators/createParticipantResponse.zod.d.ts +300 -0
  2005. package/dist/fleet/v1/generated/validators/createParticipantResponse.zod.js +263 -0
  2006. package/dist/fleet/v1/generated/validators/createPeerConnectionCandidatesRequest.zod.d.ts +258 -0
  2007. package/dist/fleet/v1/generated/validators/createPeerConnectionCandidatesRequest.zod.js +260 -0
  2008. package/dist/fleet/v1/generated/validators/createPeerConnectionRequest.zod.d.ts +254 -0
  2009. package/dist/fleet/v1/generated/validators/createPeerConnectionRequest.zod.js +255 -0
  2010. package/dist/fleet/v1/generated/validators/createSessionRequest.zod.d.ts +262 -0
  2011. package/dist/fleet/v1/generated/validators/createSessionRequest.zod.js +253 -0
  2012. package/dist/fleet/v1/generated/validators/cursorPagination.zod.d.ts +254 -0
  2013. package/dist/fleet/v1/generated/validators/cursorPagination.zod.js +254 -0
  2014. package/dist/fleet/v1/generated/validators/deleteMcpServerParams.zod.d.ts +254 -0
  2015. package/dist/fleet/v1/generated/validators/deleteMcpServerParams.zod.js +252 -0
  2016. package/dist/fleet/v1/generated/validators/denyPrivilegeRequestRequest.zod.d.ts +254 -0
  2017. package/dist/fleet/v1/generated/validators/denyPrivilegeRequestRequest.zod.js +256 -0
  2018. package/dist/fleet/v1/generated/validators/desktopOptions.zod.d.ts +264 -0
  2019. package/dist/fleet/v1/generated/validators/desktopOptions.zod.js +276 -0
  2020. package/dist/fleet/v1/generated/validators/desktopState.zod.d.ts +257 -0
  2021. package/dist/fleet/v1/generated/validators/desktopState.zod.js +253 -0
  2022. package/dist/fleet/v1/generated/validators/directoryName.zod.d.ts +253 -0
  2023. package/dist/fleet/v1/generated/validators/directoryName.zod.js +256 -0
  2024. package/dist/fleet/v1/generated/validators/enrollmentResource.zod.d.ts +265 -0
  2025. package/dist/fleet/v1/generated/validators/enrollmentResource.zod.js +263 -0
  2026. package/dist/fleet/v1/generated/validators/enrollmentState.zod.d.ts +255 -0
  2027. package/dist/fleet/v1/generated/validators/enrollmentState.zod.js +251 -0
  2028. package/dist/fleet/v1/generated/validators/error.zod.d.ts +265 -0
  2029. package/dist/fleet/v1/generated/validators/error.zod.js +254 -0
  2030. package/dist/fleet/v1/generated/validators/errorStatus.zod.d.ts +263 -0
  2031. package/dist/fleet/v1/generated/validators/errorStatus.zod.js +278 -0
  2032. package/dist/fleet/v1/generated/validators/featureState.zod.d.ts +254 -0
  2033. package/dist/fleet/v1/generated/validators/featureState.zod.js +251 -0
  2034. package/dist/fleet/v1/generated/validators/fieldViolation.zod.d.ts +254 -0
  2035. package/dist/fleet/v1/generated/validators/fieldViolation.zod.js +257 -0
  2036. package/dist/fleet/v1/generated/validators/findEnrollmentByPairingCodeParams.zod.d.ts +254 -0
  2037. package/dist/fleet/v1/generated/validators/findEnrollmentByPairingCodeParams.zod.js +252 -0
  2038. package/dist/fleet/v1/generated/validators/findEnrollmentResponse.zod.d.ts +267 -0
  2039. package/dist/fleet/v1/generated/validators/findEnrollmentResponse.zod.js +254 -0
  2040. package/dist/fleet/v1/generated/validators/getPeerConnectionParams.zod.d.ts +255 -0
  2041. package/dist/fleet/v1/generated/validators/getPeerConnectionParams.zod.js +257 -0
  2042. package/dist/fleet/v1/generated/validators/groupList.zod.d.ts +264 -0
  2043. package/dist/fleet/v1/generated/validators/groupList.zod.js +256 -0
  2044. package/dist/fleet/v1/generated/validators/groupResource.zod.d.ts +259 -0
  2045. package/dist/fleet/v1/generated/validators/groupResource.zod.js +257 -0
  2046. package/dist/fleet/v1/generated/validators/iceCandidate.zod.d.ts +256 -0
  2047. package/dist/fleet/v1/generated/validators/iceCandidate.zod.js +263 -0
  2048. package/dist/fleet/v1/generated/validators/iceServer.zod.d.ts +255 -0
  2049. package/dist/fleet/v1/generated/validators/iceServer.zod.js +258 -0
  2050. package/dist/fleet/v1/generated/validators/listAccountsParams.zod.d.ts +261 -0
  2051. package/dist/fleet/v1/generated/validators/listAccountsParams.zod.js +263 -0
  2052. package/dist/fleet/v1/generated/validators/listGroupMembersParams.zod.d.ts +258 -0
  2053. package/dist/fleet/v1/generated/validators/listGroupMembersParams.zod.js +264 -0
  2054. package/dist/fleet/v1/generated/validators/listGroupsParams.zod.d.ts +258 -0
  2055. package/dist/fleet/v1/generated/validators/listGroupsParams.zod.js +260 -0
  2056. package/dist/fleet/v1/generated/validators/listMachineEventsParams.zod.d.ts +262 -0
  2057. package/dist/fleet/v1/generated/validators/listMachineEventsParams.zod.js +266 -0
  2058. package/dist/fleet/v1/generated/validators/listMachineRegistrationsParams.zod.d.ts +258 -0
  2059. package/dist/fleet/v1/generated/validators/listMachineRegistrationsParams.zod.js +264 -0
  2060. package/dist/fleet/v1/generated/validators/listMachinesParams.zod.d.ts +260 -0
  2061. package/dist/fleet/v1/generated/validators/listMachinesParams.zod.js +262 -0
  2062. package/dist/fleet/v1/generated/validators/listPrivilegeAutoApprovalsParams.zod.d.ts +258 -0
  2063. package/dist/fleet/v1/generated/validators/listPrivilegeAutoApprovalsParams.zod.js +264 -0
  2064. package/dist/fleet/v1/generated/validators/listPrivilegeRequestsParams.zod.d.ts +266 -0
  2065. package/dist/fleet/v1/generated/validators/listPrivilegeRequestsParams.zod.js +267 -0
  2066. package/dist/fleet/v1/generated/validators/listSessionsParams.zod.d.ts +262 -0
  2067. package/dist/fleet/v1/generated/validators/listSessionsParams.zod.js +264 -0
  2068. package/dist/fleet/v1/generated/validators/listToolsParams.zod.d.ts +270 -0
  2069. package/dist/fleet/v1/generated/validators/listToolsParams.zod.js +268 -0
  2070. package/dist/fleet/v1/generated/validators/machineEventList.zod.d.ts +266 -0
  2071. package/dist/fleet/v1/generated/validators/machineEventList.zod.js +256 -0
  2072. package/dist/fleet/v1/generated/validators/machineEventResource.zod.d.ts +260 -0
  2073. package/dist/fleet/v1/generated/validators/machineEventResource.zod.js +260 -0
  2074. package/dist/fleet/v1/generated/validators/machineEventType.zod.d.ts +254 -0
  2075. package/dist/fleet/v1/generated/validators/machineEventType.zod.js +251 -0
  2076. package/dist/fleet/v1/generated/validators/machineFeature.zod.d.ts +259 -0
  2077. package/dist/fleet/v1/generated/validators/machineFeature.zod.js +261 -0
  2078. package/dist/fleet/v1/generated/validators/machineList.zod.d.ts +283 -0
  2079. package/dist/fleet/v1/generated/validators/machineList.zod.js +256 -0
  2080. package/dist/fleet/v1/generated/validators/machineRegistrationList.zod.d.ts +272 -0
  2081. package/dist/fleet/v1/generated/validators/machineRegistrationList.zod.js +256 -0
  2082. package/dist/fleet/v1/generated/validators/machineRegistrationResource.zod.d.ts +266 -0
  2083. package/dist/fleet/v1/generated/validators/machineRegistrationResource.zod.js +271 -0
  2084. package/dist/fleet/v1/generated/validators/machineRegistrationState.zod.d.ts +256 -0
  2085. package/dist/fleet/v1/generated/validators/machineRegistrationState.zod.js +251 -0
  2086. package/dist/fleet/v1/generated/validators/machineResource.zod.d.ts +278 -0
  2087. package/dist/fleet/v1/generated/validators/machineResource.zod.js +279 -0
  2088. package/dist/fleet/v1/generated/validators/mcpConfigurationFile.zod.d.ts +262 -0
  2089. package/dist/fleet/v1/generated/validators/mcpConfigurationFile.zod.js +268 -0
  2090. package/dist/fleet/v1/generated/validators/mcpConfigurationResource.zod.d.ts +300 -0
  2091. package/dist/fleet/v1/generated/validators/mcpConfigurationResource.zod.js +254 -0
  2092. package/dist/fleet/v1/generated/validators/mcpImplementation.zod.d.ts +255 -0
  2093. package/dist/fleet/v1/generated/validators/mcpImplementation.zod.js +253 -0
  2094. package/dist/fleet/v1/generated/validators/mcpServerFailure.zod.d.ts +259 -0
  2095. package/dist/fleet/v1/generated/validators/mcpServerFailure.zod.js +259 -0
  2096. package/dist/fleet/v1/generated/validators/mcpServerResource.zod.d.ts +286 -0
  2097. package/dist/fleet/v1/generated/validators/mcpServerResource.zod.js +278 -0
  2098. package/dist/fleet/v1/generated/validators/mcpTransport.zod.d.ts +254 -0
  2099. package/dist/fleet/v1/generated/validators/mcpTransport.zod.js +251 -0
  2100. package/dist/fleet/v1/generated/validators/migrationStep.zod.d.ts +254 -0
  2101. package/dist/fleet/v1/generated/validators/migrationStep.zod.js +255 -0
  2102. package/dist/fleet/v1/generated/validators/namedIdentity.zod.d.ts +255 -0
  2103. package/dist/fleet/v1/generated/validators/namedIdentity.zod.js +255 -0
  2104. package/dist/fleet/v1/generated/validators/offsetPagination.zod.d.ts +256 -0
  2105. package/dist/fleet/v1/generated/validators/offsetPagination.zod.js +256 -0
  2106. package/dist/fleet/v1/generated/validators/operatingSystem.zod.d.ts +255 -0
  2107. package/dist/fleet/v1/generated/validators/operatingSystem.zod.js +255 -0
  2108. package/dist/fleet/v1/generated/validators/participantList.zod.d.ts +264 -0
  2109. package/dist/fleet/v1/generated/validators/participantList.zod.js +252 -0
  2110. package/dist/fleet/v1/generated/validators/participantResource.zod.d.ts +262 -0
  2111. package/dist/fleet/v1/generated/validators/participantResource.zod.js +264 -0
  2112. package/dist/fleet/v1/generated/validators/peerConnection.zod.d.ts +265 -0
  2113. package/dist/fleet/v1/generated/validators/peerConnection.zod.js +269 -0
  2114. package/dist/fleet/v1/generated/validators/privilegeAutoApprovalList.zod.d.ts +267 -0
  2115. package/dist/fleet/v1/generated/validators/privilegeAutoApprovalList.zod.js +256 -0
  2116. package/dist/fleet/v1/generated/validators/privilegeAutoApprovalMode.zod.d.ts +254 -0
  2117. package/dist/fleet/v1/generated/validators/privilegeAutoApprovalMode.zod.js +251 -0
  2118. package/dist/fleet/v1/generated/validators/privilegeAutoApprovalResource.zod.d.ts +261 -0
  2119. package/dist/fleet/v1/generated/validators/privilegeAutoApprovalResource.zod.js +260 -0
  2120. package/dist/fleet/v1/generated/validators/privilegeDecider.zod.d.ts +255 -0
  2121. package/dist/fleet/v1/generated/validators/privilegeDecider.zod.js +251 -0
  2122. package/dist/fleet/v1/generated/validators/privilegeRequestList.zod.d.ts +282 -0
  2123. package/dist/fleet/v1/generated/validators/privilegeRequestList.zod.js +256 -0
  2124. package/dist/fleet/v1/generated/validators/privilegeRequestResource.zod.d.ts +278 -0
  2125. package/dist/fleet/v1/generated/validators/privilegeRequestResource.zod.js +283 -0
  2126. package/dist/fleet/v1/generated/validators/privilegeRequestState.zod.d.ts +257 -0
  2127. package/dist/fleet/v1/generated/validators/privilegeRequestState.zod.js +251 -0
  2128. package/dist/fleet/v1/generated/validators/publicKey.zod.d.ts +252 -0
  2129. package/dist/fleet/v1/generated/validators/publicKey.zod.js +253 -0
  2130. package/dist/fleet/v1/generated/validators/renewParticipantRequest.zod.d.ts +258 -0
  2131. package/dist/fleet/v1/generated/validators/renewParticipantRequest.zod.js +257 -0
  2132. package/dist/fleet/v1/generated/validators/renewParticipantResponse.zod.d.ts +279 -0
  2133. package/dist/fleet/v1/generated/validators/renewParticipantResponse.zod.js +260 -0
  2134. package/dist/fleet/v1/generated/validators/replaceMcpConfigurationRequest.zod.d.ts +255 -0
  2135. package/dist/fleet/v1/generated/validators/replaceMcpConfigurationRequest.zod.js +259 -0
  2136. package/dist/fleet/v1/generated/validators/rtcConfiguration.zod.d.ts +262 -0
  2137. package/dist/fleet/v1/generated/validators/rtcConfiguration.zod.js +258 -0
  2138. package/dist/fleet/v1/generated/validators/runCommandRequest.zod.d.ts +257 -0
  2139. package/dist/fleet/v1/generated/validators/runCommandRequest.zod.js +264 -0
  2140. package/dist/fleet/v1/generated/validators/runCommandResponse.zod.d.ts +259 -0
  2141. package/dist/fleet/v1/generated/validators/runCommandResponse.zod.js +267 -0
  2142. package/dist/fleet/v1/generated/validators/sendMcpRequestRequest.zod.d.ts +256 -0
  2143. package/dist/fleet/v1/generated/validators/sendMcpRequestRequest.zod.js +261 -0
  2144. package/dist/fleet/v1/generated/validators/sendMcpRequestResponse.zod.d.ts +253 -0
  2145. package/dist/fleet/v1/generated/validators/sendMcpRequestResponse.zod.js +253 -0
  2146. package/dist/fleet/v1/generated/validators/sessionCloseReason.zod.d.ts +264 -0
  2147. package/dist/fleet/v1/generated/validators/sessionCloseReason.zod.js +264 -0
  2148. package/dist/fleet/v1/generated/validators/sessionList.zod.d.ts +296 -0
  2149. package/dist/fleet/v1/generated/validators/sessionList.zod.js +256 -0
  2150. package/dist/fleet/v1/generated/validators/sessionMode.zod.d.ts +254 -0
  2151. package/dist/fleet/v1/generated/validators/sessionMode.zod.js +251 -0
  2152. package/dist/fleet/v1/generated/validators/sessionResource.zod.d.ts +290 -0
  2153. package/dist/fleet/v1/generated/validators/sessionResource.zod.js +276 -0
  2154. package/dist/fleet/v1/generated/validators/sessionState.zod.d.ts +256 -0
  2155. package/dist/fleet/v1/generated/validators/sessionState.zod.js +251 -0
  2156. package/dist/fleet/v1/generated/validators/signedMessage.zod.d.ts +255 -0
  2157. package/dist/fleet/v1/generated/validators/signedMessage.zod.js +257 -0
  2158. package/dist/fleet/v1/generated/validators/signingKey.zod.d.ts +254 -0
  2159. package/dist/fleet/v1/generated/validators/signingKey.zod.js +255 -0
  2160. package/dist/fleet/v1/generated/validators/toolActivityList.zod.d.ts +254 -0
  2161. package/dist/fleet/v1/generated/validators/toolActivityList.zod.js +256 -0
  2162. package/dist/fleet/v1/generated/validators/toolContent.zod.d.ts +266 -0
  2163. package/dist/fleet/v1/generated/validators/toolContent.zod.js +263 -0
  2164. package/dist/fleet/v1/generated/validators/toolDescriptor.zod.d.ts +263 -0
  2165. package/dist/fleet/v1/generated/validators/toolDescriptor.zod.js +267 -0
  2166. package/dist/fleet/v1/generated/validators/toolImage.zod.d.ts +261 -0
  2167. package/dist/fleet/v1/generated/validators/toolImage.zod.js +258 -0
  2168. package/dist/fleet/v1/generated/validators/toolList.zod.d.ts +275 -0
  2169. package/dist/fleet/v1/generated/validators/toolList.zod.js +260 -0
  2170. package/dist/fleet/v1/generated/validators/updateAccountRequest.zod.d.ts +257 -0
  2171. package/dist/fleet/v1/generated/validators/updateAccountRequest.zod.js +262 -0
  2172. package/dist/fleet/v1/generated/validators/updateGroupRequest.zod.d.ts +253 -0
  2173. package/dist/fleet/v1/generated/validators/updateGroupRequest.zod.js +252 -0
  2174. package/dist/fleet/v1/generated/validators/updateMachineRequest.zod.d.ts +254 -0
  2175. package/dist/fleet/v1/generated/validators/updateMachineRequest.zod.js +252 -0
  2176. package/dist/fleet/v1/generated/validators/updateMcpServerRequest.zod.d.ts +275 -0
  2177. package/dist/fleet/v1/generated/validators/updateMcpServerRequest.zod.js +304 -0
  2178. package/dist/fleet/v1/generated/validators/updateMcpServerResponse.zod.d.ts +300 -0
  2179. package/dist/fleet/v1/generated/validators/updateMcpServerResponse.zod.js +254 -0
  2180. package/dist/fleet/v1/generated/validators/updatePrivilegeAutoApprovalRequest.zod.d.ts +257 -0
  2181. package/dist/fleet/v1/generated/validators/updatePrivilegeAutoApprovalRequest.zod.js +256 -0
  2182. package/dist/fleet/v1/index.d.ts +3 -0
  2183. package/dist/fleet/v1/index.js +3 -0
  2184. package/dist/iam/v1/generated/functions.d.ts +769 -0
  2185. package/dist/iam/v1/generated/functions.js +835 -0
  2186. package/dist/iam/v1/generated/models.d.ts +660 -0
  2187. package/dist/iam/v1/generated/models.js +42 -0
  2188. package/dist/iam/v1/generated/schemas.zod.d.ts +327 -0
  2189. package/dist/iam/v1/generated/schemas.zod.js +342 -0
  2190. package/dist/iam/v1/generated/validators/applicationResource.zod.d.ts +37 -0
  2191. package/dist/iam/v1/generated/validators/applicationResource.zod.js +30 -0
  2192. package/dist/iam/v1/generated/validators/batchGetMembersRequestBody.zod.d.ts +22 -0
  2193. package/dist/iam/v1/generated/validators/batchGetMembersRequestBody.zod.js +23 -0
  2194. package/dist/iam/v1/generated/validators/batchGetMembersResponseBody.zod.d.ts +27 -0
  2195. package/dist/iam/v1/generated/validators/batchGetMembersResponseBody.zod.js +21 -0
  2196. package/dist/iam/v1/generated/validators/createApplicationRequestBody.zod.d.ts +29 -0
  2197. package/dist/iam/v1/generated/validators/createApplicationRequestBody.zod.js +30 -0
  2198. package/dist/iam/v1/generated/validators/createApplicationResponseBody.zod.d.ts +40 -0
  2199. package/dist/iam/v1/generated/validators/createApplicationResponseBody.zod.js +23 -0
  2200. package/dist/iam/v1/generated/validators/createMemberPermissionRequestBody.zod.d.ts +29 -0
  2201. package/dist/iam/v1/generated/validators/createMemberPermissionRequestBody.zod.js +36 -0
  2202. package/dist/iam/v1/generated/validators/createRoleRequestBody.zod.d.ts +26 -0
  2203. package/dist/iam/v1/generated/validators/createRoleRequestBody.zod.js +31 -0
  2204. package/dist/iam/v1/generated/validators/createSSHKeyRequestBody.zod.d.ts +25 -0
  2205. package/dist/iam/v1/generated/validators/createSSHKeyRequestBody.zod.js +31 -0
  2206. package/dist/iam/v1/generated/validators/cursorPagination.zod.d.ts +21 -0
  2207. package/dist/iam/v1/generated/validators/cursorPagination.zod.js +21 -0
  2208. package/dist/iam/v1/generated/validators/error.zod.d.ts +32 -0
  2209. package/dist/iam/v1/generated/validators/error.zod.js +21 -0
  2210. package/dist/iam/v1/generated/validators/errorStatus.zod.d.ts +30 -0
  2211. package/dist/iam/v1/generated/validators/errorStatus.zod.js +45 -0
  2212. package/dist/iam/v1/generated/validators/fieldViolation.zod.d.ts +21 -0
  2213. package/dist/iam/v1/generated/validators/fieldViolation.zod.js +24 -0
  2214. package/dist/iam/v1/generated/validators/grantResource.zod.d.ts +33 -0
  2215. package/dist/iam/v1/generated/validators/grantResource.zod.js +25 -0
  2216. package/dist/iam/v1/generated/validators/invitationResource.zod.d.ts +26 -0
  2217. package/dist/iam/v1/generated/validators/invitationResource.zod.js +24 -0
  2218. package/dist/iam/v1/generated/validators/issueInvitationRequestBody.zod.d.ts +22 -0
  2219. package/dist/iam/v1/generated/validators/issueInvitationRequestBody.zod.js +24 -0
  2220. package/dist/iam/v1/generated/validators/issuedInvitationResponseBody.zod.d.ts +29 -0
  2221. package/dist/iam/v1/generated/validators/issuedInvitationResponseBody.zod.js +22 -0
  2222. package/dist/iam/v1/generated/validators/lengthAwarePageApplicationResource.zod.d.ts +42 -0
  2223. package/dist/iam/v1/generated/validators/lengthAwarePageApplicationResource.zod.js +22 -0
  2224. package/dist/iam/v1/generated/validators/lengthAwarePageInvitationResource.zod.d.ts +31 -0
  2225. package/dist/iam/v1/generated/validators/lengthAwarePageInvitationResource.zod.js +22 -0
  2226. package/dist/iam/v1/generated/validators/lengthAwarePageMemberResource.zod.d.ts +59 -0
  2227. package/dist/iam/v1/generated/validators/lengthAwarePageMemberResource.zod.js +22 -0
  2228. package/dist/iam/v1/generated/validators/lengthAwarePageSSHKeyResource.zod.d.ts +36 -0
  2229. package/dist/iam/v1/generated/validators/lengthAwarePageSSHKeyResource.zod.js +22 -0
  2230. package/dist/iam/v1/generated/validators/listApplicationsParams.zod.d.ts +28 -0
  2231. package/dist/iam/v1/generated/validators/listApplicationsParams.zod.js +34 -0
  2232. package/dist/iam/v1/generated/validators/listInvitationsParams.zod.d.ts +26 -0
  2233. package/dist/iam/v1/generated/validators/listInvitationsParams.zod.js +32 -0
  2234. package/dist/iam/v1/generated/validators/listMembersParams.zod.d.ts +28 -0
  2235. package/dist/iam/v1/generated/validators/listMembersParams.zod.js +34 -0
  2236. package/dist/iam/v1/generated/validators/listSshKeysParams.zod.d.ts +32 -0
  2237. package/dist/iam/v1/generated/validators/listSshKeysParams.zod.js +38 -0
  2238. package/dist/iam/v1/generated/validators/memberPermissionListResponseBody.zod.d.ts +31 -0
  2239. package/dist/iam/v1/generated/validators/memberPermissionListResponseBody.zod.js +19 -0
  2240. package/dist/iam/v1/generated/validators/memberPermissionResource.zod.d.ts +32 -0
  2241. package/dist/iam/v1/generated/validators/memberPermissionResource.zod.js +38 -0
  2242. package/dist/iam/v1/generated/validators/memberResource.zod.d.ts +54 -0
  2243. package/dist/iam/v1/generated/validators/memberResource.zod.js +33 -0
  2244. package/dist/iam/v1/generated/validators/membershipResource.zod.d.ts +48 -0
  2245. package/dist/iam/v1/generated/validators/membershipResource.zod.js +25 -0
  2246. package/dist/iam/v1/generated/validators/offsetPagination.zod.d.ts +23 -0
  2247. package/dist/iam/v1/generated/validators/offsetPagination.zod.js +23 -0
  2248. package/dist/iam/v1/generated/validators/ownershipTransferResponseBody.zod.d.ts +93 -0
  2249. package/dist/iam/v1/generated/validators/ownershipTransferResponseBody.zod.js +20 -0
  2250. package/dist/iam/v1/generated/validators/permissionListResponseBody.zod.d.ts +24 -0
  2251. package/dist/iam/v1/generated/validators/permissionListResponseBody.zod.js +19 -0
  2252. package/dist/iam/v1/generated/validators/permissionResource.zod.d.ts +22 -0
  2253. package/dist/iam/v1/generated/validators/permissionResource.zod.js +26 -0
  2254. package/dist/iam/v1/generated/validators/projectAccessResource.zod.d.ts +60 -0
  2255. package/dist/iam/v1/generated/validators/projectAccessResource.zod.js +21 -0
  2256. package/dist/iam/v1/generated/validators/projectResource.zod.d.ts +43 -0
  2257. package/dist/iam/v1/generated/validators/projectResource.zod.js +39 -0
  2258. package/dist/iam/v1/generated/validators/projectTraitResource.zod.d.ts +26 -0
  2259. package/dist/iam/v1/generated/validators/projectTraitResource.zod.js +21 -0
  2260. package/dist/iam/v1/generated/validators/quotaListResponseBody.zod.d.ts +25 -0
  2261. package/dist/iam/v1/generated/validators/quotaListResponseBody.zod.js +19 -0
  2262. package/dist/iam/v1/generated/validators/quotaResource.zod.d.ts +23 -0
  2263. package/dist/iam/v1/generated/validators/quotaResource.zod.js +21 -0
  2264. package/dist/iam/v1/generated/validators/renameSSHKeyRequestBody.zod.d.ts +21 -0
  2265. package/dist/iam/v1/generated/validators/renameSSHKeyRequestBody.zod.js +19 -0
  2266. package/dist/iam/v1/generated/validators/resolvedMemberResource.zod.d.ts +25 -0
  2267. package/dist/iam/v1/generated/validators/resolvedMemberResource.zod.js +27 -0
  2268. package/dist/iam/v1/generated/validators/resourceRefResource.zod.d.ts +21 -0
  2269. package/dist/iam/v1/generated/validators/resourceRefResource.zod.js +23 -0
  2270. package/dist/iam/v1/generated/validators/roleListResponseBody.zod.d.ts +28 -0
  2271. package/dist/iam/v1/generated/validators/roleListResponseBody.zod.js +19 -0
  2272. package/dist/iam/v1/generated/validators/roleResource.zod.d.ts +26 -0
  2273. package/dist/iam/v1/generated/validators/roleResource.zod.js +26 -0
  2274. package/dist/iam/v1/generated/validators/rotateApplicationSecretResponseBody.zod.d.ts +21 -0
  2275. package/dist/iam/v1/generated/validators/rotateApplicationSecretResponseBody.zod.js +19 -0
  2276. package/dist/iam/v1/generated/validators/ruleResource.zod.d.ts +28 -0
  2277. package/dist/iam/v1/generated/validators/ruleResource.zod.js +27 -0
  2278. package/dist/iam/v1/generated/validators/sSHKeyResource.zod.d.ts +31 -0
  2279. package/dist/iam/v1/generated/validators/sSHKeyResource.zod.js +31 -0
  2280. package/dist/iam/v1/generated/validators/setMemberRolesRequestBody.zod.d.ts +20 -0
  2281. package/dist/iam/v1/generated/validators/setMemberRolesRequestBody.zod.js +21 -0
  2282. package/dist/iam/v1/generated/validators/setProjectSlugRequestBody.zod.d.ts +22 -0
  2283. package/dist/iam/v1/generated/validators/setProjectSlugRequestBody.zod.js +24 -0
  2284. package/dist/iam/v1/generated/validators/transferOwnershipRequestBody.zod.d.ts +21 -0
  2285. package/dist/iam/v1/generated/validators/transferOwnershipRequestBody.zod.js +23 -0
  2286. package/dist/iam/v1/generated/validators/updateApplicationRequestBody.zod.d.ts +25 -0
  2287. package/dist/iam/v1/generated/validators/updateApplicationRequestBody.zod.js +30 -0
  2288. package/dist/iam/v1/generated/validators/updateProjectRequestBody.zod.d.ts +23 -0
  2289. package/dist/iam/v1/generated/validators/updateProjectRequestBody.zod.js +21 -0
  2290. package/dist/iam/v1/generated/validators/updateRoleRequestBody.zod.d.ts +24 -0
  2291. package/dist/iam/v1/generated/validators/updateRoleRequestBody.zod.js +22 -0
  2292. package/dist/iam/v1/index.d.ts +3 -62
  2293. package/dist/iam/v1/index.js +3 -5
  2294. package/dist/index.d.ts +16 -10
  2295. package/dist/index.js +16 -6
  2296. package/dist/membership/v1/generated/functions.d.ts +223 -0
  2297. package/dist/membership/v1/generated/functions.js +255 -0
  2298. package/dist/membership/v1/generated/models.d.ts +526 -0
  2299. package/dist/membership/v1/generated/models.js +41 -0
  2300. package/dist/membership/v1/generated/schemas.zod.d.ts +138 -0
  2301. package/dist/membership/v1/generated/schemas.zod.js +161 -0
  2302. package/dist/membership/v1/generated/validators/allowanceBenefit.zod.d.ts +21 -0
  2303. package/dist/membership/v1/generated/validators/allowanceBenefit.zod.js +21 -0
  2304. package/dist/membership/v1/generated/validators/benefit.zod.d.ts +61 -0
  2305. package/dist/membership/v1/generated/validators/benefit.zod.js +22 -0
  2306. package/dist/membership/v1/generated/validators/checkoutMode.zod.d.ts +14 -0
  2307. package/dist/membership/v1/generated/validators/checkoutMode.zod.js +11 -0
  2308. package/dist/membership/v1/generated/validators/checkoutOptions.zod.d.ts +24 -0
  2309. package/dist/membership/v1/generated/validators/checkoutOptions.zod.js +35 -0
  2310. package/dist/membership/v1/generated/validators/creditBenefit.zod.d.ts +19 -0
  2311. package/dist/membership/v1/generated/validators/creditBenefit.zod.js +23 -0
  2312. package/dist/membership/v1/generated/validators/currency.zod.d.ts +12 -0
  2313. package/dist/membership/v1/generated/validators/currency.zod.js +10 -0
  2314. package/dist/membership/v1/generated/validators/cursorPagination.zod.d.ts +14 -0
  2315. package/dist/membership/v1/generated/validators/cursorPagination.zod.js +14 -0
  2316. package/dist/membership/v1/generated/validators/discountBenefit.zod.d.ts +24 -0
  2317. package/dist/membership/v1/generated/validators/discountBenefit.zod.js +22 -0
  2318. package/dist/membership/v1/generated/validators/error.zod.d.ts +25 -0
  2319. package/dist/membership/v1/generated/validators/error.zod.js +14 -0
  2320. package/dist/membership/v1/generated/validators/errorStatus.zod.d.ts +23 -0
  2321. package/dist/membership/v1/generated/validators/errorStatus.zod.js +38 -0
  2322. package/dist/membership/v1/generated/validators/featureBenefit.zod.d.ts +18 -0
  2323. package/dist/membership/v1/generated/validators/featureBenefit.zod.js +16 -0
  2324. package/dist/membership/v1/generated/validators/fieldViolation.zod.d.ts +14 -0
  2325. package/dist/membership/v1/generated/validators/fieldViolation.zod.js +17 -0
  2326. package/dist/membership/v1/generated/validators/getPlanParams.zod.d.ts +13 -0
  2327. package/dist/membership/v1/generated/validators/getPlanParams.zod.js +12 -0
  2328. package/dist/membership/v1/generated/validators/grant.zod.d.ts +73 -0
  2329. package/dist/membership/v1/generated/validators/grant.zod.js +34 -0
  2330. package/dist/membership/v1/generated/validators/listMembershipPeriodsParams.zod.d.ts +18 -0
  2331. package/dist/membership/v1/generated/validators/listMembershipPeriodsParams.zod.js +24 -0
  2332. package/dist/membership/v1/generated/validators/listMembershipUpgradeOptionsParams.zod.d.ts +18 -0
  2333. package/dist/membership/v1/generated/validators/listMembershipUpgradeOptionsParams.zod.js +24 -0
  2334. package/dist/membership/v1/generated/validators/listMembershipsParams.zod.d.ts +19 -0
  2335. package/dist/membership/v1/generated/validators/listMembershipsParams.zod.js +25 -0
  2336. package/dist/membership/v1/generated/validators/listPlansParams.zod.d.ts +19 -0
  2337. package/dist/membership/v1/generated/validators/listPlansParams.zod.js +22 -0
  2338. package/dist/membership/v1/generated/validators/membership.zod.d.ts +110 -0
  2339. package/dist/membership/v1/generated/validators/membership.zod.js +38 -0
  2340. package/dist/membership/v1/generated/validators/membershipCreate.zod.d.ts +25 -0
  2341. package/dist/membership/v1/generated/validators/membershipCreate.zod.js +17 -0
  2342. package/dist/membership/v1/generated/validators/membershipDowngrade.zod.d.ts +13 -0
  2343. package/dist/membership/v1/generated/validators/membershipDowngrade.zod.js +13 -0
  2344. package/dist/membership/v1/generated/validators/membershipList.zod.d.ts +117 -0
  2345. package/dist/membership/v1/generated/validators/membershipList.zod.js +14 -0
  2346. package/dist/membership/v1/generated/validators/membershipPurchase.zod.d.ts +114 -0
  2347. package/dist/membership/v1/generated/validators/membershipPurchase.zod.js +21 -0
  2348. package/dist/membership/v1/generated/validators/membershipUpgrade.zod.d.ts +23 -0
  2349. package/dist/membership/v1/generated/validators/membershipUpgrade.zod.js +13 -0
  2350. package/dist/membership/v1/generated/validators/money.zod.d.ts +11 -0
  2351. package/dist/membership/v1/generated/validators/money.zod.js +11 -0
  2352. package/dist/membership/v1/generated/validators/namedIdentity.zod.d.ts +15 -0
  2353. package/dist/membership/v1/generated/validators/namedIdentity.zod.js +15 -0
  2354. package/dist/membership/v1/generated/validators/offsetPagination.zod.d.ts +16 -0
  2355. package/dist/membership/v1/generated/validators/offsetPagination.zod.js +16 -0
  2356. package/dist/membership/v1/generated/validators/period.zod.d.ts +85 -0
  2357. package/dist/membership/v1/generated/validators/period.zod.js +20 -0
  2358. package/dist/membership/v1/generated/validators/periodList.zod.d.ts +92 -0
  2359. package/dist/membership/v1/generated/validators/periodList.zod.js +14 -0
  2360. package/dist/membership/v1/generated/validators/plan.zod.d.ts +77 -0
  2361. package/dist/membership/v1/generated/validators/plan.zod.js +19 -0
  2362. package/dist/membership/v1/generated/validators/planList.zod.d.ts +84 -0
  2363. package/dist/membership/v1/generated/validators/planList.zod.js +14 -0
  2364. package/dist/membership/v1/generated/validators/planPrice.zod.d.ts +19 -0
  2365. package/dist/membership/v1/generated/validators/planPrice.zod.js +17 -0
  2366. package/dist/membership/v1/generated/validators/planSummary.zod.d.ts +16 -0
  2367. package/dist/membership/v1/generated/validators/planSummary.zod.js +16 -0
  2368. package/dist/membership/v1/generated/validators/productIdentity.zod.d.ts +14 -0
  2369. package/dist/membership/v1/generated/validators/productIdentity.zod.js +14 -0
  2370. package/dist/membership/v1/generated/validators/upgradeOption.zod.d.ts +19 -0
  2371. package/dist/membership/v1/generated/validators/upgradeOption.zod.js +18 -0
  2372. package/dist/membership/v1/generated/validators/upgradeOptionList.zod.d.ts +26 -0
  2373. package/dist/membership/v1/generated/validators/upgradeOptionList.zod.js +14 -0
  2374. package/dist/membership/v1/index.d.ts +3 -0
  2375. package/dist/membership/v1/index.js +3 -0
  2376. package/dist/monitoring/v1/generated/functions.d.ts +1443 -0
  2377. package/dist/monitoring/v1/generated/functions.js +1583 -0
  2378. package/dist/monitoring/v1/generated/models.d.ts +1681 -0
  2379. package/dist/monitoring/v1/generated/models.js +305 -0
  2380. package/dist/monitoring/v1/generated/schemas.zod.d.ts +815 -0
  2381. package/dist/monitoring/v1/generated/schemas.zod.js +626 -0
  2382. package/dist/monitoring/v1/generated/validators/acknowledgeIncidentRequestBody.zod.d.ts +27 -0
  2383. package/dist/monitoring/v1/generated/validators/acknowledgeIncidentRequestBody.zod.js +29 -0
  2384. package/dist/monitoring/v1/generated/validators/addCommentRequestBody.zod.d.ts +27 -0
  2385. package/dist/monitoring/v1/generated/validators/addCommentRequestBody.zod.js +25 -0
  2386. package/dist/monitoring/v1/generated/validators/assignIncidentRequestBody.zod.d.ts +29 -0
  2387. package/dist/monitoring/v1/generated/validators/assignIncidentRequestBody.zod.js +31 -0
  2388. package/dist/monitoring/v1/generated/validators/closeIncidentRequestBody.zod.d.ts +36 -0
  2389. package/dist/monitoring/v1/generated/validators/closeIncidentRequestBody.zod.js +38 -0
  2390. package/dist/monitoring/v1/generated/validators/countResource.zod.d.ts +27 -0
  2391. package/dist/monitoring/v1/generated/validators/countResource.zod.js +25 -0
  2392. package/dist/monitoring/v1/generated/validators/cursorPageIncidentActivityResource.zod.d.ts +54 -0
  2393. package/dist/monitoring/v1/generated/validators/cursorPageIncidentActivityResource.zod.js +28 -0
  2394. package/dist/monitoring/v1/generated/validators/cursorPagination.zod.d.ts +27 -0
  2395. package/dist/monitoring/v1/generated/validators/cursorPagination.zod.js +27 -0
  2396. package/dist/monitoring/v1/generated/validators/enableMonitoringRequestBody.zod.d.ts +58 -0
  2397. package/dist/monitoring/v1/generated/validators/enableMonitoringRequestBody.zod.js +44 -0
  2398. package/dist/monitoring/v1/generated/validators/enrollmentResource.zod.d.ts +31 -0
  2399. package/dist/monitoring/v1/generated/validators/enrollmentResource.zod.js +33 -0
  2400. package/dist/monitoring/v1/generated/validators/error.zod.d.ts +38 -0
  2401. package/dist/monitoring/v1/generated/validators/error.zod.js +27 -0
  2402. package/dist/monitoring/v1/generated/validators/errorStatus.zod.d.ts +36 -0
  2403. package/dist/monitoring/v1/generated/validators/errorStatus.zod.js +51 -0
  2404. package/dist/monitoring/v1/generated/validators/fieldViolation.zod.d.ts +27 -0
  2405. package/dist/monitoring/v1/generated/validators/fieldViolation.zod.js +30 -0
  2406. package/dist/monitoring/v1/generated/validators/getServerMetricParams.zod.d.ts +32 -0
  2407. package/dist/monitoring/v1/generated/validators/getServerMetricParams.zod.js +40 -0
  2408. package/dist/monitoring/v1/generated/validators/getSliReportParams.zod.d.ts +30 -0
  2409. package/dist/monitoring/v1/generated/validators/getSliReportParams.zod.js +33 -0
  2410. package/dist/monitoring/v1/generated/validators/hostInterfaceResource.zod.d.ts +30 -0
  2411. package/dist/monitoring/v1/generated/validators/hostInterfaceResource.zod.js +28 -0
  2412. package/dist/monitoring/v1/generated/validators/incidentActivityResource.zod.d.ts +51 -0
  2413. package/dist/monitoring/v1/generated/validators/incidentActivityResource.zod.js +47 -0
  2414. package/dist/monitoring/v1/generated/validators/incidentFollowerResource.zod.d.ts +28 -0
  2415. package/dist/monitoring/v1/generated/validators/incidentFollowerResource.zod.js +26 -0
  2416. package/dist/monitoring/v1/generated/validators/incidentResource.zod.d.ts +85 -0
  2417. package/dist/monitoring/v1/generated/validators/incidentResource.zod.js +67 -0
  2418. package/dist/monitoring/v1/generated/validators/itemListResponseBody.zod.d.ts +44 -0
  2419. package/dist/monitoring/v1/generated/validators/itemListResponseBody.zod.js +25 -0
  2420. package/dist/monitoring/v1/generated/validators/itemResource.zod.d.ts +42 -0
  2421. package/dist/monitoring/v1/generated/validators/itemResource.zod.js +32 -0
  2422. package/dist/monitoring/v1/generated/validators/itemThresholdResource.zod.d.ts +32 -0
  2423. package/dist/monitoring/v1/generated/validators/itemThresholdResource.zod.js +30 -0
  2424. package/dist/monitoring/v1/generated/validators/lengthAwarePageIncidentResource.zod.d.ts +90 -0
  2425. package/dist/monitoring/v1/generated/validators/lengthAwarePageIncidentResource.zod.js +28 -0
  2426. package/dist/monitoring/v1/generated/validators/lengthAwarePageServerResource.zod.d.ts +61 -0
  2427. package/dist/monitoring/v1/generated/validators/lengthAwarePageServerResource.zod.js +28 -0
  2428. package/dist/monitoring/v1/generated/validators/lengthAwarePageStatusPageIncidentResource.zod.d.ts +76 -0
  2429. package/dist/monitoring/v1/generated/validators/lengthAwarePageStatusPageIncidentResource.zod.js +28 -0
  2430. package/dist/monitoring/v1/generated/validators/lengthAwarePageStatusPageMaintenanceResource.zod.d.ts +51 -0
  2431. package/dist/monitoring/v1/generated/validators/lengthAwarePageStatusPageMaintenanceResource.zod.js +28 -0
  2432. package/dist/monitoring/v1/generated/validators/listIncidentTimelineParams.zod.d.ts +30 -0
  2433. package/dist/monitoring/v1/generated/validators/listIncidentTimelineParams.zod.js +32 -0
  2434. package/dist/monitoring/v1/generated/validators/listIncidentsParams.zod.d.ts +66 -0
  2435. package/dist/monitoring/v1/generated/validators/listIncidentsParams.zod.js +64 -0
  2436. package/dist/monitoring/v1/generated/validators/listProjectTopItemsParams.zod.d.ts +33 -0
  2437. package/dist/monitoring/v1/generated/validators/listProjectTopItemsParams.zod.js +32 -0
  2438. package/dist/monitoring/v1/generated/validators/listServerItemsParams.zod.d.ts +28 -0
  2439. package/dist/monitoring/v1/generated/validators/listServerItemsParams.zod.js +33 -0
  2440. package/dist/monitoring/v1/generated/validators/listServersParams.zod.d.ts +40 -0
  2441. package/dist/monitoring/v1/generated/validators/listServersParams.zod.js +41 -0
  2442. package/dist/monitoring/v1/generated/validators/listStatusPageIncidentsParams.zod.d.ts +32 -0
  2443. package/dist/monitoring/v1/generated/validators/listStatusPageIncidentsParams.zod.js +38 -0
  2444. package/dist/monitoring/v1/generated/validators/listStatusPageMaintenancesParams.zod.d.ts +32 -0
  2445. package/dist/monitoring/v1/generated/validators/listStatusPageMaintenancesParams.zod.js +38 -0
  2446. package/dist/monitoring/v1/generated/validators/listWebChecksParams.zod.d.ts +26 -0
  2447. package/dist/monitoring/v1/generated/validators/listWebChecksParams.zod.js +27 -0
  2448. package/dist/monitoring/v1/generated/validators/maintenancePeriodRequest.zod.d.ts +41 -0
  2449. package/dist/monitoring/v1/generated/validators/maintenancePeriodRequest.zod.js +49 -0
  2450. package/dist/monitoring/v1/generated/validators/maintenancePeriodResource.zod.d.ts +35 -0
  2451. package/dist/monitoring/v1/generated/validators/maintenancePeriodResource.zod.js +31 -0
  2452. package/dist/monitoring/v1/generated/validators/maintenanceWindowListResponseBody.zod.d.ts +54 -0
  2453. package/dist/monitoring/v1/generated/validators/maintenanceWindowListResponseBody.zod.js +25 -0
  2454. package/dist/monitoring/v1/generated/validators/maintenanceWindowResource.zod.d.ts +52 -0
  2455. package/dist/monitoring/v1/generated/validators/maintenanceWindowResource.zod.js +35 -0
  2456. package/dist/monitoring/v1/generated/validators/metricPointResource.zod.d.ts +29 -0
  2457. package/dist/monitoring/v1/generated/validators/metricPointResource.zod.js +27 -0
  2458. package/dist/monitoring/v1/generated/validators/metricResponseBody.zod.d.ts +51 -0
  2459. package/dist/monitoring/v1/generated/validators/metricResponseBody.zod.js +32 -0
  2460. package/dist/monitoring/v1/generated/validators/metricSeriesResource.zod.d.ts +35 -0
  2461. package/dist/monitoring/v1/generated/validators/metricSeriesResource.zod.js +29 -0
  2462. package/dist/monitoring/v1/generated/validators/monitoringItemResource.zod.d.ts +34 -0
  2463. package/dist/monitoring/v1/generated/validators/monitoringItemResource.zod.js +32 -0
  2464. package/dist/monitoring/v1/generated/validators/offsetPagination.zod.d.ts +29 -0
  2465. package/dist/monitoring/v1/generated/validators/offsetPagination.zod.js +29 -0
  2466. package/dist/monitoring/v1/generated/validators/postStatusPageIncidentUpdateRequestBody.zod.d.ts +43 -0
  2467. package/dist/monitoring/v1/generated/validators/postStatusPageIncidentUpdateRequestBody.zod.js +34 -0
  2468. package/dist/monitoring/v1/generated/validators/projectOverviewResource.zod.d.ts +35 -0
  2469. package/dist/monitoring/v1/generated/validators/projectOverviewResource.zod.js +28 -0
  2470. package/dist/monitoring/v1/generated/validators/publishStatusPageIncidentRequestBody.zod.d.ts +53 -0
  2471. package/dist/monitoring/v1/generated/validators/publishStatusPageIncidentRequestBody.zod.js +48 -0
  2472. package/dist/monitoring/v1/generated/validators/putMaintenanceWindowRequestBody.zod.d.ts +46 -0
  2473. package/dist/monitoring/v1/generated/validators/putMaintenanceWindowRequestBody.zod.js +40 -0
  2474. package/dist/monitoring/v1/generated/validators/putSLORequestBody.zod.d.ts +54 -0
  2475. package/dist/monitoring/v1/generated/validators/putSLORequestBody.zod.js +47 -0
  2476. package/dist/monitoring/v1/generated/validators/putStatusPageComponentRequestBody.zod.d.ts +44 -0
  2477. package/dist/monitoring/v1/generated/validators/putStatusPageComponentRequestBody.zod.js +47 -0
  2478. package/dist/monitoring/v1/generated/validators/putStatusPageComponentSourcesRequestBody.zod.d.ts +32 -0
  2479. package/dist/monitoring/v1/generated/validators/putStatusPageComponentSourcesRequestBody.zod.js +29 -0
  2480. package/dist/monitoring/v1/generated/validators/putStatusPageDomainRequestBody.zod.d.ts +27 -0
  2481. package/dist/monitoring/v1/generated/validators/putStatusPageDomainRequestBody.zod.js +29 -0
  2482. package/dist/monitoring/v1/generated/validators/putStatusPageGroupOrderRequestBody.zod.d.ts +26 -0
  2483. package/dist/monitoring/v1/generated/validators/putStatusPageGroupOrderRequestBody.zod.js +24 -0
  2484. package/dist/monitoring/v1/generated/validators/putStatusPageGroupRequestBody.zod.d.ts +31 -0
  2485. package/dist/monitoring/v1/generated/validators/putStatusPageGroupRequestBody.zod.js +29 -0
  2486. package/dist/monitoring/v1/generated/validators/putStatusPageOrderRequestBody.zod.d.ts +29 -0
  2487. package/dist/monitoring/v1/generated/validators/putStatusPageOrderRequestBody.zod.js +25 -0
  2488. package/dist/monitoring/v1/generated/validators/putStatusPageRequestBody.zod.d.ts +61 -0
  2489. package/dist/monitoring/v1/generated/validators/putStatusPageRequestBody.zod.js +96 -0
  2490. package/dist/monitoring/v1/generated/validators/putWebCheckRequestBody.zod.d.ts +40 -0
  2491. package/dist/monitoring/v1/generated/validators/putWebCheckRequestBody.zod.js +41 -0
  2492. package/dist/monitoring/v1/generated/validators/sLIReportResponseBody.zod.d.ts +35 -0
  2493. package/dist/monitoring/v1/generated/validators/sLIReportResponseBody.zod.js +25 -0
  2494. package/dist/monitoring/v1/generated/validators/sLIReportRowResource.zod.d.ts +33 -0
  2495. package/dist/monitoring/v1/generated/validators/sLIReportRowResource.zod.js +33 -0
  2496. package/dist/monitoring/v1/generated/validators/sLOResource.zod.d.ts +57 -0
  2497. package/dist/monitoring/v1/generated/validators/sLOResource.zod.js +35 -0
  2498. package/dist/monitoring/v1/generated/validators/scheduleStatusPageMaintenanceRequestBody.zod.d.ts +37 -0
  2499. package/dist/monitoring/v1/generated/validators/scheduleStatusPageMaintenanceRequestBody.zod.js +35 -0
  2500. package/dist/monitoring/v1/generated/validators/scheduleWindowRequest.zod.d.ts +33 -0
  2501. package/dist/monitoring/v1/generated/validators/scheduleWindowRequest.zod.js +43 -0
  2502. package/dist/monitoring/v1/generated/validators/scheduleWindowResource.zod.d.ts +28 -0
  2503. package/dist/monitoring/v1/generated/validators/scheduleWindowResource.zod.js +28 -0
  2504. package/dist/monitoring/v1/generated/validators/serverEnrollmentResponseBody.zod.d.ts +66 -0
  2505. package/dist/monitoring/v1/generated/validators/serverEnrollmentResponseBody.zod.js +27 -0
  2506. package/dist/monitoring/v1/generated/validators/serverResource.zod.d.ts +56 -0
  2507. package/dist/monitoring/v1/generated/validators/serverResource.zod.js +42 -0
  2508. package/dist/monitoring/v1/generated/validators/serverResourcesResource.zod.d.ts +37 -0
  2509. package/dist/monitoring/v1/generated/validators/serverResourcesResource.zod.js +30 -0
  2510. package/dist/monitoring/v1/generated/validators/serverTemplateResource.zod.d.ts +30 -0
  2511. package/dist/monitoring/v1/generated/validators/serverTemplateResource.zod.js +28 -0
  2512. package/dist/monitoring/v1/generated/validators/setFollowingRequestBody.zod.d.ts +26 -0
  2513. package/dist/monitoring/v1/generated/validators/setFollowingRequestBody.zod.js +24 -0
  2514. package/dist/monitoring/v1/generated/validators/snapshotResource.zod.d.ts +38 -0
  2515. package/dist/monitoring/v1/generated/validators/snapshotResource.zod.js +31 -0
  2516. package/dist/monitoring/v1/generated/validators/statusPageComponentListResponseBody.zod.d.ts +52 -0
  2517. package/dist/monitoring/v1/generated/validators/statusPageComponentListResponseBody.zod.js +25 -0
  2518. package/dist/monitoring/v1/generated/validators/statusPageComponentResource.zod.d.ts +50 -0
  2519. package/dist/monitoring/v1/generated/validators/statusPageComponentResource.zod.js +56 -0
  2520. package/dist/monitoring/v1/generated/validators/statusPageComponentSourceServer.zod.d.ts +26 -0
  2521. package/dist/monitoring/v1/generated/validators/statusPageComponentSourceServer.zod.js +24 -0
  2522. package/dist/monitoring/v1/generated/validators/statusPageComponentSourceWebCheck.zod.d.ts +28 -0
  2523. package/dist/monitoring/v1/generated/validators/statusPageComponentSourceWebCheck.zod.js +29 -0
  2524. package/dist/monitoring/v1/generated/validators/statusPageComponentSourcesResource.zod.d.ts +32 -0
  2525. package/dist/monitoring/v1/generated/validators/statusPageComponentSourcesResource.zod.js +27 -0
  2526. package/dist/monitoring/v1/generated/validators/statusPageDomainResource.zod.d.ts +39 -0
  2527. package/dist/monitoring/v1/generated/validators/statusPageDomainResource.zod.js +46 -0
  2528. package/dist/monitoring/v1/generated/validators/statusPageGroupListResponseBody.zod.d.ts +33 -0
  2529. package/dist/monitoring/v1/generated/validators/statusPageGroupListResponseBody.zod.js +25 -0
  2530. package/dist/monitoring/v1/generated/validators/statusPageGroupResource.zod.d.ts +31 -0
  2531. package/dist/monitoring/v1/generated/validators/statusPageGroupResource.zod.js +29 -0
  2532. package/dist/monitoring/v1/generated/validators/statusPageIncidentComponentRequest.zod.d.ts +33 -0
  2533. package/dist/monitoring/v1/generated/validators/statusPageIncidentComponentRequest.zod.js +34 -0
  2534. package/dist/monitoring/v1/generated/validators/statusPageIncidentComponentResource.zod.d.ts +41 -0
  2535. package/dist/monitoring/v1/generated/validators/statusPageIncidentComponentResource.zod.js +41 -0
  2536. package/dist/monitoring/v1/generated/validators/statusPageIncidentResource.zod.d.ts +71 -0
  2537. package/dist/monitoring/v1/generated/validators/statusPageIncidentResource.zod.js +37 -0
  2538. package/dist/monitoring/v1/generated/validators/statusPageIncidentUpdateResource.zod.d.ts +52 -0
  2539. package/dist/monitoring/v1/generated/validators/statusPageIncidentUpdateResource.zod.js +29 -0
  2540. package/dist/monitoring/v1/generated/validators/statusPageMaintenanceComponentRequest.zod.d.ts +31 -0
  2541. package/dist/monitoring/v1/generated/validators/statusPageMaintenanceComponentRequest.zod.js +29 -0
  2542. package/dist/monitoring/v1/generated/validators/statusPageMaintenanceComponentResource.zod.d.ts +31 -0
  2543. package/dist/monitoring/v1/generated/validators/statusPageMaintenanceComponentResource.zod.js +26 -0
  2544. package/dist/monitoring/v1/generated/validators/statusPageMaintenanceResource.zod.d.ts +46 -0
  2545. package/dist/monitoring/v1/generated/validators/statusPageMaintenanceResource.zod.js +39 -0
  2546. package/dist/monitoring/v1/generated/validators/statusPageOrderItem.zod.d.ts +27 -0
  2547. package/dist/monitoring/v1/generated/validators/statusPageOrderItem.zod.js +27 -0
  2548. package/dist/monitoring/v1/generated/validators/statusPageResource.zod.d.ts +47 -0
  2549. package/dist/monitoring/v1/generated/validators/statusPageResource.zod.js +51 -0
  2550. package/dist/monitoring/v1/generated/validators/tagResource.zod.d.ts +27 -0
  2551. package/dist/monitoring/v1/generated/validators/tagResource.zod.js +25 -0
  2552. package/dist/monitoring/v1/generated/validators/templateBindingRequest.zod.d.ts +39 -0
  2553. package/dist/monitoring/v1/generated/validators/templateBindingRequest.zod.js +40 -0
  2554. package/dist/monitoring/v1/generated/validators/templateCatalogEntryResource.zod.d.ts +46 -0
  2555. package/dist/monitoring/v1/generated/validators/templateCatalogEntryResource.zod.js +42 -0
  2556. package/dist/monitoring/v1/generated/validators/templateCatalogParameterResource.zod.d.ts +39 -0
  2557. package/dist/monitoring/v1/generated/validators/templateCatalogParameterResource.zod.js +47 -0
  2558. package/dist/monitoring/v1/generated/validators/templateCatalogResponseBody.zod.d.ts +48 -0
  2559. package/dist/monitoring/v1/generated/validators/templateCatalogResponseBody.zod.js +25 -0
  2560. package/dist/monitoring/v1/generated/validators/topItemListResponseBody.zod.d.ts +31 -0
  2561. package/dist/monitoring/v1/generated/validators/topItemListResponseBody.zod.js +25 -0
  2562. package/dist/monitoring/v1/generated/validators/topItemResource.zod.d.ts +29 -0
  2563. package/dist/monitoring/v1/generated/validators/topItemResource.zod.js +27 -0
  2564. package/dist/monitoring/v1/generated/validators/updateServerRequestBody.zod.d.ts +57 -0
  2565. package/dist/monitoring/v1/generated/validators/updateServerRequestBody.zod.js +41 -0
  2566. package/dist/monitoring/v1/generated/validators/webCheckListResponseBody.zod.d.ts +54 -0
  2567. package/dist/monitoring/v1/generated/validators/webCheckListResponseBody.zod.js +25 -0
  2568. package/dist/monitoring/v1/generated/validators/webCheckResource.zod.d.ts +52 -0
  2569. package/dist/monitoring/v1/generated/validators/webCheckResource.zod.js +39 -0
  2570. package/dist/monitoring/v1/generated/validators/webCheckResultResource.zod.d.ts +31 -0
  2571. package/dist/monitoring/v1/generated/validators/webCheckResultResource.zod.js +29 -0
  2572. package/dist/monitoring/v1/generated/validators/webCheckStepRequest.zod.d.ts +34 -0
  2573. package/dist/monitoring/v1/generated/validators/webCheckStepRequest.zod.js +40 -0
  2574. package/dist/monitoring/v1/generated/validators/webCheckStepResource.zod.d.ts +30 -0
  2575. package/dist/monitoring/v1/generated/validators/webCheckStepResource.zod.js +30 -0
  2576. package/dist/monitoring/v1/index.d.ts +3 -174
  2577. package/dist/monitoring/v1/index.js +3 -5
  2578. package/dist/notification/v1/generated/functions.d.ts +768 -0
  2579. package/dist/notification/v1/generated/functions.js +725 -0
  2580. package/dist/notification/v1/generated/models.d.ts +683 -0
  2581. package/dist/notification/v1/generated/models.js +41 -0
  2582. package/dist/notification/v1/generated/schemas.zod.d.ts +385 -0
  2583. package/dist/notification/v1/generated/schemas.zod.js +399 -0
  2584. package/dist/notification/v1/generated/validators/announcementListResource.zod.d.ts +82 -0
  2585. package/dist/notification/v1/generated/validators/announcementListResource.zod.js +67 -0
  2586. package/dist/notification/v1/generated/validators/announcementReadResultResource.zod.d.ts +67 -0
  2587. package/dist/notification/v1/generated/validators/announcementReadResultResource.zod.js +65 -0
  2588. package/dist/notification/v1/generated/validators/announcementResource.zod.d.ts +79 -0
  2589. package/dist/notification/v1/generated/validators/announcementResource.zod.js +85 -0
  2590. package/dist/notification/v1/generated/validators/channelKind.zod.d.ts +70 -0
  2591. package/dist/notification/v1/generated/validators/channelKind.zod.js +65 -0
  2592. package/dist/notification/v1/generated/validators/channelListResponseBody.zod.d.ts +91 -0
  2593. package/dist/notification/v1/generated/validators/channelListResponseBody.zod.js +66 -0
  2594. package/dist/notification/v1/generated/validators/channelResource.zod.d.ts +89 -0
  2595. package/dist/notification/v1/generated/validators/channelResource.zod.js +99 -0
  2596. package/dist/notification/v1/generated/validators/channelScope.zod.d.ts +68 -0
  2597. package/dist/notification/v1/generated/validators/channelScope.zod.js +65 -0
  2598. package/dist/notification/v1/generated/validators/confirmEmailOverrideRequestBody.zod.d.ts +69 -0
  2599. package/dist/notification/v1/generated/validators/confirmEmailOverrideRequestBody.zod.js +71 -0
  2600. package/dist/notification/v1/generated/validators/countUnreadNotificationsParams.zod.d.ts +70 -0
  2601. package/dist/notification/v1/generated/validators/countUnreadNotificationsParams.zod.js +66 -0
  2602. package/dist/notification/v1/generated/validators/createChannelRequestBody.zod.d.ts +82 -0
  2603. package/dist/notification/v1/generated/validators/createChannelRequestBody.zod.js +86 -0
  2604. package/dist/notification/v1/generated/validators/credentialSubjectKind.zod.d.ts +67 -0
  2605. package/dist/notification/v1/generated/validators/credentialSubjectKind.zod.js +65 -0
  2606. package/dist/notification/v1/generated/validators/credentialTicketResource.zod.d.ts +75 -0
  2607. package/dist/notification/v1/generated/validators/credentialTicketResource.zod.js +84 -0
  2608. package/dist/notification/v1/generated/validators/cursorPagination.zod.d.ts +68 -0
  2609. package/dist/notification/v1/generated/validators/cursorPagination.zod.js +68 -0
  2610. package/dist/notification/v1/generated/validators/deleteTypePreferenceParams.zod.d.ts +67 -0
  2611. package/dist/notification/v1/generated/validators/deleteTypePreferenceParams.zod.js +68 -0
  2612. package/dist/notification/v1/generated/validators/emailOverrideCodeResource.zod.d.ts +69 -0
  2613. package/dist/notification/v1/generated/validators/emailOverrideCodeResource.zod.js +73 -0
  2614. package/dist/notification/v1/generated/validators/error.zod.d.ts +79 -0
  2615. package/dist/notification/v1/generated/validators/error.zod.js +68 -0
  2616. package/dist/notification/v1/generated/validators/errorStatus.zod.d.ts +77 -0
  2617. package/dist/notification/v1/generated/validators/errorStatus.zod.js +92 -0
  2618. package/dist/notification/v1/generated/validators/fieldViolation.zod.d.ts +68 -0
  2619. package/dist/notification/v1/generated/validators/fieldViolation.zod.js +71 -0
  2620. package/dist/notification/v1/generated/validators/lengthAwarePageNotificationResource.zod.d.ts +94 -0
  2621. package/dist/notification/v1/generated/validators/lengthAwarePageNotificationResource.zod.js +70 -0
  2622. package/dist/notification/v1/generated/validators/listNotificationsParams.zod.d.ts +88 -0
  2623. package/dist/notification/v1/generated/validators/listNotificationsParams.zod.js +94 -0
  2624. package/dist/notification/v1/generated/validators/listTypePreferencesParams.zod.d.ts +67 -0
  2625. package/dist/notification/v1/generated/validators/listTypePreferencesParams.zod.js +68 -0
  2626. package/dist/notification/v1/generated/validators/listUserChannelsParams.zod.d.ts +76 -0
  2627. package/dist/notification/v1/generated/validators/listUserChannelsParams.zod.js +68 -0
  2628. package/dist/notification/v1/generated/validators/markNotificationsReadRequestBody.zod.d.ts +68 -0
  2629. package/dist/notification/v1/generated/validators/markNotificationsReadRequestBody.zod.js +68 -0
  2630. package/dist/notification/v1/generated/validators/notificationAudience.zod.d.ts +73 -0
  2631. package/dist/notification/v1/generated/validators/notificationAudience.zod.js +73 -0
  2632. package/dist/notification/v1/generated/validators/notificationChannel.zod.d.ts +69 -0
  2633. package/dist/notification/v1/generated/validators/notificationChannel.zod.js +65 -0
  2634. package/dist/notification/v1/generated/validators/notificationKind.zod.d.ts +68 -0
  2635. package/dist/notification/v1/generated/validators/notificationKind.zod.js +65 -0
  2636. package/dist/notification/v1/generated/validators/notificationResource.zod.d.ts +88 -0
  2637. package/dist/notification/v1/generated/validators/notificationResource.zod.js +99 -0
  2638. package/dist/notification/v1/generated/validators/notificationScope.zod.d.ts +68 -0
  2639. package/dist/notification/v1/generated/validators/notificationScope.zod.js +65 -0
  2640. package/dist/notification/v1/generated/validators/notificationSeverity.zod.d.ts +70 -0
  2641. package/dist/notification/v1/generated/validators/notificationSeverity.zod.js +65 -0
  2642. package/dist/notification/v1/generated/validators/notificationTypeDescriptor.zod.d.ts +96 -0
  2643. package/dist/notification/v1/generated/validators/notificationTypeDescriptor.zod.js +88 -0
  2644. package/dist/notification/v1/generated/validators/notificationTypeListResponseBody.zod.d.ts +98 -0
  2645. package/dist/notification/v1/generated/validators/notificationTypeListResponseBody.zod.js +66 -0
  2646. package/dist/notification/v1/generated/validators/offsetPagination.zod.d.ts +70 -0
  2647. package/dist/notification/v1/generated/validators/offsetPagination.zod.js +70 -0
  2648. package/dist/notification/v1/generated/validators/preferencesResource.zod.d.ts +72 -0
  2649. package/dist/notification/v1/generated/validators/preferencesResource.zod.js +86 -0
  2650. package/dist/notification/v1/generated/validators/revealedCredentialResource.zod.d.ts +73 -0
  2651. package/dist/notification/v1/generated/validators/revealedCredentialResource.zod.js +77 -0
  2652. package/dist/notification/v1/generated/validators/typePreferenceListResponseBody.zod.d.ts +84 -0
  2653. package/dist/notification/v1/generated/validators/typePreferenceListResponseBody.zod.js +66 -0
  2654. package/dist/notification/v1/generated/validators/typePreferenceResource.zod.d.ts +82 -0
  2655. package/dist/notification/v1/generated/validators/typePreferenceResource.zod.js +82 -0
  2656. package/dist/notification/v1/generated/validators/unreadCountResource.zod.d.ts +67 -0
  2657. package/dist/notification/v1/generated/validators/unreadCountResource.zod.js +65 -0
  2658. package/dist/notification/v1/generated/validators/updateChannelRequestBody.zod.d.ts +69 -0
  2659. package/dist/notification/v1/generated/validators/updateChannelRequestBody.zod.js +72 -0
  2660. package/dist/notification/v1/generated/validators/updatePreferencesRequestBody.zod.d.ts +71 -0
  2661. package/dist/notification/v1/generated/validators/updatePreferencesRequestBody.zod.js +80 -0
  2662. package/dist/notification/v1/generated/validators/updateTypePreferenceParams.zod.d.ts +67 -0
  2663. package/dist/notification/v1/generated/validators/updateTypePreferenceParams.zod.js +68 -0
  2664. package/dist/notification/v1/generated/validators/updateTypePreferenceRequestBody.zod.d.ts +80 -0
  2665. package/dist/notification/v1/generated/validators/updateTypePreferenceRequestBody.zod.js +82 -0
  2666. package/dist/notification/v1/index.d.ts +3 -60
  2667. package/dist/notification/v1/index.js +3 -5
  2668. package/dist/proto/google/rpc/status_pb.d.ts +48 -0
  2669. package/dist/proto/google/rpc/status_pb.js +24 -0
  2670. package/dist/proto/leaflow/fleet/audio/v1/audio_pb.d.ts +262 -0
  2671. package/dist/proto/leaflow/fleet/audio/v1/audio_pb.js +51 -0
  2672. package/dist/proto/leaflow/fleet/camera/v1/camera_pb.d.ts +265 -0
  2673. package/dist/proto/leaflow/fleet/camera/v1/camera_pb.js +70 -0
  2674. package/dist/proto/leaflow/fleet/command/v1/command_pb.d.ts +158 -0
  2675. package/dist/proto/leaflow/fleet/command/v1/command_pb.js +25 -0
  2676. package/dist/proto/leaflow/fleet/control/v1/control_pb.d.ts +1261 -0
  2677. package/dist/proto/leaflow/fleet/control/v1/control_pb.js +354 -0
  2678. package/dist/proto/leaflow/fleet/device/v1/device_pb.d.ts +404 -0
  2679. package/dist/proto/leaflow/fleet/device/v1/device_pb.js +183 -0
  2680. package/dist/proto/leaflow/fleet/directory/v1/directory_pb.d.ts +429 -0
  2681. package/dist/proto/leaflow/fleet/directory/v1/directory_pb.js +78 -0
  2682. package/dist/proto/leaflow/fleet/exec/v1/exec_pb.d.ts +287 -0
  2683. package/dist/proto/leaflow/fleet/exec/v1/exec_pb.js +78 -0
  2684. package/dist/proto/leaflow/fleet/filetransfer/v1/filetransfer_pb.d.ts +913 -0
  2685. package/dist/proto/leaflow/fleet/filetransfer/v1/filetransfer_pb.js +184 -0
  2686. package/dist/proto/leaflow/fleet/gamepad/v1/gamepad_pb.d.ts +348 -0
  2687. package/dist/proto/leaflow/fleet/gamepad/v1/gamepad_pb.js +124 -0
  2688. package/dist/proto/leaflow/fleet/host/v1/host_pb.d.ts +617 -0
  2689. package/dist/proto/leaflow/fleet/host/v1/host_pb.js +206 -0
  2690. package/dist/proto/leaflow/fleet/logs/v1/logs_pb.d.ts +293 -0
  2691. package/dist/proto/leaflow/fleet/logs/v1/logs_pb.js +90 -0
  2692. package/dist/proto/leaflow/fleet/machine/v1/machine_pb.d.ts +448 -0
  2693. package/dist/proto/leaflow/fleet/machine/v1/machine_pb.js +157 -0
  2694. package/dist/proto/leaflow/fleet/mcp/v1/mcp_pb.d.ts +891 -0
  2695. package/dist/proto/leaflow/fleet/mcp/v1/mcp_pb.js +303 -0
  2696. package/dist/proto/leaflow/fleet/portforward/v1/portforward_pb.d.ts +688 -0
  2697. package/dist/proto/leaflow/fleet/portforward/v1/portforward_pb.js +209 -0
  2698. package/dist/proto/leaflow/fleet/printing/v1/printing_pb.d.ts +741 -0
  2699. package/dist/proto/leaflow/fleet/printing/v1/printing_pb.js +260 -0
  2700. package/dist/proto/leaflow/fleet/privilege/v1/privilege_pb.d.ts +584 -0
  2701. package/dist/proto/leaflow/fleet/privilege/v1/privilege_pb.js +168 -0
  2702. package/dist/proto/leaflow/fleet/rpc/v1/rpc_pb.d.ts +234 -0
  2703. package/dist/proto/leaflow/fleet/rpc/v1/rpc_pb.js +70 -0
  2704. package/dist/proto/leaflow/fleet/session/v1/session_pb.d.ts +419 -0
  2705. package/dist/proto/leaflow/fleet/session/v1/session_pb.js +130 -0
  2706. package/dist/proto/leaflow/fleet/sshagent/v1/sshagent_pb.d.ts +164 -0
  2707. package/dist/proto/leaflow/fleet/sshagent/v1/sshagent_pb.js +64 -0
  2708. package/dist/proto/leaflow/fleet/terminal/v1/terminal_pb.d.ts +339 -0
  2709. package/dist/proto/leaflow/fleet/terminal/v1/terminal_pb.js +59 -0
  2710. package/dist/proto/leaflow/fleet/tool/v1/tool_pb.d.ts +683 -0
  2711. package/dist/proto/leaflow/fleet/tool/v1/tool_pb.js +205 -0
  2712. package/dist/proto/leaflow/fleet/transport/v1/transport_pb.d.ts +1055 -0
  2713. package/dist/proto/leaflow/fleet/transport/v1/transport_pb.js +251 -0
  2714. package/dist/proto/leaflow/fleet/virtualdesktop/accessibility/v1/accessibility_pb.d.ts +1298 -0
  2715. package/dist/proto/leaflow/fleet/virtualdesktop/accessibility/v1/accessibility_pb.js +437 -0
  2716. package/dist/proto/leaflow/fleet/virtualdesktop/application/v1/application_pb.d.ts +1034 -0
  2717. package/dist/proto/leaflow/fleet/virtualdesktop/application/v1/application_pb.js +220 -0
  2718. package/dist/proto/leaflow/fleet/virtualdesktop/capture/v1/capture_pb.d.ts +251 -0
  2719. package/dist/proto/leaflow/fleet/virtualdesktop/capture/v1/capture_pb.js +63 -0
  2720. package/dist/proto/leaflow/fleet/virtualdesktop/change/v1/change_pb.d.ts +965 -0
  2721. package/dist/proto/leaflow/fleet/virtualdesktop/change/v1/change_pb.js +239 -0
  2722. package/dist/proto/leaflow/fleet/virtualdesktop/cursor/v1/cursor_pb.d.ts +201 -0
  2723. package/dist/proto/leaflow/fleet/virtualdesktop/cursor/v1/cursor_pb.js +34 -0
  2724. package/dist/proto/leaflow/fleet/virtualdesktop/datatransfer/v1/datatransfer_pb.d.ts +1554 -0
  2725. package/dist/proto/leaflow/fleet/virtualdesktop/datatransfer/v1/datatransfer_pb.js +256 -0
  2726. package/dist/proto/leaflow/fleet/virtualdesktop/display/v1/display_pb.d.ts +423 -0
  2727. package/dist/proto/leaflow/fleet/virtualdesktop/display/v1/display_pb.js +99 -0
  2728. package/dist/proto/leaflow/fleet/virtualdesktop/draw/v1/draw_pb.d.ts +587 -0
  2729. package/dist/proto/leaflow/fleet/virtualdesktop/draw/v1/draw_pb.js +139 -0
  2730. package/dist/proto/leaflow/fleet/virtualdesktop/host/v1/host_pb.d.ts +63 -0
  2731. package/dist/proto/leaflow/fleet/virtualdesktop/host/v1/host_pb.js +19 -0
  2732. package/dist/proto/leaflow/fleet/virtualdesktop/input/v1/input_pb.d.ts +1676 -0
  2733. package/dist/proto/leaflow/fleet/virtualdesktop/input/v1/input_pb.js +499 -0
  2734. package/dist/proto/leaflow/fleet/virtualdesktop/lease/v1/lease_pb.d.ts +93 -0
  2735. package/dist/proto/leaflow/fleet/virtualdesktop/lease/v1/lease_pb.js +24 -0
  2736. package/dist/proto/leaflow/fleet/virtualdesktop/notification/v1/notification_pb.d.ts +414 -0
  2737. package/dist/proto/leaflow/fleet/virtualdesktop/notification/v1/notification_pb.js +137 -0
  2738. package/dist/proto/leaflow/fleet/virtualdesktop/tray/v1/tray_pb.d.ts +928 -0
  2739. package/dist/proto/leaflow/fleet/virtualdesktop/tray/v1/tray_pb.js +413 -0
  2740. package/dist/proto/leaflow/fleet/virtualdesktop/window/v1/window_pb.d.ts +1756 -0
  2741. package/dist/proto/leaflow/fleet/virtualdesktop/window/v1/window_pb.js +786 -0
  2742. package/dist/routes.d.ts +4977 -0
  2743. package/dist/routes.js +5598 -0
  2744. package/dist/support/v1/generated/functions.d.ts +410 -0
  2745. package/dist/support/v1/generated/functions.js +409 -0
  2746. package/dist/support/v1/generated/models.d.ts +502 -0
  2747. package/dist/support/v1/generated/models.js +27 -0
  2748. package/dist/support/v1/generated/schemas.zod.d.ts +259 -0
  2749. package/dist/support/v1/generated/schemas.zod.js +308 -0
  2750. package/dist/support/v1/generated/validators/createTicketMessageRequestBody.zod.d.ts +59 -0
  2751. package/dist/support/v1/generated/validators/createTicketMessageRequestBody.zod.js +61 -0
  2752. package/dist/support/v1/generated/validators/createTicketRequestBody.zod.d.ts +68 -0
  2753. package/dist/support/v1/generated/validators/createTicketRequestBody.zod.js +70 -0
  2754. package/dist/support/v1/generated/validators/createTicketSatisfactionRequestBody.zod.d.ts +59 -0
  2755. package/dist/support/v1/generated/validators/createTicketSatisfactionRequestBody.zod.js +57 -0
  2756. package/dist/support/v1/generated/validators/cursorPagination.zod.d.ts +57 -0
  2757. package/dist/support/v1/generated/validators/cursorPagination.zod.js +57 -0
  2758. package/dist/support/v1/generated/validators/downloadAttachmentParams.zod.d.ts +56 -0
  2759. package/dist/support/v1/generated/validators/downloadAttachmentParams.zod.js +54 -0
  2760. package/dist/support/v1/generated/validators/error.zod.d.ts +68 -0
  2761. package/dist/support/v1/generated/validators/error.zod.js +57 -0
  2762. package/dist/support/v1/generated/validators/errorStatus.zod.d.ts +66 -0
  2763. package/dist/support/v1/generated/validators/errorStatus.zod.js +81 -0
  2764. package/dist/support/v1/generated/validators/fieldViolation.zod.d.ts +57 -0
  2765. package/dist/support/v1/generated/validators/fieldViolation.zod.js +60 -0
  2766. package/dist/support/v1/generated/validators/lengthAwarePageMaintenanceResource.zod.d.ts +80 -0
  2767. package/dist/support/v1/generated/validators/lengthAwarePageMaintenanceResource.zod.js +58 -0
  2768. package/dist/support/v1/generated/validators/lengthAwarePageMaintenanceTimelineEntryResource.zod.d.ts +75 -0
  2769. package/dist/support/v1/generated/validators/lengthAwarePageMaintenanceTimelineEntryResource.zod.js +58 -0
  2770. package/dist/support/v1/generated/validators/lengthAwarePageTicketCategoryResource.zod.d.ts +63 -0
  2771. package/dist/support/v1/generated/validators/lengthAwarePageTicketCategoryResource.zod.js +58 -0
  2772. package/dist/support/v1/generated/validators/lengthAwarePageTicketMessageResource.zod.d.ts +75 -0
  2773. package/dist/support/v1/generated/validators/lengthAwarePageTicketMessageResource.zod.js +58 -0
  2774. package/dist/support/v1/generated/validators/lengthAwarePageTicketResource.zod.d.ts +90 -0
  2775. package/dist/support/v1/generated/validators/lengthAwarePageTicketResource.zod.js +58 -0
  2776. package/dist/support/v1/generated/validators/listMaintenanceTimelineParams.zod.d.ts +62 -0
  2777. package/dist/support/v1/generated/validators/listMaintenanceTimelineParams.zod.js +68 -0
  2778. package/dist/support/v1/generated/validators/listMaintenancesParams.zod.d.ts +70 -0
  2779. package/dist/support/v1/generated/validators/listMaintenancesParams.zod.js +72 -0
  2780. package/dist/support/v1/generated/validators/listTicketCategoriesParams.zod.d.ts +62 -0
  2781. package/dist/support/v1/generated/validators/listTicketCategoriesParams.zod.js +68 -0
  2782. package/dist/support/v1/generated/validators/listTicketMessagesParams.zod.d.ts +62 -0
  2783. package/dist/support/v1/generated/validators/listTicketMessagesParams.zod.js +68 -0
  2784. package/dist/support/v1/generated/validators/listTicketsParams.zod.d.ts +76 -0
  2785. package/dist/support/v1/generated/validators/listTicketsParams.zod.js +71 -0
  2786. package/dist/support/v1/generated/validators/maintenanceImpact.zod.d.ts +59 -0
  2787. package/dist/support/v1/generated/validators/maintenanceImpact.zod.js +54 -0
  2788. package/dist/support/v1/generated/validators/maintenanceResource.zod.d.ts +75 -0
  2789. package/dist/support/v1/generated/validators/maintenanceResource.zod.js +75 -0
  2790. package/dist/support/v1/generated/validators/maintenanceStatus.zod.d.ts +59 -0
  2791. package/dist/support/v1/generated/validators/maintenanceStatus.zod.js +54 -0
  2792. package/dist/support/v1/generated/validators/maintenanceTimelineEntryResource.zod.d.ts +70 -0
  2793. package/dist/support/v1/generated/validators/maintenanceTimelineEntryResource.zod.js +66 -0
  2794. package/dist/support/v1/generated/validators/noticeMaintenanceResource.zod.d.ts +74 -0
  2795. package/dist/support/v1/generated/validators/noticeMaintenanceResource.zod.js +64 -0
  2796. package/dist/support/v1/generated/validators/noticeResource.zod.d.ts +76 -0
  2797. package/dist/support/v1/generated/validators/noticeResource.zod.js +57 -0
  2798. package/dist/support/v1/generated/validators/offsetPagination.zod.d.ts +59 -0
  2799. package/dist/support/v1/generated/validators/offsetPagination.zod.js +59 -0
  2800. package/dist/support/v1/generated/validators/ticketAttachmentResource.zod.d.ts +60 -0
  2801. package/dist/support/v1/generated/validators/ticketAttachmentResource.zod.js +62 -0
  2802. package/dist/support/v1/generated/validators/ticketAuthorType.zod.d.ts +57 -0
  2803. package/dist/support/v1/generated/validators/ticketAuthorType.zod.js +54 -0
  2804. package/dist/support/v1/generated/validators/ticketCategoryResource.zod.d.ts +58 -0
  2805. package/dist/support/v1/generated/validators/ticketCategoryResource.zod.js +58 -0
  2806. package/dist/support/v1/generated/validators/ticketMessageResource.zod.d.ts +70 -0
  2807. package/dist/support/v1/generated/validators/ticketMessageResource.zod.js +65 -0
  2808. package/dist/support/v1/generated/validators/ticketPriority.zod.d.ts +59 -0
  2809. package/dist/support/v1/generated/validators/ticketPriority.zod.js +54 -0
  2810. package/dist/support/v1/generated/validators/ticketResource.zod.d.ts +85 -0
  2811. package/dist/support/v1/generated/validators/ticketResource.zod.js +84 -0
  2812. package/dist/support/v1/generated/validators/ticketSatisfactionResource.zod.d.ts +60 -0
  2813. package/dist/support/v1/generated/validators/ticketSatisfactionResource.zod.js +60 -0
  2814. package/dist/support/v1/generated/validators/ticketStatus.zod.d.ts +58 -0
  2815. package/dist/support/v1/generated/validators/ticketStatus.zod.js +54 -0
  2816. package/dist/support/v1/generated/validators/uploadAttachmentParams.zod.d.ts +57 -0
  2817. package/dist/support/v1/generated/validators/uploadAttachmentParams.zod.js +55 -0
  2818. package/dist/support/v1/index.d.ts +3 -60
  2819. package/dist/support/v1/index.js +3 -5
  2820. package/dist/swas/v1/generated/functions.d.ts +418 -0
  2821. package/dist/swas/v1/generated/functions.js +250 -0
  2822. package/dist/swas/v1/generated/models.d.ts +468 -0
  2823. package/dist/swas/v1/generated/models.js +95 -0
  2824. package/dist/swas/v1/generated/schemas.zod.d.ts +115 -0
  2825. package/dist/swas/v1/generated/schemas.zod.js +125 -0
  2826. package/dist/swas/v1/generated/validators/catalog.zod.d.ts +39 -0
  2827. package/dist/swas/v1/generated/validators/catalog.zod.js +16 -0
  2828. package/dist/swas/v1/generated/validators/createPurchaseHeaders.zod.d.ts +14 -0
  2829. package/dist/swas/v1/generated/validators/createPurchaseHeaders.zod.js +12 -0
  2830. package/dist/swas/v1/generated/validators/cursorPagination.zod.d.ts +14 -0
  2831. package/dist/swas/v1/generated/validators/cursorPagination.zod.js +14 -0
  2832. package/dist/swas/v1/generated/validators/customerRefundProgress.zod.d.ts +16 -0
  2833. package/dist/swas/v1/generated/validators/customerRefundProgress.zod.js +14 -0
  2834. package/dist/swas/v1/generated/validators/decimalAmount.zod.d.ts +12 -0
  2835. package/dist/swas/v1/generated/validators/decimalAmount.zod.js +11 -0
  2836. package/dist/swas/v1/generated/validators/error.zod.d.ts +25 -0
  2837. package/dist/swas/v1/generated/validators/error.zod.js +14 -0
  2838. package/dist/swas/v1/generated/validators/errorStatus.zod.d.ts +23 -0
  2839. package/dist/swas/v1/generated/validators/errorStatus.zod.js +38 -0
  2840. package/dist/swas/v1/generated/validators/fieldViolation.zod.d.ts +14 -0
  2841. package/dist/swas/v1/generated/validators/fieldViolation.zod.js +17 -0
  2842. package/dist/swas/v1/generated/validators/instance.zod.d.ts +58 -0
  2843. package/dist/swas/v1/generated/validators/instance.zod.js +47 -0
  2844. package/dist/swas/v1/generated/validators/instanceCapabilities.zod.d.ts +16 -0
  2845. package/dist/swas/v1/generated/validators/instanceCapabilities.zod.js +14 -0
  2846. package/dist/swas/v1/generated/validators/instanceList.zod.d.ts +62 -0
  2847. package/dist/swas/v1/generated/validators/instanceList.zod.js +15 -0
  2848. package/dist/swas/v1/generated/validators/instancePagination.zod.d.ts +15 -0
  2849. package/dist/swas/v1/generated/validators/instancePagination.zod.js +10 -0
  2850. package/dist/swas/v1/generated/validators/instancePrice.zod.d.ts +16 -0
  2851. package/dist/swas/v1/generated/validators/instancePrice.zod.js +26 -0
  2852. package/dist/swas/v1/generated/validators/listInstancesParams.zod.d.ts +20 -0
  2853. package/dist/swas/v1/generated/validators/listInstancesParams.zod.js +22 -0
  2854. package/dist/swas/v1/generated/validators/listPlansParams.zod.d.ts +16 -0
  2855. package/dist/swas/v1/generated/validators/listPlansParams.zod.js +14 -0
  2856. package/dist/swas/v1/generated/validators/managementOperation.zod.d.ts +36 -0
  2857. package/dist/swas/v1/generated/validators/managementOperation.zod.js +21 -0
  2858. package/dist/swas/v1/generated/validators/money.zod.d.ts +11 -0
  2859. package/dist/swas/v1/generated/validators/money.zod.js +11 -0
  2860. package/dist/swas/v1/generated/validators/offsetPagination.zod.d.ts +16 -0
  2861. package/dist/swas/v1/generated/validators/offsetPagination.zod.js +16 -0
  2862. package/dist/swas/v1/generated/validators/plan.zod.d.ts +38 -0
  2863. package/dist/swas/v1/generated/validators/plan.zod.js +33 -0
  2864. package/dist/swas/v1/generated/validators/price.zod.d.ts +20 -0
  2865. package/dist/swas/v1/generated/validators/price.zod.js +33 -0
  2866. package/dist/swas/v1/generated/validators/priceOption.zod.d.ts +20 -0
  2867. package/dist/swas/v1/generated/validators/priceOption.zod.js +32 -0
  2868. package/dist/swas/v1/generated/validators/purchase.zod.d.ts +34 -0
  2869. package/dist/swas/v1/generated/validators/purchase.zod.js +34 -0
  2870. package/dist/swas/v1/generated/validators/purchaseCreate.zod.d.ts +23 -0
  2871. package/dist/swas/v1/generated/validators/purchaseCreate.zod.js +24 -0
  2872. package/dist/swas/v1/generated/validators/rebootCycle.zod.d.ts +14 -0
  2873. package/dist/swas/v1/generated/validators/rebootCycle.zod.js +17 -0
  2874. package/dist/swas/v1/generated/validators/rebootInstance.zod.d.ts +11 -0
  2875. package/dist/swas/v1/generated/validators/rebootInstance.zod.js +9 -0
  2876. package/dist/swas/v1/generated/validators/rebootInstanceHeaders.zod.d.ts +14 -0
  2877. package/dist/swas/v1/generated/validators/rebootInstanceHeaders.zod.js +12 -0
  2878. package/dist/swas/v1/generated/validators/refundProgress.zod.d.ts +33 -0
  2879. package/dist/swas/v1/generated/validators/refundProgress.zod.js +27 -0
  2880. package/dist/swas/v1/generated/validators/startInstance.zod.d.ts +11 -0
  2881. package/dist/swas/v1/generated/validators/startInstance.zod.js +9 -0
  2882. package/dist/swas/v1/generated/validators/startInstanceHeaders.zod.d.ts +14 -0
  2883. package/dist/swas/v1/generated/validators/startInstanceHeaders.zod.js +12 -0
  2884. package/dist/swas/v1/generated/validators/stopInstance.zod.d.ts +11 -0
  2885. package/dist/swas/v1/generated/validators/stopInstance.zod.js +9 -0
  2886. package/dist/swas/v1/generated/validators/stopInstanceHeaders.zod.d.ts +14 -0
  2887. package/dist/swas/v1/generated/validators/stopInstanceHeaders.zod.js +12 -0
  2888. package/dist/swas/v1/generated/validators/supplierRefundProgress.zod.d.ts +14 -0
  2889. package/dist/swas/v1/generated/validators/supplierRefundProgress.zod.js +12 -0
  2890. package/dist/swas/v1/index.d.ts +4 -0
  2891. package/dist/swas/v1/index.js +4 -0
  2892. package/dist/swas/v1/response-schemas.d.ts +19 -0
  2893. package/dist/swas/v1/response-schemas.js +20 -0
  2894. package/dist/swas-legacy/v1/generated/functions.d.ts +652 -0
  2895. package/dist/swas-legacy/v1/generated/functions.js +438 -0
  2896. package/dist/swas-legacy/v1/generated/models.d.ts +0 -0
  2897. package/dist/swas-legacy/v1/generated/models.js +98 -0
  2898. package/dist/swas-legacy/v1/generated/schemas.zod.d.ts +257 -0
  2899. package/dist/swas-legacy/v1/generated/schemas.zod.js +288 -0
  2900. package/dist/swas-legacy/v1/generated/validators/capabilities.zod.d.ts +16 -0
  2901. package/dist/swas-legacy/v1/generated/validators/capabilities.zod.js +14 -0
  2902. package/dist/swas-legacy/v1/generated/validators/console.zod.d.ts +16 -0
  2903. package/dist/swas-legacy/v1/generated/validators/console.zod.js +16 -0
  2904. package/dist/swas-legacy/v1/generated/validators/createInstanceConsoleHeaders.zod.d.ts +15 -0
  2905. package/dist/swas-legacy/v1/generated/validators/createInstanceConsoleHeaders.zod.js +17 -0
  2906. package/dist/swas-legacy/v1/generated/validators/createInstanceFirewallRuleHeaders.zod.d.ts +15 -0
  2907. package/dist/swas-legacy/v1/generated/validators/createInstanceFirewallRuleHeaders.zod.js +17 -0
  2908. package/dist/swas-legacy/v1/generated/validators/decimal.zod.d.ts +12 -0
  2909. package/dist/swas-legacy/v1/generated/validators/decimal.zod.js +10 -0
  2910. package/dist/swas-legacy/v1/generated/validators/deleteInstanceFirewallRuleHeaders.zod.d.ts +15 -0
  2911. package/dist/swas-legacy/v1/generated/validators/deleteInstanceFirewallRuleHeaders.zod.js +17 -0
  2912. package/dist/swas-legacy/v1/generated/validators/error.zod.d.ts +21 -0
  2913. package/dist/swas-legacy/v1/generated/validators/error.zod.js +19 -0
  2914. package/dist/swas-legacy/v1/generated/validators/firewallRule.zod.d.ts +24 -0
  2915. package/dist/swas-legacy/v1/generated/validators/firewallRule.zod.js +17 -0
  2916. package/dist/swas-legacy/v1/generated/validators/firewallRuleList.zod.d.ts +29 -0
  2917. package/dist/swas-legacy/v1/generated/validators/firewallRuleList.zod.js +14 -0
  2918. package/dist/swas-legacy/v1/generated/validators/firewallWriteRequest.zod.d.ts +28 -0
  2919. package/dist/swas-legacy/v1/generated/validators/firewallWriteRequest.zod.js +0 -0
  2920. package/dist/swas-legacy/v1/generated/validators/generationRequest.zod.d.ts +13 -0
  2921. package/dist/swas-legacy/v1/generated/validators/generationRequest.zod.js +11 -0
  2922. package/dist/swas-legacy/v1/generated/validators/image.zod.d.ts +20 -0
  2923. package/dist/swas-legacy/v1/generated/validators/image.zod.js +18 -0
  2924. package/dist/swas-legacy/v1/generated/validators/imageList.zod.d.ts +24 -0
  2925. package/dist/swas-legacy/v1/generated/validators/imageList.zod.js +14 -0
  2926. package/dist/swas-legacy/v1/generated/validators/instance.zod.d.ts +82 -0
  2927. package/dist/swas-legacy/v1/generated/validators/instance.zod.js +33 -0
  2928. package/dist/swas-legacy/v1/generated/validators/instanceList.zod.d.ts +88 -0
  2929. package/dist/swas-legacy/v1/generated/validators/instanceList.zod.js +14 -0
  2930. package/dist/swas-legacy/v1/generated/validators/lastOperation.zod.d.ts +33 -0
  2931. package/dist/swas-legacy/v1/generated/validators/lastOperation.zod.js +31 -0
  2932. package/dist/swas-legacy/v1/generated/validators/listInstanceFirewallRulesParams.zod.d.ts +18 -0
  2933. package/dist/swas-legacy/v1/generated/validators/listInstanceFirewallRulesParams.zod.js +24 -0
  2934. package/dist/swas-legacy/v1/generated/validators/listInstanceMetricsParams.zod.d.ts +19 -0
  2935. package/dist/swas-legacy/v1/generated/validators/listInstanceMetricsParams.zod.js +12 -0
  2936. package/dist/swas-legacy/v1/generated/validators/listInstanceOperationsParams.zod.d.ts +18 -0
  2937. package/dist/swas-legacy/v1/generated/validators/listInstanceOperationsParams.zod.js +24 -0
  2938. package/dist/swas-legacy/v1/generated/validators/listInstanceReinstallImagesParams.zod.d.ts +18 -0
  2939. package/dist/swas-legacy/v1/generated/validators/listInstanceReinstallImagesParams.zod.js +24 -0
  2940. package/dist/swas-legacy/v1/generated/validators/listInstancesParams.zod.d.ts +18 -0
  2941. package/dist/swas-legacy/v1/generated/validators/listInstancesParams.zod.js +20 -0
  2942. package/dist/swas-legacy/v1/generated/validators/metricPoint.zod.d.ts +14 -0
  2943. package/dist/swas-legacy/v1/generated/validators/metricPoint.zod.js +13 -0
  2944. package/dist/swas-legacy/v1/generated/validators/metricSeries.zod.d.ts +30 -0
  2945. package/dist/swas-legacy/v1/generated/validators/metricSeries.zod.js +23 -0
  2946. package/dist/swas-legacy/v1/generated/validators/metrics.zod.d.ts +41 -0
  2947. package/dist/swas-legacy/v1/generated/validators/metrics.zod.js +19 -0
  2948. package/dist/swas-legacy/v1/generated/validators/operation.zod.d.ts +35 -0
  2949. package/dist/swas-legacy/v1/generated/validators/operation.zod.js +33 -0
  2950. package/dist/swas-legacy/v1/generated/validators/operationLogList.zod.d.ts +39 -0
  2951. package/dist/swas-legacy/v1/generated/validators/operationLogList.zod.js +16 -0
  2952. package/dist/swas-legacy/v1/generated/validators/pagination.zod.d.ts +18 -0
  2953. package/dist/swas-legacy/v1/generated/validators/pagination.zod.js +18 -0
  2954. package/dist/swas-legacy/v1/generated/validators/passwordRequest.zod.d.ts +17 -0
  2955. package/dist/swas-legacy/v1/generated/validators/passwordRequest.zod.js +0 -0
  2956. package/dist/swas-legacy/v1/generated/validators/rebootInstanceHeaders.zod.d.ts +15 -0
  2957. package/dist/swas-legacy/v1/generated/validators/rebootInstanceHeaders.zod.js +17 -0
  2958. package/dist/swas-legacy/v1/generated/validators/reinstallInstanceHeaders.zod.d.ts +15 -0
  2959. package/dist/swas-legacy/v1/generated/validators/reinstallInstanceHeaders.zod.js +17 -0
  2960. package/dist/swas-legacy/v1/generated/validators/reinstallRequest.zod.d.ts +17 -0
  2961. package/dist/swas-legacy/v1/generated/validators/reinstallRequest.zod.js +19 -0
  2962. package/dist/swas-legacy/v1/generated/validators/setInstancePasswordHeaders.zod.d.ts +15 -0
  2963. package/dist/swas-legacy/v1/generated/validators/setInstancePasswordHeaders.zod.js +17 -0
  2964. package/dist/swas-legacy/v1/generated/validators/startInstanceHeaders.zod.d.ts +15 -0
  2965. package/dist/swas-legacy/v1/generated/validators/startInstanceHeaders.zod.js +17 -0
  2966. package/dist/swas-legacy/v1/generated/validators/stopInstanceHeaders.zod.d.ts +15 -0
  2967. package/dist/swas-legacy/v1/generated/validators/stopInstanceHeaders.zod.js +17 -0
  2968. package/dist/swas-legacy/v1/generated/validators/traffic.zod.d.ts +22 -0
  2969. package/dist/swas-legacy/v1/generated/validators/traffic.zod.js +20 -0
  2970. package/dist/swas-legacy/v1/generated/validators/updateInstanceFirewallRuleHeaders.zod.d.ts +15 -0
  2971. package/dist/swas-legacy/v1/generated/validators/updateInstanceFirewallRuleHeaders.zod.js +17 -0
  2972. package/dist/swas-legacy/v1/index.d.ts +3 -0
  2973. package/dist/swas-legacy/v1/index.js +3 -0
  2974. package/dist/type/checkout/v1/generated/functions.d.ts +8 -0
  2975. package/dist/type/checkout/v1/generated/functions.js +8 -0
  2976. package/dist/type/checkout/v1/generated/models.d.ts +48 -0
  2977. package/dist/type/checkout/v1/generated/models.js +4 -0
  2978. package/dist/type/checkout/v1/generated/schemas.zod.d.ts +8 -0
  2979. package/dist/type/checkout/v1/generated/schemas.zod.js +8 -0
  2980. package/dist/type/checkout/v1/generated/validators/checkoutMode.zod.d.ts +14 -0
  2981. package/dist/type/checkout/v1/generated/validators/checkoutMode.zod.js +11 -0
  2982. package/dist/type/checkout/v1/generated/validators/checkoutOptions.zod.d.ts +19 -0
  2983. package/dist/type/checkout/v1/generated/validators/checkoutOptions.zod.js +20 -0
  2984. package/dist/type/checkout/v1/generated/validators/money.zod.d.ts +11 -0
  2985. package/dist/type/checkout/v1/generated/validators/money.zod.js +11 -0
  2986. package/dist/type/checkout/v1/index.d.ts +3 -0
  2987. package/dist/type/checkout/v1/index.js +3 -0
  2988. package/dist/type/error/v1/generated/functions.d.ts +9 -0
  2989. package/dist/type/error/v1/generated/functions.js +9 -0
  2990. package/dist/type/error/v1/generated/models.d.ts +67 -0
  2991. package/dist/type/error/v1/generated/models.js +1 -0
  2992. package/dist/type/error/v1/generated/schemas.zod.d.ts +9 -0
  2993. package/dist/type/error/v1/generated/schemas.zod.js +9 -0
  2994. package/dist/type/error/v1/generated/validators/error.zod.d.ts +26 -0
  2995. package/dist/type/error/v1/generated/validators/error.zod.js +15 -0
  2996. package/dist/type/error/v1/generated/validators/errorStatus.zod.d.ts +24 -0
  2997. package/dist/type/error/v1/generated/validators/errorStatus.zod.js +39 -0
  2998. package/dist/type/error/v1/generated/validators/fieldViolation.zod.d.ts +15 -0
  2999. package/dist/type/error/v1/generated/validators/fieldViolation.zod.js +18 -0
  3000. package/dist/type/error/v1/index.d.ts +3 -0
  3001. package/dist/type/error/v1/index.js +3 -0
  3002. package/dist/type/identity/v1/generated/functions.d.ts +8 -0
  3003. package/dist/type/identity/v1/generated/functions.js +8 -0
  3004. package/dist/type/identity/v1/generated/models.d.ts +22 -0
  3005. package/dist/type/identity/v1/generated/models.js +1 -0
  3006. package/dist/type/identity/v1/generated/schemas.zod.d.ts +8 -0
  3007. package/dist/type/identity/v1/generated/schemas.zod.js +8 -0
  3008. package/dist/type/identity/v1/generated/validators/namedIdentity.zod.d.ts +15 -0
  3009. package/dist/type/identity/v1/generated/validators/namedIdentity.zod.js +15 -0
  3010. package/dist/type/identity/v1/index.d.ts +3 -0
  3011. package/dist/type/identity/v1/index.js +3 -0
  3012. package/dist/type/index.d.ts +9 -0
  3013. package/dist/type/index.js +9 -0
  3014. package/dist/type/money/v1/generated/functions.d.ts +8 -0
  3015. package/dist/type/money/v1/generated/functions.js +8 -0
  3016. package/dist/type/money/v1/generated/models.d.ts +19 -0
  3017. package/dist/type/money/v1/generated/models.js +1 -0
  3018. package/dist/type/money/v1/generated/schemas.zod.d.ts +8 -0
  3019. package/dist/type/money/v1/generated/schemas.zod.js +8 -0
  3020. package/dist/type/money/v1/generated/validators/money.zod.d.ts +11 -0
  3021. package/dist/type/money/v1/generated/validators/money.zod.js +11 -0
  3022. package/dist/type/money/v1/index.d.ts +3 -0
  3023. package/dist/type/money/v1/index.js +3 -0
  3024. package/dist/type/order/v1/generated/functions.d.ts +8 -0
  3025. package/dist/type/order/v1/generated/functions.js +8 -0
  3026. package/dist/type/order/v1/generated/models.d.ts +19 -0
  3027. package/dist/type/order/v1/generated/models.js +1 -0
  3028. package/dist/type/order/v1/generated/schemas.zod.d.ts +8 -0
  3029. package/dist/type/order/v1/generated/schemas.zod.js +8 -0
  3030. package/dist/type/order/v1/generated/validators/placedOrder.zod.d.ts +14 -0
  3031. package/dist/type/order/v1/generated/validators/placedOrder.zod.js +19 -0
  3032. package/dist/type/order/v1/index.d.ts +3 -0
  3033. package/dist/type/order/v1/index.js +3 -0
  3034. package/dist/type/pagination/v1/generated/functions.d.ts +10 -0
  3035. package/dist/type/pagination/v1/generated/functions.js +10 -0
  3036. package/dist/type/pagination/v1/generated/models.d.ts +62 -0
  3037. package/dist/type/pagination/v1/generated/models.js +1 -0
  3038. package/dist/type/pagination/v1/generated/schemas.zod.d.ts +10 -0
  3039. package/dist/type/pagination/v1/generated/schemas.zod.js +10 -0
  3040. package/dist/type/pagination/v1/generated/validators/cursorPagination.zod.d.ts +16 -0
  3041. package/dist/type/pagination/v1/generated/validators/cursorPagination.zod.js +16 -0
  3042. package/dist/type/pagination/v1/generated/validators/offsetPagination.zod.d.ts +18 -0
  3043. package/dist/type/pagination/v1/generated/validators/offsetPagination.zod.js +18 -0
  3044. package/dist/type/pagination/v1/index.d.ts +3 -0
  3045. package/dist/type/pagination/v1/index.js +3 -0
  3046. package/dist/type/quote/v1/generated/functions.d.ts +8 -0
  3047. package/dist/type/quote/v1/generated/functions.js +8 -0
  3048. package/dist/type/quote/v1/generated/models.d.ts +98 -0
  3049. package/dist/type/quote/v1/generated/models.js +1 -0
  3050. package/dist/type/quote/v1/generated/schemas.zod.d.ts +8 -0
  3051. package/dist/type/quote/v1/generated/schemas.zod.js +8 -0
  3052. package/dist/type/quote/v1/generated/validators/money.zod.d.ts +11 -0
  3053. package/dist/type/quote/v1/generated/validators/money.zod.js +11 -0
  3054. package/dist/type/quote/v1/generated/validators/quote.zod.d.ts +32 -0
  3055. package/dist/type/quote/v1/generated/validators/quote.zod.js +32 -0
  3056. package/dist/type/quote/v1/generated/validators/quoteItem.zod.d.ts +22 -0
  3057. package/dist/type/quote/v1/generated/validators/quoteItem.zod.js +27 -0
  3058. package/dist/type/quote/v1/index.d.ts +3 -0
  3059. package/dist/type/quote/v1/index.js +3 -0
  3060. package/dist/type/resource/v1/generated/functions.d.ts +8 -0
  3061. package/dist/type/resource/v1/generated/functions.js +8 -0
  3062. package/dist/type/resource/v1/generated/models.d.ts +157 -0
  3063. package/dist/type/resource/v1/generated/models.js +25 -0
  3064. package/dist/type/resource/v1/generated/schemas.zod.d.ts +8 -0
  3065. package/dist/type/resource/v1/generated/schemas.zod.js +8 -0
  3066. package/dist/type/resource/v1/generated/validators/attachment.zod.d.ts +37 -0
  3067. package/dist/type/resource/v1/generated/validators/attachment.zod.js +21 -0
  3068. package/dist/type/resource/v1/generated/validators/attachmentList.zod.d.ts +44 -0
  3069. package/dist/type/resource/v1/generated/validators/attachmentList.zod.js +14 -0
  3070. package/dist/type/resource/v1/generated/validators/cursorPagination.zod.d.ts +14 -0
  3071. package/dist/type/resource/v1/generated/validators/cursorPagination.zod.js +14 -0
  3072. package/dist/type/resource/v1/generated/validators/idlePolicy.zod.d.ts +16 -0
  3073. package/dist/type/resource/v1/generated/validators/idlePolicy.zod.js +16 -0
  3074. package/dist/type/resource/v1/generated/validators/offsetPagination.zod.d.ts +16 -0
  3075. package/dist/type/resource/v1/generated/validators/offsetPagination.zod.js +16 -0
  3076. package/dist/type/resource/v1/generated/validators/reclamationState.zod.d.ts +33 -0
  3077. package/dist/type/resource/v1/generated/validators/reclamationState.zod.js +20 -0
  3078. package/dist/type/resource/v1/generated/validators/resourceDependency.zod.d.ts +26 -0
  3079. package/dist/type/resource/v1/generated/validators/resourceDependency.zod.js +20 -0
  3080. package/dist/type/resource/v1/generated/validators/resourceDependencyList.zod.d.ts +32 -0
  3081. package/dist/type/resource/v1/generated/validators/resourceDependencyList.zod.js +14 -0
  3082. package/dist/type/resource/v1/generated/validators/resourceReference.zod.d.ts +18 -0
  3083. package/dist/type/resource/v1/generated/validators/resourceReference.zod.js +22 -0
  3084. package/dist/type/resource/v1/generated/validators/resourceUsage.zod.d.ts +38 -0
  3085. package/dist/type/resource/v1/generated/validators/resourceUsage.zod.js +26 -0
  3086. package/dist/type/resource/v1/generated/validators/resourceUsageList.zod.d.ts +43 -0
  3087. package/dist/type/resource/v1/generated/validators/resourceUsageList.zod.js +14 -0
  3088. package/dist/type/resource/v1/index.d.ts +3 -0
  3089. package/dist/type/resource/v1/index.js +3 -0
  3090. package/dist/type/security/v1/generated/functions.d.ts +9 -0
  3091. package/dist/type/security/v1/generated/functions.js +9 -0
  3092. package/dist/type/security/v1/generated/models.d.ts +9 -0
  3093. package/dist/type/security/v1/generated/models.js +9 -0
  3094. package/dist/type/security/v1/generated/schemas.zod.d.ts +9 -0
  3095. package/dist/type/security/v1/generated/schemas.zod.js +9 -0
  3096. package/dist/type/security/v1/index.d.ts +3 -0
  3097. package/dist/type/security/v1/index.js +3 -0
  3098. package/package.json +25 -40
  3099. package/dist/account/v1/schema.d.ts +0 -941
  3100. package/dist/account/v1/schema.js +0 -5
  3101. package/dist/assistant/v1/schema.d.ts +0 -2475
  3102. package/dist/assistant/v1/schema.js +0 -5
  3103. package/dist/canopy/v1/schema.d.ts +0 -1100
  3104. package/dist/canopy/v1/schema.js +0 -5
  3105. package/dist/compute/v1/index.d.ts +0 -246
  3106. package/dist/compute/v1/index.js +0 -5
  3107. package/dist/compute/v1/schema.d.ts +0 -4854
  3108. package/dist/compute/v1/schema.js +0 -5
  3109. package/dist/dns/v1/schema.d.ts +0 -883
  3110. package/dist/dns/v1/schema.js +0 -5
  3111. package/dist/iam/v1/schema.d.ts +0 -1230
  3112. package/dist/iam/v1/schema.js +0 -5
  3113. package/dist/monitoring/v1/schema.d.ts +0 -4086
  3114. package/dist/monitoring/v1/schema.js +0 -5
  3115. package/dist/notification/v1/schema.d.ts +0 -1557
  3116. package/dist/notification/v1/schema.js +0 -5
  3117. package/dist/support/v1/schema.d.ts +0 -1335
  3118. package/dist/support/v1/schema.js +0 -5
  3119. package/dist/tunnel/v1/index.d.ts +0 -16
  3120. package/dist/tunnel/v1/index.js +0 -5
  3121. package/dist/tunnel/v1/schema.d.ts +0 -401
  3122. package/dist/tunnel/v1/schema.js +0 -5
@@ -0,0 +1,4673 @@
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 checkout previews 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, preview the checkout of 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
+ /**
47
+ * One subscription item to end, each at most once.
48
+ */
49
+ export interface CancellationItemInput {
50
+ subscription_item_id: string;
51
+ }
52
+ /**
53
+ * When subscriptions end. immediate ends them now and refunds the unused value under their refund terms; period_end
54
+ * ends them at the end of their paid period. The cancellation terms fixed when a subscription was bought decide which
55
+ * modes it allows: a pay-as-you-go subscription ends only immediately, and a prepaid one whose terms allow only the
56
+ * end of its paid period ends only then. Billing refuses a mode the terms do not allow with HTTP 422
57
+ * BILLING_CANCELLATION_MODE_FIXED.
58
+ */
59
+ export type CancellationMode = (typeof CancellationMode)[keyof typeof CancellationMode];
60
+ export declare const CancellationMode: {
61
+ readonly immediate: "immediate";
62
+ readonly period_end: "period_end";
63
+ };
64
+ /**
65
+ * What ending these items together would return, for one mode; preview `immediate` and `period_end` separately to compare. Refused with 409 `BILLING_SUBSCRIPTION_OPERATION_PENDING` when an item is already being canceled (`meta.cancellation_id`), its subscription is being reclaimed (`meta.reason` `reclaim_requested`) or the item has a paid change waiting to switch (`meta.order_id`).
66
+ */
67
+ export interface CancellationPreviewRequest {
68
+ /**
69
+ * A billing account you own that currently pays for every item.
70
+ * @minimum 1
71
+ */
72
+ billing_account_id: number;
73
+ /**
74
+ * The items to end together, all of one service, including every item released with a resource.
75
+ * @minItems 1
76
+ * @maxItems 50
77
+ */
78
+ items: CancellationItemInput[];
79
+ mode: CancellationMode;
80
+ }
81
+ /**
82
+ * A decimal string, in the currency stated alongside it.
83
+ *
84
+ * **The currency is not part of this type.** It is carried by a `currency` field next to the
85
+ * amount, or by the account the amount belongs to. Reading an amount without that field is
86
+ * reading a number with no unit.
87
+ *
88
+ * It is a string rather than a JSON number because a JSON number is a float in most parsers,
89
+ * and a float loses precision on the first arithmetic. Nothing on this platform puts an amount
90
+ * through a float.
91
+ */
92
+ export type Money = string;
93
+ /**
94
+ * Which object this is, together with what a person currently calls it.
95
+ *
96
+ * The name is for display. It is chosen by whoever owns the object, it changes, it is not unique
97
+ * between objects, and it may be empty when nobody has named it yet — so it must not be used to
98
+ * address, match or deduplicate anything. Addressing is by id.
99
+ *
100
+ * This differs from an identity carrying a lookup key: a lookup key is written once by an operator,
101
+ * is unique, and can be used to fetch the object. A name cannot.
102
+ */
103
+ export interface NamedIdentity {
104
+ id: string;
105
+ /** @maxLength 255 */
106
+ name: string;
107
+ }
108
+ /**
109
+ * `one_time` charges once when bought. `recurring` charges again for every period, or for usage as it is settled.
110
+ */
111
+ export type PriceType = (typeof PriceType)[keyof typeof PriceType];
112
+ export declare const PriceType: {
113
+ readonly one_time: "one_time";
114
+ readonly recurring: "recurring";
115
+ };
116
+ /**
117
+ * `licensed` charges for the quantity bought, each period paid before it starts. `metered` charges for the usage
118
+ * reported, after it is settled; a metered subscription lasts until it is canceled. A one-time price is licensed.
119
+ */
120
+ export type UsageType = (typeof UsageType)[keyof typeof UsageType];
121
+ export declare const UsageType: {
122
+ readonly licensed: "licensed";
123
+ readonly metered: "metered";
124
+ };
125
+ /**
126
+ * One subscription item of the previewed cancellation.
127
+ */
128
+ export interface CancellationPreviewItem {
129
+ subscription_item_id: string;
130
+ /** The subscription the item belongs to. */
131
+ subscription_id: string;
132
+ plan_id: string;
133
+ plan_name: string;
134
+ /** The project and its current name. Absent for an account-level purchase or when the project cannot be read. */
135
+ project?: NamedIdentity | null;
136
+ type: PriceType;
137
+ usage_type: UsageType;
138
+ /** Whether the item's subscription renews automatically now. Creating a cancellation of every continuing item of the subscription turns it off; withdrawing it turns it back on for a subscription with only metered items but not for one with licensed items. */
139
+ auto_renew: boolean;
140
+ unused_amount: Money;
141
+ short_rate_surcharge_amount: Money;
142
+ refundable_amount: Money;
143
+ refund_amount: Money;
144
+ credit_amount: Money;
145
+ tax_amount: Money;
146
+ forfeited_amount: Money;
147
+ }
148
+ /**
149
+ * What the cancellation would return, per item and in total, as of now. Give `proration_date` and
150
+ * `refundable_amount` when creating the cancellation.
151
+ *
152
+ * - `unused_amount`: before tax, the amount paid for the current periods in proportion to the time remaining.
153
+ * - `short_rate_surcharge_amount`: before tax, the part of `forfeited_amount` due to the short rate of the
154
+ * refund policy.
155
+ * - `refundable_amount`: what is returned the way it was paid, tax included; `refund_amount` plus
156
+ * `credit_amount`.
157
+ * - `refund_amount`: the part returned to the balance or the payment method.
158
+ * - `credit_amount`: the part restored to the credit grants that paid.
159
+ * - `tax_amount`: the tax included in `refundable_amount`.
160
+ * - `forfeited_amount`: before tax, the part of `unused_amount` the refund terms do not return.
161
+ *
162
+ * Metered and one-time items show zero; their usage until release is charged as usual.
163
+ */
164
+ export interface CancellationPreview {
165
+ mode: CancellationMode;
166
+ /** For `period_end`, when release begins, the end of the subscriptions' current terms. */
167
+ scheduled_at?: string;
168
+ /** For `immediate`, the second the refund is computed as of. Give it when creating the cancellation. */
169
+ proration_date?: string;
170
+ currency: string;
171
+ unused_amount: Money;
172
+ short_rate_surcharge_amount: Money;
173
+ refundable_amount: Money;
174
+ refund_amount: Money;
175
+ credit_amount: Money;
176
+ tax_amount: Money;
177
+ forfeited_amount: Money;
178
+ items: CancellationPreviewItem[];
179
+ }
180
+ export interface CancellationCreate {
181
+ /**
182
+ * As in the preview.
183
+ * @minItems 1
184
+ * @maxItems 50
185
+ */
186
+ items: CancellationItemInput[];
187
+ mode: CancellationMode;
188
+ /** 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. */
189
+ proration_date?: string;
190
+ /** The preview's `refundable_amount`; the cancellation is refused when the refund differs. */
191
+ expected_refundable_amount: Money & string;
192
+ /**
193
+ * A note from the account holder, kept with the cancellation.
194
+ * @maxLength 1024
195
+ */
196
+ reason?: string;
197
+ }
198
+ export type CancellationStatus = (typeof CancellationStatus)[keyof typeof CancellationStatus];
199
+ export declare const CancellationStatus: {
200
+ readonly requested: "requested";
201
+ readonly scheduled: "scheduled";
202
+ readonly releasing: "releasing";
203
+ readonly completed: "completed";
204
+ readonly canceled: "canceled";
205
+ readonly failed: "failed";
206
+ };
207
+ /**
208
+ * Who requested it; `project_deletion` means the project was deleted.
209
+ */
210
+ export type CancellationOrigin = (typeof CancellationOrigin)[keyof typeof CancellationOrigin];
211
+ export declare const CancellationOrigin: {
212
+ readonly customer: "customer";
213
+ readonly operator: "operator";
214
+ readonly project_deletion: "project_deletion";
215
+ };
216
+ export type CancellationItemStatus = (typeof CancellationItemStatus)[keyof typeof CancellationItemStatus];
217
+ export declare const CancellationItemStatus: {
218
+ readonly requested: "requested";
219
+ readonly scheduled: "scheduled";
220
+ readonly releasing: "releasing";
221
+ readonly completed: "completed";
222
+ readonly canceled: "canceled";
223
+ readonly failed: "failed";
224
+ };
225
+ /**
226
+ * One subscription item of the cancellation.
227
+ */
228
+ export interface CancellationItem {
229
+ /** The item's entry in the cancellation, the same as `SubscriptionItem.cancellation.id`. */
230
+ id: string;
231
+ subscription_item_id: string;
232
+ /** The subscription the item belongs to. */
233
+ subscription_id: string;
234
+ plan_id: string;
235
+ plan_name: string;
236
+ type: PriceType;
237
+ /**
238
+ * When the cancellation covers every continuing item of a subscription, creating it turned the
239
+ * subscription's automatic renewal off; withdrawing it turns renewal back on for a subscription with
240
+ * only `metered` items and leaves it off for one with `licensed` items.
241
+ */
242
+ usage_type: UsageType;
243
+ status: CancellationItemStatus;
244
+ /** The release stopped or its result is unknown; present while the release needs resolution. */
245
+ failure_code?: string;
246
+ release_started_at?: string;
247
+ /** When the service ended, as confirmed by the service that provides it. */
248
+ effective_at?: string;
249
+ /** Present with `completed`. The part of the refund returned to the account balance. */
250
+ balance_amount?: Money;
251
+ /** Present with `completed`. The part restored to the credit grants that paid. */
252
+ credit_amount?: Money;
253
+ /** Present with `completed`. The part returned to the payment method it was paid with. */
254
+ gateway_amount?: Money;
255
+ }
256
+ /**
257
+ * One cancellation of a set of subscription items of one service, released together at one time.
258
+ *
259
+ * - `requested`: `immediate`, release has not begun.
260
+ * - `scheduled`: `period_end`, waiting for `scheduled_at`.
261
+ * - `releasing`: release has begun; it can no longer be withdrawn.
262
+ * - `completed`: every item has ended and its refund has been made.
263
+ * - `canceled`: withdrawn before release began; the items continue.
264
+ * - `failed`: the service could not carry it out, for the reason in `failure_code`; the
265
+ * items continue and can be canceled again.
266
+ */
267
+ export interface Cancellation {
268
+ id: string;
269
+ status: CancellationStatus;
270
+ mode: CancellationMode;
271
+ scheduled_at?: string;
272
+ /** For `immediate`, the second the refund is computed as of. */
273
+ proration_date?: string;
274
+ /** Who requested it; `project_deletion` means the project was deleted. */
275
+ origin: CancellationOrigin;
276
+ /** The billing account paying for these items when the cancellation was created: the purchasing account of an account-level purchase, or the project's linked account. */
277
+ billing_account_id: number;
278
+ currency: string;
279
+ /** The refund confirmed when the cancellation was created. Absent when the platform created it. */
280
+ expected_refundable_amount?: Money;
281
+ /** Present with `failed`: the owning service's code, such as for a disk that can only be released with its server. */
282
+ failure_code?: string;
283
+ requested_at: string;
284
+ completed_at?: string;
285
+ canceled_at?: string;
286
+ items: CancellationItem[];
287
+ }
288
+ /**
289
+ * Pagination metadata for stable numbered pages. total_count is returned only when the operation can determine it without an unbounded scan.
290
+ */
291
+ export interface OffsetPagination {
292
+ /** @minimum 1 */
293
+ page: number;
294
+ /** @minimum 1 */
295
+ page_size: number;
296
+ /** @minimum 0 */
297
+ total_count?: number;
298
+ }
299
+ export interface CancellationList {
300
+ items: Cancellation[];
301
+ pagination: OffsetPagination;
302
+ }
303
+ export type SubscriptionItemCancellationStatus = (typeof SubscriptionItemCancellationStatus)[keyof typeof SubscriptionItemCancellationStatus];
304
+ export declare const SubscriptionItemCancellationStatus: {
305
+ readonly requested: "requested";
306
+ readonly scheduled: "scheduled";
307
+ readonly releasing: "releasing";
308
+ readonly failed: "failed";
309
+ readonly completed: "completed";
310
+ readonly canceled: "canceled";
311
+ };
312
+ /**
313
+ * The latest cancellation including the subscription item, with this item's entry: `id` is the entry and `cancellation_id` the cancellation. scheduled_at is the intended time and effective_at the confirmed end of service.
314
+ */
315
+ export interface SubscriptionItemCancellation {
316
+ reason?: string;
317
+ /** The cancellation this entry belongs to, with the other items released together. */
318
+ cancellation_id?: string;
319
+ id: string;
320
+ subscription_item_id: string;
321
+ status: SubscriptionItemCancellationStatus;
322
+ mode: CancellationMode;
323
+ requested_at: string;
324
+ scheduled_at?: string;
325
+ effective_at?: string;
326
+ completed_at?: string;
327
+ release_started_at?: string;
328
+ canceled_at?: string;
329
+ forfeit_remaining_value: boolean;
330
+ failure_code?: string;
331
+ failure_reason?: string;
332
+ }
333
+ export interface FieldViolation {
334
+ /** The path to the rejected field in the request body, such as `items[2].price_id`. */
335
+ field: string;
336
+ /** Why the field was rejected, such as `REQUIRED` or `OUT_OF_RANGE`. */
337
+ reason?: string;
338
+ }
339
+ /**
340
+ * Values that belong to `reason`, one set per reason. Clients use them to fill in
341
+ * localized text and never parse `message` to obtain them. Keys are documented per
342
+ * reason; a key that has appeared once keeps appearing.
343
+ */
344
+ export type ErrorStatusMetadata = {
345
+ [key: string]: string;
346
+ };
347
+ export interface ErrorStatus {
348
+ /** The HTTP status code of the response. */
349
+ code: number;
350
+ /** The canonical name of the status, such as `INVALID_ARGUMENT` or `UNAVAILABLE`. */
351
+ status: string;
352
+ /**
353
+ * A description of the failure for developers. It is always English and is not meant
354
+ * to be shown to end users as is.
355
+ */
356
+ message: string;
357
+ /**
358
+ * A stable machine-readable code identifying the failure. Clients branch on this value
359
+ * and render their own text; it does not change once published.
360
+ */
361
+ reason?: string;
362
+ /**
363
+ * Values that belong to `reason`, one set per reason. Clients use them to fill in
364
+ * localized text and never parse `message` to obtain them. Keys are documented per
365
+ * reason; a key that has appeared once keeps appearing.
366
+ */
367
+ metadata?: ErrorStatusMetadata;
368
+ /**
369
+ * Request fields rejected by the request's constraints. Present on validation
370
+ * failures; one request may violate several fields.
371
+ */
372
+ field_violations?: FieldViolation[];
373
+ /**
374
+ * How long the client should wait before retrying, as a duration string such as
375
+ * `30s`. Present only when waiting can succeed.
376
+ */
377
+ retry_delay?: string;
378
+ /**
379
+ * The identifier of the request in the service's logs. Quote it when reporting a
380
+ * failure.
381
+ */
382
+ request_id?: string;
383
+ }
384
+ /**
385
+ * A failed request. The envelope follows the Google REST error format: `code` is the HTTP
386
+ * status, `status` is its canonical name, and `reason` is the stable machine-readable code
387
+ * that identifies the failure.
388
+ */
389
+ export interface Error {
390
+ error: ErrorStatus;
391
+ }
392
+ /**
393
+ * The platform service's fixed identifier, such as compute, canopy or assistant.
394
+ * @minLength 1
395
+ * @maxLength 64
396
+ * @pattern ^[a-z][a-z0-9]*(-[a-z0-9]+)*$
397
+ */
398
+ export type ProductId = string;
399
+ export interface Product {
400
+ id: ProductId;
401
+ name: string;
402
+ description?: string;
403
+ }
404
+ /**
405
+ * 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.
406
+ */
407
+ export type BillingAccountSuspendedBy = (typeof BillingAccountSuspendedBy)[keyof typeof BillingAccountSuspendedBy];
408
+ export declare const BillingAccountSuspendedBy: {
409
+ readonly none: "none";
410
+ readonly owner: "owner";
411
+ readonly operator: "operator";
412
+ };
413
+ /**
414
+ * Whether the account is usable, suspended, or closed.
415
+ */
416
+ export type BillingAccountStatus = (typeof BillingAccountStatus)[keyof typeof BillingAccountStatus];
417
+ export declare const BillingAccountStatus: {
418
+ readonly active: "active";
419
+ readonly suspended: "suspended";
420
+ readonly closed: "closed";
421
+ };
422
+ export interface BillingAccount {
423
+ /**
424
+ * The active contact used for invoices, of this account; null clears it.
425
+ * @nullable
426
+ */
427
+ invoice_contact_id?: string | null;
428
+ id: number;
429
+ /** Your name for the account. */
430
+ name?: string;
431
+ /** Fixed when the account was opened. */
432
+ currency: string;
433
+ status: BillingAccountStatus;
434
+ /** 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. */
435
+ suspended_by: BillingAccountSuspendedBy;
436
+ /** How far past the suspension threshold the account may go before its resources are suspended; `0` means none. */
437
+ grace_amount?: string;
438
+ /** 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. */
439
+ grace_period_seconds?: number;
440
+ /**
441
+ * When the account was closed. Null if it is not closed or the time is unknown.
442
+ * @nullable
443
+ */
444
+ readonly closed_at?: string | null;
445
+ created_at: string;
446
+ }
447
+ /**
448
+ * A currency a billing account can be opened in.
449
+ */
450
+ export interface Currency {
451
+ /**
452
+ * ISO 4217 alpha-3, uppercase.
453
+ * @minLength 3
454
+ * @maxLength 3
455
+ */
456
+ code: string;
457
+ /**
458
+ * Decimal places of the ISO 4217 minor unit.
459
+ * @minimum 0
460
+ * @maximum 4
461
+ */
462
+ exponent: number;
463
+ /**
464
+ * @minLength 1
465
+ * @maxLength 64
466
+ */
467
+ name: string;
468
+ minimum_top_up: Money;
469
+ }
470
+ export interface CurrencyList {
471
+ items: Currency[];
472
+ pagination: OffsetPagination;
473
+ }
474
+ export interface BillingAccountCreate {
475
+ /**
476
+ * @minLength 3
477
+ * @maxLength 3
478
+ */
479
+ currency: string;
480
+ /** @maxLength 255 */
481
+ name?: string;
482
+ }
483
+ export interface BillingAccountUpdate {
484
+ /**
485
+ * The active contact used for invoices, of this account; null clears it.
486
+ * @nullable
487
+ */
488
+ invoice_contact_id?: string | null;
489
+ /** @maxLength 255 */
490
+ name?: string;
491
+ }
492
+ export interface BillingAccountList {
493
+ items: BillingAccount[];
494
+ pagination: OffsetPagination;
495
+ }
496
+ /**
497
+ * A plan referenced by an applicability; active is false once it is archived, and the reference still applies.
498
+ */
499
+ export interface ApplicablePlan {
500
+ id: string;
501
+ name: string;
502
+ active: boolean;
503
+ }
504
+ /**
505
+ * A catalog object, inlined for display.
506
+ */
507
+ export interface ObjectIdentity {
508
+ lookup_key?: string;
509
+ id: string;
510
+ name: string;
511
+ }
512
+ /**
513
+ * `per_unit` multiplies a unit amount; `tiered` walks a ladder.
514
+ */
515
+ export type BillingScheme = (typeof BillingScheme)[keyof typeof BillingScheme];
516
+ export declare const BillingScheme: {
517
+ readonly per_unit: "per_unit";
518
+ readonly tiered: "tiered";
519
+ };
520
+ export type PriceOptionInterval = (typeof PriceOptionInterval)[keyof typeof PriceOptionInterval];
521
+ export declare const PriceOptionInterval: {
522
+ readonly none: "none";
523
+ readonly day: "day";
524
+ readonly month: "month";
525
+ readonly year: "year";
526
+ };
527
+ /**
528
+ * A price's display terms, including archived prices referenced by an applicability.
529
+ */
530
+ export interface PriceOption {
531
+ product: Product;
532
+ plan: ObjectIdentity;
533
+ /** Absent when the price delegates to a rate card. */
534
+ billing_scheme?: BillingScheme;
535
+ unit_quantity: string;
536
+ id: string;
537
+ currency: string;
538
+ type: PriceType;
539
+ usage_type: UsageType;
540
+ interval: PriceOptionInterval;
541
+ /** How many periods one purchase covers. */
542
+ interval_count?: number;
543
+ unit_amount?: Money;
544
+ /** False once the price is archived. It still applies to purchases already made at this price. */
545
+ active: boolean;
546
+ }
547
+ /**
548
+ * 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.
549
+ */
550
+ export type PurchaseOperation = (typeof PurchaseOperation)[keyof typeof PurchaseOperation];
551
+ export declare const PurchaseOperation: {
552
+ readonly new: "new";
553
+ readonly renew: "renew";
554
+ readonly modify: "modify";
555
+ };
556
+ /**
557
+ * 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.
558
+ */
559
+ export interface Applicability {
560
+ products?: Product[];
561
+ plans?: ApplicablePlan[];
562
+ prices?: PriceOption[];
563
+ /** The price types covered; empty covers both. */
564
+ price_types?: PriceType[];
565
+ /** The usage types covered; empty covers both. */
566
+ usage_types?: UsageType[];
567
+ operations?: PurchaseOperation[];
568
+ /** The shortest term a purchase may have, in months. Purchases without a term, such as metered usage, do not qualify while this is set. */
569
+ min_term_months?: number;
570
+ /** The longest term a purchase may have, in months. */
571
+ max_term_months?: number;
572
+ excluded_products?: Product[];
573
+ excluded_plans?: ApplicablePlan[];
574
+ excluded_prices?: PriceOption[];
575
+ }
576
+ export interface CreditGroup {
577
+ /** What the credit in this group may pay for; no restrictions means anything on the account. */
578
+ applies_to: Applicability;
579
+ /** Restricted to your first purchase of anything it applies to. */
580
+ first_purchase_only?: boolean;
581
+ amount: Money;
582
+ }
583
+ /**
584
+ * Balance, credits and unpaid charges, each reported separately.
585
+ */
586
+ export interface AccountBalance {
587
+ /** 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. */
588
+ available_credit: Money;
589
+ /** 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. */
590
+ estimated_credit_applied: Money;
591
+ /** Current estimate of priced usage that has not been invoiced. Final pricing and tax are fixed at issuance. */
592
+ unbilled_amount: Money;
593
+ billing_account_id: number;
594
+ currency: string;
595
+ /** 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. */
596
+ balance: Money;
597
+ /** 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. */
598
+ credits: Money;
599
+ /** Currently valid credit restricted to certain products, operations or conditions; part of credits, not of balance. */
600
+ restricted_credits: Money;
601
+ /** 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. */
602
+ credit_groups: CreditGroup[];
603
+ /** 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. */
604
+ due: Money;
605
+ pending_returns_amount: Money;
606
+ }
607
+ /**
608
+ * `ARREARS`: the balance is negative. `PROJECTS_ASSIGNED`: the account still pays for a project, yours or anyone
609
+ * else's. `ACTIVE_SUBSCRIPTION`: a subscription it bought has not ended. `OPEN_ORDER`: an order is not finished.
610
+ * `UNPAID_INVOICE`: an issued invoice is not settled. `UNBILLED_USAGE`: usage has not been invoiced yet; it is
611
+ * invoiced in the next billing run. `PENDING_TRANSACTION`: a top-up, refund or withdrawal is still pending.
612
+ */
613
+ export type AccountDeletionObjection = (typeof AccountDeletionObjection)[keyof typeof AccountDeletionObjection];
614
+ export declare const AccountDeletionObjection: {
615
+ readonly ARREARS: "ARREARS";
616
+ readonly PROJECTS_ASSIGNED: "PROJECTS_ASSIGNED";
617
+ readonly ACTIVE_SUBSCRIPTION: "ACTIVE_SUBSCRIPTION";
618
+ readonly OPEN_ORDER: "OPEN_ORDER";
619
+ readonly UNPAID_INVOICE: "UNPAID_INVOICE";
620
+ readonly UNBILLED_USAGE: "UNBILLED_USAGE";
621
+ readonly PENDING_TRANSACTION: "PENDING_TRANSACTION";
622
+ };
623
+ export interface AccountDeletionReadinessItem {
624
+ account: BillingAccount;
625
+ /** Topped-up funds, in the account's currency, forfeited when it closes. Negative means arrears. */
626
+ balance: Money;
627
+ /** Remaining credit, in the account's currency, forfeited when it closes. */
628
+ credits: Money;
629
+ /** What stops this account from closing; empty when it can close. */
630
+ objections: AccountDeletionObjection[];
631
+ }
632
+ export interface AccountDeletionReadiness {
633
+ /** Every billing account you own that is not closed; empty when you own none. */
634
+ accounts: AccountDeletionReadinessItem[];
635
+ }
636
+ /**
637
+ * A project's assignment to a billing account from effective_from until effective_to; an open assignment has no end.
638
+ */
639
+ export interface ProjectAssignment {
640
+ project_id: string;
641
+ /** The project and its current name. Absent when the project cannot be read; `project_id` still identifies it. */
642
+ project?: NamedIdentity | null;
643
+ billing_account_id: number;
644
+ account_name?: string;
645
+ currency: string;
646
+ effective_from: string;
647
+ /** @nullable */
648
+ effective_to?: string | null;
649
+ }
650
+ export interface ProjectAssignmentList {
651
+ items: ProjectAssignment[];
652
+ pagination: OffsetPagination;
653
+ }
654
+ export interface SetProjectAssignmentRequest {
655
+ billing_account_id: number;
656
+ }
657
+ export interface AccountIdentity {
658
+ id: number;
659
+ name: string;
660
+ currency: string;
661
+ }
662
+ /**
663
+ * `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.
664
+ */
665
+ export type TopUpStatus = (typeof TopUpStatus)[keyof typeof TopUpStatus];
666
+ export declare const TopUpStatus: {
667
+ readonly pending: "pending";
668
+ readonly succeeded: "succeeded";
669
+ readonly failed: "failed";
670
+ readonly canceled: "canceled";
671
+ };
672
+ /**
673
+ * Why a gateway payment was withdrawn: `abandoned` when the customer did not complete it in time, `requested_by_customer` when the customer canceled it.
674
+ */
675
+ export type PaymentCancellationReason = (typeof PaymentCancellationReason)[keyof typeof PaymentCancellationReason];
676
+ export declare const PaymentCancellationReason: {
677
+ readonly abandoned: "abandoned";
678
+ readonly requested_by_customer: "requested_by_customer";
679
+ };
680
+ export type PaymentActionType = (typeof PaymentActionType)[keyof typeof PaymentActionType];
681
+ export declare const PaymentActionType: {
682
+ readonly redirect: "redirect";
683
+ readonly qr_code: "qr_code";
684
+ readonly sdk: "sdk";
685
+ };
686
+ /**
687
+ * The customer's next step; the payment outcome is reported separately.
688
+ */
689
+ export interface PaymentAction {
690
+ type: PaymentActionType;
691
+ /** The browser adapter for the action, for example stripe. */
692
+ provider?: string;
693
+ url?: string;
694
+ /** QR content to render, not an image URL. */
695
+ qr_code?: string;
696
+ /** Short-lived client credential for confirming this payment in the browser. */
697
+ client_secret?: string;
698
+ public_key?: string;
699
+ }
700
+ /**
701
+ * 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.
702
+ */
703
+ export interface TopUp {
704
+ id: string;
705
+ billing_account_id: number;
706
+ account: AccountIdentity;
707
+ /** What is credited to the account, in its currency. */
708
+ amount: Money;
709
+ currency: string;
710
+ /** 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. */
711
+ remaining_amount?: Money;
712
+ status: TopUpStatus;
713
+ cancellation_reason?: PaymentCancellationReason;
714
+ /** Which payment gateway collected it. */
715
+ payment_gateway?: string;
716
+ /** The selected payment method, such as card, wechat_pay or alipay. */
717
+ method_type?: string;
718
+ /** The currency the customer was charged in when the checkout collected a local currency; absent when it is the account's. */
719
+ presentment_currency?: string;
720
+ /** The amount charged in `presentment_currency`, as shown on the customer's statement. */
721
+ presentment_amount?: Money;
722
+ /** 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. */
723
+ failure_reason?: string;
724
+ action?: PaymentAction;
725
+ created_at: string;
726
+ /**
727
+ * When the funds arrived, possibly days after `created_at`. Absent until the payment completes.
728
+ * @nullable
729
+ */
730
+ settled_at?: string | null;
731
+ }
732
+ export interface TopUpCreate {
733
+ /**
734
+ * The gateway selected from the available payment options.
735
+ * @minLength 1
736
+ * @maxLength 32
737
+ */
738
+ payment_gateway: string;
739
+ /**
740
+ * The selected method, such as card, wechat_pay or alipay.
741
+ * @minLength 1
742
+ * @maxLength 64
743
+ */
744
+ method_type: string;
745
+ /** The top-up ID, chosen by the caller. Read it after an uncertain response. */
746
+ id: string;
747
+ billing_account_id: number;
748
+ /** 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. */
749
+ amount: Money & string;
750
+ /** Charge a saved payment method instead of opening a checkout page. */
751
+ payment_method_id?: string;
752
+ /** Where to send the customer after checkout. */
753
+ return_url?: string;
754
+ }
755
+ export interface TopUpList {
756
+ items: TopUp[];
757
+ pagination: OffsetPagination;
758
+ }
759
+ export interface PaymentOptionMethod {
760
+ /** The value to send as `method_type`, such as card, wechat_pay or alipay. */
761
+ method_type: string;
762
+ /** Whether this method type can be saved with create-payment-method-setup and charged later without the customer. */
763
+ reusable: boolean;
764
+ }
765
+ /**
766
+ * A gateway accepting the account's currency, with its payment methods.
767
+ */
768
+ export interface PaymentOption {
769
+ /** The value to send as `payment_gateway`. */
770
+ payment_gateway: string;
771
+ methods: PaymentOptionMethod[];
772
+ }
773
+ export interface PaymentOptionList {
774
+ items: PaymentOption[];
775
+ pagination: OffsetPagination;
776
+ }
777
+ export type PaymentMethodStatus = (typeof PaymentMethodStatus)[keyof typeof PaymentMethodStatus];
778
+ export declare const PaymentMethodStatus: {
779
+ readonly active: "active";
780
+ readonly expired: "expired";
781
+ readonly removed: "removed";
782
+ };
783
+ export interface PaymentMethod {
784
+ id: string;
785
+ billing_account_id: number;
786
+ payment_gateway: string;
787
+ brand?: string;
788
+ last4?: string;
789
+ /** @nullable */
790
+ exp_month?: number | null;
791
+ /** @nullable */
792
+ exp_year?: number | null;
793
+ is_default: boolean;
794
+ status: PaymentMethodStatus;
795
+ }
796
+ export interface PaymentMethodList {
797
+ items: PaymentMethod[];
798
+ pagination: OffsetPagination;
799
+ }
800
+ export interface PaymentMethodSetup {
801
+ /**
802
+ * The selected gateway supporting saved payment methods.
803
+ * @minLength 1
804
+ * @maxLength 32
805
+ */
806
+ payment_gateway: string;
807
+ billing_account_id: number;
808
+ }
809
+ /**
810
+ * 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.
811
+ */
812
+ export interface PaymentMethodSetupResult {
813
+ /** The gateway's identifier for this attempt. */
814
+ setup_id: string;
815
+ payment_gateway: string;
816
+ action: PaymentAction;
817
+ }
818
+ /**
819
+ * Applies eligible credit grants and the available balance as requested, then collects only the remainder
820
+ * through the selected gateway. Grants restricted to other purchases are not counted as available funds.
821
+ * An unresolved channel payment is reused; retries do not apply the grant or balance portions twice.
822
+ * Without a gateway selection, insufficient account funds fail without starting an online payment.
823
+ *
824
+ * `payment_gateway` and `method_type` are given together, and `payment_method_id` only with both;
825
+ * otherwise the request is refused with `BILLING_PURCHASE_INVALID`.
826
+ */
827
+ export interface PayInvoiceRequest {
828
+ /**
829
+ * Required to collect an online remainder. An existing attempt keeps its gateway.
830
+ * @minLength 1
831
+ * @maxLength 32
832
+ */
833
+ payment_gateway?: string;
834
+ /**
835
+ * Required with payment_gateway; for example card, wechat_pay or alipay.
836
+ * @minLength 1
837
+ * @maxLength 64
838
+ */
839
+ method_type?: string;
840
+ /** A saved card of this billing account at the selected gateway. Omit to pay interactively. */
841
+ payment_method_id?: string;
842
+ /** Whether to apply the balance; credit grants are controlled by use_credits. */
843
+ use_balance?: boolean;
844
+ /** Apply eligible, unexpired credit grants before the balance. Grants are never converted into balance. */
845
+ use_credits?: boolean;
846
+ return_url?: string;
847
+ }
848
+ /**
849
+ * Name at least one invoice or order. All must belong to one account in its currency.
850
+ */
851
+ export interface PayTogetherRequest {
852
+ /** @maxItems 100 */
853
+ invoice_ids?: string[];
854
+ /** @maxItems 100 */
855
+ order_ids?: string[];
856
+ /** 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. */
857
+ expected_amount?: Money & string;
858
+ }
859
+ /**
860
+ * `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.
861
+ */
862
+ export type PaymentStatus = (typeof PaymentStatus)[keyof typeof PaymentStatus];
863
+ export declare const PaymentStatus: {
864
+ readonly succeeded: "succeeded";
865
+ readonly processing: "processing";
866
+ readonly requires_action: "requires_action";
867
+ readonly failed: "failed";
868
+ };
869
+ /**
870
+ * A credit grant and what it would pay.
871
+ */
872
+ export interface AppliedCredit {
873
+ credit_grant_id: string;
874
+ name: string;
875
+ amount: Money;
876
+ }
877
+ export interface PaymentPreviewInvoice {
878
+ invoice_id: string;
879
+ /** @nullable */
880
+ order_id?: string | null;
881
+ amount_due: Money;
882
+ credit_applied: Money;
883
+ balance_applied: Money;
884
+ }
885
+ /**
886
+ * Account funding for this purchase, calculated by Billing. Amounts use the enclosing response currency.
887
+ * Credit eligibility and all purchase requirements are already evaluated. Nothing is charged or reserved.
888
+ * A licensed purchase may instead be paid with an online payment method.
889
+ */
890
+ export interface Funds {
891
+ /** Spendable balance after pending returns. */
892
+ available_balance_amount: Money;
893
+ /** Currently effective credits eligible for the purchases being checked out or metered usage. Each grant is counted once. */
894
+ usable_credit_amount: Money;
895
+ /** Currently effective credits that cannot fund any purchase being checked out or metered target. Unused eligible credits are not restricted. */
896
+ restricted_credit_amount: Money;
897
+ /** Minimum spendable balance needed after eligible credits, covering immediate charges and every new metered purchase's admission requirement. */
898
+ required_balance_amount: Money;
899
+ /** Additional balance needed now. Zero means account funds satisfy this purchase. No funds are reserved. */
900
+ balance_shortfall_amount: Money;
901
+ /** Minimum recharge that covers the shortfall, respecting the currency minimum recharge and currency precision. Zero when no additional balance is needed. */
902
+ required_top_up_amount: Money;
903
+ }
904
+ /**
905
+ * What paying would take, calculated as paying does. Nothing is charged or reserved.
906
+ */
907
+ export interface PaymentPreview {
908
+ funds?: Funds;
909
+ currency: string;
910
+ /** What is outstanding before paying. */
911
+ amount_due: Money;
912
+ /** What credit grants would pay. Grants restricted to other purchases pay nothing here. */
913
+ credit_applied: Money;
914
+ /** The credit grants that would pay, in the order used. */
915
+ credit_grants: AppliedCredit[];
916
+ /** What the balance would pay. */
917
+ balance_applied: Money;
918
+ /** What would remain to pay online. Paying without a gateway is refused with `BILLING_INSUFFICIENT_FUNDS` while this is above zero. */
919
+ gateway_amount: Money;
920
+ /** The available balance after paying. */
921
+ balance_after: Money;
922
+ /** Paying together only: each invoice, in payment order. */
923
+ invoices?: PaymentPreviewInvoice[];
924
+ }
925
+ /**
926
+ * 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.
927
+ */
928
+ export type TransactionRefundDestination = (typeof TransactionRefundDestination)[keyof typeof TransactionRefundDestination];
929
+ export declare const TransactionRefundDestination: {
930
+ readonly balance: "balance";
931
+ readonly credit: "credit";
932
+ readonly gateway: "gateway";
933
+ };
934
+ /**
935
+ * `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.
936
+ */
937
+ export type TransactionStatus = (typeof TransactionStatus)[keyof typeof TransactionStatus];
938
+ export declare const TransactionStatus: {
939
+ readonly pending: "pending";
940
+ readonly succeeded: "succeeded";
941
+ readonly failed: "failed";
942
+ readonly canceled: "canceled";
943
+ };
944
+ /**
945
+ * topup adds to the balance; payment settles an invoice; refund returns original funds; adjustment changes the balance with an audit reason.
946
+ */
947
+ export type TransactionType = (typeof TransactionType)[keyof typeof TransactionType];
948
+ export declare const TransactionType: {
949
+ readonly topup: "topup";
950
+ readonly payment: "payment";
951
+ readonly refund: "refund";
952
+ readonly adjustment: "adjustment";
953
+ readonly fee: "fee";
954
+ };
955
+ /**
956
+ * A funds movement with one source. Refunds name the original transaction. Unknown gateway results stay pending.
957
+ */
958
+ export interface Transaction {
959
+ invoice_id?: string;
960
+ transaction_id?: string;
961
+ /** The credit grant that paid, or for a refund, the credit grant restored. */
962
+ credit_grant_id?: string;
963
+ credit_grant?: ObjectIdentity;
964
+ refund_id?: string;
965
+ /** 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. */
966
+ refund_destination?: TransactionRefundDestination;
967
+ status?: TransactionStatus;
968
+ cancellation_reason?: PaymentCancellationReason;
969
+ payment_gateway?: string;
970
+ method_type?: string;
971
+ /** 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. */
972
+ failure_reason?: string;
973
+ settled_at?: string;
974
+ id: string;
975
+ billing_account_id?: number;
976
+ type: TransactionType;
977
+ /** 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. */
978
+ amount: Money;
979
+ /** 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. */
980
+ remaining_amount: Money;
981
+ currency: string;
982
+ reason?: string;
983
+ created_at: string;
984
+ }
985
+ export interface PaymentResult {
986
+ transactions: Transaction[];
987
+ /** The gateway transaction, when one is involved. */
988
+ transaction_id?: string;
989
+ status: PaymentStatus;
990
+ amount_paid: Money;
991
+ /** What is still outstanding: zero once the payment succeeds, unchanged while `processing`. */
992
+ amount_due: Money;
993
+ currency: string;
994
+ credit_applied?: Money;
995
+ gateway_amount?: Money;
996
+ payment_gateway?: string;
997
+ method_type?: string;
998
+ /** The amount already paid from balance toward this invoice; retrying the online remainder does not debit it again. */
999
+ balance_applied?: Money;
1000
+ action?: PaymentAction;
1001
+ /** Whether paying again can succeed. False for a refusal that will repeat, such as a closed account or an amount over a limit. */
1002
+ retriable?: boolean;
1003
+ /** @nullable */
1004
+ invoice_id?: string | null;
1005
+ /** @nullable */
1006
+ order_id?: string | null;
1007
+ /** 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. */
1008
+ failure_reason?: string;
1009
+ }
1010
+ /**
1011
+ * `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.
1012
+ */
1013
+ export type InvoiceStatus = (typeof InvoiceStatus)[keyof typeof InvoiceStatus];
1014
+ export declare const InvoiceStatus: {
1015
+ readonly open: "open";
1016
+ readonly paid: "paid";
1017
+ readonly void: "void";
1018
+ };
1019
+ /**
1020
+ * How tax applied to the customer when the invoice was issued; `reverse` means no tax was charged under the reverse-charge mechanism.
1021
+ */
1022
+ export type InvoiceCustomerTaxExempt = (typeof InvoiceCustomerTaxExempt)[keyof typeof InvoiceCustomerTaxExempt];
1023
+ export declare const InvoiceCustomerTaxExempt: {
1024
+ readonly none: "none";
1025
+ readonly exempt: "exempt";
1026
+ readonly reverse: "reverse";
1027
+ };
1028
+ /**
1029
+ * Tax name, rate and amounts frozen on the invoice.
1030
+ */
1031
+ export interface TaxItem {
1032
+ id: string;
1033
+ invoice_id: string;
1034
+ name: string;
1035
+ percentage: string;
1036
+ country: string;
1037
+ state?: string;
1038
+ taxable_amount: string;
1039
+ tax_amount: string;
1040
+ currency: string;
1041
+ }
1042
+ export interface Invoice {
1043
+ /** Collection has stopped; accepted return obligations are completed. */
1044
+ void_requested_at?: string;
1045
+ due_at?: string;
1046
+ amount_refunded?: string;
1047
+ tax_items: TaxItem[];
1048
+ id: string;
1049
+ billing_account_id: number;
1050
+ /** Numbered per account and per month. */
1051
+ number: string;
1052
+ currency: string;
1053
+ status: InvoiceStatus;
1054
+ /**
1055
+ * Sum of the line amounts before discounts. Where prices include tax, the tax contained in
1056
+ * each line's discounted amount is taken out here, so that total = subtotal -
1057
+ * discount_amount + tax_amount always holds.
1058
+ */
1059
+ subtotal?: Money;
1060
+ /** Sum of the line discounts, taken off before tax. */
1061
+ discount_amount?: Money;
1062
+ tax_amount?: Money;
1063
+ /** Successful credit-grant payments, included in amount_paid; they do not reduce the receivable or tax base. */
1064
+ credit_applied?: Money;
1065
+ /** Subtotal less discount plus tax. Balance and credit grants pay it plus rounding_amount; they do not reduce it. */
1066
+ total: Money;
1067
+ /** 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. */
1068
+ rounding_amount: Money;
1069
+ amount_paid?: Money;
1070
+ /** Issued credit notes that reduced unpaid receivables; the original invoice total is unchanged. */
1071
+ pre_payment_credit_notes_amount: Money;
1072
+ /** Issued credit notes against payments already received; their refunds may not have completed. */
1073
+ post_payment_credit_notes_amount: Money;
1074
+ /** 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. */
1075
+ amount_due: Money;
1076
+ /** @nullable */
1077
+ period_start?: string | null;
1078
+ /**
1079
+ * Exclusive.
1080
+ * @nullable
1081
+ */
1082
+ period_end?: string | null;
1083
+ /** The billing details recorded when the invoice was issued. */
1084
+ customer_name?: string;
1085
+ customer_email?: string;
1086
+ customer_tax_id?: string;
1087
+ /** How tax applied to the customer when the invoice was issued; `reverse` means no tax was charged under the reverse-charge mechanism. */
1088
+ customer_tax_exempt?: InvoiceCustomerTaxExempt;
1089
+ customer_address_line1?: string;
1090
+ customer_address_line2?: string;
1091
+ customer_address_city?: string;
1092
+ customer_address_state?: string;
1093
+ customer_address_postal_code?: string;
1094
+ customer_address_country?: string;
1095
+ /** @nullable */
1096
+ paid_at?: string | null;
1097
+ }
1098
+ export interface InvoiceList {
1099
+ items: Invoice[];
1100
+ pagination: OffsetPagination;
1101
+ }
1102
+ /**
1103
+ * For a usage line, the values of its meter's presentation dimensions, such as the model and token kind. Empty for other lines.
1104
+ */
1105
+ export type InvoiceItemDimensions = {
1106
+ [key: string]: string;
1107
+ };
1108
+ /**
1109
+ * The value of one paid period moved to the new configuration of a subscription item.
1110
+ */
1111
+ export interface InvoiceItemProration {
1112
+ /** The earlier invoice line that paid for the period. */
1113
+ credited_invoice_item_id: string;
1114
+ /** The earlier invoice line's wording as recorded. */
1115
+ description: string;
1116
+ period_start: string;
1117
+ /** Exclusive. */
1118
+ period_end: string;
1119
+ /** Before tax and discounts, the new configuration for the period. */
1120
+ remaining_amount: Money;
1121
+ /** Before tax, the unused value of the earlier line for the period, credited against `remaining_amount`. */
1122
+ credited_amount: Money;
1123
+ }
1124
+ export interface InvoiceItem {
1125
+ taxable?: boolean;
1126
+ /** Discount applied to this line before tax. */
1127
+ discount_amount?: string;
1128
+ /**
1129
+ * The account discount applied to this line.
1130
+ * @nullable
1131
+ */
1132
+ discount_id?: string | null;
1133
+ /**
1134
+ * The coupon applied to this line.
1135
+ * @nullable
1136
+ */
1137
+ coupon_id?: string | null;
1138
+ /** Tax on the discounted line, including tax already included in the price. */
1139
+ tax_amount?: string;
1140
+ /** The part of tax_amount already included in amount. */
1141
+ tax_included_amount?: string;
1142
+ id: string;
1143
+ /** @nullable */
1144
+ project_id?: string | null;
1145
+ /** 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. */
1146
+ project?: NamedIdentity | null;
1147
+ resource_id?: string;
1148
+ /** The line's wording as recorded when the invoice was issued. */
1149
+ description: string;
1150
+ unit?: string;
1151
+ quantity?: string;
1152
+ /** The part covered by an included allowance, and therefore not charged. */
1153
+ deducted_quantity?: string;
1154
+ unit_amount?: Money;
1155
+ /** The quantity `unit_amount` prices, such as 1000000 tokens or 3600 seconds: `amount` is `quantity` × `unit_amount` ÷ `unit_quantity`. Present together with `unit_amount`. */
1156
+ unit_quantity?: string;
1157
+ amount: Money;
1158
+ /** 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. */
1159
+ rounding_amount: Money;
1160
+ /** Usage charges billed on this line; zero for other lines. */
1161
+ usage_charge_count: number;
1162
+ currency: string;
1163
+ /** @nullable */
1164
+ period_start?: string | null;
1165
+ /** @nullable */
1166
+ period_end?: string | null;
1167
+ /** For a usage line, the values of its meter's presentation dimensions, such as the model and token kind. Empty for other lines. */
1168
+ dimensions?: InvoiceItemDimensions;
1169
+ /**
1170
+ * Present on a line that changes a subscription item immediately, one entry for each paid period it
1171
+ * covers. `amount` is the sum of `remaining_amount` minus `credited_amount` over the entries.
1172
+ */
1173
+ prorations?: InvoiceItemProration[];
1174
+ }
1175
+ export interface InvoiceItemList {
1176
+ items: InvoiceItem[];
1177
+ pagination: OffsetPagination;
1178
+ }
1179
+ export interface TransactionList {
1180
+ items: Transaction[];
1181
+ pagination: OffsetPagination;
1182
+ }
1183
+ export type CreditGrantStatus = (typeof CreditGrantStatus)[keyof typeof CreditGrantStatus];
1184
+ export declare const CreditGrantStatus: {
1185
+ readonly active: "active";
1186
+ readonly depleted: "depleted";
1187
+ readonly expired: "expired";
1188
+ readonly voided: "voided";
1189
+ };
1190
+ export interface CreditGrant {
1191
+ min_amount?: string;
1192
+ id: string;
1193
+ billing_account_id?: number;
1194
+ name: string;
1195
+ amount: Money;
1196
+ remaining_amount: Money;
1197
+ currency: string;
1198
+ /** What this credit may pay for. No restrictions means anything on the account. */
1199
+ applies_to: Applicability;
1200
+ /** Restricted to your first purchase of anything it applies to. */
1201
+ first_purchase_only?: boolean;
1202
+ status: CreditGrantStatus;
1203
+ valid_from: string;
1204
+ /** @nullable */
1205
+ valid_until?: string | null;
1206
+ }
1207
+ export interface CreditGrantList {
1208
+ items: CreditGrant[];
1209
+ pagination: OffsetPagination;
1210
+ }
1211
+ /**
1212
+ * 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.
1213
+ */
1214
+ export type CreditNoteReason = (typeof CreditNoteReason)[keyof typeof CreditNoteReason];
1215
+ export declare const CreditNoteReason: {
1216
+ readonly provisioning_failed: "provisioning_failed";
1217
+ readonly order_expired: "order_expired";
1218
+ readonly order_canceled: "order_canceled";
1219
+ readonly change_canceled: "change_canceled";
1220
+ readonly change_expired: "change_expired";
1221
+ readonly subscription_canceled: "subscription_canceled";
1222
+ readonly usage_true_up: "usage_true_up";
1223
+ readonly operator: "operator";
1224
+ };
1225
+ export type CreditNoteStatus = (typeof CreditNoteStatus)[keyof typeof CreditNoteStatus];
1226
+ export declare const CreditNoteStatus: {
1227
+ readonly issued: "issued";
1228
+ readonly void: "void";
1229
+ };
1230
+ /**
1231
+ * 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.
1232
+ */
1233
+ export interface CreditNote {
1234
+ id: string;
1235
+ invoice_id: string;
1236
+ currency: string;
1237
+ issued_at: string;
1238
+ status: CreditNoteStatus;
1239
+ /**
1240
+ * When this note was voided; null while issued.
1241
+ * @nullable
1242
+ */
1243
+ voided_at: string | null;
1244
+ /** The reduction of unpaid receivables. A void note no longer reduces what is due. */
1245
+ pre_payment_amount: Money;
1246
+ /** The credited part of payments already received; its refund may not have completed. */
1247
+ post_payment_amount: Money;
1248
+ /**
1249
+ * The refund to the original payment sources; null when no paid amount was credited.
1250
+ * @nullable
1251
+ */
1252
+ refund_id: string | null;
1253
+ /** 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. */
1254
+ reason: CreditNoteReason;
1255
+ }
1256
+ export interface CreditNoteItem {
1257
+ id: string;
1258
+ credit_note_id: string;
1259
+ invoice_item_id: string;
1260
+ pre_payment_amount: Money;
1261
+ post_payment_amount: Money;
1262
+ }
1263
+ export interface CreditNoteList {
1264
+ items: CreditNote[];
1265
+ pagination: OffsetPagination;
1266
+ }
1267
+ export interface CreditNoteItemList {
1268
+ items: CreditNoteItem[];
1269
+ pagination: OffsetPagination;
1270
+ }
1271
+ /**
1272
+ * Use balance_amount, credit_amount and gateway_amount, which also show a refund split between destinations.
1273
+ * @deprecated
1274
+ */
1275
+ export type RefundDestination = (typeof RefundDestination)[keyof typeof RefundDestination];
1276
+ export declare const RefundDestination: {
1277
+ readonly balance: "balance";
1278
+ readonly gateway: "gateway";
1279
+ };
1280
+ /**
1281
+ * Summary of the parts in `transactions`.
1282
+ *
1283
+ * - `pending`: nothing has been returned yet, and at least one part is in progress.
1284
+ * - `processing`: some parts have been returned, and at least one is still in progress.
1285
+ * - `succeeded`: every part has been returned.
1286
+ * - `failed`: no part is in progress and at least one has failed. What was returned is in
1287
+ * settled_amount.
1288
+ *
1289
+ * Returns to the balance and to credit grants complete shortly after the refund is made; a
1290
+ * return to a payment method completes when the gateway confirms it.
1291
+ */
1292
+ export type RefundStatus = (typeof RefundStatus)[keyof typeof RefundStatus];
1293
+ export declare const RefundStatus: {
1294
+ readonly pending: "pending";
1295
+ readonly processing: "processing";
1296
+ readonly succeeded: "succeeded";
1297
+ readonly failed: "failed";
1298
+ };
1299
+ /**
1300
+ * Why the refund was made. New codes may be added; treat an unknown code as unspecified.
1301
+ *
1302
+ * - `provisioning_failed`: the purchase could not be delivered.
1303
+ * - `order_expired`: the order expired after part of it was paid.
1304
+ * - `order_canceled`: the order was canceled after part of it was paid.
1305
+ * - `change_canceled`: a scheduled change was withdrawn after part of it was paid.
1306
+ * - `change_expired`: a scheduled change could not take effect in time.
1307
+ * - `subscription_canceled`: the unused value of a canceled subscription item, under its refund terms.
1308
+ * - `future_period_canceled`: a renewal that had not started was withdrawn.
1309
+ * - `downgrade_difference`: after a downgrade, the remaining paid value, valued under each paid period's refund
1310
+ * policy and as `prorated` where that policy is `none`, minus the new configuration's value for the remaining
1311
+ * time: each whole month at the change item's `monthly_list_amount` and the remainder in proportion to the
1312
+ * length of the month it falls in, or without `monthly_list_amount`, the new period price in proportion to the
1313
+ * remaining time.
1314
+ * - `usage_true_up`: usage priced over the whole month cost less than was charged.
1315
+ * - `payment_not_applied`: a payment arrived after its invoice could no longer be paid.
1316
+ * - `operator`: made by the platform operator.
1317
+ */
1318
+ export type RefundReason = (typeof RefundReason)[keyof typeof RefundReason];
1319
+ export declare const RefundReason: {
1320
+ readonly provisioning_failed: "provisioning_failed";
1321
+ readonly order_expired: "order_expired";
1322
+ readonly order_canceled: "order_canceled";
1323
+ readonly change_canceled: "change_canceled";
1324
+ readonly change_expired: "change_expired";
1325
+ readonly subscription_canceled: "subscription_canceled";
1326
+ readonly future_period_canceled: "future_period_canceled";
1327
+ readonly downgrade_difference: "downgrade_difference";
1328
+ readonly usage_true_up: "usage_true_up";
1329
+ readonly payment_not_applied: "payment_not_applied";
1330
+ readonly operator: "operator";
1331
+ };
1332
+ export interface Refund {
1333
+ transaction_id?: string;
1334
+ cancellation_item_id?: string;
1335
+ /** The refund split by original payment source, with each result. Unknown gateway results stay pending. */
1336
+ transactions: Transaction[];
1337
+ id: string;
1338
+ billing_account_id?: number;
1339
+ /** @nullable */
1340
+ invoice_id?: string | null;
1341
+ /**
1342
+ * 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.
1343
+ * @nullable
1344
+ */
1345
+ order_id?: string | null;
1346
+ /** The whole refund. Equals balance_amount plus credit_amount plus gateway_amount. */
1347
+ amount: Money;
1348
+ /** The part returned to the account balance. */
1349
+ balance_amount: Money;
1350
+ /** The part restored to the credit grants that paid for it. */
1351
+ credit_amount: Money;
1352
+ /** The part returned to the payment method it was paid with. */
1353
+ gateway_amount: Money;
1354
+ /** What has actually been returned. */
1355
+ settled_amount?: Money;
1356
+ currency: string;
1357
+ /**
1358
+ * Use balance_amount, credit_amount and gateway_amount, which also show a refund split between destinations.
1359
+ * @deprecated
1360
+ */
1361
+ destination?: RefundDestination;
1362
+ status: RefundStatus;
1363
+ /** When the last part was returned. Present with `succeeded`. */
1364
+ settled_at?: string;
1365
+ reason: RefundReason;
1366
+ created_at: string;
1367
+ }
1368
+ export interface RefundList {
1369
+ items: Refund[];
1370
+ pagination: OffsetPagination;
1371
+ }
1372
+ /**
1373
+ * The dimension values the rate was matched by, such as region and machine type.
1374
+ */
1375
+ export type UsageChargeDimensions = {
1376
+ [key: string]: string;
1377
+ };
1378
+ export interface UsageCharge {
1379
+ /** The subscription item the usage belongs to. */
1380
+ subscription_item_id: string;
1381
+ /** The subscription the item belongs to. */
1382
+ subscription_id: string;
1383
+ id: string;
1384
+ project_id?: string;
1385
+ /** The project and its current name. Absent when the project cannot be read; `project_id` still identifies it. */
1386
+ project?: NamedIdentity | null;
1387
+ product: Product;
1388
+ /** Which resource this was charged for. Empty for charges not tied to one. */
1389
+ resource_id?: string;
1390
+ meter: ObjectIdentity;
1391
+ unit?: string;
1392
+ /** The dimension values the rate was matched by, such as region and machine type. */
1393
+ dimensions?: UsageChargeDimensions;
1394
+ window_start: string;
1395
+ /** Exclusive. */
1396
+ window_end: string;
1397
+ /** Quantity used before allowances. */
1398
+ gross_quantity?: string;
1399
+ /** How much of that was covered by an allowance. */
1400
+ deducted_quantity?: string;
1401
+ /** The quantity charged: gross quantity less the part covered by allowances. */
1402
+ quantity: string;
1403
+ unit_amount?: Money;
1404
+ /** The quantity `unit_amount` prices, such as 1000000 tokens or 3600 seconds: `amount` is `quantity` × `unit_amount` ÷ `unit_quantity`. */
1405
+ unit_quantity?: string;
1406
+ amount: Money;
1407
+ currency: string;
1408
+ /**
1409
+ * Present after the statement is closed and its invoice is issued.
1410
+ * @nullable
1411
+ */
1412
+ invoice_id?: string | null;
1413
+ /**
1414
+ * Present after the statement is closed and its invoice is issued.
1415
+ * @nullable
1416
+ */
1417
+ invoice_item_id?: string | null;
1418
+ /** The statement this charge was collected into. */
1419
+ statement_id?: string;
1420
+ }
1421
+ export interface UsageChargeList {
1422
+ items: UsageCharge[];
1423
+ pagination: OffsetPagination;
1424
+ }
1425
+ /**
1426
+ * `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. `trialing`: in a free trial, in service, with its licensed items not charged until `trial_end`; metered usage is charged as usual. `suspended`: service is stopped while a lien restricts its use. `canceled`: cancellation of every item completed, or an undelivered purchase was canceled or failed. `terminated`: an operator or the owning service ended it immediately.
1427
+ */
1428
+ export type SubscriptionStatus = (typeof SubscriptionStatus)[keyof typeof SubscriptionStatus];
1429
+ export declare const SubscriptionStatus: {
1430
+ readonly pending: "pending";
1431
+ readonly provisioning: "provisioning";
1432
+ readonly active: "active";
1433
+ readonly trialing: "trialing";
1434
+ readonly suspended: "suspended";
1435
+ readonly canceled: "canceled";
1436
+ readonly terminated: "terminated";
1437
+ };
1438
+ /**
1439
+ * The renewal term of its licensed items, `interval_count` intervals long; `none` when every item is metered.
1440
+ */
1441
+ export type SubscriptionInterval = (typeof SubscriptionInterval)[keyof typeof SubscriptionInterval];
1442
+ export declare const SubscriptionInterval: {
1443
+ readonly none: "none";
1444
+ readonly day: "day";
1445
+ readonly month: "month";
1446
+ readonly year: "year";
1447
+ };
1448
+ /**
1449
+ * What happens when the trial ends while automatic renewal is off. With it on, the first paid period is charged to the account's funds or saved payment method, and this applies only when that charge fails. `cancel`: the subscription ends and its resources are released. `pause`: service stops, and renewing before the retention period ends restores it, with the first paid period starting at payment. `create_invoice`: as `pause`, and an invoice for the first paid period is issued to pay.
1450
+ */
1451
+ export type TrialEndBehaviorMissingPaymentMethod = (typeof TrialEndBehaviorMissingPaymentMethod)[keyof typeof TrialEndBehaviorMissingPaymentMethod];
1452
+ export declare const TrialEndBehaviorMissingPaymentMethod: {
1453
+ readonly cancel: "cancel";
1454
+ readonly pause: "pause";
1455
+ readonly create_invoice: "create_invoice";
1456
+ };
1457
+ export interface TrialEndBehavior {
1458
+ /** What happens when the trial ends while automatic renewal is off. With it on, the first paid period is charged to the account's funds or saved payment method, and this applies only when that charge fails. `cancel`: the subscription ends and its resources are released. `pause`: service stops, and renewing before the retention period ends restores it, with the first paid period starting at payment. `create_invoice`: as `pause`, and an invoice for the first paid period is issued to pay. */
1459
+ missing_payment_method: TrialEndBehaviorMissingPaymentMethod;
1460
+ /**
1461
+ * How long a subscription stopped at the end of its trial keeps its resources before they are reclaimed; null for the platform's retention period.
1462
+ * @nullable
1463
+ */
1464
+ retention_seconds: number | null;
1465
+ }
1466
+ /**
1467
+ * How a free trial ends, as Stripe's trial_settings.
1468
+ */
1469
+ export interface TrialSettings {
1470
+ end_behavior: TrialEndBehavior;
1471
+ }
1472
+ /**
1473
+ * 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.
1474
+ */
1475
+ export type SubscriptionRestriction = (typeof SubscriptionRestriction)[keyof typeof SubscriptionRestriction];
1476
+ export declare const SubscriptionRestriction: {
1477
+ readonly billingsubscriptionsuse: "billing.subscriptions.use";
1478
+ readonly billingsubscriptionsrenew: "billing.subscriptions.renew";
1479
+ readonly billingsubscriptionsmodify: "billing.subscriptions.modify";
1480
+ readonly billingsubscriptionscancel: "billing.subscriptions.cancel";
1481
+ readonly billingsubscriptionsterminate: "billing.subscriptions.terminate";
1482
+ };
1483
+ /**
1484
+ * 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.
1485
+ */
1486
+ export type OrderStatus = (typeof OrderStatus)[keyof typeof OrderStatus];
1487
+ export declare const OrderStatus: {
1488
+ readonly pending: "pending";
1489
+ readonly accepted: "accepted";
1490
+ readonly completed: "completed";
1491
+ readonly partially_completed: "partially_completed";
1492
+ readonly failed: "failed";
1493
+ readonly canceled: "canceled";
1494
+ };
1495
+ export type ScheduledChangeInterval = (typeof ScheduledChangeInterval)[keyof typeof ScheduledChangeInterval];
1496
+ export declare const ScheduledChangeInterval: {
1497
+ readonly day: "day";
1498
+ readonly month: "month";
1499
+ readonly year: "year";
1500
+ };
1501
+ /**
1502
+ * The next accepted period-end change of the item: the target terms, applied at effective_at.
1503
+ */
1504
+ export interface ScheduledChange {
1505
+ order_id: string;
1506
+ status: OrderStatus;
1507
+ /** When the target terms take effect, normally the end of the current paid period. */
1508
+ effective_at: string;
1509
+ plan_id: string;
1510
+ plan_name: string;
1511
+ price_id: string;
1512
+ quantity: string;
1513
+ /** The target licensed renewal amount before tax. */
1514
+ recurring_amount: string;
1515
+ currency: string;
1516
+ interval: ScheduledChangeInterval;
1517
+ /** @minimum 1 */
1518
+ interval_count: number;
1519
+ }
1520
+ /**
1521
+ * The dimension values of what was bought, such as region and instance type. Empty when the purchase gave none.
1522
+ */
1523
+ export type SubscriptionItemDimensions = {
1524
+ [key: string]: string;
1525
+ };
1526
+ /**
1527
+ * One priced part of a subscription, as a Stripe subscription item, such as the instance, a volume or the bandwidth of an elastic IP. It renews with its subscription and can be changed or canceled alone.
1528
+ */
1529
+ export interface SubscriptionItem {
1530
+ id: string;
1531
+ subscription_id: string;
1532
+ plan_id: string;
1533
+ plan_name: string;
1534
+ price_id: string;
1535
+ type: PriceType;
1536
+ usage_type: UsageType;
1537
+ /** The dimension values of what was bought, such as region and instance type. Empty when the purchase gave none. */
1538
+ dimensions: SubscriptionItemDimensions;
1539
+ quantity: string;
1540
+ /** This item's renewal amount, after continuing discounts and before tax. A pending item shows base terms until paying the order fixes any new discount. Absent for metered and one-time items. */
1541
+ recurring_amount?: string;
1542
+ /** Whether new account discounts may apply to this item in future renewals. A fixed operator renewal agreement disables automatic discounts; catalog repricing or a newly selected purchase agreement enables them. */
1543
+ renewal_discounts_enabled?: boolean;
1544
+ cancellation_policy?: CancellationPolicy;
1545
+ refund_policy?: RefundPolicy;
1546
+ /** Refund policy `short_rate` only, as on the price bought. */
1547
+ short_rate_multiplier?: string;
1548
+ /** Refund policy `short_rate` only, as on the price bought. */
1549
+ short_rate_threshold_seconds?: number;
1550
+ /** Licensed recurring only, the `monthly_list_amount` that a renewal at the agreed amount keeps; see the order item. */
1551
+ monthly_list_amount?: string;
1552
+ coupon_id?: string;
1553
+ coupon?: ObjectIdentity;
1554
+ /** @minimum 0 */
1555
+ discounted_renewals_remaining?: number;
1556
+ /** The order item that created it. */
1557
+ order_item_id?: string;
1558
+ cancellation?: SubscriptionItemCancellation;
1559
+ /** The accepted period-end change scheduled for this item; null when there is none. */
1560
+ scheduled_change?: ScheduledChange | null;
1561
+ created_at?: string;
1562
+ /**
1563
+ * When the item's service started. Null until its delivery is confirmed.
1564
+ * @nullable
1565
+ */
1566
+ started_at?: string | null;
1567
+ /**
1568
+ * When the item ended, alone or with its subscription.
1569
+ * @nullable
1570
+ */
1571
+ ended_at?: string | null;
1572
+ }
1573
+ /**
1574
+ * A billing relationship that renews as a whole, as a Stripe subscription: one term, one renewal date, one
1575
+ * automatic renewal setting and one service state for all of its items. The owning service decides which order
1576
+ * lines form one subscription, such as a machine and the volumes and elastic IP bought with it; a resource bought
1577
+ * on its own has its own. A purchase creates pending subscriptions and items whose IDs are returned on the order
1578
+ * items and stay the same through checkout, delivery, renewals and changes.
1579
+ *
1580
+ * Pending and provisioning subscriptions grant no service. A subscription becomes provisioning when the owning
1581
+ * service accepts the order, and active, or trialing during a free trial, when the service confirms delivery,
1582
+ * which sets started_at; payment changes neither. Renewing buys further periods for every continuing licensed
1583
+ * item at once; items cannot be renewed on their own, but each can be changed or canceled alone.
1584
+ */
1585
+ export interface Subscription {
1586
+ id: string;
1587
+ /** The billing account that made the purchase. Renewals of a project subscription are charged to the project's current billing account. */
1588
+ billing_account_id: number;
1589
+ account: AccountIdentity;
1590
+ product_id: ProductId;
1591
+ product: Product;
1592
+ /**
1593
+ * The project it is for. Absent for an account-level purchase, such as a membership.
1594
+ * @nullable
1595
+ */
1596
+ project_id?: string | null;
1597
+ /** The project and its current name. Absent for an account-level purchase or when the project cannot be read; `project_id` still identifies it. */
1598
+ project?: NamedIdentity | null;
1599
+ currency: string;
1600
+ status: SubscriptionStatus;
1601
+ /** The renewal term of its licensed items, `interval_count` intervals long; `none` when every item is metered. */
1602
+ interval: SubscriptionInterval;
1603
+ /** @minimum 1 */
1604
+ interval_count?: number;
1605
+ /**
1606
+ * When the subscription renews or expires: the end of the free trial or of the last period bought for its licensed items, moved by renewing in advance. Null until the subscription becomes active, even when its purchase has been paid, and when every item is metered.
1607
+ * @nullable
1608
+ */
1609
+ current_term_end?: string | null;
1610
+ /**
1611
+ * Start of the service period in effect now. Null when none is, including when every item is metered.
1612
+ * @nullable
1613
+ */
1614
+ current_period_start?: string | null;
1615
+ /**
1616
+ * 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 when every item is metered.
1617
+ * @nullable
1618
+ */
1619
+ current_period_end?: string | null;
1620
+ billing_cycle_anchor?: string;
1621
+ /** Whether the subscription renews automatically, or converts to paid when its free trial ends. Without licensed items it continues until it is canceled; then this is true until a cancellation is requested, and cannot be set. */
1622
+ auto_renew: boolean;
1623
+ /**
1624
+ * Start of the free trial; null without one. During the trial the licensed items are free, while metered usage is charged as usual.
1625
+ * @nullable
1626
+ */
1627
+ trial_start?: string | null;
1628
+ /**
1629
+ * End of the free trial; null without one. It is `current_term_end` until the first paid period is bought.
1630
+ * @nullable
1631
+ */
1632
+ trial_end?: string | null;
1633
+ /** How the free trial ends; null without one. */
1634
+ trial_settings?: TrialSettings | null;
1635
+ /** The operations currently prevented on the subscription, sorted; it is suspended while this contains `billing.subscriptions.use`. */
1636
+ restrictions?: SubscriptionRestriction[];
1637
+ /**
1638
+ * 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.
1639
+ * @nullable
1640
+ */
1641
+ default_payment_method_id?: string | null;
1642
+ /** Every item, ended ones included, oldest first. */
1643
+ items: SubscriptionItem[];
1644
+ created_at?: string;
1645
+ /**
1646
+ * When service started. Null until a new subscription becomes active, also after payment.
1647
+ * @nullable
1648
+ */
1649
+ started_at?: string | null;
1650
+ /** @nullable */
1651
+ ended_at?: string | null;
1652
+ }
1653
+ export interface SubscriptionList {
1654
+ items: Subscription[];
1655
+ pagination: OffsetPagination;
1656
+ }
1657
+ export type RenewalOptionInterval = (typeof RenewalOptionInterval)[keyof typeof RenewalOptionInterval];
1658
+ export declare const RenewalOptionInterval: {
1659
+ readonly day: "day";
1660
+ readonly month: "month";
1661
+ readonly year: "year";
1662
+ };
1663
+ /**
1664
+ * What one item renews at under a renewal option.
1665
+ */
1666
+ export interface RenewalOptionItem {
1667
+ subscription_item_id: string;
1668
+ /**
1669
+ * The price the item renews at; null on the current option, which keeps the agreed amount.
1670
+ * @nullable
1671
+ */
1672
+ price_id: string | null;
1673
+ /** One period of this item, before tax and discounts. */
1674
+ amount: Money;
1675
+ cancellation_policy?: CancellationPolicy;
1676
+ refund_policy?: RefundPolicy;
1677
+ /** Refund policy `short_rate` only. */
1678
+ short_rate_multiplier?: string;
1679
+ /** Refund policy `short_rate` only. */
1680
+ short_rate_threshold_seconds?: number;
1681
+ }
1682
+ /**
1683
+ * One term the whole subscription can renew for. Every continuing licensed item renews at it; items with an open cancellation end with the current term and are left out.
1684
+ */
1685
+ export interface RenewalOption {
1686
+ interval: RenewalOptionInterval;
1687
+ /** How many intervals one renewal covers. */
1688
+ interval_count: number;
1689
+ /** The term the subscription renews at now; renewing for it keeps every item's agreed price. */
1690
+ current: boolean;
1691
+ /** One period for every item, before tax and discounts. */
1692
+ amount: Money;
1693
+ currency: string;
1694
+ items: RenewalOptionItem[];
1695
+ }
1696
+ export interface RenewalOptionList {
1697
+ items: RenewalOption[];
1698
+ pagination: OffsetPagination;
1699
+ }
1700
+ /**
1701
+ * The unit interval_count counts in.
1702
+ */
1703
+ export type RenewRequestInterval = (typeof RenewRequestInterval)[keyof typeof RenewRequestInterval];
1704
+ export declare const RenewRequestInterval: {
1705
+ readonly day: "day";
1706
+ readonly month: "month";
1707
+ readonly year: "year";
1708
+ };
1709
+ export interface RenewRequest {
1710
+ /** The order ID, chosen by the caller. Creating it again conflicts; read the order after an unknown outcome. */
1711
+ order_id: string;
1712
+ /**
1713
+ * How many further periods to buy for every renewed item, each at the price it already renews at. To buy a longer term at its own price, give `interval` and `interval_count` instead.
1714
+ * @minimum 1
1715
+ */
1716
+ periods?: number;
1717
+ /**
1718
+ * Renew for a term of this length instead, at the price currently sold for it. Give
1719
+ * `interval` with it.
1720
+ *
1721
+ * Leaving both out renews every item at the price it already bills at, which a later price
1722
+ * change does not affect. Naming a term that differs from the current one is a fresh
1723
+ * choice, so every item is bought at today's price for that term, with its own cancellation
1724
+ * policy or, without one, the only price of that term. Naming the current term changes
1725
+ * nothing. A term an item does not sell is refused with 409 `BILLING_RENEWAL_PRICE_UNAVAILABLE`
1726
+ * and `meta.subscription_item_id`; prices the rule cannot choose between, with 409
1727
+ * `BILLING_RENEWAL_OPTION_AMBIGUOUS` unless `cancellation_policy` is given.
1728
+ *
1729
+ * List the terms on offer with the renewal options operation.
1730
+ * @minimum 1
1731
+ */
1732
+ interval_count?: number;
1733
+ /** The unit interval_count counts in. */
1734
+ interval?: RenewRequestInterval;
1735
+ /** With `interval` and `interval_count`, renews every item at its price of that term with this cancellation policy. */
1736
+ cancellation_policy?: CancellationPolicy;
1737
+ payment_method_id?: string;
1738
+ /** Whether to pay from the balance, with or without `payment_method_id`. */
1739
+ use_balance?: boolean;
1740
+ /** Whether to pay from eligible credit grants before the balance. */
1741
+ use_credits?: boolean;
1742
+ return_url?: string;
1743
+ }
1744
+ /**
1745
+ * The settings to change; settings left out keep their values.
1746
+ */
1747
+ export interface SubscriptionUpdate {
1748
+ auto_renew?: boolean;
1749
+ }
1750
+ /**
1751
+ * "`open`: waiting for you to complete checkout; nothing is ordered, invoiced or reserved. `complete`:
1752
+ * the order and its issued invoice exist; read the order for payment and delivery. `expired`: ended without an
1753
+ * order."
1754
+ */
1755
+ export type CheckoutSessionStatus = (typeof CheckoutSessionStatus)[keyof typeof CheckoutSessionStatus];
1756
+ export declare const CheckoutSessionStatus: {
1757
+ readonly open: "open";
1758
+ readonly complete: "complete";
1759
+ readonly expired: "expired";
1760
+ };
1761
+ /**
1762
+ * "`new` buys, `renew` extends subscriptions, `modify` changes subscription items' configuration or
1763
+ * billing terms."
1764
+ */
1765
+ export type CheckoutSessionType = (typeof CheckoutSessionType)[keyof typeof CheckoutSessionType];
1766
+ export declare const CheckoutSessionType: {
1767
+ readonly new: "new";
1768
+ readonly renew: "renew";
1769
+ readonly modify: "modify";
1770
+ };
1771
+ /**
1772
+ * When a change takes effect, as on the order it creates; `none` for anything that is not a change.
1773
+ */
1774
+ export type CheckoutSessionChangeEffective = (typeof CheckoutSessionChangeEffective)[keyof typeof CheckoutSessionChangeEffective];
1775
+ export declare const CheckoutSessionChangeEffective: {
1776
+ readonly none: "none";
1777
+ readonly immediate: "immediate";
1778
+ readonly period_end: "period_end";
1779
+ };
1780
+ /**
1781
+ * "`complete`: tax is calculated for the billing account's invoice contact, or for `address` in a preview
1782
+ * without an account. `requires_location_inputs`: a preview without an account or `address`, which leaves out
1783
+ * tax that would be added; tax already contained in a price is included."
1784
+ */
1785
+ export type CheckoutSessionTaxStatus = (typeof CheckoutSessionTaxStatus)[keyof typeof CheckoutSessionTaxStatus];
1786
+ export declare const CheckoutSessionTaxStatus: {
1787
+ readonly complete: "complete";
1788
+ readonly requires_location_inputs: "requires_location_inputs";
1789
+ };
1790
+ /**
1791
+ * automatic completes checkout with the purchase: the best applicable account discount is applied, and the
1792
+ * order is created with its invoice issued and paid from eligible credit grants and available balance.
1793
+ * Insufficient funds fail the purchase with HTTP 422 BILLING_INSUFFICIENT_FUNDS; no Billing order, charge or
1794
+ * discount redemption is committed.
1795
+ * deferred creates an open Billing Checkout Session and charges nothing, even for a zero total. The customer
1796
+ * completes it through Billing, where a promotion code can be applied, and then pays the issued invoice; a
1797
+ * session not completed by its deadline expires.
1798
+ */
1799
+ export type CheckoutMode = (typeof CheckoutMode)[keyof typeof CheckoutMode];
1800
+ export declare const CheckoutMode: {
1801
+ readonly automatic: "automatic";
1802
+ readonly deferred: "deferred";
1803
+ };
1804
+ /**
1805
+ * Shared checkout choices for a product purchase. The service may set them or forward its client's
1806
+ * choices unchanged; it does not need to read them, and Billing validates them. Omitting this object or
1807
+ * mode selects automatic checkout. Each purchase creates its own Checkout Session. Promotion codes are supplied
1808
+ * only to Billing. A service may retain a failed creation record when Billing refuses a purchase; no
1809
+ * infrastructure is created for that refusal.
1810
+ */
1811
+ export interface CheckoutOptions {
1812
+ mode?: CheckoutMode;
1813
+ /**
1814
+ * Expected invoice total after discounts and tax, before applying credit grants or balance.
1815
+ * A different total fails with BILLING_AMOUNT_CHANGED without charging or reserving a discount.
1816
+ * Accepted only in automatic mode; with deferred it is refused with HTTP 400. For deferred
1817
+ * checkout, give the expected amount when completing it through Billing.
1818
+ */
1819
+ expected_amount?: Money & string;
1820
+ /**
1821
+ * Where the client goes after the customer finishes a deferred checkout. Any absolute URI with a
1822
+ * scheme, including mobile and desktop application schemes. Billing stores it without checking the
1823
+ * target; each client validates its own.
1824
+ * @maxLength 2048
1825
+ */
1826
+ return_url?: string;
1827
+ /**
1828
+ * Turns on automatic renewal of every subscription with licensed items that the purchase opens. Off
1829
+ * when omitted. It must be the customer's own choice. For a free trial, it converts the trial to paid
1830
+ * when the trial ends.
1831
+ */
1832
+ auto_renew?: boolean;
1833
+ /**
1834
+ * A free trial grant of the paying billing account that the customer chose to use. The first new
1835
+ * subscription of the purchase whose lines the grant's offer all covers, and that has a licensed line and
1836
+ * no trial of its own, opens with the offer's free trial. Accepted only in automatic mode; with deferred it is refused with
1837
+ * HTTP 400, and the grant is chosen when completing the checkout through Billing. Refused with
1838
+ * BILLING_TRIAL_GRANT_INAPPLICABLE when no subscription qualifies or the grant cannot be used now.
1839
+ */
1840
+ trial_grant_id?: string;
1841
+ }
1842
+ export type CheckoutSessionDiscountType = (typeof CheckoutSessionDiscountType)[keyof typeof CheckoutSessionDiscountType];
1843
+ export declare const CheckoutSessionDiscountType: {
1844
+ readonly promotion_code: "promotion_code";
1845
+ readonly account_discount: "account_discount";
1846
+ };
1847
+ /**
1848
+ * "Whether the discount continues on renewals of what is bought: `once` applies only to this
1849
+ * purchase, `recurring` for `frequency_duration` periods including the first, `forever` on every renewal."
1850
+ */
1851
+ export type CheckoutSessionDiscountFrequency = (typeof CheckoutSessionDiscountFrequency)[keyof typeof CheckoutSessionDiscountFrequency];
1852
+ export declare const CheckoutSessionDiscountFrequency: {
1853
+ readonly once: "once";
1854
+ readonly recurring: "recurring";
1855
+ readonly forever: "forever";
1856
+ };
1857
+ /**
1858
+ * "`confirmed`: every condition of the discount holds for the billing account. `unverified`: a preview
1859
+ * without an account, where conditions that depend on the account, such as a first purchase or a per-account
1860
+ * limit, are checked only when a session is completed."
1861
+ */
1862
+ export type CheckoutSessionDiscountEligibility = (typeof CheckoutSessionDiscountEligibility)[keyof typeof CheckoutSessionDiscountEligibility];
1863
+ export declare const CheckoutSessionDiscountEligibility: {
1864
+ readonly confirmed: "confirmed";
1865
+ readonly unverified: "unverified";
1866
+ };
1867
+ /**
1868
+ * The discount a session gets. It is redeemed only when the session completes.
1869
+ */
1870
+ export interface CheckoutSessionDiscount {
1871
+ type: CheckoutSessionDiscountType;
1872
+ name: string;
1873
+ /**
1874
+ * Code text for a promotion_code discount; null for an account_discount.
1875
+ * @minLength 1
1876
+ * @maxLength 64
1877
+ * @nullable
1878
+ */
1879
+ promotion_code: string | null;
1880
+ /**
1881
+ * "Whether the discount continues on renewals of what is bought: `once` applies only to this
1882
+ * purchase, `recurring` for `frequency_duration` periods including the first, `forever` on every renewal."
1883
+ */
1884
+ frequency: CheckoutSessionDiscountFrequency;
1885
+ /**
1886
+ * For `recurring`, the periods the discount lasts; null otherwise.
1887
+ * @minimum 1
1888
+ * @nullable
1889
+ */
1890
+ frequency_duration: number | null;
1891
+ /**
1892
+ * "`confirmed`: every condition of the discount holds for the billing account. `unverified`: a preview
1893
+ * without an account, where conditions that depend on the account, such as a first purchase or a per-account
1894
+ * limit, are checked only when a session is completed."
1895
+ */
1896
+ eligibility: CheckoutSessionDiscountEligibility;
1897
+ }
1898
+ /**
1899
+ * The terms of a free trial. The licensed items of the subscription it is used for are free for `trial_period_days`, while metered usage is charged as usual. When the trial ends it converts to paid if automatic renewal is on; otherwise `trial_settings` applies.
1900
+ */
1901
+ export interface TrialOffer {
1902
+ id: string;
1903
+ name: string;
1904
+ description: string;
1905
+ /**
1906
+ * @minimum 1
1907
+ * @maximum 730
1908
+ */
1909
+ trial_period_days: number;
1910
+ trial_settings: TrialSettings;
1911
+ /** The purchases it can be used for. Every line of the subscription must be covered. */
1912
+ applies_to: Applicability;
1913
+ }
1914
+ /**
1915
+ * `scheduled` before valid_from, `available` to be chosen at checkout, `redeemed` once used for a subscription, `expired` after valid_until without being used, or `voided` once withdrawn.
1916
+ */
1917
+ export type TrialGrantStatus = (typeof TrialGrantStatus)[keyof typeof TrialGrantStatus];
1918
+ export declare const TrialGrantStatus: {
1919
+ readonly scheduled: "scheduled";
1920
+ readonly available: "available";
1921
+ readonly redeemed: "redeemed";
1922
+ readonly expired: "expired";
1923
+ readonly voided: "voided";
1924
+ };
1925
+ /**
1926
+ * One free trial held by a billing account for a period. It is used for one subscription; if the order it was used for is canceled or fails, it can be used again while it is valid.
1927
+ */
1928
+ export interface TrialGrant {
1929
+ id: string;
1930
+ billing_account_id: number;
1931
+ trial_offer: TrialOffer;
1932
+ status: TrialGrantStatus;
1933
+ valid_from: string;
1934
+ /**
1935
+ * Null when the grant does not expire.
1936
+ * @nullable
1937
+ */
1938
+ valid_until: string | null;
1939
+ /** @nullable */
1940
+ voided_at: string | null;
1941
+ /**
1942
+ * The order the grant was used for; null until it is used.
1943
+ * @nullable
1944
+ */
1945
+ order_id: string | null;
1946
+ /**
1947
+ * The subscription the grant was used for; null until it is used.
1948
+ * @nullable
1949
+ */
1950
+ subscription_id: string | null;
1951
+ /** @nullable */
1952
+ redeemed_at: string | null;
1953
+ }
1954
+ /**
1955
+ * Settings of a subscription a purchase opens, as Stripe Checkout's subscription_data.
1956
+ */
1957
+ export interface SubscriptionData {
1958
+ /**
1959
+ * A free trial of this many days; null without one or when given as `trial_end`.
1960
+ * @minimum 1
1961
+ * @maximum 730
1962
+ * @nullable
1963
+ */
1964
+ trial_period_days: number | null;
1965
+ /**
1966
+ * The end of the free trial; null without one or when given in days.
1967
+ * @nullable
1968
+ */
1969
+ trial_end: string | null;
1970
+ /** How the free trial ends; null without a trial. */
1971
+ trial_settings: TrialSettings | null;
1972
+ }
1973
+ /**
1974
+ * A free trial a subscription opens with. Its licensed items are free until `trial_end`; metered usage is
1975
+ * charged as usual. For an open session the times are as if it were completed now.
1976
+ */
1977
+ export interface CheckoutSessionTrial {
1978
+ trial_start: string;
1979
+ trial_end: string;
1980
+ trial_settings: TrialSettings;
1981
+ }
1982
+ /**
1983
+ * The term every item of the subscription renews for, for renewals; `none` otherwise.
1984
+ */
1985
+ export type CheckoutSessionSubscriptionInterval = (typeof CheckoutSessionSubscriptionInterval)[keyof typeof CheckoutSessionSubscriptionInterval];
1986
+ export declare const CheckoutSessionSubscriptionInterval: {
1987
+ readonly none: "none";
1988
+ readonly day: "day";
1989
+ readonly month: "month";
1990
+ readonly year: "year";
1991
+ };
1992
+ /**
1993
+ * The billing period of a recurring licensed price; `none` otherwise, and when `price_id` is null.
1994
+ */
1995
+ export type CheckoutSessionItemInterval = (typeof CheckoutSessionItemInterval)[keyof typeof CheckoutSessionItemInterval];
1996
+ export declare const CheckoutSessionItemInterval: {
1997
+ readonly none: "none";
1998
+ readonly day: "day";
1999
+ readonly month: "month";
2000
+ readonly year: "year";
2001
+ };
2002
+ /**
2003
+ * What an immediate downgrade would refund, estimated as of `proration_date`. The refund itself is determined
2004
+ * when the change takes effect.
2005
+ */
2006
+ export interface CheckoutSessionItemDowngradeRefund {
2007
+ /** Returned to the original payment sources, tax paid on it included. */
2008
+ refundable_amount: Money;
2009
+ /** Before tax, the part of the excess that the item's refund terms do not return. */
2010
+ forfeited_amount: Money;
2011
+ }
2012
+ /**
2013
+ * The dimension values of what is bought, such as region and instance type.
2014
+ */
2015
+ export type CheckoutSessionItemDimensions = {
2016
+ [key: string]: string;
2017
+ };
2018
+ /**
2019
+ * One item of the session; it becomes the order item at the same position. Its price is selected as when
2020
+ * checkout completes, and amounts are this item's share of the session's.
2021
+ */
2022
+ export interface CheckoutSessionItem {
2023
+ /**
2024
+ * Counted across the session's subscriptions in order, starting from zero.
2025
+ * @minimum 0
2026
+ */
2027
+ position: number;
2028
+ /**
2029
+ * The subscription item changed or renewed. Null for an item the purchase adds.
2030
+ * @nullable
2031
+ */
2032
+ subscription_item_id: string | null;
2033
+ product_id: ProductId;
2034
+ plan_id: string;
2035
+ plan_name: string;
2036
+ /**
2037
+ * The price the item is charged under: the one it named, or the one selected by billing terms or from the
2038
+ * subscription item changed or renewed. Null for an expired session whose item did not name one.
2039
+ * @nullable
2040
+ */
2041
+ price_id: string | null;
2042
+ /** The price type; null when `price_id` is. */
2043
+ type: PriceType | null;
2044
+ /** The usage type; null when `price_id` is. */
2045
+ usage_type: UsageType | null;
2046
+ /** The billing period of a recurring licensed price; `none` otherwise, and when `price_id` is null. */
2047
+ interval: CheckoutSessionItemInterval;
2048
+ /**
2049
+ * Periods per billing cycle of a recurring licensed price; null otherwise.
2050
+ * @minimum 1
2051
+ * @nullable
2052
+ */
2053
+ interval_count: number | null;
2054
+ quantity: string;
2055
+ /** The dimension values of what is bought, such as region and instance type. */
2056
+ dimensions: CheckoutSessionItemDimensions;
2057
+ /**
2058
+ * Renewals only; null otherwise. How many consecutive periods are renewed.
2059
+ * @minimum 1
2060
+ * @nullable
2061
+ */
2062
+ periods: number | null;
2063
+ /** Unit price before discounts. Null when no single unit price applies, such as tiered or multiple-rate pricing. */
2064
+ unit_amount: Money | null;
2065
+ /** The setup charge already included in `amount`; null when none applies. */
2066
+ setup_amount: Money | null;
2067
+ /**
2068
+ * Recurring licensed items only; null otherwise. What each later period renews at, before discounts and
2069
+ * tax, which differs from `amount` when the first period is priced differently, such as in a free trial. The
2070
+ * session's `discount` says whether its discount continues on renewals.
2071
+ */
2072
+ recurring_amount: Money | null;
2073
+ /** Amount before discounts, including any setup charge. */
2074
+ amount: Money | null;
2075
+ /** Total reduction on this item, including any continuing renewal discount. */
2076
+ discount_amount: Money | null;
2077
+ /** Tax on the discounted amount, including any tax already contained in that amount. */
2078
+ tax_amount: Money | null;
2079
+ /** The part of tax_amount already contained in amount minus discount_amount. */
2080
+ tax_included_amount: Money | null;
2081
+ /** amount minus discount_amount plus tax_amount minus tax_included_amount. */
2082
+ total: Money | null;
2083
+ /**
2084
+ * Immediate changes only; null otherwise. Before tax, the new terms for the time from `proration_date` to
2085
+ * the end of the paid period. An upgrade invoices `remaining_amount` minus `unused_amount`.
2086
+ */
2087
+ remaining_amount: Money | null;
2088
+ /**
2089
+ * Immediate changes only; null otherwise. Before tax, for an upgrade or an unchanged period price, the
2090
+ * amount paid for that time, up to the new terms' value for the same time; for a downgrade, the remaining value
2091
+ * of what was paid, under the refund terms of each paid period.
2092
+ */
2093
+ unused_amount: Money | null;
2094
+ /** Immediate downgrades only, when `unused_amount` exceeds `remaining_amount`; null otherwise. */
2095
+ downgrade_refund: CheckoutSessionItemDowngradeRefund | null;
2096
+ }
2097
+ /**
2098
+ * One subscription of the session and its items, with its share of the session's amounts.
2099
+ */
2100
+ export interface CheckoutSessionSubscription {
2101
+ /**
2102
+ * The existing subscription renewed or changed, or that new items are added to. Null for a subscription the purchase opens.
2103
+ * @nullable
2104
+ */
2105
+ subscription_id: string | null;
2106
+ /** The settings the owning service gave a subscription the purchase opens; null without any. */
2107
+ subscription_data: SubscriptionData | null;
2108
+ /**
2109
+ * The free trial grant this subscription uses, saved on an open session or used by a complete one; null otherwise.
2110
+ * @nullable
2111
+ */
2112
+ trial_grant_id: string | null;
2113
+ /** The free trial the subscription opens with, from `subscription_data` or the trial grant. Null without one, and for an expired session. */
2114
+ trial: CheckoutSessionTrial | null;
2115
+ /** The term every item of the subscription renews for, for renewals; `none` otherwise. */
2116
+ interval: CheckoutSessionSubscriptionInterval;
2117
+ /**
2118
+ * Renewals only; null otherwise.
2119
+ * @minimum 1
2120
+ * @nullable
2121
+ */
2122
+ interval_count: number | null;
2123
+ /**
2124
+ * Renewals only; null otherwise. How many consecutive terms are renewed.
2125
+ * @minimum 1
2126
+ * @nullable
2127
+ */
2128
+ periods: number | null;
2129
+ /** The items' amounts before discounts, including any setup charge. */
2130
+ amount: Money | null;
2131
+ discount_amount: Money | null;
2132
+ /** Tax on the discounted amount, including any tax already contained in it. */
2133
+ tax_amount: Money | null;
2134
+ /** The part of `tax_amount` already contained in `amount` minus `discount_amount`. */
2135
+ tax_included_amount: Money | null;
2136
+ /** amount minus discount_amount plus tax_amount minus tax_included_amount; this subscription's share of the session's `total`. */
2137
+ total: Money | null;
2138
+ /** The subscription's items, in order. */
2139
+ items: CheckoutSessionItem[];
2140
+ }
2141
+ /**
2142
+ * A purchase, a change of subscriptions or their renewal, waiting for checkout to be completed, and what
2143
+ * completing it invoices. Completing it applies the choices saved on it and creates the order with its invoice
2144
+ * issued; the order carries the session's ID. A preview returns the same object without saving it.
2145
+ *
2146
+ * Amounts are what completing an open session would invoice at the time it is read, and for a complete session
2147
+ * those of its order's invoice. An expired session has no amounts; they are null.
2148
+ */
2149
+ export interface CheckoutSession {
2150
+ /**
2151
+ * Null in a preview.
2152
+ * @nullable
2153
+ */
2154
+ id: string | null;
2155
+ product_id: ProductId;
2156
+ /**
2157
+ * Null in a preview without an account.
2158
+ * @nullable
2159
+ */
2160
+ billing_account_id: number | null;
2161
+ /** Null in a preview without an account. */
2162
+ account: AccountIdentity | null;
2163
+ /**
2164
+ * The project the purchase is for. Null for an account-level purchase, such as a membership, and in a preview.
2165
+ * @nullable
2166
+ */
2167
+ project_id: string | null;
2168
+ /**
2169
+ * The project and its current name. Null when `project_id` is, or when the project cannot be read;
2170
+ * `project_id` still identifies it.
2171
+ */
2172
+ project: NamedIdentity | null;
2173
+ /**
2174
+ * "`new` buys, `renew` extends subscriptions, `modify` changes subscription items' configuration or
2175
+ * billing terms."
2176
+ */
2177
+ type: CheckoutSessionType;
2178
+ /** When a change takes effect, as on the order it creates; `none` for anything that is not a change. */
2179
+ change_effective: CheckoutSessionChangeEffective;
2180
+ /** `open` in a preview. */
2181
+ status: CheckoutSessionStatus;
2182
+ currency: string;
2183
+ /**
2184
+ * The checkout choices, as the purchase gave them and as you saved them since. Billing does not check
2185
+ * `return_url`; validate it before navigating.
2186
+ */
2187
+ checkout: CheckoutOptions;
2188
+ /**
2189
+ * The promotion code saved on the session, or used to complete it; null without one.
2190
+ * @nullable
2191
+ */
2192
+ promotion_code: string | null;
2193
+ /** The discount the session gets, from its promotion code or otherwise the best applicable account discount. Null when there is none, and for an expired session. */
2194
+ discount: CheckoutSessionDiscount | null;
2195
+ /** Sum before discounts, excluding tax already included in the item amounts. */
2196
+ subtotal: Money | null;
2197
+ /** Total item discounts. */
2198
+ discount_amount: Money | null;
2199
+ /** Total tax on the discounted amounts. */
2200
+ tax_amount: Money | null;
2201
+ /** subtotal minus discount_amount plus tax_amount, before credit grants and balance. Confirm an open session with it as `expected_amount`. */
2202
+ total: Money | null;
2203
+ /**
2204
+ * "`complete`: tax is calculated for the billing account's invoice contact, or for `address` in a preview
2205
+ * without an account. `requires_location_inputs`: a preview without an account or `address`, which leaves out
2206
+ * tax that would be added; tax already contained in a price is included."
2207
+ */
2208
+ tax_status: CheckoutSessionTaxStatus;
2209
+ /**
2210
+ * Immediate changes and items added to an existing subscription of an open session only; null otherwise.
2211
+ * The instant they are priced from; confirm the session with it so it is priced from the same instant.
2212
+ * @nullable
2213
+ */
2214
+ proration_date: string | null;
2215
+ /** Account funds for completing an open session; null for other sessions and without an account. */
2216
+ funds: Funds | null;
2217
+ /**
2218
+ * The free trial grants of the account that the session can use now, soonest to expire first. Empty for a
2219
+ * session that is not open, without an account, and for changes and renewals.
2220
+ */
2221
+ trial_grants: TrialGrant[];
2222
+ /**
2223
+ * When an open session expires; null in a preview. The order a complete session created has its own payment deadline.
2224
+ * @nullable
2225
+ */
2226
+ expires_at: string | null;
2227
+ /**
2228
+ * Null in a preview.
2229
+ * @nullable
2230
+ */
2231
+ created_at: string | null;
2232
+ /** @nullable */
2233
+ completed_at: string | null;
2234
+ /** @nullable */
2235
+ expired_at: string | null;
2236
+ /**
2237
+ * The order created when the session completed. Null otherwise.
2238
+ * @nullable
2239
+ */
2240
+ order_id: string | null;
2241
+ /** The subscriptions the session buys, renews or changes, in order, each with its items. */
2242
+ subscriptions: CheckoutSessionSubscription[];
2243
+ }
2244
+ export interface CheckoutSessionList {
2245
+ items: CheckoutSession[];
2246
+ pagination: OffsetPagination;
2247
+ }
2248
+ /**
2249
+ * Settings of a subscription a previewed purchase opens, as the owning service would give them.
2250
+ */
2251
+ export interface SubscriptionDataInput {
2252
+ /**
2253
+ * Give this or `trial_end`, not both.
2254
+ * @minimum 1
2255
+ * @maximum 730
2256
+ */
2257
+ trial_period_days?: number;
2258
+ trial_end?: string;
2259
+ trial_settings?: TrialSettings;
2260
+ }
2261
+ /**
2262
+ * `new` previews a purchase, `modify` a change of subscription items, `renew` a renewal.
2263
+ */
2264
+ export type CheckoutSessionPreviewRequestType = (typeof CheckoutSessionPreviewRequestType)[keyof typeof CheckoutSessionPreviewRequestType];
2265
+ export declare const CheckoutSessionPreviewRequestType: {
2266
+ readonly new: "new";
2267
+ readonly renew: "renew";
2268
+ readonly modify: "modify";
2269
+ };
2270
+ /**
2271
+ * For `modify` only; defaults to `immediate`. `immediate` prices the rest of the paid period from
2272
+ * `proration_date`, charging an upgrade the difference and showing what a downgrade refunds. `period_end`
2273
+ * prices the first period at the new terms, which replaces the renewal when the paid period ends.
2274
+ */
2275
+ export type CheckoutSessionPreviewRequestChangeEffective = (typeof CheckoutSessionPreviewRequestChangeEffective)[keyof typeof CheckoutSessionPreviewRequestChangeEffective];
2276
+ export declare const CheckoutSessionPreviewRequestChangeEffective: {
2277
+ readonly immediate: "immediate";
2278
+ readonly period_end: "period_end";
2279
+ };
2280
+ /**
2281
+ * For `renew` only, as in creating a renewal Checkout Session.
2282
+ */
2283
+ export type CheckoutSessionPreviewRequestInterval = (typeof CheckoutSessionPreviewRequestInterval)[keyof typeof CheckoutSessionPreviewRequestInterval];
2284
+ export declare const CheckoutSessionPreviewRequestInterval: {
2285
+ readonly day: "day";
2286
+ readonly month: "month";
2287
+ readonly year: "year";
2288
+ };
2289
+ /**
2290
+ * Where a customer is, for the tax that would be added there.
2291
+ */
2292
+ export interface CustomerAddress {
2293
+ /**
2294
+ * ISO 3166-1 alpha-2, two uppercase letters.
2295
+ * @pattern ^[A-Z]{2}$
2296
+ */
2297
+ country: string;
2298
+ /**
2299
+ * The state or province, as the tax rates name it.
2300
+ * @minLength 1
2301
+ * @maxLength 128
2302
+ */
2303
+ state?: string;
2304
+ }
2305
+ export type CheckoutSessionItemInputInterval = (typeof CheckoutSessionItemInputInterval)[keyof typeof CheckoutSessionItemInputInterval];
2306
+ export declare const CheckoutSessionItemInputInterval: {
2307
+ readonly none: "none";
2308
+ readonly day: "day";
2309
+ readonly month: "month";
2310
+ readonly year: "year";
2311
+ };
2312
+ /**
2313
+ * The dimension values of what is bought, such as region and instance type, or after a change, given in full. 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.
2314
+ */
2315
+ export type CheckoutSessionItemInputDimensions = {
2316
+ [key: string]: string;
2317
+ };
2318
+ /**
2319
+ * Identify a price, or select one for a plan; give each resource's ID or lookup key, never both, and
2320
+ * product_id with lookup keys. A change names its `subscription_item_id`; without a price or billing terms the
2321
+ * plan's price with the item's price type, usage type, interval, interval count and cancellation policy is
2322
+ * selected, and omitted dimensions keep the item's. A metered item includes only any setup charge; its usage is
2323
+ * estimated with `estimate-usage`.
2324
+ */
2325
+ export interface CheckoutSessionItemInput {
2326
+ /** For `modify` only. The subscription item changed. */
2327
+ subscription_item_id?: string;
2328
+ /**
2329
+ * @minLength 1
2330
+ * @maxLength 128
2331
+ */
2332
+ price_lookup_key?: string;
2333
+ /**
2334
+ * @minLength 1
2335
+ * @maxLength 128
2336
+ */
2337
+ plan_lookup_key?: string;
2338
+ price_id?: string;
2339
+ product_id?: ProductId;
2340
+ plan_id?: string;
2341
+ /** Narrows the selection when a plan offers more than one price type. */
2342
+ price_type?: PriceType;
2343
+ /** Narrows the selection when a plan offers more than one usage type. */
2344
+ usage_type?: UsageType;
2345
+ interval?: CheckoutSessionItemInputInterval;
2346
+ /** @minimum 1 */
2347
+ interval_count?: number;
2348
+ /** Selects among licensed prices with otherwise identical billing terms. Ambiguous terms are refused instead of choosing a price arbitrarily. */
2349
+ cancellation_policy?: CancellationPolicy;
2350
+ /**
2351
+ * The quantity bought, or after a change.
2352
+ * @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]))))))))))$
2353
+ */
2354
+ quantity: string;
2355
+ /** The dimension values of what is bought, such as region and instance type, or after a change, given in full. 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. */
2356
+ dimensions?: CheckoutSessionItemInputDimensions;
2357
+ }
2358
+ /**
2359
+ * One subscription of the previewed session. For `new`, give its items, with `subscription_id` to add them to
2360
+ * that existing subscription and otherwise optionally `subscription_data`; for `modify`, the subscription and the
2361
+ * items changed; for `renew`, only the subscription.
2362
+ */
2363
+ export interface CheckoutSessionPreviewSubscription {
2364
+ subscription_id?: string;
2365
+ /**
2366
+ * @minItems 1
2367
+ * @maxItems 100
2368
+ */
2369
+ items?: CheckoutSessionItemInput[];
2370
+ subscription_data?: SubscriptionDataInput;
2371
+ }
2372
+ /**
2373
+ * The session to preview, as it would be created. Give exactly one of `billing_account_id` and `currency`;
2374
+ * changes, renewals, items added to an existing subscription and trial grants need the account. A request that
2375
+ * does not fit `type` fails with `BILLING_PURCHASE_INVALID` and the field.
2376
+ */
2377
+ export interface CheckoutSessionPreviewRequest {
2378
+ /** `new` previews a purchase, `modify` a change of subscription items, `renew` a renewal. */
2379
+ type: CheckoutSessionPreviewRequestType;
2380
+ /**
2381
+ * 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. Subscriptions changed or renewed must currently be paid by it.
2382
+ * @minimum 1
2383
+ */
2384
+ billing_account_id?: number;
2385
+ /**
2386
+ * For `new` only. The ISO 4217 currency to price in without an account.
2387
+ * @minLength 3
2388
+ * @maxLength 3
2389
+ */
2390
+ currency?: string;
2391
+ /**
2392
+ * Only with `currency`. Where the customer is, to include the tax that would be added there for a customer
2393
+ * who is not tax exempt; `tax_status` is then `complete`. Refused with `billing_account_id`, whose invoice
2394
+ * contact decides tax.
2395
+ */
2396
+ address?: CustomerAddress;
2397
+ /**
2398
+ * For `modify` only; defaults to `immediate`. `immediate` prices the rest of the paid period from
2399
+ * `proration_date`, charging an upgrade the difference and showing what a downgrade refunds. `period_end`
2400
+ * prices the first period at the new terms, which replaces the renewal when the paid period ends.
2401
+ */
2402
+ change_effective?: CheckoutSessionPreviewRequestChangeEffective;
2403
+ /**
2404
+ * At most 100 items in all for `new` and `modify`, and each subscription at most once for `renew`.
2405
+ * @minItems 1
2406
+ * @maxItems 100
2407
+ */
2408
+ subscriptions: CheckoutSessionPreviewSubscription[];
2409
+ /**
2410
+ * For `renew` only, as in creating a renewal Checkout Session.
2411
+ * @minimum 1
2412
+ */
2413
+ periods?: number;
2414
+ /**
2415
+ * For `renew` only, as in creating a renewal Checkout Session.
2416
+ * @minimum 1
2417
+ */
2418
+ interval_count?: number;
2419
+ /** For `renew` only, as in creating a renewal Checkout Session. */
2420
+ interval?: CheckoutSessionPreviewRequestInterval;
2421
+ /** For `renew` only, as in creating a renewal Checkout Session. */
2422
+ cancellation_policy?: CancellationPolicy;
2423
+ /**
2424
+ * For `new` and `modify`. Evaluated without being applied.
2425
+ * @minLength 1
2426
+ * @maxLength 64
2427
+ */
2428
+ promotion_code?: string;
2429
+ /** For `new` with `billing_account_id`. A free trial grant of the account to preview the purchase with. */
2430
+ trial_grant_id?: string;
2431
+ }
2432
+ /**
2433
+ * Give at least one choice. Saving a choice equal to the current one changes nothing.
2434
+ */
2435
+ export interface CheckoutSessionUpdate {
2436
+ /**
2437
+ * The promotion code to complete the session with; null removes it, and the best applicable account discount applies instead.
2438
+ * @minLength 1
2439
+ * @maxLength 64
2440
+ * @nullable
2441
+ */
2442
+ promotion_code?: string | null;
2443
+ /**
2444
+ * A free trial grant of the session's billing account to use; null removes it.
2445
+ * @nullable
2446
+ */
2447
+ trial_grant_id?: string | null;
2448
+ /** Turns on or off automatic renewal of every subscription with licensed items the session opens. It must be your own choice. */
2449
+ auto_renew?: boolean;
2450
+ }
2451
+ /**
2452
+ * As in renewing.
2453
+ */
2454
+ export type CheckoutSessionCreateInterval = (typeof CheckoutSessionCreateInterval)[keyof typeof CheckoutSessionCreateInterval];
2455
+ export declare const CheckoutSessionCreateInterval: {
2456
+ readonly day: "day";
2457
+ readonly month: "month";
2458
+ readonly year: "year";
2459
+ };
2460
+ /**
2461
+ * One subscription to renew.
2462
+ */
2463
+ export interface CheckoutSessionSubscriptionInput {
2464
+ subscription_id: string;
2465
+ }
2466
+ /**
2467
+ * The subscriptions to renew together, and the periods and price chosen as in renewing, applied to each.
2468
+ */
2469
+ export interface CheckoutSessionCreate {
2470
+ /** Chosen by the caller. Creating it again conflicts; read the session after an unknown outcome. */
2471
+ checkout_session_id: string;
2472
+ /**
2473
+ * Each subscription at most once.
2474
+ * @minItems 1
2475
+ * @maxItems 20
2476
+ */
2477
+ subscriptions: CheckoutSessionSubscriptionInput[];
2478
+ /**
2479
+ * As in renewing.
2480
+ * @minimum 1
2481
+ */
2482
+ periods?: number;
2483
+ /**
2484
+ * As in renewing.
2485
+ * @minimum 1
2486
+ */
2487
+ interval_count?: number;
2488
+ /** As in renewing. */
2489
+ interval?: CheckoutSessionCreateInterval;
2490
+ /** As in renewing. */
2491
+ cancellation_policy?: CancellationPolicy;
2492
+ }
2493
+ export interface CheckoutSessionConfirm {
2494
+ /** The session's `total` as read, after discounts and tax and before credit grants or balance. */
2495
+ expected_amount: Money & string;
2496
+ /**
2497
+ * Immediate changes and items added to an existing subscription only. The session's `proration_date` as
2498
+ * read; it must be a whole second, not in the future and at most 10 minutes old, otherwise the request is
2499
+ * refused with `BILLING_CHANGE_INVALID`. Defaults to the time of the request.
2500
+ */
2501
+ proration_date?: string;
2502
+ }
2503
+ /**
2504
+ * 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.
2505
+ */
2506
+ export interface InvoiceSummary {
2507
+ id: string;
2508
+ number?: string;
2509
+ currency: string;
2510
+ status: InvoiceStatus;
2511
+ /**
2512
+ * Sum of the line amounts before discounts. Where prices include tax, the tax contained in
2513
+ * each line's discounted amount is taken out here, so that total = subtotal -
2514
+ * discount_amount + tax_amount always holds.
2515
+ */
2516
+ subtotal: string;
2517
+ /** Sum of the line discounts, taken off before tax. */
2518
+ discount_amount: string;
2519
+ tax_amount: string;
2520
+ total: string;
2521
+ amount_paid: string;
2522
+ /** Issued credit notes that reduced unpaid receivables; the original invoice total is unchanged. */
2523
+ pre_payment_credit_notes_amount: Money;
2524
+ /** Issued credit notes against payments already received; their refunds may not have completed. */
2525
+ post_payment_credit_notes_amount: Money;
2526
+ /**
2527
+ * What is still collectible after unpaid credit notes and successful payments; never below zero.
2528
+ * @pattern ^\d+(\.\d{1,10})?$
2529
+ */
2530
+ amount_due: string;
2531
+ amount_refunded: string;
2532
+ due_at?: string;
2533
+ }
2534
+ /**
2535
+ * How it was paid. `payment_method_id` still names the payment method after it is removed.
2536
+ */
2537
+ export interface PaidWith {
2538
+ /**
2539
+ * `balance` when the account's balance and credits covered it in full. Otherwise the method used
2540
+ * with the gateway, such as `card`.
2541
+ */
2542
+ method_type: string;
2543
+ /** The gateway that collected it. Absent when `method_type` is `balance`. */
2544
+ payment_gateway?: string;
2545
+ /** The saved payment method that was charged, when one was. */
2546
+ payment_method_id?: string;
2547
+ brand?: string;
2548
+ last4?: string;
2549
+ }
2550
+ /**
2551
+ * `new` buys, `renew` extends subscriptions, `modify` changes subscription items' configuration or billing terms.
2552
+ */
2553
+ export type OrderType = (typeof OrderType)[keyof typeof OrderType];
2554
+ export declare const OrderType: {
2555
+ readonly new: "new";
2556
+ readonly renew: "renew";
2557
+ readonly modify: "modify";
2558
+ };
2559
+ /**
2560
+ * 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 item renews or ends with its subscription as usual.
2561
+ */
2562
+ export type OrderChangeEffective = (typeof OrderChangeEffective)[keyof typeof OrderChangeEffective];
2563
+ export declare const OrderChangeEffective: {
2564
+ readonly none: "none";
2565
+ readonly immediate: "immediate";
2566
+ readonly period_end: "period_end";
2567
+ };
2568
+ export type OrderItemInterval = (typeof OrderItemInterval)[keyof typeof OrderItemInterval];
2569
+ export declare const OrderItemInterval: {
2570
+ readonly none: "none";
2571
+ readonly day: "day";
2572
+ readonly month: "month";
2573
+ readonly year: "year";
2574
+ };
2575
+ /**
2576
+ * `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 item is canceled.
2577
+ */
2578
+ export type OrderItemStatus = (typeof OrderItemStatus)[keyof typeof OrderItemStatus];
2579
+ export declare const OrderItemStatus: {
2580
+ readonly pending: "pending";
2581
+ readonly completed: "completed";
2582
+ readonly failed: "failed";
2583
+ readonly canceled: "canceled";
2584
+ };
2585
+ export type OrderItemConfiguration = {
2586
+ [key: string]: unknown;
2587
+ };
2588
+ /**
2589
+ * The dimension values the line was bought with, such as region and instance type. Empty when the purchase gave none.
2590
+ */
2591
+ export type OrderItemDimensions = {
2592
+ [key: string]: string;
2593
+ };
2594
+ /**
2595
+ * 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 and subscription item from placement.
2596
+ */
2597
+ export interface OrderItem {
2598
+ /** 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. */
2599
+ renewal_discounts_enabled?: boolean;
2600
+ /** Financial lines produced by this purchase item, including setup charges. */
2601
+ invoice_item_ids?: string[];
2602
+ /** @minimum 0 */
2603
+ position?: number;
2604
+ configuration?: OrderItemConfiguration;
2605
+ /** The Billing subscription the line belongs to: a new pending one, the existing one an added item joins, or the one renewed or changed, which keeps its ID. Absent for a purchase without a subscription. */
2606
+ subscription_id?: string;
2607
+ /** The subscription item the line created, renewed or changed, which keeps its ID. Absent for a purchase without a subscription. */
2608
+ subscription_item_id?: string;
2609
+ interval: OrderItemInterval;
2610
+ /** @minimum 1 */
2611
+ interval_count?: number;
2612
+ cancellation_policy?: CancellationPolicy;
2613
+ refund_policy?: RefundPolicy;
2614
+ /**
2615
+ * 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.
2616
+ * @nullable
2617
+ */
2618
+ monthly_list_amount?: string | null;
2619
+ /**
2620
+ * Refund policy `short_rate` only, as on the price when bought.
2621
+ * @nullable
2622
+ */
2623
+ short_rate_multiplier?: string | null;
2624
+ /**
2625
+ * Refund policy `short_rate` only, as on the price when bought.
2626
+ * @nullable
2627
+ */
2628
+ short_rate_threshold_seconds?: number | null;
2629
+ recurring_amount?: string;
2630
+ setup_amount?: string;
2631
+ type: PriceType;
2632
+ usage_type: UsageType;
2633
+ /** The dimension values the line was bought with, such as region and instance type. Empty when the purchase gave none. */
2634
+ dimensions: OrderItemDimensions;
2635
+ /** Total tax after discounts, including any tax already included in the price. */
2636
+ tax_amount?: string;
2637
+ /** The part of tax_amount already included in gross_amount; it is not charged again. */
2638
+ tax_included_amount?: string;
2639
+ id: string;
2640
+ order_id?: string;
2641
+ price_id: string;
2642
+ product_id?: ProductId;
2643
+ product?: Product;
2644
+ /** Which plan was bought. */
2645
+ plan_id: string;
2646
+ /** The name when bought. */
2647
+ plan_name: string;
2648
+ quantity: string;
2649
+ /** 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. */
2650
+ unit_amount?: Money;
2651
+ /**
2652
+ * Before discounts and setup fees: the price applied to the quantity, `unit_amount` times `quantity` for a per-
2653
+ * unit price, raised by any minimum charge. For an immediate upgrade it is the new price for the rest of the
2654
+ * paid period minus the amount paid for that time; a downgrade, or a change between equal period prices, charges
2655
+ * nothing.
2656
+ *
2657
+ * Under an inclusive tax rate it includes tax, shown in `tax_included_amount`, except for a renewal at agreed
2658
+ * terms, whose amount excludes tax.
2659
+ */
2660
+ gross_amount?: Money;
2661
+ /** 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. */
2662
+ discount_amount?: Money;
2663
+ /** `gross_amount` less `discount_amount`. */
2664
+ amount?: Money;
2665
+ currency: string;
2666
+ /**
2667
+ * 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.
2668
+ * @nullable
2669
+ */
2670
+ period_start?: string | null;
2671
+ /**
2672
+ * The end of that service period, exclusive.
2673
+ * @nullable
2674
+ */
2675
+ period_end?: string | null;
2676
+ status: OrderItemStatus;
2677
+ }
2678
+ /**
2679
+ * 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.
2680
+ */
2681
+ export interface Order {
2682
+ coupon_id?: string;
2683
+ coupon?: ObjectIdentity;
2684
+ promotion_code_id?: string;
2685
+ /** The promotion code applied. Absent for an account discount. */
2686
+ promotion_code?: string;
2687
+ /** The order's invoice, the same as invoice.id. */
2688
+ invoice_id: string;
2689
+ invoice: InvoiceSummary;
2690
+ /** How the order was paid. Absent until it is paid. */
2691
+ paid_with?: PaidWith;
2692
+ account?: AccountIdentity;
2693
+ change_effective_at?: string;
2694
+ id: string;
2695
+ /**
2696
+ * The project it was bought for. Absent for an account-level purchase, such as a membership.
2697
+ * @nullable
2698
+ */
2699
+ project_id?: string | null;
2700
+ /** The project and its current name. Absent for an account-level purchase or when the project cannot be read; `project_id` still identifies it. */
2701
+ project?: NamedIdentity | null;
2702
+ /** 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`. */
2703
+ billing_account_id?: number;
2704
+ currency: string;
2705
+ /** `new` buys, `renew` extends subscriptions, `modify` changes subscription items' configuration or billing terms. */
2706
+ type: OrderType;
2707
+ status: OrderStatus;
2708
+ /** 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 item renews or ends with its subscription as usual. */
2709
+ change_effective?: OrderChangeEffective;
2710
+ /**
2711
+ * Acceptance deadline; a pending order expires after it.
2712
+ * @nullable
2713
+ */
2714
+ expires_at?: string | null;
2715
+ /**
2716
+ * The Checkout Session that created the order. Null for orders Billing creates itself, such as automatic renewals.
2717
+ * @nullable
2718
+ */
2719
+ checkout_session_id?: string | null;
2720
+ created_at: string;
2721
+ /** What was bought. */
2722
+ items: OrderItem[];
2723
+ }
2724
+ /**
2725
+ * The complete session and the order it created.
2726
+ */
2727
+ export interface CheckoutSessionResult {
2728
+ checkout_session: CheckoutSession;
2729
+ order: Order;
2730
+ }
2731
+ export interface OrderList {
2732
+ items: Order[];
2733
+ pagination: OffsetPagination;
2734
+ }
2735
+ export type DiscountType = (typeof DiscountType)[keyof typeof DiscountType];
2736
+ export declare const DiscountType: {
2737
+ readonly percentage: "percentage";
2738
+ readonly fixed_amount: "fixed_amount";
2739
+ readonly price_override: "price_override";
2740
+ readonly free_setup: "free_setup";
2741
+ };
2742
+ /**
2743
+ * 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.
2744
+ */
2745
+ export type DiscountFrequency = (typeof DiscountFrequency)[keyof typeof DiscountFrequency];
2746
+ export declare const DiscountFrequency: {
2747
+ readonly once: "once";
2748
+ readonly recurring: "recurring";
2749
+ readonly forever: "forever";
2750
+ };
2751
+ /**
2752
+ * `scheduled` before valid_from, `active` within the validity, `expired` after valid_until, or `voided` once withdrawn.
2753
+ */
2754
+ export type DiscountStatus = (typeof DiscountStatus)[keyof typeof DiscountStatus];
2755
+ export declare const DiscountStatus: {
2756
+ readonly scheduled: "scheduled";
2757
+ readonly active: "active";
2758
+ readonly expired: "expired";
2759
+ readonly voided: "voided";
2760
+ };
2761
+ /**
2762
+ * A coupon held by the account for a period, applying without a code to the purchases and metered usage it covers.
2763
+ */
2764
+ export interface Discount {
2765
+ min_amount?: string;
2766
+ billing_account_id?: number;
2767
+ coupon_id: string;
2768
+ promotion_code_id?: string;
2769
+ status: DiscountStatus;
2770
+ voided_at?: string;
2771
+ type: DiscountType;
2772
+ /** 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. */
2773
+ frequency?: DiscountFrequency;
2774
+ /** @minimum 1 */
2775
+ frequency_duration?: number;
2776
+ id: string;
2777
+ name?: string;
2778
+ /** For a percentage discount, out of one hundred. */
2779
+ percent_off?: string;
2780
+ amount?: Money;
2781
+ /** Caps a percentage discount. */
2782
+ max_discount?: Money;
2783
+ currency?: string;
2784
+ /** What it may pay for. Absent means anything on the account, including setup fees and usage. */
2785
+ applies_to: Applicability;
2786
+ /** Restricted to your first purchase of anything it applies to. */
2787
+ first_purchase_only?: boolean;
2788
+ valid_from?: string;
2789
+ /**
2790
+ * Absent follows the coupon's own validity.
2791
+ * @nullable
2792
+ */
2793
+ valid_until?: string | null;
2794
+ }
2795
+ export interface DiscountList {
2796
+ items: Discount[];
2797
+ pagination: OffsetPagination;
2798
+ }
2799
+ export interface TrialGrantList {
2800
+ items: TrialGrant[];
2801
+ pagination: OffsetPagination;
2802
+ }
2803
+ export interface OrderItemList {
2804
+ items: OrderItem[];
2805
+ pagination: OffsetPagination;
2806
+ }
2807
+ /**
2808
+ * Whether the quantity was paid for or granted free; both are consumed the same way.
2809
+ */
2810
+ export type AllowanceCategory = (typeof AllowanceCategory)[keyof typeof AllowanceCategory];
2811
+ export declare const AllowanceCategory: {
2812
+ readonly paid: "paid";
2813
+ readonly promotional: "promotional";
2814
+ };
2815
+ /**
2816
+ * Exact values for a subset of the meter's dimensions. Only usage with these values is deducted;
2817
+ * omitted dimensions are not restricted.
2818
+ */
2819
+ export type AllowanceDimensions = {
2820
+ [key: string]: string;
2821
+ };
2822
+ export type AllowanceStatus = (typeof AllowanceStatus)[keyof typeof AllowanceStatus];
2823
+ export declare const AllowanceStatus: {
2824
+ readonly active: "active";
2825
+ readonly depleted: "depleted";
2826
+ readonly expired: "expired";
2827
+ readonly voided: "voided";
2828
+ };
2829
+ export interface Allowance {
2830
+ /** Optional issuance key, unique within this billing account. */
2831
+ idempotency_key?: string;
2832
+ /** The subscription item whose purchase includes the allowance; absent for an allowance not included in a purchase. */
2833
+ subscription_item_id?: string;
2834
+ /** The subscription that item belongs to. */
2835
+ subscription_id?: string;
2836
+ id: string;
2837
+ billing_account_id?: number;
2838
+ product: Product;
2839
+ meter: ObjectIdentity;
2840
+ /** The unit it is counted in, such as `MiB`. */
2841
+ unit?: string;
2842
+ /** Whether the quantity was paid for or granted free; both are consumed the same way. */
2843
+ category: AllowanceCategory;
2844
+ /**
2845
+ * Exact values for a subset of the meter's dimensions. Only usage with these values is deducted;
2846
+ * omitted dimensions are not restricted.
2847
+ */
2848
+ dimensions: AllowanceDimensions;
2849
+ name: string;
2850
+ /** How much was granted. */
2851
+ quantity: string;
2852
+ /** How much is left. */
2853
+ remaining_quantity: string;
2854
+ /** Lower values are consumed first; at equal priority, earlier expiry and then earlier issuance. */
2855
+ priority?: number;
2856
+ status: AllowanceStatus;
2857
+ valid_from: string;
2858
+ /**
2859
+ * When the allowance lapses; unused quantity is lost. Absent when it does not expire.
2860
+ * @nullable
2861
+ */
2862
+ valid_until?: string | null;
2863
+ }
2864
+ export interface AllowanceList {
2865
+ items: Allowance[];
2866
+ pagination: OffsetPagination;
2867
+ }
2868
+ /**
2869
+ * Derived from the validity period. scheduled means valid_from has not yet arrived.
2870
+ */
2871
+ export type FeatureGrantStatus = (typeof FeatureGrantStatus)[keyof typeof FeatureGrantStatus];
2872
+ export declare const FeatureGrantStatus: {
2873
+ readonly scheduled: "scheduled";
2874
+ readonly active: "active";
2875
+ readonly expired: "expired";
2876
+ readonly voided: "voided";
2877
+ };
2878
+ export interface FeatureGrant {
2879
+ id: string;
2880
+ billing_account_id: number;
2881
+ product: Product;
2882
+ feature: ObjectIdentity;
2883
+ name: string;
2884
+ valid_from: string;
2885
+ /**
2886
+ * Null means the grant does not expire.
2887
+ * @nullable
2888
+ */
2889
+ valid_until: string | null;
2890
+ status: FeatureGrantStatus;
2891
+ }
2892
+ export interface FeatureGrantList {
2893
+ items: FeatureGrant[];
2894
+ pagination: OffsetPagination;
2895
+ }
2896
+ export interface Entitlement {
2897
+ product: Product;
2898
+ feature: ObjectIdentity;
2899
+ name?: string;
2900
+ enabled: boolean;
2901
+ /**
2902
+ * When the providing subscription item ends with its current term. Absent for a metered item.
2903
+ * @nullable
2904
+ */
2905
+ expires_at?: string | null;
2906
+ }
2907
+ export interface EntitlementList {
2908
+ items: Entitlement[];
2909
+ pagination: OffsetPagination;
2910
+ }
2911
+ export interface ProductList {
2912
+ items: Product[];
2913
+ pagination: OffsetPagination;
2914
+ }
2915
+ export interface PlanFeature {
2916
+ feature: ObjectIdentity;
2917
+ name: string;
2918
+ }
2919
+ export interface Plan {
2920
+ /** False once archived. An archived plan cannot be bought until it is active again. */
2921
+ active: boolean;
2922
+ lookup_key?: string;
2923
+ product: Product;
2924
+ features: PlanFeature[];
2925
+ id: string;
2926
+ product_id: ProductId;
2927
+ name: string;
2928
+ description?: string;
2929
+ }
2930
+ export interface PlanList {
2931
+ items: Plan[];
2932
+ pagination: OffsetPagination;
2933
+ }
2934
+ /**
2935
+ * 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.
2936
+ */
2937
+ export type PriceTiersMode = (typeof PriceTiersMode)[keyof typeof PriceTiersMode];
2938
+ export declare const PriceTiersMode: {
2939
+ readonly none: "none";
2940
+ readonly graduated: "graduated";
2941
+ readonly volume: "volume";
2942
+ };
2943
+ export type PriceInterval = (typeof PriceInterval)[keyof typeof PriceInterval];
2944
+ export declare const PriceInterval: {
2945
+ readonly none: "none";
2946
+ readonly day: "day";
2947
+ readonly month: "month";
2948
+ readonly year: "year";
2949
+ };
2950
+ /**
2951
+ * Licensed rates only, the period the amount buys; `none` for metered rates.
2952
+ */
2953
+ export type RateInterval = (typeof RateInterval)[keyof typeof RateInterval];
2954
+ export declare const RateInterval: {
2955
+ readonly none: "none";
2956
+ readonly day: "day";
2957
+ readonly month: "month";
2958
+ readonly year: "year";
2959
+ };
2960
+ /**
2961
+ * `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.
2962
+ */
2963
+ export type RateTiersMode = (typeof RateTiersMode)[keyof typeof RateTiersMode];
2964
+ export declare const RateTiersMode: {
2965
+ readonly none: "none";
2966
+ readonly graduated: "graduated";
2967
+ readonly volume: "volume";
2968
+ };
2969
+ export interface Tier {
2970
+ /**
2971
+ * The band's inclusive upper bound; null for the last band.
2972
+ * @nullable
2973
+ */
2974
+ up_to?: string | null;
2975
+ unit_amount: Money;
2976
+ /** Charged once when this band is reached, in addition to the per-unit amount. */
2977
+ flat_amount?: Money;
2978
+ }
2979
+ /**
2980
+ * The dimension values this rate applies to, such as region and machine type.
2981
+ */
2982
+ export type RateDimensions = {
2983
+ [key: string]: string;
2984
+ };
2985
+ export interface Rate {
2986
+ meter: ObjectIdentity;
2987
+ /** The unit readings are reported in, such as `core-second`. */
2988
+ unit?: string;
2989
+ /** The dimension values this rate applies to, such as region and machine type. */
2990
+ dimensions: RateDimensions;
2991
+ billing_scheme: BillingScheme;
2992
+ /** `metered` prices usage; `licensed` prices holding a quantity for one period. */
2993
+ usage_type: UsageType;
2994
+ /** Licensed rates only, the period the amount buys; `none` for metered rates. */
2995
+ interval: RateInterval;
2996
+ /** @nullable */
2997
+ interval_count?: number | null;
2998
+ /** `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. */
2999
+ tiers_mode: RateTiersMode;
3000
+ /** Present for `per_unit`. Tiered rates carry their amounts on the tiers. */
3001
+ unit_amount?: Money;
3002
+ /** Present for a tiered rate, in ascending order. */
3003
+ tiers?: Tier[];
3004
+ /** How many measured units one amount covers; an hourly rate on a per-second meter is `"3600"`. */
3005
+ unit_quantity?: string;
3006
+ currency: string;
3007
+ effective_from: string;
3008
+ /** @nullable */
3009
+ effective_to?: string | null;
3010
+ }
3011
+ export interface Price {
3012
+ /**
3013
+ * 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.
3014
+ * @nullable
3015
+ */
3016
+ rates?: Rate[] | null;
3017
+ lookup_key?: string;
3018
+ product: Product;
3019
+ plan: ObjectIdentity;
3020
+ /** 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. */
3021
+ meter_id?: string;
3022
+ meter?: ObjectIdentity;
3023
+ unit_quantity: string;
3024
+ /** False once archived. An archived price cannot be bought until it is active again. */
3025
+ active: boolean;
3026
+ cancellation_policy?: CancellationPolicy;
3027
+ refund_policy?: RefundPolicy;
3028
+ /** 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. */
3029
+ short_rate_multiplier?: string;
3030
+ /** Refund policy `short_rate` only, how long after the period start `short_rate_multiplier` applies. */
3031
+ short_rate_threshold_seconds?: number;
3032
+ product_id?: ProductId;
3033
+ id: string;
3034
+ plan_id: string;
3035
+ currency: string;
3036
+ type: PriceType;
3037
+ usage_type: UsageType;
3038
+ /** Absent when the price delegates to a rate card, where the rate depends on attributes such as region or machine type. */
3039
+ billing_scheme?: BillingScheme;
3040
+ /** Present for `per_unit`. */
3041
+ unit_amount?: Money;
3042
+ /** 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. */
3043
+ tiers_mode?: PriceTiersMode;
3044
+ /** Present for `tiered`, in ascending order. */
3045
+ tiers?: Tier[];
3046
+ /** The smallest quantity that can be bought. Absent means no lower bound. */
3047
+ min_quantity?: string;
3048
+ /** 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`. */
3049
+ max_quantity?: string;
3050
+ /** Quantities must be a multiple of this. Absent means any quantity within the bounds. */
3051
+ quantity_step?: string;
3052
+ /** For recurring licensed prices, how many interval units one period covers. */
3053
+ interval_count?: number;
3054
+ interval: PriceInterval;
3055
+ setup_fee?: Money;
3056
+ }
3057
+ export interface PriceList {
3058
+ items: Price[];
3059
+ pagination: OffsetPagination;
3060
+ }
3061
+ /**
3062
+ * The values of the meter's presentation dimensions, present only when grouped by meter.
3063
+ */
3064
+ export type SpendRowDimensions = {
3065
+ [key: string]: string;
3066
+ };
3067
+ export interface SpendRow {
3068
+ product?: Product;
3069
+ plan_id?: string;
3070
+ plan_name?: string;
3071
+ /** Present only when grouped by resource. */
3072
+ resource_id?: string;
3073
+ /** Present only when grouped by meter. */
3074
+ meter?: ObjectIdentity;
3075
+ /** Present only when grouped by meter. */
3076
+ unit?: string;
3077
+ /** Net usage quantity, present only when grouped by meter. */
3078
+ quantity?: string;
3079
+ /** The values of the meter's presentation dimensions, present only when grouped by meter. */
3080
+ dimensions?: SpendRowDimensions;
3081
+ amount: Money;
3082
+ currency: string;
3083
+ }
3084
+ export interface SpendRowList {
3085
+ items: SpendRow[];
3086
+ /** The total over all matching groups, not only the page returned. */
3087
+ total: Money;
3088
+ currency: string;
3089
+ pagination: OffsetPagination;
3090
+ }
3091
+ export type ActiveResourceDimensions = {
3092
+ [key: string]: string;
3093
+ };
3094
+ export type ActiveResourceStatus = (typeof ActiveResourceStatus)[keyof typeof ActiveResourceStatus];
3095
+ export declare const ActiveResourceStatus: {
3096
+ readonly active: "active";
3097
+ readonly suspended: "suspended";
3098
+ readonly closing: "closing";
3099
+ readonly closed: "closed";
3100
+ };
3101
+ /**
3102
+ * A resource charged continuously by the second.
3103
+ */
3104
+ export interface ActiveResource {
3105
+ id: string;
3106
+ ended_at?: string;
3107
+ suspended_at?: string;
3108
+ state_changed_at?: string;
3109
+ /** The metered subscription item charged for this metering record. */
3110
+ subscription_item_id: string;
3111
+ /** The subscription the item belongs to. */
3112
+ subscription_id: string;
3113
+ resource_id: string;
3114
+ product: Product;
3115
+ /** The resource type, as the owning service names it. */
3116
+ resource_type?: string;
3117
+ meter: ObjectIdentity;
3118
+ unit?: string;
3119
+ /** How much is held, such as cores, MiB or cards; not how much was used. */
3120
+ quantity: string;
3121
+ dimensions?: ActiveResourceDimensions;
3122
+ status: ActiveResourceStatus;
3123
+ started_at: string;
3124
+ project_id?: string;
3125
+ /** Usage has been generated up to this boundary; it says nothing about invoicing or payment. */
3126
+ usage_generated_until: string;
3127
+ }
3128
+ export interface ActiveResourceList {
3129
+ items: ActiveResource[];
3130
+ pagination: OffsetPagination;
3131
+ }
3132
+ /**
3133
+ * 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 preview; the amount is fixed when cancellation or termination is confirmed.
3134
+ */
3135
+ export interface OrderRefundPreview {
3136
+ order_id: string;
3137
+ refundable_amount: Money;
3138
+ refund_amount: Money;
3139
+ credit_amount: Money;
3140
+ currency: string;
3141
+ }
3142
+ /**
3143
+ * 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.
3144
+ */
3145
+ export type UsageEstimateInputDimensions = {
3146
+ [key: string]: string;
3147
+ };
3148
+ /**
3149
+ * 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.
3150
+ */
3151
+ export interface UsageEstimateInput {
3152
+ product_id?: ProductId;
3153
+ plan_id?: string;
3154
+ /**
3155
+ * @minLength 1
3156
+ * @maxLength 128
3157
+ */
3158
+ plan_lookup_key?: string;
3159
+ price_id?: string;
3160
+ /**
3161
+ * @minLength 1
3162
+ * @maxLength 128
3163
+ */
3164
+ price_lookup_key?: string;
3165
+ meter_id?: string;
3166
+ /**
3167
+ * @minLength 1
3168
+ * @maxLength 128
3169
+ */
3170
+ meter_lookup_key?: string;
3171
+ /** 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. */
3172
+ dimensions?: UsageEstimateInputDimensions;
3173
+ /**
3174
+ * Decimal string. Positive.
3175
+ * @pattern ^[0-9]{1,28}([.][0-9]{1,10})?$
3176
+ */
3177
+ quantity: string;
3178
+ /**
3179
+ * For a duration meter, how long the quantity is held; the priced quantity is `quantity` times this duration.
3180
+ * @minimum 1
3181
+ */
3182
+ duration_seconds?: number;
3183
+ }
3184
+ export interface UsageEstimateRequest {
3185
+ /**
3186
+ * The ISO 4217 currency to price in.
3187
+ * @minLength 3
3188
+ * @maxLength 3
3189
+ */
3190
+ currency: string;
3191
+ /**
3192
+ * @minItems 1
3193
+ * @maxItems 100
3194
+ */
3195
+ items: UsageEstimateInput[];
3196
+ }
3197
+ export interface UsageEstimateItem {
3198
+ /**
3199
+ * The zero-based request item this answers.
3200
+ * @minimum 0
3201
+ */
3202
+ index: number;
3203
+ price_id: string;
3204
+ meter_id: string;
3205
+ /** The quantity priced. */
3206
+ quantity: string;
3207
+ /** Null when the matched rates do not have a single unit price, for example a tiered rate. */
3208
+ unit_amount: Money | null;
3209
+ /**
3210
+ * The quantity unit_amount is for; null with unit_amount.
3211
+ * @nullable
3212
+ */
3213
+ unit_quantity: string | null;
3214
+ /** Before discounts and tax, unrounded. */
3215
+ amount: Money;
3216
+ }
3217
+ export interface UsageEstimate {
3218
+ currency: string;
3219
+ /** The sum of the items' amounts. */
3220
+ amount: Money;
3221
+ /** One per request item, in request order. */
3222
+ items: UsageEstimateItem[];
3223
+ }
3224
+ /**
3225
+ * Pagination metadata for keyset traversal. Pass next_cursor as cursor to read the following page; null means there is no following page.
3226
+ */
3227
+ export interface CursorPagination {
3228
+ /** @minimum 1 */
3229
+ page_size: number;
3230
+ /** @nullable */
3231
+ next_cursor?: string | null;
3232
+ }
3233
+ export interface WithdrawalAllocation {
3234
+ source_transaction_id: string;
3235
+ /** @pattern ^[0-9]{1,15}([.][0-9]{1,10})?$ */
3236
+ amount: string;
3237
+ /** @pattern ^[0-9]{1,15}([.][0-9]{1,10})?$ */
3238
+ fee_amount: string;
3239
+ /** @pattern ^[0-9]{1,15}([.][0-9]{1,10})?$ */
3240
+ refund_amount: string;
3241
+ }
3242
+ export type WithdrawalItemStatus = (typeof WithdrawalItemStatus)[keyof typeof WithdrawalItemStatus];
3243
+ export declare const WithdrawalItemStatus: {
3244
+ readonly pending: "pending";
3245
+ readonly succeeded: "succeeded";
3246
+ readonly failed: "failed";
3247
+ readonly reversed: "reversed";
3248
+ };
3249
+ /**
3250
+ * The original top-up and where its refund goes. Card details are included when the original payment method was saved.
3251
+ */
3252
+ export interface WithdrawalSource {
3253
+ /** @pattern ^[0-9]{1,15}([.][0-9]{1,10})?$ */
3254
+ amount: string;
3255
+ /**
3256
+ * @minLength 3
3257
+ * @maxLength 3
3258
+ */
3259
+ currency: string;
3260
+ received_at: string;
3261
+ payment_gateway: string;
3262
+ method_type: string;
3263
+ card_brand?: string;
3264
+ /** @pattern ^[0-9]{4}$ */
3265
+ card_last4?: string;
3266
+ }
3267
+ /**
3268
+ * 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.
3269
+ */
3270
+ export interface WithdrawalItem {
3271
+ source_transaction_id: string;
3272
+ /** @pattern ^[0-9]{1,15}([.][0-9]{1,10})?$ */
3273
+ amount: string;
3274
+ /** @pattern ^[0-9]{1,15}([.][0-9]{1,10})?$ */
3275
+ fee_amount: string;
3276
+ /** @pattern ^[0-9]{1,15}([.][0-9]{1,10})?$ */
3277
+ refund_amount: string;
3278
+ id: string;
3279
+ withdrawal_id: string;
3280
+ billing_account_id: number;
3281
+ /**
3282
+ * @minLength 3
3283
+ * @maxLength 3
3284
+ */
3285
+ currency: string;
3286
+ refund_id: string;
3287
+ fee_transaction_id?: string;
3288
+ status: WithdrawalItemStatus;
3289
+ completed_at?: string;
3290
+ payment_gateway: string;
3291
+ method_type: string;
3292
+ source: WithdrawalSource;
3293
+ /** The gateway's failure code when a refund failed, or `refund_reversed` when a completed refund was reversed. Absent while pending or successful. */
3294
+ failure_code?: string;
3295
+ }
3296
+ export type WithdrawalStatus = (typeof WithdrawalStatus)[keyof typeof WithdrawalStatus];
3297
+ export declare const WithdrawalStatus: {
3298
+ readonly pending: "pending";
3299
+ readonly processing: "processing";
3300
+ readonly succeeded: "succeeded";
3301
+ readonly partially_completed: "partially_completed";
3302
+ readonly failed: "failed";
3303
+ readonly reversed: "reversed";
3304
+ };
3305
+ /**
3306
+ * 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.
3307
+ */
3308
+ export interface Withdrawal {
3309
+ id: string;
3310
+ billing_account_id: number;
3311
+ /**
3312
+ * @minLength 3
3313
+ * @maxLength 3
3314
+ */
3315
+ currency: string;
3316
+ /** @pattern ^[0-9]{1,15}([.][0-9]{1,10})?$ */
3317
+ amount: string;
3318
+ /** @pattern ^[0-9]{1,15}([.][0-9]{1,10})?$ */
3319
+ fee_amount: string;
3320
+ /** @pattern ^[0-9]{1,15}([.][0-9]{1,10})?$ */
3321
+ refund_amount: string;
3322
+ /** @pattern ^[0-9]{1,15}([.][0-9]{1,10})?$ */
3323
+ deducted_amount: string;
3324
+ /** @pattern ^[0-9]{1,15}([.][0-9]{1,10})?$ */
3325
+ settled_amount: string;
3326
+ /** @pattern ^[0-9]{1,15}([.][0-9]{1,10})?$ */
3327
+ charged_fee_amount: string;
3328
+ status: WithdrawalStatus;
3329
+ created_at: string;
3330
+ completed_at?: string;
3331
+ /** Who submitted the withdrawal; may differ from the account owner. */
3332
+ created_by?: string;
3333
+ }
3334
+ export interface WithdrawalPreviewItem {
3335
+ source_transaction_id: string;
3336
+ /** @pattern ^[0-9]{1,15}([.][0-9]{1,10})?$ */
3337
+ amount: string;
3338
+ /** @pattern ^[0-9]{1,15}([.][0-9]{1,10})?$ */
3339
+ fee_amount: string;
3340
+ /** @pattern ^[0-9]{1,15}([.][0-9]{1,10})?$ */
3341
+ refund_amount: string;
3342
+ source: WithdrawalSource;
3343
+ }
3344
+ export interface WithdrawalPreview {
3345
+ billing_account_id: number;
3346
+ /**
3347
+ * @minLength 3
3348
+ * @maxLength 3
3349
+ */
3350
+ currency: string;
3351
+ /** @pattern ^[0-9]{1,15}([.][0-9]{1,10})?$ */
3352
+ available_amount: string;
3353
+ /** @pattern ^[0-9]{1,15}([.][0-9]{1,10})?$ */
3354
+ amount: string;
3355
+ /** @pattern ^[0-9]{1,15}([.][0-9]{1,10})?$ */
3356
+ fee_amount: string;
3357
+ /** @pattern ^[0-9]{1,15}([.][0-9]{1,10})?$ */
3358
+ refund_amount: string;
3359
+ /** @maxItems 200 */
3360
+ items: WithdrawalPreviewItem[];
3361
+ }
3362
+ export interface WithdrawalPreviewRequest {
3363
+ billing_account_id: number;
3364
+ /** @pattern ^[0-9]{1,15}([.][0-9]{1,10})?$ */
3365
+ amount?: string;
3366
+ }
3367
+ export interface WithdrawalCreate {
3368
+ id: string;
3369
+ billing_account_id: number;
3370
+ /** @pattern ^[0-9]{1,15}([.][0-9]{1,10})?$ */
3371
+ amount: string;
3372
+ /** @pattern ^[0-9]{1,15}([.][0-9]{1,10})?$ */
3373
+ expected_refund_amount: string;
3374
+ /**
3375
+ * @minItems 1
3376
+ * @maxItems 200
3377
+ */
3378
+ expected_items: WithdrawalAllocation[];
3379
+ }
3380
+ export interface WithdrawalList {
3381
+ items: Withdrawal[];
3382
+ pagination: OffsetPagination;
3383
+ }
3384
+ export interface WithdrawalItemList {
3385
+ items: WithdrawalItem[];
3386
+ pagination: OffsetPagination;
3387
+ }
3388
+ /**
3389
+ * 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.
3390
+ */
3391
+ export type ContactTaxExempt = (typeof ContactTaxExempt)[keyof typeof ContactTaxExempt];
3392
+ export declare const ContactTaxExempt: {
3393
+ readonly none: "none";
3394
+ readonly exempt: "exempt";
3395
+ readonly reverse: "reverse";
3396
+ };
3397
+ /**
3398
+ * A contact of a billing account with one address. An account can hold several; a contact is not a login.
3399
+ */
3400
+ export interface Contact {
3401
+ id: string;
3402
+ billing_account_id: number;
3403
+ /**
3404
+ * @minLength 1
3405
+ * @maxLength 255
3406
+ */
3407
+ name: string;
3408
+ /** @maxLength 255 */
3409
+ legal_name?: string;
3410
+ /** @maxLength 255 */
3411
+ email?: string;
3412
+ /** @maxLength 64 */
3413
+ tax_id?: string;
3414
+ /** @maxLength 255 */
3415
+ address_line1?: string;
3416
+ /** @maxLength 255 */
3417
+ address_line2?: string;
3418
+ /** @maxLength 128 */
3419
+ address_city?: string;
3420
+ /** @maxLength 128 */
3421
+ address_state?: string;
3422
+ /** @maxLength 32 */
3423
+ address_postal_code?: string;
3424
+ /** @pattern ^([A-Z]{2})?$ */
3425
+ address_country?: string;
3426
+ /** 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. */
3427
+ tax_exempt: ContactTaxExempt;
3428
+ active: boolean;
3429
+ created_at: string;
3430
+ }
3431
+ export interface ContactCreate {
3432
+ /**
3433
+ * @minLength 1
3434
+ * @maxLength 255
3435
+ */
3436
+ name: string;
3437
+ /** @maxLength 255 */
3438
+ legal_name?: string;
3439
+ /** @maxLength 255 */
3440
+ email?: string;
3441
+ /** @maxLength 64 */
3442
+ tax_id?: string;
3443
+ /** @maxLength 255 */
3444
+ address_line1?: string;
3445
+ /** @maxLength 255 */
3446
+ address_line2?: string;
3447
+ /** @maxLength 128 */
3448
+ address_city?: string;
3449
+ /** @maxLength 128 */
3450
+ address_state?: string;
3451
+ /** @maxLength 32 */
3452
+ address_postal_code?: string;
3453
+ /** @pattern ^([A-Z]{2})?$ */
3454
+ address_country?: string;
3455
+ }
3456
+ export interface ContactUpdate {
3457
+ /**
3458
+ * @minLength 1
3459
+ * @maxLength 255
3460
+ */
3461
+ name?: string;
3462
+ /** @maxLength 255 */
3463
+ legal_name?: string;
3464
+ /** @maxLength 255 */
3465
+ email?: string;
3466
+ /** @maxLength 64 */
3467
+ tax_id?: string;
3468
+ /** @maxLength 255 */
3469
+ address_line1?: string;
3470
+ /** @maxLength 255 */
3471
+ address_line2?: string;
3472
+ /** @maxLength 128 */
3473
+ address_city?: string;
3474
+ /** @maxLength 128 */
3475
+ address_state?: string;
3476
+ /** @maxLength 32 */
3477
+ address_postal_code?: string;
3478
+ /** @pattern ^([A-Z]{2})?$ */
3479
+ address_country?: string;
3480
+ active?: boolean;
3481
+ }
3482
+ export interface ContactList {
3483
+ items: Contact[];
3484
+ pagination: OffsetPagination;
3485
+ }
3486
+ export type PriceSearchDimensionsItem = {
3487
+ [key: string]: string;
3488
+ };
3489
+ /**
3490
+ * Conditions combined with AND.
3491
+ */
3492
+ export interface PriceSearch {
3493
+ /**
3494
+ * ISO 4217, three uppercase letters.
3495
+ * @minLength 3
3496
+ * @maxLength 3
3497
+ */
3498
+ currency: string;
3499
+ /**
3500
+ * Only these prices, such as the prices another service names.
3501
+ * @minItems 1
3502
+ * @maxItems 200
3503
+ */
3504
+ ids?: string[];
3505
+ /**
3506
+ * Only prices of these plans.
3507
+ * @minItems 1
3508
+ * @maxItems 200
3509
+ */
3510
+ plan_ids?: string[];
3511
+ product_id?: ProductId;
3512
+ /** Narrows to one price type. */
3513
+ type?: PriceType;
3514
+ /** Narrows to one usage type. */
3515
+ usage_type?: UsageType;
3516
+ /**
3517
+ * 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.
3518
+ * @minItems 1
3519
+ * @maxItems 200
3520
+ */
3521
+ dimensions?: PriceSearchDimensionsItem[];
3522
+ /**
3523
+ * 1-based page number. Defaults to 1.
3524
+ * @minimum 1
3525
+ * @maximum 2147483647
3526
+ */
3527
+ page?: number;
3528
+ /**
3529
+ * Items per page. Defaults to 50; at most 200.
3530
+ * @minimum 1
3531
+ * @maximum 200
3532
+ */
3533
+ page_size?: number;
3534
+ }
3535
+ export interface CancelSubscriptionRequest {
3536
+ mode: CancellationMode;
3537
+ /** For immediate cancellation, the preview's `proration_date`, the whole second the refund is computed as of. Now when omitted. */
3538
+ proration_date?: string;
3539
+ /** The preview's `refundable_amount`, including an explicit zero. */
3540
+ expected_refundable_amount: Money & string;
3541
+ /** @maxLength 1024 */
3542
+ reason?: string;
3543
+ }
3544
+ export interface StatementAmounts {
3545
+ subtotal: Money;
3546
+ discount_amount: Money;
3547
+ tax_amount: Money;
3548
+ total: Money;
3549
+ /** Added to total to round the invoiced amount to the currency's minor unit. Zero for an open statement's estimate. */
3550
+ rounding_amount: Money;
3551
+ }
3552
+ /**
3553
+ * 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.
3554
+ */
3555
+ export interface MonthlyStatement {
3556
+ billing_account_id: number;
3557
+ currency: string;
3558
+ period_start: string;
3559
+ period_end: string;
3560
+ /** 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. */
3561
+ finalized: boolean;
3562
+ finalized_at?: string;
3563
+ /** Statements of the period, including the open one. */
3564
+ statement_count: number;
3565
+ billed: StatementAmounts;
3566
+ credited_amount: Money;
3567
+ unbilled?: StatementAmounts;
3568
+ credit_applied: Money;
3569
+ amount_paid: Money;
3570
+ amount_due: Money;
3571
+ amount_refunded: Money;
3572
+ }
3573
+ export interface MonthlyStatementList {
3574
+ items: MonthlyStatement[];
3575
+ pagination: OffsetPagination;
3576
+ }
3577
+ export type StatementStatus = (typeof StatementStatus)[keyof typeof StatementStatus];
3578
+ export declare const StatementStatus: {
3579
+ readonly open: "open";
3580
+ readonly closed: "closed";
3581
+ };
3582
+ /**
3583
+ * `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.
3584
+ */
3585
+ export type StatementType = (typeof StatementType)[keyof typeof StatementType];
3586
+ export declare const StatementType: {
3587
+ readonly interim: "interim";
3588
+ readonly final: "final";
3589
+ readonly supplement: "supplement";
3590
+ };
3591
+ /**
3592
+ * 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.
3593
+ */
3594
+ export interface Statement {
3595
+ id: string;
3596
+ billing_account_id: number;
3597
+ currency: string;
3598
+ period_start: string;
3599
+ period_end: string;
3600
+ /** Increases with each closing of the period. */
3601
+ sequence: number;
3602
+ status: StatementStatus;
3603
+ type: StatementType;
3604
+ /** 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. */
3605
+ estimated: boolean;
3606
+ amounts: StatementAmounts;
3607
+ closed_at?: string;
3608
+ /** The invoice issued at this closing, when it produced one. */
3609
+ invoice_id?: string;
3610
+ created_at: string;
3611
+ calculated_at?: string;
3612
+ credited_amount: Money;
3613
+ }
3614
+ export interface StatementList {
3615
+ items: Statement[];
3616
+ pagination: OffsetPagination;
3617
+ }
3618
+ /**
3619
+ * 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.
3620
+ */
3621
+ export type StatementItemDimensions = {
3622
+ [key: string]: string;
3623
+ };
3624
+ export interface StatementItem {
3625
+ project_id?: string;
3626
+ product_id?: string;
3627
+ meter_id?: string;
3628
+ unit?: string;
3629
+ /** 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. */
3630
+ dimensions?: StatementItemDimensions;
3631
+ /** Net usage quantity. Included only when grouping by meter. */
3632
+ quantity?: string;
3633
+ deducted_quantity?: string;
3634
+ amount: Money;
3635
+ }
3636
+ export type StatementSummaryGroupBy = (typeof StatementSummaryGroupBy)[keyof typeof StatementSummaryGroupBy];
3637
+ export declare const StatementSummaryGroupBy: {
3638
+ readonly project: "project";
3639
+ readonly product: "product";
3640
+ readonly meter: "meter";
3641
+ };
3642
+ export interface StatementSummary {
3643
+ statement_id: string;
3644
+ currency: string;
3645
+ estimated: boolean;
3646
+ calculated_at?: string;
3647
+ group_by: StatementSummaryGroupBy;
3648
+ items: StatementItem[];
3649
+ pagination: OffsetPagination;
3650
+ }
3651
+ /**
3652
+ * Error
3653
+ */
3654
+ export type ErrorResponse = Error;
3655
+ /**
3656
+ * Unchanged since the given `ETag`; no body.
3657
+ */
3658
+ export type NotModifiedResponse = void;
3659
+ export type FromParameter = string;
3660
+ /**
3661
+ * Exclusive.
3662
+ */
3663
+ export type ToParameter = string;
3664
+ /**
3665
+ * Only this account; all of yours when omitted.
3666
+ */
3667
+ export type AccountIdQueryParameter = number;
3668
+ /**
3669
+ * The `ETag` of an earlier response. When the catalogue has not changed since, the response is `304` with no body.
3670
+ */
3671
+ export type IfNoneMatchParameter = string;
3672
+ export type FromRequiredParameter = string;
3673
+ /**
3674
+ * Exclusive. One month is `[2026-09-01, 2026-10-01)`.
3675
+ */
3676
+ export type ToRequiredParameter = string;
3677
+ /**
3678
+ * 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.
3679
+ */
3680
+ export type ProjectIdsQueryParameter = string[];
3681
+ export type ListWithdrawalItemsParams = {
3682
+ /**
3683
+ * 1-based page number. Defaults to 1.
3684
+ * @minimum 1
3685
+ * @maximum 2147483647
3686
+ */
3687
+ page?: number;
3688
+ /**
3689
+ * Items per page. Defaults to 50; at most 200.
3690
+ * @minimum 1
3691
+ * @maximum 200
3692
+ */
3693
+ page_size?: number;
3694
+ };
3695
+ export type ListWithdrawalsParams = {
3696
+ /**
3697
+ * 1-based page number. Defaults to 1.
3698
+ * @minimum 1
3699
+ * @maximum 2147483647
3700
+ */
3701
+ page?: number;
3702
+ /**
3703
+ * Items per page. Defaults to 50; at most 200.
3704
+ * @minimum 1
3705
+ * @maximum 200
3706
+ */
3707
+ page_size?: number;
3708
+ billing_account_id?: number;
3709
+ /**
3710
+ * Only withdrawals in these statuses; omit for every status. Comma-separated, for example `status=pending,processing`.
3711
+ * @minItems 1
3712
+ * @maxItems 6
3713
+ */
3714
+ status?: WithdrawalStatus[];
3715
+ };
3716
+ export type ListContactsParams = {
3717
+ /**
3718
+ * 1-based page number. Defaults to 1.
3719
+ * @minimum 1
3720
+ * @maximum 2147483647
3721
+ */
3722
+ page?: number;
3723
+ /**
3724
+ * Items per page. Defaults to 50; at most 200.
3725
+ * @minimum 1
3726
+ * @maximum 200
3727
+ */
3728
+ page_size?: number;
3729
+ };
3730
+ export type ListCurrenciesParams = {
3731
+ /**
3732
+ * 1-based page number. Defaults to 1.
3733
+ * @minimum 1
3734
+ * @maximum 2147483647
3735
+ */
3736
+ page?: number;
3737
+ /**
3738
+ * Items per page. Defaults to 50; at most 200.
3739
+ * @minimum 1
3740
+ * @maximum 200
3741
+ */
3742
+ page_size?: number;
3743
+ };
3744
+ export type ListBillingAccountsParams = {
3745
+ /**
3746
+ * 1-based page number. Defaults to 1.
3747
+ * @minimum 1
3748
+ * @maximum 2147483647
3749
+ */
3750
+ page?: number;
3751
+ /**
3752
+ * Items per page. Defaults to 50; at most 200.
3753
+ * @minimum 1
3754
+ * @maximum 200
3755
+ */
3756
+ page_size?: number;
3757
+ /**
3758
+ * Only accounts in these statuses. Omit for all statuses. Comma-separated, for example `status=suspended,closed`.
3759
+ * @minItems 1
3760
+ * @maxItems 3
3761
+ */
3762
+ status?: BillingAccountStatus[];
3763
+ };
3764
+ export type ListPaymentOptionsParams = {
3765
+ /**
3766
+ * 1-based page number. Defaults to 1.
3767
+ * @minimum 1
3768
+ * @maximum 2147483647
3769
+ */
3770
+ page?: number;
3771
+ /**
3772
+ * Items per page. Defaults to 50; at most 200.
3773
+ * @minimum 1
3774
+ * @maximum 200
3775
+ */
3776
+ page_size?: number;
3777
+ };
3778
+ export type ListProjectAssignmentsParams = {
3779
+ /**
3780
+ * 1-based page number. Defaults to 1.
3781
+ * @minimum 1
3782
+ * @maximum 2147483647
3783
+ */
3784
+ page?: number;
3785
+ /**
3786
+ * Items per page. Defaults to 50; at most 200.
3787
+ * @minimum 1
3788
+ * @maximum 200
3789
+ */
3790
+ page_size?: number;
3791
+ billing_account_id?: number;
3792
+ /**
3793
+ * 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.
3794
+ * @minItems 1
3795
+ * @maxItems 100
3796
+ */
3797
+ project_ids?: ProjectIdsQueryParameter;
3798
+ };
3799
+ export type ListTopUpsParams = {
3800
+ /**
3801
+ * 1-based page number. Defaults to 1.
3802
+ * @minimum 1
3803
+ * @maximum 2147483647
3804
+ */
3805
+ page?: number;
3806
+ /**
3807
+ * Items per page. Defaults to 50; at most 200.
3808
+ * @minimum 1
3809
+ * @maximum 200
3810
+ */
3811
+ page_size?: number;
3812
+ /**
3813
+ * Only this account; all of yours when omitted.
3814
+ */
3815
+ billing_account_id?: AccountIdQueryParameter;
3816
+ /**
3817
+ * Only top-ups in these statuses; omit for every status. Comma-separated, for example `status=pending,succeeded`.
3818
+ * @minItems 1
3819
+ * @maxItems 4
3820
+ */
3821
+ status?: TopUpStatus[];
3822
+ };
3823
+ export type ListPaymentMethodsParams = {
3824
+ /**
3825
+ * 1-based page number. Defaults to 1.
3826
+ * @minimum 1
3827
+ * @maximum 2147483647
3828
+ */
3829
+ page?: number;
3830
+ /**
3831
+ * Items per page. Defaults to 50; at most 200.
3832
+ * @minimum 1
3833
+ * @maximum 200
3834
+ */
3835
+ page_size?: number;
3836
+ /**
3837
+ * Only this account; all of yours when omitted.
3838
+ */
3839
+ billing_account_id?: AccountIdQueryParameter;
3840
+ /**
3841
+ * Only payment methods in these statuses; omit for both. Removed payment methods are not listed. Comma-separated.
3842
+ * @minItems 1
3843
+ * @maxItems 2
3844
+ */
3845
+ status?: ListPaymentMethodsStatusItem[];
3846
+ };
3847
+ export type ListPaymentMethodsStatusItem = (typeof ListPaymentMethodsStatusItem)[keyof typeof ListPaymentMethodsStatusItem];
3848
+ export declare const ListPaymentMethodsStatusItem: {
3849
+ readonly active: "active";
3850
+ readonly expired: "expired";
3851
+ };
3852
+ export type PreviewInvoicePaymentParams = {
3853
+ /**
3854
+ * As in paying. True when omitted.
3855
+ */
3856
+ use_balance?: boolean;
3857
+ /**
3858
+ * As in paying. True when omitted.
3859
+ */
3860
+ use_credits?: boolean;
3861
+ };
3862
+ export type ListInvoicesParams = {
3863
+ /**
3864
+ * 1-based page number. Defaults to 1.
3865
+ * @minimum 1
3866
+ * @maximum 2147483647
3867
+ */
3868
+ page?: number;
3869
+ /**
3870
+ * Items per page. Defaults to 50; at most 200.
3871
+ * @minimum 1
3872
+ * @maximum 200
3873
+ */
3874
+ page_size?: number;
3875
+ /**
3876
+ * Only this account; all of yours when omitted.
3877
+ */
3878
+ billing_account_id?: AccountIdQueryParameter;
3879
+ /**
3880
+ * Only invoices in these statuses; omit for every status. Comma-separated, for example `status=open,paid`.
3881
+ * @minItems 1
3882
+ * @maxItems 3
3883
+ */
3884
+ status?: InvoiceStatus[];
3885
+ /**
3886
+ * Only invoices with a charge from this subscription; amounts are for the whole invoice.
3887
+ */
3888
+ subscription_id?: string;
3889
+ from?: FromParameter;
3890
+ /**
3891
+ * Exclusive.
3892
+ */
3893
+ to?: ToParameter;
3894
+ };
3895
+ export type ListInvoiceItemsParams = {
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 ListTransactionsParams = {
3910
+ /**
3911
+ * 1-based page number. Defaults to 1.
3912
+ * @minimum 1
3913
+ * @maximum 2147483647
3914
+ */
3915
+ page?: number;
3916
+ /**
3917
+ * Items per page. Defaults to 50; at most 200.
3918
+ * @minimum 1
3919
+ * @maximum 200
3920
+ */
3921
+ page_size?: number;
3922
+ /**
3923
+ * Only this account; all of yours when omitted.
3924
+ */
3925
+ billing_account_id?: AccountIdQueryParameter;
3926
+ from?: FromParameter;
3927
+ /**
3928
+ * Exclusive.
3929
+ */
3930
+ to?: ToParameter;
3931
+ /**
3932
+ * Only transactions of these types; omit for every type. Comma-separated, for example `type=topup,refund`.
3933
+ * @minItems 1
3934
+ * @maxItems 5
3935
+ */
3936
+ type?: TransactionType[];
3937
+ /**
3938
+ * Only transactions in these statuses; omit for every status. Comma-separated, for example `status=pending,failed`.
3939
+ * @minItems 1
3940
+ * @maxItems 4
3941
+ */
3942
+ status?: TransactionStatus[];
3943
+ };
3944
+ export type ListAccountDiscountsParams = {
3945
+ /**
3946
+ * 1-based page number. Defaults to 1.
3947
+ * @minimum 1
3948
+ * @maximum 2147483647
3949
+ */
3950
+ page?: number;
3951
+ /**
3952
+ * Items per page. Defaults to 50; at most 200.
3953
+ * @minimum 1
3954
+ * @maximum 200
3955
+ */
3956
+ page_size?: number;
3957
+ /**
3958
+ * Only this account; all of yours when omitted.
3959
+ */
3960
+ billing_account_id?: AccountIdQueryParameter;
3961
+ /**
3962
+ * Only discounts in these statuses; omit for every status. Comma-separated, for example `status=scheduled,active`.
3963
+ * @minItems 1
3964
+ * @maxItems 4
3965
+ */
3966
+ status?: DiscountStatus[];
3967
+ };
3968
+ export type ListTrialGrantsParams = {
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 grants in these statuses; omit for every status. Comma-separated, for example `status=available,scheduled`.
3987
+ * @minItems 1
3988
+ * @maxItems 5
3989
+ */
3990
+ status?: TrialGrantStatus[];
3991
+ };
3992
+ export type ListCreditGrantsParams = {
3993
+ /**
3994
+ * 1-based page number. Defaults to 1.
3995
+ * @minimum 1
3996
+ * @maximum 2147483647
3997
+ */
3998
+ page?: number;
3999
+ /**
4000
+ * Items per page. Defaults to 50; at most 200.
4001
+ * @minimum 1
4002
+ * @maximum 200
4003
+ */
4004
+ page_size?: number;
4005
+ /**
4006
+ * Only this account; all of yours when omitted.
4007
+ */
4008
+ billing_account_id?: AccountIdQueryParameter;
4009
+ /**
4010
+ * Only credit grants in these statuses; omit for every status. Comma-separated, for example `status=active,depleted`.
4011
+ * @minItems 1
4012
+ * @maxItems 4
4013
+ */
4014
+ status?: CreditGrantStatus[];
4015
+ };
4016
+ export type ListCreditNotesParams = {
4017
+ /**
4018
+ * 1-based page number. Defaults to 1.
4019
+ * @minimum 1
4020
+ * @maximum 2147483647
4021
+ */
4022
+ page?: number;
4023
+ /**
4024
+ * Items per page. Defaults to 50; at most 200.
4025
+ * @minimum 1
4026
+ * @maximum 200
4027
+ */
4028
+ page_size?: number;
4029
+ /**
4030
+ * Only this account; all of yours when omitted.
4031
+ */
4032
+ billing_account_id?: AccountIdQueryParameter;
4033
+ /**
4034
+ * Only the notes for this invoice.
4035
+ */
4036
+ invoice_id?: string;
4037
+ /**
4038
+ * Only credit notes in these statuses; omit for both. Comma-separated.
4039
+ * @minItems 1
4040
+ * @maxItems 2
4041
+ */
4042
+ status?: CreditNoteStatus[];
4043
+ };
4044
+ export type ListCreditNoteItemsParams = {
4045
+ /**
4046
+ * 1-based page number. Defaults to 1.
4047
+ * @minimum 1
4048
+ * @maximum 2147483647
4049
+ */
4050
+ page?: number;
4051
+ /**
4052
+ * Items per page. Defaults to 50; at most 200.
4053
+ * @minimum 1
4054
+ * @maximum 200
4055
+ */
4056
+ page_size?: number;
4057
+ };
4058
+ export type ListRefundsParams = {
4059
+ /**
4060
+ * 1-based page number. Defaults to 1.
4061
+ * @minimum 1
4062
+ * @maximum 2147483647
4063
+ */
4064
+ page?: number;
4065
+ /**
4066
+ * Items per page. Defaults to 50; at most 200.
4067
+ * @minimum 1
4068
+ * @maximum 200
4069
+ */
4070
+ page_size?: number;
4071
+ /**
4072
+ * Only this account; all of yours when omitted.
4073
+ */
4074
+ billing_account_id?: AccountIdQueryParameter;
4075
+ /**
4076
+ * Only the refunds of this invoice.
4077
+ */
4078
+ invoice_id?: string;
4079
+ /**
4080
+ * 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.
4081
+ */
4082
+ order_id?: string;
4083
+ /**
4084
+ * Only refunds in these statuses; omit for every status. Comma-separated, for example `status=pending,processing`.
4085
+ * @minItems 1
4086
+ * @maxItems 4
4087
+ */
4088
+ status?: RefundStatus[];
4089
+ };
4090
+ export type ListUsageChargesParams = {
4091
+ /**
4092
+ * 1-based page number. Defaults to 1.
4093
+ * @minimum 1
4094
+ * @maximum 2147483647
4095
+ */
4096
+ page?: number;
4097
+ /**
4098
+ * Items per page. Defaults to 50; at most 200.
4099
+ * @minimum 1
4100
+ * @maximum 200
4101
+ */
4102
+ page_size?: number;
4103
+ /**
4104
+ * Only this account; all of yours when omitted.
4105
+ */
4106
+ billing_account_id?: AccountIdQueryParameter;
4107
+ product_id?: ProductId;
4108
+ resource_id?: string;
4109
+ /**
4110
+ * Only the charges summed into this usage invoice line.
4111
+ */
4112
+ invoice_item_id?: string;
4113
+ from?: FromParameter;
4114
+ /**
4115
+ * Exclusive.
4116
+ */
4117
+ to?: ToParameter;
4118
+ /**
4119
+ * 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.
4120
+ * @minItems 1
4121
+ * @maxItems 100
4122
+ */
4123
+ project_ids?: ProjectIdsQueryParameter;
4124
+ meter_id?: string;
4125
+ statement_id?: string;
4126
+ };
4127
+ export type ListSubscriptionsParams = {
4128
+ expiring_before?: string;
4129
+ /**
4130
+ * Only these subscriptions, such as those of the resources shown on one page. Comma-separated.
4131
+ * @minItems 1
4132
+ * @maxItems 200
4133
+ */
4134
+ subscription_ids?: string[];
4135
+ /**
4136
+ * 1-based page number. Defaults to 1.
4137
+ * @minimum 1
4138
+ * @maximum 2147483647
4139
+ */
4140
+ page?: number;
4141
+ /**
4142
+ * Items per page. Defaults to 50; at most 200.
4143
+ * @minimum 1
4144
+ * @maximum 200
4145
+ */
4146
+ page_size?: number;
4147
+ /**
4148
+ * Only this account; all of yours when omitted.
4149
+ */
4150
+ billing_account_id?: AccountIdQueryParameter;
4151
+ /**
4152
+ * 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.
4153
+ * @minItems 1
4154
+ * @maxItems 100
4155
+ */
4156
+ project_ids?: ProjectIdsQueryParameter;
4157
+ /**
4158
+ * Only subscriptions in these statuses; omit for every status. Comma-separated, for example `status=active,suspended`.
4159
+ * @minItems 1
4160
+ * @maxItems 7
4161
+ */
4162
+ status?: SubscriptionStatus[];
4163
+ };
4164
+ export type ListCancellationsParams = {
4165
+ /**
4166
+ * 1-based page number. Defaults to 1.
4167
+ * @minimum 1
4168
+ * @maximum 2147483647
4169
+ */
4170
+ page?: number;
4171
+ /**
4172
+ * Items per page. Defaults to 50; at most 200.
4173
+ * @minimum 1
4174
+ * @maximum 200
4175
+ */
4176
+ page_size?: number;
4177
+ /**
4178
+ * Only this account; all of yours when omitted.
4179
+ */
4180
+ billing_account_id?: AccountIdQueryParameter;
4181
+ /**
4182
+ * Only cancellations that include an item of this subscription.
4183
+ */
4184
+ subscription_id?: string;
4185
+ /**
4186
+ * Only cancellations that include this subscription item.
4187
+ */
4188
+ subscription_item_id?: string;
4189
+ /**
4190
+ * Only cancellations in these statuses; omit for every status. `open` means requested, scheduled or releasing. Comma-separated, for example `status=open,failed`.
4191
+ * @minItems 1
4192
+ * @maxItems 7
4193
+ */
4194
+ status?: ListCancellationsStatusItem[];
4195
+ /**
4196
+ * 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.
4197
+ * @minItems 1
4198
+ * @maxItems 100
4199
+ */
4200
+ project_ids?: ProjectIdsQueryParameter;
4201
+ };
4202
+ export type ListCancellationsStatusItem = (typeof ListCancellationsStatusItem)[keyof typeof ListCancellationsStatusItem];
4203
+ export declare const ListCancellationsStatusItem: {
4204
+ readonly open: "open";
4205
+ readonly requested: "requested";
4206
+ readonly scheduled: "scheduled";
4207
+ readonly releasing: "releasing";
4208
+ readonly completed: "completed";
4209
+ readonly canceled: "canceled";
4210
+ readonly failed: "failed";
4211
+ };
4212
+ export type ListRenewalOptionsParams = {
4213
+ /**
4214
+ * 1-based page number. Defaults to 1.
4215
+ * @minimum 1
4216
+ * @maximum 2147483647
4217
+ */
4218
+ page?: number;
4219
+ /**
4220
+ * Items per page. Defaults to 50; at most 200.
4221
+ * @minimum 1
4222
+ * @maximum 200
4223
+ */
4224
+ page_size?: number;
4225
+ };
4226
+ export type ListAllowancesParams = {
4227
+ /**
4228
+ * 1-based page number. Defaults to 1.
4229
+ * @minimum 1
4230
+ * @maximum 2147483647
4231
+ */
4232
+ page?: number;
4233
+ /**
4234
+ * Items per page. Defaults to 50; at most 200.
4235
+ * @minimum 1
4236
+ * @maximum 200
4237
+ */
4238
+ page_size?: number;
4239
+ /**
4240
+ * Only this account; all of yours when omitted.
4241
+ */
4242
+ billing_account_id?: AccountIdQueryParameter;
4243
+ /**
4244
+ * Filter by the meter UUID.
4245
+ */
4246
+ meter_id?: string;
4247
+ /**
4248
+ * Only allowances in these statuses; omit for every status. Comma-separated, for example `status=active,depleted`.
4249
+ * @minItems 1
4250
+ * @maxItems 4
4251
+ */
4252
+ status?: AllowanceStatus[];
4253
+ product_id?: ProductId;
4254
+ /**
4255
+ * 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.
4256
+ * @minItems 1
4257
+ * @maxItems 100
4258
+ */
4259
+ project_ids?: ProjectIdsQueryParameter;
4260
+ };
4261
+ export type ListCheckoutSessionsParams = {
4262
+ /**
4263
+ * 1-based page number. Defaults to 1.
4264
+ * @minimum 1
4265
+ * @maximum 2147483647
4266
+ */
4267
+ page?: number;
4268
+ /**
4269
+ * Items per page. Defaults to 50; at most 200.
4270
+ * @minimum 1
4271
+ * @maximum 200
4272
+ */
4273
+ page_size?: number;
4274
+ /**
4275
+ * Only this account; all of yours when omitted.
4276
+ */
4277
+ billing_account_id?: AccountIdQueryParameter;
4278
+ /**
4279
+ * Only sessions in these statuses; omit for every status. Comma-separated, for example `status=open,expired`.
4280
+ * @minItems 1
4281
+ * @maxItems 3
4282
+ */
4283
+ status?: CheckoutSessionStatus[];
4284
+ /**
4285
+ * 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.
4286
+ * @minItems 1
4287
+ * @maxItems 100
4288
+ */
4289
+ project_ids?: ProjectIdsQueryParameter;
4290
+ };
4291
+ export type ListOrdersParams = {
4292
+ /**
4293
+ * 1-based page number. Defaults to 1.
4294
+ * @minimum 1
4295
+ * @maximum 2147483647
4296
+ */
4297
+ page?: number;
4298
+ /**
4299
+ * Items per page. Defaults to 50; at most 200.
4300
+ * @minimum 1
4301
+ * @maximum 200
4302
+ */
4303
+ page_size?: number;
4304
+ /**
4305
+ * Only this account; all of yours when omitted.
4306
+ */
4307
+ billing_account_id?: AccountIdQueryParameter;
4308
+ /**
4309
+ * Only orders in these statuses; omit for every status. Comma-separated, for example `status=pending,accepted`.
4310
+ * @minItems 1
4311
+ * @maxItems 6
4312
+ */
4313
+ status?: OrderStatus[];
4314
+ from?: FromParameter;
4315
+ /**
4316
+ * Exclusive.
4317
+ */
4318
+ to?: ToParameter;
4319
+ /**
4320
+ * 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.
4321
+ * @minItems 1
4322
+ * @maxItems 100
4323
+ */
4324
+ project_ids?: ProjectIdsQueryParameter;
4325
+ };
4326
+ export type PreviewOrderRefundParams = {
4327
+ /**
4328
+ * Only these items of the order. Omit for the whole order.
4329
+ * @minItems 1
4330
+ * @maxItems 100
4331
+ */
4332
+ order_item_ids?: string[];
4333
+ };
4334
+ export type ListOrderItemsParams = {
4335
+ /**
4336
+ * 1-based page number. Defaults to 1.
4337
+ * @minimum 1
4338
+ * @maximum 2147483647
4339
+ */
4340
+ page?: number;
4341
+ /**
4342
+ * Items per page. Defaults to 50; at most 200.
4343
+ * @minimum 1
4344
+ * @maximum 200
4345
+ */
4346
+ page_size?: number;
4347
+ };
4348
+ export type ListEntitlementsParams = {
4349
+ /**
4350
+ * 1-based page number. Defaults to 1.
4351
+ * @minimum 1
4352
+ * @maximum 2147483647
4353
+ */
4354
+ page?: number;
4355
+ /**
4356
+ * Items per page. Defaults to 50; at most 200.
4357
+ * @minimum 1
4358
+ * @maximum 200
4359
+ */
4360
+ page_size?: number;
4361
+ /**
4362
+ * Only this account; all of yours when omitted.
4363
+ */
4364
+ billing_account_id?: AccountIdQueryParameter;
4365
+ /**
4366
+ * 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.
4367
+ * @minItems 1
4368
+ * @maxItems 100
4369
+ */
4370
+ project_ids?: ProjectIdsQueryParameter;
4371
+ product_id?: ProductId;
4372
+ };
4373
+ export type ListFeatureGrantsParams = {
4374
+ /**
4375
+ * 1-based page number. Defaults to 1.
4376
+ * @minimum 1
4377
+ * @maximum 2147483647
4378
+ */
4379
+ page?: number;
4380
+ /**
4381
+ * Items per page. Defaults to 50; at most 200.
4382
+ * @minimum 1
4383
+ * @maximum 200
4384
+ */
4385
+ page_size?: number;
4386
+ /**
4387
+ * Only this account; all of yours when omitted.
4388
+ */
4389
+ billing_account_id?: AccountIdQueryParameter;
4390
+ product_id?: ProductId;
4391
+ /**
4392
+ * Only feature grants in these statuses; omit for every status. Comma-separated, for example `status=scheduled,active`.
4393
+ * @minItems 1
4394
+ * @maxItems 4
4395
+ */
4396
+ status?: FeatureGrantStatus[];
4397
+ };
4398
+ export type ListPricesParams = {
4399
+ /**
4400
+ * 1-based page number. Defaults to 1.
4401
+ * @minimum 1
4402
+ * @maximum 2147483647
4403
+ */
4404
+ page?: number;
4405
+ /**
4406
+ * Items per page. Defaults to 50; at most 200.
4407
+ * @minimum 1
4408
+ * @maximum 200
4409
+ */
4410
+ page_size?: number;
4411
+ /**
4412
+ * ISO 4217, three uppercase letters.
4413
+ * @minLength 3
4414
+ * @maxLength 3
4415
+ */
4416
+ currency: string;
4417
+ product_id?: ProductId;
4418
+ /**
4419
+ * Narrows to one price type.
4420
+ */
4421
+ type?: PriceType;
4422
+ /**
4423
+ * Narrows to one usage type.
4424
+ */
4425
+ usage_type?: UsageType;
4426
+ };
4427
+ export type ListPricesHeaders = {
4428
+ /**
4429
+ * The `ETag` of an earlier response. When the catalogue has not changed since, the response is `304` with no body.
4430
+ */
4431
+ "If-None-Match"?: IfNoneMatchParameter;
4432
+ };
4433
+ export type ListProductsParams = {
4434
+ /**
4435
+ * 1-based page number. Defaults to 1.
4436
+ * @minimum 1
4437
+ * @maximum 2147483647
4438
+ */
4439
+ page?: number;
4440
+ /**
4441
+ * Items per page. Defaults to 50; at most 200.
4442
+ * @minimum 1
4443
+ * @maximum 200
4444
+ */
4445
+ page_size?: number;
4446
+ };
4447
+ export type ListProductsHeaders = {
4448
+ /**
4449
+ * The `ETag` of an earlier response. When the catalogue has not changed since, the response is `304` with no body.
4450
+ */
4451
+ "If-None-Match"?: IfNoneMatchParameter;
4452
+ };
4453
+ export type GetProductHeaders = {
4454
+ /**
4455
+ * The `ETag` of an earlier response. When the catalogue has not changed since, the response is `304` with no body.
4456
+ */
4457
+ "If-None-Match"?: IfNoneMatchParameter;
4458
+ };
4459
+ export type GetPlanHeaders = {
4460
+ /**
4461
+ * The `ETag` of an earlier response. When the catalogue has not changed since, the response is `304` with no body.
4462
+ */
4463
+ "If-None-Match"?: IfNoneMatchParameter;
4464
+ };
4465
+ export type GetPriceHeaders = {
4466
+ /**
4467
+ * The `ETag` of an earlier response. When the catalogue has not changed since, the response is `304` with no body.
4468
+ */
4469
+ "If-None-Match"?: IfNoneMatchParameter;
4470
+ };
4471
+ export type ListPlansParams = {
4472
+ product_id: ProductId;
4473
+ /**
4474
+ * 1-based page number. Defaults to 1.
4475
+ * @minimum 1
4476
+ * @maximum 2147483647
4477
+ */
4478
+ page?: number;
4479
+ /**
4480
+ * Items per page. Defaults to 50; at most 200.
4481
+ * @minimum 1
4482
+ * @maximum 200
4483
+ */
4484
+ page_size?: number;
4485
+ };
4486
+ export type ListPlansHeaders = {
4487
+ /**
4488
+ * The `ETag` of an earlier response. When the catalogue has not changed since, the response is `304` with no body.
4489
+ */
4490
+ "If-None-Match"?: IfNoneMatchParameter;
4491
+ };
4492
+ export type ListPricesByPlanParams = {
4493
+ /**
4494
+ * 1-based page number. Defaults to 1.
4495
+ * @minimum 1
4496
+ * @maximum 2147483647
4497
+ */
4498
+ page?: number;
4499
+ /**
4500
+ * Items per page. Defaults to 50; at most 200.
4501
+ * @minimum 1
4502
+ * @maximum 200
4503
+ */
4504
+ page_size?: number;
4505
+ currency?: string;
4506
+ /**
4507
+ * Narrows to one price type.
4508
+ */
4509
+ type?: PriceType;
4510
+ /**
4511
+ * Narrows to one usage type.
4512
+ */
4513
+ usage_type?: UsageType;
4514
+ };
4515
+ export type ListPricesByPlanHeaders = {
4516
+ /**
4517
+ * The `ETag` of an earlier response. When the catalogue has not changed since, the response is `304` with no body.
4518
+ */
4519
+ "If-None-Match"?: IfNoneMatchParameter;
4520
+ };
4521
+ export type ListActiveResourcesParams = {
4522
+ /**
4523
+ * 1-based page number. Defaults to 1.
4524
+ * @minimum 1
4525
+ * @maximum 2147483647
4526
+ */
4527
+ page?: number;
4528
+ /**
4529
+ * Items per page. Defaults to 50; at most 200.
4530
+ * @minimum 1
4531
+ * @maximum 200
4532
+ */
4533
+ page_size?: number;
4534
+ resource_id?: string;
4535
+ /**
4536
+ * Only this account; all of yours when omitted.
4537
+ */
4538
+ billing_account_id?: AccountIdQueryParameter;
4539
+ /**
4540
+ * 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.
4541
+ * @minItems 1
4542
+ * @maxItems 100
4543
+ */
4544
+ project_ids?: ProjectIdsQueryParameter;
4545
+ meter_id?: string;
4546
+ product_id?: ProductId;
4547
+ /**
4548
+ * Only metering in these statuses; omit for every status. Comma-separated, for example `status=active,suspended`.
4549
+ * @minItems 1
4550
+ * @maxItems 4
4551
+ */
4552
+ status?: ActiveResourceStatus[];
4553
+ };
4554
+ export type ListSpendParams = {
4555
+ from: FromRequiredParameter;
4556
+ /**
4557
+ * Exclusive. One month is `[2026-09-01, 2026-10-01)`.
4558
+ */
4559
+ to: ToRequiredParameter;
4560
+ /**
4561
+ * `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.
4562
+ */
4563
+ group_by?: ListSpendGroupBy;
4564
+ /**
4565
+ * Filter by the fixed platform service ID.
4566
+ */
4567
+ product_id?: ProductId;
4568
+ /**
4569
+ * 1-based page number. Defaults to 1.
4570
+ * @minimum 1
4571
+ * @maximum 2147483647
4572
+ */
4573
+ page?: number;
4574
+ /**
4575
+ * Items per page. Defaults to 50; at most 200.
4576
+ * @minimum 1
4577
+ * @maximum 200
4578
+ */
4579
+ page_size?: number;
4580
+ /**
4581
+ * The billing account whose currency and charges the report uses; it must be authorized.
4582
+ */
4583
+ billing_account_id: number;
4584
+ /**
4585
+ * 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.
4586
+ * @minItems 1
4587
+ * @maxItems 100
4588
+ */
4589
+ project_ids?: ProjectIdsQueryParameter;
4590
+ };
4591
+ export type ListSpendGroupBy = (typeof ListSpendGroupBy)[keyof typeof ListSpendGroupBy];
4592
+ export declare const ListSpendGroupBy: {
4593
+ readonly product: "product";
4594
+ readonly plan: "plan";
4595
+ readonly resource: "resource";
4596
+ readonly meter: "meter";
4597
+ };
4598
+ export type ListMonthlyStatementsParams = {
4599
+ billing_account_id?: number;
4600
+ /**
4601
+ * Earliest period start, inclusive.
4602
+ */
4603
+ from?: string;
4604
+ /**
4605
+ * Latest period start, exclusive.
4606
+ */
4607
+ to?: string;
4608
+ /**
4609
+ * 1-based page number. Defaults to 1.
4610
+ * @minimum 1
4611
+ * @maximum 2147483647
4612
+ */
4613
+ page?: number;
4614
+ /**
4615
+ * Items per page. Defaults to 50; at most 200.
4616
+ * @minimum 1
4617
+ * @maximum 200
4618
+ */
4619
+ page_size?: number;
4620
+ };
4621
+ export type ListStatementsParams = {
4622
+ billing_account_id?: number;
4623
+ /**
4624
+ * Only statements in these statuses; omit for every status. Comma-separated.
4625
+ * @minItems 1
4626
+ * @maxItems 2
4627
+ */
4628
+ status?: StatementStatus[];
4629
+ from?: string;
4630
+ to?: string;
4631
+ /**
4632
+ * 1-based page number. Defaults to 1.
4633
+ * @minimum 1
4634
+ * @maximum 2147483647
4635
+ */
4636
+ page?: number;
4637
+ /**
4638
+ * Items per page. Defaults to 50; at most 200.
4639
+ * @minimum 1
4640
+ * @maximum 200
4641
+ */
4642
+ page_size?: number;
4643
+ };
4644
+ export type GetStatementUsageParams = {
4645
+ group_by?: GetStatementUsageGroupBy;
4646
+ /**
4647
+ * @maxItems 100
4648
+ */
4649
+ project_ids?: string[];
4650
+ /**
4651
+ * @maxLength 64
4652
+ */
4653
+ product_id?: string;
4654
+ meter_id?: string;
4655
+ /**
4656
+ * 1-based page number. Defaults to 1.
4657
+ * @minimum 1
4658
+ * @maximum 2147483647
4659
+ */
4660
+ page?: number;
4661
+ /**
4662
+ * Items per page. Defaults to 50; at most 200.
4663
+ * @minimum 1
4664
+ * @maximum 200
4665
+ */
4666
+ page_size?: number;
4667
+ };
4668
+ export type GetStatementUsageGroupBy = (typeof GetStatementUsageGroupBy)[keyof typeof GetStatementUsageGroupBy];
4669
+ export declare const GetStatementUsageGroupBy: {
4670
+ readonly project: "project";
4671
+ readonly product: "product";
4672
+ readonly meter: "meter";
4673
+ };