@leaflow/sdk 0.159.0 → 0.161.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 (931) hide show
  1. package/dist/billing/v1/generated/functions.d.ts +71 -20
  2. package/dist/billing/v1/generated/functions.js +93 -18
  3. package/dist/billing/v1/generated/models.d.ts +175 -6
  4. package/dist/billing/v1/generated/models.js +10 -0
  5. package/dist/billing/v1/generated/schemas.zod.d.ts +22 -12
  6. package/dist/billing/v1/generated/schemas.zod.js +22 -12
  7. package/dist/billing/v1/generated/validators/accountBalance.zod.d.ts +1 -1
  8. package/dist/billing/v1/generated/validators/accountBalance.zod.js +1 -1
  9. package/dist/billing/v1/generated/validators/accountDeletionObjection.zod.d.ts +1 -1
  10. package/dist/billing/v1/generated/validators/accountDeletionObjection.zod.js +1 -1
  11. package/dist/billing/v1/generated/validators/accountDeletionReadiness.zod.d.ts +1 -1
  12. package/dist/billing/v1/generated/validators/accountDeletionReadiness.zod.js +1 -1
  13. package/dist/billing/v1/generated/validators/accountDeletionReadinessItem.zod.d.ts +1 -1
  14. package/dist/billing/v1/generated/validators/accountDeletionReadinessItem.zod.js +1 -1
  15. package/dist/billing/v1/generated/validators/accountIdentity.zod.d.ts +1 -1
  16. package/dist/billing/v1/generated/validators/accountIdentity.zod.js +1 -1
  17. package/dist/billing/v1/generated/validators/activeResource.zod.d.ts +1 -1
  18. package/dist/billing/v1/generated/validators/activeResource.zod.js +1 -1
  19. package/dist/billing/v1/generated/validators/activeResourceList.zod.d.ts +1 -1
  20. package/dist/billing/v1/generated/validators/activeResourceList.zod.js +1 -1
  21. package/dist/billing/v1/generated/validators/allowance.zod.d.ts +1 -1
  22. package/dist/billing/v1/generated/validators/allowance.zod.js +1 -1
  23. package/dist/billing/v1/generated/validators/allowanceList.zod.d.ts +1 -1
  24. package/dist/billing/v1/generated/validators/allowanceList.zod.js +1 -1
  25. package/dist/billing/v1/generated/validators/applicability.zod.d.ts +1 -1
  26. package/dist/billing/v1/generated/validators/applicability.zod.js +1 -1
  27. package/dist/billing/v1/generated/validators/applicablePlan.zod.d.ts +1 -1
  28. package/dist/billing/v1/generated/validators/applicablePlan.zod.js +1 -1
  29. package/dist/billing/v1/generated/validators/appliedCredit.zod.d.ts +1 -1
  30. package/dist/billing/v1/generated/validators/appliedCredit.zod.js +1 -1
  31. package/dist/billing/v1/generated/validators/autoRenewSet.zod.d.ts +1 -1
  32. package/dist/billing/v1/generated/validators/autoRenewSet.zod.js +1 -1
  33. package/dist/billing/v1/generated/validators/billingAccount.zod.d.ts +1 -1
  34. package/dist/billing/v1/generated/validators/billingAccount.zod.js +1 -1
  35. package/dist/billing/v1/generated/validators/billingAccountCreate.zod.d.ts +1 -1
  36. package/dist/billing/v1/generated/validators/billingAccountCreate.zod.js +1 -1
  37. package/dist/billing/v1/generated/validators/billingAccountList.zod.d.ts +1 -1
  38. package/dist/billing/v1/generated/validators/billingAccountList.zod.js +1 -1
  39. package/dist/billing/v1/generated/validators/billingAccountUpdate.zod.d.ts +1 -1
  40. package/dist/billing/v1/generated/validators/billingAccountUpdate.zod.js +1 -1
  41. package/dist/billing/v1/generated/validators/billingScheme.zod.d.ts +1 -1
  42. package/dist/billing/v1/generated/validators/billingScheme.zod.js +1 -1
  43. package/dist/billing/v1/generated/validators/cancelSubscriptionRequest.zod.d.ts +1 -1
  44. package/dist/billing/v1/generated/validators/cancelSubscriptionRequest.zod.js +1 -1
  45. package/dist/billing/v1/generated/validators/cancellation.zod.d.ts +1 -1
  46. package/dist/billing/v1/generated/validators/cancellation.zod.js +1 -1
  47. package/dist/billing/v1/generated/validators/cancellationCreate.zod.d.ts +1 -1
  48. package/dist/billing/v1/generated/validators/cancellationCreate.zod.js +1 -1
  49. package/dist/billing/v1/generated/validators/cancellationItem.zod.d.ts +1 -1
  50. package/dist/billing/v1/generated/validators/cancellationItem.zod.js +1 -1
  51. package/dist/billing/v1/generated/validators/cancellationList.zod.d.ts +1 -1
  52. package/dist/billing/v1/generated/validators/cancellationList.zod.js +1 -1
  53. package/dist/billing/v1/generated/validators/cancellationPolicy.zod.d.ts +1 -1
  54. package/dist/billing/v1/generated/validators/cancellationPolicy.zod.js +1 -1
  55. package/dist/billing/v1/generated/validators/cancellationPreviewRequest.zod.d.ts +1 -1
  56. package/dist/billing/v1/generated/validators/cancellationPreviewRequest.zod.js +1 -1
  57. package/dist/billing/v1/generated/validators/cancellationRefundPreview.zod.d.ts +1 -1
  58. package/dist/billing/v1/generated/validators/cancellationRefundPreview.zod.js +1 -1
  59. package/dist/billing/v1/generated/validators/cancellationRefundPreviewItem.zod.d.ts +1 -1
  60. package/dist/billing/v1/generated/validators/cancellationRefundPreviewItem.zod.js +1 -1
  61. package/dist/billing/v1/generated/validators/checkoutMode.zod.d.ts +1 -1
  62. package/dist/billing/v1/generated/validators/checkoutMode.zod.js +1 -1
  63. package/dist/billing/v1/generated/validators/checkoutOptions.zod.d.ts +1 -1
  64. package/dist/billing/v1/generated/validators/checkoutOptions.zod.js +1 -1
  65. package/dist/billing/v1/generated/validators/checkoutSession.zod.d.ts +1 -1
  66. package/dist/billing/v1/generated/validators/checkoutSession.zod.js +1 -1
  67. package/dist/billing/v1/generated/validators/checkoutSessionConfirm.zod.d.ts +1 -1
  68. package/dist/billing/v1/generated/validators/checkoutSessionConfirm.zod.js +1 -1
  69. package/dist/billing/v1/generated/validators/checkoutSessionCreate.zod.d.ts +1 -1
  70. package/dist/billing/v1/generated/validators/checkoutSessionCreate.zod.js +1 -1
  71. package/dist/billing/v1/generated/validators/checkoutSessionItem.zod.d.ts +1 -1
  72. package/dist/billing/v1/generated/validators/checkoutSessionItem.zod.js +1 -1
  73. package/dist/billing/v1/generated/validators/checkoutSessionItemList.zod.d.ts +1 -1
  74. package/dist/billing/v1/generated/validators/checkoutSessionItemList.zod.js +1 -1
  75. package/dist/billing/v1/generated/validators/checkoutSessionList.zod.d.ts +1 -1
  76. package/dist/billing/v1/generated/validators/checkoutSessionList.zod.js +1 -1
  77. package/dist/billing/v1/generated/validators/checkoutSessionResult.zod.d.ts +1 -1
  78. package/dist/billing/v1/generated/validators/checkoutSessionResult.zod.js +1 -1
  79. package/dist/billing/v1/generated/validators/checkoutSessionStatus.zod.d.ts +1 -1
  80. package/dist/billing/v1/generated/validators/checkoutSessionStatus.zod.js +1 -1
  81. package/dist/billing/v1/generated/validators/contact.zod.d.ts +1 -1
  82. package/dist/billing/v1/generated/validators/contact.zod.js +1 -1
  83. package/dist/billing/v1/generated/validators/contactCreate.zod.d.ts +1 -1
  84. package/dist/billing/v1/generated/validators/contactCreate.zod.js +1 -1
  85. package/dist/billing/v1/generated/validators/contactList.zod.d.ts +1 -1
  86. package/dist/billing/v1/generated/validators/contactList.zod.js +1 -1
  87. package/dist/billing/v1/generated/validators/contactUpdate.zod.d.ts +1 -1
  88. package/dist/billing/v1/generated/validators/contactUpdate.zod.js +1 -1
  89. package/dist/billing/v1/generated/validators/creditGrant.zod.d.ts +1 -1
  90. package/dist/billing/v1/generated/validators/creditGrant.zod.js +1 -1
  91. package/dist/billing/v1/generated/validators/creditGrantList.zod.d.ts +1 -1
  92. package/dist/billing/v1/generated/validators/creditGrantList.zod.js +1 -1
  93. package/dist/billing/v1/generated/validators/creditGroup.zod.d.ts +1 -1
  94. package/dist/billing/v1/generated/validators/creditGroup.zod.js +1 -1
  95. package/dist/billing/v1/generated/validators/creditNote.zod.d.ts +1 -1
  96. package/dist/billing/v1/generated/validators/creditNote.zod.js +1 -1
  97. package/dist/billing/v1/generated/validators/creditNoteItem.zod.d.ts +1 -1
  98. package/dist/billing/v1/generated/validators/creditNoteItem.zod.js +1 -1
  99. package/dist/billing/v1/generated/validators/creditNoteItemList.zod.d.ts +1 -1
  100. package/dist/billing/v1/generated/validators/creditNoteItemList.zod.js +1 -1
  101. package/dist/billing/v1/generated/validators/creditNoteList.zod.d.ts +1 -1
  102. package/dist/billing/v1/generated/validators/creditNoteList.zod.js +1 -1
  103. package/dist/billing/v1/generated/validators/currency.zod.d.ts +1 -1
  104. package/dist/billing/v1/generated/validators/currency.zod.js +1 -1
  105. package/dist/billing/v1/generated/validators/currencyList.zod.d.ts +1 -1
  106. package/dist/billing/v1/generated/validators/currencyList.zod.js +1 -1
  107. package/dist/billing/v1/generated/validators/cursorPagination.zod.d.ts +1 -1
  108. package/dist/billing/v1/generated/validators/cursorPagination.zod.js +1 -1
  109. package/dist/billing/v1/generated/validators/discount.zod.d.ts +1 -1
  110. package/dist/billing/v1/generated/validators/discount.zod.js +1 -1
  111. package/dist/billing/v1/generated/validators/discountList.zod.d.ts +1 -1
  112. package/dist/billing/v1/generated/validators/discountList.zod.js +1 -1
  113. package/dist/billing/v1/generated/validators/entitlement.zod.d.ts +1 -1
  114. package/dist/billing/v1/generated/validators/entitlement.zod.js +1 -1
  115. package/dist/billing/v1/generated/validators/entitlementList.zod.d.ts +1 -1
  116. package/dist/billing/v1/generated/validators/entitlementList.zod.js +1 -1
  117. package/dist/billing/v1/generated/validators/error.zod.d.ts +1 -1
  118. package/dist/billing/v1/generated/validators/error.zod.js +1 -1
  119. package/dist/billing/v1/generated/validators/featureGrant.zod.d.ts +1 -1
  120. package/dist/billing/v1/generated/validators/featureGrant.zod.js +1 -1
  121. package/dist/billing/v1/generated/validators/featureGrantList.zod.d.ts +1 -1
  122. package/dist/billing/v1/generated/validators/featureGrantList.zod.js +1 -1
  123. package/dist/billing/v1/generated/validators/featureGrantStatus.zod.d.ts +1 -1
  124. package/dist/billing/v1/generated/validators/featureGrantStatus.zod.js +1 -1
  125. package/dist/billing/v1/generated/validators/funds.zod.d.ts +1 -1
  126. package/dist/billing/v1/generated/validators/funds.zod.js +1 -1
  127. package/dist/billing/v1/generated/validators/getCheckoutSessionQuoteParams.zod.d.ts +1 -1
  128. package/dist/billing/v1/generated/validators/getCheckoutSessionQuoteParams.zod.js +1 -1
  129. package/dist/billing/v1/generated/validators/getPlanHeaders.zod.d.ts +1 -1
  130. package/dist/billing/v1/generated/validators/getPlanHeaders.zod.js +1 -1
  131. package/dist/billing/v1/generated/validators/getPriceHeaders.zod.d.ts +1 -1
  132. package/dist/billing/v1/generated/validators/getPriceHeaders.zod.js +1 -1
  133. package/dist/billing/v1/generated/validators/getProductHeaders.zod.d.ts +1 -1
  134. package/dist/billing/v1/generated/validators/getProductHeaders.zod.js +1 -1
  135. package/dist/billing/v1/generated/validators/getStatementUsageParams.zod.d.ts +1 -1
  136. package/dist/billing/v1/generated/validators/getStatementUsageParams.zod.js +1 -1
  137. package/dist/billing/v1/generated/validators/invoice.zod.d.ts +1 -1
  138. package/dist/billing/v1/generated/validators/invoice.zod.js +1 -1
  139. package/dist/billing/v1/generated/validators/invoiceItem.zod.d.ts +1 -1
  140. package/dist/billing/v1/generated/validators/invoiceItem.zod.js +1 -1
  141. package/dist/billing/v1/generated/validators/invoiceItemList.zod.d.ts +1 -1
  142. package/dist/billing/v1/generated/validators/invoiceItemList.zod.js +1 -1
  143. package/dist/billing/v1/generated/validators/invoiceItemProration.zod.d.ts +1 -1
  144. package/dist/billing/v1/generated/validators/invoiceItemProration.zod.js +1 -1
  145. package/dist/billing/v1/generated/validators/invoiceList.zod.d.ts +1 -1
  146. package/dist/billing/v1/generated/validators/invoiceList.zod.js +1 -1
  147. package/dist/billing/v1/generated/validators/invoiceStatus.zod.d.ts +1 -1
  148. package/dist/billing/v1/generated/validators/invoiceStatus.zod.js +1 -1
  149. package/dist/billing/v1/generated/validators/invoiceSummary.zod.d.ts +1 -1
  150. package/dist/billing/v1/generated/validators/invoiceSummary.zod.js +1 -1
  151. package/dist/billing/v1/generated/validators/listAccountDiscountsParams.zod.d.ts +1 -1
  152. package/dist/billing/v1/generated/validators/listAccountDiscountsParams.zod.js +1 -1
  153. package/dist/billing/v1/generated/validators/listActiveResourcesParams.zod.d.ts +1 -1
  154. package/dist/billing/v1/generated/validators/listActiveResourcesParams.zod.js +1 -1
  155. package/dist/billing/v1/generated/validators/listAllowancesParams.zod.d.ts +1 -1
  156. package/dist/billing/v1/generated/validators/listAllowancesParams.zod.js +1 -1
  157. package/dist/billing/v1/generated/validators/listBillingAccountsParams.zod.d.ts +1 -1
  158. package/dist/billing/v1/generated/validators/listBillingAccountsParams.zod.js +1 -1
  159. package/dist/billing/v1/generated/validators/listCancellationsParams.zod.d.ts +1 -1
  160. package/dist/billing/v1/generated/validators/listCancellationsParams.zod.js +1 -1
  161. package/dist/billing/v1/generated/validators/listCheckoutSessionItemsParams.zod.d.ts +1 -1
  162. package/dist/billing/v1/generated/validators/listCheckoutSessionItemsParams.zod.js +1 -1
  163. package/dist/billing/v1/generated/validators/listCheckoutSessionsParams.zod.d.ts +1 -1
  164. package/dist/billing/v1/generated/validators/listCheckoutSessionsParams.zod.js +1 -1
  165. package/dist/billing/v1/generated/validators/listContactsParams.zod.d.ts +1 -1
  166. package/dist/billing/v1/generated/validators/listContactsParams.zod.js +1 -1
  167. package/dist/billing/v1/generated/validators/listCreditGrantsParams.zod.d.ts +1 -1
  168. package/dist/billing/v1/generated/validators/listCreditGrantsParams.zod.js +1 -1
  169. package/dist/billing/v1/generated/validators/listCreditNoteItemsParams.zod.d.ts +1 -1
  170. package/dist/billing/v1/generated/validators/listCreditNoteItemsParams.zod.js +1 -1
  171. package/dist/billing/v1/generated/validators/listCreditNotesParams.zod.d.ts +1 -1
  172. package/dist/billing/v1/generated/validators/listCreditNotesParams.zod.js +1 -1
  173. package/dist/billing/v1/generated/validators/listCurrenciesParams.zod.d.ts +1 -1
  174. package/dist/billing/v1/generated/validators/listCurrenciesParams.zod.js +1 -1
  175. package/dist/billing/v1/generated/validators/listEntitlementsParams.zod.d.ts +1 -1
  176. package/dist/billing/v1/generated/validators/listEntitlementsParams.zod.js +1 -1
  177. package/dist/billing/v1/generated/validators/listFeatureGrantsParams.zod.d.ts +1 -1
  178. package/dist/billing/v1/generated/validators/listFeatureGrantsParams.zod.js +1 -1
  179. package/dist/billing/v1/generated/validators/listInvoiceItemsParams.zod.d.ts +1 -1
  180. package/dist/billing/v1/generated/validators/listInvoiceItemsParams.zod.js +1 -1
  181. package/dist/billing/v1/generated/validators/listInvoicesParams.zod.d.ts +1 -1
  182. package/dist/billing/v1/generated/validators/listInvoicesParams.zod.js +1 -1
  183. package/dist/billing/v1/generated/validators/listMonthlyStatementsParams.zod.d.ts +1 -1
  184. package/dist/billing/v1/generated/validators/listMonthlyStatementsParams.zod.js +1 -1
  185. package/dist/billing/v1/generated/validators/listOrderItemsParams.zod.d.ts +1 -1
  186. package/dist/billing/v1/generated/validators/listOrderItemsParams.zod.js +1 -1
  187. package/dist/billing/v1/generated/validators/listOrdersParams.zod.d.ts +1 -1
  188. package/dist/billing/v1/generated/validators/listOrdersParams.zod.js +1 -1
  189. package/dist/billing/v1/generated/validators/listPaymentMethodsParams.zod.d.ts +1 -1
  190. package/dist/billing/v1/generated/validators/listPaymentMethodsParams.zod.js +1 -1
  191. package/dist/billing/v1/generated/validators/listPaymentOptionsParams.zod.d.ts +1 -1
  192. package/dist/billing/v1/generated/validators/listPaymentOptionsParams.zod.js +1 -1
  193. package/dist/billing/v1/generated/validators/listPlansHeaders.zod.d.ts +1 -1
  194. package/dist/billing/v1/generated/validators/listPlansHeaders.zod.js +1 -1
  195. package/dist/billing/v1/generated/validators/listPlansParams.zod.d.ts +1 -1
  196. package/dist/billing/v1/generated/validators/listPlansParams.zod.js +1 -1
  197. package/dist/billing/v1/generated/validators/listPricesByPlanHeaders.zod.d.ts +1 -1
  198. package/dist/billing/v1/generated/validators/listPricesByPlanHeaders.zod.js +1 -1
  199. package/dist/billing/v1/generated/validators/listPricesByPlanParams.zod.d.ts +1 -1
  200. package/dist/billing/v1/generated/validators/listPricesByPlanParams.zod.js +1 -1
  201. package/dist/billing/v1/generated/validators/listPricesHeaders.zod.d.ts +1 -1
  202. package/dist/billing/v1/generated/validators/listPricesHeaders.zod.js +1 -1
  203. package/dist/billing/v1/generated/validators/listPricesParams.zod.d.ts +1 -1
  204. package/dist/billing/v1/generated/validators/listPricesParams.zod.js +1 -1
  205. package/dist/billing/v1/generated/validators/listProductsHeaders.zod.d.ts +1 -1
  206. package/dist/billing/v1/generated/validators/listProductsHeaders.zod.js +1 -1
  207. package/dist/billing/v1/generated/validators/listProductsParams.zod.d.ts +1 -1
  208. package/dist/billing/v1/generated/validators/listProductsParams.zod.js +1 -1
  209. package/dist/billing/v1/generated/validators/listProjectAssignmentsParams.zod.d.ts +1 -1
  210. package/dist/billing/v1/generated/validators/listProjectAssignmentsParams.zod.js +1 -1
  211. package/dist/billing/v1/generated/validators/listRatesHeaders.zod.d.ts +1 -1
  212. package/dist/billing/v1/generated/validators/listRatesHeaders.zod.js +1 -1
  213. package/dist/billing/v1/generated/validators/listRatesParams.zod.d.ts +1 -1
  214. package/dist/billing/v1/generated/validators/listRatesParams.zod.js +1 -1
  215. package/dist/billing/v1/generated/validators/listRefundsParams.zod.d.ts +1 -1
  216. package/dist/billing/v1/generated/validators/listRefundsParams.zod.js +1 -1
  217. package/dist/billing/v1/generated/validators/listRenewalPricesParams.zod.d.ts +1 -1
  218. package/dist/billing/v1/generated/validators/listRenewalPricesParams.zod.js +1 -1
  219. package/dist/billing/v1/generated/validators/listSpendParams.zod.d.ts +1 -1
  220. package/dist/billing/v1/generated/validators/listSpendParams.zod.js +1 -1
  221. package/dist/billing/v1/generated/validators/listStatementsParams.zod.d.ts +1 -1
  222. package/dist/billing/v1/generated/validators/listStatementsParams.zod.js +1 -1
  223. package/dist/billing/v1/generated/validators/listSubscriptionsParams.zod.d.ts +1 -1
  224. package/dist/billing/v1/generated/validators/listSubscriptionsParams.zod.js +1 -1
  225. package/dist/billing/v1/generated/validators/listTopUpsParams.zod.d.ts +1 -1
  226. package/dist/billing/v1/generated/validators/listTopUpsParams.zod.js +1 -1
  227. package/dist/billing/v1/generated/validators/listTransactionsParams.zod.d.ts +1 -1
  228. package/dist/billing/v1/generated/validators/listTransactionsParams.zod.js +1 -1
  229. package/dist/billing/v1/generated/validators/listUsageChargesParams.zod.d.ts +1 -1
  230. package/dist/billing/v1/generated/validators/listUsageChargesParams.zod.js +1 -1
  231. package/dist/billing/v1/generated/validators/listWithdrawalItemsParams.zod.d.ts +1 -1
  232. package/dist/billing/v1/generated/validators/listWithdrawalItemsParams.zod.js +1 -1
  233. package/dist/billing/v1/generated/validators/listWithdrawalsParams.zod.d.ts +1 -1
  234. package/dist/billing/v1/generated/validators/listWithdrawalsParams.zod.js +1 -1
  235. package/dist/billing/v1/generated/validators/money.zod.d.ts +1 -1
  236. package/dist/billing/v1/generated/validators/money.zod.js +1 -1
  237. package/dist/billing/v1/generated/validators/monthlyStatement.zod.d.ts +1 -1
  238. package/dist/billing/v1/generated/validators/monthlyStatement.zod.js +1 -1
  239. package/dist/billing/v1/generated/validators/monthlyStatementList.zod.d.ts +1 -1
  240. package/dist/billing/v1/generated/validators/monthlyStatementList.zod.js +1 -1
  241. package/dist/billing/v1/generated/validators/namedIdentity.zod.d.ts +1 -1
  242. package/dist/billing/v1/generated/validators/namedIdentity.zod.js +1 -1
  243. package/dist/billing/v1/generated/validators/objectIdentity.zod.d.ts +1 -1
  244. package/dist/billing/v1/generated/validators/objectIdentity.zod.js +1 -1
  245. package/dist/billing/v1/generated/validators/offsetPagination.zod.d.ts +1 -1
  246. package/dist/billing/v1/generated/validators/offsetPagination.zod.js +1 -1
  247. package/dist/billing/v1/generated/validators/order.zod.d.ts +1 -1
  248. package/dist/billing/v1/generated/validators/order.zod.js +1 -1
  249. package/dist/billing/v1/generated/validators/orderCancel.zod.d.ts +1 -1
  250. package/dist/billing/v1/generated/validators/orderCancel.zod.js +1 -1
  251. package/dist/billing/v1/generated/validators/orderItem.zod.d.ts +1 -1
  252. package/dist/billing/v1/generated/validators/orderItem.zod.js +1 -1
  253. package/dist/billing/v1/generated/validators/orderItemList.zod.d.ts +1 -1
  254. package/dist/billing/v1/generated/validators/orderItemList.zod.js +1 -1
  255. package/dist/billing/v1/generated/validators/orderItemStatus.zod.d.ts +1 -1
  256. package/dist/billing/v1/generated/validators/orderItemStatus.zod.js +1 -1
  257. package/dist/billing/v1/generated/validators/orderList.zod.d.ts +1 -1
  258. package/dist/billing/v1/generated/validators/orderList.zod.js +1 -1
  259. package/dist/billing/v1/generated/validators/orderRefundPreview.zod.d.ts +1 -1
  260. package/dist/billing/v1/generated/validators/orderRefundPreview.zod.js +1 -1
  261. package/dist/billing/v1/generated/validators/orderStatus.zod.d.ts +1 -1
  262. package/dist/billing/v1/generated/validators/orderStatus.zod.js +1 -1
  263. package/dist/billing/v1/generated/validators/paidWith.zod.d.ts +1 -1
  264. package/dist/billing/v1/generated/validators/paidWith.zod.js +1 -1
  265. package/dist/billing/v1/generated/validators/payInvoiceRequest.zod.d.ts +1 -1
  266. package/dist/billing/v1/generated/validators/payInvoiceRequest.zod.js +1 -1
  267. package/dist/billing/v1/generated/validators/payTogetherRequest.zod.d.ts +1 -1
  268. package/dist/billing/v1/generated/validators/payTogetherRequest.zod.js +1 -1
  269. package/dist/billing/v1/generated/validators/paymentAction.zod.d.ts +1 -1
  270. package/dist/billing/v1/generated/validators/paymentAction.zod.js +1 -1
  271. package/dist/billing/v1/generated/validators/paymentCancellationReason.zod.d.ts +1 -1
  272. package/dist/billing/v1/generated/validators/paymentCancellationReason.zod.js +1 -1
  273. package/dist/billing/v1/generated/validators/paymentMethod.zod.d.ts +1 -1
  274. package/dist/billing/v1/generated/validators/paymentMethod.zod.js +1 -1
  275. package/dist/billing/v1/generated/validators/paymentMethodList.zod.d.ts +1 -1
  276. package/dist/billing/v1/generated/validators/paymentMethodList.zod.js +1 -1
  277. package/dist/billing/v1/generated/validators/paymentMethodSetup.zod.d.ts +1 -1
  278. package/dist/billing/v1/generated/validators/paymentMethodSetup.zod.js +1 -1
  279. package/dist/billing/v1/generated/validators/paymentMethodSetupResult.zod.d.ts +1 -1
  280. package/dist/billing/v1/generated/validators/paymentMethodSetupResult.zod.js +1 -1
  281. package/dist/billing/v1/generated/validators/paymentOption.zod.d.ts +1 -1
  282. package/dist/billing/v1/generated/validators/paymentOption.zod.js +1 -1
  283. package/dist/billing/v1/generated/validators/paymentOptionList.zod.d.ts +1 -1
  284. package/dist/billing/v1/generated/validators/paymentOptionList.zod.js +1 -1
  285. package/dist/billing/v1/generated/validators/paymentOptionMethod.zod.d.ts +1 -1
  286. package/dist/billing/v1/generated/validators/paymentOptionMethod.zod.js +1 -1
  287. package/dist/billing/v1/generated/validators/paymentPreview.zod.d.ts +1 -1
  288. package/dist/billing/v1/generated/validators/paymentPreview.zod.js +1 -1
  289. package/dist/billing/v1/generated/validators/paymentPreviewInvoice.zod.d.ts +1 -1
  290. package/dist/billing/v1/generated/validators/paymentPreviewInvoice.zod.js +1 -1
  291. package/dist/billing/v1/generated/validators/paymentResult.zod.d.ts +1 -1
  292. package/dist/billing/v1/generated/validators/paymentResult.zod.js +1 -1
  293. package/dist/billing/v1/generated/validators/paymentStatus.zod.d.ts +1 -1
  294. package/dist/billing/v1/generated/validators/paymentStatus.zod.js +1 -1
  295. package/dist/billing/v1/generated/validators/plan.zod.d.ts +1 -1
  296. package/dist/billing/v1/generated/validators/plan.zod.js +1 -1
  297. package/dist/billing/v1/generated/validators/planFeature.zod.d.ts +1 -1
  298. package/dist/billing/v1/generated/validators/planFeature.zod.js +1 -1
  299. package/dist/billing/v1/generated/validators/planList.zod.d.ts +1 -1
  300. package/dist/billing/v1/generated/validators/planList.zod.js +1 -1
  301. package/dist/billing/v1/generated/validators/previewInvoicePaymentParams.zod.d.ts +1 -1
  302. package/dist/billing/v1/generated/validators/previewInvoicePaymentParams.zod.js +1 -1
  303. package/dist/billing/v1/generated/validators/previewOrderRefundParams.zod.d.ts +1 -1
  304. package/dist/billing/v1/generated/validators/previewOrderRefundParams.zod.js +1 -1
  305. package/dist/billing/v1/generated/validators/price.zod.d.ts +1 -1
  306. package/dist/billing/v1/generated/validators/price.zod.js +1 -1
  307. package/dist/billing/v1/generated/validators/priceList.zod.d.ts +1 -1
  308. package/dist/billing/v1/generated/validators/priceList.zod.js +1 -1
  309. package/dist/billing/v1/generated/validators/priceOption.zod.d.ts +1 -1
  310. package/dist/billing/v1/generated/validators/priceOption.zod.js +1 -1
  311. package/dist/billing/v1/generated/validators/priceSearch.zod.d.ts +32 -0
  312. package/dist/billing/v1/generated/validators/priceSearch.zod.js +53 -0
  313. package/dist/billing/v1/generated/validators/priceType.zod.d.ts +1 -1
  314. package/dist/billing/v1/generated/validators/priceType.zod.js +1 -1
  315. package/dist/billing/v1/generated/validators/product.zod.d.ts +1 -1
  316. package/dist/billing/v1/generated/validators/product.zod.js +1 -1
  317. package/dist/billing/v1/generated/validators/productID.zod.d.ts +1 -1
  318. package/dist/billing/v1/generated/validators/productID.zod.js +1 -1
  319. package/dist/billing/v1/generated/validators/productList.zod.d.ts +1 -1
  320. package/dist/billing/v1/generated/validators/productList.zod.js +1 -1
  321. package/dist/billing/v1/generated/validators/projectAssignment.zod.d.ts +1 -1
  322. package/dist/billing/v1/generated/validators/projectAssignment.zod.js +1 -1
  323. package/dist/billing/v1/generated/validators/projectAssignmentList.zod.d.ts +1 -1
  324. package/dist/billing/v1/generated/validators/projectAssignmentList.zod.js +1 -1
  325. package/dist/billing/v1/generated/validators/purchaseOperation.zod.d.ts +1 -1
  326. package/dist/billing/v1/generated/validators/purchaseOperation.zod.js +1 -1
  327. package/dist/billing/v1/generated/validators/quote.zod.d.ts +8 -1
  328. package/dist/billing/v1/generated/validators/quote.zod.js +2 -2
  329. package/dist/billing/v1/generated/validators/quoteAddress.zod.d.ts +16 -0
  330. package/dist/billing/v1/generated/validators/quoteAddress.zod.js +22 -0
  331. package/dist/billing/v1/generated/validators/quoteChangeInput.zod.d.ts +42 -0
  332. package/dist/billing/v1/generated/validators/quoteChangeInput.zod.js +38 -0
  333. package/dist/billing/v1/generated/validators/quoteDowngradeRefund.zod.d.ts +14 -0
  334. package/dist/billing/v1/generated/validators/quoteDowngradeRefund.zod.js +15 -0
  335. package/dist/billing/v1/generated/validators/quoteItem.zod.d.ts +8 -1
  336. package/dist/billing/v1/generated/validators/quoteItem.zod.js +16 -2
  337. package/dist/billing/v1/generated/validators/quoteItemInput.zod.d.ts +1 -1
  338. package/dist/billing/v1/generated/validators/quoteItemInput.zod.js +1 -1
  339. package/dist/billing/v1/generated/validators/quoteRenewal.zod.d.ts +1 -1
  340. package/dist/billing/v1/generated/validators/quoteRenewal.zod.js +1 -1
  341. package/dist/billing/v1/generated/validators/quoteRenewalResult.zod.d.ts +1 -1
  342. package/dist/billing/v1/generated/validators/quoteRenewalResult.zod.js +1 -1
  343. package/dist/billing/v1/generated/validators/quoteRequest.zod.d.ts +39 -1
  344. package/dist/billing/v1/generated/validators/quoteRequest.zod.js +17 -3
  345. package/dist/billing/v1/generated/validators/quotedDiscount.zod.d.ts +1 -1
  346. package/dist/billing/v1/generated/validators/quotedDiscount.zod.js +1 -1
  347. package/dist/billing/v1/generated/validators/rate.zod.d.ts +1 -1
  348. package/dist/billing/v1/generated/validators/rate.zod.js +1 -1
  349. package/dist/billing/v1/generated/validators/rateList.zod.d.ts +1 -1
  350. package/dist/billing/v1/generated/validators/rateList.zod.js +1 -1
  351. package/dist/billing/v1/generated/validators/rateSearch.zod.d.ts +20 -0
  352. package/dist/billing/v1/generated/validators/rateSearch.zod.js +38 -0
  353. package/dist/billing/v1/generated/validators/refund.zod.d.ts +1 -1
  354. package/dist/billing/v1/generated/validators/refund.zod.js +1 -1
  355. package/dist/billing/v1/generated/validators/refundList.zod.d.ts +1 -1
  356. package/dist/billing/v1/generated/validators/refundList.zod.js +1 -1
  357. package/dist/billing/v1/generated/validators/refundPolicy.zod.d.ts +1 -1
  358. package/dist/billing/v1/generated/validators/refundPolicy.zod.js +1 -1
  359. package/dist/billing/v1/generated/validators/refundReason.zod.d.ts +1 -1
  360. package/dist/billing/v1/generated/validators/refundReason.zod.js +1 -1
  361. package/dist/billing/v1/generated/validators/renewRequest.zod.d.ts +1 -1
  362. package/dist/billing/v1/generated/validators/renewRequest.zod.js +1 -1
  363. package/dist/billing/v1/generated/validators/renewalPrice.zod.d.ts +1 -1
  364. package/dist/billing/v1/generated/validators/renewalPrice.zod.js +1 -1
  365. package/dist/billing/v1/generated/validators/renewalPriceList.zod.d.ts +1 -1
  366. package/dist/billing/v1/generated/validators/renewalPriceList.zod.js +1 -1
  367. package/dist/billing/v1/generated/validators/scheduledChange.zod.d.ts +1 -1
  368. package/dist/billing/v1/generated/validators/scheduledChange.zod.js +1 -1
  369. package/dist/billing/v1/generated/validators/setProjectAssignmentRequest.zod.d.ts +1 -1
  370. package/dist/billing/v1/generated/validators/setProjectAssignmentRequest.zod.js +1 -1
  371. package/dist/billing/v1/generated/validators/spendRow.zod.d.ts +1 -1
  372. package/dist/billing/v1/generated/validators/spendRow.zod.js +1 -1
  373. package/dist/billing/v1/generated/validators/spendRowList.zod.d.ts +1 -1
  374. package/dist/billing/v1/generated/validators/spendRowList.zod.js +1 -1
  375. package/dist/billing/v1/generated/validators/statement.zod.d.ts +1 -1
  376. package/dist/billing/v1/generated/validators/statement.zod.js +1 -1
  377. package/dist/billing/v1/generated/validators/statementAmounts.zod.d.ts +1 -1
  378. package/dist/billing/v1/generated/validators/statementAmounts.zod.js +1 -1
  379. package/dist/billing/v1/generated/validators/statementItem.zod.d.ts +1 -1
  380. package/dist/billing/v1/generated/validators/statementItem.zod.js +1 -1
  381. package/dist/billing/v1/generated/validators/statementList.zod.d.ts +1 -1
  382. package/dist/billing/v1/generated/validators/statementList.zod.js +1 -1
  383. package/dist/billing/v1/generated/validators/statementStatus.zod.d.ts +1 -1
  384. package/dist/billing/v1/generated/validators/statementStatus.zod.js +1 -1
  385. package/dist/billing/v1/generated/validators/statementSummary.zod.d.ts +1 -1
  386. package/dist/billing/v1/generated/validators/statementSummary.zod.js +1 -1
  387. package/dist/billing/v1/generated/validators/statementType.zod.d.ts +1 -1
  388. package/dist/billing/v1/generated/validators/statementType.zod.js +1 -1
  389. package/dist/billing/v1/generated/validators/subscription.zod.d.ts +1 -1
  390. package/dist/billing/v1/generated/validators/subscription.zod.js +1 -1
  391. package/dist/billing/v1/generated/validators/subscriptionCancellation.zod.d.ts +1 -1
  392. package/dist/billing/v1/generated/validators/subscriptionCancellation.zod.js +1 -1
  393. package/dist/billing/v1/generated/validators/subscriptionList.zod.d.ts +1 -1
  394. package/dist/billing/v1/generated/validators/subscriptionList.zod.js +1 -1
  395. package/dist/billing/v1/generated/validators/subscriptionRestriction.zod.d.ts +1 -1
  396. package/dist/billing/v1/generated/validators/subscriptionRestriction.zod.js +1 -1
  397. package/dist/billing/v1/generated/validators/taxItem.zod.d.ts +1 -1
  398. package/dist/billing/v1/generated/validators/taxItem.zod.js +1 -1
  399. package/dist/billing/v1/generated/validators/tier.zod.d.ts +1 -1
  400. package/dist/billing/v1/generated/validators/tier.zod.js +1 -1
  401. package/dist/billing/v1/generated/validators/topUp.zod.d.ts +1 -1
  402. package/dist/billing/v1/generated/validators/topUp.zod.js +1 -1
  403. package/dist/billing/v1/generated/validators/topUpCreate.zod.d.ts +1 -1
  404. package/dist/billing/v1/generated/validators/topUpCreate.zod.js +1 -1
  405. package/dist/billing/v1/generated/validators/topUpList.zod.d.ts +1 -1
  406. package/dist/billing/v1/generated/validators/topUpList.zod.js +1 -1
  407. package/dist/billing/v1/generated/validators/transaction.zod.d.ts +1 -1
  408. package/dist/billing/v1/generated/validators/transaction.zod.js +1 -1
  409. package/dist/billing/v1/generated/validators/transactionList.zod.d.ts +1 -1
  410. package/dist/billing/v1/generated/validators/transactionList.zod.js +1 -1
  411. package/dist/billing/v1/generated/validators/transactionType.zod.d.ts +1 -1
  412. package/dist/billing/v1/generated/validators/transactionType.zod.js +1 -1
  413. package/dist/billing/v1/generated/validators/usageCharge.zod.d.ts +1 -1
  414. package/dist/billing/v1/generated/validators/usageCharge.zod.js +1 -1
  415. package/dist/billing/v1/generated/validators/usageChargeList.zod.d.ts +1 -1
  416. package/dist/billing/v1/generated/validators/usageChargeList.zod.js +1 -1
  417. package/dist/billing/v1/generated/validators/usageEstimate.zod.d.ts +1 -1
  418. package/dist/billing/v1/generated/validators/usageEstimate.zod.js +1 -1
  419. package/dist/billing/v1/generated/validators/usageEstimateInput.zod.d.ts +1 -1
  420. package/dist/billing/v1/generated/validators/usageEstimateInput.zod.js +1 -1
  421. package/dist/billing/v1/generated/validators/usageEstimateItem.zod.d.ts +1 -1
  422. package/dist/billing/v1/generated/validators/usageEstimateItem.zod.js +1 -1
  423. package/dist/billing/v1/generated/validators/usageEstimateRequest.zod.d.ts +1 -1
  424. package/dist/billing/v1/generated/validators/usageEstimateRequest.zod.js +1 -1
  425. package/dist/billing/v1/generated/validators/usageType.zod.d.ts +1 -1
  426. package/dist/billing/v1/generated/validators/usageType.zod.js +1 -1
  427. package/dist/billing/v1/generated/validators/withdrawal.zod.d.ts +1 -1
  428. package/dist/billing/v1/generated/validators/withdrawal.zod.js +1 -1
  429. package/dist/billing/v1/generated/validators/withdrawalAllocation.zod.d.ts +1 -1
  430. package/dist/billing/v1/generated/validators/withdrawalAllocation.zod.js +1 -1
  431. package/dist/billing/v1/generated/validators/withdrawalCreate.zod.d.ts +1 -1
  432. package/dist/billing/v1/generated/validators/withdrawalCreate.zod.js +1 -1
  433. package/dist/billing/v1/generated/validators/withdrawalItem.zod.d.ts +1 -1
  434. package/dist/billing/v1/generated/validators/withdrawalItem.zod.js +1 -1
  435. package/dist/billing/v1/generated/validators/withdrawalItemList.zod.d.ts +1 -1
  436. package/dist/billing/v1/generated/validators/withdrawalItemList.zod.js +1 -1
  437. package/dist/billing/v1/generated/validators/withdrawalList.zod.d.ts +1 -1
  438. package/dist/billing/v1/generated/validators/withdrawalList.zod.js +1 -1
  439. package/dist/billing/v1/generated/validators/withdrawalPreview.zod.d.ts +1 -1
  440. package/dist/billing/v1/generated/validators/withdrawalPreview.zod.js +1 -1
  441. package/dist/billing/v1/generated/validators/withdrawalPreviewItem.zod.d.ts +1 -1
  442. package/dist/billing/v1/generated/validators/withdrawalPreviewItem.zod.js +1 -1
  443. package/dist/billing/v1/generated/validators/withdrawalPreviewRequest.zod.d.ts +1 -1
  444. package/dist/billing/v1/generated/validators/withdrawalPreviewRequest.zod.js +1 -1
  445. package/dist/billing/v1/generated/validators/withdrawalSource.zod.d.ts +1 -1
  446. package/dist/billing/v1/generated/validators/withdrawalSource.zod.js +1 -1
  447. package/dist/canopy/v1/generated/functions.d.ts +5 -32
  448. package/dist/canopy/v1/generated/functions.js +2 -20
  449. package/dist/canopy/v1/generated/models.d.ts +39 -200
  450. package/dist/canopy/v1/generated/models.js +1 -19
  451. package/dist/canopy/v1/generated/schemas.zod.d.ts +2 -2
  452. package/dist/canopy/v1/generated/schemas.zod.js +2 -2
  453. package/dist/canopy/v1/generated/validators/aPIKeyResource.zod.d.ts +2 -2
  454. package/dist/canopy/v1/generated/validators/aPIKeyResource.zod.js +2 -2
  455. package/dist/canopy/v1/generated/validators/aPIKeyUsageListResponseBody.zod.d.ts +2 -2
  456. package/dist/canopy/v1/generated/validators/aPIKeyUsageListResponseBody.zod.js +2 -2
  457. package/dist/canopy/v1/generated/validators/aPIKeyUsageResource.zod.d.ts +2 -2
  458. package/dist/canopy/v1/generated/validators/aPIKeyUsageResource.zod.js +2 -2
  459. package/dist/canopy/v1/generated/validators/chatCompletion.zod.d.ts +2 -2
  460. package/dist/canopy/v1/generated/validators/chatCompletion.zod.js +2 -2
  461. package/dist/canopy/v1/generated/validators/chatCompletionRequest.zod.d.ts +2 -2
  462. package/dist/canopy/v1/generated/validators/chatCompletionRequest.zod.js +2 -2
  463. package/dist/canopy/v1/generated/validators/checkoutMode.zod.d.ts +2 -2
  464. package/dist/canopy/v1/generated/validators/checkoutMode.zod.js +2 -2
  465. package/dist/canopy/v1/generated/validators/checkoutOptions.zod.d.ts +2 -2
  466. package/dist/canopy/v1/generated/validators/checkoutOptions.zod.js +2 -2
  467. package/dist/canopy/v1/generated/validators/createAPIKeyRequestBody.zod.d.ts +2 -2
  468. package/dist/canopy/v1/generated/validators/createAPIKeyRequestBody.zod.js +2 -2
  469. package/dist/canopy/v1/generated/validators/createServiceRequestBody.zod.d.ts +2 -2
  470. package/dist/canopy/v1/generated/validators/createServiceRequestBody.zod.js +2 -2
  471. package/dist/canopy/v1/generated/validators/createServiceResponseBody.zod.d.ts +3 -2
  472. package/dist/canopy/v1/generated/validators/createServiceResponseBody.zod.js +2 -2
  473. package/dist/canopy/v1/generated/validators/cursorPageRequestResource.zod.d.ts +2 -2
  474. package/dist/canopy/v1/generated/validators/cursorPageRequestResource.zod.js +2 -2
  475. package/dist/canopy/v1/generated/validators/cursorPagination.zod.d.ts +2 -2
  476. package/dist/canopy/v1/generated/validators/cursorPagination.zod.js +2 -2
  477. package/dist/canopy/v1/generated/validators/embeddingRequest.zod.d.ts +2 -2
  478. package/dist/canopy/v1/generated/validators/embeddingRequest.zod.js +2 -2
  479. package/dist/canopy/v1/generated/validators/embeddingResponse.zod.d.ts +2 -2
  480. package/dist/canopy/v1/generated/validators/embeddingResponse.zod.js +2 -2
  481. package/dist/canopy/v1/generated/validators/endpointCapabilities.zod.d.ts +2 -2
  482. package/dist/canopy/v1/generated/validators/endpointCapabilities.zod.js +2 -2
  483. package/dist/canopy/v1/generated/validators/error.zod.d.ts +2 -2
  484. package/dist/canopy/v1/generated/validators/error.zod.js +2 -2
  485. package/dist/canopy/v1/generated/validators/getUsageSummaryParams.zod.d.ts +2 -2
  486. package/dist/canopy/v1/generated/validators/getUsageSummaryParams.zod.js +2 -2
  487. package/dist/canopy/v1/generated/validators/getUsageTimelineParams.zod.d.ts +2 -2
  488. package/dist/canopy/v1/generated/validators/getUsageTimelineParams.zod.js +2 -2
  489. package/dist/canopy/v1/generated/validators/inferenceError.zod.d.ts +2 -2
  490. package/dist/canopy/v1/generated/validators/inferenceError.zod.js +2 -2
  491. package/dist/canopy/v1/generated/validators/issuedAPIKeyResource.zod.d.ts +2 -2
  492. package/dist/canopy/v1/generated/validators/issuedAPIKeyResource.zod.js +2 -2
  493. package/dist/canopy/v1/generated/validators/lengthAwarePageAPIKeyResource.zod.d.ts +2 -2
  494. package/dist/canopy/v1/generated/validators/lengthAwarePageAPIKeyResource.zod.js +2 -2
  495. package/dist/canopy/v1/generated/validators/listApiKeysParams.zod.d.ts +2 -2
  496. package/dist/canopy/v1/generated/validators/listApiKeysParams.zod.js +2 -2
  497. package/dist/canopy/v1/generated/validators/listRequestsParams.zod.d.ts +2 -2
  498. package/dist/canopy/v1/generated/validators/listRequestsParams.zod.js +2 -2
  499. package/dist/canopy/v1/generated/validators/listUsageByApiKeyParams.zod.d.ts +2 -2
  500. package/dist/canopy/v1/generated/validators/listUsageByApiKeyParams.zod.js +2 -2
  501. package/dist/canopy/v1/generated/validators/listUsageByModelParams.zod.d.ts +2 -2
  502. package/dist/canopy/v1/generated/validators/listUsageByModelParams.zod.js +2 -2
  503. package/dist/canopy/v1/generated/validators/modality.zod.d.ts +2 -2
  504. package/dist/canopy/v1/generated/validators/modality.zod.js +2 -2
  505. package/dist/canopy/v1/generated/validators/model.zod.d.ts +2 -2
  506. package/dist/canopy/v1/generated/validators/model.zod.js +2 -2
  507. package/dist/canopy/v1/generated/validators/{modelPricing.zod.d.ts → modelBilling.zod.d.ts} +9 -9
  508. package/dist/canopy/v1/generated/validators/{modelPricing.zod.js → modelBilling.zod.js} +11 -8
  509. package/dist/canopy/v1/generated/validators/modelCapabilities.zod.d.ts +2 -2
  510. package/dist/canopy/v1/generated/validators/modelCapabilities.zod.js +2 -2
  511. package/dist/canopy/v1/generated/validators/modelEndpoint.zod.d.ts +2 -2
  512. package/dist/canopy/v1/generated/validators/modelEndpoint.zod.js +2 -2
  513. package/dist/canopy/v1/generated/validators/modelList.zod.d.ts +2 -2
  514. package/dist/canopy/v1/generated/validators/modelList.zod.js +2 -2
  515. package/dist/canopy/v1/generated/validators/modelListResponseBody.zod.d.ts +8 -8
  516. package/dist/canopy/v1/generated/validators/modelListResponseBody.zod.js +2 -2
  517. package/dist/canopy/v1/generated/validators/{tokenPrice.zod.d.ts → modelMeter.zod.d.ts} +7 -7
  518. package/dist/canopy/v1/generated/validators/{funds.zod.d.ts → modelMeter.zod.js} +9 -12
  519. package/dist/canopy/v1/generated/validators/modelResource.zod.d.ts +8 -8
  520. package/dist/canopy/v1/generated/validators/modelResource.zod.js +4 -6
  521. package/dist/canopy/v1/generated/validators/modelUsageListResponseBody.zod.d.ts +2 -2
  522. package/dist/canopy/v1/generated/validators/modelUsageListResponseBody.zod.js +2 -2
  523. package/dist/canopy/v1/generated/validators/modelUsageResource.zod.d.ts +2 -2
  524. package/dist/canopy/v1/generated/validators/modelUsageResource.zod.js +2 -2
  525. package/dist/canopy/v1/generated/validators/money.zod.d.ts +2 -2
  526. package/dist/canopy/v1/generated/validators/money.zod.js +2 -2
  527. package/dist/canopy/v1/generated/validators/nativeRequest.zod.d.ts +2 -2
  528. package/dist/canopy/v1/generated/validators/nativeRequest.zod.js +2 -2
  529. package/dist/canopy/v1/generated/validators/nativeResponse.zod.d.ts +2 -2
  530. package/dist/canopy/v1/generated/validators/nativeResponse.zod.js +2 -2
  531. package/dist/canopy/v1/generated/validators/offsetPagination.zod.d.ts +2 -2
  532. package/dist/canopy/v1/generated/validators/offsetPagination.zod.js +2 -2
  533. package/dist/canopy/v1/generated/validators/reasoningCapabilities.zod.d.ts +2 -2
  534. package/dist/canopy/v1/generated/validators/reasoningCapabilities.zod.js +2 -2
  535. package/dist/canopy/v1/generated/validators/reasoningDiagnostics.zod.d.ts +2 -2
  536. package/dist/canopy/v1/generated/validators/reasoningDiagnostics.zod.js +2 -2
  537. package/dist/canopy/v1/generated/validators/requestResource.zod.d.ts +2 -2
  538. package/dist/canopy/v1/generated/validators/requestResource.zod.js +2 -2
  539. package/dist/canopy/v1/generated/validators/responseCreate.zod.d.ts +2 -2
  540. package/dist/canopy/v1/generated/validators/responseCreate.zod.js +2 -2
  541. package/dist/canopy/v1/generated/validators/responseDeleted.zod.d.ts +2 -2
  542. package/dist/canopy/v1/generated/validators/responseDeleted.zod.js +2 -2
  543. package/dist/canopy/v1/generated/validators/responseResource.zod.d.ts +2 -2
  544. package/dist/canopy/v1/generated/validators/responseResource.zod.js +2 -2
  545. package/dist/canopy/v1/generated/validators/serviceResource.zod.d.ts +3 -2
  546. package/dist/canopy/v1/generated/validators/serviceResource.zod.js +6 -2
  547. package/dist/canopy/v1/generated/validators/streamGenerateContentParams.zod.d.ts +2 -2
  548. package/dist/canopy/v1/generated/validators/streamGenerateContentParams.zod.js +2 -2
  549. package/dist/canopy/v1/generated/validators/totalsResource.zod.d.ts +2 -2
  550. package/dist/canopy/v1/generated/validators/totalsResource.zod.js +2 -2
  551. package/dist/canopy/v1/generated/validators/updateAPIKeyRequestBody.zod.d.ts +2 -2
  552. package/dist/canopy/v1/generated/validators/updateAPIKeyRequestBody.zod.js +2 -2
  553. package/dist/canopy/v1/generated/validators/usageBucketResource.zod.d.ts +2 -2
  554. package/dist/canopy/v1/generated/validators/usageBucketResource.zod.js +2 -2
  555. package/dist/canopy/v1/generated/validators/usageTimelineResponseBody.zod.d.ts +2 -2
  556. package/dist/canopy/v1/generated/validators/usageTimelineResponseBody.zod.js +2 -2
  557. package/dist/compute/v1/generated/functions.d.ts +64 -257
  558. package/dist/compute/v1/generated/functions.js +41 -340
  559. package/dist/compute/v1/generated/models.d.ts +757 -1079
  560. package/dist/compute/v1/generated/models.js +121 -135
  561. package/dist/compute/v1/generated/schemas.zod.d.ts +30 -286
  562. package/dist/compute/v1/generated/schemas.zod.js +30 -86
  563. package/dist/compute/v1/generated/validators/allocateFloatingIPRequestBody.zod.d.ts +1 -1
  564. package/dist/compute/v1/generated/validators/allocateFloatingIPRequestBody.zod.js +2 -2
  565. package/dist/compute/v1/generated/validators/allocateFloatingIPResponseBody.zod.d.ts +1 -1
  566. package/dist/compute/v1/generated/validators/allocateFloatingIPResponseBody.zod.js +1 -1
  567. package/dist/compute/v1/generated/validators/attachDiskRequestBody.zod.d.ts +1 -1
  568. package/dist/compute/v1/generated/validators/attachDiskRequestBody.zod.js +1 -1
  569. package/dist/compute/v1/generated/validators/attachFloatingIPRequestBody.zod.d.ts +1 -1
  570. package/dist/compute/v1/generated/validators/attachFloatingIPRequestBody.zod.js +1 -1
  571. package/dist/compute/v1/generated/validators/attachPortRequestBody.zod.d.ts +1 -1
  572. package/dist/compute/v1/generated/validators/attachPortRequestBody.zod.js +1 -1
  573. package/dist/compute/v1/generated/validators/backupCapacityPack.zod.d.ts +1 -1
  574. package/dist/compute/v1/generated/validators/backupCapacityPack.zod.js +1 -1
  575. package/dist/compute/v1/generated/validators/backupCapacityPackListResponseBody.zod.d.ts +1 -1
  576. package/dist/compute/v1/generated/validators/backupCapacityPackListResponseBody.zod.js +1 -1
  577. package/dist/compute/v1/generated/validators/backupListResponseBody.zod.d.ts +1 -1
  578. package/dist/compute/v1/generated/validators/backupListResponseBody.zod.js +1 -1
  579. package/dist/compute/v1/generated/validators/backupOperation.zod.d.ts +1 -1
  580. package/dist/compute/v1/generated/validators/backupOperation.zod.js +1 -1
  581. package/dist/compute/v1/generated/validators/backupResource.zod.d.ts +1 -1
  582. package/dist/compute/v1/generated/validators/backupResource.zod.js +1 -1
  583. package/dist/compute/v1/generated/validators/backupService.zod.d.ts +1 -57
  584. package/dist/compute/v1/generated/validators/backupService.zod.js +1 -8
  585. package/dist/compute/v1/generated/validators/billingChoice.zod.d.ts +1 -1
  586. package/dist/compute/v1/generated/validators/billingChoice.zod.js +1 -1
  587. package/dist/compute/v1/generated/validators/{quoteItem.zod.d.ts → billingComponent.zod.d.ts} +28 -33
  588. package/dist/compute/v1/generated/validators/billingComponent.zod.js +43 -0
  589. package/dist/compute/v1/generated/validators/{resizeInstanceQuoteRequestBody.zod.d.ts → billingMeter.zod.d.ts} +12 -6
  590. package/dist/compute/v1/generated/validators/{pricing.zod.js → billingMeter.zod.js} +11 -10
  591. package/dist/compute/v1/generated/validators/billingPeriod.zod.d.ts +1 -1
  592. package/dist/compute/v1/generated/validators/billingPeriod.zod.js +1 -1
  593. package/dist/compute/v1/generated/validators/{resizeDiskQuoteRequestBody.zod.d.ts → billingQuantity.zod.d.ts} +9 -6
  594. package/dist/compute/v1/generated/validators/{resizeDiskQuoteRequestBody.zod.js → billingQuantity.zod.js} +4 -6
  595. package/dist/compute/v1/generated/validators/bindFloatingIPRequestBody.zod.d.ts +1 -1
  596. package/dist/compute/v1/generated/validators/bindFloatingIPRequestBody.zod.js +1 -1
  597. package/dist/compute/v1/generated/validators/bootDisk.zod.d.ts +1 -1
  598. package/dist/compute/v1/generated/validators/bootDisk.zod.js +1 -1
  599. package/dist/compute/v1/generated/validators/checkoutMode.zod.d.ts +1 -1
  600. package/dist/compute/v1/generated/validators/checkoutMode.zod.js +1 -1
  601. package/dist/compute/v1/generated/validators/checkoutOptions.zod.d.ts +1 -1
  602. package/dist/compute/v1/generated/validators/checkoutOptions.zod.js +1 -1
  603. package/dist/compute/v1/generated/validators/commandResultResponseBody.zod.d.ts +1 -1
  604. package/dist/compute/v1/generated/validators/commandResultResponseBody.zod.js +1 -1
  605. package/dist/compute/v1/generated/validators/consoleOutputResponseBody.zod.d.ts +1 -1
  606. package/dist/compute/v1/generated/validators/consoleOutputResponseBody.zod.js +1 -1
  607. package/dist/compute/v1/generated/validators/consoleResponseBody.zod.d.ts +1 -1
  608. package/dist/compute/v1/generated/validators/consoleResponseBody.zod.js +1 -1
  609. package/dist/compute/v1/generated/validators/createBackupCapacityPackRequestBody.zod.d.ts +1 -1
  610. package/dist/compute/v1/generated/validators/createBackupCapacityPackRequestBody.zod.js +1 -1
  611. package/dist/compute/v1/generated/validators/createBackupCapacityPackResponseBody.zod.d.ts +1 -1
  612. package/dist/compute/v1/generated/validators/createBackupCapacityPackResponseBody.zod.js +1 -1
  613. package/dist/compute/v1/generated/validators/createBackupRequestBody.zod.d.ts +1 -1
  614. package/dist/compute/v1/generated/validators/createBackupRequestBody.zod.js +1 -1
  615. package/dist/compute/v1/generated/validators/createBackupServiceRequestBody.zod.d.ts +1 -1
  616. package/dist/compute/v1/generated/validators/createBackupServiceRequestBody.zod.js +1 -1
  617. package/dist/compute/v1/generated/validators/createBackupServiceResponseBody.zod.d.ts +1 -57
  618. package/dist/compute/v1/generated/validators/createBackupServiceResponseBody.zod.js +1 -1
  619. package/dist/compute/v1/generated/validators/createDiskRequestBody.zod.d.ts +1 -1
  620. package/dist/compute/v1/generated/validators/createDiskRequestBody.zod.js +1 -1
  621. package/dist/compute/v1/generated/validators/createDiskResponseBody.zod.d.ts +3 -3
  622. package/dist/compute/v1/generated/validators/createDiskResponseBody.zod.js +1 -1
  623. package/dist/compute/v1/generated/validators/createImageRequestBody.zod.d.ts +1 -1
  624. package/dist/compute/v1/generated/validators/createImageRequestBody.zod.js +1 -1
  625. package/dist/compute/v1/generated/validators/createImageResponseBody.zod.d.ts +1 -1
  626. package/dist/compute/v1/generated/validators/createImageResponseBody.zod.js +1 -1
  627. package/dist/compute/v1/generated/validators/createPeeringRequestBody.zod.d.ts +1 -1
  628. package/dist/compute/v1/generated/validators/createPeeringRequestBody.zod.js +1 -1
  629. package/dist/compute/v1/generated/validators/createPortRequestBody.zod.d.ts +1 -1
  630. package/dist/compute/v1/generated/validators/createPortRequestBody.zod.js +1 -1
  631. package/dist/compute/v1/generated/validators/createPrivateNetworkRequestBody.zod.d.ts +1 -1
  632. package/dist/compute/v1/generated/validators/createPrivateNetworkRequestBody.zod.js +1 -1
  633. package/dist/compute/v1/generated/validators/createRouteRequestBody.zod.d.ts +1 -1
  634. package/dist/compute/v1/generated/validators/createRouteRequestBody.zod.js +1 -1
  635. package/dist/compute/v1/generated/validators/createSecurityGroupRequestBody.zod.d.ts +1 -1
  636. package/dist/compute/v1/generated/validators/createSecurityGroupRequestBody.zod.js +1 -1
  637. package/dist/compute/v1/generated/validators/createSecurityRuleRequestBody.zod.d.ts +1 -1
  638. package/dist/compute/v1/generated/validators/createSecurityRuleRequestBody.zod.js +1 -1
  639. package/dist/compute/v1/generated/validators/createSnapshotRequestBody.zod.d.ts +1 -1
  640. package/dist/compute/v1/generated/validators/createSnapshotRequestBody.zod.js +1 -1
  641. package/dist/compute/v1/generated/validators/createSubnetRequestBody.zod.d.ts +1 -1
  642. package/dist/compute/v1/generated/validators/createSubnetRequestBody.zod.js +1 -1
  643. package/dist/compute/v1/generated/validators/cursorPagination.zod.d.ts +1 -1
  644. package/dist/compute/v1/generated/validators/cursorPagination.zod.js +1 -1
  645. package/dist/compute/v1/generated/validators/deleteDiskResponseBody.zod.d.ts +121 -0
  646. package/dist/compute/v1/generated/validators/{createBackupCapacityPackQuoteRequestBody.zod.js → deleteDiskResponseBody.zod.js} +9 -8
  647. package/dist/compute/v1/generated/validators/{createDiskQuoteRequestBody.zod.d.ts → deleteImageResponseBody.zod.d.ts} +78 -23
  648. package/dist/compute/v1/generated/validators/{funds.zod.d.ts → deleteImageResponseBody.zod.js} +9 -11
  649. package/dist/compute/v1/generated/validators/deleteInstanceResponseBody.zod.d.ts +135 -0
  650. package/dist/compute/v1/generated/validators/{createImageQuoteRequestBody.zod.js → deleteInstanceResponseBody.zod.js} +9 -8
  651. package/dist/compute/v1/generated/validators/diskAttachment.zod.d.ts +1 -1
  652. package/dist/compute/v1/generated/validators/diskAttachment.zod.js +1 -1
  653. package/dist/compute/v1/generated/validators/diskAttachmentList.zod.d.ts +1 -1
  654. package/dist/compute/v1/generated/validators/diskAttachmentList.zod.js +1 -1
  655. package/dist/compute/v1/generated/validators/diskListResponseBody.zod.d.ts +3 -3
  656. package/dist/compute/v1/generated/validators/diskListResponseBody.zod.js +1 -1
  657. package/dist/compute/v1/generated/validators/diskOperation.zod.d.ts +3 -3
  658. package/dist/compute/v1/generated/validators/diskOperation.zod.js +1 -1
  659. package/dist/compute/v1/generated/validators/diskResource.zod.d.ts +3 -3
  660. package/dist/compute/v1/generated/validators/diskResource.zod.js +1 -1
  661. package/dist/compute/v1/generated/validators/diskTypeListResponseBody.zod.d.ts +27 -27
  662. package/dist/compute/v1/generated/validators/diskTypeListResponseBody.zod.js +1 -1
  663. package/dist/compute/v1/generated/validators/diskTypePurpose.zod.d.ts +1 -1
  664. package/dist/compute/v1/generated/validators/diskTypePurpose.zod.js +1 -1
  665. package/dist/compute/v1/generated/validators/diskTypeResource.zod.d.ts +27 -27
  666. package/dist/compute/v1/generated/validators/diskTypeResource.zod.js +3 -5
  667. package/dist/compute/v1/generated/validators/error.zod.d.ts +1 -1
  668. package/dist/compute/v1/generated/validators/error.zod.js +1 -1
  669. package/dist/compute/v1/generated/validators/existingBootDisk.zod.d.ts +1 -1
  670. package/dist/compute/v1/generated/validators/existingBootDisk.zod.js +1 -1
  671. package/dist/compute/v1/generated/validators/floatingIPListResponseBody.zod.d.ts +1 -1
  672. package/dist/compute/v1/generated/validators/floatingIPListResponseBody.zod.js +1 -1
  673. package/dist/compute/v1/generated/validators/floatingIPOperation.zod.d.ts +1 -1
  674. package/dist/compute/v1/generated/validators/floatingIPOperation.zod.js +1 -1
  675. package/dist/compute/v1/generated/validators/floatingIPResource.zod.d.ts +1 -1
  676. package/dist/compute/v1/generated/validators/floatingIPResource.zod.js +1 -1
  677. package/dist/compute/v1/generated/validators/getInstanceConsoleOutputParams.zod.d.ts +1 -1
  678. package/dist/compute/v1/generated/validators/getInstanceConsoleOutputParams.zod.js +1 -1
  679. package/dist/compute/v1/generated/validators/iPv4Binding.zod.d.ts +1 -1
  680. package/dist/compute/v1/generated/validators/iPv4Binding.zod.js +1 -1
  681. package/dist/compute/v1/generated/validators/iPv4PoolListResponseBody.zod.d.ts +27 -55
  682. package/dist/compute/v1/generated/validators/iPv4PoolListResponseBody.zod.js +1 -1
  683. package/dist/compute/v1/generated/validators/iPv4PoolResource.zod.d.ts +27 -55
  684. package/dist/compute/v1/generated/validators/iPv4PoolResource.zod.js +3 -8
  685. package/dist/compute/v1/generated/validators/iPv6ResponseBody.zod.d.ts +1 -1
  686. package/dist/compute/v1/generated/validators/iPv6ResponseBody.zod.js +1 -1
  687. package/dist/compute/v1/generated/validators/imageListResponseBody.zod.d.ts +1 -1
  688. package/dist/compute/v1/generated/validators/imageListResponseBody.zod.js +1 -1
  689. package/dist/compute/v1/generated/validators/imageOperation.zod.d.ts +1 -1
  690. package/dist/compute/v1/generated/validators/imageOperation.zod.js +1 -1
  691. package/dist/compute/v1/generated/validators/imageResource.zod.d.ts +1 -1
  692. package/dist/compute/v1/generated/validators/imageResource.zod.js +1 -1
  693. package/dist/compute/v1/generated/validators/imageVisibility.zod.d.ts +1 -1
  694. package/dist/compute/v1/generated/validators/imageVisibility.zod.js +1 -1
  695. package/dist/compute/v1/generated/validators/instanceListResponseBody.zod.d.ts +5 -5
  696. package/dist/compute/v1/generated/validators/instanceListResponseBody.zod.js +1 -1
  697. package/dist/compute/v1/generated/validators/instanceOperation.zod.d.ts +4 -4
  698. package/dist/compute/v1/generated/validators/instanceOperation.zod.js +1 -1
  699. package/dist/compute/v1/generated/validators/instanceResource.zod.d.ts +5 -5
  700. package/dist/compute/v1/generated/validators/instanceResource.zod.js +1 -1
  701. package/dist/compute/v1/generated/validators/instanceRestriction.zod.d.ts +1 -1
  702. package/dist/compute/v1/generated/validators/instanceRestriction.zod.js +1 -1
  703. package/dist/compute/v1/generated/validators/instanceTypeListResponseBody.zod.d.ts +27 -27
  704. package/dist/compute/v1/generated/validators/instanceTypeListResponseBody.zod.js +1 -1
  705. package/dist/compute/v1/generated/validators/instanceTypeResource.zod.d.ts +27 -27
  706. package/dist/compute/v1/generated/validators/instanceTypeResource.zod.js +3 -5
  707. package/dist/compute/v1/generated/validators/launchInstanceRequestBody.zod.d.ts +1 -1
  708. package/dist/compute/v1/generated/validators/launchInstanceRequestBody.zod.js +1 -1
  709. package/dist/compute/v1/generated/validators/launchInstanceResponseBody.zod.d.ts +5 -5
  710. package/dist/compute/v1/generated/validators/launchInstanceResponseBody.zod.js +1 -1
  711. package/dist/compute/v1/generated/validators/listAvailabilityZonesParams.zod.d.ts +1 -1
  712. package/dist/compute/v1/generated/validators/listAvailabilityZonesParams.zod.js +1 -1
  713. package/dist/compute/v1/generated/validators/listBackupCapacityPacksParams.zod.d.ts +1 -1
  714. package/dist/compute/v1/generated/validators/listBackupCapacityPacksParams.zod.js +1 -1
  715. package/dist/compute/v1/generated/validators/listBackupsParams.zod.d.ts +1 -1
  716. package/dist/compute/v1/generated/validators/listBackupsParams.zod.js +1 -1
  717. package/dist/compute/v1/generated/validators/listDiskTypesParams.zod.d.ts +1 -1
  718. package/dist/compute/v1/generated/validators/listDiskTypesParams.zod.js +1 -1
  719. package/dist/compute/v1/generated/validators/listDisksParams.zod.d.ts +1 -1
  720. package/dist/compute/v1/generated/validators/listDisksParams.zod.js +1 -1
  721. package/dist/compute/v1/generated/validators/listFloatingIpsParams.zod.d.ts +1 -1
  722. package/dist/compute/v1/generated/validators/listFloatingIpsParams.zod.js +1 -1
  723. package/dist/compute/v1/generated/validators/listImagesParams.zod.d.ts +1 -1
  724. package/dist/compute/v1/generated/validators/listImagesParams.zod.js +1 -1
  725. package/dist/compute/v1/generated/validators/listInstanceDisksParams.zod.d.ts +1 -1
  726. package/dist/compute/v1/generated/validators/listInstanceDisksParams.zod.js +1 -1
  727. package/dist/compute/v1/generated/validators/listInstancePortsParams.zod.d.ts +1 -1
  728. package/dist/compute/v1/generated/validators/listInstancePortsParams.zod.js +1 -1
  729. package/dist/compute/v1/generated/validators/listInstanceTypesParams.zod.d.ts +1 -1
  730. package/dist/compute/v1/generated/validators/listInstanceTypesParams.zod.js +1 -1
  731. package/dist/compute/v1/generated/validators/listInstancesParams.zod.d.ts +1 -1
  732. package/dist/compute/v1/generated/validators/listInstancesParams.zod.js +1 -1
  733. package/dist/compute/v1/generated/validators/listIpv4PoolsParams.zod.d.ts +1 -1
  734. package/dist/compute/v1/generated/validators/listIpv4PoolsParams.zod.js +1 -1
  735. package/dist/compute/v1/generated/validators/listOperationLogsParams.zod.d.ts +1 -1
  736. package/dist/compute/v1/generated/validators/listOperationLogsParams.zod.js +1 -1
  737. package/dist/compute/v1/generated/validators/listPeeringsParams.zod.d.ts +1 -1
  738. package/dist/compute/v1/generated/validators/listPeeringsParams.zod.js +1 -1
  739. package/dist/compute/v1/generated/validators/listPortsParams.zod.d.ts +1 -1
  740. package/dist/compute/v1/generated/validators/listPortsParams.zod.js +1 -1
  741. package/dist/compute/v1/generated/validators/listPrivateNetworksParams.zod.d.ts +1 -1
  742. package/dist/compute/v1/generated/validators/listPrivateNetworksParams.zod.js +1 -1
  743. package/dist/compute/v1/generated/validators/listRegionsParams.zod.d.ts +1 -1
  744. package/dist/compute/v1/generated/validators/listRegionsParams.zod.js +1 -1
  745. package/dist/compute/v1/generated/validators/listRoutesParams.zod.d.ts +1 -1
  746. package/dist/compute/v1/generated/validators/listRoutesParams.zod.js +1 -1
  747. package/dist/compute/v1/generated/validators/listSecurityGroupRulesParams.zod.d.ts +1 -1
  748. package/dist/compute/v1/generated/validators/listSecurityGroupRulesParams.zod.js +1 -1
  749. package/dist/compute/v1/generated/validators/listSecurityGroupsParams.zod.d.ts +1 -1
  750. package/dist/compute/v1/generated/validators/listSecurityGroupsParams.zod.js +1 -1
  751. package/dist/compute/v1/generated/validators/listSnapshotsParams.zod.d.ts +1 -1
  752. package/dist/compute/v1/generated/validators/listSnapshotsParams.zod.js +1 -1
  753. package/dist/compute/v1/generated/validators/listSubnetsParams.zod.d.ts +1 -1
  754. package/dist/compute/v1/generated/validators/listSubnetsParams.zod.js +1 -1
  755. package/dist/compute/v1/generated/validators/money.zod.d.ts +1 -1
  756. package/dist/compute/v1/generated/validators/money.zod.js +1 -1
  757. package/dist/compute/v1/generated/validators/newBootDisk.zod.d.ts +1 -1
  758. package/dist/compute/v1/generated/validators/newBootDisk.zod.js +1 -1
  759. package/dist/compute/v1/generated/validators/newCompute.zod.d.ts +1 -1
  760. package/dist/compute/v1/generated/validators/newCompute.zod.js +1 -1
  761. package/dist/compute/v1/generated/validators/newFloatingIP.zod.d.ts +1 -1
  762. package/dist/compute/v1/generated/validators/newFloatingIP.zod.js +1 -1
  763. package/dist/compute/v1/generated/validators/nextFreeCidrResponseBody.zod.d.ts +1 -1
  764. package/dist/compute/v1/generated/validators/nextFreeCidrResponseBody.zod.js +1 -1
  765. package/dist/compute/v1/generated/validators/offsetPagination.zod.d.ts +1 -1
  766. package/dist/compute/v1/generated/validators/offsetPagination.zod.js +1 -1
  767. package/dist/compute/v1/generated/validators/operationLogListResponseBody.zod.d.ts +1 -1
  768. package/dist/compute/v1/generated/validators/operationLogListResponseBody.zod.js +1 -1
  769. package/dist/compute/v1/generated/validators/operationLogResource.zod.d.ts +1 -1
  770. package/dist/compute/v1/generated/validators/operationLogResource.zod.js +1 -1
  771. package/dist/compute/v1/generated/validators/peeringListResponseBody.zod.d.ts +1 -1
  772. package/dist/compute/v1/generated/validators/peeringListResponseBody.zod.js +1 -1
  773. package/dist/compute/v1/generated/validators/peeringOperation.zod.d.ts +1 -1
  774. package/dist/compute/v1/generated/validators/peeringOperation.zod.js +1 -1
  775. package/dist/compute/v1/generated/validators/peeringResource.zod.d.ts +1 -1
  776. package/dist/compute/v1/generated/validators/peeringResource.zod.js +1 -1
  777. package/dist/compute/v1/generated/validators/portAddress.zod.d.ts +1 -1
  778. package/dist/compute/v1/generated/validators/portAddress.zod.js +1 -1
  779. package/dist/compute/v1/generated/validators/portAttachment.zod.d.ts +1 -1
  780. package/dist/compute/v1/generated/validators/portAttachment.zod.js +1 -1
  781. package/dist/compute/v1/generated/validators/portAttachmentList.zod.d.ts +1 -1
  782. package/dist/compute/v1/generated/validators/portAttachmentList.zod.js +1 -1
  783. package/dist/compute/v1/generated/validators/portListResponseBody.zod.d.ts +1 -1
  784. package/dist/compute/v1/generated/validators/portListResponseBody.zod.js +1 -1
  785. package/dist/compute/v1/generated/validators/portOperation.zod.d.ts +1 -1
  786. package/dist/compute/v1/generated/validators/portOperation.zod.js +1 -1
  787. package/dist/compute/v1/generated/validators/portResource.zod.d.ts +1 -1
  788. package/dist/compute/v1/generated/validators/portResource.zod.js +1 -1
  789. package/dist/compute/v1/generated/validators/powerRequest.zod.d.ts +1 -1
  790. package/dist/compute/v1/generated/validators/powerRequest.zod.js +1 -1
  791. package/dist/compute/v1/generated/validators/privateNetworkListResponseBody.zod.d.ts +1 -1
  792. package/dist/compute/v1/generated/validators/privateNetworkListResponseBody.zod.js +1 -1
  793. package/dist/compute/v1/generated/validators/privateNetworkResource.zod.d.ts +1 -1
  794. package/dist/compute/v1/generated/validators/privateNetworkResource.zod.js +1 -1
  795. package/dist/compute/v1/generated/validators/rebootInstanceRequestBody.zod.d.ts +1 -1
  796. package/dist/compute/v1/generated/validators/rebootInstanceRequestBody.zod.js +1 -1
  797. package/dist/compute/v1/generated/validators/rebuildInstanceRequestBody.zod.d.ts +1 -1
  798. package/dist/compute/v1/generated/validators/rebuildInstanceRequestBody.zod.js +1 -1
  799. package/dist/compute/v1/generated/validators/rebuildInstanceResponseBody.zod.d.ts +5 -5
  800. package/dist/compute/v1/generated/validators/rebuildInstanceResponseBody.zod.js +1 -1
  801. package/dist/compute/v1/generated/validators/regionListResponseBody.zod.d.ts +109 -25
  802. package/dist/compute/v1/generated/validators/regionListResponseBody.zod.js +1 -1
  803. package/dist/compute/v1/generated/validators/regionResource.zod.d.ts +109 -25
  804. package/dist/compute/v1/generated/validators/regionResource.zod.js +10 -5
  805. package/dist/compute/v1/generated/validators/releaseFloatingIPResponseBody.zod.d.ts +111 -0
  806. package/dist/compute/v1/generated/validators/releaseFloatingIPResponseBody.zod.js +32 -0
  807. package/dist/compute/v1/generated/validators/releaseResource.zod.d.ts +1 -1
  808. package/dist/compute/v1/generated/validators/releaseResource.zod.js +1 -1
  809. package/dist/compute/v1/generated/validators/releaseSetItem.zod.d.ts +1 -1
  810. package/dist/compute/v1/generated/validators/releaseSetItem.zod.js +1 -1
  811. package/dist/compute/v1/generated/validators/renameBackupRequestBody.zod.d.ts +1 -1
  812. package/dist/compute/v1/generated/validators/renameBackupRequestBody.zod.js +1 -1
  813. package/dist/compute/v1/generated/validators/renameDiskRequestBody.zod.d.ts +1 -1
  814. package/dist/compute/v1/generated/validators/renameDiskRequestBody.zod.js +1 -1
  815. package/dist/compute/v1/generated/validators/renameImageRequestBody.zod.d.ts +1 -1
  816. package/dist/compute/v1/generated/validators/renameImageRequestBody.zod.js +1 -1
  817. package/dist/compute/v1/generated/validators/renameInstanceRequestBody.zod.d.ts +1 -1
  818. package/dist/compute/v1/generated/validators/renameInstanceRequestBody.zod.js +1 -1
  819. package/dist/compute/v1/generated/validators/renamePrivateNetworkRequestBody.zod.d.ts +1 -1
  820. package/dist/compute/v1/generated/validators/renamePrivateNetworkRequestBody.zod.js +1 -1
  821. package/dist/compute/v1/generated/validators/renameSecurityGroupRequestBody.zod.d.ts +1 -1
  822. package/dist/compute/v1/generated/validators/renameSecurityGroupRequestBody.zod.js +1 -1
  823. package/dist/compute/v1/generated/validators/renameSnapshotRequestBody.zod.d.ts +1 -1
  824. package/dist/compute/v1/generated/validators/renameSnapshotRequestBody.zod.js +1 -1
  825. package/dist/compute/v1/generated/validators/resetPasswordRequestBody.zod.d.ts +1 -1
  826. package/dist/compute/v1/generated/validators/resetPasswordRequestBody.zod.js +1 -1
  827. package/dist/compute/v1/generated/validators/resetPasswordResponseBody.zod.d.ts +1 -1
  828. package/dist/compute/v1/generated/validators/resetPasswordResponseBody.zod.js +1 -1
  829. package/dist/compute/v1/generated/validators/resizeDiskRequestBody.zod.d.ts +1 -1
  830. package/dist/compute/v1/generated/validators/resizeDiskRequestBody.zod.js +2 -2
  831. package/dist/compute/v1/generated/validators/resizeDiskResponseBody.zod.d.ts +3 -3
  832. package/dist/compute/v1/generated/validators/resizeDiskResponseBody.zod.js +1 -1
  833. package/dist/compute/v1/generated/validators/resizeInstanceRequestBody.zod.d.ts +1 -1
  834. package/dist/compute/v1/generated/validators/resizeInstanceRequestBody.zod.js +2 -2
  835. package/dist/compute/v1/generated/validators/resizeInstanceResponseBody.zod.d.ts +5 -5
  836. package/dist/compute/v1/generated/validators/resizeInstanceResponseBody.zod.js +1 -1
  837. package/dist/compute/v1/generated/validators/{setFloatingIPBandwidthQuoteRequestBody.zod.d.ts → resourceCancellation.zod.d.ts} +16 -5
  838. package/dist/compute/v1/generated/validators/{createDiskQuoteRequestBody.zod.js → resourceCancellation.zod.js} +15 -17
  839. package/dist/compute/v1/generated/validators/restoreBackupRequestBody.zod.d.ts +1 -1
  840. package/dist/compute/v1/generated/validators/restoreBackupRequestBody.zod.js +1 -1
  841. package/dist/compute/v1/generated/validators/revertDiskRequestBody.zod.d.ts +1 -1
  842. package/dist/compute/v1/generated/validators/revertDiskRequestBody.zod.js +1 -1
  843. package/dist/compute/v1/generated/validators/routeListResponseBody.zod.d.ts +1 -1
  844. package/dist/compute/v1/generated/validators/routeListResponseBody.zod.js +1 -1
  845. package/dist/compute/v1/generated/validators/routeResource.zod.d.ts +1 -1
  846. package/dist/compute/v1/generated/validators/routeResource.zod.js +1 -1
  847. package/dist/compute/v1/generated/validators/runCommandRequestBody.zod.d.ts +1 -1
  848. package/dist/compute/v1/generated/validators/runCommandRequestBody.zod.js +1 -1
  849. package/dist/compute/v1/generated/validators/securityGroupListResponseBody.zod.d.ts +1 -1
  850. package/dist/compute/v1/generated/validators/securityGroupListResponseBody.zod.js +1 -1
  851. package/dist/compute/v1/generated/validators/securityGroupResource.zod.d.ts +1 -1
  852. package/dist/compute/v1/generated/validators/securityGroupResource.zod.js +1 -1
  853. package/dist/compute/v1/generated/validators/securityRuleListResponseBody.zod.d.ts +1 -1
  854. package/dist/compute/v1/generated/validators/securityRuleListResponseBody.zod.js +1 -1
  855. package/dist/compute/v1/generated/validators/securityRuleResource.zod.d.ts +1 -1
  856. package/dist/compute/v1/generated/validators/securityRuleResource.zod.js +1 -1
  857. package/dist/compute/v1/generated/validators/setFloatingIPBandwidthRequestBody.zod.d.ts +1 -1
  858. package/dist/compute/v1/generated/validators/setFloatingIPBandwidthRequestBody.zod.js +2 -2
  859. package/dist/compute/v1/generated/validators/setFloatingIPBandwidthResponseBody.zod.d.ts +1 -1
  860. package/dist/compute/v1/generated/validators/setFloatingIPBandwidthResponseBody.zod.js +1 -1
  861. package/dist/compute/v1/generated/validators/setInstanceLabelsRequestBody.zod.d.ts +1 -1
  862. package/dist/compute/v1/generated/validators/setInstanceLabelsRequestBody.zod.js +1 -1
  863. package/dist/compute/v1/generated/validators/setInstanceNotesRequestBody.zod.d.ts +1 -1
  864. package/dist/compute/v1/generated/validators/setInstanceNotesRequestBody.zod.js +1 -1
  865. package/dist/compute/v1/generated/validators/setSnapshotQuotaRequestBody.zod.d.ts +1 -1
  866. package/dist/compute/v1/generated/validators/setSnapshotQuotaRequestBody.zod.js +2 -2
  867. package/dist/compute/v1/generated/validators/setSnapshotQuotaResponseBody.zod.d.ts +1 -29
  868. package/dist/compute/v1/generated/validators/setSnapshotQuotaResponseBody.zod.js +1 -1
  869. package/dist/compute/v1/generated/validators/snapshotListResponseBody.zod.d.ts +1 -1
  870. package/dist/compute/v1/generated/validators/snapshotListResponseBody.zod.js +1 -1
  871. package/dist/compute/v1/generated/validators/snapshotOperation.zod.d.ts +1 -1
  872. package/dist/compute/v1/generated/validators/snapshotOperation.zod.js +1 -1
  873. package/dist/compute/v1/generated/validators/snapshotQuota.zod.d.ts +1 -29
  874. package/dist/compute/v1/generated/validators/snapshotQuota.zod.js +1 -5
  875. package/dist/compute/v1/generated/validators/snapshotResource.zod.d.ts +1 -1
  876. package/dist/compute/v1/generated/validators/snapshotResource.zod.js +1 -1
  877. package/dist/compute/v1/generated/validators/subnetListResponseBody.zod.d.ts +1 -1
  878. package/dist/compute/v1/generated/validators/subnetListResponseBody.zod.js +1 -1
  879. package/dist/compute/v1/generated/validators/subnetResource.zod.d.ts +1 -1
  880. package/dist/compute/v1/generated/validators/subnetResource.zod.js +1 -1
  881. package/dist/compute/v1/generated/validators/suggestSubnetCidrParams.zod.d.ts +1 -1
  882. package/dist/compute/v1/generated/validators/suggestSubnetCidrParams.zod.js +1 -1
  883. package/dist/compute/v1/generated/validators/terminationPolicy.zod.d.ts +1 -1
  884. package/dist/compute/v1/generated/validators/terminationPolicy.zod.js +1 -1
  885. package/dist/compute/v1/generated/validators/zoneListResponseBody.zod.d.ts +1 -1
  886. package/dist/compute/v1/generated/validators/zoneListResponseBody.zod.js +1 -1
  887. package/dist/compute/v1/generated/validators/zoneResource.zod.d.ts +1 -1
  888. package/dist/compute/v1/generated/validators/zoneResource.zod.js +1 -1
  889. package/dist/membership/v1/generated/functions.d.ts +22 -1
  890. package/dist/membership/v1/generated/functions.js +25 -0
  891. package/dist/membership/v1/generated/models.d.ts +30 -3
  892. package/dist/membership/v1/generated/schemas.zod.d.ts +15 -0
  893. package/dist/membership/v1/generated/schemas.zod.js +25 -0
  894. package/dist/membership/v1/generated/validators/listMembershipUpgradeOptionsParams.zod.d.ts +18 -0
  895. package/dist/membership/v1/generated/validators/listMembershipUpgradeOptionsParams.zod.js +24 -0
  896. package/dist/membership/v1/generated/validators/plan.zod.d.ts +0 -1
  897. package/dist/membership/v1/generated/validators/planList.zod.d.ts +0 -1
  898. package/dist/membership/v1/generated/validators/planPrice.zod.d.ts +0 -1
  899. package/dist/membership/v1/generated/validators/planPrice.zod.js +1 -3
  900. package/dist/membership/v1/generated/validators/upgradeOption.zod.d.ts +19 -0
  901. package/dist/membership/v1/generated/validators/upgradeOption.zod.js +18 -0
  902. package/dist/membership/v1/generated/validators/upgradeOptionList.zod.d.ts +26 -0
  903. package/dist/membership/v1/generated/validators/upgradeOptionList.zod.js +14 -0
  904. package/dist/routes.d.ts +33 -81
  905. package/dist/routes.js +36 -90
  906. package/package.json +1 -1
  907. package/dist/canopy/v1/generated/validators/funds.zod.js +0 -52
  908. package/dist/canopy/v1/generated/validators/quote.zod.d.ts +0 -98
  909. package/dist/canopy/v1/generated/validators/quote.zod.js +0 -70
  910. package/dist/canopy/v1/generated/validators/quoteItem.zod.d.ts +0 -76
  911. package/dist/canopy/v1/generated/validators/quoteItem.zod.js +0 -84
  912. package/dist/canopy/v1/generated/validators/tokenPrice.zod.js +0 -52
  913. package/dist/compute/v1/generated/validators/allocateFloatingIPQuoteRequestBody.zod.d.ts +0 -51
  914. package/dist/compute/v1/generated/validators/allocateFloatingIPQuoteRequestBody.zod.js +0 -44
  915. package/dist/compute/v1/generated/validators/createBackupCapacityPackQuoteRequestBody.zod.d.ts +0 -46
  916. package/dist/compute/v1/generated/validators/createImageQuoteRequestBody.zod.d.ts +0 -46
  917. package/dist/compute/v1/generated/validators/funds.zod.js +0 -35
  918. package/dist/compute/v1/generated/validators/launchInstanceQuoteRequestBody.zod.d.ts +0 -113
  919. package/dist/compute/v1/generated/validators/launchInstanceQuoteRequestBody.zod.js +0 -71
  920. package/dist/compute/v1/generated/validators/pricing.zod.d.ts +0 -54
  921. package/dist/compute/v1/generated/validators/pricingOption.zod.d.ts +0 -51
  922. package/dist/compute/v1/generated/validators/pricingOption.zod.js +0 -62
  923. package/dist/compute/v1/generated/validators/quote.zod.d.ts +0 -81
  924. package/dist/compute/v1/generated/validators/quote.zod.js +0 -53
  925. package/dist/compute/v1/generated/validators/quoteItem.zod.js +0 -67
  926. package/dist/compute/v1/generated/validators/resizeInstanceQuoteRequestBody.zod.js +0 -33
  927. package/dist/compute/v1/generated/validators/restoreBackupQuoteRequestBody.zod.d.ts +0 -51
  928. package/dist/compute/v1/generated/validators/restoreBackupQuoteRequestBody.zod.js +0 -43
  929. package/dist/compute/v1/generated/validators/setFloatingIPBandwidthQuoteRequestBody.zod.js +0 -29
  930. package/dist/compute/v1/generated/validators/setSnapshotQuotaQuoteRequestBody.zod.d.ts +0 -46
  931. package/dist/compute/v1/generated/validators/setSnapshotQuotaQuoteRequestBody.zod.js +0 -34
