@leaflow/sdk 0.213.1 → 0.214.0

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 (1026) hide show
  1. package/dist/billing/type/checkout/v1/generated/models.d.ts +10 -1
  2. package/dist/billing/type/checkout/v1/generated/validators/checkoutOptions.zod.d.ts +1 -0
  3. package/dist/billing/type/checkout/v1/generated/validators/checkoutOptions.zod.js +5 -1
  4. package/dist/billing/type/funds/v1/generated/functions.d.ts +1 -1
  5. package/dist/billing/type/funds/v1/generated/functions.js +1 -1
  6. package/dist/billing/type/funds/v1/generated/models.d.ts +4 -4
  7. package/dist/billing/type/funds/v1/generated/schemas.zod.d.ts +1 -1
  8. package/dist/billing/type/funds/v1/generated/schemas.zod.js +1 -1
  9. package/dist/billing/type/funds/v1/generated/validators/funds.zod.d.ts +1 -1
  10. package/dist/billing/type/funds/v1/generated/validators/funds.zod.js +4 -4
  11. package/dist/billing/type/funds/v1/generated/validators/money.zod.d.ts +1 -1
  12. package/dist/billing/type/funds/v1/generated/validators/money.zod.js +1 -1
  13. package/dist/billing/v1/generated/functions.d.ts +120 -85
  14. package/dist/billing/v1/generated/functions.js +142 -104
  15. package/dist/billing/v1/generated/models.d.ts +707 -566
  16. package/dist/billing/v1/generated/models.js +59 -52
  17. package/dist/billing/v1/generated/schemas.zod.d.ts +71 -43
  18. package/dist/billing/v1/generated/schemas.zod.js +82 -53
  19. package/dist/billing/v1/generated/validators/accountBalance.zod.d.ts +1 -1
  20. package/dist/billing/v1/generated/validators/accountBalance.zod.js +1 -1
  21. package/dist/billing/v1/generated/validators/accountDeletionObjection.zod.d.ts +1 -1
  22. package/dist/billing/v1/generated/validators/accountDeletionObjection.zod.js +1 -1
  23. package/dist/billing/v1/generated/validators/accountDeletionReadiness.zod.d.ts +1 -1
  24. package/dist/billing/v1/generated/validators/accountDeletionReadiness.zod.js +1 -1
  25. package/dist/billing/v1/generated/validators/accountDeletionReadinessItem.zod.d.ts +1 -1
  26. package/dist/billing/v1/generated/validators/accountDeletionReadinessItem.zod.js +1 -1
  27. package/dist/billing/v1/generated/validators/accountIdentity.zod.d.ts +1 -1
  28. package/dist/billing/v1/generated/validators/accountIdentity.zod.js +1 -1
  29. package/dist/billing/v1/generated/validators/activeResource.zod.d.ts +1 -1
  30. package/dist/billing/v1/generated/validators/activeResource.zod.js +1 -1
  31. package/dist/billing/v1/generated/validators/activeResourceList.zod.d.ts +1 -1
  32. package/dist/billing/v1/generated/validators/activeResourceList.zod.js +1 -1
  33. package/dist/billing/v1/generated/validators/activeResourceStatus.zod.d.ts +1 -1
  34. package/dist/billing/v1/generated/validators/activeResourceStatus.zod.js +1 -1
  35. package/dist/billing/v1/generated/validators/allowance.zod.d.ts +1 -1
  36. package/dist/billing/v1/generated/validators/allowance.zod.js +1 -1
  37. package/dist/billing/v1/generated/validators/allowanceList.zod.d.ts +1 -1
  38. package/dist/billing/v1/generated/validators/allowanceList.zod.js +1 -1
  39. package/dist/billing/v1/generated/validators/allowanceStatus.zod.d.ts +1 -1
  40. package/dist/billing/v1/generated/validators/allowanceStatus.zod.js +1 -1
  41. package/dist/billing/v1/generated/validators/applicability.zod.d.ts +1 -1
  42. package/dist/billing/v1/generated/validators/applicability.zod.js +1 -1
  43. package/dist/billing/v1/generated/validators/applicablePlan.zod.d.ts +1 -1
  44. package/dist/billing/v1/generated/validators/applicablePlan.zod.js +1 -1
  45. package/dist/billing/v1/generated/validators/appliedCredit.zod.d.ts +1 -1
  46. package/dist/billing/v1/generated/validators/appliedCredit.zod.js +1 -1
  47. package/dist/billing/v1/generated/validators/billingAccount.zod.d.ts +1 -1
  48. package/dist/billing/v1/generated/validators/billingAccount.zod.js +1 -1
  49. package/dist/billing/v1/generated/validators/billingAccountCreate.zod.d.ts +1 -1
  50. package/dist/billing/v1/generated/validators/billingAccountCreate.zod.js +1 -1
  51. package/dist/billing/v1/generated/validators/billingAccountList.zod.d.ts +1 -1
  52. package/dist/billing/v1/generated/validators/billingAccountList.zod.js +1 -1
  53. package/dist/billing/v1/generated/validators/billingAccountStatus.zod.d.ts +1 -1
  54. package/dist/billing/v1/generated/validators/billingAccountStatus.zod.js +1 -1
  55. package/dist/billing/v1/generated/validators/billingAccountUpdate.zod.d.ts +1 -1
  56. package/dist/billing/v1/generated/validators/billingAccountUpdate.zod.js +1 -1
  57. package/dist/billing/v1/generated/validators/billingScheme.zod.d.ts +1 -1
  58. package/dist/billing/v1/generated/validators/billingScheme.zod.js +1 -1
  59. package/dist/billing/v1/generated/validators/cancelSubscriptionRequest.zod.d.ts +1 -1
  60. package/dist/billing/v1/generated/validators/cancelSubscriptionRequest.zod.js +1 -1
  61. package/dist/billing/v1/generated/validators/cancellation.zod.d.ts +1 -1
  62. package/dist/billing/v1/generated/validators/cancellation.zod.js +1 -1
  63. package/dist/billing/v1/generated/validators/cancellationCreate.zod.d.ts +1 -1
  64. package/dist/billing/v1/generated/validators/cancellationCreate.zod.js +1 -1
  65. package/dist/billing/v1/generated/validators/cancellationItem.zod.d.ts +1 -1
  66. package/dist/billing/v1/generated/validators/cancellationItem.zod.js +1 -1
  67. package/dist/billing/v1/generated/validators/cancellationItemInput.zod.d.ts +1 -1
  68. package/dist/billing/v1/generated/validators/cancellationItemInput.zod.js +1 -1
  69. package/dist/billing/v1/generated/validators/cancellationList.zod.d.ts +1 -1
  70. package/dist/billing/v1/generated/validators/cancellationList.zod.js +1 -1
  71. package/dist/billing/v1/generated/validators/cancellationMode.zod.d.ts +1 -1
  72. package/dist/billing/v1/generated/validators/cancellationMode.zod.js +1 -1
  73. package/dist/billing/v1/generated/validators/cancellationPolicy.zod.d.ts +1 -1
  74. package/dist/billing/v1/generated/validators/cancellationPolicy.zod.js +1 -1
  75. package/dist/billing/v1/generated/validators/cancellationPreview.zod.d.ts +1 -1
  76. package/dist/billing/v1/generated/validators/cancellationPreview.zod.js +1 -1
  77. package/dist/billing/v1/generated/validators/cancellationPreviewItem.zod.d.ts +1 -1
  78. package/dist/billing/v1/generated/validators/cancellationPreviewItem.zod.js +1 -1
  79. package/dist/billing/v1/generated/validators/cancellationPreviewRequest.zod.d.ts +1 -1
  80. package/dist/billing/v1/generated/validators/cancellationPreviewRequest.zod.js +1 -1
  81. package/dist/billing/v1/generated/validators/checkoutMode.zod.d.ts +1 -1
  82. package/dist/billing/v1/generated/validators/checkoutMode.zod.js +1 -1
  83. package/dist/billing/v1/generated/validators/checkoutOptions.zod.d.ts +2 -1
  84. package/dist/billing/v1/generated/validators/checkoutOptions.zod.js +6 -2
  85. package/dist/billing/v1/generated/validators/checkoutSession.zod.d.ts +268 -9
  86. package/dist/billing/v1/generated/validators/checkoutSession.zod.js +48 -13
  87. package/dist/billing/v1/generated/validators/checkoutSessionConfirm.zod.d.ts +1 -3
  88. package/dist/billing/v1/generated/validators/checkoutSessionConfirm.zod.js +3 -10
  89. package/dist/billing/v1/generated/validators/checkoutSessionCreate.zod.d.ts +1 -1
  90. package/dist/billing/v1/generated/validators/checkoutSessionCreate.zod.js +1 -1
  91. package/dist/billing/v1/generated/validators/checkoutSessionDiscount.zod.d.ts +29 -0
  92. package/dist/billing/v1/generated/validators/checkoutSessionDiscount.zod.js +32 -0
  93. package/dist/billing/v1/generated/validators/checkoutSessionItem.zod.d.ts +32 -4
  94. package/dist/billing/v1/generated/validators/checkoutSessionItem.zod.js +62 -13
  95. package/dist/billing/v1/generated/validators/checkoutSessionItemDowngradeRefund.zod.d.ts +14 -0
  96. package/dist/billing/v1/generated/validators/checkoutSessionItemDowngradeRefund.zod.js +15 -0
  97. package/dist/billing/v1/generated/validators/checkoutSessionItemInput.zod.d.ts +42 -0
  98. package/dist/billing/v1/generated/validators/checkoutSessionItemInput.zod.js +41 -0
  99. package/dist/billing/v1/generated/validators/checkoutSessionList.zod.d.ts +268 -9
  100. package/dist/billing/v1/generated/validators/checkoutSessionList.zod.js +1 -1
  101. package/dist/billing/v1/generated/validators/checkoutSessionPreviewRequest.zod.d.ts +91 -0
  102. package/dist/billing/v1/generated/validators/checkoutSessionPreviewRequest.zod.js +69 -0
  103. package/dist/billing/v1/generated/validators/checkoutSessionPreviewSubscription.zod.d.ts +57 -0
  104. package/dist/billing/v1/generated/validators/checkoutSessionPreviewSubscription.zod.js +22 -0
  105. package/dist/billing/v1/generated/validators/checkoutSessionResult.zod.d.ts +268 -9
  106. package/dist/billing/v1/generated/validators/checkoutSessionResult.zod.js +1 -1
  107. package/dist/billing/v1/generated/validators/checkoutSessionStatus.zod.d.ts +1 -1
  108. package/dist/billing/v1/generated/validators/checkoutSessionStatus.zod.js +2 -2
  109. package/dist/billing/v1/generated/validators/checkoutSessionSubscription.zod.d.ts +83 -3
  110. package/dist/billing/v1/generated/validators/checkoutSessionSubscription.zod.js +37 -8
  111. package/dist/billing/v1/generated/validators/checkoutSessionSubscriptionInput.zod.d.ts +1 -1
  112. package/dist/billing/v1/generated/validators/checkoutSessionSubscriptionInput.zod.js +1 -1
  113. package/dist/billing/v1/generated/validators/checkoutSessionTrial.zod.d.ts +24 -0
  114. package/dist/billing/v1/generated/validators/checkoutSessionTrial.zod.js +16 -0
  115. package/dist/billing/v1/generated/validators/checkoutSessionUpdate.zod.d.ts +16 -0
  116. package/dist/billing/v1/generated/validators/checkoutSessionUpdate.zod.js +27 -0
  117. package/dist/billing/v1/generated/validators/contact.zod.d.ts +1 -1
  118. package/dist/billing/v1/generated/validators/contact.zod.js +1 -1
  119. package/dist/billing/v1/generated/validators/contactCreate.zod.d.ts +1 -1
  120. package/dist/billing/v1/generated/validators/contactCreate.zod.js +1 -1
  121. package/dist/billing/v1/generated/validators/contactList.zod.d.ts +1 -1
  122. package/dist/billing/v1/generated/validators/contactList.zod.js +1 -1
  123. package/dist/billing/v1/generated/validators/contactUpdate.zod.d.ts +1 -1
  124. package/dist/billing/v1/generated/validators/contactUpdate.zod.js +1 -1
  125. package/dist/billing/v1/generated/validators/creditGrant.zod.d.ts +1 -1
  126. package/dist/billing/v1/generated/validators/creditGrant.zod.js +1 -1
  127. package/dist/billing/v1/generated/validators/creditGrantList.zod.d.ts +1 -1
  128. package/dist/billing/v1/generated/validators/creditGrantList.zod.js +1 -1
  129. package/dist/billing/v1/generated/validators/creditGrantStatus.zod.d.ts +1 -1
  130. package/dist/billing/v1/generated/validators/creditGrantStatus.zod.js +1 -1
  131. package/dist/billing/v1/generated/validators/creditGroup.zod.d.ts +1 -1
  132. package/dist/billing/v1/generated/validators/creditGroup.zod.js +1 -1
  133. package/dist/billing/v1/generated/validators/creditNote.zod.d.ts +1 -1
  134. package/dist/billing/v1/generated/validators/creditNote.zod.js +1 -1
  135. package/dist/billing/v1/generated/validators/creditNoteItem.zod.d.ts +1 -1
  136. package/dist/billing/v1/generated/validators/creditNoteItem.zod.js +1 -1
  137. package/dist/billing/v1/generated/validators/creditNoteItemList.zod.d.ts +1 -1
  138. package/dist/billing/v1/generated/validators/creditNoteItemList.zod.js +1 -1
  139. package/dist/billing/v1/generated/validators/creditNoteList.zod.d.ts +1 -1
  140. package/dist/billing/v1/generated/validators/creditNoteList.zod.js +1 -1
  141. package/dist/billing/v1/generated/validators/creditNoteStatus.zod.d.ts +1 -1
  142. package/dist/billing/v1/generated/validators/creditNoteStatus.zod.js +1 -1
  143. package/dist/billing/v1/generated/validators/currency.zod.d.ts +1 -1
  144. package/dist/billing/v1/generated/validators/currency.zod.js +1 -1
  145. package/dist/billing/v1/generated/validators/currencyList.zod.d.ts +1 -1
  146. package/dist/billing/v1/generated/validators/currencyList.zod.js +1 -1
  147. package/dist/billing/v1/generated/validators/cursorPagination.zod.d.ts +1 -1
  148. package/dist/billing/v1/generated/validators/cursorPagination.zod.js +1 -1
  149. package/dist/billing/v1/generated/validators/customerAddress.zod.d.ts +16 -0
  150. package/dist/billing/v1/generated/validators/customerAddress.zod.js +24 -0
  151. package/dist/billing/v1/generated/validators/discount.zod.d.ts +1 -1
  152. package/dist/billing/v1/generated/validators/discount.zod.js +1 -1
  153. package/dist/billing/v1/generated/validators/discountList.zod.d.ts +1 -1
  154. package/dist/billing/v1/generated/validators/discountList.zod.js +1 -1
  155. package/dist/billing/v1/generated/validators/discountStatus.zod.d.ts +1 -1
  156. package/dist/billing/v1/generated/validators/discountStatus.zod.js +1 -1
  157. package/dist/billing/v1/generated/validators/entitlement.zod.d.ts +1 -1
  158. package/dist/billing/v1/generated/validators/entitlement.zod.js +1 -1
  159. package/dist/billing/v1/generated/validators/entitlementList.zod.d.ts +1 -1
  160. package/dist/billing/v1/generated/validators/entitlementList.zod.js +1 -1
  161. package/dist/billing/v1/generated/validators/error.zod.d.ts +1 -1
  162. package/dist/billing/v1/generated/validators/error.zod.js +1 -1
  163. package/dist/billing/v1/generated/validators/errorStatus.zod.d.ts +1 -1
  164. package/dist/billing/v1/generated/validators/errorStatus.zod.js +1 -1
  165. package/dist/billing/v1/generated/validators/featureGrant.zod.d.ts +1 -1
  166. package/dist/billing/v1/generated/validators/featureGrant.zod.js +1 -1
  167. package/dist/billing/v1/generated/validators/featureGrantList.zod.d.ts +1 -1
  168. package/dist/billing/v1/generated/validators/featureGrantList.zod.js +1 -1
  169. package/dist/billing/v1/generated/validators/featureGrantStatus.zod.d.ts +1 -1
  170. package/dist/billing/v1/generated/validators/featureGrantStatus.zod.js +1 -1
  171. package/dist/billing/v1/generated/validators/fieldViolation.zod.d.ts +1 -1
  172. package/dist/billing/v1/generated/validators/fieldViolation.zod.js +1 -1
  173. package/dist/billing/v1/generated/validators/funds.zod.d.ts +1 -1
  174. package/dist/billing/v1/generated/validators/funds.zod.js +4 -4
  175. package/dist/billing/v1/generated/validators/getPlanHeaders.zod.d.ts +1 -1
  176. package/dist/billing/v1/generated/validators/getPlanHeaders.zod.js +1 -1
  177. package/dist/billing/v1/generated/validators/getPriceHeaders.zod.d.ts +1 -1
  178. package/dist/billing/v1/generated/validators/getPriceHeaders.zod.js +1 -1
  179. package/dist/billing/v1/generated/validators/getProductHeaders.zod.d.ts +1 -1
  180. package/dist/billing/v1/generated/validators/getProductHeaders.zod.js +1 -1
  181. package/dist/billing/v1/generated/validators/getStatementUsageParams.zod.d.ts +1 -1
  182. package/dist/billing/v1/generated/validators/getStatementUsageParams.zod.js +1 -1
  183. package/dist/billing/v1/generated/validators/invoice.zod.d.ts +1 -1
  184. package/dist/billing/v1/generated/validators/invoice.zod.js +1 -1
  185. package/dist/billing/v1/generated/validators/invoiceItem.zod.d.ts +1 -1
  186. package/dist/billing/v1/generated/validators/invoiceItem.zod.js +1 -1
  187. package/dist/billing/v1/generated/validators/invoiceItemList.zod.d.ts +1 -1
  188. package/dist/billing/v1/generated/validators/invoiceItemList.zod.js +1 -1
  189. package/dist/billing/v1/generated/validators/invoiceItemProration.zod.d.ts +1 -1
  190. package/dist/billing/v1/generated/validators/invoiceItemProration.zod.js +1 -1
  191. package/dist/billing/v1/generated/validators/invoiceList.zod.d.ts +1 -1
  192. package/dist/billing/v1/generated/validators/invoiceList.zod.js +1 -1
  193. package/dist/billing/v1/generated/validators/invoiceStatus.zod.d.ts +1 -1
  194. package/dist/billing/v1/generated/validators/invoiceStatus.zod.js +1 -1
  195. package/dist/billing/v1/generated/validators/invoiceSummary.zod.d.ts +1 -1
  196. package/dist/billing/v1/generated/validators/invoiceSummary.zod.js +1 -1
  197. package/dist/billing/v1/generated/validators/listAccountDiscountsParams.zod.d.ts +1 -1
  198. package/dist/billing/v1/generated/validators/listAccountDiscountsParams.zod.js +1 -1
  199. package/dist/billing/v1/generated/validators/listActiveResourcesParams.zod.d.ts +1 -1
  200. package/dist/billing/v1/generated/validators/listActiveResourcesParams.zod.js +1 -1
  201. package/dist/billing/v1/generated/validators/listAllowancesParams.zod.d.ts +1 -1
  202. package/dist/billing/v1/generated/validators/listAllowancesParams.zod.js +1 -1
  203. package/dist/billing/v1/generated/validators/listBillingAccountsParams.zod.d.ts +1 -1
  204. package/dist/billing/v1/generated/validators/listBillingAccountsParams.zod.js +1 -1
  205. package/dist/billing/v1/generated/validators/listCancellationsParams.zod.d.ts +1 -1
  206. package/dist/billing/v1/generated/validators/listCancellationsParams.zod.js +1 -1
  207. package/dist/billing/v1/generated/validators/listCheckoutSessionsParams.zod.d.ts +1 -1
  208. package/dist/billing/v1/generated/validators/listCheckoutSessionsParams.zod.js +1 -1
  209. package/dist/billing/v1/generated/validators/listContactsParams.zod.d.ts +1 -1
  210. package/dist/billing/v1/generated/validators/listContactsParams.zod.js +1 -1
  211. package/dist/billing/v1/generated/validators/listCreditGrantsParams.zod.d.ts +1 -1
  212. package/dist/billing/v1/generated/validators/listCreditGrantsParams.zod.js +1 -1
  213. package/dist/billing/v1/generated/validators/listCreditNoteItemsParams.zod.d.ts +1 -1
  214. package/dist/billing/v1/generated/validators/listCreditNoteItemsParams.zod.js +1 -1
  215. package/dist/billing/v1/generated/validators/listCreditNotesParams.zod.d.ts +1 -1
  216. package/dist/billing/v1/generated/validators/listCreditNotesParams.zod.js +1 -1
  217. package/dist/billing/v1/generated/validators/listCurrenciesParams.zod.d.ts +1 -1
  218. package/dist/billing/v1/generated/validators/listCurrenciesParams.zod.js +1 -1
  219. package/dist/billing/v1/generated/validators/listEntitlementsParams.zod.d.ts +1 -1
  220. package/dist/billing/v1/generated/validators/listEntitlementsParams.zod.js +1 -1
  221. package/dist/billing/v1/generated/validators/listFeatureGrantsParams.zod.d.ts +1 -1
  222. package/dist/billing/v1/generated/validators/listFeatureGrantsParams.zod.js +1 -1
  223. package/dist/billing/v1/generated/validators/listInvoiceItemsParams.zod.d.ts +1 -1
  224. package/dist/billing/v1/generated/validators/listInvoiceItemsParams.zod.js +1 -1
  225. package/dist/billing/v1/generated/validators/listInvoicesParams.zod.d.ts +1 -1
  226. package/dist/billing/v1/generated/validators/listInvoicesParams.zod.js +1 -1
  227. package/dist/billing/v1/generated/validators/listMonthlyStatementsParams.zod.d.ts +1 -1
  228. package/dist/billing/v1/generated/validators/listMonthlyStatementsParams.zod.js +1 -1
  229. package/dist/billing/v1/generated/validators/listOrderItemsParams.zod.d.ts +1 -1
  230. package/dist/billing/v1/generated/validators/listOrderItemsParams.zod.js +1 -1
  231. package/dist/billing/v1/generated/validators/listOrdersParams.zod.d.ts +1 -1
  232. package/dist/billing/v1/generated/validators/listOrdersParams.zod.js +1 -1
  233. package/dist/billing/v1/generated/validators/listPaymentMethodsParams.zod.d.ts +1 -1
  234. package/dist/billing/v1/generated/validators/listPaymentMethodsParams.zod.js +1 -1
  235. package/dist/billing/v1/generated/validators/listPaymentOptionsParams.zod.d.ts +1 -1
  236. package/dist/billing/v1/generated/validators/listPaymentOptionsParams.zod.js +1 -1
  237. package/dist/billing/v1/generated/validators/listPlansHeaders.zod.d.ts +1 -1
  238. package/dist/billing/v1/generated/validators/listPlansHeaders.zod.js +1 -1
  239. package/dist/billing/v1/generated/validators/listPlansParams.zod.d.ts +1 -1
  240. package/dist/billing/v1/generated/validators/listPlansParams.zod.js +1 -1
  241. package/dist/billing/v1/generated/validators/listPricesByPlanHeaders.zod.d.ts +1 -1
  242. package/dist/billing/v1/generated/validators/listPricesByPlanHeaders.zod.js +1 -1
  243. package/dist/billing/v1/generated/validators/listPricesByPlanParams.zod.d.ts +1 -1
  244. package/dist/billing/v1/generated/validators/listPricesByPlanParams.zod.js +1 -1
  245. package/dist/billing/v1/generated/validators/listPricesHeaders.zod.d.ts +1 -1
  246. package/dist/billing/v1/generated/validators/listPricesHeaders.zod.js +1 -1
  247. package/dist/billing/v1/generated/validators/listPricesParams.zod.d.ts +1 -1
  248. package/dist/billing/v1/generated/validators/listPricesParams.zod.js +1 -1
  249. package/dist/billing/v1/generated/validators/listProductsHeaders.zod.d.ts +1 -1
  250. package/dist/billing/v1/generated/validators/listProductsHeaders.zod.js +1 -1
  251. package/dist/billing/v1/generated/validators/listProductsParams.zod.d.ts +1 -1
  252. package/dist/billing/v1/generated/validators/listProductsParams.zod.js +1 -1
  253. package/dist/billing/v1/generated/validators/listProjectAssignmentsParams.zod.d.ts +1 -1
  254. package/dist/billing/v1/generated/validators/listProjectAssignmentsParams.zod.js +1 -1
  255. package/dist/billing/v1/generated/validators/listRefundsParams.zod.d.ts +1 -1
  256. package/dist/billing/v1/generated/validators/listRefundsParams.zod.js +1 -1
  257. package/dist/billing/v1/generated/validators/listRenewalOptionsParams.zod.d.ts +1 -1
  258. package/dist/billing/v1/generated/validators/listRenewalOptionsParams.zod.js +1 -1
  259. package/dist/billing/v1/generated/validators/listSpendParams.zod.d.ts +1 -1
  260. package/dist/billing/v1/generated/validators/listSpendParams.zod.js +1 -1
  261. package/dist/billing/v1/generated/validators/listStatementsParams.zod.d.ts +1 -1
  262. package/dist/billing/v1/generated/validators/listStatementsParams.zod.js +1 -1
  263. package/dist/billing/v1/generated/validators/listSubscriptionsParams.zod.d.ts +1 -1
  264. package/dist/billing/v1/generated/validators/listSubscriptionsParams.zod.js +1 -1
  265. package/dist/billing/v1/generated/validators/listTopUpsParams.zod.d.ts +1 -1
  266. package/dist/billing/v1/generated/validators/listTopUpsParams.zod.js +1 -1
  267. package/dist/billing/v1/generated/validators/listTransactionsParams.zod.d.ts +1 -1
  268. package/dist/billing/v1/generated/validators/listTransactionsParams.zod.js +1 -1
  269. package/dist/billing/v1/generated/validators/listTrialGrantsParams.zod.d.ts +27 -0
  270. package/dist/billing/v1/generated/validators/listTrialGrantsParams.zod.js +28 -0
  271. package/dist/billing/v1/generated/validators/listUsageChargesParams.zod.d.ts +1 -1
  272. package/dist/billing/v1/generated/validators/listUsageChargesParams.zod.js +1 -1
  273. package/dist/billing/v1/generated/validators/listWithdrawalItemsParams.zod.d.ts +1 -1
  274. package/dist/billing/v1/generated/validators/listWithdrawalItemsParams.zod.js +1 -1
  275. package/dist/billing/v1/generated/validators/listWithdrawalsParams.zod.d.ts +1 -1
  276. package/dist/billing/v1/generated/validators/listWithdrawalsParams.zod.js +1 -1
  277. package/dist/billing/v1/generated/validators/money.zod.d.ts +1 -1
  278. package/dist/billing/v1/generated/validators/money.zod.js +1 -1
  279. package/dist/billing/v1/generated/validators/monthlyStatement.zod.d.ts +1 -1
  280. package/dist/billing/v1/generated/validators/monthlyStatement.zod.js +1 -1
  281. package/dist/billing/v1/generated/validators/monthlyStatementList.zod.d.ts +1 -1
  282. package/dist/billing/v1/generated/validators/monthlyStatementList.zod.js +1 -1
  283. package/dist/billing/v1/generated/validators/namedIdentity.zod.d.ts +1 -1
  284. package/dist/billing/v1/generated/validators/namedIdentity.zod.js +1 -1
  285. package/dist/billing/v1/generated/validators/objectIdentity.zod.d.ts +1 -1
  286. package/dist/billing/v1/generated/validators/objectIdentity.zod.js +1 -1
  287. package/dist/billing/v1/generated/validators/offsetPagination.zod.d.ts +1 -1
  288. package/dist/billing/v1/generated/validators/offsetPagination.zod.js +1 -1
  289. package/dist/billing/v1/generated/validators/order.zod.d.ts +1 -1
  290. package/dist/billing/v1/generated/validators/order.zod.js +1 -1
  291. package/dist/billing/v1/generated/validators/orderCancel.zod.d.ts +1 -1
  292. package/dist/billing/v1/generated/validators/orderCancel.zod.js +1 -1
  293. package/dist/billing/v1/generated/validators/orderItem.zod.d.ts +1 -1
  294. package/dist/billing/v1/generated/validators/orderItem.zod.js +1 -1
  295. package/dist/billing/v1/generated/validators/orderItemList.zod.d.ts +1 -1
  296. package/dist/billing/v1/generated/validators/orderItemList.zod.js +1 -1
  297. package/dist/billing/v1/generated/validators/orderItemStatus.zod.d.ts +1 -1
  298. package/dist/billing/v1/generated/validators/orderItemStatus.zod.js +1 -1
  299. package/dist/billing/v1/generated/validators/orderList.zod.d.ts +1 -1
  300. package/dist/billing/v1/generated/validators/orderList.zod.js +1 -1
  301. package/dist/billing/v1/generated/validators/orderRefundPreview.zod.d.ts +1 -1
  302. package/dist/billing/v1/generated/validators/orderRefundPreview.zod.js +2 -2
  303. package/dist/billing/v1/generated/validators/orderStatus.zod.d.ts +1 -1
  304. package/dist/billing/v1/generated/validators/orderStatus.zod.js +1 -1
  305. package/dist/billing/v1/generated/validators/paidWith.zod.d.ts +1 -1
  306. package/dist/billing/v1/generated/validators/paidWith.zod.js +1 -1
  307. package/dist/billing/v1/generated/validators/payInvoiceRequest.zod.d.ts +1 -1
  308. package/dist/billing/v1/generated/validators/payInvoiceRequest.zod.js +1 -1
  309. package/dist/billing/v1/generated/validators/payTogetherRequest.zod.d.ts +1 -1
  310. package/dist/billing/v1/generated/validators/payTogetherRequest.zod.js +1 -1
  311. package/dist/billing/v1/generated/validators/paymentAction.zod.d.ts +1 -1
  312. package/dist/billing/v1/generated/validators/paymentAction.zod.js +1 -1
  313. package/dist/billing/v1/generated/validators/paymentCancellationReason.zod.d.ts +1 -1
  314. package/dist/billing/v1/generated/validators/paymentCancellationReason.zod.js +1 -1
  315. package/dist/billing/v1/generated/validators/paymentMethod.zod.d.ts +1 -1
  316. package/dist/billing/v1/generated/validators/paymentMethod.zod.js +1 -1
  317. package/dist/billing/v1/generated/validators/paymentMethodList.zod.d.ts +1 -1
  318. package/dist/billing/v1/generated/validators/paymentMethodList.zod.js +1 -1
  319. package/dist/billing/v1/generated/validators/paymentMethodSetup.zod.d.ts +1 -1
  320. package/dist/billing/v1/generated/validators/paymentMethodSetup.zod.js +1 -1
  321. package/dist/billing/v1/generated/validators/paymentMethodSetupResult.zod.d.ts +1 -1
  322. package/dist/billing/v1/generated/validators/paymentMethodSetupResult.zod.js +1 -1
  323. package/dist/billing/v1/generated/validators/paymentOption.zod.d.ts +1 -1
  324. package/dist/billing/v1/generated/validators/paymentOption.zod.js +1 -1
  325. package/dist/billing/v1/generated/validators/paymentOptionList.zod.d.ts +1 -1
  326. package/dist/billing/v1/generated/validators/paymentOptionList.zod.js +1 -1
  327. package/dist/billing/v1/generated/validators/paymentOptionMethod.zod.d.ts +1 -1
  328. package/dist/billing/v1/generated/validators/paymentOptionMethod.zod.js +1 -1
  329. package/dist/billing/v1/generated/validators/paymentPreview.zod.d.ts +1 -1
  330. package/dist/billing/v1/generated/validators/paymentPreview.zod.js +1 -1
  331. package/dist/billing/v1/generated/validators/paymentPreviewInvoice.zod.d.ts +1 -1
  332. package/dist/billing/v1/generated/validators/paymentPreviewInvoice.zod.js +1 -1
  333. package/dist/billing/v1/generated/validators/paymentResult.zod.d.ts +1 -1
  334. package/dist/billing/v1/generated/validators/paymentResult.zod.js +1 -1
  335. package/dist/billing/v1/generated/validators/paymentStatus.zod.d.ts +1 -1
  336. package/dist/billing/v1/generated/validators/paymentStatus.zod.js +1 -1
  337. package/dist/billing/v1/generated/validators/plan.zod.d.ts +1 -1
  338. package/dist/billing/v1/generated/validators/plan.zod.js +1 -1
  339. package/dist/billing/v1/generated/validators/planFeature.zod.d.ts +1 -1
  340. package/dist/billing/v1/generated/validators/planFeature.zod.js +1 -1
  341. package/dist/billing/v1/generated/validators/planList.zod.d.ts +1 -1
  342. package/dist/billing/v1/generated/validators/planList.zod.js +1 -1
  343. package/dist/billing/v1/generated/validators/previewInvoicePaymentParams.zod.d.ts +1 -1
  344. package/dist/billing/v1/generated/validators/previewInvoicePaymentParams.zod.js +1 -1
  345. package/dist/billing/v1/generated/validators/previewOrderRefundParams.zod.d.ts +1 -1
  346. package/dist/billing/v1/generated/validators/previewOrderRefundParams.zod.js +1 -1
  347. package/dist/billing/v1/generated/validators/price.zod.d.ts +1 -1
  348. package/dist/billing/v1/generated/validators/price.zod.js +1 -1
  349. package/dist/billing/v1/generated/validators/priceList.zod.d.ts +1 -1
  350. package/dist/billing/v1/generated/validators/priceList.zod.js +1 -1
  351. package/dist/billing/v1/generated/validators/priceOption.zod.d.ts +1 -1
  352. package/dist/billing/v1/generated/validators/priceOption.zod.js +1 -1
  353. package/dist/billing/v1/generated/validators/priceSearch.zod.d.ts +1 -1
  354. package/dist/billing/v1/generated/validators/priceSearch.zod.js +1 -1
  355. package/dist/billing/v1/generated/validators/priceType.zod.d.ts +1 -1
  356. package/dist/billing/v1/generated/validators/priceType.zod.js +1 -1
  357. package/dist/billing/v1/generated/validators/product.zod.d.ts +1 -1
  358. package/dist/billing/v1/generated/validators/product.zod.js +1 -1
  359. package/dist/billing/v1/generated/validators/productId.zod.d.ts +1 -1
  360. package/dist/billing/v1/generated/validators/productId.zod.js +1 -1
  361. package/dist/billing/v1/generated/validators/productList.zod.d.ts +1 -1
  362. package/dist/billing/v1/generated/validators/productList.zod.js +1 -1
  363. package/dist/billing/v1/generated/validators/projectAssignment.zod.d.ts +1 -1
  364. package/dist/billing/v1/generated/validators/projectAssignment.zod.js +1 -1
  365. package/dist/billing/v1/generated/validators/projectAssignmentList.zod.d.ts +1 -1
  366. package/dist/billing/v1/generated/validators/projectAssignmentList.zod.js +1 -1
  367. package/dist/billing/v1/generated/validators/purchaseOperation.zod.d.ts +1 -1
  368. package/dist/billing/v1/generated/validators/purchaseOperation.zod.js +1 -1
  369. package/dist/billing/v1/generated/validators/rate.zod.d.ts +1 -1
  370. package/dist/billing/v1/generated/validators/rate.zod.js +1 -1
  371. package/dist/billing/v1/generated/validators/refund.zod.d.ts +1 -1
  372. package/dist/billing/v1/generated/validators/refund.zod.js +1 -1
  373. package/dist/billing/v1/generated/validators/refundList.zod.d.ts +1 -1
  374. package/dist/billing/v1/generated/validators/refundList.zod.js +1 -1
  375. package/dist/billing/v1/generated/validators/refundPolicy.zod.d.ts +1 -1
  376. package/dist/billing/v1/generated/validators/refundPolicy.zod.js +1 -1
  377. package/dist/billing/v1/generated/validators/refundReason.zod.d.ts +1 -1
  378. package/dist/billing/v1/generated/validators/refundReason.zod.js +1 -1
  379. package/dist/billing/v1/generated/validators/refundStatus.zod.d.ts +1 -1
  380. package/dist/billing/v1/generated/validators/refundStatus.zod.js +1 -1
  381. package/dist/billing/v1/generated/validators/renewRequest.zod.d.ts +1 -1
  382. package/dist/billing/v1/generated/validators/renewRequest.zod.js +1 -1
  383. package/dist/billing/v1/generated/validators/renewalOption.zod.d.ts +1 -1
  384. package/dist/billing/v1/generated/validators/renewalOption.zod.js +1 -1
  385. package/dist/billing/v1/generated/validators/renewalOptionItem.zod.d.ts +1 -1
  386. package/dist/billing/v1/generated/validators/renewalOptionItem.zod.js +1 -1
  387. package/dist/billing/v1/generated/validators/renewalOptionList.zod.d.ts +1 -1
  388. package/dist/billing/v1/generated/validators/renewalOptionList.zod.js +1 -1
  389. package/dist/billing/v1/generated/validators/scheduledChange.zod.d.ts +1 -1
  390. package/dist/billing/v1/generated/validators/scheduledChange.zod.js +1 -1
  391. package/dist/billing/v1/generated/validators/setProjectAssignmentRequest.zod.d.ts +1 -1
  392. package/dist/billing/v1/generated/validators/setProjectAssignmentRequest.zod.js +1 -1
  393. package/dist/billing/v1/generated/validators/spendRow.zod.d.ts +1 -1
  394. package/dist/billing/v1/generated/validators/spendRow.zod.js +1 -1
  395. package/dist/billing/v1/generated/validators/spendRowList.zod.d.ts +1 -1
  396. package/dist/billing/v1/generated/validators/spendRowList.zod.js +1 -1
  397. package/dist/billing/v1/generated/validators/statement.zod.d.ts +1 -1
  398. package/dist/billing/v1/generated/validators/statement.zod.js +1 -1
  399. package/dist/billing/v1/generated/validators/statementAmounts.zod.d.ts +1 -1
  400. package/dist/billing/v1/generated/validators/statementAmounts.zod.js +1 -1
  401. package/dist/billing/v1/generated/validators/statementItem.zod.d.ts +1 -1
  402. package/dist/billing/v1/generated/validators/statementItem.zod.js +1 -1
  403. package/dist/billing/v1/generated/validators/statementList.zod.d.ts +1 -1
  404. package/dist/billing/v1/generated/validators/statementList.zod.js +1 -1
  405. package/dist/billing/v1/generated/validators/statementStatus.zod.d.ts +1 -1
  406. package/dist/billing/v1/generated/validators/statementStatus.zod.js +1 -1
  407. package/dist/billing/v1/generated/validators/statementSummary.zod.d.ts +1 -1
  408. package/dist/billing/v1/generated/validators/statementSummary.zod.js +1 -1
  409. package/dist/billing/v1/generated/validators/statementType.zod.d.ts +1 -1
  410. package/dist/billing/v1/generated/validators/statementType.zod.js +1 -1
  411. package/dist/billing/v1/generated/validators/subscription.zod.d.ts +1 -1
  412. package/dist/billing/v1/generated/validators/subscription.zod.js +2 -2
  413. package/dist/billing/v1/generated/validators/subscriptionData.zod.d.ts +25 -0
  414. package/dist/billing/v1/generated/validators/subscriptionData.zod.js +27 -0
  415. package/dist/billing/v1/generated/validators/subscriptionDataInput.zod.d.ts +25 -0
  416. package/dist/billing/v1/generated/validators/subscriptionDataInput.zod.js +22 -0
  417. package/dist/billing/v1/generated/validators/subscriptionItem.zod.d.ts +1 -1
  418. package/dist/billing/v1/generated/validators/subscriptionItem.zod.js +1 -1
  419. package/dist/billing/v1/generated/validators/subscriptionItemCancellation.zod.d.ts +1 -1
  420. package/dist/billing/v1/generated/validators/subscriptionItemCancellation.zod.js +1 -1
  421. package/dist/billing/v1/generated/validators/subscriptionList.zod.d.ts +1 -1
  422. package/dist/billing/v1/generated/validators/subscriptionList.zod.js +1 -1
  423. package/dist/billing/v1/generated/validators/subscriptionRestriction.zod.d.ts +1 -1
  424. package/dist/billing/v1/generated/validators/subscriptionRestriction.zod.js +1 -1
  425. package/dist/billing/v1/generated/validators/subscriptionStatus.zod.d.ts +1 -1
  426. package/dist/billing/v1/generated/validators/subscriptionStatus.zod.js +2 -2
  427. package/dist/billing/v1/generated/validators/subscriptionUpdate.zod.d.ts +1 -1
  428. package/dist/billing/v1/generated/validators/subscriptionUpdate.zod.js +1 -1
  429. package/dist/billing/v1/generated/validators/taxItem.zod.d.ts +1 -1
  430. package/dist/billing/v1/generated/validators/taxItem.zod.js +1 -1
  431. package/dist/billing/v1/generated/validators/tier.zod.d.ts +1 -1
  432. package/dist/billing/v1/generated/validators/tier.zod.js +1 -1
  433. package/dist/billing/v1/generated/validators/topUp.zod.d.ts +1 -1
  434. package/dist/billing/v1/generated/validators/topUp.zod.js +1 -1
  435. package/dist/billing/v1/generated/validators/topUpCreate.zod.d.ts +1 -1
  436. package/dist/billing/v1/generated/validators/topUpCreate.zod.js +1 -1
  437. package/dist/billing/v1/generated/validators/topUpList.zod.d.ts +1 -1
  438. package/dist/billing/v1/generated/validators/topUpList.zod.js +1 -1
  439. package/dist/billing/v1/generated/validators/topUpStatus.zod.d.ts +1 -1
  440. package/dist/billing/v1/generated/validators/topUpStatus.zod.js +1 -1
  441. package/dist/billing/v1/generated/validators/transaction.zod.d.ts +1 -1
  442. package/dist/billing/v1/generated/validators/transaction.zod.js +1 -1
  443. package/dist/billing/v1/generated/validators/transactionList.zod.d.ts +1 -1
  444. package/dist/billing/v1/generated/validators/transactionList.zod.js +1 -1
  445. package/dist/billing/v1/generated/validators/transactionStatus.zod.d.ts +1 -1
  446. package/dist/billing/v1/generated/validators/transactionStatus.zod.js +1 -1
  447. package/dist/billing/v1/generated/validators/transactionType.zod.d.ts +1 -1
  448. package/dist/billing/v1/generated/validators/transactionType.zod.js +1 -1
  449. package/dist/billing/v1/generated/validators/trialEndBehavior.zod.d.ts +1 -1
  450. package/dist/billing/v1/generated/validators/trialEndBehavior.zod.js +1 -1
  451. package/dist/billing/v1/generated/validators/trialGrant.zod.d.ts +152 -0
  452. package/dist/billing/v1/generated/validators/trialGrant.zod.js +33 -0
  453. package/dist/billing/v1/generated/validators/trialGrantList.zod.d.ts +159 -0
  454. package/dist/billing/v1/generated/validators/trialGrantList.zod.js +14 -0
  455. package/dist/billing/v1/generated/validators/trialGrantStatus.zod.d.ts +17 -0
  456. package/dist/billing/v1/generated/validators/trialGrantStatus.zod.js +11 -0
  457. package/dist/billing/v1/generated/validators/trialOffer.zod.d.ts +136 -0
  458. package/dist/billing/v1/generated/validators/trialOffer.zod.js +21 -0
  459. package/dist/billing/v1/generated/validators/trialSettings.zod.d.ts +1 -1
  460. package/dist/billing/v1/generated/validators/trialSettings.zod.js +1 -1
  461. package/dist/billing/v1/generated/validators/usageCharge.zod.d.ts +1 -1
  462. package/dist/billing/v1/generated/validators/usageCharge.zod.js +1 -1
  463. package/dist/billing/v1/generated/validators/usageChargeList.zod.d.ts +1 -1
  464. package/dist/billing/v1/generated/validators/usageChargeList.zod.js +1 -1
  465. package/dist/billing/v1/generated/validators/usageEstimate.zod.d.ts +1 -1
  466. package/dist/billing/v1/generated/validators/usageEstimate.zod.js +1 -1
  467. package/dist/billing/v1/generated/validators/usageEstimateInput.zod.d.ts +1 -1
  468. package/dist/billing/v1/generated/validators/usageEstimateInput.zod.js +1 -1
  469. package/dist/billing/v1/generated/validators/usageEstimateItem.zod.d.ts +1 -1
  470. package/dist/billing/v1/generated/validators/usageEstimateItem.zod.js +1 -1
  471. package/dist/billing/v1/generated/validators/usageEstimateRequest.zod.d.ts +1 -1
  472. package/dist/billing/v1/generated/validators/usageEstimateRequest.zod.js +1 -1
  473. package/dist/billing/v1/generated/validators/usageType.zod.d.ts +1 -1
  474. package/dist/billing/v1/generated/validators/usageType.zod.js +1 -1
  475. package/dist/billing/v1/generated/validators/withdrawal.zod.d.ts +1 -1
  476. package/dist/billing/v1/generated/validators/withdrawal.zod.js +1 -1
  477. package/dist/billing/v1/generated/validators/withdrawalAllocation.zod.d.ts +1 -1
  478. package/dist/billing/v1/generated/validators/withdrawalAllocation.zod.js +1 -1
  479. package/dist/billing/v1/generated/validators/withdrawalCreate.zod.d.ts +1 -1
  480. package/dist/billing/v1/generated/validators/withdrawalCreate.zod.js +1 -1
  481. package/dist/billing/v1/generated/validators/withdrawalItem.zod.d.ts +1 -1
  482. package/dist/billing/v1/generated/validators/withdrawalItem.zod.js +1 -1
  483. package/dist/billing/v1/generated/validators/withdrawalItemList.zod.d.ts +1 -1
  484. package/dist/billing/v1/generated/validators/withdrawalItemList.zod.js +1 -1
  485. package/dist/billing/v1/generated/validators/withdrawalList.zod.d.ts +1 -1
  486. package/dist/billing/v1/generated/validators/withdrawalList.zod.js +1 -1
  487. package/dist/billing/v1/generated/validators/withdrawalPreview.zod.d.ts +1 -1
  488. package/dist/billing/v1/generated/validators/withdrawalPreview.zod.js +1 -1
  489. package/dist/billing/v1/generated/validators/withdrawalPreviewItem.zod.d.ts +1 -1
  490. package/dist/billing/v1/generated/validators/withdrawalPreviewItem.zod.js +1 -1
  491. package/dist/billing/v1/generated/validators/withdrawalPreviewRequest.zod.d.ts +1 -1
  492. package/dist/billing/v1/generated/validators/withdrawalPreviewRequest.zod.js +1 -1
  493. package/dist/billing/v1/generated/validators/withdrawalSource.zod.d.ts +1 -1
  494. package/dist/billing/v1/generated/validators/withdrawalSource.zod.js +1 -1
  495. package/dist/billing/v1/generated/validators/withdrawalStatus.zod.d.ts +1 -1
  496. package/dist/billing/v1/generated/validators/withdrawalStatus.zod.js +1 -1
  497. package/dist/canopy/v1/generated/models.d.ts +11 -2
  498. package/dist/canopy/v1/generated/schemas.zod.d.ts +1 -0
  499. package/dist/canopy/v1/generated/validators/checkoutOptions.zod.d.ts +1 -0
  500. package/dist/canopy/v1/generated/validators/checkoutOptions.zod.js +5 -1
  501. package/dist/canopy/v1/generated/validators/createServiceRequestBody.zod.d.ts +1 -0
  502. package/dist/canopy/v1/generated/validators/serviceResource.zod.js +1 -1
  503. package/dist/compute/v2/generated/functions.d.ts +1 -1
  504. package/dist/compute/v2/generated/models.d.ts +16 -7
  505. package/dist/compute/v2/generated/schemas.zod.d.ts +11 -1
  506. package/dist/compute/v2/generated/schemas.zod.js +1 -1
  507. package/dist/compute/v2/generated/validators/associateElasticIpRequestBody.zod.d.ts +1 -1
  508. package/dist/compute/v2/generated/validators/associateElasticIpRequestBody.zod.js +1 -1
  509. package/dist/compute/v2/generated/validators/attachNetworkInterfaceRequestBody.zod.d.ts +1 -1
  510. package/dist/compute/v2/generated/validators/attachNetworkInterfaceRequestBody.zod.js +1 -1
  511. package/dist/compute/v2/generated/validators/attachVolumeRequestBody.zod.d.ts +1 -1
  512. package/dist/compute/v2/generated/validators/attachVolumeRequestBody.zod.js +1 -1
  513. package/dist/compute/v2/generated/validators/availabilityZoneId.zod.d.ts +1 -1
  514. package/dist/compute/v2/generated/validators/availabilityZoneId.zod.js +1 -1
  515. package/dist/compute/v2/generated/validators/availabilityZoneListResponseBody.zod.d.ts +1 -1
  516. package/dist/compute/v2/generated/validators/availabilityZoneListResponseBody.zod.js +1 -1
  517. package/dist/compute/v2/generated/validators/availabilityZoneResource.zod.d.ts +1 -1
  518. package/dist/compute/v2/generated/validators/availabilityZoneResource.zod.js +1 -1
  519. package/dist/compute/v2/generated/validators/billingCancellation.zod.d.ts +1 -1
  520. package/dist/compute/v2/generated/validators/billingCancellation.zod.js +1 -1
  521. package/dist/compute/v2/generated/validators/billingChoice.zod.d.ts +1 -1
  522. package/dist/compute/v2/generated/validators/billingChoice.zod.js +1 -1
  523. package/dist/compute/v2/generated/validators/billingComponent.zod.d.ts +1 -1
  524. package/dist/compute/v2/generated/validators/billingComponent.zod.js +2 -2
  525. package/dist/compute/v2/generated/validators/billingLineQuantity.zod.d.ts +1 -1
  526. package/dist/compute/v2/generated/validators/billingLineQuantity.zod.js +1 -1
  527. package/dist/compute/v2/generated/validators/billingMeter.zod.d.ts +1 -1
  528. package/dist/compute/v2/generated/validators/billingMeter.zod.js +1 -1
  529. package/dist/compute/v2/generated/validators/billingPeriod.zod.d.ts +1 -1
  530. package/dist/compute/v2/generated/validators/billingPeriod.zod.js +1 -1
  531. package/dist/compute/v2/generated/validators/billingQuantity.zod.d.ts +1 -1
  532. package/dist/compute/v2/generated/validators/billingQuantity.zod.js +1 -1
  533. package/dist/compute/v2/generated/validators/bootVolume.zod.d.ts +1 -1
  534. package/dist/compute/v2/generated/validators/bootVolume.zod.js +1 -1
  535. package/dist/compute/v2/generated/validators/cancellationMode.zod.d.ts +1 -1
  536. package/dist/compute/v2/generated/validators/cancellationMode.zod.js +1 -1
  537. package/dist/compute/v2/generated/validators/changeElasticIpBandwidthRequestBody.zod.d.ts +2 -1
  538. package/dist/compute/v2/generated/validators/changeElasticIpBandwidthRequestBody.zod.js +2 -2
  539. package/dist/compute/v2/generated/validators/changeElasticIpChargeTypeRequestBody.zod.d.ts +1 -1
  540. package/dist/compute/v2/generated/validators/changeElasticIpChargeTypeRequestBody.zod.js +1 -1
  541. package/dist/compute/v2/generated/validators/checkoutMode.zod.d.ts +1 -1
  542. package/dist/compute/v2/generated/validators/checkoutMode.zod.js +1 -1
  543. package/dist/compute/v2/generated/validators/checkoutOptions.zod.d.ts +2 -1
  544. package/dist/compute/v2/generated/validators/checkoutOptions.zod.js +6 -2
  545. package/dist/compute/v2/generated/validators/consoleResponseBody.zod.d.ts +1 -1
  546. package/dist/compute/v2/generated/validators/consoleResponseBody.zod.js +1 -1
  547. package/dist/compute/v2/generated/validators/createElasticIpRequestBody.zod.d.ts +2 -1
  548. package/dist/compute/v2/generated/validators/createElasticIpRequestBody.zod.js +1 -1
  549. package/dist/compute/v2/generated/validators/createElasticIpResponseBody.zod.d.ts +1 -1
  550. package/dist/compute/v2/generated/validators/createElasticIpResponseBody.zod.js +1 -1
  551. package/dist/compute/v2/generated/validators/createInstanceRequestBody.zod.d.ts +2 -1
  552. package/dist/compute/v2/generated/validators/createInstanceRequestBody.zod.js +1 -1
  553. package/dist/compute/v2/generated/validators/createInstanceResponseBody.zod.d.ts +1 -1
  554. package/dist/compute/v2/generated/validators/createInstanceResponseBody.zod.js +1 -1
  555. package/dist/compute/v2/generated/validators/createLaunchTemplateRequestBody.zod.d.ts +1 -1
  556. package/dist/compute/v2/generated/validators/createLaunchTemplateRequestBody.zod.js +1 -1
  557. package/dist/compute/v2/generated/validators/createLaunchTemplateResponseBody.zod.d.ts +1 -1
  558. package/dist/compute/v2/generated/validators/createLaunchTemplateResponseBody.zod.js +1 -1
  559. package/dist/compute/v2/generated/validators/createNetworkInterfaceAddressRequestBody.zod.d.ts +1 -1
  560. package/dist/compute/v2/generated/validators/createNetworkInterfaceAddressRequestBody.zod.js +1 -1
  561. package/dist/compute/v2/generated/validators/createNetworkInterfaceRequestBody.zod.d.ts +1 -1
  562. package/dist/compute/v2/generated/validators/createNetworkInterfaceRequestBody.zod.js +1 -1
  563. package/dist/compute/v2/generated/validators/createPrivateImageRequestBody.zod.d.ts +2 -1
  564. package/dist/compute/v2/generated/validators/createPrivateImageRequestBody.zod.js +1 -1
  565. package/dist/compute/v2/generated/validators/createPrivateImageResponseBody.zod.d.ts +1 -1
  566. package/dist/compute/v2/generated/validators/createPrivateImageResponseBody.zod.js +1 -1
  567. package/dist/compute/v2/generated/validators/createSecurityGroupRequestBody.zod.d.ts +1 -1
  568. package/dist/compute/v2/generated/validators/createSecurityGroupRequestBody.zod.js +1 -1
  569. package/dist/compute/v2/generated/validators/createSecurityGroupRuleRequestBody.zod.d.ts +1 -1
  570. package/dist/compute/v2/generated/validators/createSecurityGroupRuleRequestBody.zod.js +1 -1
  571. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudPeeringRequestBody.zod.d.ts +1 -1
  572. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudPeeringRequestBody.zod.js +1 -1
  573. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRequestBody.zod.d.ts +1 -1
  574. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRequestBody.zod.js +1 -1
  575. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRouteRequestBody.zod.d.ts +1 -1
  576. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRouteRequestBody.zod.js +1 -1
  577. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudSubnetRequestBody.zod.d.ts +1 -1
  578. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudSubnetRequestBody.zod.js +1 -1
  579. package/dist/compute/v2/generated/validators/createVolumeBackupRequestBody.zod.d.ts +2 -1
  580. package/dist/compute/v2/generated/validators/createVolumeBackupRequestBody.zod.js +1 -1
  581. package/dist/compute/v2/generated/validators/createVolumeBackupResponseBody.zod.d.ts +1 -1
  582. package/dist/compute/v2/generated/validators/createVolumeBackupResponseBody.zod.js +1 -1
  583. package/dist/compute/v2/generated/validators/createVolumeRequestBody.zod.d.ts +2 -1
  584. package/dist/compute/v2/generated/validators/createVolumeRequestBody.zod.js +1 -1
  585. package/dist/compute/v2/generated/validators/createVolumeResponseBody.zod.d.ts +1 -1
  586. package/dist/compute/v2/generated/validators/createVolumeResponseBody.zod.js +1 -1
  587. package/dist/compute/v2/generated/validators/createVolumeSnapshotRequestBody.zod.d.ts +2 -1
  588. package/dist/compute/v2/generated/validators/createVolumeSnapshotRequestBody.zod.js +1 -1
  589. package/dist/compute/v2/generated/validators/createVolumeSnapshotResponseBody.zod.d.ts +1 -1
  590. package/dist/compute/v2/generated/validators/createVolumeSnapshotResponseBody.zod.js +1 -1
  591. package/dist/compute/v2/generated/validators/cursorPagination.zod.d.ts +1 -1
  592. package/dist/compute/v2/generated/validators/cursorPagination.zod.js +1 -1
  593. package/dist/compute/v2/generated/validators/deleteElasticIpParams.zod.d.ts +1 -1
  594. package/dist/compute/v2/generated/validators/deleteElasticIpParams.zod.js +1 -1
  595. package/dist/compute/v2/generated/validators/deleteElasticIpResponseBody.zod.d.ts +1 -1
  596. package/dist/compute/v2/generated/validators/deleteElasticIpResponseBody.zod.js +1 -1
  597. package/dist/compute/v2/generated/validators/deleteInstanceParams.zod.d.ts +1 -1
  598. package/dist/compute/v2/generated/validators/deleteInstanceParams.zod.js +1 -1
  599. package/dist/compute/v2/generated/validators/deleteInstanceResponseBody.zod.d.ts +1 -1
  600. package/dist/compute/v2/generated/validators/deleteInstanceResponseBody.zod.js +1 -1
  601. package/dist/compute/v2/generated/validators/deletePrivateImageParams.zod.d.ts +1 -1
  602. package/dist/compute/v2/generated/validators/deletePrivateImageParams.zod.js +1 -1
  603. package/dist/compute/v2/generated/validators/deletePrivateImageResponseBody.zod.d.ts +1 -1
  604. package/dist/compute/v2/generated/validators/deletePrivateImageResponseBody.zod.js +1 -1
  605. package/dist/compute/v2/generated/validators/deleteVolumeBackupParams.zod.d.ts +1 -1
  606. package/dist/compute/v2/generated/validators/deleteVolumeBackupParams.zod.js +1 -1
  607. package/dist/compute/v2/generated/validators/deleteVolumeBackupResponseBody.zod.d.ts +1 -1
  608. package/dist/compute/v2/generated/validators/deleteVolumeBackupResponseBody.zod.js +1 -1
  609. package/dist/compute/v2/generated/validators/deleteVolumeParams.zod.d.ts +1 -1
  610. package/dist/compute/v2/generated/validators/deleteVolumeParams.zod.js +1 -1
  611. package/dist/compute/v2/generated/validators/deleteVolumeResponseBody.zod.d.ts +1 -1
  612. package/dist/compute/v2/generated/validators/deleteVolumeResponseBody.zod.js +1 -1
  613. package/dist/compute/v2/generated/validators/deleteVolumeSnapshotParams.zod.d.ts +1 -1
  614. package/dist/compute/v2/generated/validators/deleteVolumeSnapshotParams.zod.js +1 -1
  615. package/dist/compute/v2/generated/validators/deleteVolumeSnapshotResponseBody.zod.d.ts +1 -1
  616. package/dist/compute/v2/generated/validators/deleteVolumeSnapshotResponseBody.zod.js +1 -1
  617. package/dist/compute/v2/generated/validators/elasticIp.zod.d.ts +1 -1
  618. package/dist/compute/v2/generated/validators/elasticIp.zod.js +1 -1
  619. package/dist/compute/v2/generated/validators/elasticIpAssociation.zod.d.ts +1 -1
  620. package/dist/compute/v2/generated/validators/elasticIpAssociation.zod.js +1 -1
  621. package/dist/compute/v2/generated/validators/elasticIpAssociationId.zod.d.ts +1 -1
  622. package/dist/compute/v2/generated/validators/elasticIpAssociationId.zod.js +1 -1
  623. package/dist/compute/v2/generated/validators/elasticIpChangeResponseBody.zod.d.ts +1 -1
  624. package/dist/compute/v2/generated/validators/elasticIpChangeResponseBody.zod.js +1 -1
  625. package/dist/compute/v2/generated/validators/elasticIpId.zod.d.ts +1 -1
  626. package/dist/compute/v2/generated/validators/elasticIpId.zod.js +1 -1
  627. package/dist/compute/v2/generated/validators/elasticIpLine.zod.d.ts +1 -1
  628. package/dist/compute/v2/generated/validators/elasticIpLine.zod.js +1 -1
  629. package/dist/compute/v2/generated/validators/elasticIpLineId.zod.d.ts +1 -1
  630. package/dist/compute/v2/generated/validators/elasticIpLineId.zod.js +1 -1
  631. package/dist/compute/v2/generated/validators/elasticIpLineListResponseBody.zod.d.ts +1 -1
  632. package/dist/compute/v2/generated/validators/elasticIpLineListResponseBody.zod.js +1 -1
  633. package/dist/compute/v2/generated/validators/elasticIpListResponseBody.zod.d.ts +1 -1
  634. package/dist/compute/v2/generated/validators/elasticIpListResponseBody.zod.js +1 -1
  635. package/dist/compute/v2/generated/validators/elasticIpReleaseResource.zod.d.ts +1 -1
  636. package/dist/compute/v2/generated/validators/elasticIpReleaseResource.zod.js +1 -1
  637. package/dist/compute/v2/generated/validators/error.zod.d.ts +1 -1
  638. package/dist/compute/v2/generated/validators/error.zod.js +1 -1
  639. package/dist/compute/v2/generated/validators/errorStatus.zod.d.ts +1 -1
  640. package/dist/compute/v2/generated/validators/errorStatus.zod.js +1 -1
  641. package/dist/compute/v2/generated/validators/existingBootVolume.zod.d.ts +1 -1
  642. package/dist/compute/v2/generated/validators/existingBootVolume.zod.js +1 -1
  643. package/dist/compute/v2/generated/validators/existingElasticIp.zod.d.ts +1 -1
  644. package/dist/compute/v2/generated/validators/existingElasticIp.zod.js +1 -1
  645. package/dist/compute/v2/generated/validators/existingPrimaryNetworkInterface.zod.d.ts +1 -1
  646. package/dist/compute/v2/generated/validators/existingPrimaryNetworkInterface.zod.js +1 -1
  647. package/dist/compute/v2/generated/validators/fieldViolation.zod.d.ts +1 -1
  648. package/dist/compute/v2/generated/validators/fieldViolation.zod.js +1 -1
  649. package/dist/compute/v2/generated/validators/freeSubnetCidr.zod.d.ts +1 -1
  650. package/dist/compute/v2/generated/validators/freeSubnetCidr.zod.js +1 -1
  651. package/dist/compute/v2/generated/validators/generatedPassword.zod.d.ts +1 -1
  652. package/dist/compute/v2/generated/validators/generatedPassword.zod.js +1 -1
  653. package/dist/compute/v2/generated/validators/getVirtualPrivateCloudFreeSubnetCidrParams.zod.d.ts +1 -1
  654. package/dist/compute/v2/generated/validators/getVirtualPrivateCloudFreeSubnetCidrParams.zod.js +1 -1
  655. package/dist/compute/v2/generated/validators/imageId.zod.d.ts +1 -1
  656. package/dist/compute/v2/generated/validators/imageId.zod.js +1 -1
  657. package/dist/compute/v2/generated/validators/instance.zod.d.ts +1 -1
  658. package/dist/compute/v2/generated/validators/instance.zod.js +1 -1
  659. package/dist/compute/v2/generated/validators/instanceAssociationTarget.zod.d.ts +1 -1
  660. package/dist/compute/v2/generated/validators/instanceAssociationTarget.zod.js +1 -1
  661. package/dist/compute/v2/generated/validators/instanceElasticIp.zod.d.ts +1 -1
  662. package/dist/compute/v2/generated/validators/instanceElasticIp.zod.js +1 -1
  663. package/dist/compute/v2/generated/validators/instanceFamily.zod.d.ts +1 -1
  664. package/dist/compute/v2/generated/validators/instanceFamily.zod.js +1 -1
  665. package/dist/compute/v2/generated/validators/instanceFamilyCategory.zod.d.ts +1 -1
  666. package/dist/compute/v2/generated/validators/instanceFamilyCategory.zod.js +1 -1
  667. package/dist/compute/v2/generated/validators/instanceFamilyId.zod.d.ts +1 -1
  668. package/dist/compute/v2/generated/validators/instanceFamilyId.zod.js +1 -1
  669. package/dist/compute/v2/generated/validators/instanceFamilyListResponseBody.zod.d.ts +1 -1
  670. package/dist/compute/v2/generated/validators/instanceFamilyListResponseBody.zod.js +1 -1
  671. package/dist/compute/v2/generated/validators/instanceId.zod.d.ts +1 -1
  672. package/dist/compute/v2/generated/validators/instanceId.zod.js +1 -1
  673. package/dist/compute/v2/generated/validators/instanceListResponseBody.zod.d.ts +1 -1
  674. package/dist/compute/v2/generated/validators/instanceListResponseBody.zod.js +1 -1
  675. package/dist/compute/v2/generated/validators/instanceNetworkInterfaceId.zod.d.ts +1 -1
  676. package/dist/compute/v2/generated/validators/instanceNetworkInterfaceId.zod.js +1 -1
  677. package/dist/compute/v2/generated/validators/instanceReleaseResource.zod.d.ts +1 -1
  678. package/dist/compute/v2/generated/validators/instanceReleaseResource.zod.js +1 -1
  679. package/dist/compute/v2/generated/validators/instanceRestriction.zod.d.ts +1 -1
  680. package/dist/compute/v2/generated/validators/instanceRestriction.zod.js +1 -1
  681. package/dist/compute/v2/generated/validators/instanceType.zod.d.ts +1 -1
  682. package/dist/compute/v2/generated/validators/instanceType.zod.js +1 -1
  683. package/dist/compute/v2/generated/validators/instanceTypeId.zod.d.ts +1 -1
  684. package/dist/compute/v2/generated/validators/instanceTypeId.zod.js +1 -1
  685. package/dist/compute/v2/generated/validators/instanceTypeListResponseBody.zod.d.ts +1 -1
  686. package/dist/compute/v2/generated/validators/instanceTypeListResponseBody.zod.js +1 -1
  687. package/dist/compute/v2/generated/validators/instanceVolumeId.zod.d.ts +1 -1
  688. package/dist/compute/v2/generated/validators/instanceVolumeId.zod.js +1 -1
  689. package/dist/compute/v2/generated/validators/internetChargeType.zod.d.ts +1 -1
  690. package/dist/compute/v2/generated/validators/internetChargeType.zod.js +1 -1
  691. package/dist/compute/v2/generated/validators/ipv4HostAddress.zod.d.ts +1 -1
  692. package/dist/compute/v2/generated/validators/ipv4HostAddress.zod.js +1 -1
  693. package/dist/compute/v2/generated/validators/latestOperation.zod.d.ts +1 -1
  694. package/dist/compute/v2/generated/validators/latestOperation.zod.js +1 -1
  695. package/dist/compute/v2/generated/validators/launchTemplate.zod.d.ts +1 -1
  696. package/dist/compute/v2/generated/validators/launchTemplate.zod.js +1 -1
  697. package/dist/compute/v2/generated/validators/launchTemplateBootVolume.zod.d.ts +1 -1
  698. package/dist/compute/v2/generated/validators/launchTemplateBootVolume.zod.js +1 -1
  699. package/dist/compute/v2/generated/validators/launchTemplateDataVolume.zod.d.ts +1 -1
  700. package/dist/compute/v2/generated/validators/launchTemplateDataVolume.zod.js +1 -1
  701. package/dist/compute/v2/generated/validators/launchTemplateElasticIp.zod.d.ts +1 -1
  702. package/dist/compute/v2/generated/validators/launchTemplateElasticIp.zod.js +1 -1
  703. package/dist/compute/v2/generated/validators/launchTemplateId.zod.d.ts +1 -1
  704. package/dist/compute/v2/generated/validators/launchTemplateId.zod.js +1 -1
  705. package/dist/compute/v2/generated/validators/launchTemplateListResponseBody.zod.d.ts +1 -1
  706. package/dist/compute/v2/generated/validators/launchTemplateListResponseBody.zod.js +1 -1
  707. package/dist/compute/v2/generated/validators/launchTemplateNetworkInterface.zod.d.ts +1 -1
  708. package/dist/compute/v2/generated/validators/launchTemplateNetworkInterface.zod.js +1 -1
  709. package/dist/compute/v2/generated/validators/launchTemplateReference.zod.d.ts +1 -1
  710. package/dist/compute/v2/generated/validators/launchTemplateReference.zod.js +1 -1
  711. package/dist/compute/v2/generated/validators/launchTemplateVersion.zod.d.ts +1 -1
  712. package/dist/compute/v2/generated/validators/launchTemplateVersion.zod.js +1 -1
  713. package/dist/compute/v2/generated/validators/launchTemplateVersionListResponseBody.zod.d.ts +1 -1
  714. package/dist/compute/v2/generated/validators/launchTemplateVersionListResponseBody.zod.js +1 -1
  715. package/dist/compute/v2/generated/validators/listAvailabilityZonesParams.zod.d.ts +1 -1
  716. package/dist/compute/v2/generated/validators/listAvailabilityZonesParams.zod.js +1 -1
  717. package/dist/compute/v2/generated/validators/listElasticIpLinesParams.zod.d.ts +1 -1
  718. package/dist/compute/v2/generated/validators/listElasticIpLinesParams.zod.js +1 -1
  719. package/dist/compute/v2/generated/validators/listElasticIpTrafficUsageParams.zod.d.ts +1 -1
  720. package/dist/compute/v2/generated/validators/listElasticIpTrafficUsageParams.zod.js +1 -1
  721. package/dist/compute/v2/generated/validators/listElasticIpsParams.zod.d.ts +1 -1
  722. package/dist/compute/v2/generated/validators/listElasticIpsParams.zod.js +1 -1
  723. package/dist/compute/v2/generated/validators/listInstanceFamiliesParams.zod.d.ts +1 -1
  724. package/dist/compute/v2/generated/validators/listInstanceFamiliesParams.zod.js +1 -1
  725. package/dist/compute/v2/generated/validators/listInstanceNetworkInterfacesParams.zod.d.ts +1 -1
  726. package/dist/compute/v2/generated/validators/listInstanceNetworkInterfacesParams.zod.js +1 -1
  727. package/dist/compute/v2/generated/validators/listInstanceTypesParams.zod.d.ts +1 -1
  728. package/dist/compute/v2/generated/validators/listInstanceTypesParams.zod.js +1 -1
  729. package/dist/compute/v2/generated/validators/listInstanceVolumesParams.zod.d.ts +1 -1
  730. package/dist/compute/v2/generated/validators/listInstanceVolumesParams.zod.js +1 -1
  731. package/dist/compute/v2/generated/validators/listInstancesParams.zod.d.ts +1 -1
  732. package/dist/compute/v2/generated/validators/listInstancesParams.zod.js +1 -1
  733. package/dist/compute/v2/generated/validators/listLaunchTemplateVersionsParams.zod.d.ts +1 -1
  734. package/dist/compute/v2/generated/validators/listLaunchTemplateVersionsParams.zod.js +1 -1
  735. package/dist/compute/v2/generated/validators/listLaunchTemplatesParams.zod.d.ts +1 -1
  736. package/dist/compute/v2/generated/validators/listLaunchTemplatesParams.zod.js +1 -1
  737. package/dist/compute/v2/generated/validators/listNetworkInterfacesParams.zod.d.ts +1 -1
  738. package/dist/compute/v2/generated/validators/listNetworkInterfacesParams.zod.js +1 -1
  739. package/dist/compute/v2/generated/validators/listOperationLogsParams.zod.d.ts +1 -1
  740. package/dist/compute/v2/generated/validators/listOperationLogsParams.zod.js +1 -1
  741. package/dist/compute/v2/generated/validators/listPrivateImagesParams.zod.d.ts +1 -1
  742. package/dist/compute/v2/generated/validators/listPrivateImagesParams.zod.js +1 -1
  743. package/dist/compute/v2/generated/validators/listPublicImagesParams.zod.d.ts +1 -1
  744. package/dist/compute/v2/generated/validators/listPublicImagesParams.zod.js +1 -1
  745. package/dist/compute/v2/generated/validators/listQuotasParams.zod.d.ts +1 -1
  746. package/dist/compute/v2/generated/validators/listQuotasParams.zod.js +1 -1
  747. package/dist/compute/v2/generated/validators/listRegionsParams.zod.d.ts +1 -1
  748. package/dist/compute/v2/generated/validators/listRegionsParams.zod.js +1 -1
  749. package/dist/compute/v2/generated/validators/listSecurityGroupRulesParams.zod.d.ts +1 -1
  750. package/dist/compute/v2/generated/validators/listSecurityGroupRulesParams.zod.js +1 -1
  751. package/dist/compute/v2/generated/validators/listSecurityGroupsParams.zod.d.ts +1 -1
  752. package/dist/compute/v2/generated/validators/listSecurityGroupsParams.zod.js +1 -1
  753. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudPeeringsParams.zod.d.ts +1 -1
  754. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudPeeringsParams.zod.js +1 -1
  755. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudRoutesParams.zod.d.ts +1 -1
  756. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudRoutesParams.zod.js +1 -1
  757. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudSubnetsParams.zod.d.ts +1 -1
  758. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudSubnetsParams.zod.js +1 -1
  759. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudsParams.zod.d.ts +1 -1
  760. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudsParams.zod.js +1 -1
  761. package/dist/compute/v2/generated/validators/listVolumeBackupsParams.zod.d.ts +1 -1
  762. package/dist/compute/v2/generated/validators/listVolumeBackupsParams.zod.js +1 -1
  763. package/dist/compute/v2/generated/validators/listVolumeSnapshotsParams.zod.d.ts +1 -1
  764. package/dist/compute/v2/generated/validators/listVolumeSnapshotsParams.zod.js +1 -1
  765. package/dist/compute/v2/generated/validators/listVolumeTypesParams.zod.d.ts +1 -1
  766. package/dist/compute/v2/generated/validators/listVolumeTypesParams.zod.js +1 -1
  767. package/dist/compute/v2/generated/validators/listVolumesParams.zod.d.ts +1 -1
  768. package/dist/compute/v2/generated/validators/listVolumesParams.zod.js +1 -1
  769. package/dist/compute/v2/generated/validators/money.zod.d.ts +1 -1
  770. package/dist/compute/v2/generated/validators/money.zod.js +1 -1
  771. package/dist/compute/v2/generated/validators/networkInterface.zod.d.ts +1 -1
  772. package/dist/compute/v2/generated/validators/networkInterface.zod.js +1 -1
  773. package/dist/compute/v2/generated/validators/networkInterfaceAddress.zod.d.ts +1 -1
  774. package/dist/compute/v2/generated/validators/networkInterfaceAddress.zod.js +1 -1
  775. package/dist/compute/v2/generated/validators/networkInterfaceAddressAssociationTarget.zod.d.ts +1 -1
  776. package/dist/compute/v2/generated/validators/networkInterfaceAddressAssociationTarget.zod.js +1 -1
  777. package/dist/compute/v2/generated/validators/networkInterfaceAddressId.zod.d.ts +1 -1
  778. package/dist/compute/v2/generated/validators/networkInterfaceAddressId.zod.js +1 -1
  779. package/dist/compute/v2/generated/validators/networkInterfaceAttachment.zod.d.ts +1 -1
  780. package/dist/compute/v2/generated/validators/networkInterfaceAttachment.zod.js +1 -1
  781. package/dist/compute/v2/generated/validators/networkInterfaceAttachmentList.zod.d.ts +1 -1
  782. package/dist/compute/v2/generated/validators/networkInterfaceAttachmentList.zod.js +1 -1
  783. package/dist/compute/v2/generated/validators/networkInterfaceId.zod.d.ts +1 -1
  784. package/dist/compute/v2/generated/validators/networkInterfaceId.zod.js +1 -1
  785. package/dist/compute/v2/generated/validators/networkInterfaceListResponseBody.zod.d.ts +1 -1
  786. package/dist/compute/v2/generated/validators/networkInterfaceListResponseBody.zod.js +1 -1
  787. package/dist/compute/v2/generated/validators/newBootVolume.zod.d.ts +1 -1
  788. package/dist/compute/v2/generated/validators/newBootVolume.zod.js +1 -1
  789. package/dist/compute/v2/generated/validators/newCompute.zod.d.ts +1 -1
  790. package/dist/compute/v2/generated/validators/newCompute.zod.js +1 -1
  791. package/dist/compute/v2/generated/validators/newDataVolume.zod.d.ts +1 -1
  792. package/dist/compute/v2/generated/validators/newDataVolume.zod.js +1 -1
  793. package/dist/compute/v2/generated/validators/newElasticIp.zod.d.ts +1 -1
  794. package/dist/compute/v2/generated/validators/newElasticIp.zod.js +1 -1
  795. package/dist/compute/v2/generated/validators/newLaunchTemplateVersion.zod.d.ts +1 -1
  796. package/dist/compute/v2/generated/validators/newLaunchTemplateVersion.zod.js +1 -1
  797. package/dist/compute/v2/generated/validators/newPrimaryNetworkInterface.zod.d.ts +1 -1
  798. package/dist/compute/v2/generated/validators/newPrimaryNetworkInterface.zod.js +1 -1
  799. package/dist/compute/v2/generated/validators/offsetPagination.zod.d.ts +1 -1
  800. package/dist/compute/v2/generated/validators/offsetPagination.zod.js +1 -1
  801. package/dist/compute/v2/generated/validators/operationLogId.zod.d.ts +1 -1
  802. package/dist/compute/v2/generated/validators/operationLogId.zod.js +1 -1
  803. package/dist/compute/v2/generated/validators/operationLogListResponseBody.zod.d.ts +1 -1
  804. package/dist/compute/v2/generated/validators/operationLogListResponseBody.zod.js +1 -1
  805. package/dist/compute/v2/generated/validators/operationLogResource.zod.d.ts +1 -1
  806. package/dist/compute/v2/generated/validators/operationLogResource.zod.js +1 -1
  807. package/dist/compute/v2/generated/validators/passwordChoice.zod.d.ts +1 -1
  808. package/dist/compute/v2/generated/validators/passwordChoice.zod.js +1 -1
  809. package/dist/compute/v2/generated/validators/performanceFormula.zod.d.ts +1 -1
  810. package/dist/compute/v2/generated/validators/performanceFormula.zod.js +1 -1
  811. package/dist/compute/v2/generated/validators/primaryNetworkInterface.zod.d.ts +1 -1
  812. package/dist/compute/v2/generated/validators/primaryNetworkInterface.zod.js +1 -1
  813. package/dist/compute/v2/generated/validators/privateImageListResponseBody.zod.d.ts +1 -1
  814. package/dist/compute/v2/generated/validators/privateImageListResponseBody.zod.js +1 -1
  815. package/dist/compute/v2/generated/validators/privateImageReleaseResource.zod.d.ts +1 -1
  816. package/dist/compute/v2/generated/validators/privateImageReleaseResource.zod.js +1 -1
  817. package/dist/compute/v2/generated/validators/privateImageResource.zod.d.ts +1 -1
  818. package/dist/compute/v2/generated/validators/privateImageResource.zod.js +1 -1
  819. package/dist/compute/v2/generated/validators/projectQuota.zod.d.ts +1 -1
  820. package/dist/compute/v2/generated/validators/projectQuota.zod.js +1 -1
  821. package/dist/compute/v2/generated/validators/projectQuotaListResponseBody.zod.d.ts +1 -1
  822. package/dist/compute/v2/generated/validators/projectQuotaListResponseBody.zod.js +1 -1
  823. package/dist/compute/v2/generated/validators/publicImageListResponseBody.zod.d.ts +1 -1
  824. package/dist/compute/v2/generated/validators/publicImageListResponseBody.zod.js +1 -1
  825. package/dist/compute/v2/generated/validators/publicImageResource.zod.d.ts +1 -1
  826. package/dist/compute/v2/generated/validators/publicImageResource.zod.js +1 -1
  827. package/dist/compute/v2/generated/validators/quotaResourceType.zod.d.ts +1 -1
  828. package/dist/compute/v2/generated/validators/quotaResourceType.zod.js +1 -1
  829. package/dist/compute/v2/generated/validators/quotaSource.zod.d.ts +1 -1
  830. package/dist/compute/v2/generated/validators/quotaSource.zod.js +1 -1
  831. package/dist/compute/v2/generated/validators/rebootInstanceRequestBody.zod.d.ts +1 -1
  832. package/dist/compute/v2/generated/validators/rebootInstanceRequestBody.zod.js +1 -1
  833. package/dist/compute/v2/generated/validators/rebuildInstanceRequestBody.zod.d.ts +1 -1
  834. package/dist/compute/v2/generated/validators/rebuildInstanceRequestBody.zod.js +1 -1
  835. package/dist/compute/v2/generated/validators/rebuildInstanceResponseBody.zod.d.ts +1 -1
  836. package/dist/compute/v2/generated/validators/rebuildInstanceResponseBody.zod.js +1 -1
  837. package/dist/compute/v2/generated/validators/regionId.zod.d.ts +1 -1
  838. package/dist/compute/v2/generated/validators/regionId.zod.js +1 -1
  839. package/dist/compute/v2/generated/validators/regionListResponseBody.zod.d.ts +1 -1
  840. package/dist/compute/v2/generated/validators/regionListResponseBody.zod.js +1 -1
  841. package/dist/compute/v2/generated/validators/regionResource.zod.d.ts +1 -1
  842. package/dist/compute/v2/generated/validators/regionResource.zod.js +1 -1
  843. package/dist/compute/v2/generated/validators/releaseResource.zod.d.ts +1 -1
  844. package/dist/compute/v2/generated/validators/releaseResource.zod.js +1 -1
  845. package/dist/compute/v2/generated/validators/releaseSetItem.zod.d.ts +1 -1
  846. package/dist/compute/v2/generated/validators/releaseSetItem.zod.js +1 -1
  847. package/dist/compute/v2/generated/validators/replaceNetworkInterfaceSecurityGroupsRequestBody.zod.d.ts +1 -1
  848. package/dist/compute/v2/generated/validators/replaceNetworkInterfaceSecurityGroupsRequestBody.zod.js +1 -1
  849. package/dist/compute/v2/generated/validators/rescueInstanceResponseBody.zod.d.ts +1 -1
  850. package/dist/compute/v2/generated/validators/rescueInstanceResponseBody.zod.js +1 -1
  851. package/dist/compute/v2/generated/validators/resetInstancePasswordResponseBody.zod.d.ts +1 -1
  852. package/dist/compute/v2/generated/validators/resetInstancePasswordResponseBody.zod.js +1 -1
  853. package/dist/compute/v2/generated/validators/resizeInstanceRequestBody.zod.d.ts +2 -1
  854. package/dist/compute/v2/generated/validators/resizeInstanceRequestBody.zod.js +2 -2
  855. package/dist/compute/v2/generated/validators/resizeInstanceResponseBody.zod.d.ts +1 -1
  856. package/dist/compute/v2/generated/validators/resizeInstanceResponseBody.zod.js +1 -1
  857. package/dist/compute/v2/generated/validators/resizeVolumeRequestBody.zod.d.ts +2 -1
  858. package/dist/compute/v2/generated/validators/resizeVolumeRequestBody.zod.js +2 -2
  859. package/dist/compute/v2/generated/validators/retypeVolumeRequestBody.zod.d.ts +2 -1
  860. package/dist/compute/v2/generated/validators/retypeVolumeRequestBody.zod.js +2 -2
  861. package/dist/compute/v2/generated/validators/revertVolumeRequestBody.zod.d.ts +1 -1
  862. package/dist/compute/v2/generated/validators/revertVolumeRequestBody.zod.js +1 -1
  863. package/dist/compute/v2/generated/validators/runInstanceCommandRequestBody.zod.d.ts +1 -1
  864. package/dist/compute/v2/generated/validators/runInstanceCommandRequestBody.zod.js +1 -1
  865. package/dist/compute/v2/generated/validators/runInstanceCommandResponseBody.zod.d.ts +1 -1
  866. package/dist/compute/v2/generated/validators/runInstanceCommandResponseBody.zod.js +1 -1
  867. package/dist/compute/v2/generated/validators/securityGroup.zod.d.ts +1 -1
  868. package/dist/compute/v2/generated/validators/securityGroup.zod.js +1 -1
  869. package/dist/compute/v2/generated/validators/securityGroupId.zod.d.ts +1 -1
  870. package/dist/compute/v2/generated/validators/securityGroupId.zod.js +1 -1
  871. package/dist/compute/v2/generated/validators/securityGroupIdOrWildcard.zod.d.ts +1 -1
  872. package/dist/compute/v2/generated/validators/securityGroupIdOrWildcard.zod.js +1 -1
  873. package/dist/compute/v2/generated/validators/securityGroupListResponseBody.zod.d.ts +1 -1
  874. package/dist/compute/v2/generated/validators/securityGroupListResponseBody.zod.js +1 -1
  875. package/dist/compute/v2/generated/validators/securityGroupRule.zod.d.ts +1 -1
  876. package/dist/compute/v2/generated/validators/securityGroupRule.zod.js +1 -1
  877. package/dist/compute/v2/generated/validators/securityGroupRuleDirection.zod.d.ts +1 -1
  878. package/dist/compute/v2/generated/validators/securityGroupRuleDirection.zod.js +1 -1
  879. package/dist/compute/v2/generated/validators/securityGroupRuleId.zod.d.ts +1 -1
  880. package/dist/compute/v2/generated/validators/securityGroupRuleId.zod.js +1 -1
  881. package/dist/compute/v2/generated/validators/securityGroupRuleListResponseBody.zod.d.ts +1 -1
  882. package/dist/compute/v2/generated/validators/securityGroupRuleListResponseBody.zod.js +1 -1
  883. package/dist/compute/v2/generated/validators/subnetId.zod.d.ts +1 -1
  884. package/dist/compute/v2/generated/validators/subnetId.zod.js +1 -1
  885. package/dist/compute/v2/generated/validators/suppliedPassword.zod.d.ts +1 -1
  886. package/dist/compute/v2/generated/validators/suppliedPassword.zod.js +1 -1
  887. package/dist/compute/v2/generated/validators/terminationPolicy.zod.d.ts +1 -1
  888. package/dist/compute/v2/generated/validators/terminationPolicy.zod.js +1 -1
  889. package/dist/compute/v2/generated/validators/trafficUsage.zod.d.ts +1 -1
  890. package/dist/compute/v2/generated/validators/trafficUsage.zod.js +1 -1
  891. package/dist/compute/v2/generated/validators/trafficUsageListResponseBody.zod.d.ts +1 -1
  892. package/dist/compute/v2/generated/validators/trafficUsageListResponseBody.zod.js +1 -1
  893. package/dist/compute/v2/generated/validators/updateInstanceRequestBody.zod.d.ts +1 -1
  894. package/dist/compute/v2/generated/validators/updateInstanceRequestBody.zod.js +1 -1
  895. package/dist/compute/v2/generated/validators/updateLaunchTemplateRequestBody.zod.d.ts +1 -1
  896. package/dist/compute/v2/generated/validators/updateLaunchTemplateRequestBody.zod.js +1 -1
  897. package/dist/compute/v2/generated/validators/updateNetworkInterfaceRequestBody.zod.d.ts +1 -1
  898. package/dist/compute/v2/generated/validators/updateNetworkInterfaceRequestBody.zod.js +1 -1
  899. package/dist/compute/v2/generated/validators/updatePrivateImageRequestBody.zod.d.ts +1 -1
  900. package/dist/compute/v2/generated/validators/updatePrivateImageRequestBody.zod.js +1 -1
  901. package/dist/compute/v2/generated/validators/updateSecurityGroupRequestBody.zod.d.ts +1 -1
  902. package/dist/compute/v2/generated/validators/updateSecurityGroupRequestBody.zod.js +1 -1
  903. package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudRequestBody.zod.d.ts +1 -1
  904. package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudRequestBody.zod.js +1 -1
  905. package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudSubnetRequestBody.zod.d.ts +1 -1
  906. package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudSubnetRequestBody.zod.js +1 -1
  907. package/dist/compute/v2/generated/validators/updateVolumeBackupRequestBody.zod.d.ts +1 -1
  908. package/dist/compute/v2/generated/validators/updateVolumeBackupRequestBody.zod.js +1 -1
  909. package/dist/compute/v2/generated/validators/updateVolumeRequestBody.zod.d.ts +1 -1
  910. package/dist/compute/v2/generated/validators/updateVolumeRequestBody.zod.js +1 -1
  911. package/dist/compute/v2/generated/validators/updateVolumeSnapshotRequestBody.zod.d.ts +1 -1
  912. package/dist/compute/v2/generated/validators/updateVolumeSnapshotRequestBody.zod.js +1 -1
  913. package/dist/compute/v2/generated/validators/virtualPrivateCloud.zod.d.ts +1 -1
  914. package/dist/compute/v2/generated/validators/virtualPrivateCloud.zod.js +1 -1
  915. package/dist/compute/v2/generated/validators/virtualPrivateCloudId.zod.d.ts +1 -1
  916. package/dist/compute/v2/generated/validators/virtualPrivateCloudId.zod.js +1 -1
  917. package/dist/compute/v2/generated/validators/virtualPrivateCloudIdOrWildcard.zod.d.ts +1 -1
  918. package/dist/compute/v2/generated/validators/virtualPrivateCloudIdOrWildcard.zod.js +1 -1
  919. package/dist/compute/v2/generated/validators/virtualPrivateCloudListResponseBody.zod.d.ts +1 -1
  920. package/dist/compute/v2/generated/validators/virtualPrivateCloudListResponseBody.zod.js +1 -1
  921. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringId.zod.d.ts +1 -1
  922. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringId.zod.js +1 -1
  923. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringListResponseBody.zod.d.ts +1 -1
  924. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringListResponseBody.zod.js +1 -1
  925. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringResource.zod.d.ts +1 -1
  926. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringResource.zod.js +1 -1
  927. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteId.zod.d.ts +1 -1
  928. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteId.zod.js +1 -1
  929. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteListResponseBody.zod.d.ts +1 -1
  930. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteListResponseBody.zod.js +1 -1
  931. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteResource.zod.d.ts +1 -1
  932. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteResource.zod.js +1 -1
  933. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteType.zod.d.ts +1 -1
  934. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteType.zod.js +1 -1
  935. package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnet.zod.d.ts +1 -1
  936. package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnet.zod.js +1 -1
  937. package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnetListResponseBody.zod.d.ts +1 -1
  938. package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnetListResponseBody.zod.js +1 -1
  939. package/dist/compute/v2/generated/validators/volumeAttachment.zod.d.ts +1 -1
  940. package/dist/compute/v2/generated/validators/volumeAttachment.zod.js +1 -1
  941. package/dist/compute/v2/generated/validators/volumeAttachmentList.zod.d.ts +1 -1
  942. package/dist/compute/v2/generated/validators/volumeAttachmentList.zod.js +1 -1
  943. package/dist/compute/v2/generated/validators/volumeBackupId.zod.d.ts +1 -1
  944. package/dist/compute/v2/generated/validators/volumeBackupId.zod.js +1 -1
  945. package/dist/compute/v2/generated/validators/volumeBackupListResponseBody.zod.d.ts +1 -1
  946. package/dist/compute/v2/generated/validators/volumeBackupListResponseBody.zod.js +1 -1
  947. package/dist/compute/v2/generated/validators/volumeBackupReleaseResource.zod.d.ts +1 -1
  948. package/dist/compute/v2/generated/validators/volumeBackupReleaseResource.zod.js +1 -1
  949. package/dist/compute/v2/generated/validators/volumeBackupResource.zod.d.ts +1 -1
  950. package/dist/compute/v2/generated/validators/volumeBackupResource.zod.js +1 -1
  951. package/dist/compute/v2/generated/validators/volumeChangeResponseBody.zod.d.ts +1 -1
  952. package/dist/compute/v2/generated/validators/volumeChangeResponseBody.zod.js +1 -1
  953. package/dist/compute/v2/generated/validators/volumeId.zod.d.ts +1 -1
  954. package/dist/compute/v2/generated/validators/volumeId.zod.js +1 -1
  955. package/dist/compute/v2/generated/validators/volumeListResponseBody.zod.d.ts +1 -1
  956. package/dist/compute/v2/generated/validators/volumeListResponseBody.zod.js +1 -1
  957. package/dist/compute/v2/generated/validators/volumePerformance.zod.d.ts +1 -1
  958. package/dist/compute/v2/generated/validators/volumePerformance.zod.js +1 -1
  959. package/dist/compute/v2/generated/validators/volumeReleaseResource.zod.d.ts +1 -1
  960. package/dist/compute/v2/generated/validators/volumeReleaseResource.zod.js +1 -1
  961. package/dist/compute/v2/generated/validators/volumeResource.zod.d.ts +1 -1
  962. package/dist/compute/v2/generated/validators/volumeResource.zod.js +1 -1
  963. package/dist/compute/v2/generated/validators/volumeSnapshotId.zod.d.ts +1 -1
  964. package/dist/compute/v2/generated/validators/volumeSnapshotId.zod.js +1 -1
  965. package/dist/compute/v2/generated/validators/volumeSnapshotListResponseBody.zod.d.ts +1 -1
  966. package/dist/compute/v2/generated/validators/volumeSnapshotListResponseBody.zod.js +1 -1
  967. package/dist/compute/v2/generated/validators/volumeSnapshotReleaseResource.zod.d.ts +1 -1
  968. package/dist/compute/v2/generated/validators/volumeSnapshotReleaseResource.zod.js +1 -1
  969. package/dist/compute/v2/generated/validators/volumeSnapshotResource.zod.d.ts +1 -1
  970. package/dist/compute/v2/generated/validators/volumeSnapshotResource.zod.js +1 -1
  971. package/dist/compute/v2/generated/validators/volumeTypeId.zod.d.ts +1 -1
  972. package/dist/compute/v2/generated/validators/volumeTypeId.zod.js +1 -1
  973. package/dist/compute/v2/generated/validators/volumeTypeListResponseBody.zod.d.ts +1 -1
  974. package/dist/compute/v2/generated/validators/volumeTypeListResponseBody.zod.js +1 -1
  975. package/dist/compute/v2/generated/validators/volumeTypePerformance.zod.d.ts +1 -1
  976. package/dist/compute/v2/generated/validators/volumeTypePerformance.zod.js +1 -1
  977. package/dist/compute/v2/generated/validators/volumeTypeResource.zod.d.ts +1 -1
  978. package/dist/compute/v2/generated/validators/volumeTypeResource.zod.js +1 -1
  979. package/dist/membership/v1/generated/functions.d.ts +1 -1
  980. package/dist/membership/v1/generated/functions.js +1 -1
  981. package/dist/membership/v1/generated/models.d.ts +10 -1
  982. package/dist/membership/v1/generated/schemas.zod.d.ts +3 -1
  983. package/dist/membership/v1/generated/schemas.zod.js +1 -1
  984. package/dist/membership/v1/generated/validators/checkoutOptions.zod.d.ts +1 -0
  985. package/dist/membership/v1/generated/validators/checkoutOptions.zod.js +5 -1
  986. package/dist/membership/v1/generated/validators/membershipCreate.zod.d.ts +1 -0
  987. package/dist/membership/v1/generated/validators/membershipUpgrade.zod.d.ts +1 -0
  988. package/dist/proto/leaflow/fleet/virtualdesktop/datatransfer/v1/datatransfer_pb.d.ts +19 -7
  989. package/dist/proto/leaflow/fleet/virtualdesktop/datatransfer/v1/datatransfer_pb.js +1 -1
  990. package/dist/routes.d.ts +25 -17
  991. package/dist/routes.js +27 -18
  992. package/dist/swas/v1/generated/models.d.ts +6 -6
  993. package/dist/swas/v1/generated/validators/instancePrice.zod.js +1 -1
  994. package/dist/swas/v1/generated/validators/price.zod.js +1 -1
  995. package/dist/swas/v1/generated/validators/priceOption.zod.js +2 -2
  996. package/dist/swas/v1/generated/validators/purchase.zod.js +1 -1
  997. package/dist/swas/v1/generated/validators/purchaseCreate.zod.js +1 -1
  998. package/package.json +1 -1
  999. package/dist/billing/v1/generated/validators/checkoutSessionItemList.zod.d.ts +0 -28
  1000. package/dist/billing/v1/generated/validators/checkoutSessionItemList.zod.js +0 -14
  1001. package/dist/billing/v1/generated/validators/getCheckoutSessionQuoteParams.zod.d.ts +0 -14
  1002. package/dist/billing/v1/generated/validators/getCheckoutSessionQuoteParams.zod.js +0 -12
  1003. package/dist/billing/v1/generated/validators/listCheckoutSessionItemsParams.zod.d.ts +0 -18
  1004. package/dist/billing/v1/generated/validators/listCheckoutSessionItemsParams.zod.js +0 -24
  1005. package/dist/billing/v1/generated/validators/quote.zod.d.ts +0 -112
  1006. package/dist/billing/v1/generated/validators/quote.zod.js +0 -37
  1007. package/dist/billing/v1/generated/validators/quoteAddress.zod.d.ts +0 -16
  1008. package/dist/billing/v1/generated/validators/quoteAddress.zod.js +0 -22
  1009. package/dist/billing/v1/generated/validators/quoteChangeInput.zod.d.ts +0 -42
  1010. package/dist/billing/v1/generated/validators/quoteChangeInput.zod.js +0 -38
  1011. package/dist/billing/v1/generated/validators/quoteDowngradeRefund.zod.d.ts +0 -14
  1012. package/dist/billing/v1/generated/validators/quoteDowngradeRefund.zod.js +0 -15
  1013. package/dist/billing/v1/generated/validators/quoteItem.zod.d.ts +0 -52
  1014. package/dist/billing/v1/generated/validators/quoteItem.zod.js +0 -74
  1015. package/dist/billing/v1/generated/validators/quoteItemInput.zod.d.ts +0 -42
  1016. package/dist/billing/v1/generated/validators/quoteItemInput.zod.js +0 -38
  1017. package/dist/billing/v1/generated/validators/quoteRenewal.zod.d.ts +0 -26
  1018. package/dist/billing/v1/generated/validators/quoteRenewal.zod.js +0 -25
  1019. package/dist/billing/v1/generated/validators/quoteRenewalItem.zod.d.ts +0 -17
  1020. package/dist/billing/v1/generated/validators/quoteRenewalItem.zod.js +0 -18
  1021. package/dist/billing/v1/generated/validators/quoteRenewalResult.zod.d.ts +0 -33
  1022. package/dist/billing/v1/generated/validators/quoteRenewalResult.zod.js +0 -27
  1023. package/dist/billing/v1/generated/validators/quoteRequest.zod.d.ts +0 -101
  1024. package/dist/billing/v1/generated/validators/quoteRequest.zod.js +0 -57
  1025. package/dist/billing/v1/generated/validators/quotedDiscount.zod.d.ts +0 -29
  1026. package/dist/billing/v1/generated/validators/quotedDiscount.zod.js +0 -32
