@leaflow/sdk 0.212.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.
- package/dist/billing/type/checkout/v1/generated/models.d.ts +5 -0
- package/dist/billing/type/checkout/v1/generated/validators/checkoutOptions.zod.d.ts +2 -0
- package/dist/billing/type/checkout/v1/generated/validators/checkoutOptions.zod.js +5 -0
- package/dist/billing/v1/generated/functions.d.ts +105 -90
- package/dist/billing/v1/generated/functions.js +107 -92
- package/dist/billing/v1/generated/models.d.ts +338 -164
- package/dist/billing/v1/generated/models.js +16 -10
- package/dist/billing/v1/generated/schemas.zod.d.ts +93 -70
- package/dist/billing/v1/generated/schemas.zod.js +98 -72
- package/dist/billing/v1/generated/validators/activeResource.zod.d.ts +1 -0
- package/dist/billing/v1/generated/validators/activeResource.zod.js +3 -2
- package/dist/billing/v1/generated/validators/activeResourceList.zod.d.ts +1 -0
- package/dist/billing/v1/generated/validators/allowance.zod.d.ts +1 -0
- package/dist/billing/v1/generated/validators/allowance.zod.js +5 -1
- package/dist/billing/v1/generated/validators/allowanceList.zod.d.ts +1 -0
- package/dist/billing/v1/generated/validators/cancellation.zod.d.ts +1 -0
- package/dist/billing/v1/generated/validators/cancellation.zod.js +2 -2
- package/dist/billing/v1/generated/validators/cancellationCreate.zod.d.ts +4 -2
- package/dist/billing/v1/generated/validators/cancellationCreate.zod.js +5 -4
- package/dist/billing/v1/generated/validators/cancellationItem.zod.d.ts +1 -0
- package/dist/billing/v1/generated/validators/cancellationItem.zod.js +5 -4
- package/dist/billing/v1/generated/validators/cancellationItemInput.zod.d.ts +13 -0
- package/dist/billing/v1/generated/validators/{autoRenewSet.zod.d.ts → cancellationItemInput.zod.js} +5 -5
- package/dist/billing/v1/generated/validators/cancellationList.zod.d.ts +1 -0
- package/dist/billing/v1/generated/validators/cancellationPreview.zod.d.ts +1 -0
- package/dist/billing/v1/generated/validators/cancellationPreview.zod.js +2 -2
- package/dist/billing/v1/generated/validators/cancellationPreviewItem.zod.d.ts +1 -0
- package/dist/billing/v1/generated/validators/cancellationPreviewItem.zod.js +4 -3
- package/dist/billing/v1/generated/validators/cancellationPreviewRequest.zod.d.ts +4 -2
- package/dist/billing/v1/generated/validators/cancellationPreviewRequest.zod.js +8 -7
- package/dist/billing/v1/generated/validators/checkoutOptions.zod.d.ts +2 -0
- package/dist/billing/v1/generated/validators/checkoutOptions.zod.js +5 -0
- package/dist/billing/v1/generated/validators/checkoutSession.zod.d.ts +6 -0
- package/dist/billing/v1/generated/validators/checkoutSession.zod.js +7 -3
- package/dist/billing/v1/generated/validators/checkoutSessionCreate.zod.d.ts +4 -1
- package/dist/billing/v1/generated/validators/checkoutSessionCreate.zod.js +8 -2
- package/dist/billing/v1/generated/validators/checkoutSessionItem.zod.d.ts +3 -1
- package/dist/billing/v1/generated/validators/checkoutSessionItem.zod.js +7 -2
- package/dist/billing/v1/generated/validators/checkoutSessionItemList.zod.d.ts +2 -1
- package/dist/billing/v1/generated/validators/checkoutSessionList.zod.d.ts +6 -0
- package/dist/billing/v1/generated/validators/checkoutSessionResult.zod.d.ts +7 -0
- package/dist/billing/v1/generated/validators/checkoutSessionSubscription.zod.d.ts +15 -0
- package/dist/billing/v1/generated/validators/checkoutSessionSubscription.zod.js +24 -0
- package/dist/billing/v1/generated/validators/checkoutSessionSubscriptionInput.zod.d.ts +13 -0
- package/dist/billing/v1/generated/validators/{autoRenewSet.zod.js → checkoutSessionSubscriptionInput.zod.js} +5 -3
- package/dist/billing/v1/generated/validators/entitlement.zod.js +1 -1
- package/dist/billing/v1/generated/validators/invoiceItem.zod.js +1 -1
- package/dist/billing/v1/generated/validators/invoiceItemProration.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listActiveResourcesParams.zod.js +2 -2
- package/dist/billing/v1/generated/validators/listAllowancesParams.zod.js +2 -2
- package/dist/billing/v1/generated/validators/listCancellationsParams.zod.d.ts +1 -0
- package/dist/billing/v1/generated/validators/listCancellationsParams.zod.js +1 -0
- package/dist/billing/v1/generated/validators/listEntitlementsParams.zod.js +2 -2
- package/dist/billing/v1/generated/validators/listFeatureGrantsParams.zod.js +2 -2
- package/dist/billing/v1/generated/validators/listPricesParams.zod.js +2 -2
- package/dist/billing/v1/generated/validators/{listRenewalPricesParams.zod.d.ts → listRenewalOptionsParams.zod.d.ts} +7 -7
- package/dist/billing/v1/generated/validators/{listRenewalPricesParams.zod.js → listRenewalOptionsParams.zod.js} +9 -9
- package/dist/billing/v1/generated/validators/listSpendParams.zod.js +2 -2
- package/dist/billing/v1/generated/validators/listSubscriptionsParams.zod.d.ts +4 -1
- package/dist/billing/v1/generated/validators/listSubscriptionsParams.zod.js +7 -1
- package/dist/billing/v1/generated/validators/listUsageChargesParams.zod.js +2 -2
- package/dist/billing/v1/generated/validators/order.zod.d.ts +1 -0
- package/dist/billing/v1/generated/validators/order.zod.js +2 -2
- package/dist/billing/v1/generated/validators/orderItem.zod.d.ts +1 -0
- package/dist/billing/v1/generated/validators/orderItem.zod.js +8 -4
- package/dist/billing/v1/generated/validators/orderItemList.zod.d.ts +1 -0
- package/dist/billing/v1/generated/validators/orderItemStatus.zod.js +1 -1
- package/dist/billing/v1/generated/validators/orderList.zod.d.ts +1 -0
- package/dist/billing/v1/generated/validators/plan.zod.js +2 -2
- package/dist/billing/v1/generated/validators/price.zod.js +2 -2
- package/dist/billing/v1/generated/validators/priceSearch.zod.js +2 -2
- package/dist/billing/v1/generated/validators/product.zod.js +2 -2
- package/dist/billing/v1/generated/validators/{productID.zod.d.ts → productId.zod.d.ts} +5 -5
- package/dist/billing/v1/generated/validators/{productID.zod.js → productId.zod.js} +5 -5
- package/dist/billing/v1/generated/validators/quote.zod.d.ts +8 -1
- package/dist/billing/v1/generated/validators/quote.zod.js +1 -1
- package/dist/billing/v1/generated/validators/quoteChangeInput.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/quoteChangeInput.zod.js +7 -7
- package/dist/billing/v1/generated/validators/quoteDowngradeRefund.zod.js +1 -1
- package/dist/billing/v1/generated/validators/quoteItem.zod.d.ts +1 -0
- package/dist/billing/v1/generated/validators/quoteItem.zod.js +7 -3
- package/dist/billing/v1/generated/validators/quoteItemInput.zod.d.ts +1 -0
- package/dist/billing/v1/generated/validators/quoteItemInput.zod.js +6 -2
- package/dist/billing/v1/generated/validators/quoteRenewal.zod.d.ts +0 -1
- package/dist/billing/v1/generated/validators/quoteRenewal.zod.js +2 -3
- package/dist/billing/v1/generated/validators/quoteRenewalItem.zod.d.ts +17 -0
- package/dist/billing/v1/generated/validators/quoteRenewalItem.zod.js +18 -0
- package/dist/billing/v1/generated/validators/quoteRenewalResult.zod.d.ts +7 -1
- package/dist/billing/v1/generated/validators/quoteRenewalResult.zod.js +6 -3
- package/dist/billing/v1/generated/validators/quoteRequest.zod.d.ts +2 -2
- package/dist/billing/v1/generated/validators/quoteRequest.zod.js +3 -3
- package/dist/billing/v1/generated/validators/refundReason.zod.js +1 -1
- package/dist/billing/v1/generated/validators/renewRequest.zod.js +3 -3
- package/dist/billing/v1/generated/validators/{renewalPriceList.zod.d.ts → renewalOption.zod.d.ts} +15 -18
- package/dist/billing/v1/generated/validators/renewalOption.zod.js +22 -0
- package/dist/billing/v1/generated/validators/{renewalPrice.zod.d.ts → renewalOptionItem.zod.d.ts} +6 -13
- package/dist/billing/v1/generated/validators/{renewalPrice.zod.js → renewalOptionItem.zod.js} +10 -10
- package/dist/billing/v1/generated/validators/renewalOptionList.zod.d.ts +44 -0
- package/dist/billing/v1/generated/validators/{renewalPriceList.zod.js → renewalOptionList.zod.js} +3 -3
- package/dist/billing/v1/generated/validators/scheduledChange.zod.js +1 -1
- package/dist/billing/v1/generated/validators/subscription.zod.d.ts +131 -112
- package/dist/billing/v1/generated/validators/subscription.zod.js +39 -73
- package/dist/billing/v1/generated/validators/subscriptionItem.zod.d.ts +104 -0
- package/dist/billing/v1/generated/validators/subscriptionItem.zod.js +74 -0
- package/dist/billing/v1/generated/validators/{subscriptionCancellation.zod.d.ts → subscriptionItemCancellation.zod.d.ts} +4 -4
- package/dist/billing/v1/generated/validators/{subscriptionCancellation.zod.js → subscriptionItemCancellation.zod.js} +4 -4
- package/dist/billing/v1/generated/validators/subscriptionList.zod.d.ts +131 -111
- package/dist/billing/v1/generated/validators/subscriptionStatus.zod.d.ts +1 -0
- package/dist/billing/v1/generated/validators/subscriptionStatus.zod.js +2 -2
- package/dist/billing/v1/generated/validators/subscriptionUpdate.zod.d.ts +13 -0
- package/dist/billing/v1/generated/validators/subscriptionUpdate.zod.js +13 -0
- package/dist/billing/v1/generated/validators/trialEndBehavior.zod.d.ts +18 -0
- package/dist/billing/v1/generated/validators/trialEndBehavior.zod.js +17 -0
- package/dist/billing/v1/generated/validators/trialSettings.zod.d.ts +20 -0
- package/dist/billing/v1/generated/validators/trialSettings.zod.js +14 -0
- package/dist/billing/v1/generated/validators/usageCharge.zod.d.ts +1 -0
- package/dist/billing/v1/generated/validators/usageCharge.zod.js +2 -1
- package/dist/billing/v1/generated/validators/usageChargeList.zod.d.ts +1 -0
- package/dist/billing/v1/generated/validators/usageEstimateInput.zod.js +2 -2
- package/dist/canopy/v1/generated/models.d.ts +5 -0
- package/dist/canopy/v1/generated/schemas.zod.d.ts +1 -0
- package/dist/canopy/v1/generated/validators/checkoutOptions.zod.d.ts +2 -0
- package/dist/canopy/v1/generated/validators/checkoutOptions.zod.js +5 -0
- package/dist/canopy/v1/generated/validators/createServiceRequestBody.zod.d.ts +1 -0
- package/dist/compute/v2/generated/functions.d.ts +372 -284
- package/dist/compute/v2/generated/functions.js +232 -76
- package/dist/compute/v2/generated/models.d.ts +368 -334
- package/dist/compute/v2/generated/models.js +9 -9
- package/dist/compute/v2/generated/schemas.zod.d.ts +165 -97
- package/dist/compute/v2/generated/schemas.zod.js +156 -84
- package/dist/compute/v2/generated/validators/{associateElasticIPRequestBody.zod.d.ts → associateElasticIpRequestBody.zod.d.ts} +4 -4
- package/dist/compute/v2/generated/validators/{associateElasticIPRequestBody.zod.js → associateElasticIpRequestBody.zod.js} +2 -2
- package/dist/compute/v2/generated/validators/attachNetworkInterfaceRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/attachNetworkInterfaceRequestBody.zod.js +3 -3
- package/dist/compute/v2/generated/validators/attachVolumeRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/attachVolumeRequestBody.zod.js +3 -3
- package/dist/compute/v2/generated/validators/{imageID.zod.d.ts → availabilityZoneId.zod.d.ts} +7 -7
- package/dist/compute/v2/generated/validators/availabilityZoneId.zod.js +44 -0
- package/dist/compute/v2/generated/validators/availabilityZoneListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/availabilityZoneListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/availabilityZoneResource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/availabilityZoneResource.zod.js +5 -5
- package/dist/compute/v2/generated/validators/billingCancellation.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/billingCancellation.zod.js +3 -3
- package/dist/compute/v2/generated/validators/billingChoice.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/billingChoice.zod.js +1 -1
- package/dist/compute/v2/generated/validators/billingComponent.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/billingComponent.zod.js +1 -1
- package/dist/compute/v2/generated/validators/billingLineQuantity.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/billingLineQuantity.zod.js +1 -1
- package/dist/compute/v2/generated/validators/billingMeter.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/billingMeter.zod.js +1 -1
- package/dist/compute/v2/generated/validators/billingPeriod.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/billingPeriod.zod.js +1 -1
- package/dist/compute/v2/generated/validators/billingQuantity.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/billingQuantity.zod.js +1 -1
- package/dist/compute/v2/generated/validators/bootVolume.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/bootVolume.zod.js +1 -1
- package/dist/compute/v2/generated/validators/cancellationMode.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/cancellationMode.zod.js +1 -1
- package/dist/compute/v2/generated/validators/{updateElasticIPRequestBody.zod.d.ts → changeElasticIpBandwidthRequestBody.zod.d.ts} +6 -9
- package/dist/compute/v2/generated/validators/changeElasticIpBandwidthRequestBody.zod.js +47 -0
- package/dist/compute/v2/generated/validators/changeElasticIpChargeTypeRequestBody.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/changeElasticIpChargeTypeRequestBody.zod.js +39 -0
- package/dist/compute/v2/generated/validators/checkoutMode.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/checkoutMode.zod.js +1 -1
- package/dist/compute/v2/generated/validators/checkoutOptions.zod.d.ts +3 -1
- package/dist/compute/v2/generated/validators/checkoutOptions.zod.js +6 -1
- package/dist/compute/v2/generated/validators/consoleResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/consoleResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/{createElasticIPRequestBody.zod.d.ts → createElasticIpRequestBody.zod.d.ts} +9 -7
- package/dist/compute/v2/generated/validators/{createElasticIPRequestBody.zod.js → createElasticIpRequestBody.zod.js} +12 -10
- package/dist/compute/v2/generated/validators/{createElasticIPResponseBody.zod.d.ts → createElasticIpResponseBody.zod.d.ts} +8 -6
- package/dist/compute/v2/generated/validators/{createElasticIPResponseBody.zod.js → createElasticIpResponseBody.zod.js} +4 -4
- package/dist/compute/v2/generated/validators/createInstanceRequestBody.zod.d.ts +2 -1
- package/dist/compute/v2/generated/validators/createInstanceRequestBody.zod.js +3 -3
- package/dist/compute/v2/generated/validators/createInstanceResponseBody.zod.d.ts +3 -1
- package/dist/compute/v2/generated/validators/createInstanceResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createLaunchTemplateRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/createLaunchTemplateRequestBody.zod.js +3 -3
- package/dist/compute/v2/generated/validators/createLaunchTemplateResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/createLaunchTemplateResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createNetworkInterfaceAddressRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/createNetworkInterfaceAddressRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createNetworkInterfaceRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/createNetworkInterfaceRequestBody.zod.js +5 -5
- package/dist/compute/v2/generated/validators/createPrivateImageRequestBody.zod.d.ts +2 -1
- package/dist/compute/v2/generated/validators/createPrivateImageRequestBody.zod.js +3 -3
- package/dist/compute/v2/generated/validators/createPrivateImageResponseBody.zod.d.ts +3 -1
- package/dist/compute/v2/generated/validators/createPrivateImageResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createSecurityGroupRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/createSecurityGroupRequestBody.zod.js +3 -3
- package/dist/compute/v2/generated/validators/createSecurityGroupRuleRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/createSecurityGroupRuleRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudPeeringRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudPeeringRequestBody.zod.js +4 -4
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRequestBody.zod.js +3 -3
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRouteRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRouteRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudSubnetRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudSubnetRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createVolumeBackupRequestBody.zod.d.ts +2 -1
- package/dist/compute/v2/generated/validators/createVolumeBackupRequestBody.zod.js +3 -3
- package/dist/compute/v2/generated/validators/createVolumeBackupResponseBody.zod.d.ts +3 -1
- package/dist/compute/v2/generated/validators/createVolumeBackupResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createVolumeRequestBody.zod.d.ts +5 -3
- package/dist/compute/v2/generated/validators/createVolumeRequestBody.zod.js +10 -8
- package/dist/compute/v2/generated/validators/createVolumeResponseBody.zod.d.ts +3 -1
- package/dist/compute/v2/generated/validators/createVolumeResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createVolumeSnapshotRequestBody.zod.d.ts +2 -1
- package/dist/compute/v2/generated/validators/createVolumeSnapshotRequestBody.zod.js +3 -3
- package/dist/compute/v2/generated/validators/createVolumeSnapshotResponseBody.zod.d.ts +3 -1
- package/dist/compute/v2/generated/validators/createVolumeSnapshotResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/cursorPagination.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/cursorPagination.zod.js +1 -1
- package/dist/compute/v2/generated/validators/deleteElasticIpParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/deleteElasticIpParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/{deleteElasticIPResponseBody.zod.d.ts → deleteElasticIpResponseBody.zod.d.ts} +8 -6
- package/dist/compute/v2/generated/validators/{deleteElasticIPResponseBody.zod.js → deleteElasticIpResponseBody.zod.js} +6 -6
- package/dist/compute/v2/generated/validators/deleteInstanceParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/deleteInstanceParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/deleteInstanceResponseBody.zod.d.ts +3 -1
- package/dist/compute/v2/generated/validators/deleteInstanceResponseBody.zod.js +3 -3
- package/dist/compute/v2/generated/validators/deletePrivateImageParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/deletePrivateImageParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/deletePrivateImageResponseBody.zod.d.ts +3 -1
- package/dist/compute/v2/generated/validators/deletePrivateImageResponseBody.zod.js +3 -3
- package/dist/compute/v2/generated/validators/deleteVolumeBackupParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/deleteVolumeBackupParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/deleteVolumeBackupResponseBody.zod.d.ts +3 -1
- package/dist/compute/v2/generated/validators/deleteVolumeBackupResponseBody.zod.js +3 -3
- package/dist/compute/v2/generated/validators/deleteVolumeParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/deleteVolumeParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/deleteVolumeResponseBody.zod.d.ts +3 -1
- package/dist/compute/v2/generated/validators/deleteVolumeResponseBody.zod.js +3 -3
- package/dist/compute/v2/generated/validators/deleteVolumeSnapshotParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/deleteVolumeSnapshotParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/deleteVolumeSnapshotResponseBody.zod.d.ts +3 -1
- package/dist/compute/v2/generated/validators/deleteVolumeSnapshotResponseBody.zod.js +3 -3
- package/dist/compute/v2/generated/validators/{elasticIP.zod.d.ts → elasticIp.zod.d.ts} +8 -6
- package/dist/compute/v2/generated/validators/{elasticIP.zod.js → elasticIp.zod.js} +22 -18
- package/dist/compute/v2/generated/validators/{elasticIPAssociation.zod.d.ts → elasticIpAssociation.zod.d.ts} +4 -4
- package/dist/compute/v2/generated/validators/{elasticIPAssociation.zod.js → elasticIpAssociation.zod.js} +11 -11
- package/dist/compute/v2/generated/validators/elasticIpAssociationId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/elasticIpAssociationId.zod.js +44 -0
- package/dist/compute/v2/generated/validators/{updateElasticIPResponseBody.zod.d.ts → elasticIpChangeResponseBody.zod.d.ts} +8 -6
- package/dist/compute/v2/generated/validators/elasticIpChangeResponseBody.zod.js +49 -0
- package/dist/compute/v2/generated/validators/elasticIpId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{elasticIPID.zod.js → elasticIpId.zod.js} +8 -8
- package/dist/compute/v2/generated/validators/{elasticIPLine.zod.d.ts → elasticIpLine.zod.d.ts} +7 -7
- package/dist/compute/v2/generated/validators/{elasticIPLine.zod.js → elasticIpLine.zod.js} +12 -12
- package/dist/compute/v2/generated/validators/elasticIpLineId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/elasticIpLineId.zod.js +44 -0
- package/dist/compute/v2/generated/validators/{elasticIPLineListResponseBody.zod.d.ts → elasticIpLineListResponseBody.zod.d.ts} +4 -4
- package/dist/compute/v2/generated/validators/{elasticIPListResponseBody.zod.js → elasticIpLineListResponseBody.zod.js} +4 -4
- package/dist/compute/v2/generated/validators/{elasticIPListResponseBody.zod.d.ts → elasticIpListResponseBody.zod.d.ts} +8 -6
- package/dist/compute/v2/generated/validators/{elasticIPLineListResponseBody.zod.js → elasticIpListResponseBody.zod.js} +4 -4
- package/dist/compute/v2/generated/validators/{elasticIPReleaseResource.zod.d.ts → elasticIpReleaseResource.zod.d.ts} +4 -4
- package/dist/compute/v2/generated/validators/{elasticIPReleaseResource.zod.js → elasticIpReleaseResource.zod.js} +4 -4
- package/dist/compute/v2/generated/validators/error.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/error.zod.js +1 -1
- package/dist/compute/v2/generated/validators/errorStatus.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/errorStatus.zod.js +1 -1
- package/dist/compute/v2/generated/validators/existingBootVolume.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/existingBootVolume.zod.js +3 -3
- package/dist/compute/v2/generated/validators/{existingElasticIP.zod.d.ts → existingElasticIp.zod.d.ts} +4 -4
- package/dist/compute/v2/generated/validators/{existingElasticIP.zod.js → existingElasticIp.zod.js} +4 -4
- package/dist/compute/v2/generated/validators/existingPrimaryNetworkInterface.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/existingPrimaryNetworkInterface.zod.js +3 -3
- package/dist/compute/v2/generated/validators/fieldViolation.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/fieldViolation.zod.js +1 -1
- package/dist/compute/v2/generated/validators/freeSubnetCidr.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/freeSubnetCidr.zod.js +1 -1
- package/dist/compute/v2/generated/validators/generatedPassword.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/generatedPassword.zod.js +1 -1
- package/dist/compute/v2/generated/validators/getVirtualPrivateCloudFreeSubnetCidrParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/getVirtualPrivateCloudFreeSubnetCidrParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/imageId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{imageID.zod.js → imageId.zod.js} +8 -8
- package/dist/compute/v2/generated/validators/instance.zod.d.ts +3 -1
- package/dist/compute/v2/generated/validators/instance.zod.js +25 -21
- package/dist/compute/v2/generated/validators/instanceAssociationTarget.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/instanceAssociationTarget.zod.js +3 -3
- package/dist/compute/v2/generated/validators/{instanceElasticIP.zod.d.ts → instanceElasticIp.zod.d.ts} +4 -4
- package/dist/compute/v2/generated/validators/{instanceElasticIP.zod.js → instanceElasticIp.zod.js} +5 -5
- package/dist/compute/v2/generated/validators/instanceFamily.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/instanceFamily.zod.js +5 -5
- package/dist/compute/v2/generated/validators/instanceFamilyCategory.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/instanceFamilyCategory.zod.js +1 -1
- package/dist/compute/v2/generated/validators/instanceFamilyId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{instanceFamilyID.zod.js → instanceFamilyId.zod.js} +8 -8
- package/dist/compute/v2/generated/validators/instanceFamilyListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/instanceFamilyListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/instanceId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{instanceID.zod.js → instanceId.zod.js} +8 -8
- package/dist/compute/v2/generated/validators/instanceListResponseBody.zod.d.ts +3 -1
- package/dist/compute/v2/generated/validators/instanceListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/instanceNetworkInterfaceId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/instanceNetworkInterfaceId.zod.js +44 -0
- package/dist/compute/v2/generated/validators/instanceReleaseResource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/instanceReleaseResource.zod.js +3 -3
- package/dist/compute/v2/generated/validators/instanceRestriction.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/instanceRestriction.zod.js +4 -4
- package/dist/compute/v2/generated/validators/instanceType.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/instanceType.zod.js +9 -9
- package/dist/compute/v2/generated/validators/instanceTypeId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{instanceTypeID.zod.js → instanceTypeId.zod.js} +8 -8
- package/dist/compute/v2/generated/validators/instanceTypeListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/instanceTypeListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/instanceVolumeId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{instanceVolumeID.zod.js → instanceVolumeId.zod.js} +8 -8
- package/dist/compute/v2/generated/validators/internetChargeType.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/internetChargeType.zod.js +2 -2
- package/dist/compute/v2/generated/validators/ipv4HostAddress.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{iPv4HostAddress.zod.js → ipv4HostAddress.zod.js} +8 -8
- package/dist/compute/v2/generated/validators/latestOperation.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/latestOperation.zod.js +1 -1
- package/dist/compute/v2/generated/validators/launchTemplate.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/launchTemplate.zod.js +5 -5
- package/dist/compute/v2/generated/validators/launchTemplateBootVolume.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/launchTemplateBootVolume.zod.js +5 -5
- package/dist/compute/v2/generated/validators/launchTemplateDataVolume.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/launchTemplateDataVolume.zod.js +3 -3
- package/dist/compute/v2/generated/validators/{launchTemplateElasticIP.zod.d.ts → launchTemplateElasticIp.zod.d.ts} +5 -5
- package/dist/compute/v2/generated/validators/{launchTemplateElasticIP.zod.js → launchTemplateElasticIp.zod.js} +6 -6
- package/dist/compute/v2/generated/validators/launchTemplateId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{launchTemplateID.zod.js → launchTemplateId.zod.js} +8 -8
- package/dist/compute/v2/generated/validators/launchTemplateListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/launchTemplateListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/launchTemplateNetworkInterface.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/launchTemplateNetworkInterface.zod.js +5 -5
- package/dist/compute/v2/generated/validators/launchTemplateReference.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/launchTemplateReference.zod.js +3 -3
- package/dist/compute/v2/generated/validators/launchTemplateVersion.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/launchTemplateVersion.zod.js +7 -7
- package/dist/compute/v2/generated/validators/launchTemplateVersionListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/launchTemplateVersionListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listAvailabilityZonesParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listAvailabilityZonesParams.zod.js +3 -3
- package/dist/compute/v2/generated/validators/listElasticIpLinesParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listElasticIpLinesParams.zod.js +3 -3
- package/dist/compute/v2/generated/validators/listElasticIpTrafficUsageParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listElasticIpTrafficUsageParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listElasticIpsParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listElasticIpsParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listInstanceFamiliesParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listInstanceFamiliesParams.zod.js +3 -3
- package/dist/compute/v2/generated/validators/listInstanceNetworkInterfacesParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listInstanceNetworkInterfacesParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listInstanceTypesParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listInstanceTypesParams.zod.js +7 -7
- package/dist/compute/v2/generated/validators/listInstanceVolumesParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listInstanceVolumesParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listInstancesParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listInstancesParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listLaunchTemplateVersionsParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listLaunchTemplateVersionsParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listLaunchTemplatesParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listLaunchTemplatesParams.zod.js +3 -3
- package/dist/compute/v2/generated/validators/listNetworkInterfacesParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listNetworkInterfacesParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listOperationLogsParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listOperationLogsParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listPrivateImagesParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listPrivateImagesParams.zod.js +3 -3
- package/dist/compute/v2/generated/validators/listPublicImagesParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listPublicImagesParams.zod.js +3 -3
- package/dist/compute/v2/generated/validators/listQuotasParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listQuotasParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listRegionsParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listRegionsParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listSecurityGroupRulesParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listSecurityGroupRulesParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listSecurityGroupsParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listSecurityGroupsParams.zod.js +5 -5
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudPeeringsParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudPeeringsParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudRoutesParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudRoutesParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudSubnetsParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudSubnetsParams.zod.js +1 -1
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudsParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudsParams.zod.js +3 -3
- package/dist/compute/v2/generated/validators/listVolumeBackupsParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listVolumeBackupsParams.zod.js +3 -3
- package/dist/compute/v2/generated/validators/listVolumeSnapshotsParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listVolumeSnapshotsParams.zod.js +3 -3
- package/dist/compute/v2/generated/validators/listVolumeTypesParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listVolumeTypesParams.zod.js +5 -5
- package/dist/compute/v2/generated/validators/listVolumesParams.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/listVolumesParams.zod.js +5 -5
- package/dist/compute/v2/generated/validators/money.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/money.zod.js +1 -1
- package/dist/compute/v2/generated/validators/networkInterface.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/networkInterface.zod.js +7 -7
- package/dist/compute/v2/generated/validators/networkInterfaceAddress.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/networkInterfaceAddress.zod.js +5 -5
- package/dist/compute/v2/generated/validators/networkInterfaceAddressAssociationTarget.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/networkInterfaceAddressAssociationTarget.zod.js +3 -3
- package/dist/compute/v2/generated/validators/{regionID.zod.d.ts → networkInterfaceAddressId.zod.d.ts} +7 -7
- package/dist/compute/v2/generated/validators/networkInterfaceAddressId.zod.js +44 -0
- package/dist/compute/v2/generated/validators/networkInterfaceAttachment.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/networkInterfaceAttachment.zod.js +7 -7
- package/dist/compute/v2/generated/validators/networkInterfaceAttachmentList.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/networkInterfaceAttachmentList.zod.js +1 -1
- package/dist/compute/v2/generated/validators/networkInterfaceId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{networkInterfaceID.zod.js → networkInterfaceId.zod.js} +8 -8
- package/dist/compute/v2/generated/validators/networkInterfaceListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/networkInterfaceListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/newBootVolume.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/newBootVolume.zod.js +5 -5
- package/dist/compute/v2/generated/validators/newCompute.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/newCompute.zod.js +3 -3
- package/dist/compute/v2/generated/validators/newDataVolume.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/newDataVolume.zod.js +3 -3
- package/dist/compute/v2/generated/validators/{newElasticIP.zod.d.ts → newElasticIp.zod.d.ts} +5 -5
- package/dist/compute/v2/generated/validators/{newElasticIP.zod.js → newElasticIp.zod.js} +6 -6
- package/dist/compute/v2/generated/validators/newLaunchTemplateVersion.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/newLaunchTemplateVersion.zod.js +5 -5
- package/dist/compute/v2/generated/validators/newPrimaryNetworkInterface.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/newPrimaryNetworkInterface.zod.js +5 -5
- package/dist/compute/v2/generated/validators/offsetPagination.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/offsetPagination.zod.js +1 -1
- package/dist/compute/v2/generated/validators/operationLogId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{operationLogID.zod.js → operationLogId.zod.js} +8 -8
- package/dist/compute/v2/generated/validators/operationLogListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/operationLogListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/operationLogResource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/operationLogResource.zod.js +5 -5
- package/dist/compute/v2/generated/validators/passwordChoice.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/passwordChoice.zod.js +1 -1
- package/dist/compute/v2/generated/validators/performanceFormula.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/performanceFormula.zod.js +1 -1
- package/dist/compute/v2/generated/validators/primaryNetworkInterface.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/primaryNetworkInterface.zod.js +1 -1
- package/dist/compute/v2/generated/validators/privateImageListResponseBody.zod.d.ts +3 -1
- package/dist/compute/v2/generated/validators/privateImageListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/privateImageReleaseResource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/privateImageReleaseResource.zod.js +3 -3
- package/dist/compute/v2/generated/validators/privateImageResource.zod.d.ts +3 -1
- package/dist/compute/v2/generated/validators/privateImageResource.zod.js +13 -9
- package/dist/compute/v2/generated/validators/projectQuota.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/projectQuota.zod.js +3 -3
- package/dist/compute/v2/generated/validators/projectQuotaListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/projectQuotaListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/publicImageListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/publicImageListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/publicImageResource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/publicImageResource.zod.js +5 -5
- package/dist/compute/v2/generated/validators/quotaResourceType.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/quotaResourceType.zod.js +1 -1
- package/dist/compute/v2/generated/validators/quotaSource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/quotaSource.zod.js +1 -1
- package/dist/compute/v2/generated/validators/rebootInstanceRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/rebootInstanceRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/rebuildInstanceRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/rebuildInstanceRequestBody.zod.js +3 -3
- package/dist/compute/v2/generated/validators/rebuildInstanceResponseBody.zod.d.ts +3 -1
- package/dist/compute/v2/generated/validators/rebuildInstanceResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/regionId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{regionID.zod.js → regionId.zod.js} +8 -8
- package/dist/compute/v2/generated/validators/regionListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/regionListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/regionResource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/regionResource.zod.js +3 -3
- package/dist/compute/v2/generated/validators/releaseResource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/releaseResource.zod.js +3 -3
- package/dist/compute/v2/generated/validators/releaseSetItem.zod.d.ts +2 -1
- package/dist/compute/v2/generated/validators/releaseSetItem.zod.js +4 -3
- package/dist/compute/v2/generated/validators/replaceNetworkInterfaceSecurityGroupsRequestBody.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/replaceNetworkInterfaceSecurityGroupsRequestBody.zod.js +44 -0
- package/dist/compute/v2/generated/validators/rescueInstanceResponseBody.zod.d.ts +3 -1
- package/dist/compute/v2/generated/validators/rescueInstanceResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/resetInstancePasswordResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/resetInstancePasswordResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/resizeInstanceRequestBody.zod.d.ts +50 -0
- package/dist/compute/v2/generated/validators/resizeInstanceRequestBody.zod.js +45 -0
- package/dist/compute/v2/generated/validators/{updateInstanceResponseBody.zod.d.ts → resizeInstanceResponseBody.zod.d.ts} +7 -5
- package/dist/compute/v2/generated/validators/{availabilityZoneID.zod.js → resizeInstanceResponseBody.zod.js} +14 -10
- package/dist/compute/v2/generated/validators/resizeVolumeRequestBody.zod.d.ts +50 -0
- package/dist/compute/v2/generated/validators/resizeVolumeRequestBody.zod.js +44 -0
- package/dist/compute/v2/generated/validators/retypeVolumeRequestBody.zod.d.ts +50 -0
- package/dist/compute/v2/generated/validators/retypeVolumeRequestBody.zod.js +45 -0
- package/dist/compute/v2/generated/validators/revertVolumeRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/revertVolumeRequestBody.zod.js +3 -3
- package/dist/compute/v2/generated/validators/runInstanceCommandRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/runInstanceCommandRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/runInstanceCommandResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/runInstanceCommandResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/securityGroup.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/securityGroup.zod.js +5 -5
- package/dist/compute/v2/generated/validators/securityGroupId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{securityGroupID.zod.js → securityGroupId.zod.js} +8 -8
- package/dist/compute/v2/generated/validators/securityGroupIdOrWildcard.zod.d.ts +39 -0
- package/dist/compute/v2/generated/validators/{securityGroupIDOrWildcard.zod.js → securityGroupIdOrWildcard.zod.js} +4 -4
- package/dist/compute/v2/generated/validators/securityGroupListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/securityGroupListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/securityGroupRule.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/securityGroupRule.zod.js +5 -5
- package/dist/compute/v2/generated/validators/securityGroupRuleDirection.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/securityGroupRuleDirection.zod.js +1 -1
- package/dist/compute/v2/generated/validators/securityGroupRuleId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/securityGroupRuleId.zod.js +44 -0
- package/dist/compute/v2/generated/validators/securityGroupRuleListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/securityGroupRuleListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/subnetId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{subnetID.zod.js → subnetId.zod.js} +8 -8
- package/dist/compute/v2/generated/validators/suppliedPassword.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/suppliedPassword.zod.js +1 -1
- package/dist/compute/v2/generated/validators/terminationPolicy.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/terminationPolicy.zod.js +1 -1
- package/dist/compute/v2/generated/validators/trafficUsage.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/trafficUsage.zod.js +1 -1
- package/dist/compute/v2/generated/validators/trafficUsageListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/trafficUsageListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/updateInstanceRequestBody.zod.d.ts +1 -11
- package/dist/compute/v2/generated/validators/updateInstanceRequestBody.zod.js +2 -10
- package/dist/compute/v2/generated/validators/updateLaunchTemplateRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/updateLaunchTemplateRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/updateNetworkInterfaceRequestBody.zod.d.ts +1 -3
- package/dist/compute/v2/generated/validators/updateNetworkInterfaceRequestBody.zod.js +2 -10
- package/dist/compute/v2/generated/validators/updatePrivateImageRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/updatePrivateImageRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/updateSecurityGroupRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/updateSecurityGroupRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudSubnetRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudSubnetRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/updateVolumeBackupRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/updateVolumeBackupRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/updateVolumeRequestBody.zod.d.ts +1 -12
- package/dist/compute/v2/generated/validators/updateVolumeRequestBody.zod.js +2 -15
- package/dist/compute/v2/generated/validators/updateVolumeSnapshotRequestBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/updateVolumeSnapshotRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloud.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloud.zod.js +5 -5
- package/dist/compute/v2/generated/validators/virtualPrivateCloudId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudId.zod.js +44 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudIdOrWildcard.zod.d.ts +39 -0
- package/dist/compute/v2/generated/validators/{virtualPrivateCloudIDOrWildcard.zod.js → virtualPrivateCloudIdOrWildcard.zod.js} +4 -4
- package/dist/compute/v2/generated/validators/virtualPrivateCloudListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringId.zod.js +44 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringResource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringResource.zod.js +8 -8
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteId.zod.js +44 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteResource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteResource.zod.js +7 -7
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteType.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteType.zod.js +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnet.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnet.zod.js +5 -5
- package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnetListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnetListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/volumeAttachment.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/volumeAttachment.zod.js +7 -7
- package/dist/compute/v2/generated/validators/volumeAttachmentList.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/volumeAttachmentList.zod.js +1 -1
- package/dist/compute/v2/generated/validators/volumeBackupId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{volumeBackupID.zod.js → volumeBackupId.zod.js} +8 -8
- package/dist/compute/v2/generated/validators/volumeBackupListResponseBody.zod.d.ts +3 -1
- package/dist/compute/v2/generated/validators/volumeBackupListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/volumeBackupReleaseResource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/volumeBackupReleaseResource.zod.js +3 -3
- package/dist/compute/v2/generated/validators/volumeBackupResource.zod.d.ts +3 -1
- package/dist/compute/v2/generated/validators/volumeBackupResource.zod.js +15 -11
- package/dist/compute/v2/generated/validators/{updateVolumeResponseBody.zod.d.ts → volumeChangeResponseBody.zod.d.ts} +7 -5
- package/dist/compute/v2/generated/validators/{availabilityZoneID.zod.d.ts → volumeChangeResponseBody.zod.js} +14 -7
- package/dist/compute/v2/generated/validators/volumeId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{volumeID.zod.js → volumeId.zod.js} +8 -8
- package/dist/compute/v2/generated/validators/volumeListResponseBody.zod.d.ts +3 -1
- package/dist/compute/v2/generated/validators/volumeListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/volumePerformance.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/volumePerformance.zod.js +1 -1
- package/dist/compute/v2/generated/validators/volumeReleaseResource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/volumeReleaseResource.zod.js +3 -3
- package/dist/compute/v2/generated/validators/volumeResource.zod.d.ts +3 -1
- package/dist/compute/v2/generated/validators/volumeResource.zod.js +15 -11
- package/dist/compute/v2/generated/validators/volumeSnapshotId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{volumeSnapshotID.zod.js → volumeSnapshotId.zod.js} +8 -8
- package/dist/compute/v2/generated/validators/volumeSnapshotListResponseBody.zod.d.ts +3 -1
- package/dist/compute/v2/generated/validators/volumeSnapshotListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/volumeSnapshotReleaseResource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/volumeSnapshotReleaseResource.zod.js +3 -3
- package/dist/compute/v2/generated/validators/volumeSnapshotResource.zod.d.ts +3 -1
- package/dist/compute/v2/generated/validators/volumeSnapshotResource.zod.js +15 -11
- package/dist/compute/v2/generated/validators/volumeTypeId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{volumeTypeID.zod.js → volumeTypeId.zod.js} +8 -8
- package/dist/compute/v2/generated/validators/volumeTypeListResponseBody.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/volumeTypeListResponseBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/volumeTypePerformance.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/volumeTypePerformance.zod.js +1 -1
- package/dist/compute/v2/generated/validators/volumeTypeResource.zod.d.ts +1 -1
- package/dist/compute/v2/generated/validators/volumeTypeResource.zod.js +7 -7
- package/dist/membership/v1/generated/models.d.ts +5 -0
- package/dist/membership/v1/generated/schemas.zod.d.ts +2 -0
- package/dist/membership/v1/generated/validators/checkoutOptions.zod.d.ts +2 -0
- package/dist/membership/v1/generated/validators/checkoutOptions.zod.js +5 -0
- package/dist/membership/v1/generated/validators/membershipCreate.zod.d.ts +1 -0
- package/dist/membership/v1/generated/validators/membershipUpgrade.zod.d.ts +1 -0
- package/dist/routes.d.ts +59 -19
- package/dist/routes.js +65 -20
- package/package.json +1 -1
- package/dist/compute/v2/generated/validators/elasticIPAssociationID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/elasticIPAssociationID.zod.js +0 -44
- package/dist/compute/v2/generated/validators/elasticIPID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/elasticIPLineID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/elasticIPLineID.zod.js +0 -44
- package/dist/compute/v2/generated/validators/iPv4HostAddress.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/instanceFamilyID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/instanceID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/instanceNetworkInterfaceID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/instanceNetworkInterfaceID.zod.js +0 -44
- package/dist/compute/v2/generated/validators/instanceTypeID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/instanceVolumeID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/launchTemplateID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/networkInterfaceAddressID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/networkInterfaceAddressID.zod.js +0 -44
- package/dist/compute/v2/generated/validators/networkInterfaceID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/operationLogID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/securityGroupID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/securityGroupIDOrWildcard.zod.d.ts +0 -39
- package/dist/compute/v2/generated/validators/securityGroupRuleID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/securityGroupRuleID.zod.js +0 -44
- package/dist/compute/v2/generated/validators/subnetID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/updateElasticIPRequestBody.zod.js +0 -48
- package/dist/compute/v2/generated/validators/updateElasticIPResponseBody.zod.js +0 -49
- package/dist/compute/v2/generated/validators/updateInstanceResponseBody.zod.js +0 -49
- package/dist/compute/v2/generated/validators/updateVolumeResponseBody.zod.js +0 -49
- package/dist/compute/v2/generated/validators/virtualPrivateCloudID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/virtualPrivateCloudID.zod.js +0 -44
- package/dist/compute/v2/generated/validators/virtualPrivateCloudIDOrWildcard.zod.d.ts +0 -39
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringID.zod.js +0 -44
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteID.zod.js +0 -44
- package/dist/compute/v2/generated/validators/volumeBackupID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/volumeID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/volumeSnapshotID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/volumeTypeID.zod.d.ts +0 -41
|
@@ -389,6 +389,11 @@ export interface CheckoutOptions {
|
|
|
389
389
|
* @maxLength 2048
|
|
390
390
|
*/
|
|
391
391
|
return_url?: string;
|
|
392
|
+
/**
|
|
393
|
+
* Turns on automatic renewal of every subscription with licensed items that the purchase opens. Off
|
|
394
|
+
* when omitted. It must be the customer's own choice.
|
|
395
|
+
*/
|
|
396
|
+
auto_renew?: boolean;
|
|
392
397
|
}
|
|
393
398
|
export interface MembershipCreate {
|
|
394
399
|
/** @minimum 1 */
|
|
@@ -59,6 +59,7 @@ export declare const CreateMembershipBody: zod.ZodObject<{
|
|
|
59
59
|
}>>;
|
|
60
60
|
expected_amount: zod.ZodOptional<zod.ZodIntersection<zod.ZodString, zod.ZodString>>;
|
|
61
61
|
return_url: zod.ZodOptional<zod.ZodURL>;
|
|
62
|
+
auto_renew: zod.ZodDefault<zod.ZodBoolean>;
|
|
62
63
|
}, zod.z.core.$strict>>;
|
|
63
64
|
}, zod.z.core.$strict>;
|
|
64
65
|
/**
|
|
@@ -113,6 +114,7 @@ export declare const UpgradeMembershipBody: zod.ZodObject<{
|
|
|
113
114
|
}>>;
|
|
114
115
|
expected_amount: zod.ZodOptional<zod.ZodIntersection<zod.ZodString, zod.ZodString>>;
|
|
115
116
|
return_url: zod.ZodOptional<zod.ZodURL>;
|
|
117
|
+
auto_renew: zod.ZodDefault<zod.ZodBoolean>;
|
|
116
118
|
}, zod.z.core.$strict>>;
|
|
117
119
|
}, zod.z.core.$strict>;
|
|
118
120
|
/**
|
|
@@ -9,6 +9,7 @@ import * as zod from "zod";
|
|
|
9
9
|
export declare const checkoutOptionsModeDefault = "automatic";
|
|
10
10
|
export declare const checkoutOptionsExpectedAmountTwoRegExp: RegExp;
|
|
11
11
|
export declare const checkoutOptionsReturnUrlMax = 2048;
|
|
12
|
+
export declare const checkoutOptionsAutoRenewDefault = false;
|
|
12
13
|
export declare const CheckoutOptions: zod.ZodObject<{
|
|
13
14
|
mode: zod.ZodDefault<zod.ZodEnum<{
|
|
14
15
|
automatic: "automatic";
|
|
@@ -16,6 +17,7 @@ export declare const CheckoutOptions: zod.ZodObject<{
|
|
|
16
17
|
}>>;
|
|
17
18
|
expected_amount: zod.ZodOptional<zod.ZodIntersection<zod.ZodString, zod.ZodString>>;
|
|
18
19
|
return_url: zod.ZodOptional<zod.ZodURL>;
|
|
20
|
+
auto_renew: zod.ZodDefault<zod.ZodBoolean>;
|
|
19
21
|
}, zod.z.core.$strict>;
|
|
20
22
|
export type CheckoutOptions = zod.input<typeof CheckoutOptions>;
|
|
21
23
|
export type CheckoutOptionsOutput = zod.output<typeof CheckoutOptions>;
|
|
@@ -11,6 +11,7 @@ import { Money } from "./money.zod.js";
|
|
|
11
11
|
export const checkoutOptionsModeDefault = `automatic`;
|
|
12
12
|
export const checkoutOptionsExpectedAmountTwoRegExp = new RegExp("^[0-9]{1,15}([.][0-9]{1,10})?$");
|
|
13
13
|
export const checkoutOptionsReturnUrlMax = 2048;
|
|
14
|
+
export const checkoutOptionsAutoRenewDefault = false;
|
|
14
15
|
export const CheckoutOptions = zod
|
|
15
16
|
.strictObject({
|
|
16
17
|
mode: CheckoutMode.default(checkoutOptionsModeDefault),
|
|
@@ -22,5 +23,9 @@ export const CheckoutOptions = zod
|
|
|
22
23
|
.max(checkoutOptionsReturnUrlMax)
|
|
23
24
|
.optional()
|
|
24
25
|
.describe("Where the client goes after the customer finishes a deferred checkout. Any absolute URI with a\nscheme, including mobile and desktop application schemes. Billing stores it without checking the\ntarget; each client validates its own."),
|
|
26
|
+
auto_renew: zod
|
|
27
|
+
.boolean()
|
|
28
|
+
.default(checkoutOptionsAutoRenewDefault)
|
|
29
|
+
.describe("Turns on automatic renewal of every subscription with licensed items that the purchase opens. Off\nwhen omitted. It must be the customer's own choice."),
|
|
25
30
|
})
|
|
26
31
|
.describe("Shared checkout choices for a product purchase. The service may set them or forward its client's\nchoices unchanged; it does not need to read them, and Billing validates them. Omitting this object or\nmode selects automatic checkout. Each purchase creates its own Checkout Session. Promotion codes are supplied\nonly to Billing. A service may retain a failed creation record when Billing refuses a purchase; no\ninfrastructure is created for that refusal.");
|
|
@@ -17,6 +17,7 @@ export declare const MembershipCreate: zod.ZodObject<{
|
|
|
17
17
|
}>>;
|
|
18
18
|
expected_amount: zod.ZodOptional<zod.ZodIntersection<zod.ZodString, zod.ZodString>>;
|
|
19
19
|
return_url: zod.ZodOptional<zod.ZodURL>;
|
|
20
|
+
auto_renew: zod.ZodDefault<zod.ZodBoolean>;
|
|
20
21
|
}, zod.z.core.$strict>>;
|
|
21
22
|
}, zod.z.core.$strict>;
|
|
22
23
|
export type MembershipCreate = zod.input<typeof MembershipCreate>;
|
|
@@ -15,6 +15,7 @@ export declare const MembershipUpgrade: zod.ZodObject<{
|
|
|
15
15
|
}>>;
|
|
16
16
|
expected_amount: zod.ZodOptional<zod.ZodIntersection<zod.ZodString, zod.ZodString>>;
|
|
17
17
|
return_url: zod.ZodOptional<zod.ZodURL>;
|
|
18
|
+
auto_renew: zod.ZodDefault<zod.ZodBoolean>;
|
|
18
19
|
}, zod.z.core.$strict>>;
|
|
19
20
|
}, zod.z.core.$strict>;
|
|
20
21
|
export type MembershipUpgrade = zod.input<typeof MembershipUpgrade>;
|
package/dist/routes.d.ts
CHANGED
|
@@ -1334,6 +1334,14 @@ export declare const routes: readonly [{
|
|
|
1334
1334
|
readonly operationId: "get-subscription";
|
|
1335
1335
|
readonly securityScheme: "AccessToken";
|
|
1336
1336
|
readonly upstreamUrl: "https://billing.leaflow.cloud";
|
|
1337
|
+
}, {
|
|
1338
|
+
readonly service: "billing";
|
|
1339
|
+
readonly contract: "billing";
|
|
1340
|
+
readonly method: "PATCH";
|
|
1341
|
+
readonly path: "/api/v1/subscriptions/{subscriptionId}";
|
|
1342
|
+
readonly operationId: "update-subscription";
|
|
1343
|
+
readonly securityScheme: "AccessToken";
|
|
1344
|
+
readonly upstreamUrl: "https://billing.leaflow.cloud";
|
|
1337
1345
|
}, {
|
|
1338
1346
|
readonly service: "billing";
|
|
1339
1347
|
readonly contract: "billing";
|
|
@@ -1404,15 +1412,15 @@ export declare const routes: readonly [{
|
|
|
1404
1412
|
readonly contract: "billing";
|
|
1405
1413
|
readonly method: "DELETE";
|
|
1406
1414
|
readonly path: "/api/v1/cancellations/{cancellationId}";
|
|
1407
|
-
readonly operationId: "
|
|
1415
|
+
readonly operationId: "delete-cancellation";
|
|
1408
1416
|
readonly securityScheme: "AccessToken";
|
|
1409
1417
|
readonly upstreamUrl: "https://billing.leaflow.cloud";
|
|
1410
1418
|
}, {
|
|
1411
1419
|
readonly service: "billing";
|
|
1412
1420
|
readonly contract: "billing";
|
|
1413
1421
|
readonly method: "GET";
|
|
1414
|
-
readonly path: "/api/v1/subscriptions/{subscriptionId}/renewal-
|
|
1415
|
-
readonly operationId: "list-renewal-
|
|
1422
|
+
readonly path: "/api/v1/subscriptions/{subscriptionId}/renewal-options";
|
|
1423
|
+
readonly operationId: "list-renewal-options";
|
|
1416
1424
|
readonly securityScheme: "AccessToken";
|
|
1417
1425
|
readonly upstreamUrl: "https://billing.leaflow.cloud";
|
|
1418
1426
|
}, {
|
|
@@ -1423,14 +1431,6 @@ export declare const routes: readonly [{
|
|
|
1423
1431
|
readonly operationId: "renew-subscription";
|
|
1424
1432
|
readonly securityScheme: "AccessToken";
|
|
1425
1433
|
readonly upstreamUrl: "https://billing.leaflow.cloud";
|
|
1426
|
-
}, {
|
|
1427
|
-
readonly service: "billing";
|
|
1428
|
-
readonly contract: "billing";
|
|
1429
|
-
readonly method: "PUT";
|
|
1430
|
-
readonly path: "/api/v1/subscriptions/{subscriptionId}/auto-renew";
|
|
1431
|
-
readonly operationId: "set-auto-renew";
|
|
1432
|
-
readonly securityScheme: "AccessToken";
|
|
1433
|
-
readonly upstreamUrl: "https://billing.leaflow.cloud";
|
|
1434
1434
|
}, {
|
|
1435
1435
|
readonly service: "billing";
|
|
1436
1436
|
readonly contract: "billing";
|
|
@@ -1950,17 +1950,25 @@ export declare const routes: readonly [{
|
|
|
1950
1950
|
}, {
|
|
1951
1951
|
readonly service: "compute";
|
|
1952
1952
|
readonly contract: "compute";
|
|
1953
|
-
readonly method: "
|
|
1953
|
+
readonly method: "DELETE";
|
|
1954
1954
|
readonly path: "/api/v2/elastic-ips/{elasticIpId}";
|
|
1955
|
-
readonly operationId: "
|
|
1955
|
+
readonly operationId: "delete-elastic-ip";
|
|
1956
1956
|
readonly securityScheme: "ScopedToken";
|
|
1957
1957
|
readonly upstreamUrl: "https://compute.leaflow.cloud";
|
|
1958
1958
|
}, {
|
|
1959
1959
|
readonly service: "compute";
|
|
1960
1960
|
readonly contract: "compute";
|
|
1961
|
-
readonly method: "
|
|
1962
|
-
readonly path: "/api/v2/elastic-ips/{elasticIpId}";
|
|
1963
|
-
readonly operationId: "
|
|
1961
|
+
readonly method: "POST";
|
|
1962
|
+
readonly path: "/api/v2/elastic-ips/{elasticIpId}:changeBandwidth";
|
|
1963
|
+
readonly operationId: "change-elastic-ip-bandwidth";
|
|
1964
|
+
readonly securityScheme: "ScopedToken";
|
|
1965
|
+
readonly upstreamUrl: "https://compute.leaflow.cloud";
|
|
1966
|
+
}, {
|
|
1967
|
+
readonly service: "compute";
|
|
1968
|
+
readonly contract: "compute";
|
|
1969
|
+
readonly method: "POST";
|
|
1970
|
+
readonly path: "/api/v2/elastic-ips/{elasticIpId}:changeChargeType";
|
|
1971
|
+
readonly operationId: "change-elastic-ip-charge-type";
|
|
1964
1972
|
readonly securityScheme: "ScopedToken";
|
|
1965
1973
|
readonly upstreamUrl: "https://compute.leaflow.cloud";
|
|
1966
1974
|
}, {
|
|
@@ -2071,6 +2079,14 @@ export declare const routes: readonly [{
|
|
|
2071
2079
|
readonly operationId: "delete-instance";
|
|
2072
2080
|
readonly securityScheme: "ScopedToken";
|
|
2073
2081
|
readonly upstreamUrl: "https://compute.leaflow.cloud";
|
|
2082
|
+
}, {
|
|
2083
|
+
readonly service: "compute";
|
|
2084
|
+
readonly contract: "compute";
|
|
2085
|
+
readonly method: "POST";
|
|
2086
|
+
readonly path: "/api/v2/instances/{instanceId}:resize";
|
|
2087
|
+
readonly operationId: "resize-instance";
|
|
2088
|
+
readonly securityScheme: "ScopedToken";
|
|
2089
|
+
readonly upstreamUrl: "https://compute.leaflow.cloud";
|
|
2074
2090
|
}, {
|
|
2075
2091
|
readonly service: "compute";
|
|
2076
2092
|
readonly contract: "compute";
|
|
@@ -2098,9 +2114,9 @@ export declare const routes: readonly [{
|
|
|
2098
2114
|
}, {
|
|
2099
2115
|
readonly service: "compute";
|
|
2100
2116
|
readonly contract: "compute";
|
|
2101
|
-
readonly method: "
|
|
2102
|
-
readonly path: "/api/v2/instances/{instanceId}
|
|
2103
|
-
readonly operationId: "
|
|
2117
|
+
readonly method: "POST";
|
|
2118
|
+
readonly path: "/api/v2/instances/{instanceId}:createConsoleUrl";
|
|
2119
|
+
readonly operationId: "create-instance-console-url";
|
|
2104
2120
|
readonly securityScheme: "ScopedToken";
|
|
2105
2121
|
readonly upstreamUrl: "https://compute.leaflow.cloud";
|
|
2106
2122
|
}, {
|
|
@@ -2303,6 +2319,14 @@ export declare const routes: readonly [{
|
|
|
2303
2319
|
readonly operationId: "delete-network-interface";
|
|
2304
2320
|
readonly securityScheme: "ScopedToken";
|
|
2305
2321
|
readonly upstreamUrl: "https://compute.leaflow.cloud";
|
|
2322
|
+
}, {
|
|
2323
|
+
readonly service: "compute";
|
|
2324
|
+
readonly contract: "compute";
|
|
2325
|
+
readonly method: "POST";
|
|
2326
|
+
readonly path: "/api/v2/network-interfaces/{networkInterfaceId}:replaceSecurityGroups";
|
|
2327
|
+
readonly operationId: "replace-network-interface-security-groups";
|
|
2328
|
+
readonly securityScheme: "ScopedToken";
|
|
2329
|
+
readonly upstreamUrl: "https://compute.leaflow.cloud";
|
|
2306
2330
|
}, {
|
|
2307
2331
|
readonly service: "compute";
|
|
2308
2332
|
readonly contract: "compute";
|
|
@@ -2821,6 +2845,22 @@ export declare const routes: readonly [{
|
|
|
2821
2845
|
readonly operationId: "delete-volume";
|
|
2822
2846
|
readonly securityScheme: "ScopedToken";
|
|
2823
2847
|
readonly upstreamUrl: "https://compute.leaflow.cloud";
|
|
2848
|
+
}, {
|
|
2849
|
+
readonly service: "compute";
|
|
2850
|
+
readonly contract: "compute";
|
|
2851
|
+
readonly method: "POST";
|
|
2852
|
+
readonly path: "/api/v2/volumes/{volumeId}:resize";
|
|
2853
|
+
readonly operationId: "resize-volume";
|
|
2854
|
+
readonly securityScheme: "ScopedToken";
|
|
2855
|
+
readonly upstreamUrl: "https://compute.leaflow.cloud";
|
|
2856
|
+
}, {
|
|
2857
|
+
readonly service: "compute";
|
|
2858
|
+
readonly contract: "compute";
|
|
2859
|
+
readonly method: "POST";
|
|
2860
|
+
readonly path: "/api/v2/volumes/{volumeId}:retype";
|
|
2861
|
+
readonly operationId: "retype-volume";
|
|
2862
|
+
readonly securityScheme: "ScopedToken";
|
|
2863
|
+
readonly upstreamUrl: "https://compute.leaflow.cloud";
|
|
2824
2864
|
}, {
|
|
2825
2865
|
readonly service: "compute";
|
|
2826
2866
|
readonly contract: "compute";
|
package/dist/routes.js
CHANGED
|
@@ -1503,6 +1503,15 @@ export const routes = [
|
|
|
1503
1503
|
securityScheme: "AccessToken",
|
|
1504
1504
|
upstreamUrl: "https://billing.leaflow.cloud",
|
|
1505
1505
|
},
|
|
1506
|
+
{
|
|
1507
|
+
service: "billing",
|
|
1508
|
+
contract: "billing",
|
|
1509
|
+
method: "PATCH",
|
|
1510
|
+
path: "/api/v1/subscriptions/{subscriptionId}",
|
|
1511
|
+
operationId: "update-subscription",
|
|
1512
|
+
securityScheme: "AccessToken",
|
|
1513
|
+
upstreamUrl: "https://billing.leaflow.cloud",
|
|
1514
|
+
},
|
|
1506
1515
|
{
|
|
1507
1516
|
service: "billing",
|
|
1508
1517
|
contract: "billing",
|
|
@@ -1581,7 +1590,7 @@ export const routes = [
|
|
|
1581
1590
|
contract: "billing",
|
|
1582
1591
|
method: "DELETE",
|
|
1583
1592
|
path: "/api/v1/cancellations/{cancellationId}",
|
|
1584
|
-
operationId: "
|
|
1593
|
+
operationId: "delete-cancellation",
|
|
1585
1594
|
securityScheme: "AccessToken",
|
|
1586
1595
|
upstreamUrl: "https://billing.leaflow.cloud",
|
|
1587
1596
|
},
|
|
@@ -1589,8 +1598,8 @@ export const routes = [
|
|
|
1589
1598
|
service: "billing",
|
|
1590
1599
|
contract: "billing",
|
|
1591
1600
|
method: "GET",
|
|
1592
|
-
path: "/api/v1/subscriptions/{subscriptionId}/renewal-
|
|
1593
|
-
operationId: "list-renewal-
|
|
1601
|
+
path: "/api/v1/subscriptions/{subscriptionId}/renewal-options",
|
|
1602
|
+
operationId: "list-renewal-options",
|
|
1594
1603
|
securityScheme: "AccessToken",
|
|
1595
1604
|
upstreamUrl: "https://billing.leaflow.cloud",
|
|
1596
1605
|
},
|
|
@@ -1603,15 +1612,6 @@ export const routes = [
|
|
|
1603
1612
|
securityScheme: "AccessToken",
|
|
1604
1613
|
upstreamUrl: "https://billing.leaflow.cloud",
|
|
1605
1614
|
},
|
|
1606
|
-
{
|
|
1607
|
-
service: "billing",
|
|
1608
|
-
contract: "billing",
|
|
1609
|
-
method: "PUT",
|
|
1610
|
-
path: "/api/v1/subscriptions/{subscriptionId}/auto-renew",
|
|
1611
|
-
operationId: "set-auto-renew",
|
|
1612
|
-
securityScheme: "AccessToken",
|
|
1613
|
-
upstreamUrl: "https://billing.leaflow.cloud",
|
|
1614
|
-
},
|
|
1615
1615
|
{
|
|
1616
1616
|
service: "billing",
|
|
1617
1617
|
contract: "billing",
|
|
@@ -2195,18 +2195,27 @@ export const routes = [
|
|
|
2195
2195
|
{
|
|
2196
2196
|
service: "compute",
|
|
2197
2197
|
contract: "compute",
|
|
2198
|
-
method: "
|
|
2198
|
+
method: "DELETE",
|
|
2199
2199
|
path: "/api/v2/elastic-ips/{elasticIpId}",
|
|
2200
|
-
operationId: "
|
|
2200
|
+
operationId: "delete-elastic-ip",
|
|
2201
2201
|
securityScheme: "ScopedToken",
|
|
2202
2202
|
upstreamUrl: "https://compute.leaflow.cloud",
|
|
2203
2203
|
},
|
|
2204
2204
|
{
|
|
2205
2205
|
service: "compute",
|
|
2206
2206
|
contract: "compute",
|
|
2207
|
-
method: "
|
|
2208
|
-
path: "/api/v2/elastic-ips/{elasticIpId}",
|
|
2209
|
-
operationId: "
|
|
2207
|
+
method: "POST",
|
|
2208
|
+
path: "/api/v2/elastic-ips/{elasticIpId}:changeBandwidth",
|
|
2209
|
+
operationId: "change-elastic-ip-bandwidth",
|
|
2210
|
+
securityScheme: "ScopedToken",
|
|
2211
|
+
upstreamUrl: "https://compute.leaflow.cloud",
|
|
2212
|
+
},
|
|
2213
|
+
{
|
|
2214
|
+
service: "compute",
|
|
2215
|
+
contract: "compute",
|
|
2216
|
+
method: "POST",
|
|
2217
|
+
path: "/api/v2/elastic-ips/{elasticIpId}:changeChargeType",
|
|
2218
|
+
operationId: "change-elastic-ip-charge-type",
|
|
2210
2219
|
securityScheme: "ScopedToken",
|
|
2211
2220
|
upstreamUrl: "https://compute.leaflow.cloud",
|
|
2212
2221
|
},
|
|
@@ -2331,6 +2340,15 @@ export const routes = [
|
|
|
2331
2340
|
securityScheme: "ScopedToken",
|
|
2332
2341
|
upstreamUrl: "https://compute.leaflow.cloud",
|
|
2333
2342
|
},
|
|
2343
|
+
{
|
|
2344
|
+
service: "compute",
|
|
2345
|
+
contract: "compute",
|
|
2346
|
+
method: "POST",
|
|
2347
|
+
path: "/api/v2/instances/{instanceId}:resize",
|
|
2348
|
+
operationId: "resize-instance",
|
|
2349
|
+
securityScheme: "ScopedToken",
|
|
2350
|
+
upstreamUrl: "https://compute.leaflow.cloud",
|
|
2351
|
+
},
|
|
2334
2352
|
{
|
|
2335
2353
|
service: "compute",
|
|
2336
2354
|
contract: "compute",
|
|
@@ -2361,9 +2379,9 @@ export const routes = [
|
|
|
2361
2379
|
{
|
|
2362
2380
|
service: "compute",
|
|
2363
2381
|
contract: "compute",
|
|
2364
|
-
method: "
|
|
2365
|
-
path: "/api/v2/instances/{instanceId}
|
|
2366
|
-
operationId: "
|
|
2382
|
+
method: "POST",
|
|
2383
|
+
path: "/api/v2/instances/{instanceId}:createConsoleUrl",
|
|
2384
|
+
operationId: "create-instance-console-url",
|
|
2367
2385
|
securityScheme: "ScopedToken",
|
|
2368
2386
|
upstreamUrl: "https://compute.leaflow.cloud",
|
|
2369
2387
|
},
|
|
@@ -2592,6 +2610,15 @@ export const routes = [
|
|
|
2592
2610
|
securityScheme: "ScopedToken",
|
|
2593
2611
|
upstreamUrl: "https://compute.leaflow.cloud",
|
|
2594
2612
|
},
|
|
2613
|
+
{
|
|
2614
|
+
service: "compute",
|
|
2615
|
+
contract: "compute",
|
|
2616
|
+
method: "POST",
|
|
2617
|
+
path: "/api/v2/network-interfaces/{networkInterfaceId}:replaceSecurityGroups",
|
|
2618
|
+
operationId: "replace-network-interface-security-groups",
|
|
2619
|
+
securityScheme: "ScopedToken",
|
|
2620
|
+
upstreamUrl: "https://compute.leaflow.cloud",
|
|
2621
|
+
},
|
|
2595
2622
|
{
|
|
2596
2623
|
service: "compute",
|
|
2597
2624
|
contract: "compute",
|
|
@@ -3174,6 +3201,24 @@ export const routes = [
|
|
|
3174
3201
|
securityScheme: "ScopedToken",
|
|
3175
3202
|
upstreamUrl: "https://compute.leaflow.cloud",
|
|
3176
3203
|
},
|
|
3204
|
+
{
|
|
3205
|
+
service: "compute",
|
|
3206
|
+
contract: "compute",
|
|
3207
|
+
method: "POST",
|
|
3208
|
+
path: "/api/v2/volumes/{volumeId}:resize",
|
|
3209
|
+
operationId: "resize-volume",
|
|
3210
|
+
securityScheme: "ScopedToken",
|
|
3211
|
+
upstreamUrl: "https://compute.leaflow.cloud",
|
|
3212
|
+
},
|
|
3213
|
+
{
|
|
3214
|
+
service: "compute",
|
|
3215
|
+
contract: "compute",
|
|
3216
|
+
method: "POST",
|
|
3217
|
+
path: "/api/v2/volumes/{volumeId}:retype",
|
|
3218
|
+
operationId: "retype-volume",
|
|
3219
|
+
securityScheme: "ScopedToken",
|
|
3220
|
+
upstreamUrl: "https://compute.leaflow.cloud",
|
|
3221
|
+
},
|
|
3177
3222
|
{
|
|
3178
3223
|
service: "compute",
|
|
3179
3224
|
contract: "compute",
|
package/package.json
CHANGED
|
@@ -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>;
|