@@ -11,7 +11,7 @@
11
11
  * ## Conventions
12
12
  *
13
13
  * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the Checkout Session and the order in Billing for checkout and payment progress.
14
- * - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the licensed and metered options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
14
+ * - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices from Billing with `search-prices` and `search-rates`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
15
15
  * - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid.
16
16
  * - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time.
17
17
  * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
@@ -60,34 +60,6 @@ export declare const SetSnapshotQuotaResponseBody: zod.ZodObject<{
60
60
  pending_checkout_session_id: zod.ZodNullable<zod.ZodUUID>;
61
61
  pending_order_id: zod.ZodNullable<zod.ZodUUID>;
62
62
  failure_reason: zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodLiteral<"checkout_expired">, zod.ZodLiteral<"order_declined">, zod.ZodLiteral<"order_canceled">, zod.ZodLiteral<"order_expired">, zod.ZodLiteral<"provisioning_failed">, zod.ZodLiteral<null>]>>;
63
- pricing: zod.ZodUnion<readonly [zod.ZodObject<{
64
- currency: zod.ZodString;
65
- options: zod.ZodArray<zod.ZodObject<{
66
- usage_type: zod.ZodEnum<{
67
- licensed: "licensed";
68
- metered: "metered";
69
- }>;
70
- period: zod.ZodUnion<readonly [zod.ZodObject<{
71
- unit: zod.ZodEnum<{
72
- month: "month";
73
- year: "year";
74
- }>;
75
- count: zod.ZodInt;
76
- }, zod.z.core.$strict>, zod.ZodNull]>;
77
- quantity_unit: zod.ZodEnum<{
78
- item: "item";
79
- gib: "gib";
80
- mbps: "mbps";
81
- snapshot: "snapshot";
82
- }>;
83
- amount: zod.ZodNullable<zod.ZodString>;
84
- monthly_amount: zod.ZodNullable<zod.ZodString>;
85
- saving_percent: zod.ZodNullable<zod.ZodString>;
86
- unit_amount: zod.ZodNullable<zod.ZodString>;
87
- unit: zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodLiteral<"hour">, zod.ZodLiteral<null>]>>;
88
- termination_policy: zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodLiteral<"immediate">, zod.ZodLiteral<"period_end">, zod.ZodLiteral<null>]>>;
89
- }, zod.z.core.$strict>>;
90
- }, zod.z.core.$strict>, zod.ZodNull]>;
91
63
  }, zod.z.core.$strict>;
