@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
@@ -1,69 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Leaflow Canopy API
5
- * Canopy model inference, API keys, model catalogue, service enablement and recorded usage.
6
- *
7
- * Project inference is served on this host in each provider's own protocol:
8
- *
9
- * - OpenAI: `/v1/chat/completions`, `/v1/responses` and `/v1/embeddings`; use
10
- * `https://canopy.leaflow.cloud/v1` as the OpenAI SDK base URL.
11
- * - Anthropic: `/v1/messages`; use `https://canopy.leaflow.cloud` as the Anthropic SDK base URL.
12
- * - Gemini: `/v1beta/models/{model}:generateContent` and `:streamGenerateContent`.
13
- *
14
- * Canopy does not convert between protocols. A request is accepted only for a model whose
15
- * `supported_endpoints` lists the endpoint it was sent to, and it is forwarded unchanged except for
16
- * the model name and the credentials. Reasoning settings such as `reasoning_effort` are passed
17
- * through as written; a model's `capabilities` lists the values its upstream accepts.
18
- *
19
- * Management operations use `/api/v1`. The management model catalogue names how each model is billed in Billing;
20
- * `/v1/models` returns the OpenAI model format with Canopy capabilities and parameter limits.
21
- *
22
- * ## Authentication
23
- *
24
- * Every request carries a scoped token; see the `bearerAuth` security scheme.
25
- *
26
- * Management and project inference accept the same verified IAM scoped token. The token is the
27
- * sole billing project authority; `OpenAI-Project` and historical identity headers cannot
28
- * override it. These endpoints do not accept a Canopy API key. The separate API-key gateway
29
- * accepts Canopy API keys and serves the same endpoints.
30
- *
31
- * ## Conventions
32
- *
33
- * - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
34
- * - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
35
- * - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
36
- * - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
37
- * - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
38
- * - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates Billing holds for each model's `billing`.
39
- * OpenAPI spec version: 1.0.0
40
- */
41
- import * as zod from "zod";
42
- export declare const ModelEndpoint: zod.ZodEnum<{
43
- "/v1/chat/completions": "/v1/chat/completions";
44
- "/v1/responses": "/v1/responses";
45
- "/v1/embeddings": "/v1/embeddings";
46
- "/v1/messages": "/v1/messages";
47
- "/v1beta/models/{model}:generateContent": "/v1beta/models/{model}:generateContent";
48
- "/v1/images/generations": "/v1/images/generations";
49
- "/v1/images/edits": "/v1/images/edits";
50
- "/v1/audio/transcriptions": "/v1/audio/transcriptions";
51
- "/v1/audio/translations": "/v1/audio/translations";
52
- "/v1/audio/speech": "/v1/audio/speech";
53
- "/v1/realtime": "/v1/realtime";
54
- "/v1/completions": "/v1/completions";
55
- "/v1/rerank": "/v1/rerank";
56
- "/v1/moderations": "/v1/moderations";
57
- "/v1/images/variations": "/v1/images/variations";
58
- "/v1/files": "/v1/files";
59
- "/v1/uploads": "/v1/uploads";
60
- "/v1/batches": "/v1/batches";
61
- "/v1/fine_tuning/jobs": "/v1/fine_tuning/jobs";
62
- "/v1/assistants": "/v1/assistants";
63
- "/v1/threads": "/v1/threads";
64
- "/v1/vector_stores": "/v1/vector_stores";
65
- "/v1/containers": "/v1/containers";
66
- "/v1/videos": "/v1/videos";
67
- }>;
68
- export type ModelEndpoint = zod.input<typeof ModelEndpoint>;
69
- export type ModelEndpointOutput = zod.output<typeof ModelEndpoint>;
@@ -1,67 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Leaflow Canopy API
5
- * Canopy model inference, API keys, model catalogue, service enablement and recorded usage.
6
- *
7
- * Project inference is served on this host in each provider's own protocol:
8
- *
9
- * - OpenAI: `/v1/chat/completions`, `/v1/responses` and `/v1/embeddings`; use
10
- * `https://canopy.leaflow.cloud/v1` as the OpenAI SDK base URL.
11
- * - Anthropic: `/v1/messages`; use `https://canopy.leaflow.cloud` as the Anthropic SDK base URL.
12
- * - Gemini: `/v1beta/models/{model}:generateContent` and `:streamGenerateContent`.
13
- *
14
- * Canopy does not convert between protocols. A request is accepted only for a model whose
15
- * `supported_endpoints` lists the endpoint it was sent to, and it is forwarded unchanged except for
16
- * the model name and the credentials. Reasoning settings such as `reasoning_effort` are passed
17
- * through as written; a model's `capabilities` lists the values its upstream accepts.
18
- *
19
- * Management operations use `/api/v1`. The management model catalogue names how each model is billed in Billing;
20
- * `/v1/models` returns the OpenAI model format with Canopy capabilities and parameter limits.
21
- *
22
- * ## Authentication
23
- *
24
- * Every request carries a scoped token; see the `bearerAuth` security scheme.
25
- *
26
- * Management and project inference accept the same verified IAM scoped token. The token is the
27
- * sole billing project authority; `OpenAI-Project` and historical identity headers cannot
28
- * override it. These endpoints do not accept a Canopy API key. The separate API-key gateway
29
- * accepts Canopy API keys and serves the same endpoints.
30
- *
31
- * ## Conventions
32
- *
33
- * - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
34
- * - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
35
- * - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
36
- * - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
37
- * - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
38
- * - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates Billing holds for each model's `billing`.
39
- * OpenAPI spec version: 1.0.0
40
- */
41
- import * as zod from "zod";
42
- export const ModelEndpoint = zod.enum([
43
- "/v1/chat/completions",
44
- "/v1/responses",
45
- "/v1/embeddings",
46
- "/v1/messages",
47
- "/v1beta/models/{model}:generateContent",
48
- "/v1/images/generations",
49
- "/v1/images/edits",
50
- "/v1/audio/transcriptions",
51
- "/v1/audio/translations",
52
- "/v1/audio/speech",
53
- "/v1/realtime",
54
- "/v1/completions",
55
- "/v1/rerank",
56
- "/v1/moderations",
57
- "/v1/images/variations",
58
- "/v1/files",
59
- "/v1/uploads",
60
- "/v1/batches",
61
- "/v1/fine_tuning/jobs",
62
- "/v1/assistants",
63
- "/v1/threads",
64
- "/v1/vector_stores",
65
- "/v1/containers",
66
- "/v1/videos",
67
- ]);
@@ -1,48 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Leaflow Canopy API
5
- * Canopy model inference, API keys, model catalogue, service enablement and recorded usage.
6
- *
7
- * Project inference is served on this host in each provider's own protocol:
8
- *
9
- * - OpenAI: `/v1/chat/completions`, `/v1/responses` and `/v1/embeddings`; use
10
- * `https://canopy.leaflow.cloud/v1` as the OpenAI SDK base URL.
11
- * - Anthropic: `/v1/messages`; use `https://canopy.leaflow.cloud` as the Anthropic SDK base URL.
12
- * - Gemini: `/v1beta/models/{model}:generateContent` and `:streamGenerateContent`.
13
- *
14
- * Canopy does not convert between protocols. A request is accepted only for a model whose
15
- * `supported_endpoints` lists the endpoint it was sent to, and it is forwarded unchanged except for
16
- * the model name and the credentials. Reasoning settings such as `reasoning_effort` are passed
17
- * through as written; a model's `capabilities` lists the values its upstream accepts.
18
- *
19
- * Management operations use `/api/v1`. The management model catalogue names how each model is billed in Billing;
20
- * `/v1/models` returns the OpenAI model format with Canopy capabilities and parameter limits.
21
- *
22
- * ## Authentication
23
- *
24
- * Every request carries a scoped token; see the `bearerAuth` security scheme.
25
- *
26
- * Management and project inference accept the same verified IAM scoped token. The token is the
27
- * sole billing project authority; `OpenAI-Project` and historical identity headers cannot
28
- * override it. These endpoints do not accept a Canopy API key. The separate API-key gateway
29
- * accepts Canopy API keys and serves the same endpoints.
30
- *
31
- * ## Conventions
32
- *
33
- * - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
34
- * - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
35
- * - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
36
- * - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
37
- * - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
38
- * - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates Billing holds for each model's `billing`.
39
- * OpenAPI spec version: 1.0.0
40
- */
41
- import * as zod from "zod";
42
- export declare const ResponseDeleted: zod.ZodObject<{
43
- id: zod.ZodString;
44
- object: zod.ZodString;
45
- deleted: zod.ZodBoolean;
46
- }, zod.z.core.$strict>;
47
- export type ResponseDeleted = zod.input<typeof ResponseDeleted>;
48
- export type ResponseDeletedOutput = zod.output<typeof ResponseDeleted>;
@@ -1,46 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Leaflow Canopy API
5
- * Canopy model inference, API keys, model catalogue, service enablement and recorded usage.
6
- *
7
- * Project inference is served on this host in each provider's own protocol:
8
- *
9
- * - OpenAI: `/v1/chat/completions`, `/v1/responses` and `/v1/embeddings`; use
10
- * `https://canopy.leaflow.cloud/v1` as the OpenAI SDK base URL.
11
- * - Anthropic: `/v1/messages`; use `https://canopy.leaflow.cloud` as the Anthropic SDK base URL.
12
- * - Gemini: `/v1beta/models/{model}:generateContent` and `:streamGenerateContent`.
13
- *
14
- * Canopy does not convert between protocols. A request is accepted only for a model whose
15
- * `supported_endpoints` lists the endpoint it was sent to, and it is forwarded unchanged except for
16
- * the model name and the credentials. Reasoning settings such as `reasoning_effort` are passed
17
- * through as written; a model's `capabilities` lists the values its upstream accepts.
18
- *
19
- * Management operations use `/api/v1`. The management model catalogue names how each model is billed in Billing;
20
- * `/v1/models` returns the OpenAI model format with Canopy capabilities and parameter limits.
21
- *
22
- * ## Authentication
23
- *
24
- * Every request carries a scoped token; see the `bearerAuth` security scheme.
25
- *
26
- * Management and project inference accept the same verified IAM scoped token. The token is the
27
- * sole billing project authority; `OpenAI-Project` and historical identity headers cannot
28
- * override it. These endpoints do not accept a Canopy API key. The separate API-key gateway
29
- * accepts Canopy API keys and serves the same endpoints.
30
- *
31
- * ## Conventions
32
- *
33
- * - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
34
- * - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
35
- * - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
36
- * - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
37
- * - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
38
- * - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates Billing holds for each model's `billing`.
39
- * OpenAPI spec version: 1.0.0
40
- */
41
- import * as zod from "zod";
42
- export const ResponseDeleted = zod.strictObject({
43
- id: zod.string(),
44
- object: zod.string(),
45
- deleted: zod.boolean(),
46
- });
@@ -1,41 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Leaflow Compute API
5
- * Leaflow Compute user API for managing instances, volumes, snapshots, volume backups, public and private images, virtual private clouds, subnets, routes, security groups, network interfaces and elastic IPs.
6
- *
7
- * ## Authentication
8
- *
9
- * Every request carries a scoped token; see the `scopedTokenAuth` security scheme. The catalog reads, which list and retrieve regions, availability zones, instance types, volume types, public images and elastic IP lines, also answer without a token, so a visitor can configure a purchase and price it with Billing before signing in. A token given to them is still verified, and an invalid one is refused.
10
- *
11
- * ## Conventions
12
- *
13
- * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, the resource is created: it stays `pending`, then reaches its usual status, such as `running` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. A purchased change, such as a resize requested with `instance_type_id`, `size_gib` or `bandwidth_mbps` on the resource, returns the resource unchanged with the Checkout Session for the change, and applies once its order is accepted.
14
- * - **Commercial terms.** Compute catalogs describe technical specifications and, for each order line a purchase makes, how it is sold in Billing (a `BillingComponent`: its Plan, dimensions, what its quantity counts and what its meters read); prices, amounts and currency belong to Billing. A purchase chooses its terms with `billing`, and Billing selects the matching price. Read prices and their rates with Billing's `search-prices` from those components, quote a proposed purchase with `get-quote`, and a change of a resource by its `subscription_id`; Compute has no quote or price proxy endpoint and returns no amounts.
15
- * - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid. Do not submit the purchase again after paying; after an uncertain response, look the Checkout Session up in Billing first.
16
- * - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
17
- * - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
18
- * - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
19
- * - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `status` names it, as in `starting` or `deleting`; once it has finished the resource shows its new status and the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
20
- * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
21
- * - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
22
- * - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
23
- * - **Elastic IP release.** A released address returns to available inventory as soon as its cleanup is confirmed, with no cooldown period. Removing or replacing an elastic IP's association keeps the address held by the project and does not release it.
24
- * - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
25
- *
26
- * ## Resource identifiers
27
- *
28
- * Compute resource IDs use the fixed TypeID prefix declared in their schema. UUID text is not accepted for these resource IDs. Project, order, subscription and Billing Plan identifiers remain UUIDs. Historical operation-log subject IDs are audit facts and are not rewritten.
29
- *
30
- * ## Error meta
31
- *
32
- * Resource identifiers in an error's `meta` (`resource_id`, `volume_id`, `network_interface_id` and the like) are TypeIDs, in the same form as the identifiers in resources. `meta.resource_type` is the resource's name as written in paths, with underscores: `instance`, `volume`, `elastic_ip`, `network_interface`, `virtual_private_cloud`, `private_image`, `volume_backup`, and so on.
33
- * OpenAPI spec version: 2.0.0
34
- */
35
- import * as zod from "zod";
36
- export declare const ElasticIPAssociationIDMin = 41;
37
- export declare const ElasticIPAssociationIDMax = 41;
38
- export declare const ElasticIPAssociationIDRegExp: RegExp;
39
- export declare const ElasticIPAssociationID: zod.ZodString;
40
- export type ElasticIPAssociationID = zod.input<typeof ElasticIPAssociationID>;
41
- export type ElasticIPAssociationIDOutput = zod.output<typeof ElasticIPAssociationID>;
@@ -1,44 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Leaflow Compute API
5
- * Leaflow Compute user API for managing instances, volumes, snapshots, volume backups, public and private images, virtual private clouds, subnets, routes, security groups, network interfaces and elastic IPs.
6
- *
7
- * ## Authentication
8
- *
9
- * Every request carries a scoped token; see the `scopedTokenAuth` security scheme. The catalog reads, which list and retrieve regions, availability zones, instance types, volume types, public images and elastic IP lines, also answer without a token, so a visitor can configure a purchase and price it with Billing before signing in. A token given to them is still verified, and an invalid one is refused.
10
- *
11
- * ## Conventions
12
- *
13
- * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, the resource is created: it stays `pending`, then reaches its usual status, such as `running` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. A purchased change, such as a resize requested with `instance_type_id`, `size_gib` or `bandwidth_mbps` on the resource, returns the resource unchanged with the Checkout Session for the change, and applies once its order is accepted.
14
- * - **Commercial terms.** Compute catalogs describe technical specifications and, for each order line a purchase makes, how it is sold in Billing (a `BillingComponent`: its Plan, dimensions, what its quantity counts and what its meters read); prices, amounts and currency belong to Billing. A purchase chooses its terms with `billing`, and Billing selects the matching price. Read prices and their rates with Billing's `search-prices` from those components, quote a proposed purchase with `get-quote`, and a change of a resource by its `subscription_id`; Compute has no quote or price proxy endpoint and returns no amounts.
15
- * - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid. Do not submit the purchase again after paying; after an uncertain response, look the Checkout Session up in Billing first.
16
- * - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
17
- * - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
18
- * - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
19
- * - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `status` names it, as in `starting` or `deleting`; once it has finished the resource shows its new status and the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
20
- * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
21
- * - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
22
- * - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
23
- * - **Elastic IP release.** A released address returns to available inventory as soon as its cleanup is confirmed, with no cooldown period. Removing or replacing an elastic IP's association keeps the address held by the project and does not release it.
24
- * - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
25
- *
26
- * ## Resource identifiers
27
- *
28
- * Compute resource IDs use the fixed TypeID prefix declared in their schema. UUID text is not accepted for these resource IDs. Project, order, subscription and Billing Plan identifiers remain UUIDs. Historical operation-log subject IDs are audit facts and are not rewritten.
29
- *
30
- * ## Error meta
31
- *
32
- * Resource identifiers in an error's `meta` (`resource_id`, `volume_id`, `network_interface_id` and the like) are TypeIDs, in the same form as the identifiers in resources. `meta.resource_type` is the resource's name as written in paths, with underscores: `instance`, `volume`, `elastic_ip`, `network_interface`, `virtual_private_cloud`, `private_image`, `volume_backup`, and so on.
33
- * OpenAPI spec version: 2.0.0
34
- */
35
- import * as zod from "zod";
36
- export const ElasticIPAssociationIDMin = 41;
37
- export const ElasticIPAssociationIDMax = 41;
38
- export const ElasticIPAssociationIDRegExp = new RegExp("^eipassociation_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
39
- export const ElasticIPAssociationID = zod
40
- .string()
41
- .min(ElasticIPAssociationIDMin)
42
- .max(ElasticIPAssociationIDMax)
43
- .regex(ElasticIPAssociationIDRegExp)
44
- .describe("Compute ElasticIPAssociation TypeID. UUID text is not accepted.");
@@ -1,41 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Leaflow Compute API
5
- * Leaflow Compute user API for managing instances, volumes, snapshots, volume backups, public and private images, virtual private clouds, subnets, routes, security groups, network interfaces and elastic IPs.
6
- *
7
- * ## Authentication
8
- *
9
- * Every request carries a scoped token; see the `scopedTokenAuth` security scheme. The catalog reads, which list and retrieve regions, availability zones, instance types, volume types, public images and elastic IP lines, also answer without a token, so a visitor can configure a purchase and price it with Billing before signing in. A token given to them is still verified, and an invalid one is refused.
10
- *
11
- * ## Conventions
12
- *
13
- * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, the resource is created: it stays `pending`, then reaches its usual status, such as `running` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. A purchased change, such as a resize requested with `instance_type_id`, `size_gib` or `bandwidth_mbps` on the resource, returns the resource unchanged with the Checkout Session for the change, and applies once its order is accepted.
14
- * - **Commercial terms.** Compute catalogs describe technical specifications and, for each order line a purchase makes, how it is sold in Billing (a `BillingComponent`: its Plan, dimensions, what its quantity counts and what its meters read); prices, amounts and currency belong to Billing. A purchase chooses its terms with `billing`, and Billing selects the matching price. Read prices and their rates with Billing's `search-prices` from those components, quote a proposed purchase with `get-quote`, and a change of a resource by its `subscription_id`; Compute has no quote or price proxy endpoint and returns no amounts.
15
- * - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid. Do not submit the purchase again after paying; after an uncertain response, look the Checkout Session up in Billing first.
16
- * - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
17
- * - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
18
- * - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
19
- * - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `status` names it, as in `starting` or `deleting`; once it has finished the resource shows its new status and the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
20
- * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
21
- * - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
22
- * - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
23
- * - **Elastic IP release.** A released address returns to available inventory as soon as its cleanup is confirmed, with no cooldown period. Removing or replacing an elastic IP's association keeps the address held by the project and does not release it.
24
- * - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
25
- *
26
- * ## Resource identifiers
27
- *
28
- * Compute resource IDs use the fixed TypeID prefix declared in their schema. UUID text is not accepted for these resource IDs. Project, order, subscription and Billing Plan identifiers remain UUIDs. Historical operation-log subject IDs are audit facts and are not rewritten.
29
- *
30
- * ## Error meta
31
- *
32
- * Resource identifiers in an error's `meta` (`resource_id`, `volume_id`, `network_interface_id` and the like) are TypeIDs, in the same form as the identifiers in resources. `meta.resource_type` is the resource's name as written in paths, with underscores: `instance`, `volume`, `elastic_ip`, `network_interface`, `virtual_private_cloud`, `private_image`, `volume_backup`, and so on.
33
- * OpenAPI spec version: 2.0.0
34
- */
35
- import * as zod from "zod";
36
- export declare const ElasticIPIDMin = 30;
37
- export declare const ElasticIPIDMax = 34;
38
- export declare const ElasticIPIDRegExp: RegExp;
39
- export declare const ElasticIPID: zod.ZodString;
40
- export type ElasticIPID = zod.input<typeof ElasticIPID>;
41
- export type ElasticIPIDOutput = zod.output<typeof ElasticIPID>;
@@ -1,41 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Leaflow Compute API
5
- * Leaflow Compute user API for managing instances, volumes, snapshots, volume backups, public and private images, virtual private clouds, subnets, routes, security groups, network interfaces and elastic IPs.
6
- *
7
- * ## Authentication
8
- *
9
- * Every request carries a scoped token; see the `scopedTokenAuth` security scheme. The catalog reads, which list and retrieve regions, availability zones, instance types, volume types, public images and elastic IP lines, also answer without a token, so a visitor can configure a purchase and price it with Billing before signing in. A token given to them is still verified, and an invalid one is refused.
10
- *
11
- * ## Conventions
12
- *
13
- * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, the resource is created: it stays `pending`, then reaches its usual status, such as `running` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. A purchased change, such as a resize requested with `instance_type_id`, `size_gib` or `bandwidth_mbps` on the resource, returns the resource unchanged with the Checkout Session for the change, and applies once its order is accepted.
14
- * - **Commercial terms.** Compute catalogs describe technical specifications and, for each order line a purchase makes, how it is sold in Billing (a `BillingComponent`: its Plan, dimensions, what its quantity counts and what its meters read); prices, amounts and currency belong to Billing. A purchase chooses its terms with `billing`, and Billing selects the matching price. Read prices and their rates with Billing's `search-prices` from those components, quote a proposed purchase with `get-quote`, and a change of a resource by its `subscription_id`; Compute has no quote or price proxy endpoint and returns no amounts.
15
- * - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid. Do not submit the purchase again after paying; after an uncertain response, look the Checkout Session up in Billing first.
16
- * - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
17
- * - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
18
- * - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
19
- * - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `status` names it, as in `starting` or `deleting`; once it has finished the resource shows its new status and the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
20
- * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
21
- * - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
22
- * - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
23
- * - **Elastic IP release.** A released address returns to available inventory as soon as its cleanup is confirmed, with no cooldown period. Removing or replacing an elastic IP's association keeps the address held by the project and does not release it.
24
- * - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
25
- *
26
- * ## Resource identifiers
27
- *
28
- * Compute resource IDs use the fixed TypeID prefix declared in their schema. UUID text is not accepted for these resource IDs. Project, order, subscription and Billing Plan identifiers remain UUIDs. Historical operation-log subject IDs are audit facts and are not rewritten.
29
- *
30
- * ## Error meta
31
- *
32
- * Resource identifiers in an error's `meta` (`resource_id`, `volume_id`, `network_interface_id` and the like) are TypeIDs, in the same form as the identifiers in resources. `meta.resource_type` is the resource's name as written in paths, with underscores: `instance`, `volume`, `elastic_ip`, `network_interface`, `virtual_private_cloud`, `private_image`, `volume_backup`, and so on.
33
- * OpenAPI spec version: 2.0.0
34
- */
35
- import * as zod from "zod";
36
- export declare const ElasticIPLineIDMin = 34;
37
- export declare const ElasticIPLineIDMax = 34;
38
- export declare const ElasticIPLineIDRegExp: RegExp;
39
- export declare const ElasticIPLineID: zod.ZodString;
40
- export type ElasticIPLineID = zod.input<typeof ElasticIPLineID>;
41
- export type ElasticIPLineIDOutput = zod.output<typeof ElasticIPLineID>;
@@ -1,44 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Leaflow Compute API
5
- * Leaflow Compute user API for managing instances, volumes, snapshots, volume backups, public and private images, virtual private clouds, subnets, routes, security groups, network interfaces and elastic IPs.
6
- *
7
- * ## Authentication
8
- *
9
- * Every request carries a scoped token; see the `scopedTokenAuth` security scheme. The catalog reads, which list and retrieve regions, availability zones, instance types, volume types, public images and elastic IP lines, also answer without a token, so a visitor can configure a purchase and price it with Billing before signing in. A token given to them is still verified, and an invalid one is refused.
10
- *
11
- * ## Conventions
12
- *
13
- * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, the resource is created: it stays `pending`, then reaches its usual status, such as `running` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. A purchased change, such as a resize requested with `instance_type_id`, `size_gib` or `bandwidth_mbps` on the resource, returns the resource unchanged with the Checkout Session for the change, and applies once its order is accepted.
14
- * - **Commercial terms.** Compute catalogs describe technical specifications and, for each order line a purchase makes, how it is sold in Billing (a `BillingComponent`: its Plan, dimensions, what its quantity counts and what its meters read); prices, amounts and currency belong to Billing. A purchase chooses its terms with `billing`, and Billing selects the matching price. Read prices and their rates with Billing's `search-prices` from those components, quote a proposed purchase with `get-quote`, and a change of a resource by its `subscription_id`; Compute has no quote or price proxy endpoint and returns no amounts.
15
- * - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid. Do not submit the purchase again after paying; after an uncertain response, look the Checkout Session up in Billing first.
16
- * - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
17
- * - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
18
- * - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
19
- * - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `status` names it, as in `starting` or `deleting`; once it has finished the resource shows its new status and the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
20
- * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
21
- * - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
22
- * - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
23
- * - **Elastic IP release.** A released address returns to available inventory as soon as its cleanup is confirmed, with no cooldown period. Removing or replacing an elastic IP's association keeps the address held by the project and does not release it.
24
- * - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
25
- *
26
- * ## Resource identifiers
27
- *
28
- * Compute resource IDs use the fixed TypeID prefix declared in their schema. UUID text is not accepted for these resource IDs. Project, order, subscription and Billing Plan identifiers remain UUIDs. Historical operation-log subject IDs are audit facts and are not rewritten.
29
- *
30
- * ## Error meta
31
- *
32
- * Resource identifiers in an error's `meta` (`resource_id`, `volume_id`, `network_interface_id` and the like) are TypeIDs, in the same form as the identifiers in resources. `meta.resource_type` is the resource's name as written in paths, with underscores: `instance`, `volume`, `elastic_ip`, `network_interface`, `virtual_private_cloud`, `private_image`, `volume_backup`, and so on.
33
- * OpenAPI spec version: 2.0.0
34
- */
35
- import * as zod from "zod";
36
- export const ElasticIPLineIDMin = 34;
37
- export const ElasticIPLineIDMax = 34;
38
- export const ElasticIPLineIDRegExp = new RegExp("^eipline_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
39
- export const ElasticIPLineID = zod
40
- .string()
41
- .min(ElasticIPLineIDMin)
42
- .max(ElasticIPLineIDMax)
43
- .regex(ElasticIPLineIDRegExp)
44
- .describe("Compute ElasticIPLine TypeID. UUID text is not accepted.");
@@ -1,41 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Leaflow Compute API
5
- * Leaflow Compute user API for managing instances, volumes, snapshots, volume backups, public and private images, virtual private clouds, subnets, routes, security groups, network interfaces and elastic IPs.
6
- *
7
- * ## Authentication
8
- *
9
- * Every request carries a scoped token; see the `scopedTokenAuth` security scheme. The catalog reads, which list and retrieve regions, availability zones, instance types, volume types, public images and elastic IP lines, also answer without a token, so a visitor can configure a purchase and price it with Billing before signing in. A token given to them is still verified, and an invalid one is refused.
10
- *
11
- * ## Conventions
12
- *
13
- * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, the resource is created: it stays `pending`, then reaches its usual status, such as `running` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. A purchased change, such as a resize requested with `instance_type_id`, `size_gib` or `bandwidth_mbps` on the resource, returns the resource unchanged with the Checkout Session for the change, and applies once its order is accepted.
14
- * - **Commercial terms.** Compute catalogs describe technical specifications and, for each order line a purchase makes, how it is sold in Billing (a `BillingComponent`: its Plan, dimensions, what its quantity counts and what its meters read); prices, amounts and currency belong to Billing. A purchase chooses its terms with `billing`, and Billing selects the matching price. Read prices and their rates with Billing's `search-prices` from those components, quote a proposed purchase with `get-quote`, and a change of a resource by its `subscription_id`; Compute has no quote or price proxy endpoint and returns no amounts.
15
- * - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid. Do not submit the purchase again after paying; after an uncertain response, look the Checkout Session up in Billing first.
16
- * - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
17
- * - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
18
- * - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
19
- * - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `status` names it, as in `starting` or `deleting`; once it has finished the resource shows its new status and the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
20
- * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
21
- * - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
22
- * - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
23
- * - **Elastic IP release.** A released address returns to available inventory as soon as its cleanup is confirmed, with no cooldown period. Removing or replacing an elastic IP's association keeps the address held by the project and does not release it.
24
- * - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
25
- *
26
- * ## Resource identifiers
27
- *
28
- * Compute resource IDs use the fixed TypeID prefix declared in their schema. UUID text is not accepted for these resource IDs. Project, order, subscription and Billing Plan identifiers remain UUIDs. Historical operation-log subject IDs are audit facts and are not rewritten.
29
- *
30
- * ## Error meta
31
- *
32
- * Resource identifiers in an error's `meta` (`resource_id`, `volume_id`, `network_interface_id` and the like) are TypeIDs, in the same form as the identifiers in resources. `meta.resource_type` is the resource's name as written in paths, with underscores: `instance`, `volume`, `elastic_ip`, `network_interface`, `virtual_private_cloud`, `private_image`, `volume_backup`, and so on.
33
- * OpenAPI spec version: 2.0.0
34
- */
35
- import * as zod from "zod";
36
- export declare const IPv4HostAddressMin = 7;
37
- export declare const IPv4HostAddressMax = 15;
38
- export declare const IPv4HostAddressRegExp: RegExp;
39
- export declare const IPv4HostAddress: zod.ZodString;
40
- export type IPv4HostAddress = zod.input<typeof IPv4HostAddress>;
41
- export type IPv4HostAddressOutput = zod.output<typeof IPv4HostAddress>;
@@ -1,41 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Leaflow Compute API
5
- * Leaflow Compute user API for managing instances, volumes, snapshots, volume backups, public and private images, virtual private clouds, subnets, routes, security groups, network interfaces and elastic IPs.
6
- *
7
- * ## Authentication
8
- *
9
- * Every request carries a scoped token; see the `scopedTokenAuth` security scheme. The catalog reads, which list and retrieve regions, availability zones, instance types, volume types, public images and elastic IP lines, also answer without a token, so a visitor can configure a purchase and price it with Billing before signing in. A token given to them is still verified, and an invalid one is refused.
10
- *
11
- * ## Conventions
12
- *
13
- * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, the resource is created: it stays `pending`, then reaches its usual status, such as `running` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. A purchased change, such as a resize requested with `instance_type_id`, `size_gib` or `bandwidth_mbps` on the resource, returns the resource unchanged with the Checkout Session for the change, and applies once its order is accepted.
14
- * - **Commercial terms.** Compute catalogs describe technical specifications and, for each order line a purchase makes, how it is sold in Billing (a `BillingComponent`: its Plan, dimensions, what its quantity counts and what its meters read); prices, amounts and currency belong to Billing. A purchase chooses its terms with `billing`, and Billing selects the matching price. Read prices and their rates with Billing's `search-prices` from those components, quote a proposed purchase with `get-quote`, and a change of a resource by its `subscription_id`; Compute has no quote or price proxy endpoint and returns no amounts.
15
- * - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid. Do not submit the purchase again after paying; after an uncertain response, look the Checkout Session up in Billing first.
16
- * - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
17
- * - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
18
- * - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
19
- * - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `status` names it, as in `starting` or `deleting`; once it has finished the resource shows its new status and the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
20
- * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
21
- * - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
22
- * - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
23
- * - **Elastic IP release.** A released address returns to available inventory as soon as its cleanup is confirmed, with no cooldown period. Removing or replacing an elastic IP's association keeps the address held by the project and does not release it.
24
- * - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
25
- *
26
- * ## Resource identifiers
27
- *
28
- * Compute resource IDs use the fixed TypeID prefix declared in their schema. UUID text is not accepted for these resource IDs. Project, order, subscription and Billing Plan identifiers remain UUIDs. Historical operation-log subject IDs are audit facts and are not rewritten.
29
- *
30
- * ## Error meta
31
- *
32
- * Resource identifiers in an error's `meta` (`resource_id`, `volume_id`, `network_interface_id` and the like) are TypeIDs, in the same form as the identifiers in resources. `meta.resource_type` is the resource's name as written in paths, with underscores: `instance`, `volume`, `elastic_ip`, `network_interface`, `virtual_private_cloud`, `private_image`, `volume_backup`, and so on.
33
- * OpenAPI spec version: 2.0.0
34
- */
35
- import * as zod from "zod";
36
- export declare const InstanceFamilyIDMin = 36;
37
- export declare const InstanceFamilyIDMax = 36;
38
- export declare const InstanceFamilyIDRegExp: RegExp;
39
- export declare const InstanceFamilyID: zod.ZodString;
40
- export type InstanceFamilyID = zod.input<typeof InstanceFamilyID>;
41
- export type InstanceFamilyIDOutput = zod.output<typeof InstanceFamilyID>;