@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
|
@@ -8,46 +8,95 @@ import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
|
8
8
|
export declare class CustomCurrencies extends APIResource {
|
|
9
9
|
/**
|
|
10
10
|
* Creates a new custom currency in the environment.
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```ts
|
|
14
|
+
* const customCurrencyResponse =
|
|
15
|
+
* await client.v1.credits.customCurrencies.create({
|
|
16
|
+
* id: 'id',
|
|
17
|
+
* displayName: 'displayName',
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
create(params: CustomCurrencyCreateParams, options?: RequestOptions): APIPromise<CustomCurrencyResponse>;
|
|
13
22
|
/**
|
|
14
23
|
* Updates an existing custom currency. Only the supplied fields are modified.
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* ```ts
|
|
27
|
+
* const customCurrencyResponse =
|
|
28
|
+
* await client.v1.credits.customCurrencies.update(
|
|
29
|
+
* 'currencyId',
|
|
30
|
+
* );
|
|
31
|
+
* ```
|
|
15
32
|
*/
|
|
16
|
-
update(currencyID: string,
|
|
33
|
+
update(currencyID: string, params: CustomCurrencyUpdateParams, options?: RequestOptions): APIPromise<CustomCurrencyResponse>;
|
|
17
34
|
/**
|
|
18
35
|
* Retrieves a paginated list of custom currencies in the environment. Archived
|
|
19
36
|
* currencies are excluded by default; pass `status=ARCHIVED` (or
|
|
20
37
|
* `status=ACTIVE,ARCHIVED`) to include them.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* ```ts
|
|
41
|
+
* // Automatically fetches more pages as needed.
|
|
42
|
+
* for await (const customCurrencyListResponse of client.v1.credits.customCurrencies.list()) {
|
|
43
|
+
* // ...
|
|
44
|
+
* }
|
|
45
|
+
* ```
|
|
21
46
|
*/
|
|
22
|
-
list(
|
|
47
|
+
list(params?: CustomCurrencyListParams | null | undefined, options?: RequestOptions): PagePromise<CustomCurrencyListResponsesMyCursorIDPage, CustomCurrencyListResponse>;
|
|
23
48
|
/**
|
|
24
49
|
* Archives a custom currency. Fails if the currency is still associated with any
|
|
25
50
|
* active plan or addon — use the associated-entities endpoint first to inspect
|
|
26
51
|
* dependencies.
|
|
52
|
+
*
|
|
53
|
+
* @example
|
|
54
|
+
* ```ts
|
|
55
|
+
* const customCurrencyResponse =
|
|
56
|
+
* await client.v1.credits.customCurrencies.archive(
|
|
57
|
+
* 'currencyId',
|
|
58
|
+
* );
|
|
59
|
+
* ```
|
|
27
60
|
*/
|
|
28
|
-
archive(currencyID: string, options?: RequestOptions): APIPromise<
|
|
61
|
+
archive(currencyID: string, params?: CustomCurrencyArchiveParams | null | undefined, options?: RequestOptions): APIPromise<CustomCurrencyResponse>;
|
|
29
62
|
/**
|
|
30
63
|
* Lists the active plans and addons that reference a custom currency. Useful
|
|
31
64
|
* before archiving to inspect dependencies.
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* ```ts
|
|
68
|
+
* const response =
|
|
69
|
+
* await client.v1.credits.customCurrencies.listAssociatedEntities(
|
|
70
|
+
* 'currencyId',
|
|
71
|
+
* );
|
|
72
|
+
* ```
|
|
32
73
|
*/
|
|
33
|
-
listAssociatedEntities(currencyID: string, options?: RequestOptions): APIPromise<CustomCurrencyListAssociatedEntitiesResponse>;
|
|
74
|
+
listAssociatedEntities(currencyID: string, params?: CustomCurrencyListAssociatedEntitiesParams | null | undefined, options?: RequestOptions): APIPromise<CustomCurrencyListAssociatedEntitiesResponse>;
|
|
34
75
|
/**
|
|
35
76
|
* Restores a previously archived custom currency. Fails if another active currency
|
|
36
77
|
* with the same ID already exists.
|
|
37
|
-
|
|
38
|
-
|
|
78
|
+
*
|
|
79
|
+
* @example
|
|
80
|
+
* ```ts
|
|
81
|
+
* const customCurrencyResponse =
|
|
82
|
+
* await client.v1.credits.customCurrencies.unarchive(
|
|
83
|
+
* 'currencyId',
|
|
84
|
+
* );
|
|
85
|
+
* ```
|
|
86
|
+
*/
|
|
87
|
+
unarchive(currencyID: string, params?: CustomCurrencyUnarchiveParams | null | undefined, options?: RequestOptions): APIPromise<CustomCurrencyResponse>;
|
|
39
88
|
}
|
|
40
89
|
export type CustomCurrencyListResponsesMyCursorIDPage = MyCursorIDPage<CustomCurrencyListResponse>;
|
|
41
90
|
/**
|
|
42
91
|
* Response object
|
|
43
92
|
*/
|
|
44
|
-
export interface
|
|
93
|
+
export interface CustomCurrencyResponse {
|
|
45
94
|
/**
|
|
46
95
|
* A custom currency used to denominate credit-based entitlements and pricing
|
|
47
96
|
*/
|
|
48
|
-
data:
|
|
97
|
+
data: CustomCurrencyResponse.Data;
|
|
49
98
|
}
|
|
50
|
-
export declare namespace
|
|
99
|
+
export declare namespace CustomCurrencyResponse {
|
|
51
100
|
/**
|
|
52
101
|
* A custom currency used to denominate credit-based entitlements and pricing
|
|
53
102
|
*/
|
|
@@ -192,32 +241,43 @@ export declare namespace CustomCurrencyListAssociatedEntitiesResponse {
|
|
|
192
241
|
}
|
|
193
242
|
export interface CustomCurrencyCreateParams {
|
|
194
243
|
/**
|
|
195
|
-
* The unique identifier for the new custom currency
|
|
244
|
+
* Body param: The unique identifier for the new custom currency
|
|
196
245
|
*/
|
|
197
246
|
id: string;
|
|
198
247
|
/**
|
|
199
|
-
* The display name of the custom currency
|
|
248
|
+
* Body param: The display name of the custom currency
|
|
200
249
|
*/
|
|
201
250
|
displayName: string;
|
|
202
251
|
/**
|
|
203
|
-
* Description of the currency
|
|
252
|
+
* Body param: Description of the currency
|
|
204
253
|
*/
|
|
205
254
|
description?: string;
|
|
206
255
|
/**
|
|
207
|
-
* Additional metadata to attach to the custom currency
|
|
256
|
+
* Body param: Additional metadata to attach to the custom currency
|
|
208
257
|
*/
|
|
209
258
|
metadata?: {
|
|
210
259
|
[key: string]: string;
|
|
211
260
|
};
|
|
212
261
|
/**
|
|
213
|
-
* The symbol used to represent the custom currency
|
|
262
|
+
* Body param: The symbol used to represent the custom currency
|
|
214
263
|
*/
|
|
215
264
|
symbol?: string;
|
|
216
265
|
/**
|
|
217
|
-
* Singular and plural unit labels for a custom currency. Both fields
|
|
218
|
-
* when supplied.
|
|
266
|
+
* Body param: Singular and plural unit labels for a custom currency. Both fields
|
|
267
|
+
* are required when supplied.
|
|
219
268
|
*/
|
|
220
269
|
units?: CustomCurrencyCreateParams.Units;
|
|
270
|
+
/**
|
|
271
|
+
* Header param: Account ID — optional when authenticating with a user JWT (Bearer
|
|
272
|
+
* token); falls back to the user's first membership. Ignored for API-key auth.
|
|
273
|
+
*/
|
|
274
|
+
'X-ACCOUNT-ID'?: string;
|
|
275
|
+
/**
|
|
276
|
+
* Header param: Environment ID — required when authenticating with a user JWT
|
|
277
|
+
* (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is
|
|
278
|
+
* intrinsic to the key).
|
|
279
|
+
*/
|
|
280
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
221
281
|
}
|
|
222
282
|
export declare namespace CustomCurrencyCreateParams {
|
|
223
283
|
/**
|
|
@@ -237,29 +297,41 @@ export declare namespace CustomCurrencyCreateParams {
|
|
|
237
297
|
}
|
|
238
298
|
export interface CustomCurrencyUpdateParams {
|
|
239
299
|
/**
|
|
240
|
-
* A human-readable description of the custom currency. Send an empty
|
|
241
|
-
* clear.
|
|
300
|
+
* Body param: A human-readable description of the custom currency. Send an empty
|
|
301
|
+
* string to clear.
|
|
242
302
|
*/
|
|
243
303
|
description?: string | null;
|
|
244
304
|
/**
|
|
245
|
-
* The display name of the custom currency
|
|
305
|
+
* Body param: The display name of the custom currency
|
|
246
306
|
*/
|
|
247
307
|
displayName?: string;
|
|
248
308
|
/**
|
|
249
|
-
* Additional metadata to attach to the custom currency
|
|
309
|
+
* Body param: Additional metadata to attach to the custom currency
|
|
250
310
|
*/
|
|
251
311
|
metadata?: {
|
|
252
312
|
[key: string]: string;
|
|
253
313
|
} | null;
|
|
254
314
|
/**
|
|
255
|
-
* The symbol used to represent the custom currency. Send an empty
|
|
315
|
+
* Body param: The symbol used to represent the custom currency. Send an empty
|
|
316
|
+
* string to clear.
|
|
256
317
|
*/
|
|
257
318
|
symbol?: string | null;
|
|
258
319
|
/**
|
|
259
|
-
* Singular and plural unit labels for a custom currency. Both fields
|
|
260
|
-
* when supplied.
|
|
320
|
+
* Body param: Singular and plural unit labels for a custom currency. Both fields
|
|
321
|
+
* are required when supplied.
|
|
261
322
|
*/
|
|
262
323
|
units?: CustomCurrencyUpdateParams.Units;
|
|
324
|
+
/**
|
|
325
|
+
* Header param: Account ID — optional when authenticating with a user JWT (Bearer
|
|
326
|
+
* token); falls back to the user's first membership. Ignored for API-key auth.
|
|
327
|
+
*/
|
|
328
|
+
'X-ACCOUNT-ID'?: string;
|
|
329
|
+
/**
|
|
330
|
+
* Header param: Environment ID — required when authenticating with a user JWT
|
|
331
|
+
* (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is
|
|
332
|
+
* intrinsic to the key).
|
|
333
|
+
*/
|
|
334
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
263
335
|
}
|
|
264
336
|
export declare namespace CustomCurrencyUpdateParams {
|
|
265
337
|
/**
|
|
@@ -279,12 +351,62 @@ export declare namespace CustomCurrencyUpdateParams {
|
|
|
279
351
|
}
|
|
280
352
|
export interface CustomCurrencyListParams extends MyCursorIDPageParams {
|
|
281
353
|
/**
|
|
282
|
-
* Filter by custom currency status. Supports comma-separated values
|
|
283
|
-
* `ACTIVE,ARCHIVED`). Defaults to `ACTIVE`.
|
|
354
|
+
* Query param: Filter by custom currency status. Supports comma-separated values
|
|
355
|
+
* (e.g., `ACTIVE,ARCHIVED`). Defaults to `ACTIVE`.
|
|
284
356
|
*/
|
|
285
357
|
status?: Array<'ACTIVE' | 'ARCHIVED'>;
|
|
358
|
+
/**
|
|
359
|
+
* Header param: Account ID — optional when authenticating with a user JWT (Bearer
|
|
360
|
+
* token); falls back to the user's first membership. Ignored for API-key auth.
|
|
361
|
+
*/
|
|
362
|
+
'X-ACCOUNT-ID'?: string;
|
|
363
|
+
/**
|
|
364
|
+
* Header param: Environment ID — required when authenticating with a user JWT
|
|
365
|
+
* (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is
|
|
366
|
+
* intrinsic to the key).
|
|
367
|
+
*/
|
|
368
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
369
|
+
}
|
|
370
|
+
export interface CustomCurrencyArchiveParams {
|
|
371
|
+
/**
|
|
372
|
+
* Account ID — optional when authenticating with a user JWT (Bearer token); falls
|
|
373
|
+
* back to the user's first membership. Ignored for API-key auth.
|
|
374
|
+
*/
|
|
375
|
+
'X-ACCOUNT-ID'?: string;
|
|
376
|
+
/**
|
|
377
|
+
* Environment ID — required when authenticating with a user JWT (Bearer token) on
|
|
378
|
+
* environment-scoped endpoints. Ignored for API-key auth (env is intrinsic to the
|
|
379
|
+
* key).
|
|
380
|
+
*/
|
|
381
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
382
|
+
}
|
|
383
|
+
export interface CustomCurrencyListAssociatedEntitiesParams {
|
|
384
|
+
/**
|
|
385
|
+
* Account ID — optional when authenticating with a user JWT (Bearer token); falls
|
|
386
|
+
* back to the user's first membership. Ignored for API-key auth.
|
|
387
|
+
*/
|
|
388
|
+
'X-ACCOUNT-ID'?: string;
|
|
389
|
+
/**
|
|
390
|
+
* Environment ID — required when authenticating with a user JWT (Bearer token) on
|
|
391
|
+
* environment-scoped endpoints. Ignored for API-key auth (env is intrinsic to the
|
|
392
|
+
* key).
|
|
393
|
+
*/
|
|
394
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
395
|
+
}
|
|
396
|
+
export interface CustomCurrencyUnarchiveParams {
|
|
397
|
+
/**
|
|
398
|
+
* Account ID — optional when authenticating with a user JWT (Bearer token); falls
|
|
399
|
+
* back to the user's first membership. Ignored for API-key auth.
|
|
400
|
+
*/
|
|
401
|
+
'X-ACCOUNT-ID'?: string;
|
|
402
|
+
/**
|
|
403
|
+
* Environment ID — required when authenticating with a user JWT (Bearer token) on
|
|
404
|
+
* environment-scoped endpoints. Ignored for API-key auth (env is intrinsic to the
|
|
405
|
+
* key).
|
|
406
|
+
*/
|
|
407
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
286
408
|
}
|
|
287
409
|
export declare namespace CustomCurrencies {
|
|
288
|
-
export { type
|
|
410
|
+
export { type CustomCurrencyResponse as CustomCurrencyResponse, type CustomCurrencyListResponse as CustomCurrencyListResponse, type CustomCurrencyListAssociatedEntitiesResponse as CustomCurrencyListAssociatedEntitiesResponse, type CustomCurrencyListResponsesMyCursorIDPage as CustomCurrencyListResponsesMyCursorIDPage, type CustomCurrencyCreateParams as CustomCurrencyCreateParams, type CustomCurrencyUpdateParams as CustomCurrencyUpdateParams, type CustomCurrencyListParams as CustomCurrencyListParams, type CustomCurrencyArchiveParams as CustomCurrencyArchiveParams, type CustomCurrencyListAssociatedEntitiesParams as CustomCurrencyListAssociatedEntitiesParams, type CustomCurrencyUnarchiveParams as CustomCurrencyUnarchiveParams, };
|
|
289
411
|
}
|
|
290
412
|
//# sourceMappingURL=custom-currencies.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-currencies.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/credits/custom-currencies.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"custom-currencies.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/credits/custom-currencies.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,EAAE,UAAU,EAAE,sCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,KAAK,oBAAoB,EAAE,WAAW,EAAE,qCAAiC;AAElG,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAGnE;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,MAAM,EAAE,0BAA0B,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;IAexG;;;;;;;;;;OAUG;IACH,MAAM,CACJ,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,0BAA0B,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sBAAsB,CAAC;IAerC;;;;;;;;;;;;OAYG;IACH,IAAI,CACF,MAAM,GAAE,wBAAwB,GAAG,IAAI,GAAG,SAAc,EACxD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,yCAAyC,EAAE,0BAA0B,CAAC;IAmBrF;;;;;;;;;;;;OAYG;IACH,OAAO,CACL,UAAU,EAAE,MAAM,EAClB,MAAM,GAAE,2BAA2B,GAAG,IAAI,GAAG,SAAc,EAC3D,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sBAAsB,CAAC;IAcrC;;;;;;;;;;;OAWG;IACH,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AAE,MAAM,CAAC;IAExB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,WAAW,2BAA2B;IAC1C;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,WAAW,0CAA0C;IACzD;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,WAAW,6BAA6B;IAC5C;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,CAAC,OAAO,WAAW,gBAAgB,CAAC;IACxC,OAAO,EACL,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,4CAA4C,IAAI,4CAA4C,EACjG,KAAK,yCAAyC,IAAI,yCAAyC,EAC3F,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,0CAA0C,IAAI,0CAA0C,EAC7F,KAAK,6BAA6B,IAAI,6BAA6B,GACpE,CAAC;CACH"}
|
|
@@ -8,46 +8,95 @@ import { RequestOptions } from "../../../internal/request-options.js";
|
|
|
8
8
|
export declare class CustomCurrencies extends APIResource {
|
|
9
9
|
/**
|
|
10
10
|
* Creates a new custom currency in the environment.
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```ts
|
|
14
|
+
* const customCurrencyResponse =
|
|
15
|
+
* await client.v1.credits.customCurrencies.create({
|
|
16
|
+
* id: 'id',
|
|
17
|
+
* displayName: 'displayName',
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
create(params: CustomCurrencyCreateParams, options?: RequestOptions): APIPromise<CustomCurrencyResponse>;
|
|
13
22
|
/**
|
|
14
23
|
* Updates an existing custom currency. Only the supplied fields are modified.
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* ```ts
|
|
27
|
+
* const customCurrencyResponse =
|
|
28
|
+
* await client.v1.credits.customCurrencies.update(
|
|
29
|
+
* 'currencyId',
|
|
30
|
+
* );
|
|
31
|
+
* ```
|
|
15
32
|
*/
|
|
16
|
-
update(currencyID: string,
|
|
33
|
+
update(currencyID: string, params: CustomCurrencyUpdateParams, options?: RequestOptions): APIPromise<CustomCurrencyResponse>;
|
|
17
34
|
/**
|
|
18
35
|
* Retrieves a paginated list of custom currencies in the environment. Archived
|
|
19
36
|
* currencies are excluded by default; pass `status=ARCHIVED` (or
|
|
20
37
|
* `status=ACTIVE,ARCHIVED`) to include them.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* ```ts
|
|
41
|
+
* // Automatically fetches more pages as needed.
|
|
42
|
+
* for await (const customCurrencyListResponse of client.v1.credits.customCurrencies.list()) {
|
|
43
|
+
* // ...
|
|
44
|
+
* }
|
|
45
|
+
* ```
|
|
21
46
|
*/
|
|
22
|
-
list(
|
|
47
|
+
list(params?: CustomCurrencyListParams | null | undefined, options?: RequestOptions): PagePromise<CustomCurrencyListResponsesMyCursorIDPage, CustomCurrencyListResponse>;
|
|
23
48
|
/**
|
|
24
49
|
* Archives a custom currency. Fails if the currency is still associated with any
|
|
25
50
|
* active plan or addon — use the associated-entities endpoint first to inspect
|
|
26
51
|
* dependencies.
|
|
52
|
+
*
|
|
53
|
+
* @example
|
|
54
|
+
* ```ts
|
|
55
|
+
* const customCurrencyResponse =
|
|
56
|
+
* await client.v1.credits.customCurrencies.archive(
|
|
57
|
+
* 'currencyId',
|
|
58
|
+
* );
|
|
59
|
+
* ```
|
|
27
60
|
*/
|
|
28
|
-
archive(currencyID: string, options?: RequestOptions): APIPromise<
|
|
61
|
+
archive(currencyID: string, params?: CustomCurrencyArchiveParams | null | undefined, options?: RequestOptions): APIPromise<CustomCurrencyResponse>;
|
|
29
62
|
/**
|
|
30
63
|
* Lists the active plans and addons that reference a custom currency. Useful
|
|
31
64
|
* before archiving to inspect dependencies.
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* ```ts
|
|
68
|
+
* const response =
|
|
69
|
+
* await client.v1.credits.customCurrencies.listAssociatedEntities(
|
|
70
|
+
* 'currencyId',
|
|
71
|
+
* );
|
|
72
|
+
* ```
|
|
32
73
|
*/
|
|
33
|
-
listAssociatedEntities(currencyID: string, options?: RequestOptions): APIPromise<CustomCurrencyListAssociatedEntitiesResponse>;
|
|
74
|
+
listAssociatedEntities(currencyID: string, params?: CustomCurrencyListAssociatedEntitiesParams | null | undefined, options?: RequestOptions): APIPromise<CustomCurrencyListAssociatedEntitiesResponse>;
|
|
34
75
|
/**
|
|
35
76
|
* Restores a previously archived custom currency. Fails if another active currency
|
|
36
77
|
* with the same ID already exists.
|
|
37
|
-
|
|
38
|
-
|
|
78
|
+
*
|
|
79
|
+
* @example
|
|
80
|
+
* ```ts
|
|
81
|
+
* const customCurrencyResponse =
|
|
82
|
+
* await client.v1.credits.customCurrencies.unarchive(
|
|
83
|
+
* 'currencyId',
|
|
84
|
+
* );
|
|
85
|
+
* ```
|
|
86
|
+
*/
|
|
87
|
+
unarchive(currencyID: string, params?: CustomCurrencyUnarchiveParams | null | undefined, options?: RequestOptions): APIPromise<CustomCurrencyResponse>;
|
|
39
88
|
}
|
|
40
89
|
export type CustomCurrencyListResponsesMyCursorIDPage = MyCursorIDPage<CustomCurrencyListResponse>;
|
|
41
90
|
/**
|
|
42
91
|
* Response object
|
|
43
92
|
*/
|
|
44
|
-
export interface
|
|
93
|
+
export interface CustomCurrencyResponse {
|
|
45
94
|
/**
|
|
46
95
|
* A custom currency used to denominate credit-based entitlements and pricing
|
|
47
96
|
*/
|
|
48
|
-
data:
|
|
97
|
+
data: CustomCurrencyResponse.Data;
|
|
49
98
|
}
|
|
50
|
-
export declare namespace
|
|
99
|
+
export declare namespace CustomCurrencyResponse {
|
|
51
100
|
/**
|
|
52
101
|
* A custom currency used to denominate credit-based entitlements and pricing
|
|
53
102
|
*/
|
|
@@ -192,32 +241,43 @@ export declare namespace CustomCurrencyListAssociatedEntitiesResponse {
|
|
|
192
241
|
}
|
|
193
242
|
export interface CustomCurrencyCreateParams {
|
|
194
243
|
/**
|
|
195
|
-
* The unique identifier for the new custom currency
|
|
244
|
+
* Body param: The unique identifier for the new custom currency
|
|
196
245
|
*/
|
|
197
246
|
id: string;
|
|
198
247
|
/**
|
|
199
|
-
* The display name of the custom currency
|
|
248
|
+
* Body param: The display name of the custom currency
|
|
200
249
|
*/
|
|
201
250
|
displayName: string;
|
|
202
251
|
/**
|
|
203
|
-
* Description of the currency
|
|
252
|
+
* Body param: Description of the currency
|
|
204
253
|
*/
|
|
205
254
|
description?: string;
|
|
206
255
|
/**
|
|
207
|
-
* Additional metadata to attach to the custom currency
|
|
256
|
+
* Body param: Additional metadata to attach to the custom currency
|
|
208
257
|
*/
|
|
209
258
|
metadata?: {
|
|
210
259
|
[key: string]: string;
|
|
211
260
|
};
|
|
212
261
|
/**
|
|
213
|
-
* The symbol used to represent the custom currency
|
|
262
|
+
* Body param: The symbol used to represent the custom currency
|
|
214
263
|
*/
|
|
215
264
|
symbol?: string;
|
|
216
265
|
/**
|
|
217
|
-
* Singular and plural unit labels for a custom currency. Both fields
|
|
218
|
-
* when supplied.
|
|
266
|
+
* Body param: Singular and plural unit labels for a custom currency. Both fields
|
|
267
|
+
* are required when supplied.
|
|
219
268
|
*/
|
|
220
269
|
units?: CustomCurrencyCreateParams.Units;
|
|
270
|
+
/**
|
|
271
|
+
* Header param: Account ID — optional when authenticating with a user JWT (Bearer
|
|
272
|
+
* token); falls back to the user's first membership. Ignored for API-key auth.
|
|
273
|
+
*/
|
|
274
|
+
'X-ACCOUNT-ID'?: string;
|
|
275
|
+
/**
|
|
276
|
+
* Header param: Environment ID — required when authenticating with a user JWT
|
|
277
|
+
* (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is
|
|
278
|
+
* intrinsic to the key).
|
|
279
|
+
*/
|
|
280
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
221
281
|
}
|
|
222
282
|
export declare namespace CustomCurrencyCreateParams {
|
|
223
283
|
/**
|
|
@@ -237,29 +297,41 @@ export declare namespace CustomCurrencyCreateParams {
|
|
|
237
297
|
}
|
|
238
298
|
export interface CustomCurrencyUpdateParams {
|
|
239
299
|
/**
|
|
240
|
-
* A human-readable description of the custom currency. Send an empty
|
|
241
|
-
* clear.
|
|
300
|
+
* Body param: A human-readable description of the custom currency. Send an empty
|
|
301
|
+
* string to clear.
|
|
242
302
|
*/
|
|
243
303
|
description?: string | null;
|
|
244
304
|
/**
|
|
245
|
-
* The display name of the custom currency
|
|
305
|
+
* Body param: The display name of the custom currency
|
|
246
306
|
*/
|
|
247
307
|
displayName?: string;
|
|
248
308
|
/**
|
|
249
|
-
* Additional metadata to attach to the custom currency
|
|
309
|
+
* Body param: Additional metadata to attach to the custom currency
|
|
250
310
|
*/
|
|
251
311
|
metadata?: {
|
|
252
312
|
[key: string]: string;
|
|
253
313
|
} | null;
|
|
254
314
|
/**
|
|
255
|
-
* The symbol used to represent the custom currency. Send an empty
|
|
315
|
+
* Body param: The symbol used to represent the custom currency. Send an empty
|
|
316
|
+
* string to clear.
|
|
256
317
|
*/
|
|
257
318
|
symbol?: string | null;
|
|
258
319
|
/**
|
|
259
|
-
* Singular and plural unit labels for a custom currency. Both fields
|
|
260
|
-
* when supplied.
|
|
320
|
+
* Body param: Singular and plural unit labels for a custom currency. Both fields
|
|
321
|
+
* are required when supplied.
|
|
261
322
|
*/
|
|
262
323
|
units?: CustomCurrencyUpdateParams.Units;
|
|
324
|
+
/**
|
|
325
|
+
* Header param: Account ID — optional when authenticating with a user JWT (Bearer
|
|
326
|
+
* token); falls back to the user's first membership. Ignored for API-key auth.
|
|
327
|
+
*/
|
|
328
|
+
'X-ACCOUNT-ID'?: string;
|
|
329
|
+
/**
|
|
330
|
+
* Header param: Environment ID — required when authenticating with a user JWT
|
|
331
|
+
* (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is
|
|
332
|
+
* intrinsic to the key).
|
|
333
|
+
*/
|
|
334
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
263
335
|
}
|
|
264
336
|
export declare namespace CustomCurrencyUpdateParams {
|
|
265
337
|
/**
|
|
@@ -279,12 +351,62 @@ export declare namespace CustomCurrencyUpdateParams {
|
|
|
279
351
|
}
|
|
280
352
|
export interface CustomCurrencyListParams extends MyCursorIDPageParams {
|
|
281
353
|
/**
|
|
282
|
-
* Filter by custom currency status. Supports comma-separated values
|
|
283
|
-
* `ACTIVE,ARCHIVED`). Defaults to `ACTIVE`.
|
|
354
|
+
* Query param: Filter by custom currency status. Supports comma-separated values
|
|
355
|
+
* (e.g., `ACTIVE,ARCHIVED`). Defaults to `ACTIVE`.
|
|
284
356
|
*/
|
|
285
357
|
status?: Array<'ACTIVE' | 'ARCHIVED'>;
|
|
358
|
+
/**
|
|
359
|
+
* Header param: Account ID — optional when authenticating with a user JWT (Bearer
|
|
360
|
+
* token); falls back to the user's first membership. Ignored for API-key auth.
|
|
361
|
+
*/
|
|
362
|
+
'X-ACCOUNT-ID'?: string;
|
|
363
|
+
/**
|
|
364
|
+
* Header param: Environment ID — required when authenticating with a user JWT
|
|
365
|
+
* (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is
|
|
366
|
+
* intrinsic to the key).
|
|
367
|
+
*/
|
|
368
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
369
|
+
}
|
|
370
|
+
export interface CustomCurrencyArchiveParams {
|
|
371
|
+
/**
|
|
372
|
+
* Account ID — optional when authenticating with a user JWT (Bearer token); falls
|
|
373
|
+
* back to the user's first membership. Ignored for API-key auth.
|
|
374
|
+
*/
|
|
375
|
+
'X-ACCOUNT-ID'?: string;
|
|
376
|
+
/**
|
|
377
|
+
* Environment ID — required when authenticating with a user JWT (Bearer token) on
|
|
378
|
+
* environment-scoped endpoints. Ignored for API-key auth (env is intrinsic to the
|
|
379
|
+
* key).
|
|
380
|
+
*/
|
|
381
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
382
|
+
}
|
|
383
|
+
export interface CustomCurrencyListAssociatedEntitiesParams {
|
|
384
|
+
/**
|
|
385
|
+
* Account ID — optional when authenticating with a user JWT (Bearer token); falls
|
|
386
|
+
* back to the user's first membership. Ignored for API-key auth.
|
|
387
|
+
*/
|
|
388
|
+
'X-ACCOUNT-ID'?: string;
|
|
389
|
+
/**
|
|
390
|
+
* Environment ID — required when authenticating with a user JWT (Bearer token) on
|
|
391
|
+
* environment-scoped endpoints. Ignored for API-key auth (env is intrinsic to the
|
|
392
|
+
* key).
|
|
393
|
+
*/
|
|
394
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
395
|
+
}
|
|
396
|
+
export interface CustomCurrencyUnarchiveParams {
|
|
397
|
+
/**
|
|
398
|
+
* Account ID — optional when authenticating with a user JWT (Bearer token); falls
|
|
399
|
+
* back to the user's first membership. Ignored for API-key auth.
|
|
400
|
+
*/
|
|
401
|
+
'X-ACCOUNT-ID'?: string;
|
|
402
|
+
/**
|
|
403
|
+
* Environment ID — required when authenticating with a user JWT (Bearer token) on
|
|
404
|
+
* environment-scoped endpoints. Ignored for API-key auth (env is intrinsic to the
|
|
405
|
+
* key).
|
|
406
|
+
*/
|
|
407
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
286
408
|
}
|
|
287
409
|
export declare namespace CustomCurrencies {
|
|
288
|
-
export { type
|
|
410
|
+
export { type CustomCurrencyResponse as CustomCurrencyResponse, type CustomCurrencyListResponse as CustomCurrencyListResponse, type CustomCurrencyListAssociatedEntitiesResponse as CustomCurrencyListAssociatedEntitiesResponse, type CustomCurrencyListResponsesMyCursorIDPage as CustomCurrencyListResponsesMyCursorIDPage, type CustomCurrencyCreateParams as CustomCurrencyCreateParams, type CustomCurrencyUpdateParams as CustomCurrencyUpdateParams, type CustomCurrencyListParams as CustomCurrencyListParams, type CustomCurrencyArchiveParams as CustomCurrencyArchiveParams, type CustomCurrencyListAssociatedEntitiesParams as CustomCurrencyListAssociatedEntitiesParams, type CustomCurrencyUnarchiveParams as CustomCurrencyUnarchiveParams, };
|
|
289
411
|
}
|
|
290
412
|
//# sourceMappingURL=custom-currencies.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-currencies.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/credits/custom-currencies.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"custom-currencies.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/credits/custom-currencies.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,EAAE,UAAU,EAAE,qCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,KAAK,oBAAoB,EAAE,WAAW,EAAE,oCAAiC;AAElG,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAGnE;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,MAAM,EAAE,0BAA0B,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;IAexG;;;;;;;;;;OAUG;IACH,MAAM,CACJ,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,0BAA0B,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sBAAsB,CAAC;IAerC;;;;;;;;;;;;OAYG;IACH,IAAI,CACF,MAAM,GAAE,wBAAwB,GAAG,IAAI,GAAG,SAAc,EACxD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,yCAAyC,EAAE,0BAA0B,C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