92
64
  checkout_session_id: zod.ZodUUID;
93
65
  order_id: zod.ZodNullable<zod.ZodUUID>;
@@ -11,7 +11,7 @@
11
11
  * ## Conventions
12
12
  *
13
13
  * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the Checkout Session and the order in Billing for checkout and payment progress.
14
- * - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the licensed and metered options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
14
+ * - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices from Billing with `search-prices` and `search-rates`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
15
15
  * - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid.
16
16
  * - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time.
17
17
  * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
@@ -11,7 +11,7 @@
11
11
  * ## Conventions
12
12
  *
13
13
  * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the Checkout Session and the order in Billing for checkout and payment progress.
14
- * - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the licensed and metered options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
14
+ * - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices from Billing with `search-prices` and `search-rates`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
15
15
  * - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid.
16
16
  * - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time.
17
17
  * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
@@ -11,7 +11,7 @@
11
11
  * ## Conventions
12
12
  *
13
13
  * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the Checkout Session and the order in Billing for checkout and payment progress.
14
- * - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the licensed and metered options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
14
+ * - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices from Billing with `search-prices` and `search-rates`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
15
15
  * - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid.
16
16
  * - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time.
17
17
  * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
@@ -11,7 +11,7 @@
11
11
  * ## Conventions