@@ -2,7 +2,7 @@
2
2
  * Generated by orval 🍺
3
3
  * Do not edit manually.
4
4
  * Leaflow Billing API
5
- * Products, prices, orders, subscriptions and account billing. Operations on a billing account require an account access token. The account, its balance, payment options and quotes are also readable by members of the projects it currently pays for; changing the account and moving its funds need the owner. Members of a project, as each operation states, can also read the project's billing account, subscriptions and orders, complete and pay for its purchases, quote purchases, changes and renewals, preview cancellations, and, with the project permission `billing:finance.manage` granted in IAM, renew, cancel and turn automatic renewal of its subscriptions on or off, change its billing account and read its costs. A member without the permission an operation needs is refused with 403 `PERMISSION_DENIED` and `meta.permission`; a caller who is not a member, with 403 `IAM_NOT_PROJECT_MEMBER`. Public catalogue operations declare no security requirement.
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
6
  * OpenAPI spec version: v1
7
7
  */
8
8
  /**
@@ -43,293 +43,6 @@ export interface OrderCancel {
43
43
  */
44
44
  order_item_ids?: string[];
45
45
  }
46
- export type QuoteRenewalInterval = (typeof QuoteRenewalInterval)[keyof typeof QuoteRenewalInterval];
47
- export declare const QuoteRenewalInterval: {
48
- readonly day: "day";
49
- readonly month: "month";
50
- readonly year: "year";
51
- };
52
- /**
53
- * Price renewing a whole subscription: every continuing licensed item. Give `interval` with
54
- * `interval_count` to renew for another term at the price each item currently sells it for, with
55
- * its own cancellation policy or the only price of that term. Naming the current term, or giving
56
- * neither, renews every item at its agreed amount. A term an item does not sell is refused with
57
- * 409 `BILLING_RENEWAL_PRICE_UNAVAILABLE` and `meta.subscription_item_id`; prices the rule cannot
58
- * choose between, with 409 `BILLING_RENEWAL_OPTION_AMBIGUOUS` unless `cancellation_policy` is given.
59
- */
60
- export interface QuoteRenewal {
61
- subscription_id: string;
62
- interval?: QuoteRenewalInterval;
63
- /** @minimum 1 */
64
- interval_count?: number;
65
- /** With `interval` and `interval_count`, renews every item at its price of that term with this cancellation policy. */
66
- cancellation_policy?: CancellationPolicy;
67
- /**
68
- * How many consecutive periods to renew for.
69
- * @minimum 1
70
- * @maximum 100
71
- */
72
- periods?: number;
73
- }
74
- export type QuoteRenewalResultInterval = (typeof QuoteRenewalResultInterval)[keyof typeof QuoteRenewalResultInterval];
75
- export declare const QuoteRenewalResultInterval: {
76
- readonly day: "day";
77
- readonly month: "month";
78
- readonly year: "year";
79
- };
80
- /**
81
- * A decimal string, in the currency stated alongside it.
82
- *
83
- * **The currency is not part of this type.** It is carried by a `currency` field next to the
84
- * amount, or by the account the amount belongs to. Reading an amount without that field is
85
- * reading a number with no unit.
86
- *
87
- * It is a string rather than a JSON number because a JSON number is a float in most parsers,
88
- * and a float loses precision on the first arithmetic. Nothing on this platform puts an amount
89
- * through a float.
90
- */
91
- export type Money = string;
92
- /**
93
- * One item of a quoted renewal.
94
- */
95
- export interface QuoteRenewalItem {
96
- subscription_item_id: string;
97
- plan_id: string;
98
- plan_name: string;
99
- /** The price the item is charged under. */
100
- price_id: string;
101
- /** The price of the periods for this item before the account's discounts. */
102
- amount: Money;
103
- }
104
- /**
105
- * What renewing one subscription would charge as part of the quoted renewal order.
106
- */
107
- export interface QuoteRenewalResult {
108
- /** Which renewal of the request this answers. */
109
- index: number;
110
- subscription_id: string;
111
- /** Each item the renewal covers, with the price it is charged under. */
112
- items: QuoteRenewalItem[];
113
- interval: QuoteRenewalResultInterval;
114
- interval_count: number;
115
- periods: number;
116
- /** The price of the periods for every item before the account's discounts, with any discount the items carry already reflected; includes tax only where the price does. */
117
- amount: Money;
118
- /** The reduction from a discount the account holds. */
119
- discount_amount: Money;
120
- /** Tax on the discounted amount. */
121
- tax_amount: Money;
122
- /** The part of `tax_amount` already contained in `amount`. */
123
- tax_included_amount: Money;
124
- /**
125
- * What renewing would charge: `amount` less `discount_amount`, plus `tax_amount`, less
126
- * `tax_included_amount`.
127
- */
128
- total: Money;
129
- }
130
- /**
131
- * The billing period of a recurring licensed line; `none` otherwise.
132
- */
133
- export type QuoteItemInterval = (typeof QuoteItemInterval)[keyof typeof QuoteItemInterval];
134
- export declare const QuoteItemInterval: {
135
- readonly none: "none";
136
- readonly day: "day";
137
- readonly month: "month";
138
- readonly year: "year";
139
- };
140
- /**
141
- * The dimension values the line is priced at.
142
- */
143
- export type QuoteItemDimensions = {
144
- [key: string]: string;
145
- };
146
- /**
147
- * The platform service's fixed identifier, such as compute, canopy or assistant.
148
- * @minLength 1
149
- * @maxLength 64
150
- * @pattern ^[a-z][a-z0-9]*(-[a-z0-9]+)*$
151
- */
152
- export type ProductId = string;
153
- /**
154
- * `one_time` charges once when bought. `recurring` charges again for every period, or for usage as it is settled.
155
- */
156
- export type PriceType = (typeof PriceType)[keyof typeof PriceType];
157
- export declare const PriceType: {
158
- readonly one_time: "one_time";
159
- readonly recurring: "recurring";
160
- };
161
- /**
162
- * `licensed` charges for the quantity bought, each period paid before it starts. `metered` charges for the usage
163
- * reported, after it is settled; a metered subscription lasts until it is canceled. A one-time price is licensed.
164
- */
165
- export type UsageType = (typeof UsageType)[keyof typeof UsageType];
166
- export declare const UsageType: {
167
- readonly licensed: "licensed";
168
- readonly metered: "metered";
169
- };
170
- /**
171
- * What an immediate downgrade would refund, estimated as of `proration_date`. The refund itself is determined when the change takes effect.
172
- */
173
- export interface QuoteDowngradeRefund {
174
- /** Returned to the original payment sources, tax paid on it included. */
175
- refundable_amount: Money;
176
- /** Before tax, the part of the excess that the item's refund terms do not return. */
177
- forfeited_amount: Money;
178
- }
179
- /**
180
- * One fully calculated purchase line. An item with no immediate charge, such as a metered purchase, has zero checkout amounts.
181
- */
182
- export interface QuoteItem {
183
- tax_amount: Money;
184
- tax_included_amount: Money;
185
- /**
186
- * The zero-based index of the item or change in the request, or the item's position for a Checkout Session quote.
187
- * @minimum 0
188
- */
189
- index: number;
190
- /**
191
- * The subscription the line belongs to when it changes an item or is added to an existing subscription; null when it opens a new one.
192
- * @nullable
193
- */
194
- subscription_id: string | null;
195
- /**
196
- * The subscription item changed; null for a new line.
197
- * @nullable
198
- */
199
- subscription_item_id: string | null;
200
- product_id: ProductId;
201
- plan_id: string;
202
- /** The selected price, also when the request identified it indirectly. */
203
- price_id: string;
204
- plan_name: string;
205
- type: PriceType;
206
- usage_type: UsageType;
207
- /** The billing period of a recurring licensed line; `none` otherwise. */
208
- interval: QuoteItemInterval;
209
- /**
210
- * Periods per billing cycle of a recurring licensed line; null otherwise.
211
- * @minimum 1
212
- * @nullable
213
- */
214
- interval_count: number | null;
215
- /** The dimension values the line is priced at. */
216
- dimensions: QuoteItemDimensions;
217
- /** The setup charge already included in `amount`; null when none applies. */
218
- setup_amount: Money | null;
219
- /** Recurring licensed lines only; null otherwise. What each later period renews at, before discounts and tax, which differs from `amount` when the first period is priced differently. `discount` says whether its discount continues on renewals. */
220
- recurring_amount: Money | null;
221
- /** Unit price before discounts. Null when no single unit price applies, such as tiered or multiple-rate pricing. */
222
- unit_amount: Money | null;
223
- /** The quantity priced. */
224
- quantity: string;
225
- /** Amount before discounts and including any setup charge. */
226
- amount: Money;
227
- discount_amount: Money;
228
- /** Immediate changes only; null otherwise. Before tax, the new terms for the time from `proration_date` to the end of the paid period. An upgrade invoices `remaining_amount` minus `unused_amount`. */
229
- remaining_amount: Money | null;
230
- /** Immediate changes only; null otherwise. Before tax, for an upgrade or an unchanged period price, the amount paid for that time, up to the new terms' value for the same time; for a downgrade, the remaining value of what was paid, under the refund terms of each paid period. */
231
- unused_amount: Money | null;
232
- /** Immediate downgrades only, when `unused_amount` exceeds `remaining_amount`; null otherwise. */
233
- downgrade_refund: QuoteDowngradeRefund | null;
234
- total: Money;
235
- currency: string;
236
- }
237
- /**
238
- * `complete`: tax is calculated for the billing account's invoice contact, or for `address` without an account. `requires_location_inputs`: a quote without an account or `address`, which leaves out tax that would be added; tax already contained in a price is included.
239
- */
240
- export type QuoteTaxStatus = (typeof QuoteTaxStatus)[keyof typeof QuoteTaxStatus];
241
- export declare const QuoteTaxStatus: {
242
- readonly complete: "complete";
243
- readonly requires_location_inputs: "requires_location_inputs";
244
- };
245
- /**
246
- * Account funding for this purchase, calculated by Billing. Amounts use the enclosing response currency.
247
- * Credit eligibility and all purchase requirements are already evaluated. Nothing is charged or reserved.
248
- * A licensed purchase may instead be paid with an online payment method.
249
- */
250
- export interface Funds {
251
- /** Spendable balance after pending returns. */
252
- available_balance_amount: Money;
253
- /** Currently effective credits eligible for the quoted purchases or metered usage. Each grant is counted once. */
254
- usable_credit_amount: Money;
255
- /** Currently effective credits that cannot fund any quoted purchase or metered target. Unused eligible credits are not restricted. */
256
- restricted_credit_amount: Money;
257
- /** Minimum spendable balance needed after eligible credits, covering immediate charges and every new metered purchase's admission requirement. */
258
- required_balance_amount: Money;
259
- /** Additional balance needed now. Zero means account funds satisfy this quote. No funds are reserved. */
260
- balance_shortfall_amount: Money;
261
- /** Minimum recharge that covers the shortfall, respecting the currency minimum recharge and currency precision. Zero when no additional balance is needed. */
262
- required_top_up_amount: Money;
263
- }
264
- export type QuotedDiscountType = (typeof QuotedDiscountType)[keyof typeof QuotedDiscountType];
265
- export declare const QuotedDiscountType: {
266
- readonly promotion_code: "promotion_code";
267
- readonly account_discount: "account_discount";
268
- };
269
- /**
270
- * Whether the discount continues on renewals of what is bought: `once` applies only to this purchase, `recurring` for `frequency_duration` periods including the first, `forever` on every renewal.
271
- */
272
- export type QuotedDiscountFrequency = (typeof QuotedDiscountFrequency)[keyof typeof QuotedDiscountFrequency];
273
- export declare const QuotedDiscountFrequency: {
274
- readonly once: "once";
275
- readonly recurring: "recurring";
276
- readonly forever: "forever";
277
- };
278
- /**
279
- * `confirmed`: every condition of the discount holds for the billing account. `unverified`: a quote without an account, where conditions that depend on the account, such as a first purchase or a per-account limit, are checked only when a Checkout Session is completed.
280
- */
281
- export type QuotedDiscountEligibility = (typeof QuotedDiscountEligibility)[keyof typeof QuotedDiscountEligibility];
282
- export declare const QuotedDiscountEligibility: {
283
- readonly confirmed: "confirmed";
284
- readonly unverified: "unverified";
285
- };
286
- /**
287
- * The discount selected for this calculation, not applied and not reserved. Amounts are on the quote and its lines.
288
- */
289
- export interface QuotedDiscount {
290
- type: QuotedDiscountType;
291
- name: string;
292
- /**
293
- * Code text for a promotion_code discount; null for an account_discount.
294
- * @minLength 1
295
- * @maxLength 64
296
- * @nullable
297
- */
298
- promotion_code: string | null;
299
- /** Whether the discount continues on renewals of what is bought: `once` applies only to this purchase, `recurring` for `frequency_duration` periods including the first, `forever` on every renewal. */
300
- frequency: QuotedDiscountFrequency;
301
- /**
302
- * For `recurring`, the periods the discount lasts; null otherwise.
303
- * @minimum 1
304
- * @nullable
305
- */
306
- frequency_duration: number | null;
307
- /** `confirmed`: every condition of the discount holds for the billing account. `unverified`: a quote without an account, where conditions that depend on the account, such as a first purchase or a per-account limit, are checked only when a Checkout Session is completed. */
308
- eligibility: QuotedDiscountEligibility;
309
- }
310
- /**
311
- * A complete calculation in `currency`; nothing is saved or reserved. The request fails if any item cannot be priced. A Checkout Session quote gives what completing the session would invoice.
312
- */
313
- export interface Quote {
314
- /** Account funds for the quoted purchase. Null without an account. */
315
- funds: Funds | null;
316
- subtotal: Money;
317
- discount_amount: Money;
318
- tax_amount: Money;
319
- /** The discount a purchase would get, not yet applied. Null when there is none, and for renewals. */
320
- discount: QuotedDiscount | null;
321
- items: QuoteItem[];
322
- renewals: QuoteRenewalResult[];
323
- total: Money;
324
- currency: string;
325
- /**
326
- * Immediate changes and items added to an existing subscription only; null otherwise. The instant they are priced from; pass it when confirming the Checkout Session so it is priced from the same instant.
327
- * @nullable
328
- */
329
- proration_date: string | null;
330
- /** `complete`: tax is calculated for the billing account's invoice contact, or for `address` without an account. `requires_location_inputs`: a quote without an account or `address`, which leaves out tax that would be added; tax already contained in a price is included. */
331
- tax_status: QuoteTaxStatus;
332
- }
333
46
  /**
334
47
  * One subscription item to end, each at most once.
335
48
  */
