@stigg/typescript 0.1.0-beta.20 → 0.1.0-beta.22
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 +16 -0
- package/client.d.mts +3 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts +3 -0
- package/client.d.ts.map +1 -1
- package/client.js +3 -0
- package/client.js.map +1 -1
- package/client.mjs +3 -0
- package/client.mjs.map +1 -1
- package/package.json +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 +145 -94
- package/resources/v1/addons/addons.d.mts.map +1 -1
- package/resources/v1/addons/addons.d.ts +145 -94
- package/resources/v1/addons/addons.d.ts.map +1 -1
- package/resources/v1/addons/addons.js +110 -76
- package/resources/v1/addons/addons.js.map +1 -1
- package/resources/v1/addons/addons.mjs +110 -76
- package/resources/v1/addons/addons.mjs.map +1 -1
- package/resources/v1/addons/entitlements.d.mts +62 -36
- package/resources/v1/addons/entitlements.d.mts.map +1 -1
- package/resources/v1/addons/entitlements.d.ts +62 -36
- package/resources/v1/addons/entitlements.d.ts.map +1 -1
- package/resources/v1/addons/entitlements.js +49 -39
- package/resources/v1/addons/entitlements.js.map +1 -1
- package/resources/v1/addons/entitlements.mjs +49 -39
- 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/coupons.d.mts +81 -57
- package/resources/v1/coupons.d.mts.map +1 -1
- package/resources/v1/coupons.d.ts +81 -57
- package/resources/v1/coupons.d.ts.map +1 -1
- package/resources/v1/coupons.js +60 -45
- package/resources/v1/coupons.js.map +1 -1
- package/resources/v1/coupons.mjs +60 -45
- package/resources/v1/coupons.mjs.map +1 -1
- package/resources/v1/credits/credits.d.mts +60 -52
- package/resources/v1/credits/credits.d.mts.map +1 -1
- package/resources/v1/credits/credits.d.ts +60 -52
- package/resources/v1/credits/credits.d.ts.map +1 -1
- package/resources/v1/credits/credits.js +36 -30
- package/resources/v1/credits/credits.js.map +1 -1
- package/resources/v1/credits/credits.mjs +36 -30
- package/resources/v1/credits/credits.mjs.map +1 -1
- package/resources/v1/credits/custom-currencies.d.mts +98 -74
- package/resources/v1/credits/custom-currencies.d.mts.map +1 -1
- package/resources/v1/credits/custom-currencies.d.ts +98 -74
- package/resources/v1/credits/custom-currencies.d.ts.map +1 -1
- package/resources/v1/credits/custom-currencies.js +76 -61
- package/resources/v1/credits/custom-currencies.js.map +1 -1
- package/resources/v1/credits/custom-currencies.mjs +76 -61
- package/resources/v1/credits/custom-currencies.mjs.map +1 -1
- package/resources/v1/credits/grants.d.mts +63 -54
- package/resources/v1/credits/grants.d.mts.map +1 -1
- package/resources/v1/credits/grants.d.ts +63 -54
- package/resources/v1/credits/grants.d.ts.map +1 -1
- package/resources/v1/credits/grants.js +35 -33
- package/resources/v1/credits/grants.js.map +1 -1
- package/resources/v1/credits/grants.mjs +35 -33
- package/resources/v1/credits/grants.mjs.map +1 -1
- package/resources/v1/credits/index.d.mts +2 -2
- package/resources/v1/credits/index.d.mts.map +1 -1
- package/resources/v1/credits/index.d.ts +2 -2
- package/resources/v1/credits/index.d.ts.map +1 -1
- package/resources/v1/credits/index.js.map +1 -1
- package/resources/v1/credits/index.mjs.map +1 -1
- package/resources/v1/customers/customers.d.mts +167 -127
- package/resources/v1/customers/customers.d.mts.map +1 -1
- package/resources/v1/customers/customers.d.ts +167 -127
- package/resources/v1/customers/customers.d.ts.map +1 -1
- package/resources/v1/customers/customers.js +124 -96
- package/resources/v1/customers/customers.js.map +1 -1
- package/resources/v1/customers/customers.mjs +124 -96
- 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 +66 -58
- package/resources/v1/customers/integrations.d.mts.map +1 -1
- package/resources/v1/customers/integrations.d.ts +66 -58
- package/resources/v1/customers/integrations.d.ts.map +1 -1
- package/resources/v1/customers/integrations.js +57 -56
- package/resources/v1/customers/integrations.js.map +1 -1
- package/resources/v1/customers/integrations.mjs +57 -56
- package/resources/v1/customers/integrations.mjs.map +1 -1
- package/resources/v1/customers/payment-method.d.mts +33 -25
- package/resources/v1/customers/payment-method.d.mts.map +1 -1
- package/resources/v1/customers/payment-method.d.ts +33 -25
- package/resources/v1/customers/payment-method.d.ts.map +1 -1
- package/resources/v1/customers/payment-method.js +26 -20
- package/resources/v1/customers/payment-method.js.map +1 -1
- package/resources/v1/customers/payment-method.mjs +26 -20
- package/resources/v1/customers/payment-method.mjs.map +1 -1
- package/resources/v1/customers/promotional-entitlements.d.mts +42 -60
- package/resources/v1/customers/promotional-entitlements.d.mts.map +1 -1
- package/resources/v1/customers/promotional-entitlements.d.ts +42 -60
- package/resources/v1/customers/promotional-entitlements.d.ts.map +1 -1
- package/resources/v1/customers/promotional-entitlements.js +38 -57
- package/resources/v1/customers/promotional-entitlements.js.map +1 -1
- package/resources/v1/customers/promotional-entitlements.mjs +38 -57
- package/resources/v1/customers/promotional-entitlements.mjs.map +1 -1
- package/resources/v1/events/data-export/data-export.d.mts +29 -21
- package/resources/v1/events/data-export/data-export.d.mts.map +1 -1
- package/resources/v1/events/data-export/data-export.d.ts +29 -21
- package/resources/v1/events/data-export/data-export.d.ts.map +1 -1
- package/resources/v1/events/data-export/data-export.js +27 -18
- package/resources/v1/events/data-export/data-export.js.map +1 -1
- package/resources/v1/events/data-export/data-export.mjs +27 -18
- package/resources/v1/events/data-export/data-export.mjs.map +1 -1
- package/resources/v1/events/data-export/destinations.d.mts +29 -22
- package/resources/v1/events/data-export/destinations.d.mts.map +1 -1
- package/resources/v1/events/data-export/destinations.d.ts +29 -22
- package/resources/v1/events/data-export/destinations.d.ts.map +1 -1
- package/resources/v1/events/data-export/destinations.js +26 -21
- package/resources/v1/events/data-export/destinations.js.map +1 -1
- package/resources/v1/events/data-export/destinations.mjs +26 -21
- package/resources/v1/events/data-export/destinations.mjs.map +1 -1
- package/resources/v1/events/data-export/index.d.mts +1 -1
- package/resources/v1/events/data-export/index.d.mts.map +1 -1
- package/resources/v1/events/data-export/index.d.ts +1 -1
- package/resources/v1/events/data-export/index.d.ts.map +1 -1
- package/resources/v1/events/data-export/index.js.map +1 -1
- package/resources/v1/events/data-export/index.mjs.map +1 -1
- package/resources/v1/events/events.d.mts +13 -19
- package/resources/v1/events/events.d.mts.map +1 -1
- package/resources/v1/events/events.d.ts +13 -19
- package/resources/v1/events/events.d.ts.map +1 -1
- package/resources/v1/events/events.js +14 -19
- package/resources/v1/events/events.js.map +1 -1
- package/resources/v1/events/events.mjs +14 -19
- package/resources/v1/events/events.mjs.map +1 -1
- package/resources/v1/events/index.d.mts +0 -1
- package/resources/v1/events/index.d.mts.map +1 -1
- package/resources/v1/events/index.d.ts +0 -1
- package/resources/v1/events/index.d.ts.map +1 -1
- package/resources/v1/events/index.js +3 -5
- package/resources/v1/events/index.js.map +1 -1
- package/resources/v1/events/index.mjs +0 -1
- package/resources/v1/events/index.mjs.map +1 -1
- package/resources/v1/features.d.mts +109 -74
- package/resources/v1/features.d.mts.map +1 -1
- package/resources/v1/features.d.ts +109 -74
- package/resources/v1/features.d.ts.map +1 -1
- package/resources/v1/features.js +72 -54
- package/resources/v1/features.js.map +1 -1
- package/resources/v1/features.mjs +72 -54
- package/resources/v1/features.mjs.map +1 -1
- package/resources/v1/index.d.mts +7 -7
- package/resources/v1/index.d.mts.map +1 -1
- package/resources/v1/index.d.ts +7 -7
- package/resources/v1/index.d.ts.map +1 -1
- package/resources/v1/index.js.map +1 -1
- package/resources/v1/index.mjs.map +1 -1
- package/resources/v1/plans/entitlements.d.mts +62 -36
- package/resources/v1/plans/entitlements.d.mts.map +1 -1
- package/resources/v1/plans/entitlements.d.ts +62 -36
- package/resources/v1/plans/entitlements.d.ts.map +1 -1
- package/resources/v1/plans/entitlements.js +49 -39
- package/resources/v1/plans/entitlements.js.map +1 -1
- package/resources/v1/plans/entitlements.mjs +49 -39
- 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 +159 -106
- package/resources/v1/plans/plans.d.mts.map +1 -1
- package/resources/v1/plans/plans.d.ts +159 -106
- package/resources/v1/plans/plans.d.ts.map +1 -1
- package/resources/v1/plans/plans.js +127 -89
- package/resources/v1/plans/plans.js.map +1 -1
- package/resources/v1/plans/plans.mjs +127 -89
- package/resources/v1/plans/plans.mjs.map +1 -1
- package/resources/v1/products.d.mts +97 -66
- package/resources/v1/products.d.mts.map +1 -1
- package/resources/v1/products.d.ts +97 -66
- package/resources/v1/products.d.ts.map +1 -1
- package/resources/v1/products.js +73 -54
- package/resources/v1/products.js.map +1 -1
- package/resources/v1/products.mjs +73 -54
- package/resources/v1/products.mjs.map +1 -1
- package/resources/v1/subscriptions/future-update.d.mts +29 -19
- package/resources/v1/subscriptions/future-update.d.mts.map +1 -1
- package/resources/v1/subscriptions/future-update.d.ts +29 -19
- package/resources/v1/subscriptions/future-update.d.ts.map +1 -1
- package/resources/v1/subscriptions/future-update.js +25 -20
- package/resources/v1/subscriptions/future-update.js.map +1 -1
- package/resources/v1/subscriptions/future-update.mjs +25 -20
- 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 -8
- package/resources/v1/subscriptions/invoice.d.mts.map +1 -1
- package/resources/v1/subscriptions/invoice.d.ts +15 -8
- package/resources/v1/subscriptions/invoice.d.ts.map +1 -1
- package/resources/v1/subscriptions/invoice.js +13 -8
- package/resources/v1/subscriptions/invoice.js.map +1 -1
- package/resources/v1/subscriptions/invoice.mjs +13 -8
- package/resources/v1/subscriptions/invoice.mjs.map +1 -1
- package/resources/v1/subscriptions/subscriptions.d.mts +244 -161
- package/resources/v1/subscriptions/subscriptions.d.mts.map +1 -1
- package/resources/v1/subscriptions/subscriptions.d.ts +244 -161
- package/resources/v1/subscriptions/subscriptions.d.ts.map +1 -1
- package/resources/v1/subscriptions/subscriptions.js +126 -100
- package/resources/v1/subscriptions/subscriptions.js.map +1 -1
- package/resources/v1/subscriptions/subscriptions.mjs +128 -102
- package/resources/v1/subscriptions/subscriptions.mjs.map +1 -1
- package/resources/v1/subscriptions/usage.d.mts +29 -17
- package/resources/v1/subscriptions/usage.d.mts.map +1 -1
- package/resources/v1/subscriptions/usage.d.ts +29 -17
- package/resources/v1/subscriptions/usage.d.ts.map +1 -1
- package/resources/v1/subscriptions/usage.js +26 -17
- package/resources/v1/subscriptions/usage.js.map +1 -1
- package/resources/v1/subscriptions/usage.mjs +26 -17
- package/resources/v1/subscriptions/usage.mjs.map +1 -1
- package/resources/v1/usage.d.mts +24 -26
- package/resources/v1/usage.d.mts.map +1 -1
- package/resources/v1/usage.d.ts +24 -26
- package/resources/v1/usage.d.ts.map +1 -1
- package/resources/v1/usage.js +26 -28
- package/resources/v1/usage.js.map +1 -1
- package/resources/v1/usage.mjs +26 -28
- package/resources/v1/usage.mjs.map +1 -1
- package/resources/v1/v1.d.mts +14 -14
- package/resources/v1/v1.d.mts.map +1 -1
- package/resources/v1/v1.d.ts +14 -14
- package/resources/v1/v1.d.ts.map +1 -1
- package/resources/v1/v1.js.map +1 -1
- package/resources/v1/v1.mjs.map +1 -1
- package/resources/v1-beta/customers/assignments.d.mts +242 -0
- package/resources/v1-beta/customers/assignments.d.mts.map +1 -0
- package/resources/v1-beta/customers/assignments.d.ts +242 -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/events/beta → v1-beta}/customers/customers.d.mts +1 -1
- package/resources/v1-beta/customers/customers.d.mts.map +1 -0
- package/resources/{v1/events/beta → v1-beta}/customers/customers.d.ts +1 -1
- package/resources/v1-beta/customers/customers.d.ts.map +1 -0
- package/resources/{v1/events/beta → v1-beta}/customers/customers.js +2 -2
- package/resources/v1-beta/customers/customers.js.map +1 -0
- package/resources/{v1/events/beta → v1-beta}/customers/customers.mjs +1 -1
- package/resources/v1-beta/customers/customers.mjs.map +1 -0
- package/resources/{v1/events/beta → v1-beta}/customers/entities.d.mts +94 -47
- package/resources/v1-beta/customers/entities.d.mts.map +1 -0
- package/resources/{v1/events/beta → v1-beta}/customers/entities.d.ts +94 -47
- 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/events/beta → v1-beta}/customers/entitlements.d.mts +27 -16
- package/resources/v1-beta/customers/entitlements.d.mts.map +1 -0
- package/resources/{v1/events/beta → v1-beta}/customers/entitlements.d.ts +27 -16
- 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.map +1 -0
- package/resources/v1-beta/customers/index.d.ts.map +1 -0
- package/resources/v1-beta/customers/index.js.map +1 -0
- package/resources/v1-beta/customers/index.mjs.map +1 -0
- package/resources/v1-beta/customers.d.mts.map +1 -0
- package/resources/v1-beta/customers.d.ts.map +1 -0
- package/resources/{v1/events/beta → v1-beta}/customers.js +1 -1
- package/resources/v1-beta/customers.js.map +1 -0
- package/resources/v1-beta/customers.mjs.map +1 -0
- package/resources/{v1/events/beta → v1-beta}/entity-types.d.mts +44 -23
- package/resources/v1-beta/entity-types.d.mts.map +1 -0
- package/resources/{v1/events/beta → v1-beta}/entity-types.d.ts +44 -23
- 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/events/beta → v1-beta}/index.d.mts +1 -1
- package/resources/v1-beta/index.d.mts.map +1 -0
- package/resources/{v1/events/beta → v1-beta}/index.d.ts +1 -1
- package/resources/v1-beta/index.d.ts.map +1 -0
- package/resources/{v1/events/beta → v1-beta}/index.js +3 -3
- package/resources/v1-beta/index.js.map +1 -0
- package/resources/{v1/events/beta → v1-beta}/index.mjs +1 -1
- package/resources/v1-beta/index.mjs.map +1 -0
- package/resources/{v1/events/beta/beta.d.mts → v1-beta/v1-beta.d.mts} +4 -4
- package/resources/v1-beta/v1-beta.d.mts.map +1 -0
- package/resources/{v1/events/beta/beta.d.ts → v1-beta/v1-beta.d.ts} +4 -4
- package/resources/v1-beta/v1-beta.d.ts.map +1 -0
- package/resources/{v1/events/beta/beta.js → v1-beta/v1-beta.js} +8 -8
- package/resources/v1-beta/v1-beta.js.map +1 -0
- package/resources/{v1/events/beta/beta.mjs → v1-beta/v1-beta.mjs} +5 -5
- 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/events/beta.js → v1-beta.js} +3 -3
- package/resources/v1-beta.js.map +1 -0
- package/resources/{v1/events/beta.mjs → v1-beta.mjs} +2 -2
- package/resources/v1-beta.mjs.map +1 -0
- package/src/client.ts +5 -0
- package/src/resources/index.ts +1 -0
- package/src/resources/v1/addons/addons.ts +293 -105
- package/src/resources/v1/addons/entitlements.ts +123 -41
- package/src/resources/v1/addons/index.ts +5 -0
- package/src/resources/v1/coupons.ts +158 -63
- package/src/resources/v1/credits/credits.ts +103 -50
- package/src/resources/v1/credits/custom-currencies.ts +191 -82
- package/src/resources/v1/credits/grants.ts +104 -54
- package/src/resources/v1/credits/index.ts +4 -0
- package/src/resources/v1/customers/customers.ts +324 -140
- package/src/resources/v1/customers/index.ts +8 -1
- package/src/resources/v1/customers/integrations.ts +129 -63
- package/src/resources/v1/customers/payment-method.ts +66 -25
- package/src/resources/v1/customers/promotional-entitlements.ts +82 -62
- package/src/resources/v1/events/data-export/data-export.ts +58 -21
- package/src/resources/v1/events/data-export/destinations.ts +61 -23
- package/src/resources/v1/events/data-export/index.ts +1 -0
- package/src/resources/v1/events/events.ts +28 -22
- package/src/resources/v1/events/index.ts +0 -1
- package/src/resources/v1/features.ts +209 -82
- package/src/resources/v1/index.ts +19 -0
- package/src/resources/v1/plans/entitlements.ts +123 -41
- package/src/resources/v1/plans/index.ts +5 -0
- package/src/resources/v1/plans/plans.ts +321 -119
- package/src/resources/v1/products.ts +193 -74
- package/src/resources/v1/subscriptions/future-update.ts +68 -21
- package/src/resources/v1/subscriptions/index.ts +9 -2
- package/src/resources/v1/subscriptions/invoice.ts +36 -9
- package/src/resources/v1/subscriptions/subscriptions.ts +417 -173
- package/src/resources/v1/subscriptions/usage.ts +61 -18
- package/src/resources/v1/usage.ts +53 -29
- package/src/resources/v1/v1.ts +38 -0
- package/src/resources/v1-beta/customers/assignments.ts +328 -0
- package/src/resources/{v1/events/beta → v1-beta}/customers/customers.ts +1 -1
- package/src/resources/{v1/events/beta → v1-beta}/customers/entities.ts +165 -54
- package/src/resources/{v1/events/beta → v1-beta}/customers/entitlements.ts +43 -18
- package/src/resources/{v1/events/beta → v1-beta}/entity-types.ts +70 -25
- package/src/resources/{v1/events/beta → v1-beta}/index.ts +1 -1
- package/src/resources/{v1/events/beta/beta.ts → v1-beta/v1-beta.ts} +5 -5
- package/src/resources/{v1/events/beta.ts → v1-beta.ts} +1 -1
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/v1/events/beta/beta.d.mts.map +0 -1
- package/resources/v1/events/beta/beta.d.ts.map +0 -1
- package/resources/v1/events/beta/beta.js.map +0 -1
- package/resources/v1/events/beta/beta.mjs.map +0 -1
- package/resources/v1/events/beta/customers/assignments.d.mts +0 -178
- package/resources/v1/events/beta/customers/assignments.d.mts.map +0 -1
- package/resources/v1/events/beta/customers/assignments.d.ts +0 -178
- package/resources/v1/events/beta/customers/assignments.d.ts.map +0 -1
- package/resources/v1/events/beta/customers/assignments.js +0 -62
- package/resources/v1/events/beta/customers/assignments.js.map +0 -1
- package/resources/v1/events/beta/customers/assignments.mjs +0 -58
- package/resources/v1/events/beta/customers/assignments.mjs.map +0 -1
- package/resources/v1/events/beta/customers/customers.d.mts.map +0 -1
- package/resources/v1/events/beta/customers/customers.d.ts.map +0 -1
- package/resources/v1/events/beta/customers/customers.js.map +0 -1
- package/resources/v1/events/beta/customers/customers.mjs.map +0 -1
- package/resources/v1/events/beta/customers/entities.d.mts.map +0 -1
- package/resources/v1/events/beta/customers/entities.d.ts.map +0 -1
- package/resources/v1/events/beta/customers/entities.js +0 -105
- package/resources/v1/events/beta/customers/entities.js.map +0 -1
- package/resources/v1/events/beta/customers/entities.mjs +0 -101
- package/resources/v1/events/beta/customers/entities.mjs.map +0 -1
- package/resources/v1/events/beta/customers/entitlements.d.mts.map +0 -1
- package/resources/v1/events/beta/customers/entitlements.d.ts.map +0 -1
- package/resources/v1/events/beta/customers/entitlements.js +0 -26
- package/resources/v1/events/beta/customers/entitlements.js.map +0 -1
- package/resources/v1/events/beta/customers/entitlements.mjs +0 -22
- package/resources/v1/events/beta/customers/entitlements.mjs.map +0 -1
- package/resources/v1/events/beta/customers/index.d.mts.map +0 -1
- package/resources/v1/events/beta/customers/index.d.ts.map +0 -1
- package/resources/v1/events/beta/customers/index.js.map +0 -1
- package/resources/v1/events/beta/customers/index.mjs.map +0 -1
- package/resources/v1/events/beta/customers.d.mts.map +0 -1
- package/resources/v1/events/beta/customers.d.ts.map +0 -1
- package/resources/v1/events/beta/customers.js.map +0 -1
- package/resources/v1/events/beta/customers.mjs.map +0 -1
- package/resources/v1/events/beta/entity-types.d.mts.map +0 -1
- package/resources/v1/events/beta/entity-types.d.ts.map +0 -1
- package/resources/v1/events/beta/entity-types.js +0 -56
- package/resources/v1/events/beta/entity-types.js.map +0 -1
- package/resources/v1/events/beta/entity-types.mjs +0 -52
- package/resources/v1/events/beta/entity-types.mjs.map +0 -1
- package/resources/v1/events/beta/index.d.mts.map +0 -1
- package/resources/v1/events/beta/index.d.ts.map +0 -1
- package/resources/v1/events/beta/index.js.map +0 -1
- package/resources/v1/events/beta/index.mjs.map +0 -1
- package/resources/v1/events/beta.d.mts +0 -2
- package/resources/v1/events/beta.d.mts.map +0 -1
- package/resources/v1/events/beta.d.ts +0 -2
- package/resources/v1/events/beta.d.ts.map +0 -1
- package/resources/v1/events/beta.js.map +0 -1
- package/resources/v1/events/beta.mjs.map +0 -1
- package/src/resources/v1/events/beta/customers/assignments.ts +0 -228
- /package/resources/{v1/events/beta → v1-beta}/customers/index.d.mts +0 -0
- /package/resources/{v1/events/beta → v1-beta}/customers/index.d.ts +0 -0
- /package/resources/{v1/events/beta → v1-beta}/customers/index.js +0 -0
- /package/resources/{v1/events/beta → v1-beta}/customers/index.mjs +0 -0
- /package/resources/{v1/events/beta → v1-beta}/customers.d.mts +0 -0
- /package/resources/{v1/events/beta → v1-beta}/customers.d.ts +0 -0
- /package/resources/{v1/events/beta → v1-beta}/customers.mjs +0 -0
- /package/src/resources/{v1/events/beta → v1-beta}/customers/index.ts +0 -0
- /package/src/resources/{v1/events/beta → v1-beta}/customers.ts +0 -0
|
@@ -8,83 +8,34 @@ import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
|
8
8
|
export declare class CustomCurrencies extends APIResource {
|
|
9
9
|
/**
|
|
10
10
|
* Creates a new custom currency in the environment.
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
* ```ts
|
|
14
|
-
* const customCurrencyResponse =
|
|
15
|
-
* await client.v1.credits.customCurrencies.create({
|
|
16
|
-
* id: 'id',
|
|
17
|
-
* displayName: 'displayName',
|
|
18
|
-
* });
|
|
19
|
-
* ```
|
|
20
|
-
*/
|
|
21
|
-
create(body: CustomCurrencyCreateParams, options?: RequestOptions): APIPromise<CustomCurrencyResponse>;
|
|
11
|
+
*/
|
|
12
|
+
create(params: CustomCurrencyCreateParams, options?: RequestOptions): APIPromise<CustomCurrencyResponse>;
|
|
22
13
|
/**
|
|
23
14
|
* Updates an existing custom currency. Only the supplied fields are modified.
|
|
24
|
-
*
|
|
25
|
-
* @example
|
|
26
|
-
* ```ts
|
|
27
|
-
* const customCurrencyResponse =
|
|
28
|
-
* await client.v1.credits.customCurrencies.update(
|
|
29
|
-
* 'currencyId',
|
|
30
|
-
* );
|
|
31
|
-
* ```
|
|
32
15
|
*/
|
|
33
|
-
update(currencyID: string,
|
|
16
|
+
update(currencyID: string, params: CustomCurrencyUpdateParams, options?: RequestOptions): APIPromise<CustomCurrencyResponse>;
|
|
34
17
|
/**
|
|
35
18
|
* Retrieves a paginated list of custom currencies in the environment. Archived
|
|
36
19
|
* currencies are excluded by default; pass `status=ARCHIVED` (or
|
|
37
20
|
* `status=ACTIVE,ARCHIVED`) to include them.
|
|
38
|
-
*
|
|
39
|
-
* @example
|
|
40
|
-
* ```ts
|
|
41
|
-
* // Automatically fetches more pages as needed.
|
|
42
|
-
* for await (const customCurrencyListResponse of client.v1.credits.customCurrencies.list()) {
|
|
43
|
-
* // ...
|
|
44
|
-
* }
|
|
45
|
-
* ```
|
|
46
21
|
*/
|
|
47
|
-
list(
|
|
22
|
+
list(params?: CustomCurrencyListParams | null | undefined, options?: RequestOptions): PagePromise<CustomCurrencyListResponsesMyCursorIDPage, CustomCurrencyListResponse>;
|
|
48
23
|
/**
|
|
49
24
|
* Archives a custom currency. Fails if the currency is still associated with any
|
|
50
25
|
* active plan or addon — use the associated-entities endpoint first to inspect
|
|
51
26
|
* dependencies.
|
|
52
|
-
*
|
|
53
|
-
* @example
|
|
54
|
-
* ```ts
|
|
55
|
-
* const customCurrencyResponse =
|
|
56
|
-
* await client.v1.credits.customCurrencies.archive(
|
|
57
|
-
* 'currencyId',
|
|
58
|
-
* );
|
|
59
|
-
* ```
|
|
60
27
|
*/
|
|
61
|
-
archive(currencyID: string, options?: RequestOptions): APIPromise<CustomCurrencyResponse>;
|
|
28
|
+
archive(currencyID: string, params?: CustomCurrencyArchiveParams | null | undefined, options?: RequestOptions): APIPromise<CustomCurrencyResponse>;
|
|
62
29
|
/**
|
|
63
30
|
* Lists the active plans and addons that reference a custom currency. Useful
|
|
64
31
|
* before archiving to inspect dependencies.
|
|
65
|
-
*
|
|
66
|
-
* @example
|
|
67
|
-
* ```ts
|
|
68
|
-
* const response =
|
|
69
|
-
* await client.v1.credits.customCurrencies.listAssociatedEntities(
|
|
70
|
-
* 'currencyId',
|
|
71
|
-
* );
|
|
72
|
-
* ```
|
|
73
32
|
*/
|
|
74
|
-
listAssociatedEntities(currencyID: string, options?: RequestOptions): APIPromise<CustomCurrencyListAssociatedEntitiesResponse>;
|
|
33
|
+
listAssociatedEntities(currencyID: string, params?: CustomCurrencyListAssociatedEntitiesParams | null | undefined, options?: RequestOptions): APIPromise<CustomCurrencyListAssociatedEntitiesResponse>;
|
|
75
34
|
/**
|
|
76
35
|
* Restores a previously archived custom currency. Fails if another active currency
|
|
77
36
|
* with the same ID already exists.
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
* ```ts
|
|
81
|
-
* const customCurrencyResponse =
|
|
82
|
-
* await client.v1.credits.customCurrencies.unarchive(
|
|
83
|
-
* 'currencyId',
|
|
84
|
-
* );
|
|
85
|
-
* ```
|
|
86
|
-
*/
|
|
87
|
-
unarchive(currencyID: string, options?: RequestOptions): APIPromise<CustomCurrencyResponse>;
|
|
37
|
+
*/
|
|
38
|
+
unarchive(currencyID: string, params?: CustomCurrencyUnarchiveParams | null | undefined, options?: RequestOptions): APIPromise<CustomCurrencyResponse>;
|
|
88
39
|
}
|
|
89
40
|
export type CustomCurrencyListResponsesMyCursorIDPage = MyCursorIDPage<CustomCurrencyListResponse>;
|
|
90
41
|
/**
|
|
@@ -241,32 +192,43 @@ export declare namespace CustomCurrencyListAssociatedEntitiesResponse {
|
|
|
241
192
|
}
|
|
242
193
|
export interface CustomCurrencyCreateParams {
|
|
243
194
|
/**
|
|
244
|
-
* The unique identifier for the new custom currency
|
|
195
|
+
* Body param: The unique identifier for the new custom currency
|
|
245
196
|
*/
|
|
246
197
|
id: string;
|
|
247
198
|
/**
|
|
248
|
-
* The display name of the custom currency
|
|
199
|
+
* Body param: The display name of the custom currency
|
|
249
200
|
*/
|
|
250
201
|
displayName: string;
|
|
251
202
|
/**
|
|
252
|
-
* Description of the currency
|
|
203
|
+
* Body param: Description of the currency
|
|
253
204
|
*/
|
|
254
205
|
description?: string;
|
|
255
206
|
/**
|
|
256
|
-
* Additional metadata to attach to the custom currency
|
|
207
|
+
* Body param: Additional metadata to attach to the custom currency
|
|
257
208
|
*/
|
|
258
209
|
metadata?: {
|
|
259
210
|
[key: string]: string;
|
|
260
211
|
};
|
|
261
212
|
/**
|
|
262
|
-
* The symbol used to represent the custom currency
|
|
213
|
+
* Body param: The symbol used to represent the custom currency
|
|
263
214
|
*/
|
|
264
215
|
symbol?: string;
|
|
265
216
|
/**
|
|
266
|
-
* Singular and plural unit labels for a custom currency. Both fields
|
|
267
|
-
* when supplied.
|
|
217
|
+
* Body param: Singular and plural unit labels for a custom currency. Both fields
|
|
218
|
+
* are required when supplied.
|
|
268
219
|
*/
|
|
269
220
|
units?: CustomCurrencyCreateParams.Units;
|
|
221
|
+
/**
|
|
222
|
+
* Header param: Account ID — optional when authenticating with a user JWT (Bearer
|
|
223
|
+
* token); falls back to the user's first membership. Ignored for API-key auth.
|
|
224
|
+
*/
|
|
225
|
+
'X-ACCOUNT-ID'?: string;
|
|
226
|
+
/**
|
|
227
|
+
* Header param: Environment ID — required when authenticating with a user JWT
|
|
228
|
+
* (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is
|
|
229
|
+
* intrinsic to the key).
|
|
230
|
+
*/
|
|
231
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
270
232
|
}
|
|
271
233
|
export declare namespace CustomCurrencyCreateParams {
|
|
272
234
|
/**
|
|
@@ -286,29 +248,41 @@ export declare namespace CustomCurrencyCreateParams {
|
|
|
286
248
|
}
|
|
287
249
|
export interface CustomCurrencyUpdateParams {
|
|
288
250
|
/**
|
|
289
|
-
* A human-readable description of the custom currency. Send an empty
|
|
290
|
-
* clear.
|
|
251
|
+
* Body param: A human-readable description of the custom currency. Send an empty
|
|
252
|
+
* string to clear.
|
|
291
253
|
*/
|
|
292
254
|
description?: string | null;
|
|
293
255
|
/**
|
|
294
|
-
* The display name of the custom currency
|
|
256
|
+
* Body param: The display name of the custom currency
|
|
295
257
|
*/
|
|
296
258
|
displayName?: string;
|
|
297
259
|
/**
|
|
298
|
-
* Additional metadata to attach to the custom currency
|
|
260
|
+
* Body param: Additional metadata to attach to the custom currency
|
|
299
261
|
*/
|
|
300
262
|
metadata?: {
|
|
301
263
|
[key: string]: string;
|
|
302
264
|
} | null;
|
|
303
265
|
/**
|
|
304
|
-
* The symbol used to represent the custom currency. Send an empty
|
|
266
|
+
* Body param: The symbol used to represent the custom currency. Send an empty
|
|
267
|
+
* string to clear.
|
|
305
268
|
*/
|
|
306
269
|
symbol?: string | null;
|
|
307
270
|
/**
|
|
308
|
-
* Singular and plural unit labels for a custom currency. Both fields
|
|
309
|
-
* when supplied.
|
|
271
|
+
* Body param: Singular and plural unit labels for a custom currency. Both fields
|
|
272
|
+
* are required when supplied.
|
|
310
273
|
*/
|
|
311
274
|
units?: CustomCurrencyUpdateParams.Units;
|
|
275
|
+
/**
|
|
276
|
+
* Header param: Account ID — optional when authenticating with a user JWT (Bearer
|
|
277
|
+
* token); falls back to the user's first membership. Ignored for API-key auth.
|
|
278
|
+
*/
|
|
279
|
+
'X-ACCOUNT-ID'?: string;
|
|
280
|
+
/**
|
|
281
|
+
* Header param: Environment ID — required when authenticating with a user JWT
|
|
282
|
+
* (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is
|
|
283
|
+
* intrinsic to the key).
|
|
284
|
+
*/
|
|
285
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
312
286
|
}
|
|
313
287
|
export declare namespace CustomCurrencyUpdateParams {
|
|
314
288
|
/**
|
|
@@ -328,12 +302,62 @@ export declare namespace CustomCurrencyUpdateParams {
|
|
|
328
302
|
}
|
|
329
303
|
export interface CustomCurrencyListParams extends MyCursorIDPageParams {
|
|
330
304
|
/**
|
|
331
|
-
* Filter by custom currency status. Supports comma-separated values
|
|
332
|
-
* `ACTIVE,ARCHIVED`). Defaults to `ACTIVE`.
|
|
305
|
+
* Query param: Filter by custom currency status. Supports comma-separated values
|
|
306
|
+
* (e.g., `ACTIVE,ARCHIVED`). Defaults to `ACTIVE`.
|
|
333
307
|
*/
|
|
334
308
|
status?: Array<'ACTIVE' | 'ARCHIVED'>;
|
|
309
|
+
/**
|
|
310
|
+
* Header param: Account ID — optional when authenticating with a user JWT (Bearer
|
|
311
|
+
* token); falls back to the user's first membership. Ignored for API-key auth.
|
|
312
|
+
*/
|
|
313
|
+
'X-ACCOUNT-ID'?: string;
|
|
314
|
+
/**
|
|
315
|
+
* Header param: Environment ID — required when authenticating with a user JWT
|
|
316
|
+
* (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is
|
|
317
|
+
* intrinsic to the key).
|
|
318
|
+
*/
|
|
319
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
320
|
+
}
|
|
321
|
+
export interface CustomCurrencyArchiveParams {
|
|
322
|
+
/**
|
|
323
|
+
* Account ID — optional when authenticating with a user JWT (Bearer token); falls
|
|
324
|
+
* back to the user's first membership. Ignored for API-key auth.
|
|
325
|
+
*/
|
|
326
|
+
'X-ACCOUNT-ID'?: string;
|
|
327
|
+
/**
|
|
328
|
+
* Environment ID — required when authenticating with a user JWT (Bearer token) on
|
|
329
|
+
* environment-scoped endpoints. Ignored for API-key auth (env is intrinsic to the
|
|
330
|
+
* key).
|
|
331
|
+
*/
|
|
332
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
333
|
+
}
|
|
334
|
+
export interface CustomCurrencyListAssociatedEntitiesParams {
|
|
335
|
+
/**
|
|
336
|
+
* Account ID — optional when authenticating with a user JWT (Bearer token); falls
|
|
337
|
+
* back to the user's first membership. Ignored for API-key auth.
|
|
338
|
+
*/
|
|
339
|
+
'X-ACCOUNT-ID'?: string;
|
|
340
|
+
/**
|
|
341
|
+
* Environment ID — required when authenticating with a user JWT (Bearer token) on
|
|
342
|
+
* environment-scoped endpoints. Ignored for API-key auth (env is intrinsic to the
|
|
343
|
+
* key).
|
|
344
|
+
*/
|
|
345
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
346
|
+
}
|
|
347
|
+
export interface CustomCurrencyUnarchiveParams {
|
|
348
|
+
/**
|
|
349
|
+
* Account ID — optional when authenticating with a user JWT (Bearer token); falls
|
|
350
|
+
* back to the user's first membership. Ignored for API-key auth.
|
|
351
|
+
*/
|
|
352
|
+
'X-ACCOUNT-ID'?: string;
|
|
353
|
+
/**
|
|
354
|
+
* Environment ID — required when authenticating with a user JWT (Bearer token) on
|
|
355
|
+
* environment-scoped endpoints. Ignored for API-key auth (env is intrinsic to the
|
|
356
|
+
* key).
|
|
357
|
+
*/
|
|
358
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
335
359
|
}
|
|
336
360
|
export declare namespace CustomCurrencies {
|
|
337
|
-
export { type CustomCurrencyResponse as CustomCurrencyResponse, type CustomCurrencyListResponse as CustomCurrencyListResponse, type CustomCurrencyListAssociatedEntitiesResponse as CustomCurrencyListAssociatedEntitiesResponse, type CustomCurrencyListResponsesMyCursorIDPage as CustomCurrencyListResponsesMyCursorIDPage, type CustomCurrencyCreateParams as CustomCurrencyCreateParams, type CustomCurrencyUpdateParams as CustomCurrencyUpdateParams, type CustomCurrencyListParams as CustomCurrencyListParams, };
|
|
361
|
+
export { type CustomCurrencyResponse as CustomCurrencyResponse, type CustomCurrencyListResponse as CustomCurrencyListResponse, type CustomCurrencyListAssociatedEntitiesResponse as CustomCurrencyListAssociatedEntitiesResponse, type CustomCurrencyListResponsesMyCursorIDPage as CustomCurrencyListResponsesMyCursorIDPage, type CustomCurrencyCreateParams as CustomCurrencyCreateParams, type CustomCurrencyUpdateParams as CustomCurrencyUpdateParams, type CustomCurrencyListParams as CustomCurrencyListParams, type CustomCurrencyArchiveParams as CustomCurrencyArchiveParams, type CustomCurrencyListAssociatedEntitiesParams as CustomCurrencyListAssociatedEntitiesParams, type CustomCurrencyUnarchiveParams as CustomCurrencyUnarchiveParams, };
|
|
338
362
|
}
|
|
339
363
|
//# sourceMappingURL=custom-currencies.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-currencies.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/credits/custom-currencies.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,EAAE,UAAU,EAAE,sCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,KAAK,oBAAoB,EAAE,WAAW,EAAE,qCAAiC;
|
|
1
|
+
{"version":3,"file":"custom-currencies.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/credits/custom-currencies.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,EAAE,UAAU,EAAE,sCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,KAAK,oBAAoB,EAAE,WAAW,EAAE,qCAAiC;AAElG,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAGnE;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;OAEG;IACH,MAAM,CAAC,MAAM,EAAE,0BAA0B,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;IAexG;;OAEG;IACH,MAAM,CACJ,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,0BAA0B,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sBAAsB,CAAC;IAerC;;;;OAIG;IACH,IAAI,CACF,MAAM,GAAE,wBAAwB,GAAG,IAAI,GAAG,SAAc,EACxD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,yCAAyC,EAAE,0BAA0B,CAAC;IAmBrF;;;;OAIG;IACH,OAAO,CACL,UAAU,EAAE,MAAM,EAClB,MAAM,GAAE,2BAA2B,GAAG,IAAI,GAAG,SAAc,EAC3D,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sBAAsB,CAAC;IAcrC;;;OAGG;IACH,sBAAsB,CACp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;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,WAAW,2BAA2B;IAC1C;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,WAAW,0CAA0C;IACzD;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,WAAW,6BAA6B;IAC5C;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,CAAC,OAAO,WAAW,gBAAgB,CAAC;IACxC,OAAO,EACL,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,4CAA4C,IAAI,4CAA4C,EACjG,KAAK,yCAAyC,IAAI,yCAAyC,EAC3F,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,0CAA0C,IAAI,0CAA0C,EAC7F,KAAK,6BAA6B,IAAI,6BAA6B,GACpE,CAAC;CACH"}
|
|
@@ -8,83 +8,34 @@ import { RequestOptions } from "../../../internal/request-options.js";
|
|
|
8
8
|
export declare class CustomCurrencies extends APIResource {
|
|
9
9
|
/**
|
|
10
10
|
* Creates a new custom currency in the environment.
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
* ```ts
|
|
14
|
-
* const customCurrencyResponse =
|
|
15
|
-
* await client.v1.credits.customCurrencies.create({
|
|
16
|
-
* id: 'id',
|
|
17
|
-
* displayName: 'displayName',
|
|
18
|
-
* });
|
|
19
|
-
* ```
|
|
20
|
-
*/
|
|
21
|
-
create(body: CustomCurrencyCreateParams, options?: RequestOptions): APIPromise<CustomCurrencyResponse>;
|
|
11
|
+
*/
|
|
12
|
+
create(params: CustomCurrencyCreateParams, options?: RequestOptions): APIPromise<CustomCurrencyResponse>;
|
|
22
13
|
/**
|
|
23
14
|
* Updates an existing custom currency. Only the supplied fields are modified.
|
|
24
|
-
*
|
|
25
|
-
* @example
|
|
26
|
-
* ```ts
|
|
27
|
-
* const customCurrencyResponse =
|
|
28
|
-
* await client.v1.credits.customCurrencies.update(
|
|
29
|
-
* 'currencyId',
|
|
30
|
-
* );
|
|
31
|
-
* ```
|
|
32
15
|
*/
|
|
33
|
-
update(currencyID: string,
|
|
16
|
+
update(currencyID: string, params: CustomCurrencyUpdateParams, options?: RequestOptions): APIPromise<CustomCurrencyResponse>;
|
|
34
17
|
/**
|
|
35
18
|
* Retrieves a paginated list of custom currencies in the environment. Archived
|
|
36
19
|
* currencies are excluded by default; pass `status=ARCHIVED` (or
|
|
37
20
|
* `status=ACTIVE,ARCHIVED`) to include them.
|
|
38
|
-
*
|
|
39
|
-
* @example
|
|
40
|
-
* ```ts
|
|
41
|
-
* // Automatically fetches more pages as needed.
|
|
42
|
-
* for await (const customCurrencyListResponse of client.v1.credits.customCurrencies.list()) {
|
|
43
|
-
* // ...
|
|
44
|
-
* }
|
|
45
|
-
* ```
|
|
46
21
|
*/
|
|
47
|
-
list(
|
|
22
|
+
list(params?: CustomCurrencyListParams | null | undefined, options?: RequestOptions): PagePromise<CustomCurrencyListResponsesMyCursorIDPage, CustomCurrencyListResponse>;
|
|
48
23
|
/**
|
|
49
24
|
* Archives a custom currency. Fails if the currency is still associated with any
|
|
50
25
|
* active plan or addon — use the associated-entities endpoint first to inspect
|
|
51
26
|
* dependencies.
|
|
52
|
-
*
|
|
53
|
-
* @example
|
|
54
|
-
* ```ts
|
|
55
|
-
* const customCurrencyResponse =
|
|
56
|
-
* await client.v1.credits.customCurrencies.archive(
|
|
57
|
-
* 'currencyId',
|
|
58
|
-
* );
|
|
59
|
-
* ```
|
|
60
27
|
*/
|
|
61
|
-
archive(currencyID: string, options?: RequestOptions): APIPromise<CustomCurrencyResponse>;
|
|
28
|
+
archive(currencyID: string, params?: CustomCurrencyArchiveParams | null | undefined, options?: RequestOptions): APIPromise<CustomCurrencyResponse>;
|
|
62
29
|
/**
|
|
63
30
|
* Lists the active plans and addons that reference a custom currency. Useful
|
|
64
31
|
* before archiving to inspect dependencies.
|
|
65
|
-
*
|
|
66
|
-
* @example
|
|
67
|
-
* ```ts
|
|
68
|
-
* const response =
|
|
69
|
-
* await client.v1.credits.customCurrencies.listAssociatedEntities(
|
|
70
|
-
* 'currencyId',
|
|
71
|
-
* );
|
|
72
|
-
* ```
|
|
73
32
|
*/
|
|
74
|
-
listAssociatedEntities(currencyID: string, options?: RequestOptions): APIPromise<CustomCurrencyListAssociatedEntitiesResponse>;
|
|
33
|
+
listAssociatedEntities(currencyID: string, params?: CustomCurrencyListAssociatedEntitiesParams | null | undefined, options?: RequestOptions): APIPromise<CustomCurrencyListAssociatedEntitiesResponse>;
|
|
75
34
|
/**
|
|
76
35
|
* Restores a previously archived custom currency. Fails if another active currency
|
|
77
36
|
* with the same ID already exists.
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
* ```ts
|
|
81
|
-
* const customCurrencyResponse =
|
|
82
|
-
* await client.v1.credits.customCurrencies.unarchive(
|
|
83
|
-
* 'currencyId',
|
|
84
|
-
* );
|
|
85
|
-
* ```
|
|
86
|
-
*/
|
|
87
|
-
unarchive(currencyID: string, options?: RequestOptions): APIPromise<CustomCurrencyResponse>;
|
|
37
|
+
*/
|
|
38
|
+
unarchive(currencyID: string, params?: CustomCurrencyUnarchiveParams | null | undefined, options?: RequestOptions): APIPromise<CustomCurrencyResponse>;
|
|
88
39
|
}
|
|
89
40
|
export type CustomCurrencyListResponsesMyCursorIDPage = MyCursorIDPage<CustomCurrencyListResponse>;
|
|
90
41
|
/**
|
|
@@ -241,32 +192,43 @@ export declare namespace CustomCurrencyListAssociatedEntitiesResponse {
|
|
|
241
192
|
}
|
|
242
193
|
export interface CustomCurrencyCreateParams {
|
|
243
194
|
/**
|
|
244
|
-
* The unique identifier for the new custom currency
|
|
195
|
+
* Body param: The unique identifier for the new custom currency
|
|
245
196
|
*/
|
|
246
197
|
id: string;
|
|
247
198
|
/**
|
|
248
|
-
* The display name of the custom currency
|
|
199
|
+
* Body param: The display name of the custom currency
|
|
249
200
|
*/
|
|
250
201
|
displayName: string;
|
|
251
202
|
/**
|
|
252
|
-
* Description of the currency
|
|
203
|
+
* Body param: Description of the currency
|
|
253
204
|
*/
|
|
254
205
|
description?: string;
|
|
255
206
|
/**
|
|
256
|
-
* Additional metadata to attach to the custom currency
|
|
207
|
+
* Body param: Additional metadata to attach to the custom currency
|
|
257
208
|
*/
|
|
258
209
|
metadata?: {
|
|
259
210
|
[key: string]: string;
|
|
260
211
|
};
|
|
261
212
|
/**
|
|
262
|
-
* The symbol used to represent the custom currency
|
|
213
|
+
* Body param: The symbol used to represent the custom currency
|
|
263
214
|
*/
|
|
264
215
|
symbol?: string;
|
|
265
216
|
/**
|
|
266
|
-
* Singular and plural unit labels for a custom currency. Both fields
|
|
267
|
-
* when supplied.
|
|
217
|
+
* Body param: Singular and plural unit labels for a custom currency. Both fields
|
|
218
|
+
* are required when supplied.
|
|
268
219
|
*/
|
|
269
220
|
units?: CustomCurrencyCreateParams.Units;
|
|
221
|
+
/**
|
|
222
|
+
* Header param: Account ID — optional when authenticating with a user JWT (Bearer
|
|
223
|
+
* token); falls back to the user's first membership. Ignored for API-key auth.
|
|
224
|
+
*/
|
|
225
|
+
'X-ACCOUNT-ID'?: string;
|
|
226
|
+
/**
|
|
227
|
+
* Header param: Environment ID — required when authenticating with a user JWT
|
|
228
|
+
* (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is
|
|
229
|
+
* intrinsic to the key).
|
|
230
|
+
*/
|
|
231
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
270
232
|
}
|
|
271
233
|
export declare namespace CustomCurrencyCreateParams {
|
|
272
234
|
/**
|
|
@@ -286,29 +248,41 @@ export declare namespace CustomCurrencyCreateParams {
|
|
|
286
248
|
}
|
|
287
249
|
export interface CustomCurrencyUpdateParams {
|
|
288
250
|
/**
|
|
289
|
-
* A human-readable description of the custom currency. Send an empty
|
|
290
|
-
* clear.
|
|
251
|
+
* Body param: A human-readable description of the custom currency. Send an empty
|
|
252
|
+
* string to clear.
|
|
291
253
|
*/
|
|
292
254
|
description?: string | null;
|
|
293
255
|
/**
|
|
294
|
-
* The display name of the custom currency
|
|
256
|
+
* Body param: The display name of the custom currency
|
|
295
257
|
*/
|
|
296
258
|
displayName?: string;
|
|
297
259
|
/**
|
|
298
|
-
* Additional metadata to attach to the custom currency
|
|
260
|
+
* Body param: Additional metadata to attach to the custom currency
|
|
299
261
|
*/
|
|
300
262
|
metadata?: {
|
|
301
263
|
[key: string]: string;
|
|
302
264
|
} | null;
|
|
303
265
|
/**
|
|
304
|
-
* The symbol used to represent the custom currency. Send an empty
|
|
266
|
+
* Body param: The symbol used to represent the custom currency. Send an empty
|
|
267
|
+
* string to clear.
|
|
305
268
|
*/
|
|
306
269
|
symbol?: string | null;
|
|
307
270
|
/**
|
|
308
|
-
* Singular and plural unit labels for a custom currency. Both fields
|
|
309
|
-
* when supplied.
|
|
271
|
+
* Body param: Singular and plural unit labels for a custom currency. Both fields
|
|
272
|
+
* are required when supplied.
|
|
310
273
|
*/
|
|
311
274
|
units?: CustomCurrencyUpdateParams.Units;
|
|
275
|
+
/**
|
|
276
|
+
* Header param: Account ID — optional when authenticating with a user JWT (Bearer
|
|
277
|
+
* token); falls back to the user's first membership. Ignored for API-key auth.
|
|
278
|
+
*/
|
|
279
|
+
'X-ACCOUNT-ID'?: string;
|
|
280
|
+
/**
|
|
281
|
+
* Header param: Environment ID — required when authenticating with a user JWT
|
|
282
|
+
* (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is
|
|
283
|
+
* intrinsic to the key).
|
|
284
|
+
*/
|
|
285
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
312
286
|
}
|
|
313
287
|
export declare namespace CustomCurrencyUpdateParams {
|
|
314
288
|
/**
|
|
@@ -328,12 +302,62 @@ export declare namespace CustomCurrencyUpdateParams {
|
|
|
328
302
|
}
|
|
329
303
|
export interface CustomCurrencyListParams extends MyCursorIDPageParams {
|
|
330
304
|
/**
|
|
331
|
-
* Filter by custom currency status. Supports comma-separated values
|
|
332
|
-
* `ACTIVE,ARCHIVED`). Defaults to `ACTIVE`.
|
|
305
|
+
* Query param: Filter by custom currency status. Supports comma-separated values
|
|
306
|
+
* (e.g., `ACTIVE,ARCHIVED`). Defaults to `ACTIVE`.
|
|
333
307
|
*/
|
|
334
308
|
status?: Array<'ACTIVE' | 'ARCHIVED'>;
|
|
309
|
+
/**
|
|
310
|
+
* Header param: Account ID — optional when authenticating with a user JWT (Bearer
|
|
311
|
+
* token); falls back to the user's first membership. Ignored for API-key auth.
|
|
312
|
+
*/
|
|
313
|
+
'X-ACCOUNT-ID'?: string;
|
|
314
|
+
/**
|
|
315
|
+
* Header param: Environment ID — required when authenticating with a user JWT
|
|
316
|
+
* (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is
|
|
317
|
+
* intrinsic to the key).
|
|
318
|
+
*/
|
|
319
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
320
|
+
}
|
|
321
|
+
export interface CustomCurrencyArchiveParams {
|
|
322
|
+
/**
|
|
323
|
+
* Account ID — optional when authenticating with a user JWT (Bearer token); falls
|
|
324
|
+
* back to the user's first membership. Ignored for API-key auth.
|
|
325
|
+
*/
|
|
326
|
+
'X-ACCOUNT-ID'?: string;
|
|
327
|
+
/**
|
|
328
|
+
* Environment ID — required when authenticating with a user JWT (Bearer token) on
|
|
329
|
+
* environment-scoped endpoints. Ignored for API-key auth (env is intrinsic to the
|
|
330
|
+
* key).
|
|
331
|
+
*/
|
|
332
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
333
|
+
}
|
|
334
|
+
export interface CustomCurrencyListAssociatedEntitiesParams {
|
|
335
|
+
/**
|
|
336
|
+
* Account ID — optional when authenticating with a user JWT (Bearer token); falls
|
|
337
|
+
* back to the user's first membership. Ignored for API-key auth.
|
|
338
|
+
*/
|
|
339
|
+
'X-ACCOUNT-ID'?: string;
|
|
340
|
+
/**
|
|
341
|
+
* Environment ID — required when authenticating with a user JWT (Bearer token) on
|
|
342
|
+
* environment-scoped endpoints. Ignored for API-key auth (env is intrinsic to the
|
|
343
|
+
* key).
|
|
344
|
+
*/
|
|
345
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
346
|
+
}
|
|
347
|
+
export interface CustomCurrencyUnarchiveParams {
|
|
348
|
+
/**
|
|
349
|
+
* Account ID — optional when authenticating with a user JWT (Bearer token); falls
|
|
350
|
+
* back to the user's first membership. Ignored for API-key auth.
|
|
351
|
+
*/
|
|
352
|
+
'X-ACCOUNT-ID'?: string;
|
|
353
|
+
/**
|
|
354
|
+
* Environment ID — required when authenticating with a user JWT (Bearer token) on
|
|
355
|
+
* environment-scoped endpoints. Ignored for API-key auth (env is intrinsic to the
|
|
356
|
+
* key).
|
|
357
|
+
*/
|
|
358
|
+
'X-ENVIRONMENT-ID'?: string;
|
|
335
359
|
}
|
|
336
360
|
export declare namespace CustomCurrencies {
|
|
337
|
-
export { type CustomCurrencyResponse as CustomCurrencyResponse, type CustomCurrencyListResponse as CustomCurrencyListResponse, type CustomCurrencyListAssociatedEntitiesResponse as CustomCurrencyListAssociatedEntitiesResponse, type CustomCurrencyListResponsesMyCursorIDPage as CustomCurrencyListResponsesMyCursorIDPage, type CustomCurrencyCreateParams as CustomCurrencyCreateParams, type CustomCurrencyUpdateParams as CustomCurrencyUpdateParams, type CustomCurrencyListParams as CustomCurrencyListParams, };
|
|
361
|
+
export { type CustomCurrencyResponse as CustomCurrencyResponse, type CustomCurrencyListResponse as CustomCurrencyListResponse, type CustomCurrencyListAssociatedEntitiesResponse as CustomCurrencyListAssociatedEntitiesResponse, type CustomCurrencyListResponsesMyCursorIDPage as CustomCurrencyListResponsesMyCursorIDPage, type CustomCurrencyCreateParams as CustomCurrencyCreateParams, type CustomCurrencyUpdateParams as CustomCurrencyUpdateParams, type CustomCurrencyListParams as CustomCurrencyListParams, type CustomCurrencyArchiveParams as CustomCurrencyArchiveParams, type CustomCurrencyListAssociatedEntitiesParams as CustomCurrencyListAssociatedEntitiesParams, type CustomCurrencyUnarchiveParams as CustomCurrencyUnarchiveParams, };
|
|
338
362
|
}
|
|
339
363
|
//# sourceMappingURL=custom-currencies.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-currencies.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/credits/custom-currencies.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,EAAE,UAAU,EAAE,qCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,KAAK,oBAAoB,EAAE,WAAW,EAAE,oCAAiC;
|
|
1
|
+
{"version":3,"file":"custom-currencies.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/credits/custom-currencies.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,EAAE,UAAU,EAAE,qCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,KAAK,oBAAoB,EAAE,WAAW,EAAE,oCAAiC;AAElG,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAGnE;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;OAEG;IACH,MAAM,CAAC,MAAM,EAAE,0BAA0B,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;IAexG;;OAEG;IACH,MAAM,CACJ,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,0BAA0B,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sBAAsB,CAAC;IA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