12
12
  *
13
13
  * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the Checkout Session and the order in Billing for checkout and payment progress.
14
- * - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the licensed and metered options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
14
+ * - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices from Billing with `search-prices` and `search-rates`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
15
15
  * - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid.
16
16
  * - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time.
17
17
  * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
@@ -11,7 +11,7 @@
11
11
  * ## Conventions
12
12
  *
13
13
  * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the Checkout Session and the order in Billing for checkout and payment progress.
14
- * - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the licensed and metered options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
14
+ * - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices from Billing with `search-prices` and `search-rates`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
15
15
  * - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid.
16
16
  * - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time.
17
17
  * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
@@ -11,7 +11,7 @@
11
11
  * ## Conventions
12
12
  *
13
13
  * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the Checkout Session and the order in Billing for checkout and payment progress.
14
- * - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the licensed and metered options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
14
+ * - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices from Billing with `search-prices` and `search-rates`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
15
15
  * - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid.
16
16
  * - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time.
17
17
  * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
@@ -62,34 +62,6 @@ export declare const SnapshotQuota: zod.ZodObject<{
62
62
  pending_checkout_session_id: zod.ZodNullable<zod.ZodUUID>;
63
63
  pending_order_id: zod.ZodNullable<zod.ZodUUID>;
64
64
  failure_reason: zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodLiteral<"checkout_expired">, zod.ZodLiteral<"order_declined">, zod.ZodLiteral<"order_canceled">, zod.ZodLiteral<"order_expired">, zod.ZodLiteral<"provisioning_failed">, zod.ZodLiteral<null>]>>;
