@stigg/typescript 0.1.0-beta.4 → 0.1.0-beta.40
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 +306 -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 +4 -1
- package/client.d.mts.map +1 -1
- package/client.d.ts +4 -1
- package/client.d.ts.map +1 -1
- package/client.js +15 -4
- package/client.js.map +1 -1
- package/client.mjs +15 -4
- 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 +143 -33
- package/resources/v1/addons/addons.d.mts.map +1 -1
- package/resources/v1/addons/addons.d.ts +143 -33
- package/resources/v1/addons/addons.d.ts.map +1 -1
- package/resources/v1/addons/addons.js +110 -17
- package/resources/v1/addons/addons.js.map +1 -1
- package/resources/v1/addons/addons.mjs +110 -17
- 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/consumption.d.mts +196 -0
- package/resources/v1/credits/consumption.d.mts.map +1 -0
- package/resources/v1/credits/consumption.d.ts +196 -0
- package/resources/v1/credits/consumption.d.ts.map +1 -0
- package/resources/v1/credits/consumption.js +46 -0
- package/resources/v1/credits/consumption.js.map +1 -0
- package/resources/v1/credits/consumption.mjs +42 -0
- package/resources/v1/credits/consumption.mjs.map +1 -0
- package/resources/v1/credits/credits.d.mts +118 -25
- package/resources/v1/credits/credits.d.mts.map +1 -1
- package/resources/v1/credits/credits.d.ts +118 -25
- package/resources/v1/credits/credits.d.ts.map +1 -1
- package/resources/v1/credits/credits.js +40 -5
- package/resources/v1/credits/credits.js.map +1 -1
- package/resources/v1/credits/credits.mjs +40 -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 +3 -2
- package/resources/v1/credits/index.d.mts.map +1 -1
- package/resources/v1/credits/index.d.ts +3 -2
- package/resources/v1/credits/index.d.ts.map +1 -1
- package/resources/v1/credits/index.js +3 -1
- package/resources/v1/credits/index.js.map +1 -1
- package/resources/v1/credits/index.mjs +1 -0
- 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 +321 -0
- package/resources/v1/events/data-export/destinations.d.mts.map +1 -0
- package/resources/v1/events/data-export/destinations.d.ts +321 -0
- package/resources/v1/events/data-export/destinations.d.ts.map +1 -0
- package/resources/v1/events/data-export/destinations.js +65 -0
- package/resources/v1/events/data-export/destinations.js.map +1 -0
- package/resources/v1/events/data-export/destinations.mjs +61 -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 +156 -34
- package/resources/v1/plans/plans.d.mts.map +1 -1
- package/resources/v1/plans/plans.d.ts +156 -34
- package/resources/v1/plans/plans.d.ts.map +1 -1
- package/resources/v1/plans/plans.js +127 -20
- package/resources/v1/plans/plans.js.map +1 -1
- package/resources/v1/plans/plans.mjs +127 -20
- 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 +252 -76
- package/resources/v1/subscriptions/subscriptions.d.mts.map +1 -1
- package/resources/v1/subscriptions/subscriptions.d.ts +252 -76
- 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 +61 -2
- package/resources/v1/usage.d.mts.map +1 -1
- package/resources/v1/usage.d.ts +61 -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 +249 -0
- package/resources/v1-beta/customers/assignments.d.mts.map +1 -0
- package/resources/v1-beta/customers/assignments.d.ts +249 -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 +17 -4
- package/src/resources/index.ts +1 -0
- package/src/resources/v1/addons/addons.ts +286 -39
- package/src/resources/v1/addons/entitlements.ts +158 -10
- package/src/resources/v1/addons/index.ts +5 -0
- package/src/resources/v1/coupons.ts +154 -23
- package/src/resources/v1/credits/consumption.ts +266 -0
- package/src/resources/v1/credits/credits.ts +185 -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 +11 -0
- package/src/resources/v1/customers/customers.ts +338 -62
- package/src/resources/v1/customers/index.ts +8 -1
- package/src/resources/v1/customers/integrations.ts +140 -18
- package/src/resources/v1/customers/payment-method.ts +70 -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 +316 -0
- package/src/resources/v1/events/data-export/destinations.ts +434 -0
- package/src/resources/v1/events/data-export/index.ts +20 -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 +20 -1
- package/src/resources/v1/plans/entitlements.ts +158 -10
- package/src/resources/v1/plans/index.ts +5 -0
- package/src/resources/v1/plans/plans.ts +314 -43
- 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 +423 -83
- package/src/resources/v1/subscriptions/usage.ts +61 -5
- package/src/resources/v1/usage.ts +97 -5
- package/src/resources/v1/v1.ts +40 -2
- package/src/resources/v1-beta/customers/assignments.ts +336 -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
|
@@ -3,6 +3,7 @@ import { APIResource } from "../../../core/resource.mjs";
|
|
|
3
3
|
import * as EntitlementsAPI from "./entitlements.mjs";
|
|
4
4
|
import { Entitlements, } from "./entitlements.mjs";
|
|
5
5
|
import { MyCursorIDPage } from "../../../core/pagination.mjs";
|
|
6
|
+
import { buildHeaders } from "../../../internal/headers.mjs";
|
|
6
7
|
import { path } from "../../../internal/utils/path.mjs";
|
|
7
8
|
/**
|
|
8
9
|
* Operations related to addons
|
|
@@ -15,61 +16,153 @@ export class Addons extends APIResource {
|
|
|
15
16
|
/**
|
|
16
17
|
* Creates a new addon in draft status, associated with a specific product.
|
|
17
18
|
*/
|
|
18
|
-
create(
|
|
19
|
-
|
|
19
|
+
create(params, options) {
|
|
20
|
+
const { 'X-ACCOUNT-ID': xAccountID, 'X-ENVIRONMENT-ID': xEnvironmentID, ...body } = params;
|
|
21
|
+
return this._client.post('/api/v1/addons', {
|
|
22
|
+
body,
|
|
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 an addon by its unique identifier, including entitlements and pricing
|
|
23
35
|
* details.
|
|
24
36
|
*/
|
|
25
|
-
retrieve(id, options) {
|
|
26
|
-
|
|
37
|
+
retrieve(id, params = {}, options) {
|
|
38
|
+
const { 'X-ACCOUNT-ID': xAccountID, 'X-ENVIRONMENT-ID': xEnvironmentID } = params ?? {};
|
|
39
|
+
return this._client.get(path `/api/v1/addons/${id}`, {
|
|
40
|
+
...options,
|
|
41
|
+
headers: buildHeaders([
|
|
42
|
+
{
|
|
43
|
+
...(xAccountID != null ? { 'X-ACCOUNT-ID': xAccountID } : undefined),
|
|
44
|
+
...(xEnvironmentID != null ? { 'X-ENVIRONMENT-ID': xEnvironmentID } : undefined),
|
|
45
|
+
},
|
|
46
|
+
options?.headers,
|
|
47
|
+
]),
|
|
48
|
+
});
|
|
27
49
|
}
|
|
28
50
|
/**
|
|
29
51
|
* Updates an existing addon's properties such as display name, description, and
|
|
30
52
|
* metadata.
|
|
31
53
|
*/
|
|
32
|
-
update(id,
|
|
33
|
-
|
|
54
|
+
update(id, params, options) {
|
|
55
|
+
const { 'X-ACCOUNT-ID': xAccountID, 'X-ENVIRONMENT-ID': xEnvironmentID, ...body } = params;
|
|
56
|
+
return this._client.patch(path `/api/v1/addons/${id}`, {
|
|
57
|
+
body,
|
|
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
|
+
]),
|
|
66
|
+
});
|
|
34
67
|
}
|
|
35
68
|
/**
|
|
36
69
|
* Retrieves a paginated list of addons in the environment.
|
|
37
70
|
*/
|
|
38
|
-
list(
|
|
71
|
+
list(params = {}, options) {
|
|
72
|
+
const { 'X-ACCOUNT-ID': xAccountID, 'X-ENVIRONMENT-ID': xEnvironmentID, ...query } = params ?? {};
|
|
39
73
|
return this._client.getAPIList('/api/v1/addons', (MyCursorIDPage), {
|
|
40
74
|
query,
|
|
41
75
|
...options,
|
|
76
|
+
headers: buildHeaders([
|
|
77
|
+
{
|
|
78
|
+
...(xAccountID != null ? { 'X-ACCOUNT-ID': xAccountID } : undefined),
|
|
79
|
+
...(xEnvironmentID != null ? { 'X-ENVIRONMENT-ID': xEnvironmentID } : undefined),
|
|
80
|
+
},
|
|
81
|
+
options?.headers,
|
|
82
|
+
]),
|
|
42
83
|
});
|
|
43
84
|
}
|
|
44
85
|
/**
|
|
45
86
|
* Archives an addon, preventing it from being used in new subscriptions.
|
|
46
87
|
*/
|
|
47
|
-
archive(id, options) {
|
|
48
|
-
|
|
88
|
+
archive(id, params = {}, options) {
|
|
89
|
+
const { 'X-ACCOUNT-ID': xAccountID, 'X-ENVIRONMENT-ID': xEnvironmentID } = params ?? {};
|
|
90
|
+
return this._client.post(path `/api/v1/addons/${id}/archive`, {
|
|
91
|
+
...options,
|
|
92
|
+
headers: buildHeaders([
|
|
93
|
+
{
|
|
94
|
+
...(xAccountID != null ? { 'X-ACCOUNT-ID': xAccountID } : undefined),
|
|
95
|
+
...(xEnvironmentID != null ? { 'X-ENVIRONMENT-ID': xEnvironmentID } : undefined),
|
|
96
|
+
},
|
|
97
|
+
options?.headers,
|
|
98
|
+
]),
|
|
99
|
+
});
|
|
49
100
|
}
|
|
50
101
|
/**
|
|
51
102
|
* Creates a draft version of an existing addon for modification before publishing.
|
|
52
103
|
*/
|
|
53
|
-
createDraft(id, options) {
|
|
54
|
-
|
|
104
|
+
createDraft(id, params = {}, options) {
|
|
105
|
+
const { 'X-ACCOUNT-ID': xAccountID, 'X-ENVIRONMENT-ID': xEnvironmentID } = params ?? {};
|
|
106
|
+
return this._client.post(path `/api/v1/addons/${id}/draft`, {
|
|
107
|
+
...options,
|
|
108
|
+
headers: buildHeaders([
|
|
109
|
+
{
|
|
110
|
+
...(xAccountID != null ? { 'X-ACCOUNT-ID': xAccountID } : undefined),
|
|
111
|
+
...(xEnvironmentID != null ? { 'X-ENVIRONMENT-ID': xEnvironmentID } : undefined),
|
|
112
|
+
},
|
|
113
|
+
options?.headers,
|
|
114
|
+
]),
|
|
115
|
+
});
|
|
55
116
|
}
|
|
56
117
|
/**
|
|
57
118
|
* Retrieves the list of charges configured on an addon.
|
|
58
119
|
*/
|
|
59
|
-
listCharges(id,
|
|
60
|
-
|
|
120
|
+
listCharges(id, params = {}, options) {
|
|
121
|
+
const { 'X-ACCOUNT-ID': xAccountID, 'X-ENVIRONMENT-ID': xEnvironmentID, ...query } = params ?? {};
|
|
122
|
+
return this._client.getAPIList(path `/api/v1/addons/${id}/charges`, (MyCursorIDPage), {
|
|
123
|
+
query,
|
|
124
|
+
...options,
|
|
125
|
+
headers: buildHeaders([
|
|
126
|
+
{
|
|
127
|
+
...(xAccountID != null ? { 'X-ACCOUNT-ID': xAccountID } : undefined),
|
|
128
|
+
...(xEnvironmentID != null ? { 'X-ENVIRONMENT-ID': xEnvironmentID } : undefined),
|
|
129
|
+
},
|
|
130
|
+
options?.headers,
|
|
131
|
+
]),
|
|
132
|
+
});
|
|
61
133
|
}
|
|
62
134
|
/**
|
|
63
135
|
* Publishes a draft addon, making it available for use in subscriptions.
|
|
64
136
|
*/
|
|
65
|
-
publish(id,
|
|
66
|
-
|
|
137
|
+
publish(id, params, options) {
|
|
138
|
+
const { 'X-ACCOUNT-ID': xAccountID, 'X-ENVIRONMENT-ID': xEnvironmentID, ...body } = params;
|
|
139
|
+
return this._client.post(path `/api/v1/addons/${id}/publish`, {
|
|
140
|
+
body,
|
|
141
|
+
...options,
|
|
142
|
+
headers: buildHeaders([
|
|
143
|
+
{
|
|
144
|
+
...(xAccountID != null ? { 'X-ACCOUNT-ID': xAccountID } : undefined),
|
|
145
|
+
...(xEnvironmentID != null ? { 'X-ENVIRONMENT-ID': xEnvironmentID } : undefined),
|
|
146
|
+
},
|
|
147
|
+
options?.headers,
|
|
148
|
+
]),
|
|
149
|
+
});
|
|
67
150
|
}
|
|
68
151
|
/**
|
|
69
152
|
* Removes a draft version of an addon.
|
|
70
153
|
*/
|
|
71
|
-
removeDraft(id, options) {
|
|
72
|
-
|
|
154
|
+
removeDraft(id, params = {}, options) {
|
|
155
|
+
const { 'X-ACCOUNT-ID': xAccountID, 'X-ENVIRONMENT-ID': xEnvironmentID } = params ?? {};
|
|
156
|
+
return this._client.delete(path `/api/v1/addons/${id}/draft`, {
|
|
157
|
+
...options,
|
|
158
|
+
headers: buildHeaders([
|
|
159
|
+
{
|
|
160
|
+
...(xAccountID != null ? { 'X-ACCOUNT-ID': xAccountID } : undefined),
|
|
161
|
+
...(xEnvironmentID != null ? { 'X-ENVIRONMENT-ID': xEnvironmentID } : undefined),
|
|
162
|
+
},
|
|
163
|
+
options?.headers,
|
|
164
|
+
]),
|
|
165
|
+
});
|
|
73
166
|
}
|
|
74
167
|
}
|
|
75
168
|
Addons.Entitlements = Entitlements;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addons.mjs","sourceRoot":"","sources":["../../../src/resources/v1/addons/addons.ts"],"names":[],"mappings":"AAAA,sFAAsF;
|
|
1
|
+
{"version":3,"file":"addons.mjs","sourceRoot":"","sources":["../../../src/resources/v1/addons/addons.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,eAAe,2BAAuB;AAClD,OAAO,EAQL,YAAY,GACb,2BAAuB;AAExB,OAAO,EAAE,cAAc,EAA0C,qCA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,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;IAED;;OAEG;IACH,WAAW,CACT,EAAU,EACV,SAAoD,EAAE,EACtD,OAAwB;QAExB,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,kBAAkB,EAAE,cAAc,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACxF,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,kBAAkB,EAAE,QAAQ,EAAE;YAC3D,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;AAo3ED,MAAM,CAAC,YAAY,GAAG,YAAY,CAAC"}
|
|
@@ -5,7 +5,7 @@ export declare class Entitlements extends APIResource {
|
|
|
5
5
|
/**
|
|
6
6
|
* Creates one or more entitlements (feature or credit) on a draft addon.
|
|
7
7
|
*/
|
|
8
|
-
create(addonID: string,
|
|
8
|
+
create(addonID: string, params: EntitlementCreateParams, options?: RequestOptions): APIPromise<EntitlementCreateResponse>;
|
|
9
9
|
/**
|
|
10
10
|
* Updates an existing entitlement on a draft addon.
|
|
11
11
|
*/
|
|
@@ -13,7 +13,7 @@ export declare class Entitlements extends APIResource {
|
|
|
13
13
|
/**
|
|
14
14
|
* Retrieves a list of entitlements for an addon.
|
|
15
15
|
*/
|
|
16
|
-
list(addonID: string, options?: RequestOptions): APIPromise<EntitlementListResponse>;
|
|
16
|
+
list(addonID: string, params?: EntitlementListParams | null | undefined, options?: RequestOptions): APIPromise<EntitlementListResponse>;
|
|
17
17
|
/**
|
|
18
18
|
* Deletes an entitlement from a draft addon.
|
|
19
19
|
*/
|
|
@@ -163,6 +163,12 @@ export declare namespace AddonPackageEntitlement {
|
|
|
163
163
|
* Override display name for the entitlement
|
|
164
164
|
*/
|
|
165
165
|
displayNameOverride: string | null;
|
|
166
|
+
/**
|
|
167
|
+
* Whether the credit wallet is soft-limited. When true, getEntitlement returns
|
|
168
|
+
* hasAccess=true past the limit; vendors decide whether to enforce. Defaults to
|
|
169
|
+
* false.
|
|
170
|
+
*/
|
|
171
|
+
hasSoftLimit: boolean | null;
|
|
166
172
|
/**
|
|
167
173
|
* Widget types where this entitlement is hidden
|
|
168
174
|
*/
|
|
@@ -336,6 +342,12 @@ export declare namespace EntitlementCreateResponse {
|
|
|
336
342
|
* Override display name for the entitlement
|
|
337
343
|
*/
|
|
338
344
|
displayNameOverride: string | null;
|
|
345
|
+
/**
|
|
346
|
+
* Whether the credit wallet is soft-limited. When true, getEntitlement returns
|
|
347
|
+
* hasAccess=true past the limit; vendors decide whether to enforce. Defaults to
|
|
348
|
+
* false.
|
|
349
|
+
*/
|
|
350
|
+
hasSoftLimit: boolean | null;
|
|
339
351
|
/**
|
|
340
352
|
* Widget types where this entitlement is hidden
|
|
341
353
|
*/
|
|
@@ -513,6 +525,12 @@ export declare namespace EntitlementListResponse {
|
|
|
513
525
|
* Override display name for the entitlement
|
|
514
526
|
*/
|
|
515
527
|
displayNameOverride: string | null;
|
|
528
|
+
/**
|
|
529
|
+
* Whether the credit wallet is soft-limited. When true, getEntitlement returns
|
|
530
|
+
* hasAccess=true past the limit; vendors decide whether to enforce. Defaults to
|
|
531
|
+
* false.
|
|
532
|
+
*/
|
|
533
|
+
hasSoftLimit: boolean | null;
|
|
516
534
|
/**
|
|
517
535
|
* Widget types where this entitlement is hidden
|
|
518
536
|
*/
|
|
@@ -561,9 +579,20 @@ export declare namespace EntitlementListResponse {
|
|
|
561
579
|
}
|
|
562
580
|
export interface EntitlementCreateParams {
|
|
563
581
|
/**
|
|
564
|
-
* Entitlements to create
|
|
582
|
+
* Body param: Entitlements to create
|
|
565
583
|
*/
|
|
566
584
|
entitlements: Array<EntitlementCreateParams.Feature | EntitlementCreateParams.Credit>;
|
|
585
|
+
/**
|
|
586
|
+
* Header param: Account ID — optional when authenticating with a user JWT (Bearer
|
|
587
|
+
* token); falls back to the user's first membership. Ignored for API-key auth.
|
|
588
|
+
*/
|
|
589
|
+
'X-ACCOUNT-ID'?: string;
|
|
590
|
+
/**
|
|
591
|
+
* Header param: Environment ID — required when authenticating with a user JWT
|
|
592
|
+
* (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is
|
|
593
|
+
* intrinsic to the key).
|
|
594
|
+
*/
|
|
595
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
567
596
|
}
|
|
568
597
|
export declare namespace EntitlementCreateParams {
|
|
569
598
|
/**
|
|
@@ -705,6 +734,12 @@ export declare namespace EntitlementCreateParams {
|
|
|
705
734
|
* Override display name for the entitlement
|
|
706
735
|
*/
|
|
707
736
|
displayNameOverride?: string;
|
|
737
|
+
/**
|
|
738
|
+
* Whether the credit wallet is soft-limited. When true, getEntitlement returns
|
|
739
|
+
* hasAccess=true past the limit; vendors decide whether to enforce. Defaults to
|
|
740
|
+
* false.
|
|
741
|
+
*/
|
|
742
|
+
hasSoftLimit?: boolean;
|
|
708
743
|
/**
|
|
709
744
|
* Widget types where this entitlement is hidden
|
|
710
745
|
*/
|
|
@@ -794,6 +829,17 @@ export declare namespace EntitlementUpdateParams {
|
|
|
794
829
|
* Body param: Configuration for yearly reset period
|
|
795
830
|
*/
|
|
796
831
|
yearlyResetPeriodConfiguration?: UpdateFeatureEntitlementRequest.YearlyResetPeriodConfiguration | null;
|
|
832
|
+
/**
|
|
833
|
+
* Header param: Account ID — optional when authenticating with a user JWT (Bearer
|
|
834
|
+
* token); falls back to the user's first membership. Ignored for API-key auth.
|
|
835
|
+
*/
|
|
836
|
+
'X-ACCOUNT-ID'?: string;
|
|
837
|
+
/**
|
|
838
|
+
* Header param: Environment ID — required when authenticating with a user JWT
|
|
839
|
+
* (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is
|
|
840
|
+
* intrinsic to the key).
|
|
841
|
+
*/
|
|
842
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
797
843
|
}
|
|
798
844
|
namespace UpdateFeatureEntitlementRequest {
|
|
799
845
|
/**
|
|
@@ -858,6 +904,12 @@ export declare namespace EntitlementUpdateParams {
|
|
|
858
904
|
* Body param: Override display name for the entitlement
|
|
859
905
|
*/
|
|
860
906
|
displayNameOverride?: string;
|
|
907
|
+
/**
|
|
908
|
+
* Body param: Whether the credit wallet is soft-limited. When true, getEntitlement
|
|
909
|
+
* returns hasAccess=true past the limit; vendors decide whether to enforce.
|
|
910
|
+
* Defaults to false.
|
|
911
|
+
*/
|
|
912
|
+
hasSoftLimit?: boolean;
|
|
861
913
|
/**
|
|
862
914
|
* Body param: Widget types where this entitlement is hidden
|
|
863
915
|
*/
|
|
@@ -874,15 +926,50 @@ export declare namespace EntitlementUpdateParams {
|
|
|
874
926
|
* Body param: Display order of the entitlement
|
|
875
927
|
*/
|
|
876
928
|
order?: number;
|
|
929
|
+
/**
|
|
930
|
+
* Header param: Account ID — optional when authenticating with a user JWT (Bearer
|
|
931
|
+
* token); falls back to the user's first membership. Ignored for API-key auth.
|
|
932
|
+
*/
|
|
933
|
+
'X-ACCOUNT-ID'?: string;
|
|
934
|
+
/**
|
|
935
|
+
* Header param: Environment ID — required when authenticating with a user JWT
|
|
936
|
+
* (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is
|
|
937
|
+
* intrinsic to the key).
|
|
938
|
+
*/
|
|
939
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
877
940
|
}
|
|
878
941
|
}
|
|
942
|
+
export interface EntitlementListParams {
|
|
943
|
+
/**
|
|
944
|
+
* Account ID — optional when authenticating with a user JWT (Bearer token); falls
|
|
945
|
+
* back to the user's first membership. Ignored for API-key auth.
|
|
946
|
+
*/
|
|
947
|
+
'X-ACCOUNT-ID'?: string;
|
|
948
|
+
/**
|
|
949
|
+
* Environment ID — required when authenticating with a user JWT (Bearer token) on
|
|
950
|
+
* environment-scoped endpoints. Ignored for API-key auth (env is intrinsic to the
|
|
951
|
+
* key).
|
|
952
|
+
*/
|
|
953
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
954
|
+
}
|
|
879
955
|
export interface EntitlementDeleteParams {
|
|
880
956
|
/**
|
|
881
|
-
* The addon ID
|
|
957
|
+
* Path param: The addon ID
|
|
882
958
|
*/
|
|
883
959
|
addonId: string;
|
|
960
|
+
/**
|
|
961
|
+
* Header param: Account ID — optional when authenticating with a user JWT (Bearer
|
|
962
|
+
* token); falls back to the user's first membership. Ignored for API-key auth.
|
|
963
|
+
*/
|
|
964
|
+
'X-ACCOUNT-ID'?: string;
|
|
965
|
+
/**
|
|
966
|
+
* Header param: Environment ID — required when authenticating with a user JWT
|
|
967
|
+
* (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is
|
|
968
|
+
* intrinsic to the key).
|
|
969
|
+
*/
|
|
970
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
884
971
|
}
|
|
885
972
|
export declare namespace Entitlements {
|
|
886
|
-
export { type AddonPackageEntitlement as AddonPackageEntitlement, type EntitlementCreateResponse as EntitlementCreateResponse, type EntitlementListResponse as EntitlementListResponse, type EntitlementCreateParams as EntitlementCreateParams, type EntitlementUpdateParams as EntitlementUpdateParams, type EntitlementDeleteParams as EntitlementDeleteParams, };
|
|
973
|
+
export { type AddonPackageEntitlement as AddonPackageEntitlement, type EntitlementCreateResponse as EntitlementCreateResponse, type EntitlementListResponse as EntitlementListResponse, type EntitlementCreateParams as EntitlementCreateParams, type EntitlementUpdateParams as EntitlementUpdateParams, type EntitlementListParams as EntitlementListParams, type EntitlementDeleteParams as EntitlementDeleteParams, };
|
|
887
974
|
}
|
|
888
975
|
//# sourceMappingURL=entitlements.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entitlements.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/addons/entitlements.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;OAEG;IACH,MAAM,CACJ,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,uBAAuB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,yBAAyB,CAAC;IAIxC;;OAEG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,MAAM,EAAE,uBAAuB,EAC/B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,uBAAuB,CAAC;IAKtC;;OAEG;IACH,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;IAIpF;;OAEG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,MAAM,EAAE,uBAAuB,EAC/B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,uBAAuB,CAAC;CAIvC;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,IAAI,EAAE,uBAAuB,CAAC,OAAO,GAAG,uBAAuB,CAAC,MAAM,CAAC;CACxE;AAED,yBAAiB,uBAAuB,CAAC;IACvC;;OAEG;IACH,UAAiB,OAAO;QACtB;;WAEG;QACH,EAAE,EAAE,MAAM,CAAC;QAEX;;WAEG;QACH,QAAQ,EAAE,WAAW,GA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UAAiB,8BAA8B;YAC7C;;eAEG;YACH,WAAW,EAAE,mBAAmB,CAAC;SAClC;KACF;IAED,UAAiB,8BAA8B;QAC7C;;WAEG;QACH,OAAO,EAAE,MAAM,CAAC;QAEhB;;WAEG;QACH,IAAI,EAAE,QAAQ,CAAC;QAEf;;WAEG;QACH,MAAM,CAAC,EAAE,MAAM,CAAC;QAEhB;;WAEG;QACH,QAAQ,CAAC,EAAE,WAAW,GAAG,UAAU,CAAC;QAEpC;;WAEG;QACH,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;QAE3B;;;WAGG;QACH,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAEpC;;WAEG;QACH,WAAW,CAAC,EAAE,MAAM,CAAC;QAErB;;WAEG;QACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;QAE7B;;WAEG;QACH,iBAAiB,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,iBAAiB,GAAG,UAAU,CAAC,CAAC;QAEtE;;WAEG;QACH,QAAQ,CAAC,EAAE,OAAO,CAAC;QAEnB;;WAEG;QACH,SAAS,CAAC,EAAE,OAAO,CAAC;QAEpB;;WAEG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB;CACF;AAED,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
|
|
1
|
+
{"version":3,"file":"entitlements.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/addons/entitlements.ts"],"names":[],"mappings":"AAEA,OAAO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AM,CAAC;CAC7B;AAED,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
|
|
@@ -5,7 +5,7 @@ export declare class Entitlements extends APIResource {
|
|
|
5
5
|
/**
|
|
6
6
|
* Creates one or more entitlements (feature or credit) on a draft addon.
|
|
7
7
|
*/
|
|
8
|
-
create(addonID: string,
|
|
8
|
+
create(addonID: string, params: EntitlementCreateParams, options?: RequestOptions): APIPromise<EntitlementCreateResponse>;
|
|
9
9
|
/**
|
|
10
10
|
* Updates an existing entitlement on a draft addon.
|
|
11
11
|
*/
|
|
@@ -13,7 +13,7 @@ export declare class Entitlements extends APIResource {
|
|
|
13
13
|
/**
|
|
14
14
|
* Retrieves a list of entitlements for an addon.
|
|
15
15
|
*/
|
|
16
|
-
list(addonID: string, options?: RequestOptions): APIPromise<EntitlementListResponse>;
|
|
16
|
+
list(addonID: string, params?: EntitlementListParams | null | undefined, options?: RequestOptions): APIPromise<EntitlementListResponse>;
|
|
17
17
|
/**
|
|
18
18
|
* Deletes an entitlement from a draft addon.
|
|
19
19
|
*/
|
|
@@ -163,6 +163,12 @@ export declare namespace AddonPackageEntitlement {
|
|
|
163
163
|
* Override display name for the entitlement
|
|
164
164
|
*/
|
|
165
165
|
displayNameOverride: string | null;
|
|
166
|
+
/**
|
|
167
|
+
* Whether the credit wallet is soft-limited. When true, getEntitlement returns
|
|
168
|
+
* hasAccess=true past the limit; vendors decide whether to enforce. Defaults to
|
|
169
|
+
* false.
|
|
170
|
+
*/
|
|
171
|
+
hasSoftLimit: boolean | null;
|
|
166
172
|
/**
|
|
167
173
|
* Widget types where this entitlement is hidden
|
|
168
174
|
*/
|
|
@@ -336,6 +342,12 @@ export declare namespace EntitlementCreateResponse {
|
|
|
336
342
|
* Override display name for the entitlement
|
|
337
343
|
*/
|
|
338
344
|
displayNameOverride: string | null;
|
|
345
|
+
/**
|
|
346
|
+
* Whether the credit wallet is soft-limited. When true, getEntitlement returns
|
|
347
|
+
* hasAccess=true past the limit; vendors decide whether to enforce. Defaults to
|
|
348
|
+
* false.
|
|
349
|
+
*/
|
|
350
|
+
hasSoftLimit: boolean | null;
|
|
339
351
|
/**
|
|
340
352
|
* Widget types where this entitlement is hidden
|
|
341
353
|
*/
|
|
@@ -513,6 +525,12 @@ export declare namespace EntitlementListResponse {
|
|
|
513
525
|
* Override display name for the entitlement
|
|
514
526
|
*/
|
|
515
527
|
displayNameOverride: string | null;
|
|
528
|
+
/**
|
|
529
|
+
* Whether the credit wallet is soft-limited. When true, getEntitlement returns
|
|
530
|
+
* hasAccess=true past the limit; vendors decide whether to enforce. Defaults to
|
|
531
|
+
* false.
|
|
532
|
+
*/
|
|
533
|
+
hasSoftLimit: boolean | null;
|
|
516
534
|
/**
|
|
517
535
|
* Widget types where this entitlement is hidden
|
|
518
536
|
*/
|
|
@@ -561,9 +579,20 @@ export declare namespace EntitlementListResponse {
|
|
|
561
579
|
}
|
|
562
580
|
export interface EntitlementCreateParams {
|
|
563
581
|
/**
|
|
564
|
-
* Entitlements to create
|
|
582
|
+
* Body param: Entitlements to create
|
|
565
583
|
*/
|
|
566
584
|
entitlements: Array<EntitlementCreateParams.Feature | EntitlementCreateParams.Credit>;
|
|
585
|
+
/**
|
|
586
|
+
* Header param: Account ID — optional when authenticating with a user JWT (Bearer
|
|
587
|
+
* token); falls back to the user's first membership. Ignored for API-key auth.
|
|
588
|
+
*/
|
|
589
|
+
'X-ACCOUNT-ID'?: string;
|
|
590
|
+
/**
|
|
591
|
+
* Header param: Environment ID — required when authenticating with a user JWT
|
|
592
|
+
* (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is
|
|
593
|
+
* intrinsic to the key).
|
|
594
|
+
*/
|
|
595
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
567
596
|
}
|
|
568
597
|
export declare namespace EntitlementCreateParams {
|
|
569
598
|
/**
|
|
@@ -705,6 +734,12 @@ export declare namespace EntitlementCreateParams {
|
|
|
705
734
|
* Override display name for the entitlement
|
|
706
735
|
*/
|
|
707
736
|
displayNameOverride?: string;
|
|
737
|
+
/**
|
|
738
|
+
* Whether the credit wallet is soft-limited. When true, getEntitlement returns
|
|
739
|
+
* hasAccess=true past the limit; vendors decide whether to enforce. Defaults to
|
|
740
|
+
* false.
|
|
741
|
+
*/
|
|
742
|
+
hasSoftLimit?: boolean;
|
|
708
743
|
/**
|
|
709
744
|
* Widget types where this entitlement is hidden
|
|
710
745
|
*/
|
|
@@ -794,6 +829,17 @@ export declare namespace EntitlementUpdateParams {
|
|
|
794
829
|
* Body param: Configuration for yearly reset period
|
|
795
830
|
*/
|
|
796
831
|
yearlyResetPeriodConfiguration?: UpdateFeatureEntitlementRequest.YearlyResetPeriodConfiguration | null;
|
|
832
|
+
/**
|
|
833
|
+
* Header param: Account ID — optional when authenticating with a user JWT (Bearer
|
|
834
|
+
* token); falls back to the user's first membership. Ignored for API-key auth.
|
|
835
|
+
*/
|
|
836
|
+
'X-ACCOUNT-ID'?: string;
|
|
837
|
+
/**
|
|
838
|
+
* Header param: Environment ID — required when authenticating with a user JWT
|
|
839
|
+
* (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is
|
|
840
|
+
* intrinsic to the key).
|
|
841
|
+
*/
|
|
842
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
797
843
|
}
|
|
798
844
|
namespace UpdateFeatureEntitlementRequest {
|
|
799
845
|
/**
|
|
@@ -858,6 +904,12 @@ export declare namespace EntitlementUpdateParams {
|
|
|
858
904
|
* Body param: Override display name for the entitlement
|
|
859
905
|
*/
|
|
860
906
|
displayNameOverride?: string;
|
|
907
|
+
/**
|
|
908
|
+
* Body param: Whether the credit wallet is soft-limited. When true, getEntitlement
|
|
909
|
+
* returns hasAccess=true past the limit; vendors decide whether to enforce.
|
|
910
|
+
* Defaults to false.
|
|
911
|
+
*/
|
|
912
|
+
hasSoftLimit?: boolean;
|
|
861
913
|
/**
|
|
862
914
|
* Body param: Widget types where this entitlement is hidden
|
|
863
915
|
*/
|
|
@@ -874,15 +926,50 @@ export declare namespace EntitlementUpdateParams {
|
|
|
874
926
|
* Body param: Display order of the entitlement
|
|
875
927
|
*/
|
|
876
928
|
order?: number;
|
|
929
|
+
/**
|
|
930
|
+
* Header param: Account ID — optional when authenticating with a user JWT (Bearer
|
|
931
|
+
* token); falls back to the user's first membership. Ignored for API-key auth.
|
|
932
|
+
*/
|
|
933
|
+
'X-ACCOUNT-ID'?: string;
|
|
934
|
+
/**
|
|
935
|
+
* Header param: Environment ID — required when authenticating with a user JWT
|
|
936
|
+
* (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is
|
|
937
|
+
* intrinsic to the key).
|
|
938
|
+
*/
|
|
939
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
877
940
|
}
|
|
878
941
|
}
|
|
942
|
+
export interface EntitlementListParams {
|
|
943
|
+
/**
|
|
944
|
+
* Account ID — optional when authenticating with a user JWT (Bearer token); falls
|
|
945
|
+
* back to the user's first membership. Ignored for API-key auth.
|
|
946
|
+
*/
|
|
947
|
+
'X-ACCOUNT-ID'?: string;
|
|
948
|
+
/**
|
|
949
|
+
* Environment ID — required when authenticating with a user JWT (Bearer token) on
|
|
950
|
+
* environment-scoped endpoints. Ignored for API-key auth (env is intrinsic to the
|
|
951
|
+
* key).
|
|
952
|
+
*/
|
|
953
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
954
|
+
}
|
|
879
955
|
export interface EntitlementDeleteParams {
|
|
880
956
|
/**
|
|
881
|
-
* The addon ID
|
|
957
|
+
* Path param: The addon ID
|
|
882
958
|
*/
|
|
883
959
|
addonId: string;
|
|
960
|
+
/**
|
|
961
|
+
* Header param: Account ID — optional when authenticating with a user JWT (Bearer
|
|
962
|
+
* token); falls back to the user's first membership. Ignored for API-key auth.
|
|
963
|
+
*/
|
|
964
|
+
'X-ACCOUNT-ID'?: string;
|
|
965
|
+
/**
|
|
966
|
+
* Header param: Environment ID — required when authenticating with a user JWT
|
|
967
|
+
* (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is
|
|
968
|
+
* intrinsic to the key).
|
|
969
|
+
*/
|
|
970
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
884
971
|
}
|
|
885
972
|
export declare namespace Entitlements {
|
|
886
|
-
export { type AddonPackageEntitlement as AddonPackageEntitlement, type EntitlementCreateResponse as EntitlementCreateResponse, type EntitlementListResponse as EntitlementListResponse, type EntitlementCreateParams as EntitlementCreateParams, type EntitlementUpdateParams as EntitlementUpdateParams, type EntitlementDeleteParams as EntitlementDeleteParams, };
|
|
973
|
+
export { type AddonPackageEntitlement as AddonPackageEntitlement, type EntitlementCreateResponse as EntitlementCreateResponse, type EntitlementListResponse as EntitlementListResponse, type EntitlementCreateParams as EntitlementCreateParams, type EntitlementUpdateParams as EntitlementUpdateParams, type EntitlementListParams as EntitlementListParams, type EntitlementDeleteParams as EntitlementDeleteParams, };
|
|
887
974
|
}
|
|
888
975
|
//# sourceMappingURL=entitlements.d.ts.map
|