@@ -365,6 +78,18 @@ export interface CancellationPreviewRequest {
365
78
  items: CancellationItemInput[];
366
79
  mode: CancellationMode;
367
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;
368
93
  /**
369
94
  * Which object this is, together with what a person currently calls it.
370
95
  *
@@ -380,6 +105,23 @@ export interface NamedIdentity {
380
105
  /** @maxLength 255 */
381
106
  name: string;
382
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
+ };
383
125
  /**
384
126
  * One subscription item of the previewed cancellation.
385
127
  */
@@ -647,6 +389,13 @@ export interface ErrorStatus {
647
389
  export interface Error {
648
390
  error: ErrorStatus;
649
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;
650
399
  export interface Product {
651
400
  id: ProductId;
652
401
  name: string;
@@ -1133,6 +882,25 @@ export interface PaymentPreviewInvoice {
1133
882
  credit_applied: Money;
1134
883
  balance_applied: Money;
1135
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
+ }
1136
904
  /**
1137
905
  * What paying would take, calculated as paying does. Nothing is charged or reserved.
1138
906
  */
@@ -1655,7 +1423,7 @@ export interface UsageChargeList {
1655
1423
  pagination: OffsetPagination;
1656
1424
  }
1657
1425
  /**
1658
- * `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 and not charged until `trial_end`. `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.
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.
1659
1427
  */
1660
1428
  export type SubscriptionStatus = (typeof SubscriptionStatus)[keyof typeof SubscriptionStatus];
1661
1429
  export declare const SubscriptionStatus: {
@@ -1853,7 +1621,7 @@ export interface Subscription {
1853
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. */
1854
1622
  auto_renew: boolean;
1855
1623
  /**
1856
- * Start of the free trial; null without one.
1624
+ * Start of the free trial; null without one. During the trial the licensed items are free, while metered usage is charged as usual.
1857
1625
  * @nullable
1858
1626
  */
1859
1627
  trial_start?: string | null;
@@ -1980,7 +1748,9 @@ export interface SubscriptionUpdate {
1980
1748
  auto_renew?: boolean;
1981
1749
  }
1982
1750
  /**
1983
- * `open`: waiting for you to complete checkout; nothing is ordered, invoiced or reserved. `complete`: the order and its issued invoice exist; read the order for payment and delivery. `expired`: ended without an order.
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."
1984
1754
  */
1985
1755
  export type CheckoutSessionStatus = (typeof CheckoutSessionStatus)[keyof typeof CheckoutSessionStatus];
1986
1756
  export declare const CheckoutSessionStatus: {
@@ -1989,7 +1759,8 @@ export declare const CheckoutSessionStatus: {
1989
1759
  readonly expired: "expired";
1990
1760
  };
1991
1761
  /**
1992
- * `new` buys, `renew` extends subscriptions, `modify` changes subscription items' configuration or billing terms.
1762
+ * "`new` buys, `renew` extends subscriptions, `modify` changes subscription items' configuration or
1763
+ * billing terms."
1993
1764
  */
1994
1765
  export type CheckoutSessionType = (typeof CheckoutSessionType)[keyof typeof CheckoutSessionType];
1995
1766
  export declare const CheckoutSessionType: {
@@ -2007,9 +1778,19 @@ export declare const CheckoutSessionChangeEffective: {
2007
1778
  readonly period_end: "period_end";
2008
1779
  };
2009
1780
  /**
2010
- * automatic completes checkout with the purchase: the best applicable account discount is applied, and the
2011
- * order is created with its invoice issued and paid from eligible credit grants and available balance.
2012
- * Insufficient funds fail the purchase with HTTP 422 BILLING_INSUFFICIENT_FUNDS; no Billing order, charge or
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
2013
1794
  * discount redemption is committed.
2014
1795
  * deferred creates an open Billing Checkout Session and charges nothing, even for a zero total. The customer
2015
1796
  * completes it through Billing, where a promotion code can be applied, and then pays the issued invoice; a
@@ -2045,114 +1826,627 @@ export interface CheckoutOptions {
2045
1826
  return_url?: string;
2046
1827
  /**
2047
1828
  * Turns on automatic renewal of every subscription with licensed items that the purchase opens. Off
2048
- * when omitted. It must be the customer's own choice.
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
2049
2368
  */
2050
- auto_renew?: boolean;
2369
+ items?: CheckoutSessionItemInput[];
2370
+ subscription_data?: SubscriptionDataInput;
2051
2371
  }
2052
2372
  /**
2053
- * One subscription of the session.
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.
2054
2376
  */
2055
- export interface CheckoutSessionSubscription {
2377
+ export interface CheckoutSessionPreviewRequest {
2378
+ /** `new` previews a purchase, `modify` a change of subscription items, `renew` a renewal. */
2379
+ type: CheckoutSessionPreviewRequestType;
2056
2380
  /**
2057
- * The existing subscription renewed or changed, or that new items are added to. Null for a subscription the purchase opens.
2058
- * @nullable
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
2059
2383
  */
2060
- subscription_id: string | null;
2384
+ billing_account_id?: number;
2061
2385
  /**
2062
- * The free trial a subscription the purchase opens gets; null without one.
2063
- * @nullable
2386
+ * For `new` only. The ISO 4217 currency to price in without an account.
2387
+ * @minLength 3
2388
+ * @maxLength 3
2064
2389
  */
2065
- trial_period_days: number | null;
2390
+ currency?: string;
2066
2391
  /**
2067
- * The end of the free trial a subscription the purchase opens gets; null without one or when given in days.
2068
- * @nullable
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.
2069
2395
  */
2070
- trial_end: string | null;
2071
- }
2072
- /**
2073
- * A purchase waiting for you to complete checkout. Completing it applies the discount and creates the order with its invoice issued; the order carries the session's ID.
2074
- */
2075
- export interface CheckoutSession {
2076
- id: string;
2077
- product_id: ProductId;
2078
- billing_account_id: number;
2079
- account: AccountIdentity;
2396
+ address?: CustomerAddress;
2080
2397
  /**
2081
- * The project the purchase is for. Null for an account-level purchase, such as a membership.
2082
- * @nullable
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.
2083
2401
  */
2084
- project_id: string | null;
2085
- /** The project and its current name. Null for an account-level purchase or when the project cannot be read; `project_id` still identifies it. */
2086
- project: NamedIdentity | null;
2087
- /** `new` buys, `renew` extends subscriptions, `modify` changes subscription items' configuration or billing terms. */
2088
- type: CheckoutSessionType;
2089
- /** When a change takes effect, as on the order it creates; `none` for anything that is not a change. */
2090
- change_effective: CheckoutSessionChangeEffective;
2091
- status: CheckoutSessionStatus;
2092
- currency: string;
2093
- /** The checkout choices as the purchase gave them. Billing does not check `return_url`; validate it before navigating. */
2094
- checkout: CheckoutOptions;
2095
- /** When an open session expires. The order a complete session created has its own payment deadline. */
2096
- expires_at: string;
2097
- created_at: string;
2098
- /** @nullable */
2099
- completed_at: string | null;
2100
- /** @nullable */
2101
- expired_at: string | null;
2402
+ change_effective?: CheckoutSessionPreviewRequestChangeEffective;
2102
2403
  /**
2103
- * The order created when the session completed. Null otherwise.
2104
- * @nullable
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
2105
2407
  */
2106
- order_id: string | null;
2107
- /** The subscriptions the session buys, renews or changes, in order; each item names its entry in `subscription_index`. */
2108
- subscriptions: CheckoutSessionSubscription[];
2109
- }
2110
- export interface CheckoutSessionList {
2111
- items: CheckoutSession[];
2112
- pagination: OffsetPagination;
2113
- }
2114
- /**
2115
- * The dimension values of what is bought, such as region and instance type.
2116
- */
2117
- export type CheckoutSessionItemDimensions = {
2118
- [key: string]: string;
2119
- };
2120
- /**
2121
- * One item of the session. It becomes the order item at the same position; its price is chosen when checkout completes.
2122
- */
2123
- export interface CheckoutSessionItem {
2124
- /** @minimum 0 */
2125
- position: number;
2126
- plan_id: string;
2127
- plan_name: string;
2408
+ subscriptions: CheckoutSessionPreviewSubscription[];
2128
2409
  /**
2129
- * The price the item named. Null when Billing selects it by billing terms or from the subscription being changed or renewed.
2130
- * @nullable
2410
+ * For `renew` only, as in creating a renewal Checkout Session.
2411
+ * @minimum 1
2131
2412
  */
2132
- price_id: string | null;
2133
- quantity: string;
2134
- /** The dimension values of what is bought, such as region and instance type. */
2135
- dimensions: CheckoutSessionItemDimensions;
2413
+ periods?: number;
2136
2414
  /**
2137
- * The item's subscription, as its index in the session's `subscriptions`.
2138
- * @minimum 0
2415
+ * For `renew` only, as in creating a renewal Checkout Session.
2416
+ * @minimum 1
2139
2417
  */
2140
- subscription_index: number;
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;
2141
2423
  /**
2142
- * The subscription item changed or renewed. Null for an item the purchase adds.
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
2143
2440
  * @nullable
2144
2441
  */
2145
- subscription_item_id: string | null;
2442
+ promotion_code?: string | null;
2146
2443
  /**
2147
- * Renewals only; null otherwise. How many consecutive periods are renewed.
2148
- * @minimum 1
2444
+ * A free trial grant of the session's billing account to use; null removes it.
2149
2445
  * @nullable
2150
2446
  */
2151
- periods: number | null;
2152
- }
2153
- export interface CheckoutSessionItemList {
2154
- items: CheckoutSessionItem[];
2155
- pagination: OffsetPagination;
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;
2156
2450
  }
2157
2451
  /**
2158
2452
  * As in renewing.
@@ -2197,15 +2491,13 @@ export interface CheckoutSessionCreate {
2197
2491
  cancellation_policy?: CancellationPolicy;
2198
2492
  }
2199
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;
2200
2496
  /**
2201
- * As quoted. Omit to apply the best applicable account discount.
2202
- * @minLength 1
2203
- * @maxLength 64
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.
2204
2500
  */
2205
- promotion_code?: string;
2206
- /** The quote's `total`, after discounts and tax and before credit grants or balance. */
2207
- expected_amount: Money & string;
2208
- /** Immediate changes only. The quote's `proration_date`; it must be a whole second, not in the future and at most 10 minutes old, otherwise the request is refused with `BILLING_CHANGE_INVALID`. Defaults to the time of the request. */
2209
2501
  proration_date?: string;
2210
2502
  }
2211
2503
  /**
@@ -2504,6 +2796,10 @@ export interface DiscountList {
2504
2796
  items: Discount[];
2505
2797
  pagination: OffsetPagination;
2506
2798
  }
2799
+ export interface TrialGrantList {
2800
+ items: TrialGrant[];
2801
+ pagination: OffsetPagination;
2802
+ }
2507
2803
  export interface OrderItemList {
2508
2804
  items: OrderItem[];
2509
2805
  pagination: OffsetPagination;
@@ -2762,52 +3058,6 @@ export interface PriceList {
2762
3058
  items: Price[];
2763
3059
  pagination: OffsetPagination;
2764
3060
  }
2765
- export type QuoteItemInputInterval = (typeof QuoteItemInputInterval)[keyof typeof QuoteItemInputInterval];
2766
- export declare const QuoteItemInputInterval: {
2767
- readonly none: "none";
2768
- readonly day: "day";
2769
- readonly month: "month";
2770
- readonly year: "year";
2771
- };
2772
- /**
2773
- * The dimension values of what is bought, such as region and instance type. Required whenever the price uses a rate card; prices with their own amounts ignore them. Every key the meter declares must be given. A combination no rate covers is refused with `BILLING_PRICE_UNAVAILABLE` rather than priced at zero. Prices are set per currency, and a currency may not offer some combinations at all, for example in a region it does not sell to.
2774
- */
2775
- export type QuoteItemInputDimensions = {
2776
- [key: string]: string;
2777
- };
2778
- /**
2779
- * Identify a price, or select one for a plan; give each resource's ID or lookup key, never both, and product_id with lookup keys. A metered item includes only any setup charge; its usage is estimated with `estimate-usage`.
2780
- */
2781
- export interface QuoteItemInput {
2782
- /**
2783
- * @minLength 1
2784
- * @maxLength 128
2785
- */
2786
- price_lookup_key?: string;
2787
- /**
2788
- * @minLength 1
2789
- * @maxLength 128
2790
- */
2791
- plan_lookup_key?: string;
2792
- price_id?: string;
2793
- product_id?: ProductId;
2794
- plan_id?: string;
2795
- /** Narrows the selection when a plan offers more than one price type. */
2796
- price_type?: PriceType;
2797
- /** Narrows the selection when a plan offers more than one usage type. */
2798
- usage_type?: UsageType;
2799
- interval?: QuoteItemInputInterval;
2800
- /** @minimum 1 */
2801
- interval_count?: number;
2802
- /** Selects among licensed prices with otherwise identical billing terms. Ambiguous terms are refused instead of choosing a price arbitrarily. */
2803
- cancellation_policy?: CancellationPolicy;
2804
- /** @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]))))))))))$ */
2805
- quantity: string;
2806
- /** The dimension values of what is bought, such as region and instance type. Required whenever the price uses a rate card; prices with their own amounts ignore them. Every key the meter declares must be given. A combination no rate covers is refused with `BILLING_PRICE_UNAVAILABLE` rather than priced at zero. Prices are set per currency, and a currency may not offer some combinations at all, for example in a region it does not sell to. */
2807
- dimensions?: QuoteItemInputDimensions;
2808
- /** Price the line as a new item added to this existing subscription, as the owning service adds it when buying for a resource the subscription pays for. Needs `billing_account_id`, which must currently pay for the subscription. A licensed line is priced up to the subscription's `current_term_end`, the rest of the current period in proportion to the time left from `proration_date`, and must have the subscription's interval and interval count; a metered line has no immediate charge; added to a trialing subscription, the line is free until the trial ends. */
2809
- subscription_id?: string;
2810
- }
2811
3061
  /**
2812
3062
  * The values of the meter's presentation dimensions, present only when grouped by meter.
2813
3063
  */
@@ -2880,7 +3130,7 @@ export interface ActiveResourceList {
2880
3130
  pagination: OffsetPagination;
2881
3131
  }
2882
3132
  /**
2883
- * An estimated refund to the original payment sources. Before acceptance, cancellation returns the collected amount. For delivered service, only value paid by this order is included; renewals are evaluated with their own orders under the agreed cancellation terms. Nothing is refunded by the quote; the amount is fixed when cancellation or termination is confirmed.
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.
2884
3134
  */
2885
3135
  export interface OrderRefundPreview {
2886
3136
  order_id: string;
@@ -2971,118 +3221,6 @@ export interface UsageEstimate {
2971
3221
  /** One per request item, in request order. */
2972
3222
  items: UsageEstimateItem[];
2973
3223
  }
2974
- /**
2975
- * When the changes take effect; defaults to `immediate`. `immediate` prices the rest of the paid period from `proration_date`, charging an upgrade the difference and showing what a downgrade refunds. `period_end` prices the first period at the new terms, which replaces the renewal when the paid period ends.
2976
- */
2977
- export type QuoteRequestChangeEffective = (typeof QuoteRequestChangeEffective)[keyof typeof QuoteRequestChangeEffective];
2978
- export declare const QuoteRequestChangeEffective: {
2979
- readonly immediate: "immediate";
2980
- readonly period_end: "period_end";
2981
- };
2982
- export type QuoteChangeInputInterval = (typeof QuoteChangeInputInterval)[keyof typeof QuoteChangeInputInterval];
2983
- export declare const QuoteChangeInputInterval: {
2984
- readonly none: "none";
2985
- readonly day: "day";
2986
- readonly month: "month";
2987
- readonly year: "year";
2988
- };
2989
- /**
2990
- * The dimension values after the change, given in full; omit to keep the item's.
2991
- */
2992
- export type QuoteChangeInputDimensions = {
2993
- [key: string]: string;
2994
- };
2995
- /**
2996
- * The new terms of one subscription item. Identify the price, or the plan to select one from, as for a proposed item. Without a price or billing terms, the plan's price with the item's price type, usage type, interval, interval count and cancellation policy is selected. Omitted dimensions keep the item's.
2997
- */
2998
- export interface QuoteChangeInput {
2999
- subscription_item_id: string;
3000
- /**
3001
- * @minLength 1
3002
- * @maxLength 128
3003
- */
3004
- price_lookup_key?: string;
3005
- /**
3006
- * @minLength 1
3007
- * @maxLength 128
3008
- */
3009
- plan_lookup_key?: string;
3010
- price_id?: string;
3011
- product_id?: ProductId;
3012
- plan_id?: string;
3013
- /** Selects the price type instead of keeping the item's. */
3014
- price_type?: PriceType;
3015
- /** Selects the usage type instead of keeping the item's. */
3016
- usage_type?: UsageType;
3017
- interval?: QuoteChangeInputInterval;
3018
- /** @minimum 1 */
3019
- interval_count?: number;
3020
- /** Selects among licensed prices with otherwise identical billing terms. */
3021
- cancellation_policy?: CancellationPolicy;
3022
- /**
3023
- * The quantity after the change.
3024
- * @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]))))))))))$
3025
- */
3026
- quantity: string;
3027
- /** The dimension values after the change, given in full; omit to keep the item's. */
3028
- dimensions?: QuoteChangeInputDimensions;
3029
- }
3030
- export interface QuoteAddress {
3031
- /**
3032
- * ISO 3166-1 alpha-2, two uppercase letters.
3033
- * @pattern ^[A-Z]{2}$
3034
- */
3035
- country: string;
3036
- /**
3037
- * The state or province, as the tax rates name it.
3038
- * @minLength 1
3039
- * @maxLength 128
3040
- */
3041
- state?: string;
3042
- }
3043
- /**
3044
- * Quote proposed items, changes or renewals: exactly one of them. Give exactly one of `billing_account_id` and `currency`; changes, renewals and items added to an existing subscription need the account. Promotion codes apply to proposed items and changes. An invalid combination fails with `BILLING_PURCHASE_INVALID` and the field.
3045
- */
3046
- export interface QuoteRequest {
3047
- /**
3048
- * The billing account to price for; it must be yours or currently pay for a project you are a member of, and an access token is required. Renewals must currently be paid by it.
3049
- * @minimum 1
3050
- */
3051
- billing_account_id?: number;
3052
- /**
3053
- * The ISO 4217 currency to price in without an account.
3054
- * @minLength 3
3055
- * @maxLength 3
3056
- */
3057
- currency?: string;
3058
- /**
3059
- * A proposed purchase.
3060
- * @minItems 1
3061
- * @maxItems 100
3062
- */
3063
- items?: QuoteItemInput[];
3064
- /**
3065
- * Preview renewing these subscriptions together in one renewal order, as a renewal Checkout Session does, each at most once; `total` is that order's. Each must currently be paid by `billing_account_id`, be yours to read as the owner of that account or a member of the subscription's project, and all must belong to the same project and service. To apply a promotion code, create a renewal Checkout Session and quote it.
3066
- * @minItems 1
3067
- * @maxItems 100
3068
- */
3069
- renewals?: QuoteRenewal[];
3070
- /**
3071
- * Preview changing these subscription items in one order, each at most once. Each must currently be paid by `billing_account_id` and be yours to read, as the owner of that account or a member of the subscription's project; all must belong to the same project, or all to no project.
3072
- * @minItems 1
3073
- * @maxItems 100
3074
- */
3075
- changes?: QuoteChangeInput[];
3076
- /** When the changes take effect; defaults to `immediate`. `immediate` prices the rest of the paid period from `proration_date`, charging an upgrade the difference and showing what a downgrade refunds. `period_end` prices the first period at the new terms, which replaces the renewal when the paid period ends. */
3077
- change_effective?: QuoteRequestChangeEffective;
3078
- /** Only with `currency`. Where the customer is, to include the tax that would be added there for a customer who is not tax exempt; `tax_status` is then `complete`. Refused with `billing_account_id`, whose invoice contact decides tax. */
3079
- address?: QuoteAddress;
3080
- /**
3081
- * @minLength 1
3082
- * @maxLength 64
3083
- */
3084
- promotion_code?: string;
3085
- }
3086
3224
  /**
3087
3225
  * Pagination metadata for keyset traversal. Pass next_cursor as cursor to read the following page; null means there is no following page.
3088
3226
  */
@@ -3827,6 +3965,30 @@ export type ListAccountDiscountsParams = {
3827
3965
  */
3828
3966
  status?: DiscountStatus[];
3829
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
+ };
3830
3992
  export type ListCreditGrantsParams = {
3831
3993
  /**
3832
3994
  * 1-based page number. Defaults to 1.
@@ -4126,27 +4288,6 @@ export type ListCheckoutSessionsParams = {
4126
4288
  */
4127
4289
  project_ids?: ProjectIdsQueryParameter;
4128
4290
  };
4129
- export type ListCheckoutSessionItemsParams = {
4130
- /**
4131
- * 1-based page number. Defaults to 1.
4132
- * @minimum 1
4133
- * @maximum 2147483647
4134
- */
4135
- page?: number;
4136
- /**
4137
- * Items per page. Defaults to 50; at most 200.
4138
- * @minimum 1
4139
- * @maximum 200
4140
- */
4141
- page_size?: number;
4142
- };
4143
- export type GetCheckoutSessionQuoteParams = {
4144
- /**
4145
- * @minLength 1
4146
- * @maxLength 64
4147
- */
4148
- promotion_code?: string;
4149
- };
4150
4291
  export type ListOrdersParams = {
4151
4292
  /**
4152
4293
  * 1-based page number. Defaults to 1.