65
- pricing: zod.ZodUnion<readonly [zod.ZodObject<{
66
- currency: zod.ZodString;
67
- options: zod.ZodArray<zod.ZodObject<{
68
- usage_type: zod.ZodEnum<{
69
- licensed: "licensed";
70
- metered: "metered";
71
- }>;
72
- period: zod.ZodUnion<readonly [zod.ZodObject<{
73
- unit: zod.ZodEnum<{
74
- month: "month";
75
- year: "year";
76
- }>;
77
- count: zod.ZodInt;
78
- }, zod.z.core.$strict>, zod.ZodNull]>;
79
- quantity_unit: zod.ZodEnum<{
80
- item: "item";
81
- gib: "gib";
82
- mbps: "mbps";
83
- snapshot: "snapshot";
84
- }>;
85
- amount: zod.ZodNullable<zod.ZodString>;
86
- monthly_amount: zod.ZodNullable<zod.ZodString>;
87
- saving_percent: zod.ZodNullable<zod.ZodString>;
88
- unit_amount: zod.ZodNullable<zod.ZodString>;
89
- unit: zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodLiteral<"hour">, zod.ZodLiteral<null>]>>;
90
- termination_policy: zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodLiteral<"immediate">, zod.ZodLiteral<"period_end">, zod.ZodLiteral<null>]>>;
91
- }, zod.z.core.$strict>>;
92
- }, zod.z.core.$strict>, zod.ZodNull]>;
93
65
  }, zod.z.core.$strict>;
