@leaflow/sdk 0.0.0-dev.357.gf8331d0 → 0.0.0-dev.359.gca6d1b5
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/account/v1/generated/functions.d.ts +10 -3
- package/dist/account/v1/generated/functions.js +8 -3
- package/dist/account/v1/generated/models.d.ts +2 -0
- package/dist/account/v1/generated/schemas.zod.d.ts +10 -3
- package/dist/account/v1/generated/schemas.zod.js +10 -3
- package/dist/account/v1/generated/validators/acceptConsentsRequestBody.zod.d.ts +2 -0
- package/dist/account/v1/generated/validators/acceptConsentsRequestBody.zod.js +2 -0
- package/dist/account/v1/generated/validators/acceptInvitationByTokenRequestBody.zod.d.ts +2 -0
- package/dist/account/v1/generated/validators/acceptInvitationByTokenRequestBody.zod.js +2 -0
- package/dist/account/v1/generated/validators/acceptedInvitationResponseBody.zod.d.ts +2 -0
- package/dist/account/v1/generated/validators/acceptedInvitationResponseBody.zod.js +2 -0
- package/dist/account/v1/generated/validators/accountResource.zod.d.ts +2 -0
- package/dist/account/v1/generated/validators/accountResource.zod.js +2 -0
- package/dist/account/v1/generated/validators/agreementListResponseBody.zod.d.ts +2 -0
- package/dist/account/v1/generated/validators/agreementListResponseBody.zod.js +2 -0
- package/dist/account/v1/generated/validators/agreementResource.zod.d.ts +2 -0
- package/dist/account/v1/generated/validators/agreementResource.zod.js +2 -0
- package/dist/account/v1/generated/validators/consentBody.zod.d.ts +2 -0
- package/dist/account/v1/generated/validators/consentBody.zod.js +2 -0
- package/dist/account/v1/generated/validators/consentListResponseBody.zod.d.ts +2 -0
- package/dist/account/v1/generated/validators/consentListResponseBody.zod.js +2 -0
- package/dist/account/v1/generated/validators/consentResource.zod.d.ts +2 -0
- package/dist/account/v1/generated/validators/consentResource.zod.js +2 -0
- package/dist/account/v1/generated/validators/countryOption.zod.d.ts +2 -0
- package/dist/account/v1/generated/validators/countryOption.zod.js +2 -0
- package/dist/account/v1/generated/validators/createProjectRequestBody.zod.d.ts +2 -0
- package/dist/account/v1/generated/validators/createProjectRequestBody.zod.js +2 -0
- package/dist/account/v1/generated/validators/cursorPagination.zod.d.ts +2 -0
- package/dist/account/v1/generated/validators/cursorPagination.zod.js +2 -0
- package/dist/account/v1/generated/validators/error.zod.d.ts +2 -0
- package/dist/account/v1/generated/validators/error.zod.js +2 -0
- package/dist/account/v1/generated/validators/grantResource.zod.d.ts +2 -0
- package/dist/account/v1/generated/validators/grantResource.zod.js +2 -0
- package/dist/account/v1/generated/validators/identityVerificationResource.zod.d.ts +2 -0
- package/dist/account/v1/generated/validators/identityVerificationResource.zod.js +2 -0
- package/dist/account/v1/generated/validators/invitationPreviewResource.zod.d.ts +2 -0
- package/dist/account/v1/generated/validators/invitationPreviewResource.zod.js +2 -0
- package/dist/account/v1/generated/validators/invitationResource.zod.d.ts +2 -0
- package/dist/account/v1/generated/validators/invitationResource.zod.js +2 -0
- package/dist/account/v1/generated/validators/languageOption.zod.d.ts +2 -0
- package/dist/account/v1/generated/validators/languageOption.zod.js +2 -0
- package/dist/account/v1/generated/validators/lengthAwarePageInvitationResource.zod.d.ts +2 -0
- package/dist/account/v1/generated/validators/lengthAwarePageInvitationResource.zod.js +2 -0
- package/dist/account/v1/generated/validators/lengthAwarePageProjectAccessResource.zod.d.ts +2 -0
- package/dist/account/v1/generated/validators/lengthAwarePageProjectAccessResource.zod.js +2 -0
- package/dist/account/v1/generated/validators/listMyInvitationsParams.zod.d.ts +2 -0
- package/dist/account/v1/generated/validators/listMyInvitationsParams.zod.js +2 -0
- package/dist/account/v1/generated/validators/listProjectsParams.zod.d.ts +2 -0
- package/dist/account/v1/generated/validators/listProjectsParams.zod.js +2 -0
- package/dist/account/v1/generated/validators/locale.zod.d.ts +2 -0
- package/dist/account/v1/generated/validators/locale.zod.js +2 -0
- package/dist/account/v1/generated/validators/localeOptionsResource.zod.d.ts +2 -0
- package/dist/account/v1/generated/validators/localeOptionsResource.zod.js +2 -0
- package/dist/account/v1/generated/validators/offsetPagination.zod.d.ts +2 -0
- package/dist/account/v1/generated/validators/offsetPagination.zod.js +2 -0
- package/dist/account/v1/generated/validators/previewInvitationByTokenParams.zod.d.ts +2 -0
- package/dist/account/v1/generated/validators/previewInvitationByTokenParams.zod.js +2 -0
- package/dist/account/v1/generated/validators/projectAccessResource.zod.d.ts +2 -0
- package/dist/account/v1/generated/validators/projectAccessResource.zod.js +2 -0
- package/dist/account/v1/generated/validators/projectResource.zod.d.ts +2 -0
- package/dist/account/v1/generated/validators/projectResource.zod.js +2 -0
- package/dist/account/v1/generated/validators/projectSlugAvailabilityResource.zod.d.ts +2 -0
- package/dist/account/v1/generated/validators/projectSlugAvailabilityResource.zod.js +2 -0
- package/dist/account/v1/generated/validators/projectTraitResource.zod.d.ts +2 -0
- package/dist/account/v1/generated/validators/projectTraitResource.zod.js +2 -0
- package/dist/account/v1/generated/validators/registerRequestBody.zod.d.ts +2 -0
- package/dist/account/v1/generated/validators/registerRequestBody.zod.js +2 -0
- package/dist/account/v1/generated/validators/resourceRefResource.zod.d.ts +2 -0
- package/dist/account/v1/generated/validators/resourceRefResource.zod.js +2 -0
- package/dist/account/v1/generated/validators/ruleResource.zod.d.ts +2 -0
- package/dist/account/v1/generated/validators/ruleResource.zod.js +2 -0
- package/dist/account/v1/generated/validators/scopedTokenResponseBody.zod.d.ts +2 -0
- package/dist/account/v1/generated/validators/scopedTokenResponseBody.zod.js +2 -0
- package/dist/account/v1/generated/validators/settingsResource.zod.d.ts +2 -0
- package/dist/account/v1/generated/validators/settingsResource.zod.js +2 -0
- package/dist/account/v1/generated/validators/submitIdentityVerificationRequestBody.zod.d.ts +2 -0
- package/dist/account/v1/generated/validators/submitIdentityVerificationRequestBody.zod.js +2 -0
- package/dist/account/v1/generated/validators/updateAccountRequestBody.zod.d.ts +2 -0
- package/dist/account/v1/generated/validators/updateAccountRequestBody.zod.js +2 -0
- package/dist/billing/type/order/v1/generated/models.d.ts +71 -33
- package/dist/billing/type/order/v1/generated/models.js +2 -1
- package/dist/billing/type/order/v1/generated/validators/cancelSubscriptionRequest.zod.js +2 -2
- package/dist/billing/type/order/v1/generated/validators/cancellation.zod.js +2 -2
- package/dist/billing/type/order/v1/generated/validators/cancellationCreate.zod.js +2 -2
- package/dist/billing/type/order/v1/generated/validators/{terminationPolicy.zod.d.ts → cancellationPolicy.zod.d.ts} +3 -3
- package/dist/billing/type/order/v1/generated/validators/{terminationPolicy.zod.js → cancellationPolicy.zod.js} +2 -2
- package/dist/billing/type/order/v1/generated/validators/cancellationRefundPreview.zod.d.ts +2 -0
- package/dist/billing/type/order/v1/generated/validators/cancellationRefundPreview.zod.js +4 -3
- package/dist/billing/type/order/v1/generated/validators/cancellationRefundPreviewItem.zod.d.ts +1 -0
- package/dist/billing/type/order/v1/generated/validators/cancellationRefundPreviewItem.zod.js +1 -0
- package/dist/billing/type/order/v1/generated/validators/order.zod.d.ts +5 -3
- package/dist/billing/type/order/v1/generated/validators/orderItem.zod.d.ts +5 -3
- package/dist/billing/type/order/v1/generated/validators/orderItem.zod.js +10 -6
- package/dist/billing/type/order/v1/generated/validators/orderItemList.zod.d.ts +5 -3
- package/dist/billing/type/order/v1/generated/validators/orderList.zod.d.ts +5 -3
- package/dist/billing/type/order/v1/generated/validators/orderRefundQuote.zod.js +1 -1
- package/dist/billing/type/order/v1/generated/validators/price.zod.d.ts +4 -1
- package/dist/billing/type/order/v1/generated/validators/price.zod.js +10 -2
- package/dist/billing/type/order/v1/generated/validators/priceList.zod.d.ts +4 -1
- package/dist/billing/type/order/v1/generated/validators/quote.zod.d.ts +2 -0
- package/dist/billing/type/order/v1/generated/validators/quoteCancellation.zod.js +2 -2
- package/dist/billing/type/order/v1/generated/validators/quoteItemInput.zod.d.ts +1 -1
- package/dist/billing/type/order/v1/generated/validators/quoteItemInput.zod.js +2 -2
- package/dist/billing/type/order/v1/generated/validators/quoteRenewal.zod.d.ts +1 -1
- package/dist/billing/type/order/v1/generated/validators/quoteRenewal.zod.js +3 -3
- package/dist/billing/type/order/v1/generated/validators/quoteRequest.zod.d.ts +2 -2
- package/dist/billing/type/order/v1/generated/validators/refundPolicy.zod.d.ts +1 -0
- package/dist/billing/type/order/v1/generated/validators/refundPolicy.zod.js +2 -2
- package/dist/billing/type/order/v1/generated/validators/refundReason.zod.js +1 -1
- package/dist/billing/type/order/v1/generated/validators/renewRequest.zod.d.ts +1 -1
- package/dist/billing/type/order/v1/generated/validators/renewRequest.zod.js +3 -3
- package/dist/billing/type/order/v1/generated/validators/renewalOrderRequest.zod.d.ts +1 -1
- package/dist/billing/type/order/v1/generated/validators/renewalOrderRequest.zod.js +2 -2
- package/dist/billing/type/order/v1/generated/validators/renewalPrice.zod.d.ts +4 -1
- package/dist/billing/type/order/v1/generated/validators/renewalPrice.zod.js +4 -2
- package/dist/billing/type/order/v1/generated/validators/renewalPriceList.zod.d.ts +4 -1
- package/dist/billing/type/order/v1/generated/validators/subscription.zod.d.ts +5 -1
- package/dist/billing/type/order/v1/generated/validators/subscription.zod.js +14 -2
- package/dist/billing/type/order/v1/generated/validators/subscriptionList.zod.d.ts +5 -1
- package/dist/billing/v1/generated/functions.d.ts +1 -1
- package/dist/billing/v1/generated/functions.js +1 -1
- package/dist/billing/v1/generated/models.d.ts +71 -33
- package/dist/billing/v1/generated/models.js +2 -1
- package/dist/billing/v1/generated/schemas.zod.d.ts +3 -3
- package/dist/billing/v1/generated/schemas.zod.js +1 -1
- package/dist/billing/v1/generated/validators/cancelSubscriptionRequest.zod.js +2 -2
- package/dist/billing/v1/generated/validators/cancellation.zod.js +2 -2
- package/dist/billing/v1/generated/validators/cancellationCreate.zod.js +2 -2
- package/dist/billing/v1/generated/validators/{terminationPolicy.zod.d.ts → cancellationPolicy.zod.d.ts} +3 -3
- package/dist/billing/v1/generated/validators/{terminationPolicy.zod.js → cancellationPolicy.zod.js} +2 -2
- package/dist/billing/v1/generated/validators/cancellationRefundPreview.zod.d.ts +2 -0
- package/dist/billing/v1/generated/validators/cancellationRefundPreview.zod.js +4 -3
- package/dist/billing/v1/generated/validators/cancellationRefundPreviewItem.zod.d.ts +1 -0
- package/dist/billing/v1/generated/validators/cancellationRefundPreviewItem.zod.js +1 -0
- package/dist/billing/v1/generated/validators/order.zod.d.ts +5 -3
- package/dist/billing/v1/generated/validators/orderItem.zod.d.ts +5 -3
- package/dist/billing/v1/generated/validators/orderItem.zod.js +10 -6
- package/dist/billing/v1/generated/validators/orderItemList.zod.d.ts +5 -3
- package/dist/billing/v1/generated/validators/orderList.zod.d.ts +5 -3
- package/dist/billing/v1/generated/validators/orderRefundQuote.zod.js +1 -1
- package/dist/billing/v1/generated/validators/price.zod.d.ts +4 -1
- package/dist/billing/v1/generated/validators/price.zod.js +10 -2
- package/dist/billing/v1/generated/validators/priceList.zod.d.ts +4 -1
- package/dist/billing/v1/generated/validators/quote.zod.d.ts +2 -0
- package/dist/billing/v1/generated/validators/quoteCancellation.zod.js +2 -2
- package/dist/billing/v1/generated/validators/quoteItemInput.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/quoteItemInput.zod.js +2 -2
- package/dist/billing/v1/generated/validators/quoteRenewal.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/quoteRenewal.zod.js +3 -3
- package/dist/billing/v1/generated/validators/quoteRequest.zod.d.ts +2 -2
- package/dist/billing/v1/generated/validators/refundPolicy.zod.d.ts +1 -0
- package/dist/billing/v1/generated/validators/refundPolicy.zod.js +2 -2
- package/dist/billing/v1/generated/validators/refundReason.zod.js +1 -1
- package/dist/billing/v1/generated/validators/renewRequest.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/renewRequest.zod.js +3 -3
- package/dist/billing/v1/generated/validators/renewalOrderRequest.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/renewalOrderRequest.zod.js +2 -2
- package/dist/billing/v1/generated/validators/renewalPrice.zod.d.ts +4 -1
- package/dist/billing/v1/generated/validators/renewalPrice.zod.js +4 -2
- package/dist/billing/v1/generated/validators/renewalPriceList.zod.d.ts +4 -1
- package/dist/billing/v1/generated/validators/subscription.zod.d.ts +5 -1
- package/dist/billing/v1/generated/validators/subscription.zod.js +14 -2
- package/dist/billing/v1/generated/validators/subscriptionList.zod.d.ts +5 -1
- package/dist/canopy/v1/generated/models.d.ts +71 -33
- package/dist/canopy/v1/generated/models.js +2 -1
- package/dist/canopy/v1/generated/validators/cancelSubscriptionRequest.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/cancellation.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/cancellationCreate.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/{terminationPolicy.zod.d.ts → cancellationPolicy.zod.d.ts} +3 -3
- package/dist/canopy/v1/generated/validators/{terminationPolicy.zod.js → cancellationPolicy.zod.js} +2 -2
- package/dist/canopy/v1/generated/validators/cancellationRefundPreview.zod.d.ts +2 -0
- package/dist/canopy/v1/generated/validators/cancellationRefundPreview.zod.js +4 -3
- package/dist/canopy/v1/generated/validators/cancellationRefundPreviewItem.zod.d.ts +1 -0
- package/dist/canopy/v1/generated/validators/cancellationRefundPreviewItem.zod.js +1 -0
- package/dist/canopy/v1/generated/validators/order.zod.d.ts +5 -3
- package/dist/canopy/v1/generated/validators/orderItem.zod.d.ts +5 -3
- package/dist/canopy/v1/generated/validators/orderItem.zod.js +10 -6
- package/dist/canopy/v1/generated/validators/orderItemList.zod.d.ts +5 -3
- package/dist/canopy/v1/generated/validators/orderList.zod.d.ts +5 -3
- package/dist/canopy/v1/generated/validators/orderRefundQuote.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/price.zod.d.ts +4 -1
- package/dist/canopy/v1/generated/validators/price.zod.js +10 -2
- package/dist/canopy/v1/generated/validators/priceList.zod.d.ts +4 -1
- package/dist/canopy/v1/generated/validators/quote5f60d00.zod.d.ts +2 -0
- package/dist/canopy/v1/generated/validators/quoteA200529.zod.d.ts +2 -0
- package/dist/canopy/v1/generated/validators/quoteCancellation.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/quoteItemInput.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/quoteItemInput.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/quoteRenewal.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/quoteRenewal.zod.js +3 -3
- package/dist/canopy/v1/generated/validators/quoteRequest.zod.d.ts +2 -2
- package/dist/canopy/v1/generated/validators/refundPolicy.zod.d.ts +1 -0
- package/dist/canopy/v1/generated/validators/refundPolicy.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/refundReason.zod.js +1 -1
- package/dist/canopy/v1/generated/validators/renewRequest.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/renewRequest.zod.js +3 -3
- package/dist/canopy/v1/generated/validators/renewalOrderRequest.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/validators/renewalOrderRequest.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/renewalPrice.zod.d.ts +4 -1
- package/dist/canopy/v1/generated/validators/renewalPrice.zod.js +4 -2
- package/dist/canopy/v1/generated/validators/renewalPriceList.zod.d.ts +4 -1
- package/dist/canopy/v1/generated/validators/subscription.zod.d.ts +5 -1
- package/dist/canopy/v1/generated/validators/subscription.zod.js +14 -2
- package/dist/canopy/v1/generated/validators/subscriptionList.zod.d.ts +5 -1
- package/dist/iam/v1/generated/functions.d.ts +2 -1
- package/dist/iam/v1/generated/functions.js +2 -1
- package/dist/iam/v1/generated/schemas.zod.d.ts +2 -1
- package/dist/iam/v1/generated/schemas.zod.js +2 -1
- package/dist/membership/v1/generated/models.d.ts +71 -33
- package/dist/membership/v1/generated/models.js +2 -1
- package/dist/membership/v1/generated/validators/cancelSubscriptionRequest.zod.js +2 -2
- package/dist/membership/v1/generated/validators/cancellation.zod.js +2 -2
- package/dist/membership/v1/generated/validators/cancellationCreate.zod.js +2 -2
- package/dist/membership/v1/generated/validators/{terminationPolicy.zod.d.ts → cancellationPolicy.zod.d.ts} +3 -3
- package/dist/membership/v1/generated/validators/{terminationPolicy.zod.js → cancellationPolicy.zod.js} +2 -2
- package/dist/membership/v1/generated/validators/cancellationRefundPreview.zod.d.ts +2 -0
- package/dist/membership/v1/generated/validators/cancellationRefundPreview.zod.js +4 -3
- package/dist/membership/v1/generated/validators/cancellationRefundPreviewItem.zod.d.ts +1 -0
- package/dist/membership/v1/generated/validators/cancellationRefundPreviewItem.zod.js +1 -0
- package/dist/membership/v1/generated/validators/order.zod.d.ts +5 -3
- package/dist/membership/v1/generated/validators/orderItem.zod.d.ts +5 -3
- package/dist/membership/v1/generated/validators/orderItem.zod.js +10 -6
- package/dist/membership/v1/generated/validators/orderItemList.zod.d.ts +5 -3
- package/dist/membership/v1/generated/validators/orderList.zod.d.ts +5 -3
- package/dist/membership/v1/generated/validators/orderRefundQuote.zod.js +1 -1
- package/dist/membership/v1/generated/validators/price.zod.d.ts +4 -1
- package/dist/membership/v1/generated/validators/price.zod.js +10 -2
- package/dist/membership/v1/generated/validators/priceList.zod.d.ts +4 -1
- package/dist/membership/v1/generated/validators/quote.zod.d.ts +2 -0
- package/dist/membership/v1/generated/validators/quoteCancellation.zod.js +2 -2
- package/dist/membership/v1/generated/validators/quoteItemInput.zod.d.ts +1 -1
- package/dist/membership/v1/generated/validators/quoteItemInput.zod.js +2 -2
- package/dist/membership/v1/generated/validators/quoteRenewal.zod.d.ts +1 -1
- package/dist/membership/v1/generated/validators/quoteRenewal.zod.js +3 -3
- package/dist/membership/v1/generated/validators/quoteRequest.zod.d.ts +2 -2
- package/dist/membership/v1/generated/validators/refundPolicy.zod.d.ts +1 -0
- package/dist/membership/v1/generated/validators/refundPolicy.zod.js +2 -2
- package/dist/membership/v1/generated/validators/refundReason.zod.js +1 -1
- package/dist/membership/v1/generated/validators/renewRequest.zod.d.ts +1 -1
- package/dist/membership/v1/generated/validators/renewRequest.zod.js +3 -3
- package/dist/membership/v1/generated/validators/renewalOrderRequest.zod.d.ts +1 -1
- package/dist/membership/v1/generated/validators/renewalOrderRequest.zod.js +2 -2
- package/dist/membership/v1/generated/validators/renewalPrice.zod.d.ts +4 -1
- package/dist/membership/v1/generated/validators/renewalPrice.zod.js +4 -2
- package/dist/membership/v1/generated/validators/renewalPriceList.zod.d.ts +4 -1
- package/dist/membership/v1/generated/validators/subscription.zod.d.ts +5 -1
- package/dist/membership/v1/generated/validators/subscription.zod.js +14 -2
- package/dist/membership/v1/generated/validators/subscriptionList.zod.d.ts +5 -1
- package/package.json +1 -1
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
* ## Project slugs
|
|
20
20
|
*
|
|
21
21
|
* Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
|
|
22
|
+
*
|
|
23
|
+
* Looking up slugs and claiming custom slugs are rate limited per account. A request over the limit fails with 429, and `meta.retry_after_seconds` on the error states how many seconds to wait before retrying.
|
|
22
24
|
* OpenAPI spec version: 1.0.0
|
|
23
25
|
*/
|
|
24
26
|
import * as zod from "zod";
|
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
* ## Project slugs
|
|
20
20
|
*
|
|
21
21
|
* Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
|
|
22
|
+
*
|
|
23
|
+
* Looking up slugs and claiming custom slugs are rate limited per account. A request over the limit fails with 429, and `meta.retry_after_seconds` on the error states how many seconds to wait before retrying.
|
|
22
24
|
* OpenAPI spec version: 1.0.0
|
|
23
25
|
*/
|
|
24
26
|
import * as zod from "zod";
|
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
* ## Project slugs
|
|
20
20
|
*
|
|
21
21
|
* Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
|
|
22
|
+
*
|
|
23
|
+
* Looking up slugs and claiming custom slugs are rate limited per account. A request over the limit fails with 429, and `meta.retry_after_seconds` on the error states how many seconds to wait before retrying.
|
|
22
24
|
* OpenAPI spec version: 1.0.0
|
|
23
25
|
*/
|
|
24
26
|
import * as zod from "zod";
|
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
* ## Project slugs
|
|
20
20
|
*
|
|
21
21
|
* Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
|
|
22
|
+
*
|
|
23
|
+
* Looking up slugs and claiming custom slugs are rate limited per account. A request over the limit fails with 429, and `meta.retry_after_seconds` on the error states how many seconds to wait before retrying.
|
|
22
24
|
* OpenAPI spec version: 1.0.0
|
|
23
25
|
*/
|
|
24
26
|
import * as zod from "zod";
|
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
* ## Project slugs
|
|
20
20
|
*
|
|
21
21
|
* Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
|
|
22
|
+
*
|
|
23
|
+
* Looking up slugs and claiming custom slugs are rate limited per account. A request over the limit fails with 429, and `meta.retry_after_seconds` on the error states how many seconds to wait before retrying.
|
|
22
24
|
* OpenAPI spec version: 1.0.0
|
|
23
25
|
*/
|
|
24
26
|
import * as zod from "zod";
|
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
* ## Project slugs
|
|
20
20
|
*
|
|
21
21
|
* Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
|
|
22
|
+
*
|
|
23
|
+
* Looking up slugs and claiming custom slugs are rate limited per account. A request over the limit fails with 429, and `meta.retry_after_seconds` on the error states how many seconds to wait before retrying.
|
|
22
24
|
* OpenAPI spec version: 1.0.0
|
|
23
25
|
*/
|
|
24
26
|
import * as zod from "zod";
|
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
* ## Project slugs
|
|
20
20
|
*
|
|
21
21
|
* Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
|
|
22
|
+
*
|
|
23
|
+
* Looking up slugs and claiming custom slugs are rate limited per account. A request over the limit fails with 429, and `meta.retry_after_seconds` on the error states how many seconds to wait before retrying.
|
|
22
24
|
* OpenAPI spec version: 1.0.0
|
|
23
25
|
*/
|
|
24
26
|
import * as zod from "zod";
|
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
* ## Project slugs
|
|
20
20
|
*
|
|
21
21
|
* Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
|
|
22
|
+
*
|
|
23
|
+
* Looking up slugs and claiming custom slugs are rate limited per account. A request over the limit fails with 429, and `meta.retry_after_seconds` on the error states how many seconds to wait before retrying.
|
|
22
24
|
* OpenAPI spec version: 1.0.0
|
|
23
25
|
*/
|
|
24
26
|
import * as zod from "zod";
|
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
* ## Project slugs
|
|
20
20
|
*
|
|
21
21
|
* Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
|
|
22
|
+
*
|
|
23
|
+
* Looking up slugs and claiming custom slugs are rate limited per account. A request over the limit fails with 429, and `meta.retry_after_seconds` on the error states how many seconds to wait before retrying.
|
|
22
24
|
* OpenAPI spec version: 1.0.0
|
|
23
25
|
*/
|
|
24
26
|
import * as zod from "zod";
|
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
* ## Project slugs
|
|
20
20
|
*
|
|
21
21
|
* Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
|
|
22
|
+
*
|
|
23
|
+
* Looking up slugs and claiming custom slugs are rate limited per account. A request over the limit fails with 429, and `meta.retry_after_seconds` on the error states how many seconds to wait before retrying.
|
|
22
24
|
* OpenAPI spec version: 1.0.0
|
|
23
25
|
*/
|
|
24
26
|
import * as zod from "zod";
|
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
* ## Project slugs
|
|
20
20
|
*
|
|
21
21
|
* Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
|
|
22
|
+
*
|
|
23
|
+
* Looking up slugs and claiming custom slugs are rate limited per account. A request over the limit fails with 429, and `meta.retry_after_seconds` on the error states how many seconds to wait before retrying.
|
|
22
24
|
* OpenAPI spec version: 1.0.0
|
|
23
25
|
*/
|
|
24
26
|
import * as zod from "zod";
|
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
* ## Project slugs
|
|
20
20
|
*
|
|
21
21
|
* Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
|
|
22
|
+
*
|
|
23
|
+
* Looking up slugs and claiming custom slugs are rate limited per account. A request over the limit fails with 429, and `meta.retry_after_seconds` on the error states how many seconds to wait before retrying.
|
|
22
24
|
* OpenAPI spec version: 1.0.0
|
|
23
25
|
*/
|
|
24
26
|
import * as zod from "zod";
|
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
* ## Project slugs
|
|
20
20
|
*
|
|
21
21
|
* Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
|
|
22
|
+
*
|
|
23
|
+
* Looking up slugs and claiming custom slugs are rate limited per account. A request over the limit fails with 429, and `meta.retry_after_seconds` on the error states how many seconds to wait before retrying.
|
|
22
24
|
* OpenAPI spec version: 1.0.0
|
|
23
25
|
*/
|
|
24
26
|
import * as zod from "zod";
|
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
* ## Project slugs
|
|
20
20
|
*
|
|
21
21
|
* Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
|
|
22
|
+
*
|
|
23
|
+
* Looking up slugs and claiming custom slugs are rate limited per account. A request over the limit fails with 429, and `meta.retry_after_seconds` on the error states how many seconds to wait before retrying.
|
|
22
24
|
* OpenAPI spec version: 1.0.0
|
|
23
25
|
*/
|
|
24
26
|
import * as zod from "zod";
|
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
* ## Project slugs
|
|
20
20
|
*
|
|
21
21
|
* Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
|
|
22
|
+
*
|
|
23
|
+
* Looking up slugs and claiming custom slugs are rate limited per account. A request over the limit fails with 429, and `meta.retry_after_seconds` on the error states how many seconds to wait before retrying.
|
|
22
24
|
* OpenAPI spec version: 1.0.0
|
|
23
25
|
*/
|
|
24
26
|
import * as zod from "zod";
|
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
* ## Project slugs
|
|
20
20
|
*
|
|
21
21
|
* Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
|
|
22
|
+
*
|
|
23
|
+
* Looking up slugs and claiming custom slugs are rate limited per account. A request over the limit fails with 429, and `meta.retry_after_seconds` on the error states how many seconds to wait before retrying.
|
|
22
24
|
* OpenAPI spec version: 1.0.0
|
|
23
25
|
*/
|
|
24
26
|
import * as zod from "zod";
|
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
* ## Project slugs
|
|
20
20
|
*
|
|
21
21
|
* Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
|
|
22
|
+
*
|
|
23
|
+
* Looking up slugs and claiming custom slugs are rate limited per account. A request over the limit fails with 429, and `meta.retry_after_seconds` on the error states how many seconds to wait before retrying.
|
|
22
24
|
* OpenAPI spec version: 1.0.0
|
|
23
25
|
*/
|
|
24
26
|
import * as zod from "zod";
|
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
* ## Project slugs
|
|
20
20
|
*
|
|
21
21
|
* Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
|
|
22
|
+
*
|
|
23
|
+
* Looking up slugs and claiming custom slugs are rate limited per account. A request over the limit fails with 429, and `meta.retry_after_seconds` on the error states how many seconds to wait before retrying.
|
|
22
24
|
* OpenAPI spec version: 1.0.0
|
|
23
25
|
*/
|
|
24
26
|
import * as zod from "zod";
|
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
* ## Project slugs
|
|
20
20
|
*
|
|
21
21
|
* Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
|
|
22
|
+
*
|
|
23
|
+
* Looking up slugs and claiming custom slugs are rate limited per account. A request over the limit fails with 429, and `meta.retry_after_seconds` on the error states how many seconds to wait before retrying.
|
|
22
24
|
* OpenAPI spec version: 1.0.0
|
|
23
25
|
*/
|
|
24
26
|
import * as zod from "zod";
|
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
* ## Project slugs
|
|
20
20
|
*
|
|
21
21
|
* Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
|
|
22
|
+
*
|
|
23
|
+
* Looking up slugs and claiming custom slugs are rate limited per account. A request over the limit fails with 429, and `meta.retry_after_seconds` on the error states how many seconds to wait before retrying.
|
|
22
24
|
* OpenAPI spec version: 1.0.0
|
|
23
25
|
*/
|
|
24
26
|
import * as zod from "zod";
|
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
* ## Project slugs
|
|
20
20
|
*
|
|
21
21
|
* Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
|
|
22
|
+
*
|
|
23
|
+
* Looking up slugs and claiming custom slugs are rate limited per account. A request over the limit fails with 429, and `meta.retry_after_seconds` on the error states how many seconds to wait before retrying.
|
|
22
24
|
* OpenAPI spec version: 1.0.0
|
|
23
25
|
*/
|
|
24
26
|
import * as zod from "zod";
|
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
* ## Project slugs
|
|
20
20
|
*
|
|
21
21
|
* Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
|
|
22
|
+
*
|
|
23
|
+
* Looking up slugs and claiming custom slugs are rate limited per account. A request over the limit fails with 429, and `meta.retry_after_seconds` on the error states how many seconds to wait before retrying.
|
|
22
24
|
* OpenAPI spec version: 1.0.0
|
|
23
25
|
*/
|
|
24
26
|
import * as zod from "zod";
|
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
* ## Project slugs
|
|
20
20
|
*
|
|
21
21
|
* Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
|
|
22
|
+
*
|
|
23
|
+
* Looking up slugs and claiming custom slugs are rate limited per account. A request over the limit fails with 429, and `meta.retry_after_seconds` on the error states how many seconds to wait before retrying.
|
|
22
24
|
* OpenAPI spec version: 1.0.0
|
|
23
25
|
*/
|
|
24
26
|
import * as zod from "zod";
|
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
* ## Project slugs
|
|
20
20
|
*
|
|
21
21
|
* Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
|
|
22
|
+
*
|
|
23
|
+
* Looking up slugs and claiming custom slugs are rate limited per account. A request over the limit fails with 429, and `meta.retry_after_seconds` on the error states how many seconds to wait before retrying.
|
|
22
24
|
* OpenAPI spec version: 1.0.0
|
|
23
25
|
*/
|
|
24
26
|
import * as zod from "zod";
|
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
* ## Project slugs
|
|
20
20
|
*
|
|
21
21
|
* Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
|
|
22
|
+
*
|
|
23
|
+
* Looking up slugs and claiming custom slugs are rate limited per account. A request over the limit fails with 429, and `meta.retry_after_seconds` on the error states how many seconds to wait before retrying.
|
|
22
24
|
* OpenAPI spec version: 1.0.0
|
|
23
25
|
*/
|
|
24
26
|
import * as zod from "zod";
|
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
* ## Project slugs
|
|
20
20
|
*
|
|
21
21
|
* Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
|
|
22
|
+
*
|
|
23
|
+
* Looking up slugs and claiming custom slugs are rate limited per account. A request over the limit fails with 429, and `meta.retry_after_seconds` on the error states how many seconds to wait before retrying.
|
|
22
24
|
* OpenAPI spec version: 1.0.0
|
|
23
25
|
*/
|
|
24
26
|
import * as zod from "zod";
|
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
* ## Project slugs
|
|
20
20
|
*
|
|
21
21
|
* Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
|
|
22
|
+
*
|
|
23
|
+
* Looking up slugs and claiming custom slugs are rate limited per account. A request over the limit fails with 429, and `meta.retry_after_seconds` on the error states how many seconds to wait before retrying.
|
|
22
24
|
* OpenAPI spec version: 1.0.0
|
|
23
25
|
*/
|
|
24
26
|
import * as zod from "zod";
|
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
* ## Project slugs
|
|
20
20
|
*
|
|
21
21
|
* Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
|
|
22
|
+
*
|
|
23
|
+
* Looking up slugs and claiming custom slugs are rate limited per account. A request over the limit fails with 429, and `meta.retry_after_seconds` on the error states how many seconds to wait before retrying.
|
|
22
24
|
* OpenAPI spec version: 1.0.0
|
|
23
25
|
*/
|
|
24
26
|
import * as zod from "zod";
|
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
* ## Project slugs
|
|
20
20
|
*
|
|
21
21
|
* Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
|
|
22
|
+
*
|
|
23
|
+
* Looking up slugs and claiming custom slugs are rate limited per account. A request over the limit fails with 429, and `meta.retry_after_seconds` on the error states how many seconds to wait before retrying.
|
|
22
24
|
* OpenAPI spec version: 1.0.0
|
|
23
25
|
*/
|
|
24
26
|
import * as zod from "zod";
|
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
* ## Project slugs
|
|
20
20
|
*
|
|
21
21
|
* Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
|
|
22
|
+
*
|
|
23
|
+
* Looking up slugs and claiming custom slugs are rate limited per account. A request over the limit fails with 429, and `meta.retry_after_seconds` on the error states how many seconds to wait before retrying.
|
|
22
24
|
* OpenAPI spec version: 1.0.0
|
|
23
25
|
*/
|
|
24
26
|
import * as zod from "zod";
|
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
* ## Project slugs
|
|
20
20
|
*
|
|
21
21
|
* Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
|
|
22
|
+
*
|
|
23
|
+
* Looking up slugs and claiming custom slugs are rate limited per account. A request over the limit fails with 429, and `meta.retry_after_seconds` on the error states how many seconds to wait before retrying.
|
|
22
24
|
* OpenAPI spec version: 1.0.0
|
|
23
25
|
*/
|
|
24
26
|
import * as zod from "zod";
|
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
* ## Project slugs
|
|
20
20
|
*
|
|
21
21
|
* Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
|
|
22
|
+
*
|
|
23
|
+
* Looking up slugs and claiming custom slugs are rate limited per account. A request over the limit fails with 429, and `meta.retry_after_seconds` on the error states how many seconds to wait before retrying.
|
|
22
24
|
* OpenAPI spec version: 1.0.0
|
|
23
25
|
*/
|
|
24
26
|
import * as zod from "zod";
|
|
@@ -250,20 +250,34 @@ export interface WithdrawalItemList {
|
|
|
250
250
|
pagination: OffsetPagination;
|
|
251
251
|
}
|
|
252
252
|
/**
|
|
253
|
-
* Whether a delivered purchase may
|
|
253
|
+
* Whether a cancellation of a delivered purchase may take effect immediately or only at the end of its paid term; refunds follow the refund policy. When absent, no cancellation terms were agreed.
|
|
254
254
|
*/
|
|
255
|
-
export type
|
|
256
|
-
export declare const
|
|
255
|
+
export type CancellationPolicy = (typeof CancellationPolicy)[keyof typeof CancellationPolicy];
|
|
256
|
+
export declare const CancellationPolicy: {
|
|
257
257
|
readonly immediate: "immediate";
|
|
258
258
|
readonly period_end: "period_end";
|
|
259
259
|
};
|
|
260
260
|
/**
|
|
261
|
-
* `none` refunds nothing.
|
|
261
|
+
* `none` refunds nothing.
|
|
262
|
+
*
|
|
263
|
+
* `prorated` refunds the amount paid for the current period minus the value of the time used, never below zero
|
|
264
|
+
* or above what remains unrefunded. Time used runs from the period start to the effective cancellation, by the
|
|
265
|
+
* second. Each whole month from the period start is valued at the order item's `monthly_list_amount`, and the
|
|
266
|
+
* remainder at that amount in proportion to the length of the month it falls in; without `monthly_list_amount`,
|
|
267
|
+
* time used is valued at the amount paid in proportion to the length of the period. A renewal starts a new
|
|
268
|
+
* period, and an immediate change starts one at the change. Discounts and setup fees are not refunded. Refunds
|
|
269
|
+
* return to the original payment sources, with tax refunded in proportion.
|
|
270
|
+
*
|
|
271
|
+
* `short_rate` refunds as `prorated`, except that when the cancellation takes effect less than
|
|
272
|
+
* `short_rate_threshold_seconds` after the period start, the value of the time used is multiplied by
|
|
273
|
+
* `short_rate_multiplier`, up to `monthly_list_amount` for each month begun or, without `monthly_list_amount`,
|
|
274
|
+
* up to the amount paid.
|
|
262
275
|
*/
|
|
263
276
|
export type RefundPolicy = (typeof RefundPolicy)[keyof typeof RefundPolicy];
|
|
264
277
|
export declare const RefundPolicy: {
|
|
265
278
|
readonly none: "none";
|
|
266
279
|
readonly prorated: "prorated";
|
|
280
|
+
readonly short_rate: "short_rate";
|
|
267
281
|
};
|
|
268
282
|
export interface OrderCancel {
|
|
269
283
|
/**
|
|
@@ -283,8 +297,8 @@ export declare const QuoteRenewalInterval: {
|
|
|
283
297
|
* Price renewing a licensed subscription. Give `price_id`, or `interval` with
|
|
284
298
|
* `interval_count`, to renew for another term at the price currently sold for it. Naming
|
|
285
299
|
* the current term, or giving neither, renews at the agreed amount. A term sold at several
|
|
286
|
-
* prices that differ in
|
|
287
|
-
* `BILLING_RENEWAL_OPTION_AMBIGUOUS` unless `
|
|
300
|
+
* prices that differ in cancellation policy is refused with 409
|
|
301
|
+
* `BILLING_RENEWAL_OPTION_AMBIGUOUS` unless `cancellation_policy` or `price_id` is given.
|
|
288
302
|
*/
|
|
289
303
|
export interface QuoteRenewal {
|
|
290
304
|
subscription_id: string;
|
|
@@ -292,8 +306,8 @@ export interface QuoteRenewal {
|
|
|
292
306
|
interval?: QuoteRenewalInterval;
|
|
293
307
|
/** @minimum 1 */
|
|
294
308
|
interval_count?: number;
|
|
295
|
-
/** With `interval` and `interval_count`, chooses among prices of that term that differ in
|
|
296
|
-
|
|
309
|
+
/** With `interval` and `interval_count`, chooses among prices of that term that differ in cancellation policy. */
|
|
310
|
+
cancellation_policy?: CancellationPolicy;
|
|
297
311
|
/**
|
|
298
312
|
* How many consecutive periods to renew for.
|
|
299
313
|
* @minimum 1
|
|
@@ -444,6 +458,7 @@ export interface CancellationRefundPreviewItem {
|
|
|
444
458
|
/** Whether automatic renewal is on now. Creating the cancellation turns it off; withdrawing it turns it back on for a metered subscription but not for a licensed one. */
|
|
445
459
|
auto_renew: boolean;
|
|
446
460
|
unused_amount: Money;
|
|
461
|
+
short_rate_surcharge_amount: Money;
|
|
447
462
|
refundable_amount: Money;
|
|
448
463
|
refund_amount: Money;
|
|
449
464
|
credit_amount: Money;
|
|
@@ -454,8 +469,9 @@ export interface CancellationRefundPreviewItem {
|
|
|
454
469
|
* What the cancellation would return, per subscription and in total, as of now. Give `proration_date` and
|
|
455
470
|
* `refundable_amount` when creating the cancellation.
|
|
456
471
|
*
|
|
457
|
-
* - `unused_amount`: before tax, the amount paid for the current periods
|
|
458
|
-
*
|
|
472
|
+
* - `unused_amount`: before tax, the amount paid for the current periods in proportion to the time remaining.
|
|
473
|
+
* - `short_rate_surcharge_amount`: before tax, the part of `forfeited_amount` due to the short rate of the
|
|
474
|
+
* refund policy.
|
|
459
475
|
* - `refundable_amount`: what is returned the way it was paid, tax included; `refund_amount` plus
|
|
460
476
|
* `credit_amount`.
|
|
461
477
|
* - `refund_amount`: the part returned to the balance or the payment method.
|
|
@@ -466,13 +482,14 @@ export interface CancellationRefundPreviewItem {
|
|
|
466
482
|
* Metered and one-time subscriptions show zero; their usage until release is charged as usual.
|
|
467
483
|
*/
|
|
468
484
|
export interface CancellationRefundPreview {
|
|
469
|
-
mode:
|
|
485
|
+
mode: CancellationPolicy;
|
|
470
486
|
/** For `period_end`, when release begins, the end of the paid terms. */
|
|
471
487
|
scheduled_at?: string;
|
|
472
488
|
/** For `immediate`, the second the refund is computed as of. Give it when creating the cancellation. */
|
|
473
489
|
proration_date?: string;
|
|
474
490
|
currency: string;
|
|
475
491
|
unused_amount: Money;
|
|
492
|
+
short_rate_surcharge_amount: Money;
|
|
476
493
|
refundable_amount: Money;
|
|
477
494
|
refund_amount: Money;
|
|
478
495
|
credit_amount: Money;
|
|
@@ -481,7 +498,7 @@ export interface CancellationRefundPreview {
|
|
|
481
498
|
items: CancellationRefundPreviewItem[];
|
|
482
499
|
}
|
|
483
500
|
/**
|
|
484
|
-
* An estimated refund to the original payment sources. Before acceptance, cancellation returns the collected amount. For delivered service, only value paid by this order is included; renewals are evaluated with their own orders under the agreed
|
|
501
|
+
* An estimated refund to the original payment sources. Before acceptance, cancellation returns the collected amount. For delivered service, only value paid by this order is included; renewals are evaluated with their own orders under the agreed cancellation terms. Nothing is refunded by the quote; the amount is fixed when cancellation or termination is confirmed.
|
|
485
502
|
*/
|
|
486
503
|
export interface OrderRefundQuote {
|
|
487
504
|
order_id: string;
|
|
@@ -520,7 +537,7 @@ export interface QuoteCancellation {
|
|
|
520
537
|
* @maxItems 50
|
|
521
538
|
*/
|
|
522
539
|
subscription_ids: string[];
|
|
523
|
-
mode:
|
|
540
|
+
mode: CancellationPolicy;
|
|
524
541
|
}
|
|
525
542
|
export interface CancellationCreate {
|
|
526
543
|
/**
|
|
@@ -529,7 +546,7 @@ export interface CancellationCreate {
|
|
|
529
546
|
* @maxItems 50
|
|
530
547
|
*/
|
|
531
548
|
subscription_ids: string[];
|
|
532
|
-
mode:
|
|
549
|
+
mode: CancellationPolicy;
|
|
533
550
|
/** For `immediate`, the quote's `proration_date`: a whole second, not in the future and at most ten minutes old; the refund is computed as of it. Now when omitted. */
|
|
534
551
|
proration_date?: string;
|
|
535
552
|
/** The quote's `refundable_amount`; the cancellation is refused when the refund differs. */
|
|
@@ -609,7 +626,7 @@ export interface CancellationItem {
|
|
|
609
626
|
export interface Cancellation {
|
|
610
627
|
id: string;
|
|
611
628
|
status: CancellationStatus;
|
|
612
|
-
mode:
|
|
629
|
+
mode: CancellationPolicy;
|
|
613
630
|
scheduled_at?: string;
|
|
614
631
|
/** For `immediate`, the second the refund is computed as of. */
|
|
615
632
|
proration_date?: string;
|
|
@@ -1542,9 +1559,11 @@ export declare const RefundStatus: {
|
|
|
1542
1559
|
* - `change_expired`: a scheduled change could not take effect in time.
|
|
1543
1560
|
* - `subscription_canceled`: the unused value of a canceled subscription, under its refund terms.
|
|
1544
1561
|
* - `future_period_canceled`: a renewal that had not started was withdrawn.
|
|
1545
|
-
* - `downgrade_difference`: after a downgrade, the remaining paid value, valued
|
|
1546
|
-
*
|
|
1547
|
-
* `
|
|
1562
|
+
* - `downgrade_difference`: after a downgrade, the remaining paid value, valued under each paid period's refund
|
|
1563
|
+
* policy and as `prorated` where that policy is `none`, minus the new configuration's value for the remaining
|
|
1564
|
+
* time: each whole month at the change item's `monthly_list_amount` and the remainder in proportion to the
|
|
1565
|
+
* length of the month it falls in, or without `monthly_list_amount`, the new period price in proportion to the
|
|
1566
|
+
* remaining time.
|
|
1548
1567
|
* - `usage_true_up`: usage priced over the whole month cost less than was charged.
|
|
1549
1568
|
* - `payment_not_applied`: a payment arrived after its invoice could no longer be paid.
|
|
1550
1569
|
* - `operator`: made by the platform operator.
|
|
@@ -1765,8 +1784,14 @@ export interface Subscription {
|
|
|
1765
1784
|
interval_count?: number;
|
|
1766
1785
|
/** The whole licensed subscription's renewal amount, after continuing discounts and before tax. A pending subscription shows base terms until paying the order fixes any new discount. Absent for metered and one-time subscriptions. */
|
|
1767
1786
|
recurring_amount?: string;
|
|
1768
|
-
|
|
1787
|
+
cancellation_policy?: CancellationPolicy;
|
|
1769
1788
|
refund_policy?: RefundPolicy;
|
|
1789
|
+
/** Refund policy `short_rate` only, as on the price bought. */
|
|
1790
|
+
short_rate_multiplier?: string;
|
|
1791
|
+
/** Refund policy `short_rate` only, as on the price bought. */
|
|
1792
|
+
short_rate_threshold_seconds?: number;
|
|
1793
|
+
/** Licensed recurring only, the `monthly_list_amount` that a renewal at the agreed amount keeps; see the order item. */
|
|
1794
|
+
monthly_list_amount?: string;
|
|
1770
1795
|
order_item_id?: string;
|
|
1771
1796
|
coupon_id?: string;
|
|
1772
1797
|
coupon?: ObjectIdentity;
|
|
@@ -1839,8 +1864,12 @@ export declare const RenewalPriceInterval: {
|
|
|
1839
1864
|
readonly year: "year";
|
|
1840
1865
|
};
|
|
1841
1866
|
export interface RenewalPrice {
|
|
1842
|
-
|
|
1867
|
+
cancellation_policy?: CancellationPolicy;
|
|
1843
1868
|
refund_policy?: RefundPolicy;
|
|
1869
|
+
/** Refund policy `short_rate` only. */
|
|
1870
|
+
short_rate_multiplier?: string;
|
|
1871
|
+
/** Refund policy `short_rate` only. */
|
|
1872
|
+
short_rate_threshold_seconds?: number;
|
|
1844
1873
|
price_id: string;
|
|
1845
1874
|
/** How many periods one renewal covers. */
|
|
1846
1875
|
interval_count: number;
|
|
@@ -1879,8 +1908,8 @@ export interface RenewRequest {
|
|
|
1879
1908
|
* Leaving both out renews at the price this item already bills at, which a later price
|
|
1880
1909
|
* change does not affect. Naming a term that differs from the current one is a fresh
|
|
1881
1910
|
* choice, so it is bought at today's price. Naming the current term changes nothing. A
|
|
1882
|
-
* term sold at several prices that differ in
|
|
1883
|
-
* `BILLING_RENEWAL_OPTION_AMBIGUOUS` unless `
|
|
1911
|
+
* term sold at several prices that differ in cancellation policy is refused with 409
|
|
1912
|
+
* `BILLING_RENEWAL_OPTION_AMBIGUOUS` unless `cancellation_policy` is given.
|
|
1884
1913
|
*
|
|
1885
1914
|
* List the terms on offer with the renewal prices operation.
|
|
1886
1915
|
* @minimum 1
|
|
@@ -1888,8 +1917,8 @@ export interface RenewRequest {
|
|
|
1888
1917
|
interval_count?: number;
|
|
1889
1918
|
/** The unit interval_count counts in. */
|
|
1890
1919
|
interval?: RenewRequestInterval;
|
|
1891
|
-
/** With `interval` and `interval_count`, chooses among prices of that term that differ in
|
|
1892
|
-
|
|
1920
|
+
/** With `interval` and `interval_count`, chooses among prices of that term that differ in cancellation policy. */
|
|
1921
|
+
cancellation_policy?: CancellationPolicy;
|
|
1893
1922
|
payment_method_id?: string;
|
|
1894
1923
|
/** Whether to pay from the balance, with or without `payment_method_id`. */
|
|
1895
1924
|
use_balance?: boolean;
|
|
@@ -1925,7 +1954,7 @@ export interface RenewalOrderRequest {
|
|
|
1925
1954
|
/** As in renewing. */
|
|
1926
1955
|
interval?: RenewalOrderRequestInterval;
|
|
1927
1956
|
/** As in renewing. */
|
|
1928
|
-
|
|
1957
|
+
cancellation_policy?: CancellationPolicy;
|
|
1929
1958
|
}
|
|
1930
1959
|
export interface AutoRenewSet {
|
|
1931
1960
|
auto_renew: boolean;
|
|
@@ -2006,18 +2035,23 @@ export interface OrderItem {
|
|
|
2006
2035
|
interval: OrderItemInterval;
|
|
2007
2036
|
/** @minimum 1 */
|
|
2008
2037
|
interval_count?: number;
|
|
2009
|
-
|
|
2038
|
+
cancellation_policy?: CancellationPolicy;
|
|
2010
2039
|
refund_policy?: RefundPolicy;
|
|
2011
2040
|
/**
|
|
2012
|
-
* Recurring licensed items only:
|
|
2041
|
+
* Recurring licensed items only: a month at list price for this item's quantity, before tax and discounts, which values time under a refund or a downgrade. It is the monthly amount of the shortest period the plan sells, not longer than the one bought, at the item's dimensions, fixed at purchase; a renewal at the agreed amount keeps the previous value. Null when time used is valued at the amount paid, as for a daily period.
|
|
2042
|
+
* @nullable
|
|
2043
|
+
*/
|
|
2044
|
+
monthly_list_amount?: string | null;
|
|
2045
|
+
/**
|
|
2046
|
+
* Refund policy `short_rate` only, as on the price when bought.
|
|
2013
2047
|
* @nullable
|
|
2014
2048
|
*/
|
|
2015
|
-
|
|
2049
|
+
short_rate_multiplier?: string | null;
|
|
2016
2050
|
/**
|
|
2017
|
-
*
|
|
2051
|
+
* Refund policy `short_rate` only, as on the price when bought.
|
|
2018
2052
|
* @nullable
|
|
2019
2053
|
*/
|
|
2020
|
-
|
|
2054
|
+
short_rate_threshold_seconds?: number | null;
|
|
2021
2055
|
recurring_amount?: string;
|
|
2022
2056
|
setup_amount?: string;
|
|
2023
2057
|
type: PriceType;
|
|
@@ -2347,8 +2381,12 @@ export interface Price {
|
|
|
2347
2381
|
unit_quantity: string;
|
|
2348
2382
|
/** False once archived. An archived price cannot be bought until it is active again. */
|
|
2349
2383
|
active: boolean;
|
|
2350
|
-
|
|
2384
|
+
cancellation_policy?: CancellationPolicy;
|
|
2351
2385
|
refund_policy?: RefundPolicy;
|
|
2386
|
+
/** Refund policy `short_rate` only, the factor applied to the value of the time used when a cancellation takes effect less than `short_rate_threshold_seconds` after the period start. */
|
|
2387
|
+
short_rate_multiplier?: string;
|
|
2388
|
+
/** Refund policy `short_rate` only, how long after the period start `short_rate_multiplier` applies. */
|
|
2389
|
+
short_rate_threshold_seconds?: number;
|
|
2352
2390
|
product_id?: ProductID;
|
|
2353
2391
|
id: string;
|
|
2354
2392
|
plan_id: string;
|
|
@@ -2473,7 +2511,7 @@ export interface QuoteItemInput {
|
|
|
2473
2511
|
/** @minimum 1 */
|
|
2474
2512
|
interval_count?: number;
|
|
2475
2513
|
/** Selects among licensed prices with otherwise identical billing terms. Ambiguous terms are refused instead of choosing a price arbitrarily. */
|
|
2476
|
-
|
|
2514
|
+
cancellation_policy?: CancellationPolicy;
|
|
2477
2515
|
/** @pattern ^(?:(?:[1-9][0-9]{0,27}|0(?:[1-9][0-9]{0,26}|0(?:[1-9][0-9]{0,25}|0(?:[1-9][0-9]{0,24}|0(?:[1-9][0-9]{0,23}|0(?:[1-9][0-9]{0,22}|0(?:[1-9][0-9]{0,21}|0(?:[1-9][0-9]{0,20}|0(?:[1-9][0-9]{0,19}|0(?:[1-9][0-9]{0,18}|0(?:[1-9][0-9]{0,17}|0(?:[1-9][0-9]{0,16}|0(?:[1-9][0-9]{0,15}|0(?:[1-9][0-9]{0,14}|0(?:[1-9][0-9]{0,13}|0(?:[1-9][0-9]{0,12}|0(?:[1-9][0-9]{0,11}|0(?:[1-9][0-9]{0,10}|0(?:[1-9][0-9]{0,9}|0(?:[1-9][0-9]{0,8}|0(?:[1-9][0-9]{0,7}|0(?:[1-9][0-9]{0,6}|0(?:[1-9][0-9]{0,5}|0(?:[1-9][0-9]{0,4}|0(?:[1-9][0-9]{0,3}|0(?:[1-9][0-9]{0,2}|0(?:[1-9][0-9]{0,1}|0[1-9])))))))))))))))))))))))))))([.][0-9]{1,10})?|0{1,28}[.](?:[1-9][0-9]{0,9}|0(?:[1-9][0-9]{0,8}|0(?:[1-9][0-9]{0,7}|0(?:[1-9][0-9]{0,6}|0(?:[1-9][0-9]{0,5}|0(?:[1-9][0-9]{0,4}|0(?:[1-9][0-9]{0,3}|0(?:[1-9][0-9]{0,2}|0(?:[1-9][0-9]{0,1}|0[1-9]))))))))))$ */
|
|
2478
2516
|
quantity: string;
|
|
2479
2517
|
meter_id?: string;
|
|
@@ -2698,7 +2736,7 @@ export interface ContactList {
|
|
|
2698
2736
|
pagination: OffsetPagination;
|
|
2699
2737
|
}
|
|
2700
2738
|
export interface CancelSubscriptionRequest {
|
|
2701
|
-
mode:
|
|
2739
|
+
mode: CancellationPolicy;
|
|
2702
2740
|
/** For immediate cancellation, the quoted whole-second refund basis. Now when omitted. */
|
|
2703
2741
|
proration_date?: string;
|
|
2704
2742
|
/** The cancellation quote's refundable amount, including an explicit zero. */
|
|
@@ -18,13 +18,14 @@ export const WithdrawalStatus = {
|
|
|
18
18
|
failed: "failed",
|
|
19
19
|
reversed: "reversed",
|
|
20
20
|
};
|
|
21
|
-
export const
|
|
21
|
+
export const CancellationPolicy = {
|
|
22
22
|
immediate: "immediate",
|
|
23
23
|
period_end: "period_end",
|
|
24
24
|
};
|
|
25
25
|
export const RefundPolicy = {
|
|
26
26
|
none: "none",
|
|
27
27
|
prorated: "prorated",
|
|
28
|
+
short_rate: "short_rate",
|
|
28
29
|
};
|
|
29
30
|
export const QuoteRenewalInterval = {
|
|
30
31
|
day: "day",
|