@stigg/typescript 0.1.0-alpha.9 → 0.1.0-beta.2
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 +417 -0
- package/client.d.mts +1 -1
- package/client.d.mts.map +1 -1
- package/client.d.ts +1 -1
- package/client.d.ts.map +1 -1
- package/client.js +19 -7
- package/client.js.map +1 -1
- package/client.mjs +19 -7
- package/client.mjs.map +1 -1
- package/internal/tslib.js +17 -17
- package/internal/types.d.mts +6 -6
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +6 -6
- package/internal/types.d.ts.map +1 -1
- package/internal/utils/env.js +2 -2
- package/internal/utils/env.js.map +1 -1
- package/internal/utils/env.mjs +2 -2
- package/internal/utils/env.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.js +3 -2
- package/internal/utils/log.js.map +1 -1
- package/internal/utils/log.mjs +3 -2
- package/internal/utils/log.mjs.map +1 -1
- package/internal/utils/query.d.mts +2 -0
- package/internal/utils/query.d.mts.map +1 -0
- package/internal/utils/query.d.ts +2 -0
- package/internal/utils/query.d.ts.map +1 -0
- package/internal/utils/query.js +10 -0
- package/internal/utils/query.js.map +1 -0
- package/internal/utils/query.mjs +6 -0
- package/internal/utils/query.mjs.map +1 -0
- package/internal/utils.d.mts +1 -0
- package/internal/utils.d.ts +1 -0
- package/internal/utils.js +1 -0
- package/internal/utils.js.map +1 -1
- package/internal/utils.mjs +1 -0
- package/package.json +12 -1
- package/resources/v1/addons/addons.d.mts +828 -0
- package/resources/v1/addons/addons.d.mts.map +1 -0
- package/resources/v1/addons/addons.d.ts +828 -0
- package/resources/v1/addons/addons.d.ts.map +1 -0
- package/resources/v1/{events/addons → addons}/addons.js +41 -26
- package/resources/v1/addons/addons.js.map +1 -0
- package/resources/v1/{events/addons → addons}/addons.mjs +40 -25
- package/resources/v1/addons/addons.mjs.map +1 -0
- package/resources/v1/addons/entitlements.d.mts +888 -0
- package/resources/v1/addons/entitlements.d.mts.map +1 -0
- package/resources/v1/addons/entitlements.d.ts +888 -0
- package/resources/v1/addons/entitlements.d.ts.map +1 -0
- package/resources/v1/addons/entitlements.js +36 -0
- package/resources/v1/addons/entitlements.js.map +1 -0
- package/resources/v1/addons/entitlements.mjs +32 -0
- package/resources/v1/addons/entitlements.mjs.map +1 -0
- package/resources/v1/addons/index.d.mts +3 -0
- package/resources/v1/addons/index.d.mts.map +1 -0
- package/resources/v1/addons/index.d.ts +3 -0
- package/resources/v1/addons/index.d.ts.map +1 -0
- package/resources/v1/{events/addons → addons}/index.js +3 -3
- package/resources/v1/addons/index.js.map +1 -0
- package/resources/v1/{events/addons → addons}/index.mjs +1 -1
- package/resources/v1/addons/index.mjs.map +1 -0
- package/resources/v1/addons.d.mts.map +1 -0
- package/resources/v1/addons.d.ts.map +1 -0
- package/resources/v1/{events/addons.js → addons.js} +1 -1
- package/resources/v1/addons.js.map +1 -0
- package/resources/v1/addons.mjs.map +1 -0
- package/resources/v1/coupons.d.mts +19 -4
- package/resources/v1/coupons.d.mts.map +1 -1
- package/resources/v1/coupons.d.ts +19 -4
- package/resources/v1/coupons.d.ts.map +1 -1
- package/resources/v1/coupons.js +3 -0
- package/resources/v1/coupons.js.map +1 -1
- package/resources/v1/coupons.mjs +3 -0
- package/resources/v1/coupons.mjs.map +1 -1
- package/resources/v1/credits/auto-recharge.d.mts +84 -0
- package/resources/v1/credits/auto-recharge.d.mts.map +1 -0
- package/resources/v1/credits/auto-recharge.d.ts +84 -0
- package/resources/v1/credits/auto-recharge.d.ts.map +1 -0
- package/resources/v1/credits/auto-recharge.js +16 -0
- package/resources/v1/credits/auto-recharge.js.map +1 -0
- package/resources/v1/credits/auto-recharge.mjs +12 -0
- package/resources/v1/credits/auto-recharge.mjs.map +1 -0
- package/resources/v1/credits/credits.d.mts +203 -0
- package/resources/v1/credits/credits.d.mts.map +1 -0
- package/resources/v1/credits/credits.d.ts +203 -0
- package/resources/v1/credits/credits.d.ts.map +1 -0
- package/resources/v1/credits/credits.js +42 -0
- package/resources/v1/credits/credits.js.map +1 -0
- package/resources/v1/credits/credits.mjs +37 -0
- package/resources/v1/credits/credits.mjs.map +1 -0
- package/resources/v1/credits/custom-currencies.d.mts +290 -0
- package/resources/v1/credits/custom-currencies.d.mts.map +1 -0
- package/resources/v1/credits/custom-currencies.d.ts +290 -0
- package/resources/v1/credits/custom-currencies.d.ts.map +1 -0
- package/resources/v1/credits/custom-currencies.js +56 -0
- package/resources/v1/credits/custom-currencies.js.map +1 -0
- package/resources/v1/credits/custom-currencies.mjs +52 -0
- package/resources/v1/credits/custom-currencies.mjs.map +1 -0
- package/resources/v1/credits/grants.d.mts +549 -0
- package/resources/v1/credits/grants.d.mts.map +1 -0
- package/resources/v1/credits/grants.d.ts +549 -0
- package/resources/v1/credits/grants.d.ts.map +1 -0
- package/resources/v1/credits/grants.js +37 -0
- package/resources/v1/credits/grants.js.map +1 -0
- package/resources/v1/credits/grants.mjs +33 -0
- package/resources/v1/credits/grants.mjs.map +1 -0
- package/resources/v1/credits/index.d.mts +5 -0
- package/resources/v1/credits/index.d.mts.map +1 -0
- package/resources/v1/credits/index.d.ts +5 -0
- package/resources/v1/credits/index.d.ts.map +1 -0
- package/resources/v1/credits/index.js +13 -0
- package/resources/v1/credits/index.js.map +1 -0
- package/resources/v1/credits/index.mjs +6 -0
- package/resources/v1/credits/index.mjs.map +1 -0
- package/resources/v1/credits.d.mts +2 -0
- package/resources/v1/credits.d.mts.map +1 -0
- package/resources/v1/credits.d.ts +2 -0
- package/resources/v1/credits.d.ts.map +1 -0
- package/resources/v1/credits.js +6 -0
- package/resources/v1/credits.js.map +1 -0
- package/resources/v1/credits.mjs +3 -0
- package/resources/v1/credits.mjs.map +1 -0
- package/resources/v1/customers/customers.d.mts +1204 -6
- package/resources/v1/customers/customers.d.mts.map +1 -1
- package/resources/v1/customers/customers.d.ts +1204 -6
- package/resources/v1/customers/customers.d.ts.map +1 -1
- package/resources/v1/customers/customers.js +30 -1
- package/resources/v1/customers/customers.js.map +1 -1
- package/resources/v1/customers/customers.mjs +30 -1
- package/resources/v1/customers/customers.mjs.map +1 -1
- package/resources/v1/customers/index.d.mts +2 -1
- package/resources/v1/customers/index.d.mts.map +1 -1
- package/resources/v1/customers/index.d.ts +2 -1
- package/resources/v1/customers/index.d.ts.map +1 -1
- package/resources/v1/customers/index.js +3 -1
- package/resources/v1/customers/index.js.map +1 -1
- package/resources/v1/customers/index.mjs +1 -0
- package/resources/v1/customers/index.mjs.map +1 -1
- package/resources/v1/customers/integrations.d.mts +142 -0
- package/resources/v1/customers/integrations.d.mts.map +1 -0
- package/resources/v1/customers/integrations.d.ts +142 -0
- package/resources/v1/customers/integrations.d.ts.map +1 -0
- package/resources/v1/customers/integrations.js +50 -0
- package/resources/v1/customers/integrations.js.map +1 -0
- package/resources/v1/customers/integrations.mjs +46 -0
- package/resources/v1/customers/integrations.mjs.map +1 -0
- package/resources/v1/customers/payment-method.d.mts +3 -0
- package/resources/v1/customers/payment-method.d.mts.map +1 -1
- package/resources/v1/customers/payment-method.d.ts +3 -0
- package/resources/v1/customers/payment-method.d.ts.map +1 -1
- package/resources/v1/customers/payment-method.js +3 -0
- package/resources/v1/customers/payment-method.js.map +1 -1
- package/resources/v1/customers/payment-method.mjs +3 -0
- package/resources/v1/customers/payment-method.mjs.map +1 -1
- package/resources/v1/customers/promotional-entitlements.d.mts +4 -1
- package/resources/v1/customers/promotional-entitlements.d.mts.map +1 -1
- package/resources/v1/customers/promotional-entitlements.d.ts +4 -1
- package/resources/v1/customers/promotional-entitlements.d.ts.map +1 -1
- package/resources/v1/customers/promotional-entitlements.js +3 -0
- package/resources/v1/customers/promotional-entitlements.js.map +1 -1
- package/resources/v1/customers/promotional-entitlements.mjs +3 -0
- package/resources/v1/customers/promotional-entitlements.mjs.map +1 -1
- package/resources/v1/events.d.mts +65 -1
- package/resources/v1/events.d.mts.map +1 -1
- package/resources/v1/events.d.ts +65 -1
- package/resources/v1/events.d.ts.map +1 -1
- package/resources/v1/events.js +15 -2
- package/resources/v1/events.js.map +1 -1
- package/resources/v1/events.mjs +13 -1
- package/resources/v1/events.mjs.map +1 -1
- package/resources/v1/features.d.mts +456 -0
- package/resources/v1/features.d.mts.map +1 -0
- package/resources/v1/features.d.ts +456 -0
- package/resources/v1/features.d.ts.map +1 -0
- package/resources/v1/{events/features.js → features.js} +6 -3
- package/resources/v1/features.js.map +1 -0
- package/resources/v1/{events/features.mjs → features.mjs} +6 -3
- package/resources/v1/features.mjs.map +1 -0
- package/resources/v1/index.d.mts +7 -3
- package/resources/v1/index.d.mts.map +1 -1
- package/resources/v1/index.d.ts +7 -3
- package/resources/v1/index.d.ts.map +1 -1
- package/resources/v1/index.js +15 -7
- package/resources/v1/index.js.map +1 -1
- package/resources/v1/index.mjs +5 -1
- package/resources/v1/index.mjs.map +1 -1
- package/resources/v1/plans/entitlements.d.mts +888 -0
- package/resources/v1/plans/entitlements.d.mts.map +1 -0
- package/resources/v1/plans/entitlements.d.ts +888 -0
- package/resources/v1/plans/entitlements.d.ts.map +1 -0
- package/resources/v1/plans/entitlements.js +36 -0
- package/resources/v1/plans/entitlements.js.map +1 -0
- package/resources/v1/plans/entitlements.mjs +32 -0
- package/resources/v1/plans/entitlements.mjs.map +1 -0
- package/resources/v1/plans/index.d.mts +3 -0
- package/resources/v1/plans/index.d.mts.map +1 -0
- package/resources/v1/plans/index.d.ts +3 -0
- package/resources/v1/plans/index.d.ts.map +1 -0
- package/resources/v1/plans/index.js +9 -0
- package/resources/v1/plans/index.js.map +1 -0
- package/resources/v1/plans/index.mjs +4 -0
- package/resources/v1/plans/index.mjs.map +1 -0
- package/resources/v1/plans/plans.d.mts +977 -0
- package/resources/v1/plans/plans.d.mts.map +1 -0
- package/resources/v1/plans/plans.d.ts +977 -0
- package/resources/v1/plans/plans.d.ts.map +1 -0
- package/resources/v1/plans/plans.js +72 -0
- package/resources/v1/plans/plans.js.map +1 -0
- package/resources/v1/plans/plans.mjs +67 -0
- package/resources/v1/plans/plans.mjs.map +1 -0
- package/resources/v1/plans.d.mts +2 -0
- package/resources/v1/plans.d.mts.map +1 -0
- package/resources/v1/plans.d.ts +2 -0
- package/resources/v1/plans.d.ts.map +1 -0
- package/resources/v1/plans.js +6 -0
- package/resources/v1/plans.js.map +1 -0
- package/resources/v1/plans.mjs +3 -0
- package/resources/v1/plans.mjs.map +1 -0
- package/resources/v1/products.d.mts +22 -359
- package/resources/v1/products.d.mts.map +1 -1
- package/resources/v1/products.d.ts +22 -359
- package/resources/v1/products.d.ts.map +1 -1
- package/resources/v1/products.js +5 -2
- package/resources/v1/products.js.map +1 -1
- package/resources/v1/products.mjs +5 -2
- package/resources/v1/products.mjs.map +1 -1
- package/resources/v1/subscriptions/future-update.d.mts +3 -0
- package/resources/v1/subscriptions/future-update.d.mts.map +1 -1
- package/resources/v1/subscriptions/future-update.d.ts +3 -0
- package/resources/v1/subscriptions/future-update.d.ts.map +1 -1
- package/resources/v1/subscriptions/future-update.js +3 -0
- package/resources/v1/subscriptions/future-update.js.map +1 -1
- package/resources/v1/subscriptions/future-update.mjs +3 -0
- package/resources/v1/subscriptions/future-update.mjs.map +1 -1
- package/resources/v1/subscriptions/invoice.d.mts +3 -0
- package/resources/v1/subscriptions/invoice.d.mts.map +1 -1
- package/resources/v1/subscriptions/invoice.d.ts +3 -0
- package/resources/v1/subscriptions/invoice.d.ts.map +1 -1
- package/resources/v1/subscriptions/invoice.js +3 -0
- package/resources/v1/subscriptions/invoice.js.map +1 -1
- package/resources/v1/subscriptions/invoice.mjs +3 -0
- package/resources/v1/subscriptions/invoice.mjs.map +1 -1
- package/resources/v1/subscriptions/subscriptions.d.mts +1131 -166
- package/resources/v1/subscriptions/subscriptions.d.mts.map +1 -1
- package/resources/v1/subscriptions/subscriptions.d.ts +1131 -166
- package/resources/v1/subscriptions/subscriptions.d.ts.map +1 -1
- package/resources/v1/subscriptions/subscriptions.js.map +1 -1
- package/resources/v1/subscriptions/subscriptions.mjs +2 -2
- package/resources/v1/subscriptions/subscriptions.mjs.map +1 -1
- package/resources/v1/subscriptions/usage.d.mts +3 -0
- package/resources/v1/subscriptions/usage.d.mts.map +1 -1
- package/resources/v1/subscriptions/usage.d.ts +3 -0
- package/resources/v1/subscriptions/usage.d.ts.map +1 -1
- package/resources/v1/subscriptions/usage.js +3 -0
- package/resources/v1/subscriptions/usage.js.map +1 -1
- package/resources/v1/subscriptions/usage.mjs +3 -0
- package/resources/v1/subscriptions/usage.mjs.map +1 -1
- package/resources/v1/usage.d.mts +4 -1
- package/resources/v1/usage.d.mts.map +1 -1
- package/resources/v1/usage.d.ts +4 -1
- package/resources/v1/usage.d.ts.map +1 -1
- package/resources/v1/usage.js +3 -0
- package/resources/v1/usage.js.map +1 -1
- package/resources/v1/usage.mjs +3 -0
- package/resources/v1/usage.mjs.map +1 -1
- package/resources/v1/v1.d.mts +22 -6
- package/resources/v1/v1.d.mts.map +1 -1
- package/resources/v1/v1.d.ts +22 -6
- package/resources/v1/v1.d.ts.map +1 -1
- package/resources/v1/v1.js +18 -2
- package/resources/v1/v1.js.map +1 -1
- package/resources/v1/v1.mjs +18 -2
- package/resources/v1/v1.mjs.map +1 -1
- package/src/client.ts +23 -10
- package/src/internal/types.ts +6 -8
- package/src/internal/utils/env.ts +2 -2
- package/src/internal/utils/log.ts +2 -1
- package/src/internal/utils/query.ts +7 -0
- package/src/internal/utils.ts +1 -0
- package/src/resources/v1/addons/addons.ts +1856 -0
- package/src/resources/v1/addons/entitlements.ts +1153 -0
- package/src/resources/v1/addons/index.ts +23 -0
- package/src/resources/v1/coupons.ts +17 -4
- package/src/resources/v1/credits/auto-recharge.ts +109 -0
- package/src/resources/v1/credits/credits.ts +313 -0
- package/src/resources/v1/credits/custom-currencies.ts +372 -0
- package/src/resources/v1/credits/grants.ts +795 -0
- package/src/resources/v1/credits/index.ts +33 -0
- package/src/resources/v1/credits.ts +3 -0
- package/src/resources/v1/customers/customers.ts +2526 -69
- package/src/resources/v1/customers/index.ts +15 -0
- package/src/resources/v1/customers/integrations.ts +252 -0
- package/src/resources/v1/customers/payment-method.ts +3 -0
- package/src/resources/v1/customers/promotional-entitlements.ts +4 -1
- package/src/resources/v1/events.ts +75 -1
- package/src/resources/v1/{events/features.ts → features.ts} +29 -512
- package/src/resources/v1/index.ts +48 -6
- package/src/resources/v1/plans/entitlements.ts +1145 -0
- package/src/resources/v1/plans/index.ts +23 -0
- package/src/resources/v1/plans/plans.ts +2029 -0
- package/src/resources/v1/plans.ts +3 -0
- package/src/resources/v1/products.ts +24 -428
- package/src/resources/v1/subscriptions/future-update.ts +3 -0
- package/src/resources/v1/subscriptions/invoice.ts +3 -0
- package/src/resources/v1/subscriptions/subscriptions.ts +3901 -1324
- package/src/resources/v1/subscriptions/usage.ts +3 -0
- package/src/resources/v1/usage.ts +4 -1
- package/src/resources/v1/v1.ts +112 -12
- package/src/version.ts +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/addons/addons.d.mts +0 -605
- package/resources/v1/events/addons/addons.d.mts.map +0 -1
- package/resources/v1/events/addons/addons.d.ts +0 -605
- package/resources/v1/events/addons/addons.d.ts.map +0 -1
- package/resources/v1/events/addons/addons.js.map +0 -1
- package/resources/v1/events/addons/addons.mjs.map +0 -1
- package/resources/v1/events/addons/draft.d.mts +0 -121
- package/resources/v1/events/addons/draft.d.mts.map +0 -1
- package/resources/v1/events/addons/draft.d.ts +0 -121
- package/resources/v1/events/addons/draft.d.ts.map +0 -1
- package/resources/v1/events/addons/draft.js +0 -22
- package/resources/v1/events/addons/draft.js.map +0 -1
- package/resources/v1/events/addons/draft.mjs +0 -18
- package/resources/v1/events/addons/draft.mjs.map +0 -1
- package/resources/v1/events/addons/index.d.mts +0 -3
- package/resources/v1/events/addons/index.d.mts.map +0 -1
- package/resources/v1/events/addons/index.d.ts +0 -3
- package/resources/v1/events/addons/index.d.ts.map +0 -1
- package/resources/v1/events/addons/index.js.map +0 -1
- package/resources/v1/events/addons/index.mjs.map +0 -1
- package/resources/v1/events/addons.d.mts.map +0 -1
- package/resources/v1/events/addons.d.ts.map +0 -1
- package/resources/v1/events/addons.js.map +0 -1
- package/resources/v1/events/addons.mjs.map +0 -1
- package/resources/v1/events/events.d.mts +0 -75
- package/resources/v1/events/events.d.mts.map +0 -1
- package/resources/v1/events/events.d.ts +0 -75
- package/resources/v1/events/events.d.ts.map +0 -1
- package/resources/v1/events/events.js +0 -32
- package/resources/v1/events/events.js.map +0 -1
- package/resources/v1/events/events.mjs +0 -27
- package/resources/v1/events/events.mjs.map +0 -1
- package/resources/v1/events/features.d.mts +0 -856
- package/resources/v1/events/features.d.mts.map +0 -1
- package/resources/v1/events/features.d.ts +0 -856
- package/resources/v1/events/features.d.ts.map +0 -1
- package/resources/v1/events/features.js.map +0 -1
- package/resources/v1/events/features.mjs.map +0 -1
- package/resources/v1/events/index.d.mts +0 -5
- package/resources/v1/events/index.d.mts.map +0 -1
- package/resources/v1/events/index.d.ts +0 -5
- package/resources/v1/events/index.d.ts.map +0 -1
- package/resources/v1/events/index.js +0 -13
- package/resources/v1/events/index.js.map +0 -1
- package/resources/v1/events/index.mjs +0 -6
- package/resources/v1/events/index.mjs.map +0 -1
- package/resources/v1/events/plans.d.mts +0 -348
- package/resources/v1/events/plans.d.mts.map +0 -1
- package/resources/v1/events/plans.d.ts +0 -348
- package/resources/v1/events/plans.d.ts.map +0 -1
- package/resources/v1/events/plans.js +0 -30
- package/resources/v1/events/plans.js.map +0 -1
- package/resources/v1/events/plans.mjs +0 -26
- package/resources/v1/events/plans.mjs.map +0 -1
- package/src/resources/v1/events/addons/addons.ts +0 -761
- package/src/resources/v1/events/addons/draft.ts +0 -151
- package/src/resources/v1/events/addons/index.ts +0 -17
- package/src/resources/v1/events/events.ts +0 -160
- package/src/resources/v1/events/index.ts +0 -39
- package/src/resources/v1/events/plans.ts +0 -429
- /package/resources/v1/{events/addons.d.mts → addons.d.mts} +0 -0
- /package/resources/v1/{events/addons.d.ts → addons.d.ts} +0 -0
- /package/resources/v1/{events/addons.mjs → addons.mjs} +0 -0
- /package/src/resources/v1/{events/addons.ts → addons.ts} +0 -0
|
@@ -5,6 +5,9 @@ import { APIPromise } from '../../../core/api-promise';
|
|
|
5
5
|
import { RequestOptions } from '../../../internal/request-options';
|
|
6
6
|
import { path } from '../../../internal/utils/path';
|
|
7
7
|
|
|
8
|
+
/**
|
|
9
|
+
* Operations related to subscriptions
|
|
10
|
+
*/
|
|
8
11
|
export class Usage extends APIResource {
|
|
9
12
|
/**
|
|
10
13
|
* Immediately charges usage for a subscription via the billing integration.
|
|
@@ -5,6 +5,9 @@ import { APIPromise } from '../../core/api-promise';
|
|
|
5
5
|
import { RequestOptions } from '../../internal/request-options';
|
|
6
6
|
import { path } from '../../internal/utils/path';
|
|
7
7
|
|
|
8
|
+
/**
|
|
9
|
+
* Operations related to usage & metering
|
|
10
|
+
*/
|
|
8
11
|
export class Usage extends APIResource {
|
|
9
12
|
/**
|
|
10
13
|
* Retrieves historical usage data for a customer's metered feature over time.
|
|
@@ -215,7 +218,7 @@ export interface UsageHistoryParams {
|
|
|
215
218
|
endDate?: string;
|
|
216
219
|
|
|
217
220
|
/**
|
|
218
|
-
* Query param
|
|
221
|
+
* Query param: Criteria by which to group the usage history
|
|
219
222
|
*/
|
|
220
223
|
groupBy?: string;
|
|
221
224
|
|
package/src/resources/v1/v1.ts
CHANGED
|
@@ -11,19 +11,27 @@ import {
|
|
|
11
11
|
CouponUpdateCouponParams,
|
|
12
12
|
Coupons,
|
|
13
13
|
} from './coupons';
|
|
14
|
+
import * as EventsAPI from './events';
|
|
15
|
+
import { EventReportParams, EventReportResponse, Events } from './events';
|
|
16
|
+
import * as FeaturesAPI from './features';
|
|
17
|
+
import {
|
|
18
|
+
Feature,
|
|
19
|
+
FeatureCreateFeatureParams,
|
|
20
|
+
FeatureListFeaturesParams,
|
|
21
|
+
FeatureListFeaturesResponse,
|
|
22
|
+
FeatureListFeaturesResponsesMyCursorIDPage,
|
|
23
|
+
FeatureUpdateFeatureParams,
|
|
24
|
+
Features,
|
|
25
|
+
} from './features';
|
|
14
26
|
import * as ProductsAPI from './products';
|
|
15
27
|
import {
|
|
16
|
-
|
|
28
|
+
Product,
|
|
17
29
|
ProductCreateProductParams,
|
|
18
|
-
ProductCreateProductResponse,
|
|
19
30
|
ProductDuplicateProductParams,
|
|
20
|
-
ProductDuplicateProductResponse,
|
|
21
31
|
ProductListProductsParams,
|
|
22
32
|
ProductListProductsResponse,
|
|
23
33
|
ProductListProductsResponsesMyCursorIDPage,
|
|
24
|
-
ProductUnarchiveProductResponse,
|
|
25
34
|
ProductUpdateProductParams,
|
|
26
|
-
ProductUpdateProductResponse,
|
|
27
35
|
Products,
|
|
28
36
|
} from './products';
|
|
29
37
|
import * as UsageAPI from './usage';
|
|
@@ -34,10 +42,35 @@ import {
|
|
|
34
42
|
UsageReportParams,
|
|
35
43
|
UsageReportResponse,
|
|
36
44
|
} from './usage';
|
|
45
|
+
import * as AddonsAPI from './addons/addons';
|
|
46
|
+
import {
|
|
47
|
+
Addon,
|
|
48
|
+
AddonCreateParams,
|
|
49
|
+
AddonListParams,
|
|
50
|
+
AddonListResponse,
|
|
51
|
+
AddonListResponsesMyCursorIDPage,
|
|
52
|
+
AddonPublishParams,
|
|
53
|
+
AddonPublishResponse,
|
|
54
|
+
AddonRemoveDraftResponse,
|
|
55
|
+
AddonUpdateParams,
|
|
56
|
+
Addons,
|
|
57
|
+
} from './addons/addons';
|
|
58
|
+
import * as CreditsAPI from './credits/credits';
|
|
59
|
+
import {
|
|
60
|
+
CreditGetUsageParams,
|
|
61
|
+
CreditGetUsageResponse,
|
|
62
|
+
CreditListLedgerParams,
|
|
63
|
+
CreditListLedgerResponse,
|
|
64
|
+
CreditListLedgerResponsesMyCursorIDPage,
|
|
65
|
+
Credits,
|
|
66
|
+
} from './credits/credits';
|
|
37
67
|
import * as CustomersAPI from './customers/customers';
|
|
38
68
|
import {
|
|
69
|
+
CustomerCheckEntitlementParams,
|
|
70
|
+
CustomerCheckEntitlementResponse,
|
|
39
71
|
CustomerImportParams,
|
|
40
72
|
CustomerImportResponse,
|
|
73
|
+
CustomerIntegrationResponse,
|
|
41
74
|
CustomerListParams,
|
|
42
75
|
CustomerListResourcesParams,
|
|
43
76
|
CustomerListResourcesResponse,
|
|
@@ -46,11 +79,24 @@ import {
|
|
|
46
79
|
CustomerListResponsesMyCursorIDPage,
|
|
47
80
|
CustomerProvisionParams,
|
|
48
81
|
CustomerResponse,
|
|
82
|
+
CustomerRetrieveEntitlementsParams,
|
|
83
|
+
CustomerRetrieveEntitlementsResponse,
|
|
49
84
|
CustomerUpdateParams,
|
|
50
85
|
Customers,
|
|
51
86
|
} from './customers/customers';
|
|
52
|
-
import * as
|
|
53
|
-
import {
|
|
87
|
+
import * as PlansAPI from './plans/plans';
|
|
88
|
+
import {
|
|
89
|
+
Plan,
|
|
90
|
+
PlanCreateParams,
|
|
91
|
+
PlanListParams,
|
|
92
|
+
PlanListResponse,
|
|
93
|
+
PlanListResponsesMyCursorIDPage,
|
|
94
|
+
PlanPublishParams,
|
|
95
|
+
PlanPublishResponse,
|
|
96
|
+
PlanRemoveDraftResponse,
|
|
97
|
+
PlanUpdateParams,
|
|
98
|
+
Plans,
|
|
99
|
+
} from './plans/plans';
|
|
54
100
|
import * as SubscriptionsAPI from './subscriptions/subscriptions';
|
|
55
101
|
import {
|
|
56
102
|
Subscription,
|
|
@@ -76,6 +122,10 @@ export class V1 extends APIResource {
|
|
|
76
122
|
subscriptions: SubscriptionsAPI.Subscriptions = new SubscriptionsAPI.Subscriptions(this._client);
|
|
77
123
|
coupons: CouponsAPI.Coupons = new CouponsAPI.Coupons(this._client);
|
|
78
124
|
events: EventsAPI.Events = new EventsAPI.Events(this._client);
|
|
125
|
+
credits: CreditsAPI.Credits = new CreditsAPI.Credits(this._client);
|
|
126
|
+
features: FeaturesAPI.Features = new FeaturesAPI.Features(this._client);
|
|
127
|
+
addons: AddonsAPI.Addons = new AddonsAPI.Addons(this._client);
|
|
128
|
+
plans: PlansAPI.Plans = new PlansAPI.Plans(this._client);
|
|
79
129
|
usage: UsageAPI.Usage = new UsageAPI.Usage(this._client);
|
|
80
130
|
products: ProductsAPI.Products = new ProductsAPI.Products(this._client);
|
|
81
131
|
}
|
|
@@ -84,23 +134,32 @@ V1.Customers = Customers;
|
|
|
84
134
|
V1.Subscriptions = Subscriptions;
|
|
85
135
|
V1.Coupons = Coupons;
|
|
86
136
|
V1.Events = Events;
|
|
137
|
+
V1.Credits = Credits;
|
|
138
|
+
V1.Features = Features;
|
|
139
|
+
V1.Addons = Addons;
|
|
140
|
+
V1.Plans = Plans;
|
|
87
141
|
V1.Usage = Usage;
|
|
88
142
|
V1.Products = Products;
|
|
89
143
|
|
|
90
144
|
export declare namespace V1 {
|
|
91
145
|
export {
|
|
92
146
|
Customers as Customers,
|
|
147
|
+
type CustomerIntegrationResponse as CustomerIntegrationResponse,
|
|
93
148
|
type CustomerResponse as CustomerResponse,
|
|
94
149
|
type CustomerListResponse as CustomerListResponse,
|
|
150
|
+
type CustomerCheckEntitlementResponse as CustomerCheckEntitlementResponse,
|
|
95
151
|
type CustomerImportResponse as CustomerImportResponse,
|
|
96
152
|
type CustomerListResourcesResponse as CustomerListResourcesResponse,
|
|
153
|
+
type CustomerRetrieveEntitlementsResponse as CustomerRetrieveEntitlementsResponse,
|
|
97
154
|
type CustomerListResponsesMyCursorIDPage as CustomerListResponsesMyCursorIDPage,
|
|
98
155
|
type CustomerListResourcesResponsesMyCursorIDPage as CustomerListResourcesResponsesMyCursorIDPage,
|
|
99
156
|
type CustomerUpdateParams as CustomerUpdateParams,
|
|
100
157
|
type CustomerListParams as CustomerListParams,
|
|
158
|
+
type CustomerCheckEntitlementParams as CustomerCheckEntitlementParams,
|
|
101
159
|
type CustomerImportParams as CustomerImportParams,
|
|
102
160
|
type CustomerListResourcesParams as CustomerListResourcesParams,
|
|
103
161
|
type CustomerProvisionParams as CustomerProvisionParams,
|
|
162
|
+
type CustomerRetrieveEntitlementsParams as CustomerRetrieveEntitlementsParams,
|
|
104
163
|
};
|
|
105
164
|
|
|
106
165
|
export {
|
|
@@ -138,6 +197,51 @@ export declare namespace V1 {
|
|
|
138
197
|
type EventReportParams as EventReportParams,
|
|
139
198
|
};
|
|
140
199
|
|
|
200
|
+
export {
|
|
201
|
+
Credits as Credits,
|
|
202
|
+
type CreditGetUsageResponse as CreditGetUsageResponse,
|
|
203
|
+
type CreditListLedgerResponse as CreditListLedgerResponse,
|
|
204
|
+
type CreditListLedgerResponsesMyCursorIDPage as CreditListLedgerResponsesMyCursorIDPage,
|
|
205
|
+
type CreditGetUsageParams as CreditGetUsageParams,
|
|
206
|
+
type CreditListLedgerParams as CreditListLedgerParams,
|
|
207
|
+
};
|
|
208
|
+
|
|
209
|
+
export {
|
|
210
|
+
Features as Features,
|
|
211
|
+
type Feature as Feature,
|
|
212
|
+
type FeatureListFeaturesResponse as FeatureListFeaturesResponse,
|
|
213
|
+
type FeatureListFeaturesResponsesMyCursorIDPage as FeatureListFeaturesResponsesMyCursorIDPage,
|
|
214
|
+
type FeatureCreateFeatureParams as FeatureCreateFeatureParams,
|
|
215
|
+
type FeatureListFeaturesParams as FeatureListFeaturesParams,
|
|
216
|
+
type FeatureUpdateFeatureParams as FeatureUpdateFeatureParams,
|
|
217
|
+
};
|
|
218
|
+
|
|
219
|
+
export {
|
|
220
|
+
Addons as Addons,
|
|
221
|
+
type Addon as Addon,
|
|
222
|
+
type AddonListResponse as AddonListResponse,
|
|
223
|
+
type AddonPublishResponse as AddonPublishResponse,
|
|
224
|
+
type AddonRemoveDraftResponse as AddonRemoveDraftResponse,
|
|
225
|
+
type AddonListResponsesMyCursorIDPage as AddonListResponsesMyCursorIDPage,
|
|
226
|
+
type AddonCreateParams as AddonCreateParams,
|
|
227
|
+
type AddonUpdateParams as AddonUpdateParams,
|
|
228
|
+
type AddonListParams as AddonListParams,
|
|
229
|
+
type AddonPublishParams as AddonPublishParams,
|
|
230
|
+
};
|
|
231
|
+
|
|
232
|
+
export {
|
|
233
|
+
Plans as Plans,
|
|
234
|
+
type Plan as Plan,
|
|
235
|
+
type PlanListResponse as PlanListResponse,
|
|
236
|
+
type PlanPublishResponse as PlanPublishResponse,
|
|
237
|
+
type PlanRemoveDraftResponse as PlanRemoveDraftResponse,
|
|
238
|
+
type PlanListResponsesMyCursorIDPage as PlanListResponsesMyCursorIDPage,
|
|
239
|
+
type PlanCreateParams as PlanCreateParams,
|
|
240
|
+
type PlanUpdateParams as PlanUpdateParams,
|
|
241
|
+
type PlanListParams as PlanListParams,
|
|
242
|
+
type PlanPublishParams as PlanPublishParams,
|
|
243
|
+
};
|
|
244
|
+
|
|
141
245
|
export {
|
|
142
246
|
Usage as Usage,
|
|
143
247
|
type UsageHistoryResponse as UsageHistoryResponse,
|
|
@@ -148,12 +252,8 @@ export declare namespace V1 {
|
|
|
148
252
|
|
|
149
253
|
export {
|
|
150
254
|
Products as Products,
|
|
151
|
-
type
|
|
152
|
-
type ProductCreateProductResponse as ProductCreateProductResponse,
|
|
153
|
-
type ProductDuplicateProductResponse as ProductDuplicateProductResponse,
|
|
255
|
+
type Product as Product,
|
|
154
256
|
type ProductListProductsResponse as ProductListProductsResponse,
|
|
155
|
-
type ProductUnarchiveProductResponse as ProductUnarchiveProductResponse,
|
|
156
|
-
type ProductUpdateProductResponse as ProductUpdateProductResponse,
|
|
157
257
|
type ProductListProductsResponsesMyCursorIDPage as ProductListProductsResponsesMyCursorIDPage,
|
|
158
258
|
type ProductCreateProductParams as ProductCreateProductParams,
|
|
159
259
|
type ProductDuplicateProductParams as ProductDuplicateProductParams,
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.1.0-
|
|
1
|
+
export const VERSION = '0.1.0-beta.2'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.1.0-
|
|
1
|
+
export declare const VERSION = "0.1.0-beta.2";
|
|
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,iBAAiB,CAAC"}
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.1.0-
|
|
1
|
+
export declare const VERSION = "0.1.0-beta.2";
|
|
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,iBAAiB,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-
|
|
4
|
+
exports.VERSION = '0.1.0-beta.2'; // 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,cAAc,CAAC,CAAC,2BAA2B"}
|
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.1.0-
|
|
1
|
+
export const VERSION = '0.1.0-beta.2'; // 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,cAAc,CAAC,CAAC,2BAA2B"}
|