94
66
  export type SnapshotQuota = zod.input<typeof SnapshotQuota>;
95
67
  export type SnapshotQuotaOutput = zod.output<typeof SnapshotQuota>;
@@ -11,7 +11,7 @@
11
11
  * ## Conventions
12
12
  *
13
13
  * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the Checkout Session and the order in Billing for checkout and payment progress.
14
- * - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the licensed and metered options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
14
+ * - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices from Billing with `search-prices` and `search-rates`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
15
15
  * - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid.
16
16
  * - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time.
17
17
  * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
@@ -23,7 +23,6 @@
23
23
  */
24
24
  import * as zod from "zod";
25
25
  import { BillingChoice } from "./billingChoice.zod.js";
26
- import { Pricing } from "./pricing.zod.js";
27
26
  export const snapshotQuotaLimitMin = 0;
28
27
  export const snapshotQuotaUsedMin = 0;
29
28
  export const snapshotQuotaAvailableMin = 0;
@@ -83,8 +82,5 @@ export const SnapshotQuota = zod
83
82
  ])
84
83
  .nullable()
85
84
  .describe("Why the first purchase failed; null unless status is failed. A failed change leaves the current\nlimit in force and clears pending_limit; its Checkout Session or order shows the outcome."),
86
- pricing: zod
87
- .union([Pricing, zod.null()])
88
- .describe("How snapshot quota in this region can be bought, per snapshot slot. Null when the project has no billing account."),
89
85
  })
