@stigg/typescript 0.1.0-beta.1 → 0.1.0-beta.13
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 +114 -0
- package/api-promise.d.mts +1 -0
- package/api-promise.d.mts.map +1 -1
- package/api-promise.d.ts +1 -0
- package/api-promise.d.ts.map +1 -1
- package/api-promise.mjs +1 -0
- package/api-promise.mjs.map +1 -1
- package/client.d.mts.map +1 -1
- package/client.d.ts.map +1 -1
- package/client.mjs.map +1 -1
- package/core/api-promise.d.mts.map +1 -1
- package/core/api-promise.d.ts.map +1 -1
- package/core/api-promise.mjs.map +1 -1
- package/core/error.mjs.map +1 -1
- package/core/pagination.d.mts.map +1 -1
- package/core/pagination.d.ts.map +1 -1
- package/core/pagination.mjs.map +1 -1
- package/core/resource.d.mts.map +1 -1
- package/core/resource.d.ts.map +1 -1
- package/core/uploads.d.mts.map +1 -1
- package/core/uploads.d.ts.map +1 -1
- package/core/uploads.mjs.map +1 -1
- package/error.d.mts +1 -0
- package/error.d.mts.map +1 -1
- package/error.d.ts +1 -0
- package/error.d.ts.map +1 -1
- package/error.mjs +1 -0
- package/error.mjs.map +1 -1
- package/index.d.mts.map +1 -1
- package/index.d.ts.map +1 -1
- package/index.mjs.map +1 -1
- package/internal/detect-platform.mjs.map +1 -1
- package/internal/headers.mjs.map +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.mjs.map +1 -1
- package/internal/qs/formats.d.mts.map +1 -1
- package/internal/qs/formats.d.ts.map +1 -1
- package/internal/qs/index.d.mts +2 -2
- package/internal/qs/index.d.mts.map +1 -1
- package/internal/qs/index.d.ts +2 -2
- package/internal/qs/index.d.ts.map +1 -1
- package/internal/qs/index.mjs.map +1 -1
- package/internal/qs/stringify.d.mts.map +1 -1
- package/internal/qs/stringify.d.ts.map +1 -1
- package/internal/qs/stringify.mjs.map +1 -1
- package/internal/qs/utils.d.mts.map +1 -1
- package/internal/qs/utils.d.ts.map +1 -1
- package/internal/qs/utils.mjs.map +1 -1
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts.map +1 -1
- package/internal/shims.d.mts +6 -0
- package/internal/shims.d.mts.map +1 -1
- package/internal/shims.d.ts +6 -0
- package/internal/shims.d.ts.map +1 -1
- package/internal/to-file.d.mts.map +1 -1
- package/internal/to-file.d.ts.map +1 -1
- package/internal/to-file.mjs.map +1 -1
- package/internal/types.d.mts +4 -4
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +4 -4
- package/internal/types.d.ts.map +1 -1
- package/internal/uploads.d.mts.map +1 -1
- package/internal/uploads.d.ts.map +1 -1
- package/internal/uploads.mjs.map +1 -1
- package/internal/utils/base64.mjs.map +1 -1
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.mjs.map +1 -1
- package/internal/utils/path.mjs.map +1 -1
- package/internal/utils/query.mjs.map +1 -1
- package/internal/utils/values.mjs.map +1 -1
- package/internal/utils.d.mts.map +1 -1
- package/internal/utils.d.ts.map +1 -1
- package/internal/utils.mjs.map +1 -1
- package/package.json +1 -1
- package/pagination.d.mts +1 -0
- package/pagination.d.mts.map +1 -1
- package/pagination.d.ts +1 -0
- package/pagination.d.ts.map +1 -1
- package/pagination.mjs +1 -0
- package/pagination.mjs.map +1 -1
- package/resource.d.mts +1 -0
- package/resource.d.mts.map +1 -1
- package/resource.d.ts +1 -0
- package/resource.d.ts.map +1 -1
- package/resource.mjs +1 -0
- package/resource.mjs.map +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/v1/addons/addons.d.mts +231 -1
- package/resources/v1/addons/addons.d.mts.map +1 -1
- package/resources/v1/addons/addons.d.ts +231 -1
- package/resources/v1/addons/addons.d.ts.map +1 -1
- package/resources/v1/addons/addons.js +65 -0
- package/resources/v1/addons/addons.js.map +1 -1
- package/resources/v1/addons/addons.mjs +65 -0
- package/resources/v1/addons/addons.mjs.map +1 -1
- package/resources/v1/addons/entitlements.d.mts +31 -0
- package/resources/v1/addons/entitlements.d.mts.map +1 -1
- package/resources/v1/addons/entitlements.d.ts +31 -0
- package/resources/v1/addons/entitlements.d.ts.map +1 -1
- package/resources/v1/addons/entitlements.js +31 -0
- package/resources/v1/addons/entitlements.js.map +1 -1
- package/resources/v1/addons/entitlements.mjs +31 -0
- package/resources/v1/addons/entitlements.mjs.map +1 -1
- package/resources/v1/addons/index.d.mts +1 -1
- package/resources/v1/addons/index.d.mts.map +1 -1
- package/resources/v1/addons/index.d.ts +1 -1
- 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 +36 -0
- package/resources/v1/coupons.d.mts.map +1 -1
- package/resources/v1/coupons.d.ts +36 -0
- package/resources/v1/coupons.d.ts.map +1 -1
- package/resources/v1/coupons.js +36 -0
- package/resources/v1/coupons.js.map +1 -1
- package/resources/v1/coupons.mjs +36 -0
- package/resources/v1/coupons.mjs.map +1 -1
- package/resources/v1/{events/credits → credits}/credits.d.mts +57 -10
- package/resources/v1/credits/credits.d.mts.map +1 -0
- package/resources/v1/{events/credits → credits}/credits.d.ts +57 -10
- package/resources/v1/credits/credits.d.ts.map +1 -0
- package/resources/v1/{events/credits → credits}/credits.js +28 -3
- package/resources/v1/credits/credits.js.map +1 -0
- package/resources/v1/{events/credits → credits}/credits.mjs +27 -2
- package/resources/v1/credits/credits.mjs.map +1 -0
- package/resources/v1/{events/credits → credits}/custom-currencies.d.mts +63 -221
- package/resources/v1/credits/custom-currencies.d.mts.map +1 -0
- package/resources/v1/{events/credits → credits}/custom-currencies.d.ts +63 -221
- package/resources/v1/credits/custom-currencies.d.ts.map +1 -0
- package/resources/v1/{events/credits → credits}/custom-currencies.js +52 -3
- package/resources/v1/credits/custom-currencies.js.map +1 -0
- package/resources/v1/{events/credits → credits}/custom-currencies.mjs +52 -3
- package/resources/v1/credits/custom-currencies.mjs.map +1 -0
- package/resources/v1/{events/credits → credits}/grants.d.mts +32 -4
- package/resources/v1/credits/grants.d.mts.map +1 -0
- package/resources/v1/{events/credits → credits}/grants.d.ts +32 -4
- package/resources/v1/credits/grants.d.ts.map +1 -0
- package/resources/v1/{events/credits → credits}/grants.js +31 -3
- package/resources/v1/credits/grants.js.map +1 -0
- package/resources/v1/{events/credits → credits}/grants.mjs +31 -3
- package/resources/v1/credits/grants.mjs.map +1 -0
- package/resources/v1/credits/index.d.mts +4 -0
- package/resources/v1/credits/index.d.mts.map +1 -0
- package/resources/v1/credits/index.d.ts +4 -0
- package/resources/v1/credits/index.d.ts.map +1 -0
- package/resources/v1/credits/index.js.map +1 -0
- package/resources/v1/credits/index.mjs.map +1 -0
- package/resources/v1/credits.d.mts.map +1 -0
- package/resources/v1/credits.d.ts.map +1 -0
- package/resources/v1/{events/credits.js → credits.js} +1 -1
- package/resources/v1/credits.js.map +1 -0
- package/resources/v1/credits.mjs.map +1 -0
- package/resources/v1/customers/customers.d.mts +82 -5
- package/resources/v1/customers/customers.d.mts.map +1 -1
- package/resources/v1/customers/customers.d.ts +82 -5
- package/resources/v1/customers/customers.d.ts.map +1 -1
- package/resources/v1/customers/customers.js +77 -0
- package/resources/v1/customers/customers.js.map +1 -1
- package/resources/v1/customers/customers.mjs +77 -0
- package/resources/v1/customers/customers.mjs.map +1 -1
- package/resources/v1/customers/index.d.mts.map +1 -1
- package/resources/v1/customers/index.d.ts.map +1 -1
- package/resources/v1/customers/index.mjs.map +1 -1
- package/resources/v1/customers/integrations.d.mts +50 -3
- package/resources/v1/customers/integrations.d.mts.map +1 -1
- package/resources/v1/customers/integrations.d.ts +50 -3
- package/resources/v1/customers/integrations.d.ts.map +1 -1
- package/resources/v1/customers/integrations.js +47 -0
- package/resources/v1/customers/integrations.js.map +1 -1
- package/resources/v1/customers/integrations.mjs +47 -0
- package/resources/v1/customers/integrations.mjs.map +1 -1
- package/resources/v1/customers/payment-method.d.mts +17 -1
- package/resources/v1/customers/payment-method.d.mts.map +1 -1
- package/resources/v1/customers/payment-method.d.ts +17 -1
- package/resources/v1/customers/payment-method.d.ts.map +1 -1
- package/resources/v1/customers/payment-method.js +16 -0
- package/resources/v1/customers/payment-method.js.map +1 -1
- package/resources/v1/customers/payment-method.mjs +16 -0
- package/resources/v1/customers/payment-method.mjs.map +1 -1
- package/resources/v1/customers/promotional-entitlements.d.mts +51 -0
- package/resources/v1/customers/promotional-entitlements.d.mts.map +1 -1
- package/resources/v1/customers/promotional-entitlements.d.ts +51 -0
- package/resources/v1/customers/promotional-entitlements.d.ts.map +1 -1
- package/resources/v1/customers/promotional-entitlements.js +51 -0
- package/resources/v1/customers/promotional-entitlements.js.map +1 -1
- package/resources/v1/customers/promotional-entitlements.mjs +51 -0
- package/resources/v1/customers/promotional-entitlements.mjs.map +1 -1
- package/resources/v1/customers.d.mts.map +1 -1
- package/resources/v1/customers.d.ts.map +1 -1
- package/resources/v1/customers.mjs.map +1 -1
- package/resources/v1/events/beta/beta.d.mts +14 -0
- package/resources/v1/events/beta/beta.d.mts.map +1 -0
- package/resources/v1/events/beta/beta.d.ts +14 -0
- package/resources/v1/events/beta/beta.d.ts.map +1 -0
- package/resources/v1/events/beta/beta.js +21 -0
- package/resources/v1/events/beta/beta.js.map +1 -0
- package/resources/v1/events/beta/beta.mjs +16 -0
- package/resources/v1/events/beta/beta.mjs.map +1 -0
- package/resources/v1/events/beta/customers/assignments.d.mts +178 -0
- package/resources/v1/events/beta/customers/assignments.d.mts.map +1 -0
- package/resources/v1/events/beta/customers/assignments.d.ts +178 -0
- package/resources/v1/events/beta/customers/assignments.d.ts.map +1 -0
- package/resources/v1/events/beta/customers/assignments.js +62 -0
- package/resources/v1/events/beta/customers/assignments.js.map +1 -0
- package/resources/v1/events/beta/customers/assignments.mjs +58 -0
- package/resources/v1/events/beta/customers/assignments.mjs.map +1 -0
- package/resources/v1/events/beta/customers/customers.d.mts +18 -0
- package/resources/v1/events/beta/customers/customers.d.mts.map +1 -0
- package/resources/v1/events/beta/customers/customers.d.ts +18 -0
- package/resources/v1/events/beta/customers/customers.d.ts.map +1 -0
- package/resources/v1/events/beta/customers/customers.js +25 -0
- package/resources/v1/events/beta/customers/customers.js.map +1 -0
- package/resources/v1/events/beta/customers/customers.mjs +20 -0
- package/resources/v1/events/beta/customers/customers.mjs.map +1 -0
- package/resources/v1/events/beta/customers/entities.d.mts +304 -0
- package/resources/v1/events/beta/customers/entities.d.mts.map +1 -0
- package/resources/v1/events/beta/customers/entities.d.ts +304 -0
- package/resources/v1/events/beta/customers/entities.d.ts.map +1 -0
- package/resources/v1/events/beta/customers/entities.js +105 -0
- package/resources/v1/events/beta/customers/entities.js.map +1 -0
- package/resources/v1/events/beta/customers/entities.mjs +101 -0
- package/resources/v1/events/beta/customers/entities.mjs.map +1 -0
- package/resources/v1/events/beta/customers/entitlements.d.mts +238 -0
- package/resources/v1/events/beta/customers/entitlements.d.mts.map +1 -0
- package/resources/v1/events/beta/customers/entitlements.d.ts +238 -0
- package/resources/v1/events/beta/customers/entitlements.d.ts.map +1 -0
- package/resources/v1/events/beta/customers/entitlements.js +26 -0
- package/resources/v1/events/beta/customers/entitlements.js.map +1 -0
- package/resources/v1/events/beta/customers/entitlements.mjs +22 -0
- package/resources/v1/events/beta/customers/entitlements.mjs.map +1 -0
- package/resources/v1/events/beta/customers/index.d.mts +5 -0
- package/resources/v1/events/beta/customers/index.d.mts.map +1 -0
- package/resources/v1/events/beta/customers/index.d.ts +5 -0
- package/resources/v1/events/beta/customers/index.d.ts.map +1 -0
- package/resources/v1/events/beta/customers/index.js +13 -0
- package/resources/v1/events/beta/customers/index.js.map +1 -0
- package/resources/v1/events/beta/customers/index.mjs +6 -0
- package/resources/v1/events/beta/customers/index.mjs.map +1 -0
- package/resources/v1/events/beta/customers.d.mts +2 -0
- package/resources/v1/events/beta/customers.d.mts.map +1 -0
- package/resources/v1/events/beta/customers.d.ts +2 -0
- package/resources/v1/events/beta/customers.d.ts.map +1 -0
- package/resources/v1/events/beta/customers.js +6 -0
- package/resources/v1/events/beta/customers.js.map +1 -0
- package/resources/v1/events/beta/customers.mjs +3 -0
- package/resources/v1/events/beta/customers.mjs.map +1 -0
- package/resources/v1/events/beta/entity-types.d.mts +144 -0
- package/resources/v1/events/beta/entity-types.d.mts.map +1 -0
- package/resources/v1/events/beta/entity-types.d.ts +144 -0
- package/resources/v1/events/beta/entity-types.d.ts.map +1 -0
- package/resources/v1/events/beta/entity-types.js +56 -0
- package/resources/v1/events/beta/entity-types.js.map +1 -0
- package/resources/v1/events/beta/entity-types.mjs +52 -0
- package/resources/v1/events/beta/entity-types.mjs.map +1 -0
- package/resources/v1/events/beta/index.d.mts +4 -0
- package/resources/v1/events/beta/index.d.mts.map +1 -0
- package/resources/v1/events/beta/index.d.ts +4 -0
- package/resources/v1/events/beta/index.d.ts.map +1 -0
- package/resources/v1/events/beta/index.js +11 -0
- package/resources/v1/events/beta/index.js.map +1 -0
- package/resources/v1/events/beta/index.mjs +5 -0
- package/resources/v1/events/beta/index.mjs.map +1 -0
- package/resources/v1/events/beta.d.mts +2 -0
- package/resources/v1/events/beta.d.mts.map +1 -0
- package/resources/v1/events/beta.d.ts +2 -0
- package/resources/v1/events/beta.d.ts.map +1 -0
- package/resources/v1/events/beta.js +6 -0
- package/resources/v1/events/beta.js.map +1 -0
- package/resources/v1/events/beta.mjs +3 -0
- package/resources/v1/events/beta.mjs.map +1 -0
- package/resources/v1/events/events.d.mts +17 -4
- package/resources/v1/events/events.d.mts.map +1 -1
- package/resources/v1/events/events.d.ts +17 -4
- package/resources/v1/events/events.d.ts.map +1 -1
- package/resources/v1/events/events.js +17 -4
- package/resources/v1/events/events.js.map +1 -1
- package/resources/v1/events/events.mjs +17 -4
- package/resources/v1/events/events.mjs.map +1 -1
- package/resources/v1/events/index.d.mts +1 -1
- package/resources/v1/events/index.d.mts.map +1 -1
- package/resources/v1/events/index.d.ts +1 -1
- package/resources/v1/events/index.d.ts.map +1 -1
- package/resources/v1/events/index.js +3 -3
- package/resources/v1/events/index.js.map +1 -1
- package/resources/v1/events/index.mjs +1 -1
- package/resources/v1/events/index.mjs.map +1 -1
- package/resources/v1/events.d.mts.map +1 -1
- package/resources/v1/events.d.ts.map +1 -1
- package/resources/v1/events.mjs.map +1 -1
- package/resources/v1/features.d.mts +43 -0
- package/resources/v1/features.d.mts.map +1 -1
- package/resources/v1/features.d.ts +43 -0
- package/resources/v1/features.d.ts.map +1 -1
- package/resources/v1/features.js +43 -0
- package/resources/v1/features.js.map +1 -1
- package/resources/v1/features.mjs +43 -0
- package/resources/v1/features.mjs.map +1 -1
- package/resources/v1/index.d.mts +3 -2
- package/resources/v1/index.d.mts.map +1 -1
- package/resources/v1/index.d.ts +3 -2
- package/resources/v1/index.d.ts.map +1 -1
- package/resources/v1/index.js +11 -9
- package/resources/v1/index.js.map +1 -1
- package/resources/v1/index.mjs +1 -0
- package/resources/v1/index.mjs.map +1 -1
- package/resources/v1/plans/entitlements.d.mts +31 -0
- package/resources/v1/plans/entitlements.d.mts.map +1 -1
- package/resources/v1/plans/entitlements.d.ts +31 -0
- package/resources/v1/plans/entitlements.d.ts.map +1 -1
- package/resources/v1/plans/entitlements.js +31 -0
- package/resources/v1/plans/entitlements.js.map +1 -1
- package/resources/v1/plans/entitlements.mjs +31 -0
- package/resources/v1/plans/entitlements.mjs.map +1 -1
- package/resources/v1/plans/index.d.mts +1 -1
- package/resources/v1/plans/index.d.mts.map +1 -1
- package/resources/v1/plans/index.d.ts +1 -1
- 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 +412 -1
- package/resources/v1/plans/plans.d.mts.map +1 -1
- package/resources/v1/plans/plans.d.ts +412 -1
- package/resources/v1/plans/plans.d.ts.map +1 -1
- package/resources/v1/plans/plans.js +81 -0
- package/resources/v1/plans/plans.js.map +1 -1
- package/resources/v1/plans/plans.mjs +81 -0
- 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 +43 -0
- package/resources/v1/products.d.mts.map +1 -1
- package/resources/v1/products.d.ts +43 -0
- package/resources/v1/products.d.ts.map +1 -1
- package/resources/v1/products.js +43 -0
- package/resources/v1/products.js.map +1 -1
- package/resources/v1/products.mjs +43 -0
- package/resources/v1/products.mjs.map +1 -1
- package/resources/v1/subscriptions/future-update.d.mts +16 -0
- package/resources/v1/subscriptions/future-update.d.mts.map +1 -1
- package/resources/v1/subscriptions/future-update.d.ts +16 -0
- package/resources/v1/subscriptions/future-update.d.ts.map +1 -1
- package/resources/v1/subscriptions/future-update.js +16 -0
- package/resources/v1/subscriptions/future-update.js.map +1 -1
- package/resources/v1/subscriptions/future-update.mjs +16 -0
- package/resources/v1/subscriptions/future-update.mjs.map +1 -1
- package/resources/v1/subscriptions/index.d.mts.map +1 -1
- package/resources/v1/subscriptions/index.d.ts.map +1 -1
- package/resources/v1/subscriptions/index.mjs.map +1 -1
- package/resources/v1/subscriptions/invoice.d.mts +6 -0
- package/resources/v1/subscriptions/invoice.d.mts.map +1 -1
- package/resources/v1/subscriptions/invoice.d.ts +6 -0
- package/resources/v1/subscriptions/invoice.d.ts.map +1 -1
- package/resources/v1/subscriptions/invoice.js +6 -0
- package/resources/v1/subscriptions/invoice.js.map +1 -1
- package/resources/v1/subscriptions/invoice.mjs +6 -0
- package/resources/v1/subscriptions/invoice.mjs.map +1 -1
- package/resources/v1/subscriptions/subscriptions.d.mts +93 -9
- package/resources/v1/subscriptions/subscriptions.d.mts.map +1 -1
- package/resources/v1/subscriptions/subscriptions.d.ts +93 -9
- package/resources/v1/subscriptions/subscriptions.d.ts.map +1 -1
- package/resources/v1/subscriptions/subscriptions.js +81 -0
- package/resources/v1/subscriptions/subscriptions.js.map +1 -1
- package/resources/v1/subscriptions/subscriptions.mjs +81 -0
- package/resources/v1/subscriptions/subscriptions.mjs.map +1 -1
- package/resources/v1/subscriptions/usage.d.mts +13 -0
- package/resources/v1/subscriptions/usage.d.mts.map +1 -1
- package/resources/v1/subscriptions/usage.d.ts +13 -0
- package/resources/v1/subscriptions/usage.d.ts.map +1 -1
- package/resources/v1/subscriptions/usage.js +13 -0
- package/resources/v1/subscriptions/usage.js.map +1 -1
- package/resources/v1/subscriptions/usage.mjs +13 -0
- 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 +24 -0
- package/resources/v1/usage.d.mts.map +1 -1
- package/resources/v1/usage.d.ts +24 -0
- package/resources/v1/usage.d.ts.map +1 -1
- package/resources/v1/usage.js +24 -0
- package/resources/v1/usage.js.map +1 -1
- package/resources/v1/usage.mjs +24 -0
- package/resources/v1/usage.mjs.map +1 -1
- package/resources/v1/v1.d.mts +8 -4
- package/resources/v1/v1.d.mts.map +1 -1
- package/resources/v1/v1.d.ts +8 -4
- package/resources/v1/v1.d.ts.map +1 -1
- package/resources/v1/v1.js +4 -0
- package/resources/v1/v1.js.map +1 -1
- package/resources/v1/v1.mjs +4 -0
- package/resources/v1/v1.mjs.map +1 -1
- package/resources/v1.d.mts.map +1 -1
- package/resources/v1.d.ts.map +1 -1
- package/resources/v1.mjs.map +1 -1
- package/resources.d.mts.map +1 -1
- package/resources.d.ts.map +1 -1
- package/resources.mjs.map +1 -1
- package/src/resources/v1/addons/addons.ts +625 -0
- package/src/resources/v1/addons/entitlements.ts +31 -0
- package/src/resources/v1/addons/index.ts +3 -0
- package/src/resources/v1/coupons.ts +36 -0
- package/src/resources/v1/{events/credits → credits}/credits.ts +61 -16
- package/src/resources/v1/{events/credits → credits}/custom-currencies.ts +65 -259
- package/src/resources/v1/{events/credits → credits}/grants.ts +33 -5
- package/src/resources/v1/{events/credits → credits}/index.ts +1 -4
- package/src/resources/v1/customers/customers.ts +92 -5
- package/src/resources/v1/customers/integrations.ts +55 -2
- package/src/resources/v1/customers/payment-method.ts +19 -1
- package/src/resources/v1/customers/promotional-entitlements.ts +51 -0
- package/src/resources/v1/events/beta/beta.ts +35 -0
- package/src/resources/v1/events/beta/customers/assignments.ts +228 -0
- package/src/resources/v1/events/beta/customers/customers.ts +71 -0
- package/src/resources/v1/events/beta/customers/entities.ts +381 -0
- package/src/resources/v1/events/beta/customers/entitlements.ts +327 -0
- package/src/resources/v1/events/beta/customers/index.ts +26 -0
- package/src/resources/v1/events/beta/customers.ts +3 -0
- package/src/resources/v1/events/beta/entity-types.ts +180 -0
- package/src/resources/v1/events/beta/index.ts +12 -0
- package/src/resources/v1/events/beta.ts +3 -0
- package/src/resources/v1/events/events.ts +18 -23
- package/src/resources/v1/events/index.ts +1 -10
- package/src/resources/v1/features.ts +43 -0
- package/src/resources/v1/index.ts +19 -0
- package/src/resources/v1/plans/entitlements.ts +31 -0
- package/src/resources/v1/plans/index.ts +6 -0
- package/src/resources/v1/plans/plans.ts +1201 -0
- package/src/resources/v1/products.ts +43 -0
- package/src/resources/v1/subscriptions/future-update.ts +16 -0
- package/src/resources/v1/subscriptions/invoice.ts +6 -0
- package/src/resources/v1/subscriptions/subscriptions.ts +93 -9
- package/src/resources/v1/subscriptions/usage.ts +13 -0
- package/src/resources/v1/usage.ts +24 -0
- package/src/resources/v1/v1.ts +42 -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
- package/resources/v1/events/credits/credits.d.mts.map +0 -1
- package/resources/v1/events/credits/credits.d.ts.map +0 -1
- package/resources/v1/events/credits/credits.js.map +0 -1
- package/resources/v1/events/credits/credits.mjs.map +0 -1
- package/resources/v1/events/credits/custom-currencies.d.mts.map +0 -1
- package/resources/v1/events/credits/custom-currencies.d.ts.map +0 -1
- package/resources/v1/events/credits/custom-currencies.js.map +0 -1
- package/resources/v1/events/credits/custom-currencies.mjs.map +0 -1
- package/resources/v1/events/credits/grants.d.mts.map +0 -1
- package/resources/v1/events/credits/grants.d.ts.map +0 -1
- package/resources/v1/events/credits/grants.js.map +0 -1
- package/resources/v1/events/credits/grants.mjs.map +0 -1
- package/resources/v1/events/credits/index.d.mts +0 -4
- package/resources/v1/events/credits/index.d.mts.map +0 -1
- package/resources/v1/events/credits/index.d.ts +0 -4
- package/resources/v1/events/credits/index.d.ts.map +0 -1
- package/resources/v1/events/credits/index.js.map +0 -1
- package/resources/v1/events/credits/index.mjs.map +0 -1
- package/resources/v1/events/credits.d.mts.map +0 -1
- package/resources/v1/events/credits.d.ts.map +0 -1
- package/resources/v1/events/credits.js.map +0 -1
- package/resources/v1/events/credits.mjs.map +0 -1
- /package/resources/v1/{events/credits → credits}/index.js +0 -0
- /package/resources/v1/{events/credits → credits}/index.mjs +0 -0
- /package/resources/v1/{events/credits.d.mts → credits.d.mts} +0 -0
- /package/resources/v1/{events/credits.d.ts → credits.d.ts} +0 -0
- /package/resources/v1/{events/credits.mjs → credits.mjs} +0 -0
- /package/src/resources/v1/{events/credits.ts → credits.ts} +0 -0
|
@@ -13,6 +13,13 @@ export class Products extends APIResource {
|
|
|
13
13
|
/**
|
|
14
14
|
* Archives a product, preventing new subscriptions. All plans and addons are
|
|
15
15
|
* archived.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```ts
|
|
19
|
+
* const product = await client.v1.products.archiveProduct(
|
|
20
|
+
* 'x',
|
|
21
|
+
* );
|
|
22
|
+
* ```
|
|
16
23
|
*/
|
|
17
24
|
archiveProduct(id: string, options?: RequestOptions): APIPromise<Product> {
|
|
18
25
|
return this._client.post(path`/api/v1/products/${id}/archive`, options);
|
|
@@ -20,6 +27,14 @@ export class Products extends APIResource {
|
|
|
20
27
|
|
|
21
28
|
/**
|
|
22
29
|
* Creates a new product.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```ts
|
|
33
|
+
* const product = await client.v1.products.createProduct({
|
|
34
|
+
* id: 'id',
|
|
35
|
+
* displayName: 'displayName',
|
|
36
|
+
* });
|
|
37
|
+
* ```
|
|
23
38
|
*/
|
|
24
39
|
createProduct(body: ProductCreateProductParams, options?: RequestOptions): APIPromise<Product> {
|
|
25
40
|
return this._client.post('/api/v1/products', { body, ...options });
|
|
@@ -27,6 +42,14 @@ export class Products extends APIResource {
|
|
|
27
42
|
|
|
28
43
|
/**
|
|
29
44
|
* Duplicates an existing product, including its plans, addons, and configuration.
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* ```ts
|
|
48
|
+
* const product = await client.v1.products.duplicateProduct(
|
|
49
|
+
* 'x',
|
|
50
|
+
* { targetId: 'targetId' },
|
|
51
|
+
* );
|
|
52
|
+
* ```
|
|
30
53
|
*/
|
|
31
54
|
duplicateProduct(
|
|
32
55
|
id: string,
|
|
@@ -38,6 +61,14 @@ export class Products extends APIResource {
|
|
|
38
61
|
|
|
39
62
|
/**
|
|
40
63
|
* Retrieves a paginated list of products in the environment.
|
|
64
|
+
*
|
|
65
|
+
* @example
|
|
66
|
+
* ```ts
|
|
67
|
+
* // Automatically fetches more pages as needed.
|
|
68
|
+
* for await (const productListProductsResponse of client.v1.products.listProducts()) {
|
|
69
|
+
* // ...
|
|
70
|
+
* }
|
|
71
|
+
* ```
|
|
41
72
|
*/
|
|
42
73
|
listProducts(
|
|
43
74
|
query: ProductListProductsParams | null | undefined = {},
|
|
@@ -51,6 +82,13 @@ export class Products extends APIResource {
|
|
|
51
82
|
|
|
52
83
|
/**
|
|
53
84
|
* Restores an archived product, allowing new subscriptions to be created.
|
|
85
|
+
*
|
|
86
|
+
* @example
|
|
87
|
+
* ```ts
|
|
88
|
+
* const product = await client.v1.products.unarchiveProduct(
|
|
89
|
+
* 'x',
|
|
90
|
+
* );
|
|
91
|
+
* ```
|
|
54
92
|
*/
|
|
55
93
|
unarchiveProduct(id: string, options?: RequestOptions): APIPromise<Product> {
|
|
56
94
|
return this._client.post(path`/api/v1/products/${id}/unarchive`, options);
|
|
@@ -59,6 +97,11 @@ export class Products extends APIResource {
|
|
|
59
97
|
/**
|
|
60
98
|
* Updates an existing product's properties such as display name, description, and
|
|
61
99
|
* metadata.
|
|
100
|
+
*
|
|
101
|
+
* @example
|
|
102
|
+
* ```ts
|
|
103
|
+
* const product = await client.v1.products.updateProduct('x');
|
|
104
|
+
* ```
|
|
62
105
|
*/
|
|
63
106
|
updateProduct(id: string, body: ProductUpdateProductParams, options?: RequestOptions): APIPromise<Product> {
|
|
64
107
|
return this._client.patch(path`/api/v1/products/${id}`, { body, ...options });
|
|
@@ -11,6 +11,14 @@ import { path } from '../../../internal/utils/path';
|
|
|
11
11
|
export class FutureUpdate extends APIResource {
|
|
12
12
|
/**
|
|
13
13
|
* Cancels a subscription update that is pending payment completion.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```ts
|
|
17
|
+
* const cancelSubscription =
|
|
18
|
+
* await client.v1.subscriptions.futureUpdate.cancelPendingPayment(
|
|
19
|
+
* 'x',
|
|
20
|
+
* );
|
|
21
|
+
* ```
|
|
14
22
|
*/
|
|
15
23
|
cancelPendingPayment(id: string, options?: RequestOptions): APIPromise<CancelSubscription> {
|
|
16
24
|
return this._client.delete(path`/api/v1/subscriptions/${id}/future-update/pending-payment`, options);
|
|
@@ -19,6 +27,14 @@ export class FutureUpdate extends APIResource {
|
|
|
19
27
|
/**
|
|
20
28
|
* Cancels a scheduled subscription update, such as a future downgrade or plan
|
|
21
29
|
* change.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```ts
|
|
33
|
+
* const cancelSubscription =
|
|
34
|
+
* await client.v1.subscriptions.futureUpdate.cancelSchedule(
|
|
35
|
+
* 'x',
|
|
36
|
+
* );
|
|
37
|
+
* ```
|
|
22
38
|
*/
|
|
23
39
|
cancelSchedule(id: string, options?: RequestOptions): APIPromise<CancelSubscription> {
|
|
24
40
|
return this._client.delete(path`/api/v1/subscriptions/${id}/future-update/schedule`, options);
|
|
@@ -12,6 +12,12 @@ export class Invoice extends APIResource {
|
|
|
12
12
|
/**
|
|
13
13
|
* Marks the latest invoice of a subscription as paid in the billing provider. The
|
|
14
14
|
* invoice must exist and have an OPEN status.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```ts
|
|
18
|
+
* const response =
|
|
19
|
+
* await client.v1.subscriptions.invoice.markAsPaid('x');
|
|
20
|
+
* ```
|
|
15
21
|
*/
|
|
16
22
|
markAsPaid(id: string, options?: RequestOptions): APIPromise<InvoiceMarkAsPaidResponse> {
|
|
17
23
|
return this._client.post(path`/api/v1/subscriptions/${id}/invoice/paid`, options);
|
|
@@ -20,6 +20,13 @@ export class Subscriptions extends APIResource {
|
|
|
20
20
|
/**
|
|
21
21
|
* Retrieves a subscription by its unique identifier, including plan details,
|
|
22
22
|
* billing period, status, and add-ons.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* ```ts
|
|
26
|
+
* const subscription = await client.v1.subscriptions.retrieve(
|
|
27
|
+
* 'x',
|
|
28
|
+
* );
|
|
29
|
+
* ```
|
|
23
30
|
*/
|
|
24
31
|
retrieve(id: string, options?: RequestOptions): APIPromise<Subscription> {
|
|
25
32
|
return this._client.get(path`/api/v1/subscriptions/${id}`, options);
|
|
@@ -28,6 +35,13 @@ export class Subscriptions extends APIResource {
|
|
|
28
35
|
/**
|
|
29
36
|
* Updates an active subscription's properties including billing period, add-ons,
|
|
30
37
|
* unit quantities, and discounts.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* ```ts
|
|
41
|
+
* const subscription = await client.v1.subscriptions.update(
|
|
42
|
+
* 'x',
|
|
43
|
+
* );
|
|
44
|
+
* ```
|
|
31
45
|
*/
|
|
32
46
|
update(id: string, body: SubscriptionUpdateParams, options?: RequestOptions): APIPromise<Subscription> {
|
|
33
47
|
return this._client.patch(path`/api/v1/subscriptions/${id}`, { body, ...options });
|
|
@@ -36,6 +50,14 @@ export class Subscriptions extends APIResource {
|
|
|
36
50
|
/**
|
|
37
51
|
* Retrieves a paginated list of subscriptions, with optional filters for customer,
|
|
38
52
|
* status, and plan.
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* ```ts
|
|
56
|
+
* // Automatically fetches more pages as needed.
|
|
57
|
+
* for await (const subscriptionListResponse of client.v1.subscriptions.list()) {
|
|
58
|
+
* // ...
|
|
59
|
+
* }
|
|
60
|
+
* ```
|
|
39
61
|
*/
|
|
40
62
|
list(
|
|
41
63
|
query: SubscriptionListParams | null | undefined = {},
|
|
@@ -50,6 +72,13 @@ export class Subscriptions extends APIResource {
|
|
|
50
72
|
/**
|
|
51
73
|
* Cancels an active subscription, either immediately or at a specified time such
|
|
52
74
|
* as end of billing period.
|
|
75
|
+
*
|
|
76
|
+
* @example
|
|
77
|
+
* ```ts
|
|
78
|
+
* const subscription = await client.v1.subscriptions.cancel(
|
|
79
|
+
* 'x',
|
|
80
|
+
* );
|
|
81
|
+
* ```
|
|
53
82
|
*/
|
|
54
83
|
cancel(id: string, body: SubscriptionCancelParams, options?: RequestOptions): APIPromise<Subscription> {
|
|
55
84
|
return this._client.post(path`/api/v1/subscriptions/${id}/cancel`, { body, ...options });
|
|
@@ -58,6 +87,14 @@ export class Subscriptions extends APIResource {
|
|
|
58
87
|
/**
|
|
59
88
|
* Delegates the payment responsibility of a subscription to a different customer.
|
|
60
89
|
* The delegated customer will be billed for this subscription.
|
|
90
|
+
*
|
|
91
|
+
* @example
|
|
92
|
+
* ```ts
|
|
93
|
+
* const subscription = await client.v1.subscriptions.delegate(
|
|
94
|
+
* 'x',
|
|
95
|
+
* { targetCustomerId: 'targetCustomerId' },
|
|
96
|
+
* );
|
|
97
|
+
* ```
|
|
61
98
|
*/
|
|
62
99
|
delegate(id: string, body: SubscriptionDelegateParams, options?: RequestOptions): APIPromise<Subscription> {
|
|
63
100
|
return this._client.post(path`/api/v1/subscriptions/${id}/delegate`, { body, ...options });
|
|
@@ -66,6 +103,19 @@ export class Subscriptions extends APIResource {
|
|
|
66
103
|
/**
|
|
67
104
|
* Imports multiple subscriptions in bulk. Used for migrating subscription data
|
|
68
105
|
* from external systems.
|
|
106
|
+
*
|
|
107
|
+
* @example
|
|
108
|
+
* ```ts
|
|
109
|
+
* const response = await client.v1.subscriptions.import({
|
|
110
|
+
* subscriptions: [
|
|
111
|
+
* {
|
|
112
|
+
* id: 'id',
|
|
113
|
+
* customerId: 'customerId',
|
|
114
|
+
* planId: 'planId',
|
|
115
|
+
* },
|
|
116
|
+
* ],
|
|
117
|
+
* });
|
|
118
|
+
* ```
|
|
69
119
|
*/
|
|
70
120
|
import(body: SubscriptionImportParams, options?: RequestOptions): APIPromise<SubscriptionImportResponse> {
|
|
71
121
|
return this._client.post('/api/v1/subscriptions/import', { body, ...options });
|
|
@@ -74,6 +124,13 @@ export class Subscriptions extends APIResource {
|
|
|
74
124
|
/**
|
|
75
125
|
* Migrates a subscription to the latest published version of its plan or add-ons.
|
|
76
126
|
* Handles prorated charges or credits automatically.
|
|
127
|
+
*
|
|
128
|
+
* @example
|
|
129
|
+
* ```ts
|
|
130
|
+
* const subscription = await client.v1.subscriptions.migrate(
|
|
131
|
+
* 'x',
|
|
132
|
+
* );
|
|
133
|
+
* ```
|
|
77
134
|
*/
|
|
78
135
|
migrate(id: string, body: SubscriptionMigrateParams, options?: RequestOptions): APIPromise<Subscription> {
|
|
79
136
|
return this._client.post(path`/api/v1/subscriptions/${id}/migrate`, { body, ...options });
|
|
@@ -82,6 +139,14 @@ export class Subscriptions extends APIResource {
|
|
|
82
139
|
/**
|
|
83
140
|
* Previews the pricing impact of creating or updating a subscription without
|
|
84
141
|
* making changes. Returns estimated costs, taxes, and proration details.
|
|
142
|
+
*
|
|
143
|
+
* @example
|
|
144
|
+
* ```ts
|
|
145
|
+
* const response = await client.v1.subscriptions.preview({
|
|
146
|
+
* customerId: 'customerId',
|
|
147
|
+
* planId: 'planId',
|
|
148
|
+
* });
|
|
149
|
+
* ```
|
|
85
150
|
*/
|
|
86
151
|
preview(
|
|
87
152
|
body: SubscriptionPreviewParams,
|
|
@@ -93,6 +158,14 @@ export class Subscriptions extends APIResource {
|
|
|
93
158
|
/**
|
|
94
159
|
* Creates a new subscription for an existing customer. When payment is required
|
|
95
160
|
* and no payment method exists, returns a checkout URL.
|
|
161
|
+
*
|
|
162
|
+
* @example
|
|
163
|
+
* ```ts
|
|
164
|
+
* const response = await client.v1.subscriptions.provision({
|
|
165
|
+
* customerId: 'customerId',
|
|
166
|
+
* planId: 'planId',
|
|
167
|
+
* });
|
|
168
|
+
* ```
|
|
96
169
|
*/
|
|
97
170
|
provision(
|
|
98
171
|
body: SubscriptionProvisionParams,
|
|
@@ -104,6 +177,14 @@ export class Subscriptions extends APIResource {
|
|
|
104
177
|
/**
|
|
105
178
|
* Transfers a subscription to a different resource ID. Used for multi-resource
|
|
106
179
|
* products where subscriptions apply to specific entities like websites or apps.
|
|
180
|
+
*
|
|
181
|
+
* @example
|
|
182
|
+
* ```ts
|
|
183
|
+
* const subscription = await client.v1.subscriptions.transfer(
|
|
184
|
+
* 'x',
|
|
185
|
+
* { destinationResourceId: 'destinationResourceId' },
|
|
186
|
+
* );
|
|
187
|
+
* ```
|
|
107
188
|
*/
|
|
108
189
|
transfer(id: string, body: SubscriptionTransferParams, options?: RequestOptions): APIPromise<Subscription> {
|
|
109
190
|
return this._client.post(path`/api/v1/subscriptions/${id}/transfer`, { body, ...options });
|
|
@@ -4780,7 +4861,8 @@ export namespace SubscriptionImportParams {
|
|
|
4780
4861
|
}
|
|
4781
4862
|
|
|
4782
4863
|
/**
|
|
4783
|
-
*
|
|
4864
|
+
* A charge selection for a subscription (references a catalog charge with a
|
|
4865
|
+
* quantity).
|
|
4784
4866
|
*/
|
|
4785
4867
|
export interface Charge {
|
|
4786
4868
|
/**
|
|
@@ -4789,7 +4871,7 @@ export namespace SubscriptionImportParams {
|
|
|
4789
4871
|
id: string;
|
|
4790
4872
|
|
|
4791
4873
|
/**
|
|
4792
|
-
* Charge quantity
|
|
4874
|
+
* Charge quantity. Minimum is 0 (zero is allowed).
|
|
4793
4875
|
*/
|
|
4794
4876
|
quantity: number;
|
|
4795
4877
|
|
|
@@ -4885,7 +4967,7 @@ export interface SubscriptionPreviewParams {
|
|
|
4885
4967
|
trialOverrideConfiguration?: SubscriptionPreviewParams.TrialOverrideConfiguration;
|
|
4886
4968
|
|
|
4887
4969
|
/**
|
|
4888
|
-
* Unit quantity for per-unit pricing
|
|
4970
|
+
* Unit quantity for per-unit pricing. Minimum is 0 (zero is allowed).
|
|
4889
4971
|
*/
|
|
4890
4972
|
unitQuantity?: number;
|
|
4891
4973
|
}
|
|
@@ -5118,7 +5200,7 @@ export namespace SubscriptionPreviewParams {
|
|
|
5118
5200
|
featureId: string;
|
|
5119
5201
|
|
|
5120
5202
|
/**
|
|
5121
|
-
* Quantity of feature units
|
|
5203
|
+
* Quantity of feature units. Minimum is 0 (zero is allowed).
|
|
5122
5204
|
*/
|
|
5123
5205
|
quantity: number;
|
|
5124
5206
|
}
|
|
@@ -5218,7 +5300,8 @@ export namespace SubscriptionPreviewParams {
|
|
|
5218
5300
|
}
|
|
5219
5301
|
|
|
5220
5302
|
/**
|
|
5221
|
-
*
|
|
5303
|
+
* A charge selection for a subscription (references a catalog charge with a
|
|
5304
|
+
* quantity).
|
|
5222
5305
|
*/
|
|
5223
5306
|
export interface Charge {
|
|
5224
5307
|
/**
|
|
@@ -5227,7 +5310,7 @@ export namespace SubscriptionPreviewParams {
|
|
|
5227
5310
|
id: string;
|
|
5228
5311
|
|
|
5229
5312
|
/**
|
|
5230
|
-
* Charge quantity
|
|
5313
|
+
* Charge quantity. Minimum is 0 (zero is allowed).
|
|
5231
5314
|
*/
|
|
5232
5315
|
quantity: number;
|
|
5233
5316
|
|
|
@@ -5367,7 +5450,7 @@ export interface SubscriptionProvisionParams {
|
|
|
5367
5450
|
trialOverrideConfiguration?: SubscriptionProvisionParams.TrialOverrideConfiguration;
|
|
5368
5451
|
|
|
5369
5452
|
/**
|
|
5370
|
-
* Unit quantity
|
|
5453
|
+
* Unit quantity for per-unit pricing. Minimum is 0 (zero is allowed).
|
|
5371
5454
|
*/
|
|
5372
5455
|
unitQuantity?: number;
|
|
5373
5456
|
}
|
|
@@ -5694,7 +5777,8 @@ export namespace SubscriptionProvisionParams {
|
|
|
5694
5777
|
}
|
|
5695
5778
|
|
|
5696
5779
|
/**
|
|
5697
|
-
*
|
|
5780
|
+
* A charge selection for a subscription (references a catalog charge with a
|
|
5781
|
+
* quantity).
|
|
5698
5782
|
*/
|
|
5699
5783
|
export interface Charge {
|
|
5700
5784
|
/**
|
|
@@ -5703,7 +5787,7 @@ export namespace SubscriptionProvisionParams {
|
|
|
5703
5787
|
id: string;
|
|
5704
5788
|
|
|
5705
5789
|
/**
|
|
5706
|
-
* Charge quantity
|
|
5790
|
+
* Charge quantity. Minimum is 0 (zero is allowed).
|
|
5707
5791
|
*/
|
|
5708
5792
|
quantity: number;
|
|
5709
5793
|
|
|
@@ -12,6 +12,12 @@ export class Usage extends APIResource {
|
|
|
12
12
|
/**
|
|
13
13
|
* Immediately charges usage for a subscription via the billing integration.
|
|
14
14
|
* Calculates usage since the last charge and creates an invoice.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```ts
|
|
18
|
+
* const response =
|
|
19
|
+
* await client.v1.subscriptions.usage.chargeUsage('x');
|
|
20
|
+
* ```
|
|
15
21
|
*/
|
|
16
22
|
chargeUsage(
|
|
17
23
|
id: string,
|
|
@@ -24,6 +30,13 @@ export class Usage extends APIResource {
|
|
|
24
30
|
/**
|
|
25
31
|
* Triggers a usage sync for a subscription, reporting current usage to the billing
|
|
26
32
|
* provider.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* ```ts
|
|
36
|
+
* const response = await client.v1.subscriptions.usage.sync(
|
|
37
|
+
* 'x',
|
|
38
|
+
* );
|
|
39
|
+
* ```
|
|
27
40
|
*/
|
|
28
41
|
sync(id: string, options?: RequestOptions): APIPromise<UsageSyncResponse> {
|
|
29
42
|
return this._client.post(path`/api/v1/subscriptions/${id}/usage/sync`, options);
|
|
@@ -11,6 +11,17 @@ import { path } from '../../internal/utils/path';
|
|
|
11
11
|
export class Usage extends APIResource {
|
|
12
12
|
/**
|
|
13
13
|
* Retrieves historical usage data for a customer's metered feature over time.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```ts
|
|
17
|
+
* const response = await client.v1.usage.history(
|
|
18
|
+
* 'featureId',
|
|
19
|
+
* {
|
|
20
|
+
* customerId: 'customerId',
|
|
21
|
+
* startDate: '2019-12-27T18:11:19.117Z',
|
|
22
|
+
* },
|
|
23
|
+
* );
|
|
24
|
+
* ```
|
|
14
25
|
*/
|
|
15
26
|
history(
|
|
16
27
|
featureID: string,
|
|
@@ -24,6 +35,19 @@ export class Usage extends APIResource {
|
|
|
24
35
|
/**
|
|
25
36
|
* Reports usage measurements for metered features. The reported usage is used to
|
|
26
37
|
* track, limit, and bill customer consumption.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* ```ts
|
|
41
|
+
* const response = await client.v1.usage.report({
|
|
42
|
+
* usages: [
|
|
43
|
+
* {
|
|
44
|
+
* customerId: 'customerId',
|
|
45
|
+
* featureId: 'featureId',
|
|
46
|
+
* value: -9007199254740991,
|
|
47
|
+
* },
|
|
48
|
+
* ],
|
|
49
|
+
* });
|
|
50
|
+
* ```
|
|
27
51
|
*/
|
|
28
52
|
report(body: UsageReportParams, options?: RequestOptions): APIPromise<UsageReportResponse> {
|
|
29
53
|
return this._client.post('/api/v1/usage', { body, ...options });
|
package/src/resources/v1/v1.ts
CHANGED
|
@@ -44,6 +44,9 @@ import * as AddonsAPI from './addons/addons';
|
|
|
44
44
|
import {
|
|
45
45
|
Addon,
|
|
46
46
|
AddonCreateParams,
|
|
47
|
+
AddonListChargesParams,
|
|
48
|
+
AddonListChargesResponse,
|
|
49
|
+
AddonListChargesResponsesMyCursorIDPage,
|
|
47
50
|
AddonListParams,
|
|
48
51
|
AddonListResponse,
|
|
49
52
|
AddonListResponsesMyCursorIDPage,
|
|
@@ -53,6 +56,17 @@ import {
|
|
|
53
56
|
AddonUpdateParams,
|
|
54
57
|
Addons,
|
|
55
58
|
} from './addons/addons';
|
|
59
|
+
import * as CreditsAPI from './credits/credits';
|
|
60
|
+
import {
|
|
61
|
+
CreditGetAutoRechargeParams,
|
|
62
|
+
CreditGetAutoRechargeResponse,
|
|
63
|
+
CreditGetUsageParams,
|
|
64
|
+
CreditGetUsageResponse,
|
|
65
|
+
CreditListLedgerParams,
|
|
66
|
+
CreditListLedgerResponse,
|
|
67
|
+
CreditListLedgerResponsesMyCursorIDPage,
|
|
68
|
+
Credits,
|
|
69
|
+
} from './credits/credits';
|
|
56
70
|
import * as CustomersAPI from './customers/customers';
|
|
57
71
|
import {
|
|
58
72
|
CustomerCheckEntitlementParams,
|
|
@@ -79,6 +93,12 @@ import * as PlansAPI from './plans/plans';
|
|
|
79
93
|
import {
|
|
80
94
|
Plan,
|
|
81
95
|
PlanCreateParams,
|
|
96
|
+
PlanListChargesParams,
|
|
97
|
+
PlanListChargesResponse,
|
|
98
|
+
PlanListChargesResponsesMyCursorIDPage,
|
|
99
|
+
PlanListOverageChargesParams,
|
|
100
|
+
PlanListOverageChargesResponse,
|
|
101
|
+
PlanListOverageChargesResponsesMyCursorIDPage,
|
|
82
102
|
PlanListParams,
|
|
83
103
|
PlanListResponse,
|
|
84
104
|
PlanListResponsesMyCursorIDPage,
|
|
@@ -113,6 +133,7 @@ export class V1 extends APIResource {
|
|
|
113
133
|
subscriptions: SubscriptionsAPI.Subscriptions = new SubscriptionsAPI.Subscriptions(this._client);
|
|
114
134
|
coupons: CouponsAPI.Coupons = new CouponsAPI.Coupons(this._client);
|
|
115
135
|
events: EventsAPI.Events = new EventsAPI.Events(this._client);
|
|
136
|
+
credits: CreditsAPI.Credits = new CreditsAPI.Credits(this._client);
|
|
116
137
|
features: FeaturesAPI.Features = new FeaturesAPI.Features(this._client);
|
|
117
138
|
addons: AddonsAPI.Addons = new AddonsAPI.Addons(this._client);
|
|
118
139
|
plans: PlansAPI.Plans = new PlansAPI.Plans(this._client);
|
|
@@ -124,6 +145,7 @@ V1.Customers = Customers;
|
|
|
124
145
|
V1.Subscriptions = Subscriptions;
|
|
125
146
|
V1.Coupons = Coupons;
|
|
126
147
|
V1.Events = Events;
|
|
148
|
+
V1.Credits = Credits;
|
|
127
149
|
V1.Features = Features;
|
|
128
150
|
V1.Addons = Addons;
|
|
129
151
|
V1.Plans = Plans;
|
|
@@ -186,6 +208,17 @@ export declare namespace V1 {
|
|
|
186
208
|
type EventReportParams as EventReportParams,
|
|
187
209
|
};
|
|
188
210
|
|
|
211
|
+
export {
|
|
212
|
+
Credits as Credits,
|
|
213
|
+
type CreditGetAutoRechargeResponse as CreditGetAutoRechargeResponse,
|
|
214
|
+
type CreditGetUsageResponse as CreditGetUsageResponse,
|
|
215
|
+
type CreditListLedgerResponse as CreditListLedgerResponse,
|
|
216
|
+
type CreditListLedgerResponsesMyCursorIDPage as CreditListLedgerResponsesMyCursorIDPage,
|
|
217
|
+
type CreditGetAutoRechargeParams as CreditGetAutoRechargeParams,
|
|
218
|
+
type CreditGetUsageParams as CreditGetUsageParams,
|
|
219
|
+
type CreditListLedgerParams as CreditListLedgerParams,
|
|
220
|
+
};
|
|
221
|
+
|
|
189
222
|
export {
|
|
190
223
|
Features as Features,
|
|
191
224
|
type Feature as Feature,
|
|
@@ -200,12 +233,15 @@ export declare namespace V1 {
|
|
|
200
233
|
Addons as Addons,
|
|
201
234
|
type Addon as Addon,
|
|
202
235
|
type AddonListResponse as AddonListResponse,
|
|
236
|
+
type AddonListChargesResponse as AddonListChargesResponse,
|
|
203
237
|
type AddonPublishResponse as AddonPublishResponse,
|
|
204
238
|
type AddonRemoveDraftResponse as AddonRemoveDraftResponse,
|
|
205
239
|
type AddonListResponsesMyCursorIDPage as AddonListResponsesMyCursorIDPage,
|
|
240
|
+
type AddonListChargesResponsesMyCursorIDPage as AddonListChargesResponsesMyCursorIDPage,
|
|
206
241
|
type AddonCreateParams as AddonCreateParams,
|
|
207
242
|
type AddonUpdateParams as AddonUpdateParams,
|
|
208
243
|
type AddonListParams as AddonListParams,
|
|
244
|
+
type AddonListChargesParams as AddonListChargesParams,
|
|
209
245
|
type AddonPublishParams as AddonPublishParams,
|
|
210
246
|
};
|
|
211
247
|
|
|
@@ -213,12 +249,18 @@ export declare namespace V1 {
|
|
|
213
249
|
Plans as Plans,
|
|
214
250
|
type Plan as Plan,
|
|
215
251
|
type PlanListResponse as PlanListResponse,
|
|
252
|
+
type PlanListChargesResponse as PlanListChargesResponse,
|
|
253
|
+
type PlanListOverageChargesResponse as PlanListOverageChargesResponse,
|
|
216
254
|
type PlanPublishResponse as PlanPublishResponse,
|
|
217
255
|
type PlanRemoveDraftResponse as PlanRemoveDraftResponse,
|
|
218
256
|
type PlanListResponsesMyCursorIDPage as PlanListResponsesMyCursorIDPage,
|
|
257
|
+
type PlanListChargesResponsesMyCursorIDPage as PlanListChargesResponsesMyCursorIDPage,
|
|
258
|
+
type PlanListOverageChargesResponsesMyCursorIDPage as PlanListOverageChargesResponsesMyCursorIDPage,
|
|
219
259
|
type PlanCreateParams as PlanCreateParams,
|
|
220
260
|
type PlanUpdateParams as PlanUpdateParams,
|
|
221
261
|
type PlanListParams as PlanListParams,
|
|
262
|
+
type PlanListChargesParams as PlanListChargesParams,
|
|
263
|
+
type PlanListOverageChargesParams as PlanListOverageChargesParams,
|
|
222
264
|
type PlanPublishParams as PlanPublishParams,
|
|
223
265
|
};
|
|
224
266
|
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.1.0-beta.
|
|
1
|
+
export const VERSION = '0.1.0-beta.13'; // x-release-please-version
|
package/uploads.d.mts
CHANGED
package/uploads.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uploads.d.mts","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"uploads.d.mts","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":"AAAA,qDAAqD;AACrD,mCAA+B"}
|
package/uploads.d.ts
CHANGED
package/uploads.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uploads.d.ts","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"uploads.d.ts","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":"AAAA,qDAAqD;AACrD,kCAA+B"}
|
package/uploads.mjs
CHANGED
package/uploads.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uploads.mjs","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"uploads.mjs","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":"AAAA,qDAAqD;AACrD,mCAA+B"}
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.1.0-beta.
|
|
1
|
+
export declare const VERSION = "0.1.0-beta.13";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.mts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"version.d.mts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,kBAAkB,CAAC"}
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.1.0-beta.
|
|
1
|
+
export declare const VERSION = "0.1.0-beta.13";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,kBAAkB,CAAC"}
|
package/version.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VERSION = void 0;
|
|
4
|
-
exports.VERSION = '0.1.0-beta.
|
|
4
|
+
exports.VERSION = '0.1.0-beta.13'; // x-release-please-version
|
|
5
5
|
//# sourceMappingURL=version.js.map
|
package/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG,eAAe,CAAC,CAAC,2BAA2B"}
|
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.1.0-beta.
|
|
1
|
+
export const VERSION = '0.1.0-beta.13'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|
package/version.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.mjs","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"version.mjs","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,eAAe,CAAC,CAAC,2BAA2B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"credits.d.mts","sourceRoot":"","sources":["../../../../src/resources/v1/events/credits/credits.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,mBAAmB;OACxB,EACL,gBAAgB,EAChB,6BAA6B,EAC7B,0BAA0B,EAC1B,4BAA4B,EAC5B,4CAA4C,EAC5C,wBAAwB,EACxB,0BAA0B,EAC1B,yCAAyC,EACzC,+BAA+B,EAC/B,0BAA0B,EAC1B,4BAA4B,EAC7B;OACM,KAAK,SAAS;OACd,EACL,mBAAmB,EACnB,iBAAiB,EACjB,eAAe,EACf,iBAAiB,EACjB,gCAAgC,EAChC,MAAM,EACP;OACM,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE,KAAK,oBAAoB,EAAE,WAAW,EAAE;OAC1D,EAAE,cAAc,EAAE;AAEzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAC9D,gBAAgB,EAAE,mBAAmB,CAAC,gBAAgB,CAEpD;IAEF;;;OAGG;IACH,eAAe,CACb,KAAK,EAAE,2BAA2B,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,6BAA6B,CAAC;IAI5C;;;OAGG;IACH,QAAQ,CAAC,KAAK,EAAE,oBAAoB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,s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AI,eAAe,GACxC,CAAC;IAEF,OAAO,EACL,gBAAgB,IAAI,gBAAgB,EACpC,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,4CAA4C,IAAI,4CAA4C,EACjG,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,yCAAyC,IAAI,yCAAyC,EAC3F,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"credits.d.ts","sourceRoot":"","sources":["../../../../src/resources/v1/events/credits/credits.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,mBAAmB;OACxB,EACL,gBAAgB,EAChB,6BAA6B,EAC7B,0BAA0B,EAC1B,4BAA4B,EAC5B,4CAA4C,EAC5C,wBAAwB,EACxB,0BAA0B,EAC1B,yCAAyC,EACzC,+BAA+B,EAC/B,0BAA0B,EAC1B,4BAA4B,EAC7B;OACM,KAAK,SAAS;OACd,EACL,mBAAmB,EACnB,iBAAiB,EACjB,eAAe,EACf,iBAAiB,EACjB,gCAAgC,EAChC,MAAM,EACP;OACM,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE,KAAK,oBAAoB,EAAE,WAAW,EAAE;OAC1D,EAAE,cAAc,EAAE;AAEzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAC9D,gBAAgB,EAAE,mBAAmB,CAAC,gBAAgB,CAEpD;IAEF;;;OAGG;IACH,eAAe,CACb,KAAK,EAAE,2BAA2B,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,6BAA6B,CAAC;IAI5C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IAC1E,CAAC;IAED;;OAEG;IACH,UAAU,CACR,KAA6B,EAC7B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,wBAAwB,EAAE,CAAA,cAAwC,CAAA,EAAE;YACjG,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AA0SD,OAAO,CAAC,MAAM,GAAG,MAAM,CAAC;AACxB,OAAO,CAAC,gBAAgB,GAAG,gBAAgB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"custom-currencies.d.mts","sourceRoot":"","sources":["../../../../src/resources/v1/events/credits/custom-currencies.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE,KAAK,oBAAoB,EAAE,WAAW,EAAE;OAC1D,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,0BAA0B,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,4BAA4B,CAAC;IAI3C;;OAEG;IACH,MAAM,CACJ,UAAU,EAAE,MAAM,EAClB,IAAI,EAAE,0BAA0B,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,4BAA4B,CAAC;IAI3C;;;;OAIG;IACH,IAAI,CACF,KAAK,GAAE,wBAAwB,GAAG,IAAI,GAAG,SAAc,EACvD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,yCAAyC,EAAE,0BAA0B,CAAC;IAQrF;;;;OAIG;IACH,OAAO,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,6BAA6B,CAAC;IAIhG;;;OAGG;IACH,sBAAsB,CACpB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,4CAA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