@leaflow/sdk 0.211.0 → 0.213.1

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 (781) hide show
  1. package/dist/billing/type/checkout/v1/generated/models.d.ts +5 -0
  2. package/dist/billing/type/checkout/v1/generated/validators/checkoutOptions.zod.d.ts +2 -0
  3. package/dist/billing/type/checkout/v1/generated/validators/checkoutOptions.zod.js +5 -0
  4. package/dist/billing/v1/generated/functions.d.ts +105 -90
  5. package/dist/billing/v1/generated/functions.js +107 -92
  6. package/dist/billing/v1/generated/models.d.ts +338 -164
  7. package/dist/billing/v1/generated/models.js +16 -10
  8. package/dist/billing/v1/generated/schemas.zod.d.ts +93 -70
  9. package/dist/billing/v1/generated/schemas.zod.js +98 -72
  10. package/dist/billing/v1/generated/validators/activeResource.zod.d.ts +1 -0
  11. package/dist/billing/v1/generated/validators/activeResource.zod.js +3 -2
  12. package/dist/billing/v1/generated/validators/activeResourceList.zod.d.ts +1 -0
  13. package/dist/billing/v1/generated/validators/allowance.zod.d.ts +1 -0
  14. package/dist/billing/v1/generated/validators/allowance.zod.js +5 -1
  15. package/dist/billing/v1/generated/validators/allowanceList.zod.d.ts +1 -0
  16. package/dist/billing/v1/generated/validators/cancellation.zod.d.ts +1 -0
  17. package/dist/billing/v1/generated/validators/cancellation.zod.js +2 -2
  18. package/dist/billing/v1/generated/validators/cancellationCreate.zod.d.ts +4 -2
  19. package/dist/billing/v1/generated/validators/cancellationCreate.zod.js +5 -4
  20. package/dist/billing/v1/generated/validators/cancellationItem.zod.d.ts +1 -0
  21. package/dist/billing/v1/generated/validators/cancellationItem.zod.js +5 -4
  22. package/dist/billing/v1/generated/validators/cancellationItemInput.zod.d.ts +13 -0
  23. package/dist/billing/v1/generated/validators/{autoRenewSet.zod.d.ts → cancellationItemInput.zod.js} +5 -5
  24. package/dist/billing/v1/generated/validators/cancellationList.zod.d.ts +1 -0
  25. package/dist/billing/v1/generated/validators/cancellationPreview.zod.d.ts +1 -0
  26. package/dist/billing/v1/generated/validators/cancellationPreview.zod.js +2 -2
  27. package/dist/billing/v1/generated/validators/cancellationPreviewItem.zod.d.ts +1 -0
  28. package/dist/billing/v1/generated/validators/cancellationPreviewItem.zod.js +4 -3
  29. package/dist/billing/v1/generated/validators/cancellationPreviewRequest.zod.d.ts +4 -2
  30. package/dist/billing/v1/generated/validators/cancellationPreviewRequest.zod.js +8 -7
  31. package/dist/billing/v1/generated/validators/checkoutOptions.zod.d.ts +2 -0
  32. package/dist/billing/v1/generated/validators/checkoutOptions.zod.js +5 -0
  33. package/dist/billing/v1/generated/validators/checkoutSession.zod.d.ts +6 -0
  34. package/dist/billing/v1/generated/validators/checkoutSession.zod.js +7 -3
  35. package/dist/billing/v1/generated/validators/checkoutSessionCreate.zod.d.ts +4 -1
  36. package/dist/billing/v1/generated/validators/checkoutSessionCreate.zod.js +8 -2
  37. package/dist/billing/v1/generated/validators/checkoutSessionItem.zod.d.ts +3 -1
  38. package/dist/billing/v1/generated/validators/checkoutSessionItem.zod.js +7 -2
  39. package/dist/billing/v1/generated/validators/checkoutSessionItemList.zod.d.ts +2 -1
  40. package/dist/billing/v1/generated/validators/checkoutSessionList.zod.d.ts +6 -0
  41. package/dist/billing/v1/generated/validators/checkoutSessionResult.zod.d.ts +7 -0
  42. package/dist/billing/v1/generated/validators/checkoutSessionSubscription.zod.d.ts +15 -0
  43. package/dist/billing/v1/generated/validators/checkoutSessionSubscription.zod.js +24 -0
  44. package/dist/billing/v1/generated/validators/checkoutSessionSubscriptionInput.zod.d.ts +13 -0
  45. package/dist/billing/v1/generated/validators/{autoRenewSet.zod.js → checkoutSessionSubscriptionInput.zod.js} +5 -3
  46. package/dist/billing/v1/generated/validators/entitlement.zod.js +1 -1
  47. package/dist/billing/v1/generated/validators/invoiceItem.zod.js +1 -1
  48. package/dist/billing/v1/generated/validators/invoiceItemProration.zod.js +1 -1
  49. package/dist/billing/v1/generated/validators/listActiveResourcesParams.zod.js +2 -2
  50. package/dist/billing/v1/generated/validators/listAllowancesParams.zod.js +2 -2
  51. package/dist/billing/v1/generated/validators/listCancellationsParams.zod.d.ts +1 -0
  52. package/dist/billing/v1/generated/validators/listCancellationsParams.zod.js +1 -0
  53. package/dist/billing/v1/generated/validators/listEntitlementsParams.zod.js +2 -2
  54. package/dist/billing/v1/generated/validators/listFeatureGrantsParams.zod.js +2 -2
  55. package/dist/billing/v1/generated/validators/listPricesParams.zod.js +2 -2
  56. package/dist/billing/v1/generated/validators/{listRenewalPricesParams.zod.d.ts → listRenewalOptionsParams.zod.d.ts} +7 -7
  57. package/dist/billing/v1/generated/validators/{listRenewalPricesParams.zod.js → listRenewalOptionsParams.zod.js} +9 -9
  58. package/dist/billing/v1/generated/validators/listSpendParams.zod.js +2 -2
  59. package/dist/billing/v1/generated/validators/listSubscriptionsParams.zod.d.ts +4 -1
  60. package/dist/billing/v1/generated/validators/listSubscriptionsParams.zod.js +7 -1
  61. package/dist/billing/v1/generated/validators/listUsageChargesParams.zod.js +2 -2
  62. package/dist/billing/v1/generated/validators/order.zod.d.ts +1 -0
  63. package/dist/billing/v1/generated/validators/order.zod.js +2 -2
  64. package/dist/billing/v1/generated/validators/orderItem.zod.d.ts +1 -0
  65. package/dist/billing/v1/generated/validators/orderItem.zod.js +8 -4
  66. package/dist/billing/v1/generated/validators/orderItemList.zod.d.ts +1 -0
  67. package/dist/billing/v1/generated/validators/orderItemStatus.zod.js +1 -1
  68. package/dist/billing/v1/generated/validators/orderList.zod.d.ts +1 -0
  69. package/dist/billing/v1/generated/validators/plan.zod.js +2 -2
  70. package/dist/billing/v1/generated/validators/price.zod.js +2 -2
  71. package/dist/billing/v1/generated/validators/priceSearch.zod.js +2 -2
  72. package/dist/billing/v1/generated/validators/product.zod.js +2 -2
  73. package/dist/billing/v1/generated/validators/{productID.zod.d.ts → productId.zod.d.ts} +5 -5
  74. package/dist/billing/v1/generated/validators/{productID.zod.js → productId.zod.js} +5 -5
  75. package/dist/billing/v1/generated/validators/quote.zod.d.ts +8 -1
  76. package/dist/billing/v1/generated/validators/quote.zod.js +1 -1
  77. package/dist/billing/v1/generated/validators/quoteChangeInput.zod.d.ts +1 -1
  78. package/dist/billing/v1/generated/validators/quoteChangeInput.zod.js +7 -7
  79. package/dist/billing/v1/generated/validators/quoteDowngradeRefund.zod.js +1 -1
  80. package/dist/billing/v1/generated/validators/quoteItem.zod.d.ts +1 -0
  81. package/dist/billing/v1/generated/validators/quoteItem.zod.js +7 -3
  82. package/dist/billing/v1/generated/validators/quoteItemInput.zod.d.ts +1 -0
  83. package/dist/billing/v1/generated/validators/quoteItemInput.zod.js +6 -2
  84. package/dist/billing/v1/generated/validators/quoteRenewal.zod.d.ts +0 -1
  85. package/dist/billing/v1/generated/validators/quoteRenewal.zod.js +2 -3
  86. package/dist/billing/v1/generated/validators/quoteRenewalItem.zod.d.ts +17 -0
  87. package/dist/billing/v1/generated/validators/quoteRenewalItem.zod.js +18 -0
  88. package/dist/billing/v1/generated/validators/quoteRenewalResult.zod.d.ts +7 -1
  89. package/dist/billing/v1/generated/validators/quoteRenewalResult.zod.js +6 -3
  90. package/dist/billing/v1/generated/validators/quoteRequest.zod.d.ts +2 -2
  91. package/dist/billing/v1/generated/validators/quoteRequest.zod.js +3 -3
  92. package/dist/billing/v1/generated/validators/refundReason.zod.js +1 -1
  93. package/dist/billing/v1/generated/validators/renewRequest.zod.js +3 -3
  94. package/dist/billing/v1/generated/validators/{renewalPriceList.zod.d.ts → renewalOption.zod.d.ts} +15 -18
  95. package/dist/billing/v1/generated/validators/renewalOption.zod.js +22 -0
  96. package/dist/billing/v1/generated/validators/{renewalPrice.zod.d.ts → renewalOptionItem.zod.d.ts} +6 -13
  97. package/dist/billing/v1/generated/validators/{renewalPrice.zod.js → renewalOptionItem.zod.js} +10 -10
  98. package/dist/billing/v1/generated/validators/renewalOptionList.zod.d.ts +44 -0
  99. package/dist/billing/v1/generated/validators/{renewalPriceList.zod.js → renewalOptionList.zod.js} +3 -3
  100. package/dist/billing/v1/generated/validators/scheduledChange.zod.js +1 -1
  101. package/dist/billing/v1/generated/validators/subscription.zod.d.ts +131 -112
  102. package/dist/billing/v1/generated/validators/subscription.zod.js +39 -73
  103. package/dist/billing/v1/generated/validators/subscriptionItem.zod.d.ts +104 -0
  104. package/dist/billing/v1/generated/validators/subscriptionItem.zod.js +74 -0
  105. package/dist/billing/v1/generated/validators/{subscriptionCancellation.zod.d.ts → subscriptionItemCancellation.zod.d.ts} +4 -4
  106. package/dist/billing/v1/generated/validators/{subscriptionCancellation.zod.js → subscriptionItemCancellation.zod.js} +4 -4
  107. package/dist/billing/v1/generated/validators/subscriptionList.zod.d.ts +131 -111
  108. package/dist/billing/v1/generated/validators/subscriptionStatus.zod.d.ts +1 -0
  109. package/dist/billing/v1/generated/validators/subscriptionStatus.zod.js +2 -2
  110. package/dist/billing/v1/generated/validators/subscriptionUpdate.zod.d.ts +13 -0
  111. package/dist/billing/v1/generated/validators/subscriptionUpdate.zod.js +13 -0
  112. package/dist/billing/v1/generated/validators/trialEndBehavior.zod.d.ts +18 -0
  113. package/dist/billing/v1/generated/validators/trialEndBehavior.zod.js +17 -0
  114. package/dist/billing/v1/generated/validators/trialSettings.zod.d.ts +20 -0
  115. package/dist/billing/v1/generated/validators/trialSettings.zod.js +14 -0
  116. package/dist/billing/v1/generated/validators/usageCharge.zod.d.ts +1 -0
  117. package/dist/billing/v1/generated/validators/usageCharge.zod.js +2 -1
  118. package/dist/billing/v1/generated/validators/usageChargeList.zod.d.ts +1 -0
  119. package/dist/billing/v1/generated/validators/usageEstimateInput.zod.js +2 -2
  120. package/dist/canopy/v1/generated/functions.d.ts +19 -50
  121. package/dist/canopy/v1/generated/functions.js +4 -34
  122. package/dist/canopy/v1/generated/models.d.ts +43 -64
  123. package/dist/canopy/v1/generated/models.js +0 -26
  124. package/dist/canopy/v1/generated/schemas.zod.d.ts +19 -21
  125. package/dist/canopy/v1/generated/schemas.zod.js +18 -21
  126. package/dist/canopy/v1/generated/validators/aPIKeyResource.zod.d.ts +14 -5
  127. package/dist/canopy/v1/generated/validators/aPIKeyResource.zod.js +14 -5
  128. package/dist/canopy/v1/generated/validators/aPIKeyUsageListResponseBody.zod.d.ts +14 -5
  129. package/dist/canopy/v1/generated/validators/aPIKeyUsageListResponseBody.zod.js +14 -5
  130. package/dist/canopy/v1/generated/validators/aPIKeyUsageResource.zod.d.ts +14 -5
  131. package/dist/canopy/v1/generated/validators/aPIKeyUsageResource.zod.js +14 -5
  132. package/dist/canopy/v1/generated/validators/audioCapabilities.zod.d.ts +14 -5
  133. package/dist/canopy/v1/generated/validators/audioCapabilities.zod.js +18 -9
  134. package/dist/canopy/v1/generated/validators/chatCompletion.zod.d.ts +14 -5
  135. package/dist/canopy/v1/generated/validators/chatCompletion.zod.js +14 -5
  136. package/dist/canopy/v1/generated/validators/chatCompletionRequest.zod.d.ts +14 -5
  137. package/dist/canopy/v1/generated/validators/chatCompletionRequest.zod.js +14 -5
  138. package/dist/canopy/v1/generated/validators/checkoutMode.zod.d.ts +14 -5
  139. package/dist/canopy/v1/generated/validators/checkoutMode.zod.js +14 -5
  140. package/dist/canopy/v1/generated/validators/checkoutOptions.zod.d.ts +16 -5
  141. package/dist/canopy/v1/generated/validators/checkoutOptions.zod.js +19 -5
  142. package/dist/canopy/v1/generated/validators/createAPIKeyRequestBody.zod.d.ts +14 -5
  143. package/dist/canopy/v1/generated/validators/createAPIKeyRequestBody.zod.js +14 -5
  144. package/dist/canopy/v1/generated/validators/createServiceRequestBody.zod.d.ts +15 -5
  145. package/dist/canopy/v1/generated/validators/createServiceRequestBody.zod.js +14 -5
  146. package/dist/canopy/v1/generated/validators/createServiceResponseBody.zod.d.ts +14 -5
  147. package/dist/canopy/v1/generated/validators/createServiceResponseBody.zod.js +14 -5
  148. package/dist/canopy/v1/generated/validators/cursorPageRequestResource.zod.d.ts +14 -5
  149. package/dist/canopy/v1/generated/validators/cursorPageRequestResource.zod.js +14 -5
  150. package/dist/canopy/v1/generated/validators/cursorPagination.zod.d.ts +14 -5
  151. package/dist/canopy/v1/generated/validators/cursorPagination.zod.js +14 -5
  152. package/dist/canopy/v1/generated/validators/embeddingRequest.zod.d.ts +14 -5
  153. package/dist/canopy/v1/generated/validators/embeddingRequest.zod.js +14 -5
  154. package/dist/canopy/v1/generated/validators/embeddingResponse.zod.d.ts +14 -5
  155. package/dist/canopy/v1/generated/validators/embeddingResponse.zod.js +14 -5
  156. package/dist/canopy/v1/generated/validators/error.zod.d.ts +14 -5
  157. package/dist/canopy/v1/generated/validators/error.zod.js +14 -5
  158. package/dist/canopy/v1/generated/validators/errorStatus.zod.d.ts +14 -5
  159. package/dist/canopy/v1/generated/validators/errorStatus.zod.js +14 -5
  160. package/dist/canopy/v1/generated/validators/fieldViolation.zod.d.ts +14 -5
  161. package/dist/canopy/v1/generated/validators/fieldViolation.zod.js +14 -5
  162. package/dist/canopy/v1/generated/validators/getUsageSummaryParams.zod.d.ts +14 -5
  163. package/dist/canopy/v1/generated/validators/getUsageSummaryParams.zod.js +14 -5
  164. package/dist/canopy/v1/generated/validators/getUsageTimelineParams.zod.d.ts +14 -5
  165. package/dist/canopy/v1/generated/validators/getUsageTimelineParams.zod.js +14 -5
  166. package/dist/canopy/v1/generated/validators/getVideoContentHeaders.zod.d.ts +14 -5
  167. package/dist/canopy/v1/generated/validators/getVideoContentHeaders.zod.js +14 -5
  168. package/dist/canopy/v1/generated/validators/imageCapabilities.zod.d.ts +14 -5
  169. package/dist/canopy/v1/generated/validators/imageCapabilities.zod.js +16 -7
  170. package/dist/canopy/v1/generated/validators/inferenceError.zod.d.ts +14 -5
  171. package/dist/canopy/v1/generated/validators/inferenceError.zod.js +14 -5
  172. package/dist/canopy/v1/generated/validators/issuedAPIKeyResource.zod.d.ts +14 -5
  173. package/dist/canopy/v1/generated/validators/issuedAPIKeyResource.zod.js +14 -5
  174. package/dist/canopy/v1/generated/validators/lengthAwarePageAPIKeyResource.zod.d.ts +14 -5
  175. package/dist/canopy/v1/generated/validators/lengthAwarePageAPIKeyResource.zod.js +14 -5
  176. package/dist/canopy/v1/generated/validators/listApiKeysParams.zod.d.ts +14 -5
  177. package/dist/canopy/v1/generated/validators/listApiKeysParams.zod.js +14 -5
  178. package/dist/canopy/v1/generated/validators/listRequestsParams.zod.d.ts +14 -5
  179. package/dist/canopy/v1/generated/validators/listRequestsParams.zod.js +14 -5
  180. package/dist/canopy/v1/generated/validators/listUsageByApiKeyParams.zod.d.ts +14 -5
  181. package/dist/canopy/v1/generated/validators/listUsageByApiKeyParams.zod.js +14 -5
  182. package/dist/canopy/v1/generated/validators/listUsageByModelParams.zod.d.ts +14 -5
  183. package/dist/canopy/v1/generated/validators/listUsageByModelParams.zod.js +14 -5
  184. package/dist/canopy/v1/generated/validators/mediaUsage.zod.d.ts +14 -5
  185. package/dist/canopy/v1/generated/validators/mediaUsage.zod.js +14 -5
  186. package/dist/canopy/v1/generated/validators/mediaUsageDetails.zod.d.ts +14 -5
  187. package/dist/canopy/v1/generated/validators/mediaUsageDetails.zod.js +14 -5
  188. package/dist/canopy/v1/generated/validators/modality.zod.d.ts +14 -5
  189. package/dist/canopy/v1/generated/validators/modality.zod.js +14 -5
  190. package/dist/canopy/v1/generated/validators/model.zod.d.ts +16 -33
  191. package/dist/canopy/v1/generated/validators/model.zod.js +14 -9
  192. package/dist/canopy/v1/generated/validators/modelBilling.zod.d.ts +14 -5
  193. package/dist/canopy/v1/generated/validators/modelBilling.zod.js +14 -5
  194. package/dist/canopy/v1/generated/validators/modelCapabilities.zod.d.ts +16 -7
  195. package/dist/canopy/v1/generated/validators/modelCapabilities.zod.js +41 -8
  196. package/dist/canopy/v1/generated/validators/modelList.zod.d.ts +16 -33
  197. package/dist/canopy/v1/generated/validators/modelList.zod.js +14 -5
  198. package/dist/canopy/v1/generated/validators/modelListResponseBody.zod.d.ts +16 -33
  199. package/dist/canopy/v1/generated/validators/modelListResponseBody.zod.js +14 -5
  200. package/dist/canopy/v1/generated/validators/modelMeter.zod.d.ts +14 -5
  201. package/dist/canopy/v1/generated/validators/modelMeter.zod.js +14 -5
  202. package/dist/canopy/v1/generated/validators/modelParameter.zod.d.ts +14 -5
  203. package/dist/canopy/v1/generated/validators/modelParameter.zod.js +15 -6
  204. package/dist/canopy/v1/generated/validators/modelResource.zod.d.ts +16 -33
  205. package/dist/canopy/v1/generated/validators/modelResource.zod.js +14 -9
  206. package/dist/canopy/v1/generated/validators/modelUsageListResponseBody.zod.d.ts +14 -5
  207. package/dist/canopy/v1/generated/validators/modelUsageListResponseBody.zod.js +14 -5
  208. package/dist/canopy/v1/generated/validators/modelUsageResource.zod.d.ts +14 -5
  209. package/dist/canopy/v1/generated/validators/modelUsageResource.zod.js +14 -5
  210. package/dist/canopy/v1/generated/validators/money.zod.d.ts +14 -5
  211. package/dist/canopy/v1/generated/validators/money.zod.js +14 -5
  212. package/dist/canopy/v1/generated/validators/nativeRequest.zod.d.ts +14 -5
  213. package/dist/canopy/v1/generated/validators/nativeRequest.zod.js +15 -6
  214. package/dist/canopy/v1/generated/validators/nativeResponse.zod.d.ts +14 -5
  215. package/dist/canopy/v1/generated/validators/nativeResponse.zod.js +15 -6
  216. package/dist/canopy/v1/generated/validators/offsetPagination.zod.d.ts +14 -5
  217. package/dist/canopy/v1/generated/validators/offsetPagination.zod.js +14 -5
  218. package/dist/canopy/v1/generated/validators/reasoningCapabilities.zod.d.ts +14 -5
  219. package/dist/canopy/v1/generated/validators/reasoningCapabilities.zod.js +14 -5
  220. package/dist/canopy/v1/generated/validators/reasoningDiagnostics.zod.d.ts +14 -5
  221. package/dist/canopy/v1/generated/validators/reasoningDiagnostics.zod.js +14 -5
  222. package/dist/canopy/v1/generated/validators/requestResource.zod.d.ts +14 -5
  223. package/dist/canopy/v1/generated/validators/requestResource.zod.js +14 -5
  224. package/dist/canopy/v1/generated/validators/responseCreate.zod.d.ts +14 -5
  225. package/dist/canopy/v1/generated/validators/responseCreate.zod.js +23 -8
  226. package/dist/canopy/v1/generated/validators/responseResource.zod.d.ts +14 -5
  227. package/dist/canopy/v1/generated/validators/responseResource.zod.js +14 -5
  228. package/dist/canopy/v1/generated/validators/serviceResource.zod.d.ts +14 -5
  229. package/dist/canopy/v1/generated/validators/serviceResource.zod.js +14 -5
  230. package/dist/canopy/v1/generated/validators/streamGenerateContentParams.zod.d.ts +14 -5
  231. package/dist/canopy/v1/generated/validators/streamGenerateContentParams.zod.js +14 -5
  232. package/dist/canopy/v1/generated/validators/totalsResource.zod.d.ts +14 -5
  233. package/dist/canopy/v1/generated/validators/totalsResource.zod.js +14 -5
  234. package/dist/canopy/v1/generated/validators/updateAPIKeyRequestBody.zod.d.ts +14 -5
  235. package/dist/canopy/v1/generated/validators/updateAPIKeyRequestBody.zod.js +14 -5
  236. package/dist/canopy/v1/generated/validators/usageBucketResource.zod.d.ts +14 -5
  237. package/dist/canopy/v1/generated/validators/usageBucketResource.zod.js +14 -5
  238. package/dist/canopy/v1/generated/validators/usageTimelineResponseBody.zod.d.ts +14 -5
  239. package/dist/canopy/v1/generated/validators/usageTimelineResponseBody.zod.js +14 -5
  240. package/dist/canopy/v1/generated/validators/videoCapabilities.zod.d.ts +14 -5
  241. package/dist/canopy/v1/generated/validators/videoCapabilities.zod.js +15 -6
  242. package/dist/canopy/v1/generated/validators/videoCreateRequest.zod.d.ts +14 -5
  243. package/dist/canopy/v1/generated/validators/videoCreateRequest.zod.js +14 -5
  244. package/dist/canopy/v1/generated/validators/videoDurationRange.zod.d.ts +14 -5
  245. package/dist/canopy/v1/generated/validators/videoDurationRange.zod.js +14 -5
  246. package/dist/canopy/v1/generated/validators/videoReferenceMedia.zod.d.ts +14 -5
  247. package/dist/canopy/v1/generated/validators/videoReferenceMedia.zod.js +14 -5
  248. package/dist/canopy/v1/generated/validators/videoTask.zod.d.ts +14 -5
  249. package/dist/canopy/v1/generated/validators/videoTask.zod.js +14 -5
  250. package/dist/canopy/v1/generated/validators/videoUsage.zod.d.ts +14 -5
  251. package/dist/canopy/v1/generated/validators/videoUsage.zod.js +14 -5
  252. package/dist/compute/v2/generated/functions.d.ts +372 -284
  253. package/dist/compute/v2/generated/functions.js +232 -76
  254. package/dist/compute/v2/generated/models.d.ts +368 -334
  255. package/dist/compute/v2/generated/models.js +9 -9
  256. package/dist/compute/v2/generated/schemas.zod.d.ts +165 -97
  257. package/dist/compute/v2/generated/schemas.zod.js +156 -84
  258. package/dist/compute/v2/generated/validators/{associateElasticIPRequestBody.zod.d.ts → associateElasticIpRequestBody.zod.d.ts} +4 -4
  259. package/dist/compute/v2/generated/validators/{associateElasticIPRequestBody.zod.js → associateElasticIpRequestBody.zod.js} +2 -2
  260. package/dist/compute/v2/generated/validators/attachNetworkInterfaceRequestBody.zod.d.ts +1 -1
  261. package/dist/compute/v2/generated/validators/attachNetworkInterfaceRequestBody.zod.js +3 -3
  262. package/dist/compute/v2/generated/validators/attachVolumeRequestBody.zod.d.ts +1 -1
  263. package/dist/compute/v2/generated/validators/attachVolumeRequestBody.zod.js +3 -3
  264. package/dist/compute/v2/generated/validators/{imageID.zod.d.ts → availabilityZoneId.zod.d.ts} +7 -7
  265. package/dist/compute/v2/generated/validators/availabilityZoneId.zod.js +44 -0
  266. package/dist/compute/v2/generated/validators/availabilityZoneListResponseBody.zod.d.ts +1 -1
  267. package/dist/compute/v2/generated/validators/availabilityZoneListResponseBody.zod.js +1 -1
  268. package/dist/compute/v2/generated/validators/availabilityZoneResource.zod.d.ts +1 -1
  269. package/dist/compute/v2/generated/validators/availabilityZoneResource.zod.js +5 -5
  270. package/dist/compute/v2/generated/validators/billingCancellation.zod.d.ts +1 -1
  271. package/dist/compute/v2/generated/validators/billingCancellation.zod.js +3 -3
  272. package/dist/compute/v2/generated/validators/billingChoice.zod.d.ts +1 -1
  273. package/dist/compute/v2/generated/validators/billingChoice.zod.js +1 -1
  274. package/dist/compute/v2/generated/validators/billingComponent.zod.d.ts +1 -1
  275. package/dist/compute/v2/generated/validators/billingComponent.zod.js +1 -1
  276. package/dist/compute/v2/generated/validators/billingLineQuantity.zod.d.ts +1 -1
  277. package/dist/compute/v2/generated/validators/billingLineQuantity.zod.js +1 -1
  278. package/dist/compute/v2/generated/validators/billingMeter.zod.d.ts +1 -1
  279. package/dist/compute/v2/generated/validators/billingMeter.zod.js +1 -1
  280. package/dist/compute/v2/generated/validators/billingPeriod.zod.d.ts +1 -1
  281. package/dist/compute/v2/generated/validators/billingPeriod.zod.js +1 -1
  282. package/dist/compute/v2/generated/validators/billingQuantity.zod.d.ts +1 -1
  283. package/dist/compute/v2/generated/validators/billingQuantity.zod.js +1 -1
  284. package/dist/compute/v2/generated/validators/bootVolume.zod.d.ts +1 -1
  285. package/dist/compute/v2/generated/validators/bootVolume.zod.js +1 -1
  286. package/dist/compute/v2/generated/validators/cancellationMode.zod.d.ts +1 -1
  287. package/dist/compute/v2/generated/validators/cancellationMode.zod.js +1 -1
  288. package/dist/compute/v2/generated/validators/{updateElasticIPRequestBody.zod.d.ts → changeElasticIpBandwidthRequestBody.zod.d.ts} +6 -9
  289. package/dist/compute/v2/generated/validators/changeElasticIpBandwidthRequestBody.zod.js +47 -0
  290. package/dist/compute/v2/generated/validators/changeElasticIpChargeTypeRequestBody.zod.d.ts +43 -0
  291. package/dist/compute/v2/generated/validators/changeElasticIpChargeTypeRequestBody.zod.js +39 -0
  292. package/dist/compute/v2/generated/validators/checkoutMode.zod.d.ts +1 -1
  293. package/dist/compute/v2/generated/validators/checkoutMode.zod.js +1 -1
  294. package/dist/compute/v2/generated/validators/checkoutOptions.zod.d.ts +3 -1
  295. package/dist/compute/v2/generated/validators/checkoutOptions.zod.js +6 -1
  296. package/dist/compute/v2/generated/validators/consoleResponseBody.zod.d.ts +1 -1
  297. package/dist/compute/v2/generated/validators/consoleResponseBody.zod.js +1 -1
  298. package/dist/compute/v2/generated/validators/{createElasticIPRequestBody.zod.d.ts → createElasticIpRequestBody.zod.d.ts} +9 -7
  299. package/dist/compute/v2/generated/validators/{createElasticIPRequestBody.zod.js → createElasticIpRequestBody.zod.js} +12 -10
  300. package/dist/compute/v2/generated/validators/{createElasticIPResponseBody.zod.d.ts → createElasticIpResponseBody.zod.d.ts} +8 -6
  301. package/dist/compute/v2/generated/validators/{createElasticIPResponseBody.zod.js → createElasticIpResponseBody.zod.js} +4 -4
  302. package/dist/compute/v2/generated/validators/createInstanceRequestBody.zod.d.ts +2 -1
  303. package/dist/compute/v2/generated/validators/createInstanceRequestBody.zod.js +3 -3
  304. package/dist/compute/v2/generated/validators/createInstanceResponseBody.zod.d.ts +3 -1
  305. package/dist/compute/v2/generated/validators/createInstanceResponseBody.zod.js +1 -1
  306. package/dist/compute/v2/generated/validators/createLaunchTemplateRequestBody.zod.d.ts +1 -1
  307. package/dist/compute/v2/generated/validators/createLaunchTemplateRequestBody.zod.js +3 -3
  308. package/dist/compute/v2/generated/validators/createLaunchTemplateResponseBody.zod.d.ts +1 -1
  309. package/dist/compute/v2/generated/validators/createLaunchTemplateResponseBody.zod.js +1 -1
  310. package/dist/compute/v2/generated/validators/createNetworkInterfaceAddressRequestBody.zod.d.ts +1 -1
  311. package/dist/compute/v2/generated/validators/createNetworkInterfaceAddressRequestBody.zod.js +1 -1
  312. package/dist/compute/v2/generated/validators/createNetworkInterfaceRequestBody.zod.d.ts +1 -1
  313. package/dist/compute/v2/generated/validators/createNetworkInterfaceRequestBody.zod.js +5 -5
  314. package/dist/compute/v2/generated/validators/createPrivateImageRequestBody.zod.d.ts +2 -1
  315. package/dist/compute/v2/generated/validators/createPrivateImageRequestBody.zod.js +3 -3
  316. package/dist/compute/v2/generated/validators/createPrivateImageResponseBody.zod.d.ts +3 -1
  317. package/dist/compute/v2/generated/validators/createPrivateImageResponseBody.zod.js +1 -1
  318. package/dist/compute/v2/generated/validators/createSecurityGroupRequestBody.zod.d.ts +1 -1
  319. package/dist/compute/v2/generated/validators/createSecurityGroupRequestBody.zod.js +3 -3
  320. package/dist/compute/v2/generated/validators/createSecurityGroupRuleRequestBody.zod.d.ts +1 -1
  321. package/dist/compute/v2/generated/validators/createSecurityGroupRuleRequestBody.zod.js +1 -1
  322. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudPeeringRequestBody.zod.d.ts +1 -1
  323. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudPeeringRequestBody.zod.js +4 -4
  324. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRequestBody.zod.d.ts +1 -1
  325. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRequestBody.zod.js +3 -3
  326. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRouteRequestBody.zod.d.ts +1 -1
  327. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRouteRequestBody.zod.js +1 -1
  328. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudSubnetRequestBody.zod.d.ts +1 -1
  329. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudSubnetRequestBody.zod.js +1 -1
  330. package/dist/compute/v2/generated/validators/createVolumeBackupRequestBody.zod.d.ts +2 -1
  331. package/dist/compute/v2/generated/validators/createVolumeBackupRequestBody.zod.js +3 -3
  332. package/dist/compute/v2/generated/validators/createVolumeBackupResponseBody.zod.d.ts +3 -1
  333. package/dist/compute/v2/generated/validators/createVolumeBackupResponseBody.zod.js +1 -1
  334. package/dist/compute/v2/generated/validators/createVolumeRequestBody.zod.d.ts +5 -3
  335. package/dist/compute/v2/generated/validators/createVolumeRequestBody.zod.js +10 -8
  336. package/dist/compute/v2/generated/validators/createVolumeResponseBody.zod.d.ts +3 -1
  337. package/dist/compute/v2/generated/validators/createVolumeResponseBody.zod.js +1 -1
  338. package/dist/compute/v2/generated/validators/createVolumeSnapshotRequestBody.zod.d.ts +2 -1
  339. package/dist/compute/v2/generated/validators/createVolumeSnapshotRequestBody.zod.js +3 -3
  340. package/dist/compute/v2/generated/validators/createVolumeSnapshotResponseBody.zod.d.ts +3 -1
  341. package/dist/compute/v2/generated/validators/createVolumeSnapshotResponseBody.zod.js +1 -1
  342. package/dist/compute/v2/generated/validators/cursorPagination.zod.d.ts +1 -1
  343. package/dist/compute/v2/generated/validators/cursorPagination.zod.js +1 -1
  344. package/dist/compute/v2/generated/validators/deleteElasticIpParams.zod.d.ts +1 -1
  345. package/dist/compute/v2/generated/validators/deleteElasticIpParams.zod.js +1 -1
  346. package/dist/compute/v2/generated/validators/{deleteElasticIPResponseBody.zod.d.ts → deleteElasticIpResponseBody.zod.d.ts} +8 -6
  347. package/dist/compute/v2/generated/validators/{deleteElasticIPResponseBody.zod.js → deleteElasticIpResponseBody.zod.js} +6 -6
  348. package/dist/compute/v2/generated/validators/deleteInstanceParams.zod.d.ts +1 -1
  349. package/dist/compute/v2/generated/validators/deleteInstanceParams.zod.js +1 -1
  350. package/dist/compute/v2/generated/validators/deleteInstanceResponseBody.zod.d.ts +3 -1
  351. package/dist/compute/v2/generated/validators/deleteInstanceResponseBody.zod.js +3 -3
  352. package/dist/compute/v2/generated/validators/deletePrivateImageParams.zod.d.ts +1 -1
  353. package/dist/compute/v2/generated/validators/deletePrivateImageParams.zod.js +1 -1
  354. package/dist/compute/v2/generated/validators/deletePrivateImageResponseBody.zod.d.ts +3 -1
  355. package/dist/compute/v2/generated/validators/deletePrivateImageResponseBody.zod.js +3 -3
  356. package/dist/compute/v2/generated/validators/deleteVolumeBackupParams.zod.d.ts +1 -1
  357. package/dist/compute/v2/generated/validators/deleteVolumeBackupParams.zod.js +1 -1
  358. package/dist/compute/v2/generated/validators/deleteVolumeBackupResponseBody.zod.d.ts +3 -1
  359. package/dist/compute/v2/generated/validators/deleteVolumeBackupResponseBody.zod.js +3 -3
  360. package/dist/compute/v2/generated/validators/deleteVolumeParams.zod.d.ts +1 -1
  361. package/dist/compute/v2/generated/validators/deleteVolumeParams.zod.js +1 -1
  362. package/dist/compute/v2/generated/validators/deleteVolumeResponseBody.zod.d.ts +3 -1
  363. package/dist/compute/v2/generated/validators/deleteVolumeResponseBody.zod.js +3 -3
  364. package/dist/compute/v2/generated/validators/deleteVolumeSnapshotParams.zod.d.ts +1 -1
  365. package/dist/compute/v2/generated/validators/deleteVolumeSnapshotParams.zod.js +1 -1
  366. package/dist/compute/v2/generated/validators/deleteVolumeSnapshotResponseBody.zod.d.ts +3 -1
  367. package/dist/compute/v2/generated/validators/deleteVolumeSnapshotResponseBody.zod.js +3 -3
  368. package/dist/compute/v2/generated/validators/{elasticIP.zod.d.ts → elasticIp.zod.d.ts} +8 -6
  369. package/dist/compute/v2/generated/validators/{elasticIP.zod.js → elasticIp.zod.js} +22 -18
  370. package/dist/compute/v2/generated/validators/{elasticIPAssociation.zod.d.ts → elasticIpAssociation.zod.d.ts} +4 -4
  371. package/dist/compute/v2/generated/validators/{elasticIPAssociation.zod.js → elasticIpAssociation.zod.js} +11 -11
  372. package/dist/compute/v2/generated/validators/elasticIpAssociationId.zod.d.ts +41 -0
  373. package/dist/compute/v2/generated/validators/elasticIpAssociationId.zod.js +44 -0
  374. package/dist/compute/v2/generated/validators/{updateElasticIPResponseBody.zod.d.ts → elasticIpChangeResponseBody.zod.d.ts} +8 -6
  375. package/dist/compute/v2/generated/validators/elasticIpChangeResponseBody.zod.js +49 -0
  376. package/dist/compute/v2/generated/validators/elasticIpId.zod.d.ts +41 -0
  377. package/dist/compute/v2/generated/validators/{elasticIPID.zod.js → elasticIpId.zod.js} +8 -8
  378. package/dist/compute/v2/generated/validators/{elasticIPLine.zod.d.ts → elasticIpLine.zod.d.ts} +7 -7
  379. package/dist/compute/v2/generated/validators/{elasticIPLine.zod.js → elasticIpLine.zod.js} +12 -12
  380. package/dist/compute/v2/generated/validators/elasticIpLineId.zod.d.ts +41 -0
  381. package/dist/compute/v2/generated/validators/elasticIpLineId.zod.js +44 -0
  382. package/dist/compute/v2/generated/validators/{elasticIPLineListResponseBody.zod.d.ts → elasticIpLineListResponseBody.zod.d.ts} +4 -4
  383. package/dist/compute/v2/generated/validators/{elasticIPListResponseBody.zod.js → elasticIpLineListResponseBody.zod.js} +4 -4
  384. package/dist/compute/v2/generated/validators/{elasticIPListResponseBody.zod.d.ts → elasticIpListResponseBody.zod.d.ts} +8 -6
  385. package/dist/compute/v2/generated/validators/{elasticIPLineListResponseBody.zod.js → elasticIpListResponseBody.zod.js} +4 -4
  386. package/dist/compute/v2/generated/validators/{elasticIPReleaseResource.zod.d.ts → elasticIpReleaseResource.zod.d.ts} +4 -4
  387. package/dist/compute/v2/generated/validators/{elasticIPReleaseResource.zod.js → elasticIpReleaseResource.zod.js} +4 -4
  388. package/dist/compute/v2/generated/validators/error.zod.d.ts +1 -1
  389. package/dist/compute/v2/generated/validators/error.zod.js +1 -1
  390. package/dist/compute/v2/generated/validators/errorStatus.zod.d.ts +1 -1
  391. package/dist/compute/v2/generated/validators/errorStatus.zod.js +1 -1
  392. package/dist/compute/v2/generated/validators/existingBootVolume.zod.d.ts +1 -1
  393. package/dist/compute/v2/generated/validators/existingBootVolume.zod.js +3 -3
  394. package/dist/compute/v2/generated/validators/{existingElasticIP.zod.d.ts → existingElasticIp.zod.d.ts} +4 -4
  395. package/dist/compute/v2/generated/validators/{existingElasticIP.zod.js → existingElasticIp.zod.js} +4 -4
  396. package/dist/compute/v2/generated/validators/existingPrimaryNetworkInterface.zod.d.ts +1 -1
  397. package/dist/compute/v2/generated/validators/existingPrimaryNetworkInterface.zod.js +3 -3
  398. package/dist/compute/v2/generated/validators/fieldViolation.zod.d.ts +1 -1
  399. package/dist/compute/v2/generated/validators/fieldViolation.zod.js +1 -1
  400. package/dist/compute/v2/generated/validators/freeSubnetCidr.zod.d.ts +1 -1
  401. package/dist/compute/v2/generated/validators/freeSubnetCidr.zod.js +1 -1
  402. package/dist/compute/v2/generated/validators/generatedPassword.zod.d.ts +1 -1
  403. package/dist/compute/v2/generated/validators/generatedPassword.zod.js +1 -1
  404. package/dist/compute/v2/generated/validators/getVirtualPrivateCloudFreeSubnetCidrParams.zod.d.ts +1 -1
  405. package/dist/compute/v2/generated/validators/getVirtualPrivateCloudFreeSubnetCidrParams.zod.js +1 -1
  406. package/dist/compute/v2/generated/validators/imageId.zod.d.ts +41 -0
  407. package/dist/compute/v2/generated/validators/{imageID.zod.js → imageId.zod.js} +8 -8
  408. package/dist/compute/v2/generated/validators/instance.zod.d.ts +3 -1
  409. package/dist/compute/v2/generated/validators/instance.zod.js +25 -21
  410. package/dist/compute/v2/generated/validators/instanceAssociationTarget.zod.d.ts +1 -1
  411. package/dist/compute/v2/generated/validators/instanceAssociationTarget.zod.js +3 -3
  412. package/dist/compute/v2/generated/validators/{instanceElasticIP.zod.d.ts → instanceElasticIp.zod.d.ts} +4 -4
  413. package/dist/compute/v2/generated/validators/{instanceElasticIP.zod.js → instanceElasticIp.zod.js} +5 -5
  414. package/dist/compute/v2/generated/validators/instanceFamily.zod.d.ts +1 -1
  415. package/dist/compute/v2/generated/validators/instanceFamily.zod.js +5 -5
  416. package/dist/compute/v2/generated/validators/instanceFamilyCategory.zod.d.ts +1 -1
  417. package/dist/compute/v2/generated/validators/instanceFamilyCategory.zod.js +1 -1
  418. package/dist/compute/v2/generated/validators/instanceFamilyId.zod.d.ts +41 -0
  419. package/dist/compute/v2/generated/validators/{instanceFamilyID.zod.js → instanceFamilyId.zod.js} +8 -8
  420. package/dist/compute/v2/generated/validators/instanceFamilyListResponseBody.zod.d.ts +1 -1
  421. package/dist/compute/v2/generated/validators/instanceFamilyListResponseBody.zod.js +1 -1
  422. package/dist/compute/v2/generated/validators/instanceId.zod.d.ts +41 -0
  423. package/dist/compute/v2/generated/validators/{instanceID.zod.js → instanceId.zod.js} +8 -8
  424. package/dist/compute/v2/generated/validators/instanceListResponseBody.zod.d.ts +3 -1
  425. package/dist/compute/v2/generated/validators/instanceListResponseBody.zod.js +1 -1
  426. package/dist/compute/v2/generated/validators/instanceNetworkInterfaceId.zod.d.ts +41 -0
  427. package/dist/compute/v2/generated/validators/instanceNetworkInterfaceId.zod.js +44 -0
  428. package/dist/compute/v2/generated/validators/instanceReleaseResource.zod.d.ts +1 -1
  429. package/dist/compute/v2/generated/validators/instanceReleaseResource.zod.js +3 -3
  430. package/dist/compute/v2/generated/validators/instanceRestriction.zod.d.ts +1 -1
  431. package/dist/compute/v2/generated/validators/instanceRestriction.zod.js +4 -4
  432. package/dist/compute/v2/generated/validators/instanceType.zod.d.ts +1 -1
  433. package/dist/compute/v2/generated/validators/instanceType.zod.js +9 -9
  434. package/dist/compute/v2/generated/validators/instanceTypeId.zod.d.ts +41 -0
  435. package/dist/compute/v2/generated/validators/{instanceTypeID.zod.js → instanceTypeId.zod.js} +8 -8
  436. package/dist/compute/v2/generated/validators/instanceTypeListResponseBody.zod.d.ts +1 -1
  437. package/dist/compute/v2/generated/validators/instanceTypeListResponseBody.zod.js +1 -1
  438. package/dist/compute/v2/generated/validators/instanceVolumeId.zod.d.ts +41 -0
  439. package/dist/compute/v2/generated/validators/{instanceVolumeID.zod.js → instanceVolumeId.zod.js} +8 -8
  440. package/dist/compute/v2/generated/validators/internetChargeType.zod.d.ts +1 -1
  441. package/dist/compute/v2/generated/validators/internetChargeType.zod.js +2 -2
  442. package/dist/compute/v2/generated/validators/ipv4HostAddress.zod.d.ts +41 -0
  443. package/dist/compute/v2/generated/validators/{iPv4HostAddress.zod.js → ipv4HostAddress.zod.js} +8 -8
  444. package/dist/compute/v2/generated/validators/latestOperation.zod.d.ts +1 -1
  445. package/dist/compute/v2/generated/validators/latestOperation.zod.js +1 -1
  446. package/dist/compute/v2/generated/validators/launchTemplate.zod.d.ts +1 -1
  447. package/dist/compute/v2/generated/validators/launchTemplate.zod.js +5 -5
  448. package/dist/compute/v2/generated/validators/launchTemplateBootVolume.zod.d.ts +1 -1
  449. package/dist/compute/v2/generated/validators/launchTemplateBootVolume.zod.js +5 -5
  450. package/dist/compute/v2/generated/validators/launchTemplateDataVolume.zod.d.ts +1 -1
  451. package/dist/compute/v2/generated/validators/launchTemplateDataVolume.zod.js +3 -3
  452. package/dist/compute/v2/generated/validators/{launchTemplateElasticIP.zod.d.ts → launchTemplateElasticIp.zod.d.ts} +5 -5
  453. package/dist/compute/v2/generated/validators/{launchTemplateElasticIP.zod.js → launchTemplateElasticIp.zod.js} +6 -6
  454. package/dist/compute/v2/generated/validators/launchTemplateId.zod.d.ts +41 -0
  455. package/dist/compute/v2/generated/validators/{launchTemplateID.zod.js → launchTemplateId.zod.js} +8 -8
  456. package/dist/compute/v2/generated/validators/launchTemplateListResponseBody.zod.d.ts +1 -1
  457. package/dist/compute/v2/generated/validators/launchTemplateListResponseBody.zod.js +1 -1
  458. package/dist/compute/v2/generated/validators/launchTemplateNetworkInterface.zod.d.ts +1 -1
  459. package/dist/compute/v2/generated/validators/launchTemplateNetworkInterface.zod.js +5 -5
  460. package/dist/compute/v2/generated/validators/launchTemplateReference.zod.d.ts +1 -1
  461. package/dist/compute/v2/generated/validators/launchTemplateReference.zod.js +3 -3
  462. package/dist/compute/v2/generated/validators/launchTemplateVersion.zod.d.ts +1 -1
  463. package/dist/compute/v2/generated/validators/launchTemplateVersion.zod.js +7 -7
  464. package/dist/compute/v2/generated/validators/launchTemplateVersionListResponseBody.zod.d.ts +1 -1
  465. package/dist/compute/v2/generated/validators/launchTemplateVersionListResponseBody.zod.js +1 -1
  466. package/dist/compute/v2/generated/validators/listAvailabilityZonesParams.zod.d.ts +1 -1
  467. package/dist/compute/v2/generated/validators/listAvailabilityZonesParams.zod.js +3 -3
  468. package/dist/compute/v2/generated/validators/listElasticIpLinesParams.zod.d.ts +1 -1
  469. package/dist/compute/v2/generated/validators/listElasticIpLinesParams.zod.js +3 -3
  470. package/dist/compute/v2/generated/validators/listElasticIpTrafficUsageParams.zod.d.ts +1 -1
  471. package/dist/compute/v2/generated/validators/listElasticIpTrafficUsageParams.zod.js +1 -1
  472. package/dist/compute/v2/generated/validators/listElasticIpsParams.zod.d.ts +1 -1
  473. package/dist/compute/v2/generated/validators/listElasticIpsParams.zod.js +1 -1
  474. package/dist/compute/v2/generated/validators/listInstanceFamiliesParams.zod.d.ts +1 -1
  475. package/dist/compute/v2/generated/validators/listInstanceFamiliesParams.zod.js +3 -3
  476. package/dist/compute/v2/generated/validators/listInstanceNetworkInterfacesParams.zod.d.ts +1 -1
  477. package/dist/compute/v2/generated/validators/listInstanceNetworkInterfacesParams.zod.js +1 -1
  478. package/dist/compute/v2/generated/validators/listInstanceTypesParams.zod.d.ts +1 -1
  479. package/dist/compute/v2/generated/validators/listInstanceTypesParams.zod.js +7 -7
  480. package/dist/compute/v2/generated/validators/listInstanceVolumesParams.zod.d.ts +1 -1
  481. package/dist/compute/v2/generated/validators/listInstanceVolumesParams.zod.js +1 -1
  482. package/dist/compute/v2/generated/validators/listInstancesParams.zod.d.ts +1 -1
  483. package/dist/compute/v2/generated/validators/listInstancesParams.zod.js +1 -1
  484. package/dist/compute/v2/generated/validators/listLaunchTemplateVersionsParams.zod.d.ts +1 -1
  485. package/dist/compute/v2/generated/validators/listLaunchTemplateVersionsParams.zod.js +1 -1
  486. package/dist/compute/v2/generated/validators/listLaunchTemplatesParams.zod.d.ts +1 -1
  487. package/dist/compute/v2/generated/validators/listLaunchTemplatesParams.zod.js +3 -3
  488. package/dist/compute/v2/generated/validators/listNetworkInterfacesParams.zod.d.ts +1 -1
  489. package/dist/compute/v2/generated/validators/listNetworkInterfacesParams.zod.js +1 -1
  490. package/dist/compute/v2/generated/validators/listOperationLogsParams.zod.d.ts +1 -1
  491. package/dist/compute/v2/generated/validators/listOperationLogsParams.zod.js +1 -1
  492. package/dist/compute/v2/generated/validators/listPrivateImagesParams.zod.d.ts +1 -1
  493. package/dist/compute/v2/generated/validators/listPrivateImagesParams.zod.js +3 -3
  494. package/dist/compute/v2/generated/validators/listPublicImagesParams.zod.d.ts +1 -1
  495. package/dist/compute/v2/generated/validators/listPublicImagesParams.zod.js +3 -3
  496. package/dist/compute/v2/generated/validators/listQuotasParams.zod.d.ts +1 -1
  497. package/dist/compute/v2/generated/validators/listQuotasParams.zod.js +1 -1
  498. package/dist/compute/v2/generated/validators/listRegionsParams.zod.d.ts +1 -1
  499. package/dist/compute/v2/generated/validators/listRegionsParams.zod.js +1 -1
  500. package/dist/compute/v2/generated/validators/listSecurityGroupRulesParams.zod.d.ts +1 -1
  501. package/dist/compute/v2/generated/validators/listSecurityGroupRulesParams.zod.js +1 -1
  502. package/dist/compute/v2/generated/validators/listSecurityGroupsParams.zod.d.ts +1 -1
  503. package/dist/compute/v2/generated/validators/listSecurityGroupsParams.zod.js +5 -5
  504. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudPeeringsParams.zod.d.ts +1 -1
  505. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudPeeringsParams.zod.js +1 -1
  506. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudRoutesParams.zod.d.ts +1 -1
  507. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudRoutesParams.zod.js +1 -1
  508. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudSubnetsParams.zod.d.ts +1 -1
  509. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudSubnetsParams.zod.js +1 -1
  510. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudsParams.zod.d.ts +1 -1
  511. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudsParams.zod.js +3 -3
  512. package/dist/compute/v2/generated/validators/listVolumeBackupsParams.zod.d.ts +1 -1
  513. package/dist/compute/v2/generated/validators/listVolumeBackupsParams.zod.js +3 -3
  514. package/dist/compute/v2/generated/validators/listVolumeSnapshotsParams.zod.d.ts +1 -1
  515. package/dist/compute/v2/generated/validators/listVolumeSnapshotsParams.zod.js +3 -3
  516. package/dist/compute/v2/generated/validators/listVolumeTypesParams.zod.d.ts +1 -1
  517. package/dist/compute/v2/generated/validators/listVolumeTypesParams.zod.js +5 -5
  518. package/dist/compute/v2/generated/validators/listVolumesParams.zod.d.ts +1 -1
  519. package/dist/compute/v2/generated/validators/listVolumesParams.zod.js +5 -5
  520. package/dist/compute/v2/generated/validators/money.zod.d.ts +1 -1
  521. package/dist/compute/v2/generated/validators/money.zod.js +1 -1
  522. package/dist/compute/v2/generated/validators/networkInterface.zod.d.ts +1 -1
  523. package/dist/compute/v2/generated/validators/networkInterface.zod.js +7 -7
  524. package/dist/compute/v2/generated/validators/networkInterfaceAddress.zod.d.ts +1 -1
  525. package/dist/compute/v2/generated/validators/networkInterfaceAddress.zod.js +5 -5
  526. package/dist/compute/v2/generated/validators/networkInterfaceAddressAssociationTarget.zod.d.ts +1 -1
  527. package/dist/compute/v2/generated/validators/networkInterfaceAddressAssociationTarget.zod.js +3 -3
  528. package/dist/compute/v2/generated/validators/{regionID.zod.d.ts → networkInterfaceAddressId.zod.d.ts} +7 -7
  529. package/dist/compute/v2/generated/validators/networkInterfaceAddressId.zod.js +44 -0
  530. package/dist/compute/v2/generated/validators/networkInterfaceAttachment.zod.d.ts +1 -1
  531. package/dist/compute/v2/generated/validators/networkInterfaceAttachment.zod.js +7 -7
  532. package/dist/compute/v2/generated/validators/networkInterfaceAttachmentList.zod.d.ts +1 -1
  533. package/dist/compute/v2/generated/validators/networkInterfaceAttachmentList.zod.js +1 -1
  534. package/dist/compute/v2/generated/validators/networkInterfaceId.zod.d.ts +41 -0
  535. package/dist/compute/v2/generated/validators/{networkInterfaceID.zod.js → networkInterfaceId.zod.js} +8 -8
  536. package/dist/compute/v2/generated/validators/networkInterfaceListResponseBody.zod.d.ts +1 -1
  537. package/dist/compute/v2/generated/validators/networkInterfaceListResponseBody.zod.js +1 -1
  538. package/dist/compute/v2/generated/validators/newBootVolume.zod.d.ts +1 -1
  539. package/dist/compute/v2/generated/validators/newBootVolume.zod.js +5 -5
  540. package/dist/compute/v2/generated/validators/newCompute.zod.d.ts +1 -1
  541. package/dist/compute/v2/generated/validators/newCompute.zod.js +3 -3
  542. package/dist/compute/v2/generated/validators/newDataVolume.zod.d.ts +1 -1
  543. package/dist/compute/v2/generated/validators/newDataVolume.zod.js +3 -3
  544. package/dist/compute/v2/generated/validators/{newElasticIP.zod.d.ts → newElasticIp.zod.d.ts} +5 -5
  545. package/dist/compute/v2/generated/validators/{newElasticIP.zod.js → newElasticIp.zod.js} +6 -6
  546. package/dist/compute/v2/generated/validators/newLaunchTemplateVersion.zod.d.ts +1 -1
  547. package/dist/compute/v2/generated/validators/newLaunchTemplateVersion.zod.js +5 -5
  548. package/dist/compute/v2/generated/validators/newPrimaryNetworkInterface.zod.d.ts +1 -1
  549. package/dist/compute/v2/generated/validators/newPrimaryNetworkInterface.zod.js +5 -5
  550. package/dist/compute/v2/generated/validators/offsetPagination.zod.d.ts +1 -1
  551. package/dist/compute/v2/generated/validators/offsetPagination.zod.js +1 -1
  552. package/dist/compute/v2/generated/validators/operationLogId.zod.d.ts +41 -0
  553. package/dist/compute/v2/generated/validators/{operationLogID.zod.js → operationLogId.zod.js} +8 -8
  554. package/dist/compute/v2/generated/validators/operationLogListResponseBody.zod.d.ts +1 -1
  555. package/dist/compute/v2/generated/validators/operationLogListResponseBody.zod.js +1 -1
  556. package/dist/compute/v2/generated/validators/operationLogResource.zod.d.ts +1 -1
  557. package/dist/compute/v2/generated/validators/operationLogResource.zod.js +5 -5
  558. package/dist/compute/v2/generated/validators/passwordChoice.zod.d.ts +1 -1
  559. package/dist/compute/v2/generated/validators/passwordChoice.zod.js +1 -1
  560. package/dist/compute/v2/generated/validators/performanceFormula.zod.d.ts +1 -1
  561. package/dist/compute/v2/generated/validators/performanceFormula.zod.js +1 -1
  562. package/dist/compute/v2/generated/validators/primaryNetworkInterface.zod.d.ts +1 -1
  563. package/dist/compute/v2/generated/validators/primaryNetworkInterface.zod.js +1 -1
  564. package/dist/compute/v2/generated/validators/privateImageListResponseBody.zod.d.ts +3 -1
  565. package/dist/compute/v2/generated/validators/privateImageListResponseBody.zod.js +1 -1
  566. package/dist/compute/v2/generated/validators/privateImageReleaseResource.zod.d.ts +1 -1
  567. package/dist/compute/v2/generated/validators/privateImageReleaseResource.zod.js +3 -3
  568. package/dist/compute/v2/generated/validators/privateImageResource.zod.d.ts +3 -1
  569. package/dist/compute/v2/generated/validators/privateImageResource.zod.js +13 -9
  570. package/dist/compute/v2/generated/validators/projectQuota.zod.d.ts +1 -1
  571. package/dist/compute/v2/generated/validators/projectQuota.zod.js +3 -3
  572. package/dist/compute/v2/generated/validators/projectQuotaListResponseBody.zod.d.ts +1 -1
  573. package/dist/compute/v2/generated/validators/projectQuotaListResponseBody.zod.js +1 -1
  574. package/dist/compute/v2/generated/validators/publicImageListResponseBody.zod.d.ts +1 -1
  575. package/dist/compute/v2/generated/validators/publicImageListResponseBody.zod.js +1 -1
  576. package/dist/compute/v2/generated/validators/publicImageResource.zod.d.ts +1 -1
  577. package/dist/compute/v2/generated/validators/publicImageResource.zod.js +5 -5
  578. package/dist/compute/v2/generated/validators/quotaResourceType.zod.d.ts +1 -1
  579. package/dist/compute/v2/generated/validators/quotaResourceType.zod.js +1 -1
  580. package/dist/compute/v2/generated/validators/quotaSource.zod.d.ts +1 -1
  581. package/dist/compute/v2/generated/validators/quotaSource.zod.js +1 -1
  582. package/dist/compute/v2/generated/validators/rebootInstanceRequestBody.zod.d.ts +1 -1
  583. package/dist/compute/v2/generated/validators/rebootInstanceRequestBody.zod.js +1 -1
  584. package/dist/compute/v2/generated/validators/rebuildInstanceRequestBody.zod.d.ts +1 -1
  585. package/dist/compute/v2/generated/validators/rebuildInstanceRequestBody.zod.js +3 -3
  586. package/dist/compute/v2/generated/validators/rebuildInstanceResponseBody.zod.d.ts +3 -1
  587. package/dist/compute/v2/generated/validators/rebuildInstanceResponseBody.zod.js +1 -1
  588. package/dist/compute/v2/generated/validators/regionId.zod.d.ts +41 -0
  589. package/dist/compute/v2/generated/validators/{regionID.zod.js → regionId.zod.js} +8 -8
  590. package/dist/compute/v2/generated/validators/regionListResponseBody.zod.d.ts +1 -1
  591. package/dist/compute/v2/generated/validators/regionListResponseBody.zod.js +1 -1
  592. package/dist/compute/v2/generated/validators/regionResource.zod.d.ts +1 -1
  593. package/dist/compute/v2/generated/validators/regionResource.zod.js +3 -3
  594. package/dist/compute/v2/generated/validators/releaseResource.zod.d.ts +1 -1
  595. package/dist/compute/v2/generated/validators/releaseResource.zod.js +3 -3
  596. package/dist/compute/v2/generated/validators/releaseSetItem.zod.d.ts +2 -1
  597. package/dist/compute/v2/generated/validators/releaseSetItem.zod.js +4 -3
  598. package/dist/compute/v2/generated/validators/replaceNetworkInterfaceSecurityGroupsRequestBody.zod.d.ts +41 -0
  599. package/dist/compute/v2/generated/validators/replaceNetworkInterfaceSecurityGroupsRequestBody.zod.js +44 -0
  600. package/dist/compute/v2/generated/validators/rescueInstanceResponseBody.zod.d.ts +3 -1
  601. package/dist/compute/v2/generated/validators/rescueInstanceResponseBody.zod.js +1 -1
  602. package/dist/compute/v2/generated/validators/resetInstancePasswordResponseBody.zod.d.ts +1 -1
  603. package/dist/compute/v2/generated/validators/resetInstancePasswordResponseBody.zod.js +1 -1
  604. package/dist/compute/v2/generated/validators/resizeInstanceRequestBody.zod.d.ts +50 -0
  605. package/dist/compute/v2/generated/validators/resizeInstanceRequestBody.zod.js +45 -0
  606. package/dist/compute/v2/generated/validators/{updateInstanceResponseBody.zod.d.ts → resizeInstanceResponseBody.zod.d.ts} +7 -5
  607. package/dist/compute/v2/generated/validators/{availabilityZoneID.zod.js → resizeInstanceResponseBody.zod.js} +14 -10
  608. package/dist/compute/v2/generated/validators/resizeVolumeRequestBody.zod.d.ts +50 -0
  609. package/dist/compute/v2/generated/validators/resizeVolumeRequestBody.zod.js +44 -0
  610. package/dist/compute/v2/generated/validators/retypeVolumeRequestBody.zod.d.ts +50 -0
  611. package/dist/compute/v2/generated/validators/retypeVolumeRequestBody.zod.js +45 -0
  612. package/dist/compute/v2/generated/validators/revertVolumeRequestBody.zod.d.ts +1 -1
  613. package/dist/compute/v2/generated/validators/revertVolumeRequestBody.zod.js +3 -3
  614. package/dist/compute/v2/generated/validators/runInstanceCommandRequestBody.zod.d.ts +1 -1
  615. package/dist/compute/v2/generated/validators/runInstanceCommandRequestBody.zod.js +1 -1
  616. package/dist/compute/v2/generated/validators/runInstanceCommandResponseBody.zod.d.ts +1 -1
  617. package/dist/compute/v2/generated/validators/runInstanceCommandResponseBody.zod.js +1 -1
  618. package/dist/compute/v2/generated/validators/securityGroup.zod.d.ts +1 -1
  619. package/dist/compute/v2/generated/validators/securityGroup.zod.js +5 -5
  620. package/dist/compute/v2/generated/validators/securityGroupId.zod.d.ts +41 -0
  621. package/dist/compute/v2/generated/validators/{securityGroupID.zod.js → securityGroupId.zod.js} +8 -8
  622. package/dist/compute/v2/generated/validators/securityGroupIdOrWildcard.zod.d.ts +39 -0
  623. package/dist/compute/v2/generated/validators/{securityGroupIDOrWildcard.zod.js → securityGroupIdOrWildcard.zod.js} +4 -4
  624. package/dist/compute/v2/generated/validators/securityGroupListResponseBody.zod.d.ts +1 -1
  625. package/dist/compute/v2/generated/validators/securityGroupListResponseBody.zod.js +1 -1
  626. package/dist/compute/v2/generated/validators/securityGroupRule.zod.d.ts +1 -1
  627. package/dist/compute/v2/generated/validators/securityGroupRule.zod.js +5 -5
  628. package/dist/compute/v2/generated/validators/securityGroupRuleDirection.zod.d.ts +1 -1
  629. package/dist/compute/v2/generated/validators/securityGroupRuleDirection.zod.js +1 -1
  630. package/dist/compute/v2/generated/validators/securityGroupRuleId.zod.d.ts +41 -0
  631. package/dist/compute/v2/generated/validators/securityGroupRuleId.zod.js +44 -0
  632. package/dist/compute/v2/generated/validators/securityGroupRuleListResponseBody.zod.d.ts +1 -1
  633. package/dist/compute/v2/generated/validators/securityGroupRuleListResponseBody.zod.js +1 -1
  634. package/dist/compute/v2/generated/validators/subnetId.zod.d.ts +41 -0
  635. package/dist/compute/v2/generated/validators/{subnetID.zod.js → subnetId.zod.js} +8 -8
  636. package/dist/compute/v2/generated/validators/suppliedPassword.zod.d.ts +1 -1
  637. package/dist/compute/v2/generated/validators/suppliedPassword.zod.js +1 -1
  638. package/dist/compute/v2/generated/validators/terminationPolicy.zod.d.ts +1 -1
  639. package/dist/compute/v2/generated/validators/terminationPolicy.zod.js +1 -1
  640. package/dist/compute/v2/generated/validators/trafficUsage.zod.d.ts +1 -1
  641. package/dist/compute/v2/generated/validators/trafficUsage.zod.js +1 -1
  642. package/dist/compute/v2/generated/validators/trafficUsageListResponseBody.zod.d.ts +1 -1
  643. package/dist/compute/v2/generated/validators/trafficUsageListResponseBody.zod.js +1 -1
  644. package/dist/compute/v2/generated/validators/updateInstanceRequestBody.zod.d.ts +1 -11
  645. package/dist/compute/v2/generated/validators/updateInstanceRequestBody.zod.js +2 -10
  646. package/dist/compute/v2/generated/validators/updateLaunchTemplateRequestBody.zod.d.ts +1 -1
  647. package/dist/compute/v2/generated/validators/updateLaunchTemplateRequestBody.zod.js +1 -1
  648. package/dist/compute/v2/generated/validators/updateNetworkInterfaceRequestBody.zod.d.ts +1 -3
  649. package/dist/compute/v2/generated/validators/updateNetworkInterfaceRequestBody.zod.js +2 -10
  650. package/dist/compute/v2/generated/validators/updatePrivateImageRequestBody.zod.d.ts +1 -1
  651. package/dist/compute/v2/generated/validators/updatePrivateImageRequestBody.zod.js +1 -1
  652. package/dist/compute/v2/generated/validators/updateSecurityGroupRequestBody.zod.d.ts +1 -1
  653. package/dist/compute/v2/generated/validators/updateSecurityGroupRequestBody.zod.js +1 -1
  654. package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudRequestBody.zod.d.ts +1 -1
  655. package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudRequestBody.zod.js +1 -1
  656. package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudSubnetRequestBody.zod.d.ts +1 -1
  657. package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudSubnetRequestBody.zod.js +1 -1
  658. package/dist/compute/v2/generated/validators/updateVolumeBackupRequestBody.zod.d.ts +1 -1
  659. package/dist/compute/v2/generated/validators/updateVolumeBackupRequestBody.zod.js +1 -1
  660. package/dist/compute/v2/generated/validators/updateVolumeRequestBody.zod.d.ts +1 -12
  661. package/dist/compute/v2/generated/validators/updateVolumeRequestBody.zod.js +2 -15
  662. package/dist/compute/v2/generated/validators/updateVolumeSnapshotRequestBody.zod.d.ts +1 -1
  663. package/dist/compute/v2/generated/validators/updateVolumeSnapshotRequestBody.zod.js +1 -1
  664. package/dist/compute/v2/generated/validators/virtualPrivateCloud.zod.d.ts +1 -1
  665. package/dist/compute/v2/generated/validators/virtualPrivateCloud.zod.js +5 -5
  666. package/dist/compute/v2/generated/validators/virtualPrivateCloudId.zod.d.ts +41 -0
  667. package/dist/compute/v2/generated/validators/virtualPrivateCloudId.zod.js +44 -0
  668. package/dist/compute/v2/generated/validators/virtualPrivateCloudIdOrWildcard.zod.d.ts +39 -0
  669. package/dist/compute/v2/generated/validators/{virtualPrivateCloudIDOrWildcard.zod.js → virtualPrivateCloudIdOrWildcard.zod.js} +4 -4
  670. package/dist/compute/v2/generated/validators/virtualPrivateCloudListResponseBody.zod.d.ts +1 -1
  671. package/dist/compute/v2/generated/validators/virtualPrivateCloudListResponseBody.zod.js +1 -1
  672. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringId.zod.d.ts +41 -0
  673. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringId.zod.js +44 -0
  674. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringListResponseBody.zod.d.ts +1 -1
  675. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringListResponseBody.zod.js +1 -1
  676. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringResource.zod.d.ts +1 -1
  677. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringResource.zod.js +8 -8
  678. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteId.zod.d.ts +41 -0
  679. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteId.zod.js +44 -0
  680. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteListResponseBody.zod.d.ts +1 -1
  681. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteListResponseBody.zod.js +1 -1
  682. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteResource.zod.d.ts +1 -1
  683. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteResource.zod.js +7 -7
  684. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteType.zod.d.ts +1 -1
  685. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteType.zod.js +1 -1
  686. package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnet.zod.d.ts +1 -1
  687. package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnet.zod.js +5 -5
  688. package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnetListResponseBody.zod.d.ts +1 -1
  689. package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnetListResponseBody.zod.js +1 -1
  690. package/dist/compute/v2/generated/validators/volumeAttachment.zod.d.ts +1 -1
  691. package/dist/compute/v2/generated/validators/volumeAttachment.zod.js +7 -7
  692. package/dist/compute/v2/generated/validators/volumeAttachmentList.zod.d.ts +1 -1
  693. package/dist/compute/v2/generated/validators/volumeAttachmentList.zod.js +1 -1
  694. package/dist/compute/v2/generated/validators/volumeBackupId.zod.d.ts +41 -0
  695. package/dist/compute/v2/generated/validators/{volumeBackupID.zod.js → volumeBackupId.zod.js} +8 -8
  696. package/dist/compute/v2/generated/validators/volumeBackupListResponseBody.zod.d.ts +3 -1
  697. package/dist/compute/v2/generated/validators/volumeBackupListResponseBody.zod.js +1 -1
  698. package/dist/compute/v2/generated/validators/volumeBackupReleaseResource.zod.d.ts +1 -1
  699. package/dist/compute/v2/generated/validators/volumeBackupReleaseResource.zod.js +3 -3
  700. package/dist/compute/v2/generated/validators/volumeBackupResource.zod.d.ts +3 -1
  701. package/dist/compute/v2/generated/validators/volumeBackupResource.zod.js +15 -11
  702. package/dist/compute/v2/generated/validators/{updateVolumeResponseBody.zod.d.ts → volumeChangeResponseBody.zod.d.ts} +7 -5
  703. package/dist/compute/v2/generated/validators/{availabilityZoneID.zod.d.ts → volumeChangeResponseBody.zod.js} +14 -7
  704. package/dist/compute/v2/generated/validators/volumeId.zod.d.ts +41 -0
  705. package/dist/compute/v2/generated/validators/{volumeID.zod.js → volumeId.zod.js} +8 -8
  706. package/dist/compute/v2/generated/validators/volumeListResponseBody.zod.d.ts +3 -1
  707. package/dist/compute/v2/generated/validators/volumeListResponseBody.zod.js +1 -1
  708. package/dist/compute/v2/generated/validators/volumePerformance.zod.d.ts +1 -1
  709. package/dist/compute/v2/generated/validators/volumePerformance.zod.js +1 -1
  710. package/dist/compute/v2/generated/validators/volumeReleaseResource.zod.d.ts +1 -1
  711. package/dist/compute/v2/generated/validators/volumeReleaseResource.zod.js +3 -3
  712. package/dist/compute/v2/generated/validators/volumeResource.zod.d.ts +3 -1
  713. package/dist/compute/v2/generated/validators/volumeResource.zod.js +15 -11
  714. package/dist/compute/v2/generated/validators/volumeSnapshotId.zod.d.ts +41 -0
  715. package/dist/compute/v2/generated/validators/{volumeSnapshotID.zod.js → volumeSnapshotId.zod.js} +8 -8
  716. package/dist/compute/v2/generated/validators/volumeSnapshotListResponseBody.zod.d.ts +3 -1
  717. package/dist/compute/v2/generated/validators/volumeSnapshotListResponseBody.zod.js +1 -1
  718. package/dist/compute/v2/generated/validators/volumeSnapshotReleaseResource.zod.d.ts +1 -1
  719. package/dist/compute/v2/generated/validators/volumeSnapshotReleaseResource.zod.js +3 -3
  720. package/dist/compute/v2/generated/validators/volumeSnapshotResource.zod.d.ts +3 -1
  721. package/dist/compute/v2/generated/validators/volumeSnapshotResource.zod.js +15 -11
  722. package/dist/compute/v2/generated/validators/volumeTypeId.zod.d.ts +41 -0
  723. package/dist/compute/v2/generated/validators/{volumeTypeID.zod.js → volumeTypeId.zod.js} +8 -8
  724. package/dist/compute/v2/generated/validators/volumeTypeListResponseBody.zod.d.ts +1 -1
  725. package/dist/compute/v2/generated/validators/volumeTypeListResponseBody.zod.js +1 -1
  726. package/dist/compute/v2/generated/validators/volumeTypePerformance.zod.d.ts +1 -1
  727. package/dist/compute/v2/generated/validators/volumeTypePerformance.zod.js +1 -1
  728. package/dist/compute/v2/generated/validators/volumeTypeResource.zod.d.ts +1 -1
  729. package/dist/compute/v2/generated/validators/volumeTypeResource.zod.js +7 -7
  730. package/dist/membership/v1/generated/models.d.ts +5 -0
  731. package/dist/membership/v1/generated/schemas.zod.d.ts +2 -0
  732. package/dist/membership/v1/generated/validators/checkoutOptions.zod.d.ts +2 -0
  733. package/dist/membership/v1/generated/validators/checkoutOptions.zod.js +5 -0
  734. package/dist/membership/v1/generated/validators/membershipCreate.zod.d.ts +1 -0
  735. package/dist/membership/v1/generated/validators/membershipUpgrade.zod.d.ts +1 -0
  736. package/dist/routes.d.ts +59 -35
  737. package/dist/routes.js +65 -38
  738. package/package.json +1 -1
  739. package/dist/canopy/v1/generated/validators/endpointCapabilities.zod.d.ts +0 -100
  740. package/dist/canopy/v1/generated/validators/endpointCapabilities.zod.js +0 -67
  741. package/dist/canopy/v1/generated/validators/modelEndpoint.zod.d.ts +0 -69
  742. package/dist/canopy/v1/generated/validators/modelEndpoint.zod.js +0 -67
  743. package/dist/canopy/v1/generated/validators/responseDeleted.zod.d.ts +0 -48
  744. package/dist/canopy/v1/generated/validators/responseDeleted.zod.js +0 -46
  745. package/dist/compute/v2/generated/validators/elasticIPAssociationID.zod.d.ts +0 -41
  746. package/dist/compute/v2/generated/validators/elasticIPAssociationID.zod.js +0 -44
  747. package/dist/compute/v2/generated/validators/elasticIPID.zod.d.ts +0 -41
  748. package/dist/compute/v2/generated/validators/elasticIPLineID.zod.d.ts +0 -41
  749. package/dist/compute/v2/generated/validators/elasticIPLineID.zod.js +0 -44
  750. package/dist/compute/v2/generated/validators/iPv4HostAddress.zod.d.ts +0 -41
  751. package/dist/compute/v2/generated/validators/instanceFamilyID.zod.d.ts +0 -41
  752. package/dist/compute/v2/generated/validators/instanceID.zod.d.ts +0 -41
  753. package/dist/compute/v2/generated/validators/instanceNetworkInterfaceID.zod.d.ts +0 -41
  754. package/dist/compute/v2/generated/validators/instanceNetworkInterfaceID.zod.js +0 -44
  755. package/dist/compute/v2/generated/validators/instanceTypeID.zod.d.ts +0 -41
  756. package/dist/compute/v2/generated/validators/instanceVolumeID.zod.d.ts +0 -41
  757. package/dist/compute/v2/generated/validators/launchTemplateID.zod.d.ts +0 -41
  758. package/dist/compute/v2/generated/validators/networkInterfaceAddressID.zod.d.ts +0 -41
  759. package/dist/compute/v2/generated/validators/networkInterfaceAddressID.zod.js +0 -44
  760. package/dist/compute/v2/generated/validators/networkInterfaceID.zod.d.ts +0 -41
  761. package/dist/compute/v2/generated/validators/operationLogID.zod.d.ts +0 -41
  762. package/dist/compute/v2/generated/validators/securityGroupID.zod.d.ts +0 -41
  763. package/dist/compute/v2/generated/validators/securityGroupIDOrWildcard.zod.d.ts +0 -39
  764. package/dist/compute/v2/generated/validators/securityGroupRuleID.zod.d.ts +0 -41
  765. package/dist/compute/v2/generated/validators/securityGroupRuleID.zod.js +0 -44
  766. package/dist/compute/v2/generated/validators/subnetID.zod.d.ts +0 -41
  767. package/dist/compute/v2/generated/validators/updateElasticIPRequestBody.zod.js +0 -48
  768. package/dist/compute/v2/generated/validators/updateElasticIPResponseBody.zod.js +0 -49
  769. package/dist/compute/v2/generated/validators/updateInstanceResponseBody.zod.js +0 -49
  770. package/dist/compute/v2/generated/validators/updateVolumeResponseBody.zod.js +0 -49
  771. package/dist/compute/v2/generated/validators/virtualPrivateCloudID.zod.d.ts +0 -41
  772. package/dist/compute/v2/generated/validators/virtualPrivateCloudID.zod.js +0 -44
  773. package/dist/compute/v2/generated/validators/virtualPrivateCloudIDOrWildcard.zod.d.ts +0 -39
  774. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringID.zod.d.ts +0 -41
  775. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringID.zod.js +0 -44
  776. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteID.zod.d.ts +0 -41
  777. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteID.zod.js +0 -44
  778. package/dist/compute/v2/generated/validators/volumeBackupID.zod.d.ts +0 -41
  779. package/dist/compute/v2/generated/validators/volumeID.zod.d.ts +0 -41
  780. package/dist/compute/v2/generated/validators/volumeSnapshotID.zod.d.ts +0 -41
  781. package/dist/compute/v2/generated/validators/volumeTypeID.zod.d.ts +0 -41