90
86
  .describe("Snapshot count capacity for the authenticated project and one region, projected from its\neffective quota purchase and Compute's actual holdings. This is not a Billing Allowance:\ncreation occupies capacity and confirmed deletion releases it rather than consuming a grant.\nPending purchases never increase effective capacity before commercial acceptance and activation.");
@@ -11,7 +11,7 @@
11
11
  * ## Conventions
12
12
  *
13
13
  * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the Checkout Session and the order in Billing for checkout and payment progress.
14
- * - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the licensed and metered options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
14
+ * - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices from Billing with `search-prices` and `search-rates`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
15
15
  * - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid.
16
16
  * - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time.
17
17
  * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
@@ -11,7 +11,7 @@
11
11
  * ## Conventions
12
12
  *
13
13
  * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the Checkout Session and the order in Billing for checkout and payment progress.
14
- * - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the licensed and metered options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
14
+ * - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices from Billing with `search-prices` and `search-rates`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
15
15
  * - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid.
16
16
  * - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time.
17
17
  * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
@@ -11,7 +11,7 @@
11
11
  * ## Conventions
12
12
  *
13
13
  * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the Checkout Session and the order in Billing for checkout and payment progress.
14
- * - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the licensed and metered options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
14
+ * - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices from Billing with `search-prices` and `search-rates`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
15
15
  * - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid.
