@stigg/typescript 0.1.0-beta.3 → 0.1.0-beta.31
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 +236 -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 +3 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts +3 -0
- package/client.d.ts.map +1 -1
- package/client.js +12 -1
- package/client.js.map +1 -1
- package/client.mjs +12 -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 +1 -0
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/v1/addons/addons.d.mts +313 -32
- package/resources/v1/addons/addons.d.mts.map +1 -1
- package/resources/v1/addons/addons.d.ts +313 -32
- package/resources/v1/addons/addons.d.ts.map +1 -1
- package/resources/v1/addons/addons.js +114 -15
- package/resources/v1/addons/addons.js.map +1 -1
- package/resources/v1/addons/addons.mjs +114 -15
- package/resources/v1/addons/addons.mjs.map +1 -1
- package/resources/v1/addons/entitlements.d.mts +92 -5
- package/resources/v1/addons/entitlements.d.mts.map +1 -1
- package/resources/v1/addons/entitlements.d.ts +92 -5
- package/resources/v1/addons/entitlements.d.ts.map +1 -1
- package/resources/v1/addons/entitlements.js +49 -8
- package/resources/v1/addons/entitlements.js.map +1 -1
- package/resources/v1/addons/entitlements.mjs +49 -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 +80 -20
- package/resources/v1/coupons.d.mts.map +1 -1
- package/resources/v1/coupons.d.ts +80 -20
- package/resources/v1/coupons.d.ts.map +1 -1
- package/resources/v1/coupons.js +60 -9
- package/resources/v1/coupons.js.map +1 -1
- package/resources/v1/coupons.mjs +60 -9
- package/resources/v1/coupons.mjs.map +1 -1
- package/resources/v1/credits/credits.d.mts +114 -25
- package/resources/v1/credits/credits.d.mts.map +1 -1
- package/resources/v1/credits/credits.d.ts +114 -25
- package/resources/v1/credits/credits.d.ts.map +1 -1
- package/resources/v1/credits/credits.js +36 -5
- package/resources/v1/credits/credits.js.map +1 -1
- package/resources/v1/credits/credits.mjs +36 -5
- package/resources/v1/credits/credits.mjs.map +1 -1
- package/resources/v1/credits/custom-currencies.d.mts +96 -23
- package/resources/v1/credits/custom-currencies.d.mts.map +1 -1
- package/resources/v1/credits/custom-currencies.d.ts +96 -23
- package/resources/v1/credits/custom-currencies.d.ts.map +1 -1
- package/resources/v1/credits/custom-currencies.js +76 -12
- package/resources/v1/credits/custom-currencies.js.map +1 -1
- package/resources/v1/credits/custom-currencies.mjs +76 -12
- package/resources/v1/credits/custom-currencies.mjs.map +1 -1
- package/resources/v1/credits/grants.d.mts +60 -23
- package/resources/v1/credits/grants.d.mts.map +1 -1
- package/resources/v1/credits/grants.d.ts +60 -23
- package/resources/v1/credits/grants.d.ts.map +1 -1
- package/resources/v1/credits/grants.js +35 -5
- package/resources/v1/credits/grants.js.map +1 -1
- package/resources/v1/credits/grants.mjs +35 -5
- package/resources/v1/credits/grants.mjs.map +1 -1
- package/resources/v1/credits/index.d.mts +2 -2
- package/resources/v1/credits/index.d.mts.map +1 -1
- package/resources/v1/credits/index.d.ts +2 -2
- package/resources/v1/credits/index.d.ts.map +1 -1
- package/resources/v1/credits/index.js.map +1 -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 +170 -53
- package/resources/v1/customers/customers.d.mts.map +1 -1
- package/resources/v1/customers/customers.d.ts +170 -53
- package/resources/v1/customers/customers.d.ts.map +1 -1
- package/resources/v1/customers/customers.js +124 -19
- package/resources/v1/customers/customers.js.map +1 -1
- package/resources/v1/customers/customers.mjs +124 -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 +67 -12
- package/resources/v1/customers/integrations.d.mts.map +1 -1
- package/resources/v1/customers/integrations.d.ts +67 -12
- package/resources/v1/customers/integrations.d.ts.map +1 -1
- package/resources/v1/customers/integrations.js +57 -9
- package/resources/v1/customers/integrations.js.map +1 -1
- package/resources/v1/customers/integrations.mjs +57 -9
- package/resources/v1/customers/integrations.mjs.map +1 -1
- package/resources/v1/customers/payment-method.d.mts +32 -8
- package/resources/v1/customers/payment-method.d.mts.map +1 -1
- package/resources/v1/customers/payment-method.d.ts +32 -8
- package/resources/v1/customers/payment-method.d.ts.map +1 -1
- package/resources/v1/customers/payment-method.js +26 -4
- package/resources/v1/customers/payment-method.js.map +1 -1
- package/resources/v1/customers/payment-method.mjs +26 -4
- package/resources/v1/customers/payment-method.mjs.map +1 -1
- package/resources/v1/customers/promotional-entitlements.d.mts +40 -7
- package/resources/v1/customers/promotional-entitlements.d.mts.map +1 -1
- package/resources/v1/customers/promotional-entitlements.d.ts +40 -7
- package/resources/v1/customers/promotional-entitlements.d.ts.map +1 -1
- package/resources/v1/customers/promotional-entitlements.js +38 -6
- package/resources/v1/customers/promotional-entitlements.js.map +1 -1
- package/resources/v1/customers/promotional-entitlements.mjs +38 -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 +10 -0
- package/resources/v1/events/beta/beta.d.mts.map +1 -0
- package/resources/v1/events/beta/beta.d.ts +10 -0
- package/resources/v1/events/beta/beta.d.ts.map +1 -0
- package/resources/v1/events/beta/beta.js +17 -0
- package/resources/v1/events/beta/beta.js.map +1 -0
- package/resources/v1/events/beta/beta.mjs +12 -0
- package/resources/v1/events/beta/beta.mjs.map +1 -0
- package/resources/v1/events/beta/customers.d.mts +160 -0
- package/resources/v1/events/beta/customers.d.mts.map +1 -0
- package/resources/v1/events/beta/customers.d.ts +160 -0
- package/resources/v1/events/beta/customers.d.ts.map +1 -0
- package/resources/v1/events/beta/customers.js +32 -0
- package/resources/v1/events/beta/customers.js.map +1 -0
- package/resources/v1/events/beta/customers.mjs +28 -0
- package/resources/v1/events/beta/customers.mjs.map +1 -0
- package/resources/v1/events/beta/index.d.mts +3 -0
- package/resources/v1/events/beta/index.d.mts.map +1 -0
- package/resources/v1/events/beta/index.d.ts +3 -0
- package/resources/v1/events/beta/index.d.ts.map +1 -0
- package/resources/v1/events/beta/index.js +9 -0
- package/resources/v1/events/beta/index.js.map +1 -0
- package/resources/v1/events/beta/index.mjs +4 -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 +211 -0
- package/resources/v1/events/data-export/data-export.d.mts.map +1 -0
- package/resources/v1/events/data-export/data-export.d.ts +211 -0
- package/resources/v1/events/data-export/data-export.d.ts.map +1 -0
- package/resources/v1/events/data-export/data-export.js +71 -0
- package/resources/v1/events/data-export/data-export.js.map +1 -0
- package/resources/v1/events/data-export/data-export.mjs +66 -0
- package/resources/v1/events/data-export/data-export.mjs.map +1 -0
- package/resources/v1/events/data-export/destinations.d.mts +215 -0
- package/resources/v1/events/data-export/destinations.d.mts.map +1 -0
- package/resources/v1/events/data-export/destinations.d.ts +215 -0
- package/resources/v1/events/data-export/destinations.d.ts.map +1 -0
- package/resources/v1/events/data-export/destinations.js +46 -0
- package/resources/v1/events/data-export/destinations.js.map +1 -0
- package/resources/v1/events/data-export/destinations.mjs +42 -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 +85 -0
- package/resources/v1/events/events.d.mts.map +1 -0
- package/resources/v1/events/events.d.ts +85 -0
- package/resources/v1/events/events.d.ts.map +1 -0
- package/resources/v1/events/events.js +43 -0
- package/resources/v1/events/events.js.map +1 -0
- package/resources/v1/events/events.mjs +38 -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 +108 -30
- package/resources/v1/features.d.mts.map +1 -1
- package/resources/v1/features.d.ts +108 -30
- package/resources/v1/features.d.ts.map +1 -1
- package/resources/v1/features.js +72 -11
- package/resources/v1/features.js.map +1 -1
- package/resources/v1/features.mjs +72 -11
- package/resources/v1/features.mjs.map +1 -1
- package/resources/v1/index.d.mts +8 -8
- package/resources/v1/index.d.mts.map +1 -1
- package/resources/v1/index.d.ts +8 -8
- 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 +92 -5
- package/resources/v1/plans/entitlements.d.mts.map +1 -1
- package/resources/v1/plans/entitlements.d.ts +92 -5
- package/resources/v1/plans/entitlements.d.ts.map +1 -1
- package/resources/v1/plans/entitlements.js +49 -8
- package/resources/v1/plans/entitlements.js.map +1 -1
- package/resources/v1/plans/entitlements.mjs +49 -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 +496 -32
- package/resources/v1/plans/plans.d.mts.map +1 -1
- package/resources/v1/plans/plans.d.ts +496 -32
- package/resources/v1/plans/plans.d.ts.map +1 -1
- package/resources/v1/plans/plans.js +135 -16
- package/resources/v1/plans/plans.js.map +1 -1
- package/resources/v1/plans/plans.mjs +135 -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 +97 -23
- package/resources/v1/products.d.mts.map +1 -1
- package/resources/v1/products.d.ts +97 -23
- package/resources/v1/products.d.ts.map +1 -1
- package/resources/v1/products.js +73 -11
- package/resources/v1/products.js.map +1 -1
- package/resources/v1/products.mjs +73 -11
- package/resources/v1/products.mjs.map +1 -1
- package/resources/v1/subscriptions/future-update.d.mts +29 -3
- package/resources/v1/subscriptions/future-update.d.mts.map +1 -1
- package/resources/v1/subscriptions/future-update.d.ts +29 -3
- package/resources/v1/subscriptions/future-update.d.ts.map +1 -1
- package/resources/v1/subscriptions/future-update.js +25 -4
- package/resources/v1/subscriptions/future-update.js.map +1 -1
- package/resources/v1/subscriptions/future-update.mjs +25 -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 +15 -2
- package/resources/v1/subscriptions/invoice.d.mts.map +1 -1
- package/resources/v1/subscriptions/invoice.d.ts +15 -2
- package/resources/v1/subscriptions/invoice.d.ts.map +1 -1
- package/resources/v1/subscriptions/invoice.js +13 -2
- package/resources/v1/subscriptions/invoice.js.map +1 -1
- package/resources/v1/subscriptions/invoice.mjs +13 -2
- package/resources/v1/subscriptions/invoice.mjs.map +1 -1
- package/resources/v1/subscriptions/subscriptions.d.mts +258 -79
- package/resources/v1/subscriptions/subscriptions.d.mts.map +1 -1
- package/resources/v1/subscriptions/subscriptions.d.ts +258 -79
- package/resources/v1/subscriptions/subscriptions.d.ts.map +1 -1
- package/resources/v1/subscriptions/subscriptions.js +126 -19
- package/resources/v1/subscriptions/subscriptions.js.map +1 -1
- package/resources/v1/subscriptions/subscriptions.mjs +128 -21
- package/resources/v1/subscriptions/subscriptions.mjs.map +1 -1
- package/resources/v1/subscriptions/usage.d.mts +29 -4
- package/resources/v1/subscriptions/usage.d.mts.map +1 -1
- package/resources/v1/subscriptions/usage.d.ts +29 -4
- package/resources/v1/subscriptions/usage.d.ts.map +1 -1
- package/resources/v1/subscriptions/usage.js +26 -4
- package/resources/v1/subscriptions/usage.js.map +1 -1
- package/resources/v1/subscriptions/usage.mjs +26 -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 +52 -2
- package/resources/v1/usage.d.mts.map +1 -1
- package/resources/v1/usage.d.ts +52 -2
- package/resources/v1/usage.d.ts.map +1 -1
- package/resources/v1/usage.js +26 -4
- package/resources/v1/usage.js.map +1 -1
- package/resources/v1/usage.mjs +26 -4
- package/resources/v1/usage.mjs.map +1 -1
- package/resources/v1/v1.d.mts +16 -16
- package/resources/v1/v1.d.mts.map +1 -1
- package/resources/v1/v1.d.ts +16 -16
- 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-beta/customers/assignments.d.mts +245 -0
- package/resources/v1-beta/customers/assignments.d.mts.map +1 -0
- package/resources/v1-beta/customers/assignments.d.ts +245 -0
- package/resources/v1-beta/customers/assignments.d.ts.map +1 -0
- package/resources/v1-beta/customers/assignments.js +84 -0
- package/resources/v1-beta/customers/assignments.js.map +1 -0
- package/resources/v1-beta/customers/assignments.mjs +80 -0
- package/resources/v1-beta/customers/assignments.mjs.map +1 -0
- package/resources/v1-beta/customers/customers.d.mts +18 -0
- package/resources/v1-beta/customers/customers.d.mts.map +1 -0
- package/resources/v1-beta/customers/customers.d.ts +18 -0
- package/resources/v1-beta/customers/customers.d.ts.map +1 -0
- package/resources/v1-beta/customers/customers.js +25 -0
- package/resources/v1-beta/customers/customers.js.map +1 -0
- package/resources/v1-beta/customers/customers.mjs +20 -0
- package/resources/v1-beta/customers/customers.mjs.map +1 -0
- package/resources/v1-beta/customers/entities.d.mts +351 -0
- package/resources/v1-beta/customers/entities.d.mts.map +1 -0
- package/resources/v1-beta/customers/entities.d.ts +351 -0
- package/resources/v1-beta/customers/entities.d.ts.map +1 -0
- package/resources/v1-beta/customers/entities.js +150 -0
- package/resources/v1-beta/customers/entities.js.map +1 -0
- package/resources/v1-beta/customers/entities.mjs +146 -0
- package/resources/v1-beta/customers/entities.mjs.map +1 -0
- package/resources/v1-beta/customers/entitlements.d.mts +261 -0
- package/resources/v1-beta/customers/entitlements.d.mts.map +1 -0
- package/resources/v1-beta/customers/entitlements.d.ts +261 -0
- package/resources/v1-beta/customers/entitlements.d.ts.map +1 -0
- package/resources/v1-beta/customers/entitlements.js +36 -0
- package/resources/v1-beta/customers/entitlements.js.map +1 -0
- package/resources/v1-beta/customers/entitlements.mjs +32 -0
- package/resources/v1-beta/customers/entitlements.mjs.map +1 -0
- package/resources/v1-beta/customers/index.d.mts +5 -0
- package/resources/v1-beta/customers/index.d.mts.map +1 -0
- package/resources/v1-beta/customers/index.d.ts +5 -0
- package/resources/v1-beta/customers/index.d.ts.map +1 -0
- package/resources/v1-beta/customers/index.js +13 -0
- package/resources/v1-beta/customers/index.js.map +1 -0
- package/resources/v1-beta/customers/index.mjs +6 -0
- package/resources/v1-beta/customers/index.mjs.map +1 -0
- package/resources/v1-beta/customers.d.mts +2 -0
- package/resources/v1-beta/customers.d.mts.map +1 -0
- package/resources/v1-beta/customers.d.ts +2 -0
- package/resources/v1-beta/customers.d.ts.map +1 -0
- package/resources/v1-beta/customers.js +6 -0
- package/resources/v1-beta/customers.js.map +1 -0
- package/resources/v1-beta/customers.mjs +3 -0
- package/resources/v1-beta/customers.mjs.map +1 -0
- package/resources/v1-beta/entity-types.d.mts +165 -0
- package/resources/v1-beta/entity-types.d.mts.map +1 -0
- package/resources/v1-beta/entity-types.d.ts +165 -0
- package/resources/v1-beta/entity-types.d.ts.map +1 -0
- package/resources/v1-beta/entity-types.js +75 -0
- package/resources/v1-beta/entity-types.js.map +1 -0
- package/resources/v1-beta/entity-types.mjs +71 -0
- package/resources/v1-beta/entity-types.mjs.map +1 -0
- package/resources/v1-beta/index.d.mts +4 -0
- package/resources/v1-beta/index.d.mts.map +1 -0
- package/resources/v1-beta/index.d.ts +4 -0
- package/resources/v1-beta/index.d.ts.map +1 -0
- package/resources/v1-beta/index.js +11 -0
- package/resources/v1-beta/index.js.map +1 -0
- package/resources/v1-beta/index.mjs +5 -0
- package/resources/v1-beta/index.mjs.map +1 -0
- package/resources/v1-beta/v1-beta.d.mts +14 -0
- package/resources/v1-beta/v1-beta.d.mts.map +1 -0
- package/resources/v1-beta/v1-beta.d.ts +14 -0
- package/resources/v1-beta/v1-beta.d.ts.map +1 -0
- package/resources/v1-beta/v1-beta.js +21 -0
- package/resources/v1-beta/v1-beta.js.map +1 -0
- package/resources/v1-beta/v1-beta.mjs +16 -0
- package/resources/v1-beta/v1-beta.mjs.map +1 -0
- package/resources/v1-beta.d.mts +2 -0
- package/resources/v1-beta.d.mts.map +1 -0
- package/resources/v1-beta.d.ts +2 -0
- package/resources/v1-beta.d.ts.map +1 -0
- package/resources/v1-beta.js +6 -0
- package/resources/v1-beta.js.map +1 -0
- package/resources/v1-beta.mjs +3 -0
- package/resources/v1-beta.mjs.map +1 -0
- 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/client.ts +14 -1
- package/src/resources/index.ts +1 -0
- package/src/resources/v1/addons/addons.ts +849 -36
- package/src/resources/v1/addons/entitlements.ts +158 -10
- package/src/resources/v1/addons/index.ts +8 -0
- package/src/resources/v1/coupons.ts +154 -23
- package/src/resources/v1/credits/credits.ts +167 -23
- package/src/resources/v1/credits/custom-currencies.ts +188 -30
- package/src/resources/v1/credits/grants.ts +102 -24
- package/src/resources/v1/credits/index.ts +4 -0
- package/src/resources/v1/customers/customers.ts +333 -62
- package/src/resources/v1/customers/index.ts +8 -1
- package/src/resources/v1/customers/integrations.ts +137 -18
- package/src/resources/v1/customers/payment-method.ts +69 -10
- package/src/resources/v1/customers/promotional-entitlements.ts +82 -11
- package/src/resources/v1/events/beta/beta.ts +19 -0
- package/src/resources/v1/events/beta/customers.ts +212 -0
- package/src/resources/v1/events/beta/index.ts +8 -0
- package/src/resources/v1/events/beta.ts +3 -0
- package/src/resources/v1/events/data-export/data-export.ts +312 -0
- package/src/resources/v1/events/data-export/destinations.ts +290 -0
- package/src/resources/v1/events/data-export/index.ts +18 -0
- package/src/resources/v1/events/data-export.ts +3 -0
- package/src/resources/v1/events/events.ts +132 -0
- package/src/resources/v1/events/index.ts +13 -0
- package/src/resources/v1/events.ts +1 -75
- package/src/resources/v1/features.ts +204 -34
- package/src/resources/v1/index.ts +29 -1
- package/src/resources/v1/plans/entitlements.ts +158 -10
- package/src/resources/v1/plans/index.ts +11 -0
- package/src/resources/v1/plans/plans.ts +1440 -37
- package/src/resources/v1/products.ts +189 -27
- package/src/resources/v1/subscriptions/future-update.ts +68 -5
- package/src/resources/v1/subscriptions/index.ts +9 -2
- package/src/resources/v1/subscriptions/invoice.ts +36 -3
- package/src/resources/v1/subscriptions/subscriptions.ts +429 -86
- package/src/resources/v1/subscriptions/usage.ts +61 -5
- package/src/resources/v1/usage.ts +86 -5
- package/src/resources/v1/v1.ts +58 -2
- package/src/resources/v1-beta/customers/assignments.ts +331 -0
- package/src/resources/v1-beta/customers/customers.ts +71 -0
- package/src/resources/v1-beta/customers/entities.ts +492 -0
- package/src/resources/v1-beta/customers/entitlements.ts +366 -0
- package/src/resources/v1-beta/customers/index.ts +26 -0
- package/src/resources/v1-beta/customers.ts +3 -0
- package/src/resources/v1-beta/entity-types.ts +225 -0
- package/src/resources/v1-beta/index.ts +12 -0
- package/src/resources/v1-beta/v1-beta.ts +35 -0
- package/src/resources/v1-beta.ts +3 -0
- 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
|
@@ -9,6 +9,7 @@ const custom_currencies_1 = require("./custom-currencies.js");
|
|
|
9
9
|
const GrantsAPI = tslib_1.__importStar(require("./grants.js"));
|
|
10
10
|
const grants_1 = require("./grants.js");
|
|
11
11
|
const pagination_1 = require("../../../core/pagination.js");
|
|
12
|
+
const headers_1 = require("../../../internal/headers.js");
|
|
12
13
|
class Credits extends resource_1.APIResource {
|
|
13
14
|
constructor() {
|
|
14
15
|
super(...arguments);
|
|
@@ -19,23 +20,53 @@ class Credits extends resource_1.APIResource {
|
|
|
19
20
|
* Retrieves the automatic recharge configuration for a customer and currency.
|
|
20
21
|
* Returns default settings if no configuration exists.
|
|
21
22
|
*/
|
|
22
|
-
getAutoRecharge(
|
|
23
|
-
|
|
23
|
+
getAutoRecharge(params, options) {
|
|
24
|
+
const { 'X-ACCOUNT-ID': xAccountID, 'X-ENVIRONMENT-ID': xEnvironmentID, ...query } = params;
|
|
25
|
+
return this._client.get('/api/v1/credits/auto-recharge', {
|
|
26
|
+
query,
|
|
27
|
+
...options,
|
|
28
|
+
headers: (0, headers_1.buildHeaders)([
|
|
29
|
+
{
|
|
30
|
+
...(xAccountID != null ? { 'X-ACCOUNT-ID': xAccountID } : undefined),
|
|
31
|
+
...(xEnvironmentID != null ? { 'X-ENVIRONMENT-ID': xEnvironmentID } : undefined),
|
|
32
|
+
},
|
|
33
|
+
options?.headers,
|
|
34
|
+
]),
|
|
35
|
+
});
|
|
24
36
|
}
|
|
25
37
|
/**
|
|
26
38
|
* Retrieves credit usage time-series data for a customer, grouped by feature, over
|
|
27
39
|
* a specified time range.
|
|
28
40
|
*/
|
|
29
|
-
getUsage(
|
|
30
|
-
|
|
41
|
+
getUsage(params, options) {
|
|
42
|
+
const { 'X-ACCOUNT-ID': xAccountID, 'X-ENVIRONMENT-ID': xEnvironmentID, ...query } = params;
|
|
43
|
+
return this._client.get('/api/v1/credits/usage', {
|
|
44
|
+
query,
|
|
45
|
+
...options,
|
|
46
|
+
headers: (0, headers_1.buildHeaders)([
|
|
47
|
+
{
|
|
48
|
+
...(xAccountID != null ? { 'X-ACCOUNT-ID': xAccountID } : undefined),
|
|
49
|
+
...(xEnvironmentID != null ? { 'X-ENVIRONMENT-ID': xEnvironmentID } : undefined),
|
|
50
|
+
},
|
|
51
|
+
options?.headers,
|
|
52
|
+
]),
|
|
53
|
+
});
|
|
31
54
|
}
|
|
32
55
|
/**
|
|
33
56
|
* Retrieves a paginated list of credit ledger events for a customer.
|
|
34
57
|
*/
|
|
35
|
-
listLedger(
|
|
58
|
+
listLedger(params, options) {
|
|
59
|
+
const { 'X-ACCOUNT-ID': xAccountID, 'X-ENVIRONMENT-ID': xEnvironmentID, ...query } = params;
|
|
36
60
|
return this._client.getAPIList('/api/v1/credits/ledger', (pagination_1.MyCursorIDPage), {
|
|
37
61
|
query,
|
|
38
62
|
...options,
|
|
63
|
+
headers: (0, headers_1.buildHeaders)([
|
|
64
|
+
{
|
|
65
|
+
...(xAccountID != null ? { 'X-ACCOUNT-ID': xAccountID } : undefined),
|
|
66
|
+
...(xEnvironmentID != null ? { 'X-ENVIRONMENT-ID': xEnvironmentID } : undefined),
|
|
67
|
+
},
|
|
68
|
+
options?.headers,
|
|
69
|
+
]),
|
|
39
70
|
});
|
|
40
71
|
}
|
|
41
72
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credits.js","sourceRoot":"","sources":["../../../src/resources/v1/credits/credits.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AACrD,oFAA2D;AAC3D,
|
|
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ants, } from "./grants.mjs";
|
|
7
7
|
import { MyCursorIDPage } from "../../../core/pagination.mjs";
|
|
8
|
+
import { buildHeaders } from "../../../internal/headers.mjs";
|
|
8
9
|
export class Credits extends APIResource {
|
|
9
10
|
constructor() {
|
|
10
11
|
super(...arguments);
|
|
@@ -15,23 +16,53 @@ export class Credits extends APIResource {
|
|
|
15
16
|
* Retrieves the automatic recharge configuration for a customer and currency.
|
|
16
17
|
* Returns default settings if no configuration exists.
|
|
17
18
|
*/
|
|
18
|
-
getAutoRecharge(
|
|
19
|
-
|
|
19
|
+
getAutoRecharge(params, options) {
|
|
20
|
+
const { 'X-ACCOUNT-ID': xAccountID, 'X-ENVIRONMENT-ID': xEnvironmentID, ...query } = params;
|
|
21
|
+
return this._client.get('/api/v1/credits/auto-recharge', {
|
|
22
|
+
query,
|
|
23
|
+
...options,
|
|
24
|
+
headers: buildHeaders([
|
|
25
|
+
{
|
|
26
|
+
...(xAccountID != null ? { 'X-ACCOUNT-ID': xAccountID } : undefined),
|
|
27
|
+
...(xEnvironmentID != null ? { 'X-ENVIRONMENT-ID': xEnvironmentID } : undefined),
|
|
28
|
+
},
|
|
29
|
+
options?.headers,
|
|
30
|
+
]),
|
|
31
|
+
});
|
|
20
32
|
}
|
|
21
33
|
/**
|
|
22
34
|
* Retrieves credit usage time-series data for a customer, grouped by feature, over
|
|
23
35
|
* a specified time range.
|
|
24
36
|
*/
|
|
25
|
-
getUsage(
|
|
26
|
-
|
|
37
|
+
getUsage(params, options) {
|
|
38
|
+
const { 'X-ACCOUNT-ID': xAccountID, 'X-ENVIRONMENT-ID': xEnvironmentID, ...query } = params;
|
|
39
|
+
return this._client.get('/api/v1/credits/usage', {
|
|
40
|
+
query,
|
|
41
|
+
...options,
|
|
42
|
+
headers: buildHeaders([
|
|
43
|
+
{
|
|
44
|
+
...(xAccountID != null ? { 'X-ACCOUNT-ID': xAccountID } : undefined),
|
|
45
|
+
...(xEnvironmentID != null ? { 'X-ENVIRONMENT-ID': xEnvironmentID } : undefined),
|
|
46
|
+
},
|
|
47
|
+
options?.headers,
|
|
48
|
+
]),
|
|
49
|
+
});
|
|
27
50
|
}
|
|
28
51
|
/**
|
|
29
52
|
* Retrieves a paginated list of credit ledger events for a customer.
|
|
30
53
|
*/
|
|
31
|
-
listLedger(
|
|
54
|
+
listLedger(params, options) {
|
|
55
|
+
const { 'X-ACCOUNT-ID': xAccountID, 'X-ENVIRONMENT-ID': xEnvironmentID, ...query } = params;
|
|
32
56
|
return this._client.getAPIList('/api/v1/credits/ledger', (MyCursorIDPage), {
|
|
33
57
|
query,
|
|
34
58
|
...options,
|
|
59
|
+
headers: buildHeaders([
|
|
60
|
+
{
|
|
61
|
+
...(xAccountID != null ? { 'X-ACCOUNT-ID': xAccountID } : undefined),
|
|
62
|
+
...(xEnvironmentID != null ? { 'X-ENVIRONMENT-ID': xEnvironmentID } : undefined),
|
|
63
|
+
},
|
|
64
|
+
options?.headers,
|
|
65
|
+
]),
|
|
35
66
|
});
|
|
36
67
|
}
|
|
37
68
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credits.mjs","sourceRoot":"","sources":["../../../src/resources/v1/credits/credits.ts"],"names":[],"mappings":"AAAA,sFAAsF;
|
|
1
|
+
{"version":3,"file":"credits.mjs","sourceRoot":"","sources":["../../../src/resources/v1/credits/credits.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,mBAAmB,gCAA4B;AAC3D,OAAO,EACL,gBAAgB,GAWjB,gCAA4B;AAC7B,OAAO,KAAK,SAAS,qBAAiB;AACtC,OAAO,EAOL,MAAM,GACP,qBAAiB;AAElB,OAAO,EAAE,cAAc,EAA0C,qCAAiC;AAClG,OAAO,EAAE,YAAY,EAAE,sCAAkC;AAGzD,MAAM,OAAO,OAAQ,SAAQ,WAAW;IAAxC;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI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AC;iBACjF;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,UAAU,CACR,MAA8B,EAC9B,OAAwB;QAExB,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,kBAAkB,EAAE,cAAc,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;QAC5F,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,wBAAwB,EAAE,CAAA,cAAwC,CAAA,EAAE;YACjG,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB;oBACE,GAAG,CAAC,UAAU,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,cAAc,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;oBACpE,GAAG,CAAC,cAAc,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,kBAAkB,EAAE,cAAc,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;iBACjF;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF;AAmZD,OAAO,CAAC,MAAM,GAAG,MAAM,CAAC;AACxB,OAAO,CAAC,gBAAgB,GAAG,gBAAgB,CAAC"}
|
|
@@ -9,33 +9,33 @@ export declare class CustomCurrencies extends APIResource {
|
|
|
9
9
|
/**
|
|
10
10
|
* Creates a new custom currency in the environment.
|
|
11
11
|
*/
|
|
12
|
-
create(
|
|
12
|
+
create(params: CustomCurrencyCreateParams, options?: RequestOptions): APIPromise<CustomCurrencyResponse>;
|
|
13
13
|
/**
|
|
14
14
|
* Updates an existing custom currency. Only the supplied fields are modified.
|
|
15
15
|
*/
|
|
16
|
-
update(currencyID: string,
|
|
16
|
+
update(currencyID: string, params: CustomCurrencyUpdateParams, options?: RequestOptions): APIPromise<CustomCurrencyResponse>;
|
|
17
17
|
/**
|
|
18
18
|
* Retrieves a paginated list of custom currencies in the environment. Archived
|
|
19
19
|
* currencies are excluded by default; pass `status=ARCHIVED` (or
|
|
20
20
|
* `status=ACTIVE,ARCHIVED`) to include them.
|
|
21
21
|
*/
|
|
22
|
-
list(
|
|
22
|
+
list(params?: CustomCurrencyListParams | null | undefined, options?: RequestOptions): PagePromise<CustomCurrencyListResponsesMyCursorIDPage, CustomCurrencyListResponse>;
|
|
23
23
|
/**
|
|
24
24
|
* Archives a custom currency. Fails if the currency is still associated with any
|
|
25
25
|
* active plan or addon — use the associated-entities endpoint first to inspect
|
|
26
26
|
* dependencies.
|
|
27
27
|
*/
|
|
28
|
-
archive(currencyID: string, options?: RequestOptions): APIPromise<CustomCurrencyResponse>;
|
|
28
|
+
archive(currencyID: string, params?: CustomCurrencyArchiveParams | null | undefined, options?: RequestOptions): APIPromise<CustomCurrencyResponse>;
|
|
29
29
|
/**
|
|
30
30
|
* Lists the active plans and addons that reference a custom currency. Useful
|
|
31
31
|
* before archiving to inspect dependencies.
|
|
32
32
|
*/
|
|
33
|
-
listAssociatedEntities(currencyID: string, options?: RequestOptions): APIPromise<CustomCurrencyListAssociatedEntitiesResponse>;
|
|
33
|
+
listAssociatedEntities(currencyID: string, params?: CustomCurrencyListAssociatedEntitiesParams | null | undefined, options?: RequestOptions): APIPromise<CustomCurrencyListAssociatedEntitiesResponse>;
|
|
34
34
|
/**
|
|
35
35
|
* Restores a previously archived custom currency. Fails if another active currency
|
|
36
36
|
* with the same ID already exists.
|
|
37
37
|
*/
|
|
38
|
-
unarchive(currencyID: string, options?: RequestOptions): APIPromise<CustomCurrencyResponse>;
|
|
38
|
+
unarchive(currencyID: string, params?: CustomCurrencyUnarchiveParams | null | undefined, options?: RequestOptions): APIPromise<CustomCurrencyResponse>;
|
|
39
39
|
}
|
|
40
40
|
export type CustomCurrencyListResponsesMyCursorIDPage = MyCursorIDPage<CustomCurrencyListResponse>;
|
|
41
41
|
/**
|
|
@@ -192,32 +192,43 @@ export declare namespace CustomCurrencyListAssociatedEntitiesResponse {
|
|
|
192
192
|
}
|
|
193
193
|
export interface CustomCurrencyCreateParams {
|
|
194
194
|
/**
|
|
195
|
-
* The unique identifier for the new custom currency
|
|
195
|
+
* Body param: The unique identifier for the new custom currency
|
|
196
196
|
*/
|
|
197
197
|
id: string;
|
|
198
198
|
/**
|
|
199
|
-
* The display name of the custom currency
|
|
199
|
+
* Body param: The display name of the custom currency
|
|
200
200
|
*/
|
|
201
201
|
displayName: string;
|
|
202
202
|
/**
|
|
203
|
-
* Description of the currency
|
|
203
|
+
* Body param: Description of the currency
|
|
204
204
|
*/
|
|
205
205
|
description?: string;
|
|
206
206
|
/**
|
|
207
|
-
* Additional metadata to attach to the custom currency
|
|
207
|
+
* Body param: Additional metadata to attach to the custom currency
|
|
208
208
|
*/
|
|
209
209
|
metadata?: {
|
|
210
210
|
[key: string]: string;
|
|
211
211
|
};
|
|
212
212
|
/**
|
|
213
|
-
* The symbol used to represent the custom currency
|
|
213
|
+
* Body param: The symbol used to represent the custom currency
|
|
214
214
|
*/
|
|
215
215
|
symbol?: string;
|
|
216
216
|
/**
|
|
217
|
-
* Singular and plural unit labels for a custom currency. Both fields
|
|
218
|
-
* when supplied.
|
|
217
|
+
* Body param: Singular and plural unit labels for a custom currency. Both fields
|
|
218
|
+
* are required when supplied.
|
|
219
219
|
*/
|
|
220
220
|
units?: CustomCurrencyCreateParams.Units;
|
|
221
|
+
/**
|
|
222
|
+
* Header param: Account ID — optional when authenticating with a user JWT (Bearer
|
|
223
|
+
* token); falls back to the user's first membership. Ignored for API-key auth.
|
|
224
|
+
*/
|
|
225
|
+
'X-ACCOUNT-ID'?: string;
|
|
226
|
+
/**
|
|
227
|
+
* Header param: Environment ID — required when authenticating with a user JWT
|
|
228
|
+
* (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is
|
|
229
|
+
* intrinsic to the key).
|
|
230
|
+
*/
|
|
231
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
221
232
|
}
|
|
222
233
|
export declare namespace CustomCurrencyCreateParams {
|
|
223
234
|
/**
|
|
@@ -237,29 +248,41 @@ export declare namespace CustomCurrencyCreateParams {
|
|
|
237
248
|
}
|
|
238
249
|
export interface CustomCurrencyUpdateParams {
|
|
239
250
|
/**
|
|
240
|
-
* A human-readable description of the custom currency. Send an empty
|
|
241
|
-
* clear.
|
|
251
|
+
* Body param: A human-readable description of the custom currency. Send an empty
|
|
252
|
+
* string to clear.
|
|
242
253
|
*/
|
|
243
254
|
description?: string | null;
|
|
244
255
|
/**
|
|
245
|
-
* The display name of the custom currency
|
|
256
|
+
* Body param: The display name of the custom currency
|
|
246
257
|
*/
|
|
247
258
|
displayName?: string;
|
|
248
259
|
/**
|
|
249
|
-
* Additional metadata to attach to the custom currency
|
|
260
|
+
* Body param: Additional metadata to attach to the custom currency
|
|
250
261
|
*/
|
|
251
262
|
metadata?: {
|
|
252
263
|
[key: string]: string;
|
|
253
264
|
} | null;
|
|
254
265
|
/**
|
|
255
|
-
* The symbol used to represent the custom currency. Send an empty
|
|
266
|
+
* Body param: The symbol used to represent the custom currency. Send an empty
|
|
267
|
+
* string to clear.
|
|
256
268
|
*/
|
|
257
269
|
symbol?: string | null;
|
|
258
270
|
/**
|
|
259
|
-
* Singular and plural unit labels for a custom currency. Both fields
|
|
260
|
-
* when supplied.
|
|
271
|
+
* Body param: Singular and plural unit labels for a custom currency. Both fields
|
|
272
|
+
* are required when supplied.
|
|
261
273
|
*/
|
|
262
274
|
units?: CustomCurrencyUpdateParams.Units;
|
|
275
|
+
/**
|
|
276
|
+
* Header param: Account ID — optional when authenticating with a user JWT (Bearer
|
|
277
|
+
* token); falls back to the user's first membership. Ignored for API-key auth.
|
|
278
|
+
*/
|
|
279
|
+
'X-ACCOUNT-ID'?: string;
|
|
280
|
+
/**
|
|
281
|
+
* Header param: Environment ID — required when authenticating with a user JWT
|
|
282
|
+
* (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is
|
|
283
|
+
* intrinsic to the key).
|
|
284
|
+
*/
|
|
285
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
263
286
|
}
|
|
264
287
|
export declare namespace CustomCurrencyUpdateParams {
|
|
265
288
|
/**
|
|
@@ -279,12 +302,62 @@ export declare namespace CustomCurrencyUpdateParams {
|
|
|
279
302
|
}
|
|
280
303
|
export interface CustomCurrencyListParams extends MyCursorIDPageParams {
|
|
281
304
|
/**
|
|
282
|
-
* Filter by custom currency status. Supports comma-separated values
|
|
283
|
-
* `ACTIVE,ARCHIVED`). Defaults to `ACTIVE`.
|
|
305
|
+
* Query param: Filter by custom currency status. Supports comma-separated values
|
|
306
|
+
* (e.g., `ACTIVE,ARCHIVED`). Defaults to `ACTIVE`.
|
|
284
307
|
*/
|
|
285
308
|
status?: Array<'ACTIVE' | 'ARCHIVED'>;
|
|
309
|
+
/**
|
|
310
|
+
* Header param: Account ID — optional when authenticating with a user JWT (Bearer
|
|
311
|
+
* token); falls back to the user's first membership. Ignored for API-key auth.
|
|
312
|
+
*/
|
|
313
|
+
'X-ACCOUNT-ID'?: string;
|
|
314
|
+
/**
|
|
315
|
+
* Header param: Environment ID — required when authenticating with a user JWT
|
|
316
|
+
* (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is
|
|
317
|
+
* intrinsic to the key).
|
|
318
|
+
*/
|
|
319
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
320
|
+
}
|
|
321
|
+
export interface CustomCurrencyArchiveParams {
|
|
322
|
+
/**
|
|
323
|
+
* Account ID — optional when authenticating with a user JWT (Bearer token); falls
|
|
324
|
+
* back to the user's first membership. Ignored for API-key auth.
|
|
325
|
+
*/
|
|
326
|
+
'X-ACCOUNT-ID'?: string;
|
|
327
|
+
/**
|
|
328
|
+
* Environment ID — required when authenticating with a user JWT (Bearer token) on
|
|
329
|
+
* environment-scoped endpoints. Ignored for API-key auth (env is intrinsic to the
|
|
330
|
+
* key).
|
|
331
|
+
*/
|
|
332
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
333
|
+
}
|
|
334
|
+
export interface CustomCurrencyListAssociatedEntitiesParams {
|
|
335
|
+
/**
|
|
336
|
+
* Account ID — optional when authenticating with a user JWT (Bearer token); falls
|
|
337
|
+
* back to the user's first membership. Ignored for API-key auth.
|
|
338
|
+
*/
|
|
339
|
+
'X-ACCOUNT-ID'?: string;
|
|
340
|
+
/**
|
|
341
|
+
* Environment ID — required when authenticating with a user JWT (Bearer token) on
|
|
342
|
+
* environment-scoped endpoints. Ignored for API-key auth (env is intrinsic to the
|
|
343
|
+
* key).
|
|
344
|
+
*/
|
|
345
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
346
|
+
}
|
|
347
|
+
export interface CustomCurrencyUnarchiveParams {
|
|
348
|
+
/**
|
|
349
|
+
* Account ID — optional when authenticating with a user JWT (Bearer token); falls
|
|
350
|
+
* back to the user's first membership. Ignored for API-key auth.
|
|
351
|
+
*/
|
|
352
|
+
'X-ACCOUNT-ID'?: string;
|
|
353
|
+
/**
|
|
354
|
+
* Environment ID — required when authenticating with a user JWT (Bearer token) on
|
|
355
|
+
* environment-scoped endpoints. Ignored for API-key auth (env is intrinsic to the
|
|
356
|
+
* key).
|
|
357
|
+
*/
|
|
358
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
286
359
|
}
|
|
287
360
|
export declare namespace CustomCurrencies {
|
|
288
|
-
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, };
|
|
361
|
+
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
362
|
}
|
|
290
363
|
//# 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;;OAEG;IACH,MAAM,CAAC,MAAM,EAAE,0BAA0B,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;IAexG;;OAEG;IACH,MAAM,CACJ,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,0BAA0B,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sBAAsB,CAAC;IAerC;;;;OAIG;IACH,IAAI,CACF,MAAM,GAAE,wBAAwB,GAAG,IAAI,GAAG,SAAc,EACxD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,yCAAyC,EAAE,0BAA0B,CAAC;IAmBrF;;;;OAIG;IACH,OAAO,CACL,UAAU,EAAE,MAAM,E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,oBAAoB;IACpE;;;OAGG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,UAAU,CAAC,CAAC;IAEtC;;;OAGG;IACH,cAAc,CAAC,EAAE,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"}
|
|
@@ -9,33 +9,33 @@ export declare class CustomCurrencies extends APIResource {
|
|
|
9
9
|
/**
|
|
10
10
|
* Creates a new custom currency in the environment.
|
|
11
11
|
*/
|
|
12
|
-
create(
|
|
12
|
+
create(params: CustomCurrencyCreateParams, options?: RequestOptions): APIPromise<CustomCurrencyResponse>;
|
|
13
13
|
/**
|
|
14
14
|
* Updates an existing custom currency. Only the supplied fields are modified.
|
|
15
15
|
*/
|
|
16
|
-
update(currencyID: string,
|
|
16
|
+
update(currencyID: string, params: CustomCurrencyUpdateParams, options?: RequestOptions): APIPromise<CustomCurrencyResponse>;
|
|
17
17
|
/**
|
|
18
18
|
* Retrieves a paginated list of custom currencies in the environment. Archived
|
|
19
19
|
* currencies are excluded by default; pass `status=ARCHIVED` (or
|
|
20
20
|
* `status=ACTIVE,ARCHIVED`) to include them.
|
|
21
21
|
*/
|
|
22
|
-
list(
|
|
22
|
+
list(params?: CustomCurrencyListParams | null | undefined, options?: RequestOptions): PagePromise<CustomCurrencyListResponsesMyCursorIDPage, CustomCurrencyListResponse>;
|
|
23
23
|
/**
|
|
24
24
|
* Archives a custom currency. Fails if the currency is still associated with any
|
|
25
25
|
* active plan or addon — use the associated-entities endpoint first to inspect
|
|
26
26
|
* dependencies.
|
|
27
27
|
*/
|
|
28
|
-
archive(currencyID: string, options?: RequestOptions): APIPromise<CustomCurrencyResponse>;
|
|
28
|
+
archive(currencyID: string, params?: CustomCurrencyArchiveParams | null | undefined, options?: RequestOptions): APIPromise<CustomCurrencyResponse>;
|
|
29
29
|
/**
|
|
30
30
|
* Lists the active plans and addons that reference a custom currency. Useful
|
|
31
31
|
* before archiving to inspect dependencies.
|
|
32
32
|
*/
|
|
33
|
-
listAssociatedEntities(currencyID: string, options?: RequestOptions): APIPromise<CustomCurrencyListAssociatedEntitiesResponse>;
|
|
33
|
+
listAssociatedEntities(currencyID: string, params?: CustomCurrencyListAssociatedEntitiesParams | null | undefined, options?: RequestOptions): APIPromise<CustomCurrencyListAssociatedEntitiesResponse>;
|
|
34
34
|
/**
|
|
35
35
|
* Restores a previously archived custom currency. Fails if another active currency
|
|
36
36
|
* with the same ID already exists.
|
|
37
37
|
*/
|
|
38
|
-
unarchive(currencyID: string, options?: RequestOptions): APIPromise<CustomCurrencyResponse>;
|
|
38
|
+
unarchive(currencyID: string, params?: CustomCurrencyUnarchiveParams | null | undefined, options?: RequestOptions): APIPromise<CustomCurrencyResponse>;
|
|
39
39
|
}
|
|
40
40
|
export type CustomCurrencyListResponsesMyCursorIDPage = MyCursorIDPage<CustomCurrencyListResponse>;
|
|
41
41
|
/**
|
|
@@ -192,32 +192,43 @@ export declare namespace CustomCurrencyListAssociatedEntitiesResponse {
|
|
|
192
192
|
}
|
|
193
193
|
export interface CustomCurrencyCreateParams {
|
|
194
194
|
/**
|
|
195
|
-
* The unique identifier for the new custom currency
|
|
195
|
+
* Body param: The unique identifier for the new custom currency
|
|
196
196
|
*/
|
|
197
197
|
id: string;
|
|
198
198
|
/**
|
|
199
|
-
* The display name of the custom currency
|
|
199
|
+
* Body param: The display name of the custom currency
|
|
200
200
|
*/
|
|
201
201
|
displayName: string;
|
|
202
202
|
/**
|
|
203
|
-
* Description of the currency
|
|
203
|
+
* Body param: Description of the currency
|
|
204
204
|
*/
|
|
205
205
|
description?: string;
|
|
206
206
|
/**
|
|
207
|
-
* Additional metadata to attach to the custom currency
|
|
207
|
+
* Body param: Additional metadata to attach to the custom currency
|
|
208
208
|
*/
|
|
209
209
|
metadata?: {
|
|
210
210
|
[key: string]: string;
|
|
211
211
|
};
|
|
212
212
|
/**
|
|
213
|
-
* The symbol used to represent the custom currency
|
|
213
|
+
* Body param: The symbol used to represent the custom currency
|
|
214
214
|
*/
|
|
215
215
|
symbol?: string;
|
|
216
216
|
/**
|
|
217
|
-
* Singular and plural unit labels for a custom currency. Both fields
|
|
218
|
-
* when supplied.
|
|
217
|
+
* Body param: Singular and plural unit labels for a custom currency. Both fields
|
|
218
|
+
* are required when supplied.
|
|
219
219
|
*/
|
|
220
220
|
units?: CustomCurrencyCreateParams.Units;
|
|
221
|
+
/**
|
|
222
|
+
* Header param: Account ID — optional when authenticating with a user JWT (Bearer
|
|
223
|
+
* token); falls back to the user's first membership. Ignored for API-key auth.
|
|
224
|
+
*/
|
|
225
|
+
'X-ACCOUNT-ID'?: string;
|
|
226
|
+
/**
|
|
227
|
+
* Header param: Environment ID — required when authenticating with a user JWT
|
|
228
|
+
* (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is
|
|
229
|
+
* intrinsic to the key).
|
|
230
|
+
*/
|
|
231
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
221
232
|
}
|
|
222
233
|
export declare namespace CustomCurrencyCreateParams {
|
|
223
234
|
/**
|
|
@@ -237,29 +248,41 @@ export declare namespace CustomCurrencyCreateParams {
|
|
|
237
248
|
}
|
|
238
249
|
export interface CustomCurrencyUpdateParams {
|
|
239
250
|
/**
|
|
240
|
-
* A human-readable description of the custom currency. Send an empty
|
|
241
|
-
* clear.
|
|
251
|
+
* Body param: A human-readable description of the custom currency. Send an empty
|
|
252
|
+
* string to clear.
|
|
242
253
|
*/
|
|
243
254
|
description?: string | null;
|
|
244
255
|
/**
|
|
245
|
-
* The display name of the custom currency
|
|
256
|
+
* Body param: The display name of the custom currency
|
|
246
257
|
*/
|
|
247
258
|
displayName?: string;
|
|
248
259
|
/**
|
|
249
|
-
* Additional metadata to attach to the custom currency
|
|
260
|
+
* Body param: Additional metadata to attach to the custom currency
|
|
250
261
|
*/
|
|
251
262
|
metadata?: {
|
|
252
263
|
[key: string]: string;
|
|
253
264
|
} | null;
|
|
254
265
|
/**
|
|
255
|
-
* The symbol used to represent the custom currency. Send an empty
|
|
266
|
+
* Body param: The symbol used to represent the custom currency. Send an empty
|
|
267
|
+
* string to clear.
|
|
256
268
|
*/
|
|
257
269
|
symbol?: string | null;
|
|
258
270
|
/**
|
|
259
|
-
* Singular and plural unit labels for a custom currency. Both fields
|
|
260
|
-
* when supplied.
|
|
271
|
+
* Body param: Singular and plural unit labels for a custom currency. Both fields
|
|
272
|
+
* are required when supplied.
|
|
261
273
|
*/
|
|
262
274
|
units?: CustomCurrencyUpdateParams.Units;
|
|
275
|
+
/**
|
|
276
|
+
* Header param: Account ID — optional when authenticating with a user JWT (Bearer
|
|
277
|
+
* token); falls back to the user's first membership. Ignored for API-key auth.
|
|
278
|
+
*/
|
|
279
|
+
'X-ACCOUNT-ID'?: string;
|
|
280
|
+
/**
|
|
281
|
+
* Header param: Environment ID — required when authenticating with a user JWT
|
|
282
|
+
* (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is
|
|
283
|
+
* intrinsic to the key).
|
|
284
|
+
*/
|
|
285
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
263
286
|
}
|
|
264
287
|
export declare namespace CustomCurrencyUpdateParams {
|
|
265
288
|
/**
|
|
@@ -279,12 +302,62 @@ export declare namespace CustomCurrencyUpdateParams {
|
|
|
279
302
|
}
|
|
280
303
|
export interface CustomCurrencyListParams extends MyCursorIDPageParams {
|
|
281
304
|
/**
|
|
282
|
-
* Filter by custom currency status. Supports comma-separated values
|
|
283
|
-
* `ACTIVE,ARCHIVED`). Defaults to `ACTIVE`.
|
|
305
|
+
* Query param: Filter by custom currency status. Supports comma-separated values
|
|
306
|
+
* (e.g., `ACTIVE,ARCHIVED`). Defaults to `ACTIVE`.
|
|
284
307
|
*/
|
|
285
308
|
status?: Array<'ACTIVE' | 'ARCHIVED'>;
|
|
309
|
+
/**
|
|
310
|
+
* Header param: Account ID — optional when authenticating with a user JWT (Bearer
|
|
311
|
+
* token); falls back to the user's first membership. Ignored for API-key auth.
|
|
312
|
+
*/
|
|
313
|
+
'X-ACCOUNT-ID'?: string;
|
|
314
|
+
/**
|
|
315
|
+
* Header param: Environment ID — required when authenticating with a user JWT
|
|
316
|
+
* (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is
|
|
317
|
+
* intrinsic to the key).
|
|
318
|
+
*/
|
|
319
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
320
|
+
}
|
|
321
|
+
export interface CustomCurrencyArchiveParams {
|
|
322
|
+
/**
|
|
323
|
+
* Account ID — optional when authenticating with a user JWT (Bearer token); falls
|
|
324
|
+
* back to the user's first membership. Ignored for API-key auth.
|
|
325
|
+
*/
|
|
326
|
+
'X-ACCOUNT-ID'?: string;
|
|
327
|
+
/**
|
|
328
|
+
* Environment ID — required when authenticating with a user JWT (Bearer token) on
|
|
329
|
+
* environment-scoped endpoints. Ignored for API-key auth (env is intrinsic to the
|
|
330
|
+
* key).
|
|
331
|
+
*/
|
|
332
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
333
|
+
}
|
|
334
|
+
export interface CustomCurrencyListAssociatedEntitiesParams {
|
|
335
|
+
/**
|
|
336
|
+
* Account ID — optional when authenticating with a user JWT (Bearer token); falls
|
|
337
|
+
* back to the user's first membership. Ignored for API-key auth.
|
|
338
|
+
*/
|
|
339
|
+
'X-ACCOUNT-ID'?: string;
|
|
340
|
+
/**
|
|
341
|
+
* Environment ID — required when authenticating with a user JWT (Bearer token) on
|
|
342
|
+
* environment-scoped endpoints. Ignored for API-key auth (env is intrinsic to the
|
|
343
|
+
* key).
|
|
344
|
+
*/
|
|
345
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
346
|
+
}
|
|
347
|
+
export interface CustomCurrencyUnarchiveParams {
|
|
348
|
+
/**
|
|
349
|
+
* Account ID — optional when authenticating with a user JWT (Bearer token); falls
|
|
350
|
+
* back to the user's first membership. Ignored for API-key auth.
|
|
351
|
+
*/
|
|
352
|
+
'X-ACCOUNT-ID'?: string;
|
|
353
|
+
/**
|
|
354
|
+
* Environment ID — required when authenticating with a user JWT (Bearer token) on
|
|
355
|
+
* environment-scoped endpoints. Ignored for API-key auth (env is intrinsic to the
|
|
356
|
+
* key).
|
|
357
|
+
*/
|
|
358
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
286
359
|
}
|
|
287
360
|
export declare namespace CustomCurrencies {
|
|
288
|
-
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, };
|
|
361
|
+
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
362
|
}
|
|
290
363
|
//# 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;;OAEG;IACH,MAAM,CAAC,MAAM,EAAE,0BAA0B,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;IAexG;;OAEG;IACH,MAAM,CACJ,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,0BAA0B,EAClC,OAAO,CA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