@@ -8,7 +8,6 @@
8
8
  import * as zod from "zod";
9
9
  import { ActiveResourceStatus } from "./validators/activeResourceStatus.zod.js";
10
10
  import { AllowanceStatus } from "./validators/allowanceStatus.zod.js";
11
- import { AutoRenewSet } from "./validators/autoRenewSet.zod.js";
12
11
  import { BillingAccountCreate } from "./validators/billingAccountCreate.zod.js";
13
12
  import { BillingAccountStatus } from "./validators/billingAccountStatus.zod.js";
14
13
  import { BillingAccountUpdate } from "./validators/billingAccountUpdate.zod.js";
@@ -34,6 +33,7 @@ import { RenewRequest } from "./validators/renewRequest.zod.js";
34
33
  import { SetProjectAssignmentRequest } from "./validators/setProjectAssignmentRequest.zod.js";
35
34
  import { StatementStatus } from "./validators/statementStatus.zod.js";
36
35
  import { SubscriptionStatus } from "./validators/subscriptionStatus.zod.js";
36
+ import { SubscriptionUpdate } from "./validators/subscriptionUpdate.zod.js";
37
37
  import { TopUpCreate } from "./validators/topUpCreate.zod.js";
38
38
  import { TopUpStatus } from "./validators/topUpStatus.zod.js";