16
16
  * - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time.
17
17
  * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
@@ -11,7 +11,7 @@
11
11
  * ## Conventions
12
12
  *
13
13
  * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the Checkout Session and the order in Billing for checkout and payment progress.
14
- * - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the licensed and metered options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
14
+ * - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices from Billing with `search-prices` and `search-rates`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
15
15
  * - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid.
16
16
  * - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time.
17
17
  * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
@@ -11,7 +11,7 @@
11
11
  * ## Conventions
12
12
  *
13
13
  * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the Checkout Session and the order in Billing for checkout and payment progress.
14
- * - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the licensed and metered options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
14
+ * - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices from Billing with `search-prices` and `search-rates`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
15
15
  * - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid.
16
16
  * - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time.
17
17
  * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
@@ -11,7 +11,7 @@
11
11
  * ## Conventions
12
12
  *
13
13
  * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the Checkout Session and the order in Billing for checkout and payment progress.
14
- * - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the licensed and metered options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
14
+ * - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices from Billing with `search-prices` and `search-rates`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
15
15
  * - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid.
16
16
  * - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time.
17
17
  * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
@@ -11,7 +11,7 @@
11
11
  * ## Conventions
12
12
  *
13
13
  * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the Checkout Session and the order in Billing for checkout and payment progress.
14
- * - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the licensed and metered options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
14
+ * - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices from Billing with `search-prices` and `search-rates`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
15
15
  * - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid.
16
16
  * - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time.
17
17
  * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
@@ -11,7 +11,7 @@
11
11
  * ## Conventions
12
12
  *
13
13
  * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the Checkout Session and the order in Billing for checkout and payment progress.
14
- * - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the licensed and metered options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
14
+ * - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices from Billing with `search-prices` and `search-rates`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
15
15
  * - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid.
16
16
  * - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time.
17
17
  * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
@@ -11,7 +11,7 @@
11
11
  * ## Conventions
12
12
  *
13
13
  * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the Checkout Session and the order in Billing for checkout and payment progress.
14
- * - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the licensed and metered options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
14
+ * - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices from Billing with `search-prices` and `search-rates`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
15
15
  * - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid.
16
16
  * - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time.
17
17
  * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
@@ -11,7 +11,7 @@
11
11
  * ## Conventions
12
12
  *
13
13
  * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the Checkout Session and the order in Billing for checkout and payment progress.
14
- * - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the licensed and metered options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
14
+ * - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices from Billing with `search-prices` and `search-rates`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
15
15
  * - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid.
16
16
  * - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time.
17
17
  * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
@@ -11,7 +11,7 @@
11
11
  * ## Conventions
12
12
  *
13
13
  * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the Checkout Session and the order in Billing for checkout and payment progress.
14
- * - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the licensed and metered options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
14
+ * - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices from Billing with `search-prices` and `search-rates`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
15
15
  * - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid.
16
16
  * - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time.
17
17
  * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
@@ -11,7 +11,7 @@
11
11
  * ## Conventions
12
12
  *
13
13
  * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the Checkout Session and the order in Billing for checkout and payment progress.
14
- * - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the licensed and metered options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
14
+ * - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices from Billing with `search-prices` and `search-rates`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
15
15
  * - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid.
16
16
  * - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time.
17
17
  * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
@@ -11,7 +11,7 @@
11
11
  * ## Conventions
12
12
  *
13
13
  * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the Checkout Session and the order in Billing for checkout and payment progress.
14
- * - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the licensed and metered options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
14
+ * - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices from Billing with `search-prices` and `search-rates`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
15
15
  * - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid.
16
16
  * - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time.
17
17
  * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
@@ -11,7 +11,7 @@
11
11
  * ## Conventions
12
12
  *
13
13
  * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the Checkout Session and the order in Billing for checkout and payment progress.
14
- * - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the licensed and metered options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
14
+ * - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices from Billing with `search-prices` and `search-rates`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
15
15
  * - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid.
16
16
  * - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time.
17
17
  * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
@@ -5,7 +5,7 @@
5
5
  * Membership tiers and account memberships. Catalog queries support any configured currency; purchases use the billing account currency.
6
6
  * OpenAPI spec version: 1.0.0
7
7
  */
8
- import type { ErrorResponse, GetPlanParams, ListMembershipPeriodsParams, ListMembershipsParams, ListPlansParams, Membership, MembershipCreate, MembershipDowngrade, MembershipList, MembershipPurchase, MembershipUpgrade, PeriodList, Plan, PlanList } from "./models.js";
8
+ import type { ErrorResponse, GetPlanParams, ListMembershipPeriodsParams, ListMembershipUpgradeOptionsParams, ListMembershipsParams, ListPlansParams, Membership, MembershipCreate, MembershipDowngrade, MembershipList, MembershipPurchase, MembershipUpgrade, PeriodList, Plan, PlanList, UpgradeOptionList } from "./models.js";
9
9
  export type HTTPStatusCode1xx = 100 | 101 | 102 | 103;
10
10
  export type HTTPStatusCode2xx = 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207;
11
11
  export type HTTPStatusCode3xx = 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308;
@@ -137,6 +137,27 @@ export declare const getListMembershipPeriodsUrl: (membershipId: string, params?
137
137
  * @summary List membership periods
138
138
  */
139
139
  export declare const listMembershipPeriods: (membershipId: string, params?: ListMembershipPeriodsParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listMembershipPeriodsResponse>;
140
+ export type listMembershipUpgradeOptionsResponse200 = {
141
+ data: UpgradeOptionList;
142
+ status: 200;
143
+ };
144
+ export type listMembershipUpgradeOptionsResponseDefault = {
145
+ data: ErrorResponse;
146
+ status: Exclude<HTTPStatusCodes, 200>;
147
+ };
148
+ export type listMembershipUpgradeOptionsResponseSuccess = listMembershipUpgradeOptionsResponse200 & {
149
+ headers: Headers;
150
+ };
151
+ export type listMembershipUpgradeOptionsResponseError = listMembershipUpgradeOptionsResponseDefault & {
152
+ headers: Headers;
153
+ };
154
+ export type listMembershipUpgradeOptionsResponse = listMembershipUpgradeOptionsResponseSuccess | listMembershipUpgradeOptionsResponseError;
155
+ export declare const getListMembershipUpgradeOptionsUrl: (membershipId: string, params?: ListMembershipUpgradeOptionsParams) => string;
156
+ /**
157
+ * Lists the higher tiers on sale that the membership's tier has an upgrade path to, lowest rank first, with the Billing price `upgrade-membership` would order for each. Price an upgrade before making it with Billing's quote, giving that price with a quantity of 1; a promotion code can be checked there as well. Returns 409 MEMBERSHIP_NOT_ACTIVE or MEMBERSHIP_CHANGE_PENDING when the membership cannot be changed.
158
+ * @summary List upgrade options
159
+ */
160
+ export declare const listMembershipUpgradeOptions: (membershipId: string, params?: ListMembershipUpgradeOptionsParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listMembershipUpgradeOptionsResponse>;
140
161
  export type upgradeMembershipResponse201 = {
141
162
  data: MembershipPurchase;
142
163
  status: 201;