@stigg/typescript 0.1.0-beta.2 → 0.1.0-beta.21
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/CHANGELOG.md +170 -0
- package/api-promise.d.mts +1 -0
- package/api-promise.d.mts.map +1 -1
- package/api-promise.d.ts +1 -0
- package/api-promise.d.ts.map +1 -1
- package/api-promise.mjs +1 -0
- package/api-promise.mjs.map +1 -1
- package/client.d.mts.map +1 -1
- package/client.d.ts.map +1 -1
- package/client.mjs.map +1 -1
- package/core/api-promise.d.mts.map +1 -1
- package/core/api-promise.d.ts.map +1 -1
- package/core/api-promise.mjs.map +1 -1
- package/core/error.mjs.map +1 -1
- package/core/pagination.d.mts.map +1 -1
- package/core/pagination.d.ts.map +1 -1
- package/core/pagination.mjs.map +1 -1
- package/core/resource.d.mts.map +1 -1
- package/core/resource.d.ts.map +1 -1
- package/core/uploads.d.mts.map +1 -1
- package/core/uploads.d.ts.map +1 -1
- package/core/uploads.mjs.map +1 -1
- package/error.d.mts +1 -0
- package/error.d.mts.map +1 -1
- package/error.d.ts +1 -0
- package/error.d.ts.map +1 -1
- package/error.mjs +1 -0
- package/error.mjs.map +1 -1
- package/index.d.mts.map +1 -1
- package/index.d.ts.map +1 -1
- package/index.mjs.map +1 -1
- package/internal/detect-platform.mjs.map +1 -1
- package/internal/headers.mjs.map +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.mjs.map +1 -1
- package/internal/qs/formats.d.mts.map +1 -1
- package/internal/qs/formats.d.ts.map +1 -1
- package/internal/qs/index.d.mts +2 -2
- package/internal/qs/index.d.mts.map +1 -1
- package/internal/qs/index.d.ts +2 -2
- package/internal/qs/index.d.ts.map +1 -1
- package/internal/qs/index.mjs.map +1 -1
- package/internal/qs/stringify.d.mts.map +1 -1
- package/internal/qs/stringify.d.ts.map +1 -1
- package/internal/qs/stringify.mjs.map +1 -1
- package/internal/qs/utils.d.mts.map +1 -1
- package/internal/qs/utils.d.ts.map +1 -1
- package/internal/qs/utils.mjs.map +1 -1
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts.map +1 -1
- package/internal/shims.d.mts +6 -0
- package/internal/shims.d.mts.map +1 -1
- package/internal/shims.d.ts +6 -0
- package/internal/shims.d.ts.map +1 -1
- package/internal/to-file.d.mts.map +1 -1
- package/internal/to-file.d.ts.map +1 -1
- package/internal/to-file.mjs.map +1 -1
- package/internal/types.d.mts +4 -4
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +4 -4
- package/internal/types.d.ts.map +1 -1
- package/internal/uploads.d.mts.map +1 -1
- package/internal/uploads.d.ts.map +1 -1
- package/internal/uploads.mjs.map +1 -1
- package/internal/utils/base64.mjs.map +1 -1
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.mjs.map +1 -1
- package/internal/utils/path.mjs.map +1 -1
- package/internal/utils/query.mjs.map +1 -1
- package/internal/utils/values.mjs.map +1 -1
- package/internal/utils.d.mts.map +1 -1
- package/internal/utils.d.ts.map +1 -1
- package/internal/utils.mjs.map +1 -1
- package/package.json +1 -1
- package/pagination.d.mts +1 -0
- package/pagination.d.mts.map +1 -1
- package/pagination.d.ts +1 -0
- package/pagination.d.ts.map +1 -1
- package/pagination.mjs +1 -0
- package/pagination.mjs.map +1 -1
- package/resource.d.mts +1 -0
- package/resource.d.mts.map +1 -1
- package/resource.d.ts +1 -0
- package/resource.d.ts.map +1 -1
- package/resource.mjs +1 -0
- package/resource.mjs.map +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/v1/addons/addons.d.mts +372 -32
- package/resources/v1/addons/addons.d.mts.map +1 -1
- package/resources/v1/addons/addons.d.ts +372 -32
- package/resources/v1/addons/addons.d.ts.map +1 -1
- package/resources/v1/addons/addons.js +173 -15
- package/resources/v1/addons/addons.js.map +1 -1
- package/resources/v1/addons/addons.mjs +173 -15
- package/resources/v1/addons/addons.mjs.map +1 -1
- package/resources/v1/addons/entitlements.d.mts +93 -5
- package/resources/v1/addons/entitlements.d.mts.map +1 -1
- package/resources/v1/addons/entitlements.d.ts +93 -5
- package/resources/v1/addons/entitlements.d.ts.map +1 -1
- package/resources/v1/addons/entitlements.js +80 -8
- package/resources/v1/addons/entitlements.js.map +1 -1
- package/resources/v1/addons/entitlements.mjs +80 -8
- package/resources/v1/addons/entitlements.mjs.map +1 -1
- package/resources/v1/addons/index.d.mts +2 -2
- package/resources/v1/addons/index.d.mts.map +1 -1
- package/resources/v1/addons/index.d.ts +2 -2
- package/resources/v1/addons/index.d.ts.map +1 -1
- package/resources/v1/addons/index.js.map +1 -1
- package/resources/v1/addons/index.mjs.map +1 -1
- package/resources/v1/addons.d.mts.map +1 -1
- package/resources/v1/addons.d.ts.map +1 -1
- package/resources/v1/addons.mjs.map +1 -1
- package/resources/v1/coupons.d.mts +117 -21
- package/resources/v1/coupons.d.mts.map +1 -1
- package/resources/v1/coupons.d.ts +117 -21
- package/resources/v1/coupons.d.ts.map +1 -1
- package/resources/v1/coupons.js +96 -9
- package/resources/v1/coupons.js.map +1 -1
- package/resources/v1/coupons.mjs +96 -9
- package/resources/v1/coupons.mjs.map +1 -1
- package/resources/v1/credits/credits.d.mts +212 -27
- package/resources/v1/credits/credits.d.mts.map +1 -1
- package/resources/v1/credits/credits.d.ts +212 -27
- package/resources/v1/credits/credits.d.ts.map +1 -1
- package/resources/v1/credits/credits.js +66 -7
- package/resources/v1/credits/credits.js.map +1 -1
- package/resources/v1/credits/credits.mjs +66 -7
- package/resources/v1/credits/credits.mjs.map +1 -1
- package/resources/v1/credits/custom-currencies.d.mts +150 -28
- package/resources/v1/credits/custom-currencies.d.mts.map +1 -1
- package/resources/v1/credits/custom-currencies.d.ts +150 -28
- package/resources/v1/credits/custom-currencies.d.ts.map +1 -1
- package/resources/v1/credits/custom-currencies.js +125 -12
- package/resources/v1/credits/custom-currencies.js.map +1 -1
- package/resources/v1/credits/custom-currencies.mjs +125 -12
- package/resources/v1/credits/custom-currencies.mjs.map +1 -1
- package/resources/v1/credits/grants.d.mts +91 -26
- package/resources/v1/credits/grants.d.mts.map +1 -1
- package/resources/v1/credits/grants.d.ts +91 -26
- package/resources/v1/credits/grants.d.ts.map +1 -1
- package/resources/v1/credits/grants.js +63 -5
- package/resources/v1/credits/grants.js.map +1 -1
- package/resources/v1/credits/grants.mjs +63 -5
- package/resources/v1/credits/grants.mjs.map +1 -1
- package/resources/v1/credits/index.d.mts +3 -4
- package/resources/v1/credits/index.d.mts.map +1 -1
- package/resources/v1/credits/index.d.ts +3 -4
- package/resources/v1/credits/index.d.ts.map +1 -1
- package/resources/v1/credits/index.js +1 -3
- package/resources/v1/credits/index.js.map +1 -1
- package/resources/v1/credits/index.mjs +0 -1
- package/resources/v1/credits/index.mjs.map +1 -1
- package/resources/v1/credits.d.mts.map +1 -1
- package/resources/v1/credits.d.ts.map +1 -1
- package/resources/v1/credits.mjs.map +1 -1
- package/resources/v1/customers/customers.d.mts +249 -55
- package/resources/v1/customers/customers.d.mts.map +1 -1
- package/resources/v1/customers/customers.d.ts +249 -55
- package/resources/v1/customers/customers.d.ts.map +1 -1
- package/resources/v1/customers/customers.js +201 -19
- package/resources/v1/customers/customers.js.map +1 -1
- package/resources/v1/customers/customers.mjs +201 -19
- package/resources/v1/customers/customers.mjs.map +1 -1
- package/resources/v1/customers/index.d.mts +2 -2
- package/resources/v1/customers/index.d.mts.map +1 -1
- package/resources/v1/customers/index.d.ts +2 -2
- package/resources/v1/customers/index.d.ts.map +1 -1
- package/resources/v1/customers/index.js.map +1 -1
- package/resources/v1/customers/index.mjs +1 -1
- package/resources/v1/customers/index.mjs.map +1 -1
- package/resources/v1/customers/integrations.d.mts +116 -14
- package/resources/v1/customers/integrations.d.mts.map +1 -1
- package/resources/v1/customers/integrations.d.ts +116 -14
- package/resources/v1/customers/integrations.d.ts.map +1 -1
- package/resources/v1/customers/integrations.js +104 -9
- package/resources/v1/customers/integrations.js.map +1 -1
- package/resources/v1/customers/integrations.mjs +104 -9
- package/resources/v1/customers/integrations.mjs.map +1 -1
- package/resources/v1/customers/payment-method.d.mts +48 -8
- package/resources/v1/customers/payment-method.d.mts.map +1 -1
- package/resources/v1/customers/payment-method.d.ts +48 -8
- package/resources/v1/customers/payment-method.d.ts.map +1 -1
- package/resources/v1/customers/payment-method.js +42 -4
- package/resources/v1/customers/payment-method.js.map +1 -1
- package/resources/v1/customers/payment-method.mjs +42 -4
- package/resources/v1/customers/payment-method.mjs.map +1 -1
- package/resources/v1/customers/promotional-entitlements.d.mts +93 -9
- package/resources/v1/customers/promotional-entitlements.d.mts.map +1 -1
- package/resources/v1/customers/promotional-entitlements.d.ts +93 -9
- package/resources/v1/customers/promotional-entitlements.d.ts.map +1 -1
- package/resources/v1/customers/promotional-entitlements.js +89 -6
- package/resources/v1/customers/promotional-entitlements.js.map +1 -1
- package/resources/v1/customers/promotional-entitlements.mjs +89 -6
- package/resources/v1/customers/promotional-entitlements.mjs.map +1 -1
- package/resources/v1/customers.d.mts.map +1 -1
- package/resources/v1/customers.d.ts.map +1 -1
- package/resources/v1/customers.mjs.map +1 -1
- package/resources/v1/events/beta/beta.d.mts +14 -0
- package/resources/v1/events/beta/beta.d.mts.map +1 -0
- package/resources/v1/events/beta/beta.d.ts +14 -0
- package/resources/v1/events/beta/beta.d.ts.map +1 -0
- package/resources/v1/events/beta/beta.js +21 -0
- package/resources/v1/events/beta/beta.js.map +1 -0
- package/resources/v1/events/beta/beta.mjs +16 -0
- package/resources/v1/events/beta/beta.mjs.map +1 -0
- package/resources/v1/events/beta/customers/assignments.d.mts +200 -0
- package/resources/v1/events/beta/customers/assignments.d.mts.map +1 -0
- package/resources/v1/events/beta/customers/assignments.d.ts +200 -0
- package/resources/v1/events/beta/customers/assignments.d.ts.map +1 -0
- package/resources/v1/events/beta/customers/assignments.js +85 -0
- package/resources/v1/events/beta/customers/assignments.js.map +1 -0
- package/resources/v1/events/beta/customers/assignments.mjs +81 -0
- package/resources/v1/events/beta/customers/assignments.mjs.map +1 -0
- package/resources/v1/events/beta/customers/customers.d.mts +18 -0
- package/resources/v1/events/beta/customers/customers.d.mts.map +1 -0
- package/resources/v1/events/beta/customers/customers.d.ts +18 -0
- package/resources/v1/events/beta/customers/customers.d.ts.map +1 -0
- package/resources/v1/events/beta/customers/customers.js +25 -0
- package/resources/v1/events/beta/customers/customers.js.map +1 -0
- package/resources/v1/events/beta/customers/customers.mjs +20 -0
- package/resources/v1/events/beta/customers/customers.mjs.map +1 -0
- package/resources/v1/events/beta/customers/entities.d.mts +360 -0
- package/resources/v1/events/beta/customers/entities.d.mts.map +1 -0
- package/resources/v1/events/beta/customers/entities.d.ts +360 -0
- package/resources/v1/events/beta/customers/entities.d.ts.map +1 -0
- package/resources/v1/events/beta/customers/entities.js +159 -0
- package/resources/v1/events/beta/customers/entities.js.map +1 -0
- package/resources/v1/events/beta/customers/entities.mjs +155 -0
- package/resources/v1/events/beta/customers/entities.mjs.map +1 -0
- package/resources/v1/events/beta/customers/entitlements.d.mts +251 -0
- package/resources/v1/events/beta/customers/entitlements.d.mts.map +1 -0
- package/resources/v1/events/beta/customers/entitlements.d.ts +251 -0
- package/resources/v1/events/beta/customers/entitlements.d.ts.map +1 -0
- package/resources/v1/events/beta/customers/entitlements.js +38 -0
- package/resources/v1/events/beta/customers/entitlements.js.map +1 -0
- package/resources/v1/events/beta/customers/entitlements.mjs +34 -0
- package/resources/v1/events/beta/customers/entitlements.mjs.map +1 -0
- package/resources/v1/events/beta/customers/index.d.mts +5 -0
- package/resources/v1/events/beta/customers/index.d.mts.map +1 -0
- package/resources/v1/events/beta/customers/index.d.ts +5 -0
- package/resources/v1/events/beta/customers/index.d.ts.map +1 -0
- package/resources/v1/events/beta/customers/index.js +13 -0
- package/resources/v1/events/beta/customers/index.js.map +1 -0
- package/resources/v1/events/beta/customers/index.mjs +6 -0
- package/resources/v1/events/beta/customers/index.mjs.map +1 -0
- package/resources/v1/events/beta/customers.d.mts +2 -0
- package/resources/v1/events/beta/customers.d.mts.map +1 -0
- package/resources/v1/events/beta/customers.d.ts +2 -0
- package/resources/v1/events/beta/customers.d.ts.map +1 -0
- package/resources/v1/events/beta/customers.js +6 -0
- package/resources/v1/events/beta/customers.js.map +1 -0
- package/resources/v1/events/beta/customers.mjs +3 -0
- package/resources/v1/events/beta/customers.mjs.map +1 -0
- package/resources/v1/events/beta/entity-types.d.mts +166 -0
- package/resources/v1/events/beta/entity-types.d.mts.map +1 -0
- package/resources/v1/events/beta/entity-types.d.ts +166 -0
- package/resources/v1/events/beta/entity-types.d.ts.map +1 -0
- package/resources/v1/events/beta/entity-types.js +76 -0
- package/resources/v1/events/beta/entity-types.js.map +1 -0
- package/resources/v1/events/beta/entity-types.mjs +72 -0
- package/resources/v1/events/beta/entity-types.mjs.map +1 -0
- package/resources/v1/events/beta/index.d.mts +4 -0
- package/resources/v1/events/beta/index.d.mts.map +1 -0
- package/resources/v1/events/beta/index.d.ts +4 -0
- package/resources/v1/events/beta/index.d.ts.map +1 -0
- package/resources/v1/events/beta/index.js +11 -0
- package/resources/v1/events/beta/index.js.map +1 -0
- package/resources/v1/events/beta/index.mjs +5 -0
- package/resources/v1/events/beta/index.mjs.map +1 -0
- package/resources/v1/events/beta.d.mts +2 -0
- package/resources/v1/events/beta.d.mts.map +1 -0
- package/resources/v1/events/beta.d.ts +2 -0
- package/resources/v1/events/beta.d.ts.map +1 -0
- package/resources/v1/events/beta.js +6 -0
- package/resources/v1/events/beta.js.map +1 -0
- package/resources/v1/events/beta.mjs +3 -0
- package/resources/v1/events/beta.mjs.map +1 -0
- package/resources/v1/events/data-export/data-export.d.mts +126 -0
- package/resources/v1/events/data-export/data-export.d.mts.map +1 -0
- package/resources/v1/events/data-export/data-export.d.ts +126 -0
- package/resources/v1/events/data-export/data-export.d.ts.map +1 -0
- package/resources/v1/events/data-export/data-export.js +45 -0
- package/resources/v1/events/data-export/data-export.js.map +1 -0
- package/resources/v1/events/data-export/data-export.mjs +40 -0
- package/resources/v1/events/data-export/data-export.mjs.map +1 -0
- package/resources/v1/events/data-export/destinations.d.mts +202 -0
- package/resources/v1/events/data-export/destinations.d.mts.map +1 -0
- package/resources/v1/events/data-export/destinations.d.ts +202 -0
- package/resources/v1/events/data-export/destinations.d.ts.map +1 -0
- package/resources/v1/events/data-export/destinations.js +41 -0
- package/resources/v1/events/data-export/destinations.js.map +1 -0
- package/resources/v1/events/data-export/destinations.mjs +37 -0
- package/resources/v1/events/data-export/destinations.mjs.map +1 -0
- package/resources/v1/events/data-export/index.d.mts +3 -0
- package/resources/v1/events/data-export/index.d.mts.map +1 -0
- package/resources/v1/events/data-export/index.d.ts +3 -0
- package/resources/v1/events/data-export/index.d.ts.map +1 -0
- package/resources/v1/events/data-export/index.js +9 -0
- package/resources/v1/events/data-export/index.js.map +1 -0
- package/resources/v1/events/data-export/index.mjs +4 -0
- package/resources/v1/events/data-export/index.mjs.map +1 -0
- package/resources/v1/events/data-export.d.mts +2 -0
- package/resources/v1/events/data-export.d.mts.map +1 -0
- package/resources/v1/events/data-export.d.ts +2 -0
- package/resources/v1/events/data-export.d.ts.map +1 -0
- package/resources/v1/events/data-export.js +6 -0
- package/resources/v1/events/data-export.js.map +1 -0
- package/resources/v1/events/data-export.mjs +3 -0
- package/resources/v1/events/data-export.mjs.map +1 -0
- package/resources/v1/events/events.d.mts +98 -0
- package/resources/v1/events/events.d.mts.map +1 -0
- package/resources/v1/events/events.d.ts +98 -0
- package/resources/v1/events/events.d.ts.map +1 -0
- package/resources/v1/events/events.js +56 -0
- package/resources/v1/events/events.js.map +1 -0
- package/resources/v1/events/events.mjs +51 -0
- package/resources/v1/events/events.mjs.map +1 -0
- package/resources/v1/events/index.d.mts +4 -0
- package/resources/v1/events/index.d.mts.map +1 -0
- package/resources/v1/events/index.d.ts +4 -0
- package/resources/v1/events/index.d.ts.map +1 -0
- package/resources/v1/events/index.js +11 -0
- package/resources/v1/events/index.js.map +1 -0
- package/resources/v1/events/index.mjs +5 -0
- package/resources/v1/events/index.mjs.map +1 -0
- package/resources/v1/events.d.mts +1 -65
- package/resources/v1/events.d.mts.map +1 -1
- package/resources/v1/events.d.ts +1 -65
- package/resources/v1/events.d.ts.map +1 -1
- package/resources/v1/events.js +2 -15
- package/resources/v1/events.js.map +1 -1
- package/resources/v1/events.mjs +1 -13
- package/resources/v1/events.mjs.map +1 -1
- package/resources/v1/features.d.mts +152 -31
- package/resources/v1/features.d.mts.map +1 -1
- package/resources/v1/features.d.ts +152 -31
- package/resources/v1/features.d.ts.map +1 -1
- package/resources/v1/features.js +115 -11
- package/resources/v1/features.js.map +1 -1
- package/resources/v1/features.mjs +115 -11
- package/resources/v1/features.mjs.map +1 -1
- package/resources/v1/index.d.mts +9 -9
- package/resources/v1/index.d.mts.map +1 -1
- package/resources/v1/index.d.ts +9 -9
- package/resources/v1/index.d.ts.map +1 -1
- package/resources/v1/index.js +6 -6
- package/resources/v1/index.js.map +1 -1
- package/resources/v1/index.mjs +1 -1
- package/resources/v1/index.mjs.map +1 -1
- package/resources/v1/plans/entitlements.d.mts +93 -5
- package/resources/v1/plans/entitlements.d.mts.map +1 -1
- package/resources/v1/plans/entitlements.d.ts +93 -5
- package/resources/v1/plans/entitlements.d.ts.map +1 -1
- package/resources/v1/plans/entitlements.js +80 -8
- package/resources/v1/plans/entitlements.js.map +1 -1
- package/resources/v1/plans/entitlements.mjs +80 -8
- package/resources/v1/plans/entitlements.mjs.map +1 -1
- package/resources/v1/plans/index.d.mts +2 -2
- package/resources/v1/plans/index.d.mts.map +1 -1
- package/resources/v1/plans/index.d.ts +2 -2
- package/resources/v1/plans/index.d.ts.map +1 -1
- package/resources/v1/plans/index.js.map +1 -1
- package/resources/v1/plans/index.mjs.map +1 -1
- package/resources/v1/plans/plans.d.mts +565 -32
- package/resources/v1/plans/plans.d.mts.map +1 -1
- package/resources/v1/plans/plans.d.ts +565 -32
- package/resources/v1/plans/plans.d.ts.map +1 -1
- package/resources/v1/plans/plans.js +204 -16
- package/resources/v1/plans/plans.js.map +1 -1
- package/resources/v1/plans/plans.mjs +204 -16
- package/resources/v1/plans/plans.mjs.map +1 -1
- package/resources/v1/plans.d.mts.map +1 -1
- package/resources/v1/plans.d.ts.map +1 -1
- package/resources/v1/plans.mjs.map +1 -1
- package/resources/v1/products.d.mts +140 -23
- package/resources/v1/products.d.mts.map +1 -1
- package/resources/v1/products.d.ts +140 -23
- package/resources/v1/products.d.ts.map +1 -1
- package/resources/v1/products.js +116 -11
- package/resources/v1/products.js.map +1 -1
- package/resources/v1/products.mjs +116 -11
- package/resources/v1/products.mjs.map +1 -1
- package/resources/v1/subscriptions/future-update.d.mts +45 -3
- package/resources/v1/subscriptions/future-update.d.mts.map +1 -1
- package/resources/v1/subscriptions/future-update.d.ts +45 -3
- package/resources/v1/subscriptions/future-update.d.ts.map +1 -1
- package/resources/v1/subscriptions/future-update.js +41 -4
- package/resources/v1/subscriptions/future-update.js.map +1 -1
- package/resources/v1/subscriptions/future-update.mjs +41 -4
- package/resources/v1/subscriptions/future-update.mjs.map +1 -1
- package/resources/v1/subscriptions/index.d.mts +4 -4
- package/resources/v1/subscriptions/index.d.mts.map +1 -1
- package/resources/v1/subscriptions/index.d.ts +4 -4
- package/resources/v1/subscriptions/index.d.ts.map +1 -1
- package/resources/v1/subscriptions/index.js.map +1 -1
- package/resources/v1/subscriptions/index.mjs +1 -1
- package/resources/v1/subscriptions/index.mjs.map +1 -1
- package/resources/v1/subscriptions/invoice.d.mts +21 -2
- package/resources/v1/subscriptions/invoice.d.mts.map +1 -1
- package/resources/v1/subscriptions/invoice.d.ts +21 -2
- package/resources/v1/subscriptions/invoice.d.ts.map +1 -1
- package/resources/v1/subscriptions/invoice.js +19 -2
- package/resources/v1/subscriptions/invoice.js.map +1 -1
- package/resources/v1/subscriptions/invoice.mjs +19 -2
- package/resources/v1/subscriptions/invoice.mjs.map +1 -1
- package/resources/v1/subscriptions/subscriptions.d.mts +341 -85
- package/resources/v1/subscriptions/subscriptions.d.mts.map +1 -1
- package/resources/v1/subscriptions/subscriptions.d.ts +341 -85
- package/resources/v1/subscriptions/subscriptions.d.ts.map +1 -1
- package/resources/v1/subscriptions/subscriptions.js +207 -19
- package/resources/v1/subscriptions/subscriptions.js.map +1 -1
- package/resources/v1/subscriptions/subscriptions.mjs +209 -21
- package/resources/v1/subscriptions/subscriptions.mjs.map +1 -1
- package/resources/v1/subscriptions/usage.d.mts +42 -4
- package/resources/v1/subscriptions/usage.d.mts.map +1 -1
- package/resources/v1/subscriptions/usage.d.ts +42 -4
- package/resources/v1/subscriptions/usage.d.ts.map +1 -1
- package/resources/v1/subscriptions/usage.js +39 -4
- package/resources/v1/subscriptions/usage.js.map +1 -1
- package/resources/v1/subscriptions/usage.mjs +39 -4
- package/resources/v1/subscriptions/usage.mjs.map +1 -1
- package/resources/v1/subscriptions.d.mts.map +1 -1
- package/resources/v1/subscriptions.d.ts.map +1 -1
- package/resources/v1/subscriptions.mjs.map +1 -1
- package/resources/v1/usage.d.mts +48 -2
- package/resources/v1/usage.d.mts.map +1 -1
- package/resources/v1/usage.d.ts +48 -2
- package/resources/v1/usage.d.ts.map +1 -1
- package/resources/v1/usage.js +50 -4
- package/resources/v1/usage.js.map +1 -1
- package/resources/v1/usage.mjs +50 -4
- package/resources/v1/usage.mjs.map +1 -1
- package/resources/v1/v1.d.mts +18 -18
- package/resources/v1/v1.d.mts.map +1 -1
- package/resources/v1/v1.d.ts +18 -18
- package/resources/v1/v1.d.ts.map +1 -1
- package/resources/v1/v1.js +2 -2
- package/resources/v1/v1.js.map +1 -1
- package/resources/v1/v1.mjs +2 -2
- package/resources/v1/v1.mjs.map +1 -1
- package/resources/v1.d.mts.map +1 -1
- package/resources/v1.d.ts.map +1 -1
- package/resources/v1.mjs.map +1 -1
- package/resources.d.mts.map +1 -1
- package/resources.d.ts.map +1 -1
- package/resources.mjs.map +1 -1
- package/src/resources/v1/addons/addons.ts +908 -36
- package/src/resources/v1/addons/entitlements.ts +154 -10
- package/src/resources/v1/addons/index.ts +8 -0
- package/src/resources/v1/coupons.ts +194 -27
- package/src/resources/v1/credits/credits.ts +287 -35
- package/src/resources/v1/credits/custom-currencies.ts +245 -38
- package/src/resources/v1/credits/grants.ts +132 -26
- package/src/resources/v1/credits/index.ts +7 -6
- package/src/resources/v1/customers/customers.ts +415 -67
- package/src/resources/v1/customers/index.ts +8 -1
- package/src/resources/v1/customers/integrations.ts +184 -18
- package/src/resources/v1/customers/payment-method.ts +85 -10
- package/src/resources/v1/customers/promotional-entitlements.ts +133 -11
- package/src/resources/v1/events/beta/beta.ts +35 -0
- package/src/resources/v1/events/beta/customers/assignments.ts +277 -0
- package/src/resources/v1/events/beta/customers/customers.ts +71 -0
- package/src/resources/v1/events/beta/customers/entities.ts +501 -0
- package/src/resources/v1/events/beta/customers/entitlements.ts +354 -0
- package/src/resources/v1/events/beta/customers/index.ts +26 -0
- package/src/resources/v1/events/beta/customers.ts +3 -0
- package/src/resources/v1/events/beta/entity-types.ts +226 -0
- package/src/resources/v1/events/beta/index.ts +12 -0
- package/src/resources/v1/events/beta.ts +3 -0
- package/src/resources/v1/events/data-export/data-export.ts +170 -0
- package/src/resources/v1/events/data-export/destinations.ts +243 -0
- package/src/resources/v1/events/data-export/index.ts +15 -0
- package/src/resources/v1/events/data-export.ts +3 -0
- package/src/resources/v1/events/events.ts +141 -0
- package/src/resources/v1/events/index.ts +11 -0
- package/src/resources/v1/events.ts +1 -75
- package/src/resources/v1/features.ts +252 -39
- package/src/resources/v1/index.ts +31 -1
- package/src/resources/v1/plans/entitlements.ts +154 -10
- package/src/resources/v1/plans/index.ts +11 -0
- package/src/resources/v1/plans/plans.ts +1509 -37
- package/src/resources/v1/products.ts +235 -30
- package/src/resources/v1/subscriptions/future-update.ts +84 -5
- package/src/resources/v1/subscriptions/index.ts +9 -2
- package/src/resources/v1/subscriptions/invoice.ts +42 -3
- package/src/resources/v1/subscriptions/subscriptions.ts +509 -90
- package/src/resources/v1/subscriptions/usage.ts +74 -5
- package/src/resources/v1/usage.ts +77 -5
- package/src/resources/v1/v1.ts +62 -2
- package/src/version.ts +1 -1
- package/uploads.d.mts +1 -0
- package/uploads.d.mts.map +1 -1
- package/uploads.d.ts +1 -0
- package/uploads.d.ts.map +1 -1
- package/uploads.mjs +1 -0
- package/uploads.mjs.map +1 -1
- package/version.d.mts +1 -1
- package/version.d.mts.map +1 -1
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
- package/resources/v1/credits/auto-recharge.d.mts +0 -84
- package/resources/v1/credits/auto-recharge.d.mts.map +0 -1
- package/resources/v1/credits/auto-recharge.d.ts +0 -84
- package/resources/v1/credits/auto-recharge.d.ts.map +0 -1
- package/resources/v1/credits/auto-recharge.js +0 -16
- package/resources/v1/credits/auto-recharge.js.map +0 -1
- package/resources/v1/credits/auto-recharge.mjs +0 -12
- package/resources/v1/credits/auto-recharge.mjs.map +0 -1
- package/src/resources/v1/credits/auto-recharge.ts +0 -109
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { APIResource } from "../../../core/resource.js";
|
|
2
2
|
import * as FutureUpdateAPI from "./future-update.js";
|
|
3
|
-
import { CancelSubscription, FutureUpdate as FutureUpdateAPIFutureUpdate } from "./future-update.js";
|
|
3
|
+
import { CancelSubscription, FutureUpdate as FutureUpdateAPIFutureUpdate, FutureUpdateCancelPendingPaymentParams, FutureUpdateCancelScheduleParams } from "./future-update.js";
|
|
4
4
|
import * as InvoiceAPI from "./invoice.js";
|
|
5
|
-
import { Invoice, InvoiceMarkAsPaidResponse } from "./invoice.js";
|
|
5
|
+
import { Invoice, InvoiceMarkAsPaidParams, InvoiceMarkAsPaidResponse } from "./invoice.js";
|
|
6
6
|
import * as UsageAPI from "./usage.js";
|
|
7
|
-
import { Usage, UsageChargeUsageParams, UsageChargeUsageResponse, UsageSyncResponse } from "./usage.js";
|
|
7
|
+
import { Usage, UsageChargeUsageParams, UsageChargeUsageResponse, UsageSyncParams, UsageSyncResponse } from "./usage.js";
|
|
8
8
|
import { APIPromise } from "../../../core/api-promise.js";
|
|
9
9
|
import { MyCursorIDPage, type MyCursorIDPageParams, PagePromise } from "../../../core/pagination.js";
|
|
10
10
|
import { RequestOptions } from "../../../internal/request-options.js";
|
|
@@ -15,53 +15,134 @@ export declare class Subscriptions extends APIResource {
|
|
|
15
15
|
/**
|
|
16
16
|
* Retrieves a subscription by its unique identifier, including plan details,
|
|
17
17
|
* billing period, status, and add-ons.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* ```ts
|
|
21
|
+
* const subscription = await client.v1.subscriptions.retrieve(
|
|
22
|
+
* 'x',
|
|
23
|
+
* );
|
|
24
|
+
* ```
|
|
18
25
|
*/
|
|
19
|
-
retrieve(id: string, options?: RequestOptions): APIPromise<Subscription>;
|
|
26
|
+
retrieve(id: string, params?: SubscriptionRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<Subscription>;
|
|
20
27
|
/**
|
|
21
28
|
* Updates an active subscription's properties including billing period, add-ons,
|
|
22
29
|
* unit quantities, and discounts.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```ts
|
|
33
|
+
* const subscription = await client.v1.subscriptions.update(
|
|
34
|
+
* 'x',
|
|
35
|
+
* );
|
|
36
|
+
* ```
|
|
23
37
|
*/
|
|
24
|
-
update(id: string,
|
|
38
|
+
update(id: string, params: SubscriptionUpdateParams, options?: RequestOptions): APIPromise<Subscription>;
|
|
25
39
|
/**
|
|
26
40
|
* Retrieves a paginated list of subscriptions, with optional filters for customer,
|
|
27
41
|
* status, and plan.
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* ```ts
|
|
45
|
+
* // Automatically fetches more pages as needed.
|
|
46
|
+
* for await (const subscriptionListResponse of client.v1.subscriptions.list()) {
|
|
47
|
+
* // ...
|
|
48
|
+
* }
|
|
49
|
+
* ```
|
|
28
50
|
*/
|
|
29
|
-
list(
|
|
51
|
+
list(params?: SubscriptionListParams | null | undefined, options?: RequestOptions): PagePromise<SubscriptionListResponsesMyCursorIDPage, SubscriptionListResponse>;
|
|
30
52
|
/**
|
|
31
53
|
* Cancels an active subscription, either immediately or at a specified time such
|
|
32
54
|
* as end of billing period.
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* ```ts
|
|
58
|
+
* const subscription = await client.v1.subscriptions.cancel(
|
|
59
|
+
* 'x',
|
|
60
|
+
* );
|
|
61
|
+
* ```
|
|
33
62
|
*/
|
|
34
|
-
cancel(id: string,
|
|
63
|
+
cancel(id: string, params: SubscriptionCancelParams, options?: RequestOptions): APIPromise<Subscription>;
|
|
35
64
|
/**
|
|
36
65
|
* Delegates the payment responsibility of a subscription to a different customer.
|
|
37
66
|
* The delegated customer will be billed for this subscription.
|
|
67
|
+
*
|
|
68
|
+
* @example
|
|
69
|
+
* ```ts
|
|
70
|
+
* const subscription = await client.v1.subscriptions.delegate(
|
|
71
|
+
* 'x',
|
|
72
|
+
* { targetCustomerId: 'targetCustomerId' },
|
|
73
|
+
* );
|
|
74
|
+
* ```
|
|
38
75
|
*/
|
|
39
|
-
delegate(id: string,
|
|
76
|
+
delegate(id: string, params: SubscriptionDelegateParams, options?: RequestOptions): APIPromise<Subscription>;
|
|
40
77
|
/**
|
|
41
78
|
* Imports multiple subscriptions in bulk. Used for migrating subscription data
|
|
42
79
|
* from external systems.
|
|
43
|
-
|
|
44
|
-
|
|
80
|
+
*
|
|
81
|
+
* @example
|
|
82
|
+
* ```ts
|
|
83
|
+
* const response = await client.v1.subscriptions.import({
|
|
84
|
+
* subscriptions: [
|
|
85
|
+
* {
|
|
86
|
+
* id: 'id',
|
|
87
|
+
* customerId: 'customerId',
|
|
88
|
+
* planId: 'planId',
|
|
89
|
+
* },
|
|
90
|
+
* ],
|
|
91
|
+
* });
|
|
92
|
+
* ```
|
|
93
|
+
*/
|
|
94
|
+
import(params: SubscriptionImportParams, options?: RequestOptions): APIPromise<SubscriptionImportResponse>;
|
|
45
95
|
/**
|
|
46
96
|
* Migrates a subscription to the latest published version of its plan or add-ons.
|
|
47
97
|
* Handles prorated charges or credits automatically.
|
|
98
|
+
*
|
|
99
|
+
* @example
|
|
100
|
+
* ```ts
|
|
101
|
+
* const subscription = await client.v1.subscriptions.migrate(
|
|
102
|
+
* 'x',
|
|
103
|
+
* );
|
|
104
|
+
* ```
|
|
48
105
|
*/
|
|
49
|
-
migrate(id: string,
|
|
106
|
+
migrate(id: string, params: SubscriptionMigrateParams, options?: RequestOptions): APIPromise<Subscription>;
|
|
50
107
|
/**
|
|
51
108
|
* Previews the pricing impact of creating or updating a subscription without
|
|
52
109
|
* making changes. Returns estimated costs, taxes, and proration details.
|
|
110
|
+
*
|
|
111
|
+
* @example
|
|
112
|
+
* ```ts
|
|
113
|
+
* const response = await client.v1.subscriptions.preview({
|
|
114
|
+
* customerId: 'customerId',
|
|
115
|
+
* planId: 'planId',
|
|
116
|
+
* });
|
|
117
|
+
* ```
|
|
53
118
|
*/
|
|
54
|
-
preview(
|
|
119
|
+
preview(params: SubscriptionPreviewParams, options?: RequestOptions): APIPromise<SubscriptionPreviewResponse>;
|
|
55
120
|
/**
|
|
56
121
|
* Creates a new subscription for an existing customer. When payment is required
|
|
57
122
|
* and no payment method exists, returns a checkout URL.
|
|
123
|
+
*
|
|
124
|
+
* @example
|
|
125
|
+
* ```ts
|
|
126
|
+
* const response = await client.v1.subscriptions.provision({
|
|
127
|
+
* customerId: 'customerId',
|
|
128
|
+
* planId: 'planId',
|
|
129
|
+
* });
|
|
130
|
+
* ```
|
|
58
131
|
*/
|
|
59
|
-
provision(
|
|
132
|
+
provision(params: SubscriptionProvisionParams, options?: RequestOptions): APIPromise<SubscriptionProvisionResponse>;
|
|
60
133
|
/**
|
|
61
134
|
* Transfers a subscription to a different resource ID. Used for multi-resource
|
|
62
135
|
* products where subscriptions apply to specific entities like websites or apps.
|
|
63
|
-
|
|
64
|
-
|
|
136
|
+
*
|
|
137
|
+
* @example
|
|
138
|
+
* ```ts
|
|
139
|
+
* const subscription = await client.v1.subscriptions.transfer(
|
|
140
|
+
* 'x',
|
|
141
|
+
* { destinationResourceId: 'destinationResourceId' },
|
|
142
|
+
* );
|
|
143
|
+
* ```
|
|
144
|
+
*/
|
|
145
|
+
transfer(id: string, params: SubscriptionTransferParams, options?: RequestOptions): APIPromise<Subscription>;
|
|
65
146
|
}
|
|
66
147
|
export type SubscriptionListResponsesMyCursorIDPage = MyCursorIDPage<SubscriptionListResponse>;
|
|
67
148
|
/**
|
|
@@ -1659,39 +1740,97 @@ export declare namespace SubscriptionProvisionResponse {
|
|
|
1659
1740
|
}
|
|
1660
1741
|
}
|
|
1661
1742
|
}
|
|
1743
|
+
export interface SubscriptionRetrieveParams {
|
|
1744
|
+
/**
|
|
1745
|
+
* Account ID — optional when authenticating with a user JWT (Bearer token); falls
|
|
1746
|
+
* back to the user's first membership. Ignored for API-key auth.
|
|
1747
|
+
*/
|
|
1748
|
+
'X-ACCOUNT-ID'?: string;
|
|
1749
|
+
/**
|
|
1750
|
+
* Environment ID — required when authenticating with a user JWT (Bearer token) on
|
|
1751
|
+
* environment-scoped endpoints. Ignored for API-key auth (env is intrinsic to the
|
|
1752
|
+
* key).
|
|
1753
|
+
*/
|
|
1754
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
1755
|
+
}
|
|
1662
1756
|
export interface SubscriptionUpdateParams {
|
|
1757
|
+
/**
|
|
1758
|
+
* Body param
|
|
1759
|
+
*/
|
|
1663
1760
|
addons?: Array<SubscriptionUpdateParams.Addon>;
|
|
1761
|
+
/**
|
|
1762
|
+
* Body param
|
|
1763
|
+
*/
|
|
1664
1764
|
appliedCoupon?: SubscriptionUpdateParams.AppliedCoupon;
|
|
1665
1765
|
/**
|
|
1666
|
-
* Await payment confirmation
|
|
1766
|
+
* Body param: Await payment confirmation
|
|
1667
1767
|
*/
|
|
1668
1768
|
awaitPaymentConfirmation?: boolean;
|
|
1769
|
+
/**
|
|
1770
|
+
* Body param
|
|
1771
|
+
*/
|
|
1669
1772
|
billingCycleAnchor?: 'UNCHANGED' | 'NOW';
|
|
1773
|
+
/**
|
|
1774
|
+
* Body param
|
|
1775
|
+
*/
|
|
1670
1776
|
billingInformation?: SubscriptionUpdateParams.BillingInformation;
|
|
1777
|
+
/**
|
|
1778
|
+
* Body param
|
|
1779
|
+
*/
|
|
1671
1780
|
billingPeriod?: 'MONTHLY' | 'ANNUALLY';
|
|
1781
|
+
/**
|
|
1782
|
+
* Body param
|
|
1783
|
+
*/
|
|
1672
1784
|
budget?: SubscriptionUpdateParams.Budget | null;
|
|
1785
|
+
/**
|
|
1786
|
+
* Body param: Subscription cancellation date
|
|
1787
|
+
*/
|
|
1788
|
+
cancellationDate?: string | null;
|
|
1789
|
+
/**
|
|
1790
|
+
* Body param
|
|
1791
|
+
*/
|
|
1673
1792
|
charges?: Array<SubscriptionUpdateParams.Charge>;
|
|
1793
|
+
/**
|
|
1794
|
+
* Body param
|
|
1795
|
+
*/
|
|
1674
1796
|
entitlements?: Array<SubscriptionUpdateParams.Feature | SubscriptionUpdateParams.Credit>;
|
|
1675
1797
|
/**
|
|
1676
|
-
* Additional metadata for the subscription
|
|
1798
|
+
* Body param: Additional metadata for the subscription
|
|
1677
1799
|
*/
|
|
1678
1800
|
metadata?: {
|
|
1679
1801
|
[key: string]: string;
|
|
1680
1802
|
};
|
|
1681
1803
|
/**
|
|
1682
|
-
* Minimum spend amount
|
|
1804
|
+
* Body param: Minimum spend amount
|
|
1683
1805
|
*/
|
|
1684
1806
|
minimumSpend?: SubscriptionUpdateParams.MinimumSpend | null;
|
|
1807
|
+
/**
|
|
1808
|
+
* Body param
|
|
1809
|
+
*/
|
|
1685
1810
|
priceOverrides?: Array<SubscriptionUpdateParams.PriceOverride>;
|
|
1686
1811
|
/**
|
|
1687
|
-
* Promotion code
|
|
1812
|
+
* Body param: Promotion code
|
|
1688
1813
|
*/
|
|
1689
1814
|
promotionCode?: string;
|
|
1815
|
+
/**
|
|
1816
|
+
* Body param
|
|
1817
|
+
*/
|
|
1690
1818
|
scheduleStrategy?: 'END_OF_BILLING_PERIOD' | 'END_OF_BILLING_MONTH' | 'IMMEDIATE';
|
|
1691
1819
|
/**
|
|
1692
|
-
* Subscription trial end date
|
|
1820
|
+
* Body param: Subscription trial end date
|
|
1693
1821
|
*/
|
|
1694
1822
|
trialEndDate?: string;
|
|
1823
|
+
/**
|
|
1824
|
+
* Header param: Account ID — optional when authenticating with a user JWT (Bearer
|
|
1825
|
+
* token); falls back to the user's first membership. Ignored for API-key auth.
|
|
1826
|
+
*/
|
|
1827
|
+
'X-ACCOUNT-ID'?: string;
|
|
1828
|
+
/**
|
|
1829
|
+
* Header param: Environment ID — required when authenticating with a user JWT
|
|
1830
|
+
* (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is
|
|
1831
|
+
* intrinsic to the key).
|
|
1832
|
+
*/
|
|
1833
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
1695
1834
|
}
|
|
1696
1835
|
export declare namespace SubscriptionUpdateParams {
|
|
1697
1836
|
/**
|
|
@@ -1955,30 +2094,42 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
1955
2094
|
}
|
|
1956
2095
|
export interface SubscriptionListParams extends MyCursorIDPageParams {
|
|
1957
2096
|
/**
|
|
1958
|
-
* Filter by creation date using range operators: gt, gte, lt, lte
|
|
2097
|
+
* Query param: Filter by creation date using range operators: gt, gte, lt, lte
|
|
1959
2098
|
*/
|
|
1960
2099
|
createdAt?: SubscriptionListParams.CreatedAt;
|
|
1961
2100
|
/**
|
|
1962
|
-
* Filter by customer ID
|
|
2101
|
+
* Query param: Filter by customer ID
|
|
1963
2102
|
*/
|
|
1964
2103
|
customerId?: string;
|
|
1965
2104
|
/**
|
|
1966
|
-
* Filter by plan ID
|
|
2105
|
+
* Query param: Filter by plan ID
|
|
1967
2106
|
*/
|
|
1968
2107
|
planId?: string;
|
|
1969
2108
|
/**
|
|
1970
|
-
* Filter by pricing type. Supports comma-separated values for
|
|
2109
|
+
* Query param: Filter by pricing type. Supports comma-separated values for
|
|
2110
|
+
* multiple types
|
|
1971
2111
|
*/
|
|
1972
2112
|
pricingType?: Array<'FREE' | 'PAID' | 'CUSTOM'>;
|
|
1973
2113
|
/**
|
|
1974
|
-
* Filter by resource ID
|
|
2114
|
+
* Query param: Filter by resource ID
|
|
1975
2115
|
*/
|
|
1976
2116
|
resourceId?: string;
|
|
1977
2117
|
/**
|
|
1978
|
-
* Filter by subscription status. Supports comma-separated values for
|
|
1979
|
-
* statuses
|
|
2118
|
+
* Query param: Filter by subscription status. Supports comma-separated values for
|
|
2119
|
+
* multiple statuses
|
|
1980
2120
|
*/
|
|
1981
2121
|
status?: Array<'PAYMENT_PENDING' | 'ACTIVE' | 'EXPIRED' | 'IN_TRIAL' | 'CANCELED' | 'NOT_STARTED'>;
|
|
2122
|
+
/**
|
|
2123
|
+
* Header param: Account ID — optional when authenticating with a user JWT (Bearer
|
|
2124
|
+
* token); falls back to the user's first membership. Ignored for API-key auth.
|
|
2125
|
+
*/
|
|
2126
|
+
'X-ACCOUNT-ID'?: string;
|
|
2127
|
+
/**
|
|
2128
|
+
* Header param: Environment ID — required when authenticating with a user JWT
|
|
2129
|
+
* (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is
|
|
2130
|
+
* intrinsic to the key).
|
|
2131
|
+
*/
|
|
2132
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
1982
2133
|
}
|
|
1983
2134
|
export declare namespace SubscriptionListParams {
|
|
1984
2135
|
/**
|
|
@@ -2005,39 +2156,74 @@ export declare namespace SubscriptionListParams {
|
|
|
2005
2156
|
}
|
|
2006
2157
|
export interface SubscriptionCancelParams {
|
|
2007
2158
|
/**
|
|
2008
|
-
* Action on cancellation (downgrade or revoke)
|
|
2159
|
+
* Body param: Action on cancellation (downgrade or revoke)
|
|
2009
2160
|
*/
|
|
2010
2161
|
cancellationAction?: 'DEFAULT' | 'REVOKE_ENTITLEMENTS';
|
|
2011
2162
|
/**
|
|
2012
|
-
* When to cancel (immediate, period end, or date)
|
|
2163
|
+
* Body param: When to cancel (immediate, period end, or date)
|
|
2013
2164
|
*/
|
|
2014
2165
|
cancellationTime?: 'END_OF_BILLING_PERIOD' | 'IMMEDIATE' | 'SPECIFIC_DATE';
|
|
2015
2166
|
/**
|
|
2016
|
-
* Subscription end date
|
|
2167
|
+
* Body param: Subscription end date
|
|
2017
2168
|
*/
|
|
2018
2169
|
endDate?: string;
|
|
2019
2170
|
/**
|
|
2020
|
-
* If set, enables or disables prorating of credits on subscription
|
|
2171
|
+
* Body param: If set, enables or disables prorating of credits on subscription
|
|
2172
|
+
* cancellation.
|
|
2021
2173
|
*/
|
|
2022
2174
|
prorate?: boolean;
|
|
2175
|
+
/**
|
|
2176
|
+
* Header param: Account ID — optional when authenticating with a user JWT (Bearer
|
|
2177
|
+
* token); falls back to the user's first membership. Ignored for API-key auth.
|
|
2178
|
+
*/
|
|
2179
|
+
'X-ACCOUNT-ID'?: string;
|
|
2180
|
+
/**
|
|
2181
|
+
* Header param: Environment ID — required when authenticating with a user JWT
|
|
2182
|
+
* (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is
|
|
2183
|
+
* intrinsic to the key).
|
|
2184
|
+
*/
|
|
2185
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
2023
2186
|
}
|
|
2024
2187
|
export interface SubscriptionDelegateParams {
|
|
2025
2188
|
/**
|
|
2026
|
-
* The unique identifier of the customer who will assume payment
|
|
2027
|
-
* this subscription. This customer must already exist in your
|
|
2028
|
-
* have a valid payment method if the subscription requires
|
|
2189
|
+
* Body param: The unique identifier of the customer who will assume payment
|
|
2190
|
+
* responsibility for this subscription. This customer must already exist in your
|
|
2191
|
+
* Stigg account and have a valid payment method if the subscription requires
|
|
2192
|
+
* payment.
|
|
2029
2193
|
*/
|
|
2030
2194
|
targetCustomerId: string;
|
|
2195
|
+
/**
|
|
2196
|
+
* Header param: Account ID — optional when authenticating with a user JWT (Bearer
|
|
2197
|
+
* token); falls back to the user's first membership. Ignored for API-key auth.
|
|
2198
|
+
*/
|
|
2199
|
+
'X-ACCOUNT-ID'?: string;
|
|
2200
|
+
/**
|
|
2201
|
+
* Header param: Environment ID — required when authenticating with a user JWT
|
|
2202
|
+
* (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is
|
|
2203
|
+
* intrinsic to the key).
|
|
2204
|
+
*/
|
|
2205
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
2031
2206
|
}
|
|
2032
2207
|
export interface SubscriptionImportParams {
|
|
2033
2208
|
/**
|
|
2034
|
-
* List of subscription objects to import
|
|
2209
|
+
* Body param: List of subscription objects to import
|
|
2035
2210
|
*/
|
|
2036
2211
|
subscriptions: Array<SubscriptionImportParams.Subscription>;
|
|
2037
2212
|
/**
|
|
2038
|
-
* Integration ID to use for importing subscriptions
|
|
2213
|
+
* Body param: Integration ID to use for importing subscriptions
|
|
2039
2214
|
*/
|
|
2040
2215
|
integrationId?: string | null;
|
|
2216
|
+
/**
|
|
2217
|
+
* Header param: Account ID — optional when authenticating with a user JWT (Bearer
|
|
2218
|
+
* token); falls back to the user's first membership. Ignored for API-key auth.
|
|
2219
|
+
*/
|
|
2220
|
+
'X-ACCOUNT-ID'?: string;
|
|
2221
|
+
/**
|
|
2222
|
+
* Header param: Environment ID — required when authenticating with a user JWT
|
|
2223
|
+
* (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is
|
|
2224
|
+
* intrinsic to the key).
|
|
2225
|
+
*/
|
|
2226
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
2041
2227
|
}
|
|
2042
2228
|
export declare namespace SubscriptionImportParams {
|
|
2043
2229
|
interface Subscription {
|
|
@@ -2097,7 +2283,8 @@ export declare namespace SubscriptionImportParams {
|
|
|
2097
2283
|
quantity: number;
|
|
2098
2284
|
}
|
|
2099
2285
|
/**
|
|
2100
|
-
*
|
|
2286
|
+
* A charge selection for a subscription (references a catalog charge with a
|
|
2287
|
+
* quantity).
|
|
2101
2288
|
*/
|
|
2102
2289
|
interface Charge {
|
|
2103
2290
|
/**
|
|
@@ -2105,7 +2292,7 @@ export declare namespace SubscriptionImportParams {
|
|
|
2105
2292
|
*/
|
|
2106
2293
|
id: string;
|
|
2107
2294
|
/**
|
|
2108
|
-
* Charge quantity
|
|
2295
|
+
* Charge quantity. Minimum is 0 (zero is allowed).
|
|
2109
2296
|
*/
|
|
2110
2297
|
quantity: number;
|
|
2111
2298
|
/**
|
|
@@ -2117,75 +2304,97 @@ export declare namespace SubscriptionImportParams {
|
|
|
2117
2304
|
}
|
|
2118
2305
|
export interface SubscriptionMigrateParams {
|
|
2119
2306
|
/**
|
|
2120
|
-
* When to migrate (immediate or period end)
|
|
2307
|
+
* Body param: When to migrate (immediate or period end)
|
|
2121
2308
|
*/
|
|
2122
2309
|
subscriptionMigrationTime?: 'END_OF_BILLING_PERIOD' | 'IMMEDIATE';
|
|
2310
|
+
/**
|
|
2311
|
+
* Header param: Account ID — optional when authenticating with a user JWT (Bearer
|
|
2312
|
+
* token); falls back to the user's first membership. Ignored for API-key auth.
|
|
2313
|
+
*/
|
|
2314
|
+
'X-ACCOUNT-ID'?: string;
|
|
2315
|
+
/**
|
|
2316
|
+
* Header param: Environment ID — required when authenticating with a user JWT
|
|
2317
|
+
* (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is
|
|
2318
|
+
* intrinsic to the key).
|
|
2319
|
+
*/
|
|
2320
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
2123
2321
|
}
|
|
2124
2322
|
export interface SubscriptionPreviewParams {
|
|
2125
2323
|
/**
|
|
2126
|
-
* Customer ID
|
|
2324
|
+
* Body param: Customer ID
|
|
2127
2325
|
*/
|
|
2128
2326
|
customerId: string;
|
|
2129
2327
|
/**
|
|
2130
|
-
* Plan ID
|
|
2328
|
+
* Body param: Plan ID
|
|
2131
2329
|
*/
|
|
2132
2330
|
planId: string;
|
|
2133
2331
|
/**
|
|
2134
|
-
* Addons to include
|
|
2332
|
+
* Body param: Addons to include
|
|
2135
2333
|
*/
|
|
2136
2334
|
addons?: Array<SubscriptionPreviewParams.Addon>;
|
|
2137
2335
|
/**
|
|
2138
|
-
* Coupon or discount to apply
|
|
2336
|
+
* Body param: Coupon or discount to apply
|
|
2139
2337
|
*/
|
|
2140
2338
|
appliedCoupon?: SubscriptionPreviewParams.AppliedCoupon;
|
|
2141
2339
|
/**
|
|
2142
|
-
* Billable features with quantities
|
|
2340
|
+
* Body param: Billable features with quantities
|
|
2143
2341
|
*/
|
|
2144
2342
|
billableFeatures?: Array<SubscriptionPreviewParams.BillableFeature>;
|
|
2145
2343
|
/**
|
|
2146
|
-
* ISO 3166-1 country code for localization
|
|
2344
|
+
* Body param: ISO 3166-1 country code for localization
|
|
2147
2345
|
*/
|
|
2148
2346
|
billingCountryCode?: string;
|
|
2149
2347
|
/**
|
|
2150
|
-
* Billing cycle anchor behavior for the subscription
|
|
2348
|
+
* Body param: Billing cycle anchor behavior for the subscription
|
|
2151
2349
|
*/
|
|
2152
2350
|
billingCycleAnchor?: 'UNCHANGED' | 'NOW';
|
|
2153
2351
|
/**
|
|
2154
|
-
* Billing and tax configuration
|
|
2352
|
+
* Body param: Billing and tax configuration
|
|
2155
2353
|
*/
|
|
2156
2354
|
billingInformation?: SubscriptionPreviewParams.BillingInformation;
|
|
2157
2355
|
/**
|
|
2158
|
-
* Billing period (MONTHLY or ANNUALLY)
|
|
2356
|
+
* Body param: Billing period (MONTHLY or ANNUALLY)
|
|
2159
2357
|
*/
|
|
2160
2358
|
billingPeriod?: 'MONTHLY' | 'ANNUALLY';
|
|
2161
2359
|
/**
|
|
2162
|
-
* One-time or recurring charges
|
|
2360
|
+
* Body param: One-time or recurring charges
|
|
2163
2361
|
*/
|
|
2164
2362
|
charges?: Array<SubscriptionPreviewParams.Charge>;
|
|
2165
2363
|
/**
|
|
2166
|
-
* Paying customer ID for delegated billing
|
|
2364
|
+
* Body param: Paying customer ID for delegated billing
|
|
2167
2365
|
*/
|
|
2168
2366
|
payingCustomerId?: string;
|
|
2169
2367
|
/**
|
|
2170
|
-
* Resource ID for multi-instance subscriptions
|
|
2368
|
+
* Body param: Resource ID for multi-instance subscriptions
|
|
2171
2369
|
*/
|
|
2172
2370
|
resourceId?: string;
|
|
2173
2371
|
/**
|
|
2174
|
-
* When to apply subscription changes
|
|
2372
|
+
* Body param: When to apply subscription changes
|
|
2175
2373
|
*/
|
|
2176
2374
|
scheduleStrategy?: 'END_OF_BILLING_PERIOD' | 'END_OF_BILLING_MONTH' | 'IMMEDIATE';
|
|
2177
2375
|
/**
|
|
2178
|
-
* Subscription start date
|
|
2376
|
+
* Body param: Subscription start date
|
|
2179
2377
|
*/
|
|
2180
2378
|
startDate?: string;
|
|
2181
2379
|
/**
|
|
2182
|
-
* Trial period override settings
|
|
2380
|
+
* Body param: Trial period override settings
|
|
2183
2381
|
*/
|
|
2184
2382
|
trialOverrideConfiguration?: SubscriptionPreviewParams.TrialOverrideConfiguration;
|
|
2185
2383
|
/**
|
|
2186
|
-
* Unit quantity for per-unit pricing
|
|
2384
|
+
* Body param: Unit quantity for per-unit pricing. Minimum is 0 (zero is allowed).
|
|
2187
2385
|
*/
|
|
2188
2386
|
unitQuantity?: number;
|
|
2387
|
+
/**
|
|
2388
|
+
* Header param: Account ID — optional when authenticating with a user JWT (Bearer
|
|
2389
|
+
* token); falls back to the user's first membership. Ignored for API-key auth.
|
|
2390
|
+
*/
|
|
2391
|
+
'X-ACCOUNT-ID'?: string;
|
|
2392
|
+
/**
|
|
2393
|
+
* Header param: Environment ID — required when authenticating with a user JWT
|
|
2394
|
+
* (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is
|
|
2395
|
+
* intrinsic to the key).
|
|
2396
|
+
*/
|
|
2397
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
2189
2398
|
}
|
|
2190
2399
|
export declare namespace SubscriptionPreviewParams {
|
|
2191
2400
|
/**
|
|
@@ -2283,7 +2492,7 @@ export declare namespace SubscriptionPreviewParams {
|
|
|
2283
2492
|
*/
|
|
2284
2493
|
featureId: string;
|
|
2285
2494
|
/**
|
|
2286
|
-
* Quantity of feature units
|
|
2495
|
+
* Quantity of feature units. Minimum is 0 (zero is allowed).
|
|
2287
2496
|
*/
|
|
2288
2497
|
quantity: number;
|
|
2289
2498
|
}
|
|
@@ -2365,7 +2574,8 @@ export declare namespace SubscriptionPreviewParams {
|
|
|
2365
2574
|
}
|
|
2366
2575
|
}
|
|
2367
2576
|
/**
|
|
2368
|
-
*
|
|
2577
|
+
* A charge selection for a subscription (references a catalog charge with a
|
|
2578
|
+
* quantity).
|
|
2369
2579
|
*/
|
|
2370
2580
|
interface Charge {
|
|
2371
2581
|
/**
|
|
@@ -2373,7 +2583,7 @@ export declare namespace SubscriptionPreviewParams {
|
|
|
2373
2583
|
*/
|
|
2374
2584
|
id: string;
|
|
2375
2585
|
/**
|
|
2376
|
-
* Charge quantity
|
|
2586
|
+
* Charge quantity. Minimum is 0 (zero is allowed).
|
|
2377
2587
|
*/
|
|
2378
2588
|
quantity: number;
|
|
2379
2589
|
/**
|
|
@@ -2401,93 +2611,127 @@ export declare namespace SubscriptionPreviewParams {
|
|
|
2401
2611
|
}
|
|
2402
2612
|
export interface SubscriptionProvisionParams {
|
|
2403
2613
|
/**
|
|
2404
|
-
* Customer ID to provision the subscription for
|
|
2614
|
+
* Body param: Customer ID to provision the subscription for
|
|
2405
2615
|
*/
|
|
2406
2616
|
customerId: string;
|
|
2407
2617
|
/**
|
|
2408
|
-
* Plan ID to provision
|
|
2618
|
+
* Body param: Plan ID to provision
|
|
2409
2619
|
*/
|
|
2410
2620
|
planId: string;
|
|
2411
2621
|
/**
|
|
2412
|
-
* Unique identifier for the subscription
|
|
2622
|
+
* Body param: Unique identifier for the subscription
|
|
2413
2623
|
*/
|
|
2414
2624
|
id?: string;
|
|
2625
|
+
/**
|
|
2626
|
+
* Body param
|
|
2627
|
+
*/
|
|
2415
2628
|
addons?: Array<SubscriptionProvisionParams.Addon>;
|
|
2416
2629
|
/**
|
|
2417
|
-
* Coupon configuration
|
|
2630
|
+
* Body param: Coupon configuration
|
|
2418
2631
|
*/
|
|
2419
2632
|
appliedCoupon?: SubscriptionProvisionParams.AppliedCoupon;
|
|
2420
2633
|
/**
|
|
2421
|
-
* Whether to wait for payment confirmation before returning the
|
|
2634
|
+
* Body param: Whether to wait for payment confirmation before returning the
|
|
2635
|
+
* subscription
|
|
2422
2636
|
*/
|
|
2423
2637
|
awaitPaymentConfirmation?: boolean;
|
|
2424
2638
|
/**
|
|
2425
|
-
* The ISO 3166-1 alpha-2 country code for billing
|
|
2639
|
+
* Body param: The ISO 3166-1 alpha-2 country code for billing
|
|
2426
2640
|
*/
|
|
2427
2641
|
billingCountryCode?: string | null;
|
|
2428
2642
|
/**
|
|
2429
|
-
* Billing cycle anchor behavior for the subscription
|
|
2643
|
+
* Body param: Billing cycle anchor behavior for the subscription
|
|
2430
2644
|
*/
|
|
2431
2645
|
billingCycleAnchor?: 'UNCHANGED' | 'NOW';
|
|
2432
2646
|
/**
|
|
2433
|
-
* External billing system identifier
|
|
2647
|
+
* Body param: External billing system identifier
|
|
2434
2648
|
*/
|
|
2435
2649
|
billingId?: string | null;
|
|
2650
|
+
/**
|
|
2651
|
+
* Body param
|
|
2652
|
+
*/
|
|
2436
2653
|
billingInformation?: SubscriptionProvisionParams.BillingInformation;
|
|
2437
2654
|
/**
|
|
2438
|
-
* Billing period (MONTHLY or ANNUALLY)
|
|
2655
|
+
* Body param: Billing period (MONTHLY or ANNUALLY)
|
|
2439
2656
|
*/
|
|
2440
2657
|
billingPeriod?: 'MONTHLY' | 'ANNUALLY';
|
|
2658
|
+
/**
|
|
2659
|
+
* Body param
|
|
2660
|
+
*/
|
|
2441
2661
|
budget?: SubscriptionProvisionParams.Budget | null;
|
|
2662
|
+
/**
|
|
2663
|
+
* Body param: Subscription cancellation date
|
|
2664
|
+
*/
|
|
2665
|
+
cancellationDate?: string;
|
|
2666
|
+
/**
|
|
2667
|
+
* Body param
|
|
2668
|
+
*/
|
|
2442
2669
|
charges?: Array<SubscriptionProvisionParams.Charge>;
|
|
2443
2670
|
/**
|
|
2444
|
-
* Checkout page configuration for payment collection
|
|
2671
|
+
* Body param: Checkout page configuration for payment collection
|
|
2445
2672
|
*/
|
|
2446
2673
|
checkoutOptions?: SubscriptionProvisionParams.CheckoutOptions;
|
|
2674
|
+
/**
|
|
2675
|
+
* Body param
|
|
2676
|
+
*/
|
|
2447
2677
|
entitlements?: Array<SubscriptionProvisionParams.Feature | SubscriptionProvisionParams.Credit>;
|
|
2448
2678
|
/**
|
|
2449
|
-
* Additional metadata for the subscription
|
|
2679
|
+
* Body param: Additional metadata for the subscription
|
|
2450
2680
|
*/
|
|
2451
2681
|
metadata?: {
|
|
2452
2682
|
[key: string]: string;
|
|
2453
2683
|
};
|
|
2454
2684
|
/**
|
|
2455
|
-
* Minimum spend amount
|
|
2685
|
+
* Body param: Minimum spend amount
|
|
2456
2686
|
*/
|
|
2457
2687
|
minimumSpend?: SubscriptionProvisionParams.MinimumSpend | null;
|
|
2458
2688
|
/**
|
|
2459
|
-
* Optional paying customer ID for split billing scenarios
|
|
2689
|
+
* Body param: Optional paying customer ID for split billing scenarios
|
|
2460
2690
|
*/
|
|
2461
2691
|
payingCustomerId?: string | null;
|
|
2462
2692
|
/**
|
|
2463
|
-
* How payments should be collected for this subscription
|
|
2693
|
+
* Body param: How payments should be collected for this subscription
|
|
2464
2694
|
*/
|
|
2465
2695
|
paymentCollectionMethod?: 'CHARGE' | 'INVOICE' | 'NONE';
|
|
2696
|
+
/**
|
|
2697
|
+
* Body param
|
|
2698
|
+
*/
|
|
2466
2699
|
priceOverrides?: Array<SubscriptionProvisionParams.PriceOverride>;
|
|
2467
2700
|
/**
|
|
2468
|
-
* Optional resource ID for multi-instance subscriptions
|
|
2701
|
+
* Body param: Optional resource ID for multi-instance subscriptions
|
|
2469
2702
|
*/
|
|
2470
2703
|
resourceId?: string | null;
|
|
2471
2704
|
/**
|
|
2472
|
-
* Salesforce ID
|
|
2705
|
+
* Body param: Salesforce ID
|
|
2473
2706
|
*/
|
|
2474
2707
|
salesforceId?: string | null;
|
|
2475
2708
|
/**
|
|
2476
|
-
* Strategy for scheduling subscription changes
|
|
2709
|
+
* Body param: Strategy for scheduling subscription changes
|
|
2477
2710
|
*/
|
|
2478
2711
|
scheduleStrategy?: 'END_OF_BILLING_PERIOD' | 'END_OF_BILLING_MONTH' | 'IMMEDIATE';
|
|
2479
2712
|
/**
|
|
2480
|
-
* Subscription start date
|
|
2713
|
+
* Body param: Subscription start date
|
|
2481
2714
|
*/
|
|
2482
2715
|
startDate?: string;
|
|
2483
2716
|
/**
|
|
2484
|
-
* Trial period override settings
|
|
2717
|
+
* Body param: Trial period override settings
|
|
2485
2718
|
*/
|
|
2486
2719
|
trialOverrideConfiguration?: SubscriptionProvisionParams.TrialOverrideConfiguration;
|
|
2487
2720
|
/**
|
|
2488
|
-
* Unit quantity
|
|
2721
|
+
* Body param: Unit quantity for per-unit pricing. Minimum is 0 (zero is allowed).
|
|
2489
2722
|
*/
|
|
2490
2723
|
unitQuantity?: number;
|
|
2724
|
+
/**
|
|
2725
|
+
* Header param: Account ID — optional when authenticating with a user JWT (Bearer
|
|
2726
|
+
* token); falls back to the user's first membership. Ignored for API-key auth.
|
|
2727
|
+
*/
|
|
2728
|
+
'X-ACCOUNT-ID'?: string;
|
|
2729
|
+
/**
|
|
2730
|
+
* Header param: Environment ID — required when authenticating with a user JWT
|
|
2731
|
+
* (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is
|
|
2732
|
+
* intrinsic to the key).
|
|
2733
|
+
*/
|
|
2734
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
2491
2735
|
}
|
|
2492
2736
|
export declare namespace SubscriptionProvisionParams {
|
|
2493
2737
|
/**
|
|
@@ -2661,7 +2905,8 @@ export declare namespace SubscriptionProvisionParams {
|
|
|
2661
2905
|
limit: number;
|
|
2662
2906
|
}
|
|
2663
2907
|
/**
|
|
2664
|
-
*
|
|
2908
|
+
* A charge selection for a subscription (references a catalog charge with a
|
|
2909
|
+
* quantity).
|
|
2665
2910
|
*/
|
|
2666
2911
|
interface Charge {
|
|
2667
2912
|
/**
|
|
@@ -2669,7 +2914,7 @@ export declare namespace SubscriptionProvisionParams {
|
|
|
2669
2914
|
*/
|
|
2670
2915
|
id: string;
|
|
2671
2916
|
/**
|
|
2672
|
-
* Charge quantity
|
|
2917
|
+
* Charge quantity. Minimum is 0 (zero is allowed).
|
|
2673
2918
|
*/
|
|
2674
2919
|
quantity: number;
|
|
2675
2920
|
/**
|
|
@@ -2928,14 +3173,25 @@ export declare namespace SubscriptionProvisionParams {
|
|
|
2928
3173
|
}
|
|
2929
3174
|
export interface SubscriptionTransferParams {
|
|
2930
3175
|
/**
|
|
2931
|
-
* Resource ID to transfer the subscription to
|
|
3176
|
+
* Body param: Resource ID to transfer the subscription to
|
|
2932
3177
|
*/
|
|
2933
3178
|
destinationResourceId: string;
|
|
3179
|
+
/**
|
|
3180
|
+
* Header param: Account ID — optional when authenticating with a user JWT (Bearer
|
|
3181
|
+
* token); falls back to the user's first membership. Ignored for API-key auth.
|
|
3182
|
+
*/
|
|
3183
|
+
'X-ACCOUNT-ID'?: string;
|
|
3184
|
+
/**
|
|
3185
|
+
* Header param: Environment ID — required when authenticating with a user JWT
|
|
3186
|
+
* (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is
|
|
3187
|
+
* intrinsic to the key).
|
|
3188
|
+
*/
|
|
3189
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
2934
3190
|
}
|
|
2935
3191
|
export declare namespace Subscriptions {
|
|
2936
|
-
export { type Subscription as Subscription, type SubscriptionListResponse as SubscriptionListResponse, type SubscriptionImportResponse as SubscriptionImportResponse, type SubscriptionPreviewResponse as SubscriptionPreviewResponse, type SubscriptionProvisionResponse as SubscriptionProvisionResponse, type SubscriptionListResponsesMyCursorIDPage as SubscriptionListResponsesMyCursorIDPage, type SubscriptionUpdateParams as SubscriptionUpdateParams, type SubscriptionListParams as SubscriptionListParams, type SubscriptionCancelParams as SubscriptionCancelParams, type SubscriptionDelegateParams as SubscriptionDelegateParams, type SubscriptionImportParams as SubscriptionImportParams, type SubscriptionMigrateParams as SubscriptionMigrateParams, type SubscriptionPreviewParams as SubscriptionPreviewParams, type SubscriptionProvisionParams as SubscriptionProvisionParams, type SubscriptionTransferParams as SubscriptionTransferParams, };
|
|
2937
|
-
export { FutureUpdateAPIFutureUpdate as FutureUpdate, type CancelSubscription as CancelSubscription };
|
|
2938
|
-
export { Usage as Usage, type UsageChargeUsageResponse as UsageChargeUsageResponse, type UsageSyncResponse as UsageSyncResponse, type UsageChargeUsageParams as UsageChargeUsageParams, };
|
|
2939
|
-
export { Invoice as Invoice, type InvoiceMarkAsPaidResponse as InvoiceMarkAsPaidResponse };
|
|
3192
|
+
export { type Subscription as Subscription, type SubscriptionListResponse as SubscriptionListResponse, type SubscriptionImportResponse as SubscriptionImportResponse, type SubscriptionPreviewResponse as SubscriptionPreviewResponse, type SubscriptionProvisionResponse as SubscriptionProvisionResponse, type SubscriptionListResponsesMyCursorIDPage as SubscriptionListResponsesMyCursorIDPage, type SubscriptionRetrieveParams as SubscriptionRetrieveParams, type SubscriptionUpdateParams as SubscriptionUpdateParams, type SubscriptionListParams as SubscriptionListParams, type SubscriptionCancelParams as SubscriptionCancelParams, type SubscriptionDelegateParams as SubscriptionDelegateParams, type SubscriptionImportParams as SubscriptionImportParams, type SubscriptionMigrateParams as SubscriptionMigrateParams, type SubscriptionPreviewParams as SubscriptionPreviewParams, type SubscriptionProvisionParams as SubscriptionProvisionParams, type SubscriptionTransferParams as SubscriptionTransferParams, };
|
|
3193
|
+
export { FutureUpdateAPIFutureUpdate as FutureUpdate, type CancelSubscription as CancelSubscription, type FutureUpdateCancelPendingPaymentParams as FutureUpdateCancelPendingPaymentParams, type FutureUpdateCancelScheduleParams as FutureUpdateCancelScheduleParams, };
|
|
3194
|
+
export { Usage as Usage, type UsageChargeUsageResponse as UsageChargeUsageResponse, type UsageSyncResponse as UsageSyncResponse, type UsageChargeUsageParams as UsageChargeUsageParams, type UsageSyncParams as UsageSyncParams, };
|
|
3195
|
+
export { Invoice as Invoice, type InvoiceMarkAsPaidResponse as InvoiceMarkAsPaidResponse, type InvoiceMarkAsPaidParams as InvoiceMarkAsPaidParams, };
|
|
2940
3196
|
}
|
|
2941
3197
|
//# sourceMappingURL=subscriptions.d.ts.map
|