39
39
  import { TransactionStatus } from "./validators/transactionStatus.zod.js";
@@ -861,17 +861,24 @@ export const ListUsageChargesQueryParams = zod.strictObject({
861
861
  statement_id: zod.uuid().optional(),
862
862
  });
863
863
  /**
864
- * Subscriptions paid by your billing accounts; members of a project list its subscriptions with `project_ids`. Deleted subscriptions are not listed.
864
+ * Subscriptions paid by your billing accounts; members of a project list its subscriptions with `project_ids`. Each subscription includes its items. Deleted subscriptions are not listed.
865
865
  * @summary List subscriptions
866
866
  */
867
+ export const listSubscriptionsQuerySubscriptionIdsMax = 200;
867
868
  export const listSubscriptionsQueryPageDefault = 1;
868
869
  export const listSubscriptionsQueryPageMax = 2147483647;
869
870
  export const listSubscriptionsQueryPageSizeDefault = 50;
870
871
  export const listSubscriptionsQueryPageSizeMax = 200;
871
872
  export const listSubscriptionsQueryProjectIdsMax = 100;
872
- export const listSubscriptionsQueryStatusMax = 6;
873
+ export const listSubscriptionsQueryStatusMax = 7;
873
874
  export const ListSubscriptionsQueryParams = zod.strictObject({
874
875
  expiring_before: zod.iso.datetime({ offset: true }).optional(),
876
+ subscription_ids: zod
877
+ .array(zod.uuid())
878
+ .min(1)
879
+ .max(listSubscriptionsQuerySubscriptionIdsMax)
880
+ .optional()
881
+ .describe("Only these subscriptions, such as those of the resources shown on one page. Comma-separated."),
875
882
  page: zod
876
883
  .int()
877
884
  .min(1)
@@ -902,30 +909,47 @@ export const ListSubscriptionsQueryParams = zod.strictObject({
902
909
  .describe("Only subscriptions in these statuses; omit for every status. Comma-separated, for example `status=active,suspended`."),
903
910
  });
904
911
  /**
905
- * A subscription paid by your billing account or of a project you are a member of. Deleted subscriptions are reported as not found.
912
+ * A subscription paid by your billing account or of a project you are a member of, with its items. Deleted subscriptions are reported as not found.
906
913
  * @summary Get subscription
907
914
  */
908
915
  export const GetSubscriptionParams = zod.strictObject({
909
916
  subscriptionId: zod.uuid(),
910
917
  });
911
918
  /**
912
- * Hides a canceled or terminated subscription from your subscription list and detail by setting deleted_at; its status, ended_at and history are kept. Only the owner of the subscription's current billing account can delete it. A subscription that has not ended is refused with 409 `BILLING_SUBSCRIPTION_NOT_ENDED` and `status`. Repeating it keeps the original deleted_at. It sends no cleanup command and creates no refund.
919
+ * Changes the subscription's settings given in the request; settings left out keep their values. `auto_renew`
920
+ * turns automatic renewal on or off for the whole subscription, or, on a trialing subscription, whether the trial
921
+ * converts to paid. Turning it off does not shorten current_term_end and still allows manual renewal.
922
+ *
923
+ * `auto_renew` is refused with 409 `BILLING_SUBSCRIPTION_AUTO_RENEW_INACTIVE` for a pending or provisioning
924
+ * subscription, 409 `BILLING_SUBSCRIPTION_AUTO_RENEW_FIXED` for a subscription with only metered items, which
925
+ * continues until it is canceled, and 409 `BILLING_SUBSCRIPTION_OPERATION_PENDING` with `meta.cancellation_id`
926
+ * while a cancellation of the whole subscription is open: creating it turned renewal off, and withdrawing it does
927
+ * not turn renewal back on. Open to the owner of the subscription's current billing account and to members of its
928
+ * project with the project permission `billing:finance.manage`.
929
+ * @summary Update subscription
930
+ */
931
+ export const UpdateSubscriptionParams = zod.strictObject({
932
+ subscriptionId: zod.uuid(),
933
+ });
934
+ export const UpdateSubscriptionBody = SubscriptionUpdate;
935
+ /**
936
+ * Hides a canceled or terminated subscription from your subscription list and detail by setting deleted_at; its status, ended_at, items and history are kept. Only the owner of the subscription's current billing account can delete it. A subscription that has not ended is refused with 409 `BILLING_SUBSCRIPTION_NOT_ENDED` and `status`. Repeating it keeps the original deleted_at. It sends no cleanup command and creates no refund.
913
937
  * @summary Delete subscription
914
938
  */
915
939
  export const DeleteSubscriptionParams = zod.strictObject({
916
940
  subscriptionId: zod.uuid(),
917
941
  });
918
942
  /**
919
- * Requests cancellation on the purchase's agreed terms, with the same rules as creating a cancellation. Give the
920
- * `proration_date` and `refundable_amount` of preview-cancellation for this subscription. Open to the owner of the
921
- * subscription's current billing account and to members of its project with the project permission
922
- * `billing:finance.manage`.
943
+ * Requests cancellation of every continuing item of the subscription on their agreed terms, with the same rules
944
+ * as creating a cancellation. Give the `proration_date` and `refundable_amount` of preview-cancellation for these
945
+ * items. Open to the owner of the subscription's current billing account and to members of its project with the
946
+ * project permission `billing:finance.manage`.
923
947
  *
924
948
  * Immediate cancellation asks the owning service to release the resources now; period-end cancellation keeps the
925
- * subscription active or suspended until the paid term ends. The subscription becomes canceled when the service
926
- * confirms the release; follow the returned cancellation. Subscriptions released together must be canceled
927
- * together through create-cancellation, and pending or provisioning purchases through their order. Repeating the
928
- * request while the cancellation is open returns it.
949
+ * subscription in service until its current term ends. The subscription becomes canceled when the service
950
+ * confirms the release; follow the returned cancellation. To cancel some items, or items released together across
951
+ * subscriptions, use create-cancellation; pending or provisioning purchases are canceled through their order.
952
+ * Repeating the request while the cancellation is open returns it.
929
953
  * @summary Cancel subscription
930
954
  */
931
955
  export const CancelSubscriptionParams = zod.strictObject({
@@ -933,7 +957,7 @@ export const CancelSubscriptionParams = zod.strictObject({
933
957
  });
934
958
  export const CancelSubscriptionBody = CancelSubscriptionRequest;
935
959
  /**
936
- * Newest first; members of a project list its cancellations with `project_ids`. Filter by `subscription_id` and `status=open` to find a subscription's cancellation in progress.
960
+ * Newest first; members of a project list its cancellations with `project_ids`. Filter by `subscription_item_id` and `status=open` to find an item's cancellation in progress, or by `subscription_id` for every item of a subscription.
937
961
  * @summary List cancellations
938
962
  */
939
963
  export const listCancellationsQueryPageDefault = 1;
@@ -962,7 +986,11 @@ export const ListCancellationsQueryParams = zod.strictObject({
962
986
  subscription_id: zod
963
987
  .uuid()
964
988
  .optional()
965
- .describe("Only cancellations that include this subscription."),
989
+ .describe("Only cancellations that include an item of this subscription."),
990
+ subscription_item_id: zod
991
+ .uuid()
992
+ .optional()
993
+ .describe("Only cancellations that include this subscription item."),
966
994
  status: zod
967
995
  .array(zod.enum(["open", "requested", "scheduled", "releasing", "completed", "canceled", "failed"]))
968
996
  .min(1)
@@ -977,88 +1005,93 @@ export const ListCancellationsQueryParams = zod.strictObject({
977
1005
  .describe("Only records of these projects. Omit for all projects and account-level records of your billing accounts. Where an operation is open to project members, each project must be assigned to a billing account you own or have you as a member, and a member sees the records of the project that the owner of its current billing account sees."),
978
1006
  });
979
1007
  /**
980
- * Ends subscriptions of one service together. Deleting a resource is an `immediate` cancellation of every
981
- * subscription released with it, such as a server with its disks or an address with its bandwidth. Open to the
982
- * owner of the subscriptions' current billing account and to members of their project with the project
983
- * permission `billing:finance.manage`.
1008
+ * Ends subscription items of one service together, from one subscription or several. Deleting a resource is an
1009
+ * `immediate` cancellation of every item released with it, such as a server with its disks or an address with
1010
+ * its bandwidth. Open to the owner of the items' current billing account and to members of their project with
1011
+ * the project permission `billing:finance.manage`.
984
1012
  *
985
- * The owning service releases the resources at once for `immediate`, or at `scheduled_at`, the end of the paid
986
- * term, for `period_end`. When release is confirmed, the unused value is returned to the original payment
987
- * sources under each subscription's refund terms. For `immediate` the refund is computed as of `proration_date`
988
- * and is not reduced by service used during release. Metered usage is charged until release.
1013
+ * The owning service releases the resources at once for `immediate`, or at `scheduled_at`, the end of the
1014
+ * subscription's current term, for `period_end`; until then the items are left out of renewals. When release is
1015
+ * confirmed, the unused value is returned to the original payment sources under each item's refund terms. For
1016
+ * `immediate` the refund is computed as of `proration_date` and is not reduced by service used during release.
1017
+ * Metered usage is charged until release. A subscription whose continuing items all end is canceled.
989
1018
  *
990
- * `mode` must be allowed for every subscription. Metered and one-time subscriptions end only `immediate`. A
991
- * licensed subscription ends `period_end` while its paid term lasts, and `immediate` unless its terms allow only
992
- * the end of the paid term and that term has not ended. For `period_end` all paid terms must end at the same
1019
+ * `mode` must be allowed for every item. Metered and one-time items end only `immediate`. A licensed item ends
1020
+ * `period_end` while its subscription's paid term lasts, and `immediate` unless its terms allow only the end of
1021
+ * the paid term and that term has not ended. For `period_end` the paid terms of all items must end at the same
993
1022
  * time.
994
1023
  *
995
1024
  * Refused with:
996
1025
  *
997
- * - 400 `BILLING_CANCELLATION_INVALID` when `subscription_ids` or `proration_date` is invalid (`meta.field`), or
998
- * the subscriptions do not share one service, project, account and currency;
999
- * - 409 `BILLING_CANCELLATION_CONFLICT` when a subscription has not started or has ended;
1026
+ * - 400 `BILLING_CANCELLATION_INVALID` when `items` or `proration_date` is invalid (`meta.field`), or the items
1027
+ * do not share one service, project, account and currency;
1028
+ * - 409 `BILLING_CANCELLATION_CONFLICT` when an item has not started or has ended;
1000
1029
  * - 422 `BILLING_CANCELLATION_MODE_FIXED` when `mode` is not allowed, and `BILLING_CANCELLATION_TERMS_UNSET`
1001
- * when a licensed subscription has no cancellation terms, both with `meta.subscription_id`;
1030
+ * when a licensed item has no cancellation terms, both with `meta.subscription_item_id`;
1002
1031
  * - 409 `BILLING_CANCELLATION_SCHEDULES_DIFFER` when, for `period_end`, the paid terms end at different times;
1003
- * - 409 `BILLING_SUBSCRIPTION_OPERATION_PENDING` when a subscription is already being canceled
1004
- * (`meta.cancellation_id`) or reclaimed (`meta.reason` `reclaim_requested`), or has a paid change waiting to
1005
- * switch (`meta.order_id`);
1006
- * - 409 `BILLING_ORDER_PAYMENT_IN_FLIGHT` while an online renewal payment for one of them is in progress;
1032
+ * - 409 `BILLING_SUBSCRIPTION_OPERATION_PENDING` when an item is already being canceled
1033
+ * (`meta.cancellation_id`), its subscription is being reclaimed (`meta.reason` `reclaim_requested`), or the
1034
+ * item has a paid change waiting to switch (`meta.order_id`);
1035
+ * - 409 `BILLING_ORDER_PAYMENT_IN_FLIGHT` while an online renewal payment for one of their subscriptions is in
1036
+ * progress;
1007
1037
  * - 409 `BILLING_CANCELLATION_REFUND_CHANGED` when the refund no longer equals `expected_refundable_amount`.
1008
1038
  *
1009
- * Repeating the request for the same subscriptions, mode and amount while the cancellation is open returns it
1010
- * with 200. Unpaid renewal orders are canceled with it, and automatic renewal is turned off for every
1011
- * subscription.
1012
- * @summary Cancel subscriptions
1039
+ * Repeating the request for the same items, mode and amount while the cancellation is open returns it with 200.
1040
+ * When it covers every continuing item of a subscription, unpaid renewal orders of that subscription are
1041
+ * canceled with it and its automatic renewal is turned off.
1042
+ * @summary Cancel subscription items
1013
1043
  */
1014
1044
  export const CreateCancellationBody = CancellationCreate;
1015
1045
  /**
1016
- * A cancellation paid by your billing account or of a project you are a member of, with its schedule, expected refundable amount and the outcome for each subscription, including partial success.
1046
+ * A cancellation paid by your billing account or of a project you are a member of, with its schedule, expected refundable amount and the outcome for each item, including partial success.
1017
1047
  * @summary Get a cancellation
1018
1048
  */
1019
1049
  export const GetCancellationParams = zod.strictObject({
1020
1050
  cancellationId: zod.uuid(),
1021
1051
  });
1022
1052
  /**
1023
- * Withdraws the whole cancellation, which stays with status `canceled`, while no resource has begun to be released; afterwards it is refused with 409 `BILLING_CANCELLATION_CONFLICT`. The subscriptions continue, but automatic renewal, turned off when the cancellation was created, stays off until it is turned on again. Withdrawing a withdrawn cancellation returns it unchanged. Open to the owner of the subscriptions' current billing account and to members of their project with the project permission `billing:finance.manage`.
1053
+ * Withdraws the whole cancellation, which stays with status `canceled`, while no resource has begun to be released; afterwards it is refused with 409 `BILLING_CANCELLATION_CONFLICT`. The items continue and renew with their subscriptions again; a subscription's automatic renewal, turned off when the cancellation covered all of its continuing items, stays off until it is turned on again. Withdrawing a withdrawn cancellation returns it unchanged. Open to the owner of the items' current billing account and to members of their project with the project permission `billing:finance.manage`.
1024
1054
  * @summary Withdraw a cancellation
1025
1055
  */
1026
- export const WithdrawCancellationParams = zod.strictObject({
1056
+ export const DeleteCancellationParams = zod.strictObject({
1027
1057
  cancellationId: zod.uuid(),
1028
1058
  });
1029
1059
  /**
1030
- * Lists the current renewal agreement and available intervals. The current option preserves recurring_amount; other options use current prices. Amounts cover the whole subscription quantity and exclude tax. Open to the owner of the subscription's current billing account and to members of its project.
1031
- * @summary List the terms this item can be renewed for
1060
+ * The current agreement first, then each other term every continuing licensed item sells in the subscription's currency. The current option keeps each item's recurring_amount; other options use current prices, each item taking the price of that term with its own cancellation policy, or the only price of that term. Amounts exclude tax and discounts. Open to the owner of the subscription's current billing account and to members of its project.
1061
+ * @summary List the terms the subscription can be renewed for
1032
1062
  */
1033
- export const ListRenewalPricesParams = zod.strictObject({
1063
+ export const ListRenewalOptionsParams = zod.strictObject({
1034
1064
  subscriptionId: zod.uuid(),
1035
1065
  });
1036
- export const listRenewalPricesQueryPageDefault = 1;
1037
- export const listRenewalPricesQueryPageMax = 2147483647;
1038
- export const listRenewalPricesQueryPageSizeDefault = 50;
1039
- export const listRenewalPricesQueryPageSizeMax = 200;
1040
- export const ListRenewalPricesQueryParams = zod.strictObject({
1066
+ export const listRenewalOptionsQueryPageDefault = 1;
1067
+ export const listRenewalOptionsQueryPageMax = 2147483647;
1068
+ export const listRenewalOptionsQueryPageSizeDefault = 50;
1069
+ export const listRenewalOptionsQueryPageSizeMax = 200;
1070
+ export const ListRenewalOptionsQueryParams = zod.strictObject({
1041
1071
  page: zod
1042
1072
  .int()
1043
1073
  .min(1)
1044
- .max(listRenewalPricesQueryPageMax)
1045
- .default(listRenewalPricesQueryPageDefault)
1074
+ .max(listRenewalOptionsQueryPageMax)
1075
+ .default(listRenewalOptionsQueryPageDefault)
1046
1076
  .describe("1-based page number. Defaults to 1."),
1047
1077
  page_size: zod
1048
1078
  .int()
1049
1079
  .min(1)
1050
- .max(listRenewalPricesQueryPageSizeMax)
1051
- .default(listRenewalPricesQueryPageSizeDefault)
1080
+ .max(listRenewalOptionsQueryPageSizeMax)
1081
+ .default(listRenewalOptionsQueryPageSizeDefault)
1052
1082
  .describe("Items per page. Defaults to 50; at most 200."),
1053
1083
  });
1054
1084
  /**
1055
- * Buys licensed periods from current_term_end at the agreed recurring amount and pays for them at once. A
1056
- * different interval selects the price currently sold for it and fixes new terms on the order, applied after
1057
- * fulfillment. Paid periods keep their value.
1085
+ * Buys further periods for the whole subscription from current_term_end and pays for them at once: every
1086
+ * continuing licensed item renews, at its agreed recurring amount or, with a different interval, at the price each
1087
+ * item currently sells that term for, and the new terms are fixed on the order. Items with an open cancellation end
1088
+ * with the current term and are left out. Paid periods keep their value. A trialing subscription converts to paid
1089
+ * this way; renewed after its trial expired, its first paid period starts at payment.
1058
1090
  *
1059
1091
  * Without `payment_method_id`, the renewal is paid from credit grants and balance as `use_credits` and
1060
1092
  * `use_balance` allow; when they cannot cover it, the request fails with `BILLING_INSUFFICIENT_FUNDS` and no
1061
- * order is left. To apply a promotion code or pay later, create a renewal Checkout Session.
1093
+ * order is left. To apply a promotion code, pay later, or renew several subscriptions in one order, create a
1094
+ * renewal Checkout Session.
1062
1095
  *
1063
1096
  * Open to the owner of the subscription's current billing account and to members of its project with the
1064
1097
  * project permission `billing:finance.manage`. Only the owner can pay with `payment_method_id`.
@@ -1070,14 +1103,6 @@ export const RenewSubscriptionParams = zod.strictObject({
1070
1103
  subscriptionId: zod.uuid(),
1071
1104
  });
1072
1105
  export const RenewSubscriptionBody = RenewRequest;
1073
- /**
1074
- * Turns automatic renewal of an active or suspended licensed subscription on or off. Turning it off does not shorten current_term_end and still allows manual renewal. Refused with 409 `BILLING_SUBSCRIPTION_AUTO_RENEW_INACTIVE` for a pending or provisioning subscription, 409 `BILLING_SUBSCRIPTION_AUTO_RENEW_FIXED` for a metered subscription, which continues until it is canceled, and 409 `BILLING_SUBSCRIPTION_OPERATION_PENDING` with `meta.cancellation_id` while a cancellation is open: creating it turned renewal off, and withdrawing it does not turn renewal back on. Open to the owner of the subscription's current billing account and to members of its project with the project permission `billing:finance.manage`.
1075
- * @summary Set auto renew
1076
- */
1077
- export const SetAutoRenewParams = zod.strictObject({
1078
- subscriptionId: zod.uuid(),
1079
- });
1080
- export const SetAutoRenewBody = AutoRenewSet;
1081
1106
  /**
1082
1107
  * Remaining usage quantities, such as bytes, seconds or tokens; members of a project list its allowances with `project_ids`. Applicable allowances are consumed before usage is charged: lower priority values first, then earlier expiry, then earlier issuance. Unused quantity expires without refund or carry-over. Promotional allowances apply to usage paid by their holding account; included allowances apply only to their subscription, also after its project moves to another billing account.
1083
1108
  * @summary List allowances
@@ -1169,13 +1194,14 @@ export const ListCheckoutSessionsQueryParams = zod.strictObject({
1169
1194
  .describe("Only records of these projects. Omit for all projects and account-level records of your billing accounts. Where an operation is open to project members, each project must be assigned to a billing account you own or have you as a member, and a member sees the records of the project that the owner of its current billing account sees."),
1170
1195
  });
1171
1196
  /**
1172
- * Opens a Checkout Session renewing a licensed subscription, with periods and price chosen as in
1173
- * renewing. Nothing is charged until you complete it, when a promotion code can be applied; it then renews from
1174
- * the subscription's current_term_end at that time. To renew at once from credit grants, balance or a payment
1175
- * method, renew the subscription instead. Purchases and changes of a service's resources are created through
1176
- * that service.
1197
+ * Opens a Checkout Session renewing one or more subscriptions in one order, such as a machine and the separately
1198
+ * bought volumes and elastic IPs attached to it, with periods and price chosen as in renewing. Every subscription
1199
+ * must be paid by the same billing account and belong to the same project and service. Nothing is charged until
1200
+ * you complete it, when a promotion code can be applied; each subscription then renews from its current_term_end
1201
+ * at that time. To renew one subscription at once from credit grants, balance or a payment method, renew the
1202
+ * subscription instead. Purchases and changes of a service's resources are created through that service.
1177
1203
  *
1178
- * Open to the owner of the subscription's current billing account and to members of its project with the
1204
+ * Open to the owner of the subscriptions' current billing account and to members of their project with the
1179
1205
  * project permission `billing:finance.manage`. Keep `checkout_session_id` and read the session after an
1180
1206
  * unknown outcome; creating it again conflicts.
1181
1207
  * @summary Create a renewal Checkout Session
@@ -1334,7 +1360,7 @@ export const PreviewOrderRefundQueryParams = zod.strictObject({
1334
1360
  * payment waiting for the payer is canceled with the order; one the gateway is processing is refused with
1335
1361
  * `BILLING_PAYMENT_PENDING` and `meta.transaction_id`. Repeating the cancellation does not refund twice.
1336
1362
  *
1337
- * An accepted order is canceled by its owning service, and delivered items through subscription cancellation.
1363
+ * An accepted order is canceled by its owning service, and delivered items through cancellation of their subscription items.
1338
1364
  * Refunds are previewed with `preview-order-refund`. Open to the owner of the order's billing account and to members of its project.
1339
1365
  * @summary Cancel order
1340
1366
  */
@@ -11,6 +11,7 @@ export declare const ActiveResource: zod.ZodObject<{
11
11
  ended_at: zod.ZodOptional<zod.z.ZodISODateTime>;
12
12
  suspended_at: zod.ZodOptional<zod.z.ZodISODateTime>;
13
13
  state_changed_at: zod.ZodOptional<zod.z.ZodISODateTime>;
14
+ subscription_item_id: zod.ZodUUID;
14
15
  subscription_id: zod.ZodUUID;
15
16
  resource_id: zod.ZodString;
16
17
  product: zod.ZodObject<{
@@ -15,9 +15,10 @@ export const ActiveResource = zod
15
15
  ended_at: zod.iso.datetime({ offset: true }).optional(),
16
16
  suspended_at: zod.iso.datetime({ offset: true }).optional(),
17
17
  state_changed_at: zod.iso.datetime({ offset: true }).optional(),
18
- subscription_id: zod
18
+ subscription_item_id: zod
19
19
  .uuid()
20
- .describe("The metered subscription charged for this metering record."),
20
+ .describe("The metered subscription item charged for this metering record."),
21
+ subscription_id: zod.uuid().describe("The subscription the item belongs to."),
21
22
  resource_id: zod.string(),
22
23
  product: Product,
23
24
  resource_type: zod
@@ -12,6 +12,7 @@ export declare const ActiveResourceList: zod.ZodObject<{
12
12
  ended_at: zod.ZodOptional<zod.z.ZodISODateTime>;
13
13
  suspended_at: zod.ZodOptional<zod.z.ZodISODateTime>;
14
14
  state_changed_at: zod.ZodOptional<zod.z.ZodISODateTime>;
15
+ subscription_item_id: zod.ZodUUID;
15
16
  subscription_id: zod.ZodUUID;
16
17
  resource_id: zod.ZodString;
17
18
  product: zod.ZodObject<{
@@ -8,6 +8,7 @@
8
8
  import * as zod from "zod";
9
9
  export declare const Allowance: zod.ZodObject<{
10
10
  idempotency_key: zod.ZodOptional<zod.ZodString>;
11
+ subscription_item_id: zod.ZodOptional<zod.ZodUUID>;
11
12
  subscription_id: zod.ZodOptional<zod.ZodUUID>;
12
13
  id: zod.ZodUUID;
13
14
  billing_account_id: zod.ZodOptional<zod.ZodInt>;
@@ -14,7 +14,11 @@ export const Allowance = zod.strictObject({
14
14
  .string()
15
15
  .optional()
16
16
  .describe("Optional issuance key, unique within this billing account."),
17
- subscription_id: zod.uuid().optional(),
17
+ subscription_item_id: zod
18
+ .uuid()
19
+ .optional()
20
+ .describe("The subscription item whose purchase includes the allowance; absent for an allowance not included in a purchase."),
21
+ subscription_id: zod.uuid().optional().describe("The subscription that item belongs to."),
18
22
  id: zod.uuid(),
19
23
  billing_account_id: zod.int().optional(),
20
24
  product: Product,
@@ -9,6 +9,7 @@ import * as zod from "zod";
9
9
  export declare const AllowanceList: zod.ZodObject<{
10
10
  items: zod.ZodArray<zod.ZodObject<{
11
11
  idempotency_key: zod.ZodOptional<zod.ZodString>;
12
+ subscription_item_id: zod.ZodOptional<zod.ZodUUID>;
12
13
  subscription_id: zod.ZodOptional<zod.ZodUUID>;
13
14
  id: zod.ZodUUID;
14
15
  billing_account_id: zod.ZodOptional<zod.ZodInt>;
@@ -36,6 +36,7 @@ export declare const Cancellation: zod.ZodObject<{
36
36
  canceled_at: zod.ZodOptional<zod.z.ZodISODateTime>;
37
37
  items: zod.ZodArray<zod.ZodObject<{
38
38
  id: zod.ZodUUID;
39
+ subscription_item_id: zod.ZodUUID;
39
40
  subscription_id: zod.ZodUUID;
40
41
  plan_id: zod.ZodUUID;
41
42
  plan_name: zod.ZodString;
@@ -24,7 +24,7 @@ export const Cancellation = zod
24
24
  .describe("Who requested it; `project_deletion` means the project was deleted."),
25
25
  billing_account_id: zod
26
26
  .int()
27
- .describe("The billing account paying for these subscriptions when the cancellation was created: the purchasing account of an account-level purchase, or the project's linked account."),
27
+ .describe("The billing account paying for these items when the cancellation was created: the purchasing account of an account-level purchase, or the project's linked account."),
28
28
  currency: zod.string(),
29
29
  expected_refundable_amount: Money.optional().describe("The refund confirmed when the cancellation was created. Absent when the platform created it."),
30
30
  failure_code: zod
@@ -36,4 +36,4 @@ export const Cancellation = zod
36
36
  canceled_at: zod.iso.datetime({ offset: true }).optional(),
37
37
  items: zod.array(CancellationItem),
38
38
  })
39
- .describe("One cancellation of a set of subscriptions of one service, released together at one time.\n\n- `requested`: `immediate`, release has not begun.\n- `scheduled`: `period_end`, waiting for `scheduled_at`.\n- `releasing`: release has begun; it can no longer be withdrawn.\n- `completed`: every subscription has ended and its refund has been made.\n- `canceled`: withdrawn before release began; the subscriptions continue.\n- `failed`: the service could not carry it out, for the reason in `failure_code`; the\n subscriptions continue and can be canceled again.");
39
+ .describe("One cancellation of a set of subscription items of one service, released together at one time.\n\n- `requested`: `immediate`, release has not begun.\n- `scheduled`: `period_end`, waiting for `scheduled_at`.\n- `releasing`: release has begun; it can no longer be withdrawn.\n- `completed`: every item has ended and its refund has been made.\n- `canceled`: withdrawn before release began; the items continue.\n- `failed`: the service could not carry it out, for the reason in `failure_code`; the\n items continue and can be canceled again.");
@@ -6,11 +6,13 @@
6
6
  * OpenAPI spec version: v1
7
7
  */
8
8
  import * as zod from "zod";
9
- export declare const cancellationCreateSubscriptionIdsMax = 50;
9
+ export declare const cancellationCreateItemsMax = 50;
10
10
  export declare const cancellationCreateExpectedRefundableAmountTwoRegExp: RegExp;
11
11
  export declare const cancellationCreateReasonMax = 1024;
12
12
  export declare const CancellationCreate: zod.ZodObject<{
13
- subscription_ids: zod.ZodArray<zod.ZodUUID>;
13
+ items: zod.ZodArray<zod.ZodObject<{
14
+ subscription_item_id: zod.ZodUUID;
15
+ }, zod.z.core.$strict>>;
14
16
  mode: zod.ZodEnum<{
15
17
  immediate: "immediate";
16
18
  period_end: "period_end";
@@ -6,16 +6,17 @@
6
6
  * OpenAPI spec version: v1
7
7
  */
8
8
  import * as zod from "zod";
9
+ import { CancellationItemInput } from "./cancellationItemInput.zod.js";
9
10
  import { CancellationMode } from "./cancellationMode.zod.js";
10
11
  import { Money } from "./money.zod.js";
11
- export const cancellationCreateSubscriptionIdsMax = 50;
12
+ export const cancellationCreateItemsMax = 50;
12
13
  export const cancellationCreateExpectedRefundableAmountTwoRegExp = new RegExp("^[0-9]{1,15}([.][0-9]{1,10})?$");
13
14
  export const cancellationCreateReasonMax = 1024;
14
15
  export const CancellationCreate = zod.strictObject({
15
- subscription_ids: zod
16
- .array(zod.uuid())
16
+ items: zod
17
+ .array(CancellationItemInput)
17
18
  .min(1)
18
- .max(cancellationCreateSubscriptionIdsMax)
19
+ .max(cancellationCreateItemsMax)
19
20
  .describe("As in the preview."),
20
21
  mode: CancellationMode,
21
22
  proration_date: zod.iso
@@ -8,6 +8,7 @@
8
8
  import * as zod from "zod";
9
9
  export declare const CancellationItem: zod.ZodObject<{
10
10
  id: zod.ZodUUID;
11
+ subscription_item_id: zod.ZodUUID;
11
12
  subscription_id: zod.ZodUUID;
12
13
  plan_id: zod.ZodUUID;
13
14
  plan_name: zod.ZodString;
@@ -13,12 +13,13 @@ export const CancellationItem = zod
13
13
  .strictObject({
14
14
  id: zod
15
15
  .uuid()
16
- .describe("The subscription's cancellation item, the same as `Subscription.cancellation.id`."),
17
- subscription_id: zod.uuid(),
16
+ .describe("The item's entry in the cancellation, the same as `SubscriptionItem.cancellation.id`."),
17
+ subscription_item_id: zod.uuid(),
18
+ subscription_id: zod.uuid().describe("The subscription the item belongs to."),
18
19
  plan_id: zod.uuid(),
19
20
  plan_name: zod.string(),
20
21
  type: PriceType,
21
- usage_type: UsageType.describe("Creating the cancellation turned automatic renewal off; withdrawing it turns renewal back on\nfor a `metered` subscription and leaves it off for a `licensed` one."),
22
+ usage_type: UsageType.describe("When the cancellation covers every continuing item of a subscription, creating it turned the\nsubscription's automatic renewal off; withdrawing it turns renewal back on for a subscription with\nonly `metered` items and leaves it off for one with `licensed` items."),
22
23
  status: zod.enum(["requested", "scheduled", "releasing", "completed", "canceled", "failed"]),
23
24
  failure_code: zod
24
25
  .string()
@@ -33,4 +34,4 @@ export const CancellationItem = zod
33
34
  credit_amount: Money.optional().describe("Present with `completed`. The part restored to the credit grants that paid."),
34
35
  gateway_amount: Money.optional().describe("Present with `completed`. The part returned to the payment method it was paid with."),
35
36
  })
36
- .describe("One subscription of the cancellation.");
37
+ .describe("One subscription item of the cancellation.");
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Leaflow Billing API
5
+ * Products, prices, orders, subscriptions and account billing. Operations on a billing account require an account access token. The account, its balance, payment options and quotes are also readable by members of the projects it currently pays for; changing the account and moving its funds need the owner. Members of a project, as each operation states, can also read the project's billing account, subscriptions and orders, complete and pay for its purchases, quote purchases, changes and renewals, preview cancellations, and, with the project permission `billing:finance.manage` granted in IAM, renew, cancel and turn automatic renewal of its subscriptions on or off, change its billing account and read its costs. A member without the permission an operation needs is refused with 403 `PERMISSION_DENIED` and `meta.permission`; a caller who is not a member, with 403 `IAM_NOT_PROJECT_MEMBER`. Public catalogue operations declare no security requirement.
6
+ * OpenAPI spec version: v1
7
+ */
8
+ import * as zod from "zod";
9
+ export declare const CancellationItemInput: zod.ZodObject<{
10
+ subscription_item_id: zod.ZodUUID;
11
+ }, zod.z.core.$strict>;
12
+ export type CancellationItemInput = zod.input<typeof CancellationItemInput>;
13
+ export type CancellationItemInputOutput = zod.output<typeof CancellationItemInput>;
@@ -6,8 +6,8 @@
6
6
  * OpenAPI spec version: v1
7
7
  */
8
8
  import * as zod from "zod";
9
- export declare const AutoRenewSet: zod.ZodObject<{
10
- auto_renew: zod.ZodBoolean;
11
- }, zod.z.core.$strict>;
12
- export type AutoRenewSet = zod.input<typeof AutoRenewSet>;
13
- export type AutoRenewSetOutput = zod.output<typeof AutoRenewSet>;
9
+ export const CancellationItemInput = zod
10
+ .strictObject({
11
+ subscription_item_id: zod.uuid(),
12
+ })
13
+ .describe("One subscription item to end, each at most once.");
@@ -37,6 +37,7 @@ export declare const CancellationList: zod.ZodObject<{
37
37
  canceled_at: zod.ZodOptional<zod.z.ZodISODateTime>;
38
38
  items: zod.ZodArray<zod.ZodObject<{
39
39
  id: zod.ZodUUID;
40
+ subscription_item_id: zod.ZodUUID;
40
41
  subscription_id: zod.ZodUUID;
41
42
  plan_id: zod.ZodUUID;
42
43
  plan_name: zod.ZodString;
@@ -22,6 +22,7 @@ export declare const CancellationPreview: zod.ZodObject<{
22
22
  tax_amount: zod.ZodString;
23
23
  forfeited_amount: zod.ZodString;
24
24
  items: zod.ZodArray<zod.ZodObject<{
25
+ subscription_item_id: zod.ZodUUID;
25
26
  subscription_id: zod.ZodUUID;
26
27
  plan_id: zod.ZodUUID;
27
28
  plan_name: zod.ZodString;
@@ -15,7 +15,7 @@ export const CancellationPreview = zod
15
15
  scheduled_at: zod.iso
16
16
  .datetime({ offset: true })
17
17
  .optional()
18
- .describe("For `period_end`, when release begins, the end of the paid terms."),
18
+ .describe("For `period_end`, when release begins, the end of the subscriptions' current terms."),
19
19
  proration_date: zod.iso
20
20
  .datetime({ offset: true })
21
21
  .optional()
@@ -30,4 +30,4 @@ export const CancellationPreview = zod
30
30
  forfeited_amount: Money,
31
31
  items: zod.array(CancellationPreviewItem),
32
32
  })
33
- .describe("What the cancellation would return, per subscription and in total, as of now. Give `proration_date` and\n`refundable_amount` when creating the cancellation.\n\n- `unused_amount`: before tax, the amount paid for the current periods in proportion to the time remaining.\n- `short_rate_surcharge_amount`: before tax, the part of `forfeited_amount` due to the short rate of the\n refund policy.\n- `refundable_amount`: what is returned the way it was paid, tax included; `refund_amount` plus\n `credit_amount`.\n- `refund_amount`: the part returned to the balance or the payment method.\n- `credit_amount`: the part restored to the credit grants that paid.\n- `tax_amount`: the tax included in `refundable_amount`.\n- `forfeited_amount`: before tax, the part of `unused_amount` the refund terms do not return.\n\nMetered and one-time subscriptions show zero; their usage until release is charged as usual.");
33
+ .describe("What the cancellation would return, per item and in total, as of now. Give `proration_date` and\n`refundable_amount` when creating the cancellation.\n\n- `unused_amount`: before tax, the amount paid for the current periods in proportion to the time remaining.\n- `short_rate_surcharge_amount`: before tax, the part of `forfeited_amount` due to the short rate of the\n refund policy.\n- `refundable_amount`: what is returned the way it was paid, tax included; `refund_amount` plus\n `credit_amount`.\n- `refund_amount`: the part returned to the balance or the payment method.\n- `credit_amount`: the part restored to the credit grants that paid.\n- `tax_amount`: the tax included in `refundable_amount`.\n- `forfeited_amount`: before tax, the part of `unused_amount` the refund terms do not return.\n\nMetered and one-time items show zero; their usage until release is charged as usual.");
@@ -7,6 +7,7 @@
7
7
  */
8
8
  import * as zod from "zod";
9
9
  export declare const CancellationPreviewItem: zod.ZodObject<{
10
+ subscription_item_id: zod.ZodUUID;
10
11
  subscription_id: zod.ZodUUID;
11
12
  plan_id: zod.ZodUUID;
12
13
  plan_name: zod.ZodString;
@@ -12,7 +12,8 @@ import { PriceType } from "./priceType.zod.js";
12
12
  import { UsageType } from "./usageType.zod.js";
13
13
  export const CancellationPreviewItem = zod
14
14
  .strictObject({
15
- subscription_id: zod.uuid(),
15
+ subscription_item_id: zod.uuid(),
16
+ subscription_id: zod.uuid().describe("The subscription the item belongs to."),
16
17
  plan_id: zod.uuid(),
17
18
  plan_name: zod.string(),
18
19
  project: zod
@@ -23,7 +24,7 @@ export const CancellationPreviewItem = zod
23
24
  usage_type: UsageType,
24
25
  auto_renew: zod
25
26
  .boolean()
26
- .describe("Whether automatic renewal is on now. Creating the cancellation turns it off; withdrawing it turns it back on for a metered subscription but not for a licensed one."),
27
+ .describe("Whether the item's subscription renews automatically now. Creating a cancellation of every continuing item of the subscription turns it off; withdrawing it turns it back on for a subscription with only metered items but not for one with licensed items."),
27
28
  unused_amount: Money,
28
29
  short_rate_surcharge_amount: Money,
29
30
  refundable_amount: Money,
@@ -32,4 +33,4 @@ export const CancellationPreviewItem = zod
32
33
  tax_amount: Money,
33
34
  forfeited_amount: Money,
34
35
  })
35
- .describe("One subscription of the previewed cancellation.");
36
+ .describe("One subscription item of the previewed cancellation.");
@@ -6,10 +6,12 @@
6
6
  * OpenAPI spec version: v1
7
7
  */
8
8
  import * as zod from "zod";
9
- export declare const cancellationPreviewRequestSubscriptionIdsMax = 50;
9
+ export declare const cancellationPreviewRequestItemsMax = 50;
10
10
  export declare const CancellationPreviewRequest: zod.ZodObject<{
11
11
  billing_account_id: zod.ZodInt;
12
- subscription_ids: zod.ZodArray<zod.ZodUUID>;
12
+ items: zod.ZodArray<zod.ZodObject<{
13
+ subscription_item_id: zod.ZodUUID;
14
+ }, zod.z.core.$strict>>;
13
15
  mode: zod.ZodEnum<{
14
16
  immediate: "immediate";
15
17
  period_end: "period_end";