orb-billing 5.76.0 → 6.0.0
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 +23 -0
- package/README.md +118 -45
- package/api-promise.d.mts +3 -0
- package/api-promise.d.mts.map +1 -0
- package/api-promise.d.ts +3 -0
- package/api-promise.d.ts.map +1 -0
- package/api-promise.js +6 -0
- package/api-promise.js.map +1 -0
- package/api-promise.mjs +3 -0
- package/api-promise.mjs.map +1 -0
- package/client.d.mts +474 -0
- package/client.d.mts.map +1 -0
- package/client.d.ts +474 -0
- package/client.d.ts.map +1 -0
- package/client.js +650 -0
- package/client.js.map +1 -0
- package/client.mjs +645 -0
- package/client.mjs.map +1 -0
- package/core/api-promise.d.mts +46 -0
- package/core/api-promise.d.mts.map +1 -0
- package/core/api-promise.d.ts +46 -0
- package/core/api-promise.d.ts.map +1 -0
- package/core/api-promise.js +74 -0
- package/core/api-promise.js.map +1 -0
- package/core/api-promise.mjs +70 -0
- package/core/api-promise.mjs.map +1 -0
- package/core/error.d.mts +131 -0
- package/core/error.d.mts.map +1 -0
- package/core/error.d.ts +131 -0
- package/core/error.d.ts.map +1 -0
- package/core/error.js +294 -0
- package/core/error.js.map +1 -0
- package/core/error.mjs +266 -0
- package/core/error.mjs.map +1 -0
- package/core/pagination.d.mts +67 -0
- package/core/pagination.d.mts.map +1 -0
- package/core/pagination.d.ts +67 -0
- package/core/pagination.d.ts.map +1 -0
- package/core/pagination.js +101 -0
- package/core/pagination.js.map +1 -0
- package/core/pagination.mjs +95 -0
- package/core/pagination.mjs.map +1 -0
- package/core/resource.d.mts +6 -0
- package/core/resource.d.mts.map +1 -0
- package/core/resource.d.ts +6 -0
- package/core/resource.d.ts.map +1 -0
- package/core/resource.js +11 -0
- package/core/resource.js.map +1 -0
- package/core/resource.mjs +7 -0
- package/core/resource.mjs.map +1 -0
- package/core/uploads.d.mts +3 -0
- package/core/uploads.d.mts.map +1 -0
- package/core/uploads.d.ts +3 -0
- package/core/uploads.d.ts.map +1 -0
- package/core/uploads.js +6 -0
- package/core/uploads.js.map +1 -0
- package/core/uploads.mjs +2 -0
- package/core/uploads.mjs.map +1 -0
- package/error.d.mts +3 -0
- package/error.d.mts.map +1 -0
- package/error.d.ts +2 -131
- package/error.d.ts.map +1 -1
- package/error.js +3 -291
- package/error.js.map +1 -1
- package/error.mjs +2 -265
- package/error.mjs.map +1 -1
- package/index.d.mts +7 -401
- package/index.d.mts.map +1 -0
- package/index.d.ts +6 -400
- package/index.d.ts.map +1 -1
- package/index.js +15 -286
- package/index.js.map +1 -1
- package/index.mjs +6 -259
- package/index.mjs.map +1 -1
- package/internal/builtin-types.d.mts +73 -0
- package/internal/builtin-types.d.mts.map +1 -0
- package/internal/builtin-types.d.ts +73 -0
- package/internal/builtin-types.d.ts.map +1 -0
- package/internal/builtin-types.js +4 -0
- package/internal/builtin-types.js.map +1 -0
- package/internal/builtin-types.mjs +3 -0
- package/internal/builtin-types.mjs.map +1 -0
- package/internal/detect-platform.d.mts +15 -0
- package/internal/detect-platform.d.mts.map +1 -0
- package/internal/detect-platform.d.ts +15 -0
- package/internal/detect-platform.d.ts.map +1 -0
- package/internal/detect-platform.js +162 -0
- package/internal/detect-platform.js.map +1 -0
- package/internal/detect-platform.mjs +157 -0
- package/internal/detect-platform.mjs.map +1 -0
- package/internal/errors.d.mts +3 -0
- package/internal/errors.d.mts.map +1 -0
- package/internal/errors.d.ts +3 -0
- package/internal/errors.d.ts.map +1 -0
- package/internal/errors.js +41 -0
- package/internal/errors.js.map +1 -0
- package/internal/errors.mjs +36 -0
- package/internal/errors.mjs.map +1 -0
- package/internal/headers.d.mts +20 -0
- package/internal/headers.d.mts.map +1 -0
- package/internal/headers.d.ts +20 -0
- package/internal/headers.d.ts.map +1 -0
- package/internal/headers.js +79 -0
- package/internal/headers.js.map +1 -0
- package/internal/headers.mjs +74 -0
- package/internal/headers.mjs.map +1 -0
- package/internal/parse.d.mts +12 -0
- package/internal/parse.d.mts.map +1 -0
- package/internal/parse.d.ts +12 -0
- package/internal/parse.d.ts.map +1 -0
- package/internal/parse.js +40 -0
- package/internal/parse.js.map +1 -0
- package/internal/parse.mjs +37 -0
- package/internal/parse.mjs.map +1 -0
- package/internal/qs/formats.d.mts +7 -0
- package/internal/qs/formats.d.mts.map +1 -0
- package/internal/qs/formats.d.ts +1 -0
- package/internal/qs/formats.d.ts.map +1 -1
- package/internal/qs/formats.js +4 -2
- package/internal/qs/formats.js.map +1 -1
- package/internal/qs/formats.mjs +2 -1
- package/internal/qs/formats.mjs.map +1 -1
- package/internal/qs/index.d.mts +10 -0
- package/internal/qs/index.d.mts.map +1 -0
- 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 +3 -0
- package/internal/qs/stringify.d.mts.map +1 -0
- package/internal/qs/stringify.d.ts.map +1 -1
- package/internal/qs/stringify.js +16 -19
- package/internal/qs/stringify.js.map +1 -1
- package/internal/qs/stringify.mjs +17 -19
- package/internal/qs/stringify.mjs.map +1 -1
- package/internal/qs/types.d.mts +57 -0
- package/internal/qs/types.d.mts.map +1 -0
- package/internal/qs/utils.d.mts +15 -0
- package/internal/qs/utils.d.mts.map +1 -0
- package/internal/qs/utils.d.ts +1 -0
- package/internal/qs/utils.d.ts.map +1 -1
- package/internal/qs/utils.js +22 -21
- package/internal/qs/utils.js.map +1 -1
- package/internal/qs/utils.mjs +12 -12
- package/internal/qs/utils.mjs.map +1 -1
- package/internal/request-options.d.mts +75 -0
- package/internal/request-options.d.mts.map +1 -0
- package/internal/request-options.d.ts +75 -0
- package/internal/request-options.d.ts.map +1 -0
- package/internal/request-options.js +14 -0
- package/internal/request-options.js.map +1 -0
- package/internal/request-options.mjs +10 -0
- package/internal/request-options.mjs.map +1 -0
- package/internal/shim-types.d.mts +17 -0
- package/internal/shim-types.d.mts.map +1 -0
- package/internal/shim-types.d.ts +17 -0
- package/internal/shim-types.d.ts.map +1 -0
- package/internal/shim-types.js +4 -0
- package/internal/shim-types.js.map +1 -0
- package/internal/shim-types.mjs +3 -0
- package/internal/shim-types.mjs.map +1 -0
- package/internal/shims.d.mts +26 -0
- package/internal/shims.d.mts.map +1 -0
- package/internal/shims.d.ts +26 -0
- package/internal/shims.d.ts.map +1 -0
- package/internal/shims.js +92 -0
- package/internal/shims.js.map +1 -0
- package/internal/shims.mjs +85 -0
- package/internal/shims.mjs.map +1 -0
- package/internal/to-file.d.mts +45 -0
- package/internal/to-file.d.mts.map +1 -0
- package/internal/to-file.d.ts +45 -0
- package/internal/to-file.d.ts.map +1 -0
- package/internal/to-file.js +91 -0
- package/internal/to-file.js.map +1 -0
- package/internal/to-file.mjs +88 -0
- package/internal/to-file.mjs.map +1 -0
- package/internal/tslib.js +81 -0
- package/internal/tslib.mjs +17 -0
- package/internal/types.d.mts +69 -0
- package/internal/types.d.mts.map +1 -0
- package/internal/types.d.ts +69 -0
- package/internal/types.d.ts.map +1 -0
- package/internal/types.js +4 -0
- package/internal/types.js.map +1 -0
- package/internal/types.mjs +3 -0
- package/internal/types.mjs.map +1 -0
- package/internal/uploads.d.mts +42 -0
- package/internal/uploads.d.mts.map +1 -0
- package/internal/uploads.d.ts +42 -0
- package/internal/uploads.d.ts.map +1 -0
- package/internal/uploads.js +141 -0
- package/internal/uploads.js.map +1 -0
- package/internal/uploads.mjs +131 -0
- package/internal/uploads.mjs.map +1 -0
- package/internal/utils/base64.d.mts +3 -0
- package/internal/utils/base64.d.mts.map +1 -0
- package/internal/utils/base64.d.ts +3 -0
- package/internal/utils/base64.d.ts.map +1 -0
- package/internal/utils/base64.js +38 -0
- package/internal/utils/base64.js.map +1 -0
- package/internal/utils/base64.mjs +33 -0
- package/internal/utils/base64.mjs.map +1 -0
- package/internal/utils/bytes.d.mts +4 -0
- package/internal/utils/bytes.d.mts.map +1 -0
- package/internal/utils/bytes.d.ts +4 -0
- package/internal/utils/bytes.d.ts.map +1 -0
- package/internal/utils/bytes.js +31 -0
- package/internal/utils/bytes.js.map +1 -0
- package/internal/utils/bytes.mjs +26 -0
- package/internal/utils/bytes.mjs.map +1 -0
- package/internal/utils/env.d.mts +9 -0
- package/internal/utils/env.d.mts.map +1 -0
- package/internal/utils/env.d.ts +9 -0
- package/internal/utils/env.d.ts.map +1 -0
- package/internal/utils/env.js +22 -0
- package/internal/utils/env.js.map +1 -0
- package/internal/utils/env.mjs +18 -0
- package/internal/utils/env.mjs.map +1 -0
- package/internal/utils/log.d.mts +37 -0
- package/internal/utils/log.d.mts.map +1 -0
- package/internal/utils/log.d.ts +37 -0
- package/internal/utils/log.d.ts.map +1 -0
- package/internal/utils/log.js +87 -0
- package/internal/utils/log.js.map +1 -0
- package/internal/utils/log.mjs +81 -0
- package/internal/utils/log.mjs.map +1 -0
- package/internal/utils/path.d.mts +15 -0
- package/internal/utils/path.d.mts.map +1 -0
- package/internal/utils/path.d.ts +15 -0
- package/internal/utils/path.d.ts.map +1 -0
- package/internal/utils/path.js +79 -0
- package/internal/utils/path.js.map +1 -0
- package/internal/utils/path.mjs +74 -0
- package/internal/utils/path.mjs.map +1 -0
- package/internal/utils/query.d.mts +2 -0
- package/internal/utils/query.d.mts.map +1 -0
- package/internal/utils/query.js +3 -26
- package/internal/utils/query.js.map +1 -1
- package/internal/utils/query.mjs.map +1 -1
- package/internal/utils/sleep.d.mts +2 -0
- package/internal/utils/sleep.d.mts.map +1 -0
- package/internal/utils/sleep.d.ts +2 -0
- package/internal/utils/sleep.d.ts.map +1 -0
- package/internal/utils/sleep.js +7 -0
- package/internal/utils/sleep.js.map +1 -0
- package/internal/utils/sleep.mjs +3 -0
- package/internal/utils/sleep.mjs.map +1 -0
- package/internal/utils/uuid.d.mts +5 -0
- package/internal/utils/uuid.d.mts.map +1 -0
- package/internal/utils/uuid.d.ts +5 -0
- package/internal/utils/uuid.d.ts.map +1 -0
- package/internal/utils/uuid.js +19 -0
- package/internal/utils/uuid.js.map +1 -0
- package/internal/utils/uuid.mjs +15 -0
- package/internal/utils/uuid.mjs.map +1 -0
- package/internal/utils/values.d.mts +18 -0
- package/internal/utils/values.d.mts.map +1 -0
- package/internal/utils/values.d.ts +18 -0
- package/internal/utils/values.d.ts.map +1 -0
- package/internal/utils/values.js +112 -0
- package/internal/utils/values.js.map +1 -0
- package/internal/utils/values.mjs +94 -0
- package/internal/utils/values.mjs.map +1 -0
- package/internal/utils.d.mts +8 -0
- package/internal/utils.d.mts.map +1 -0
- package/internal/utils.d.ts +8 -0
- package/internal/utils.d.ts.map +1 -0
- package/internal/utils.js +12 -0
- package/internal/utils.js.map +1 -0
- package/internal/utils.mjs +9 -0
- package/internal/utils.mjs.map +1 -0
- package/package.json +122 -65
- package/pagination.d.mts +3 -0
- package/pagination.d.mts.map +1 -0
- package/pagination.d.ts +2 -30
- package/pagination.d.ts.map +1 -1
- package/pagination.js +3 -37
- package/pagination.js.map +1 -1
- package/pagination.mjs +2 -35
- package/pagination.mjs.map +1 -1
- package/resource.d.mts +3 -0
- package/resource.d.mts.map +1 -0
- package/resource.d.ts +2 -5
- package/resource.d.ts.map +1 -1
- package/resource.js +3 -8
- package/resource.js.map +1 -1
- package/resource.mjs +2 -6
- package/resource.mjs.map +1 -1
- package/resources/alerts.d.mts +430 -0
- package/resources/alerts.d.mts.map +1 -0
- package/resources/alerts.d.ts +14 -17
- package/resources/alerts.d.ts.map +1 -1
- package/resources/alerts.js +37 -27
- package/resources/alerts.js.map +1 -1
- package/resources/alerts.mjs +36 -25
- package/resources/alerts.mjs.map +1 -1
- package/resources/beta/beta.d.mts +2826 -0
- package/resources/beta/beta.d.mts.map +1 -0
- package/resources/beta/beta.d.ts +13 -9
- package/resources/beta/beta.d.ts.map +1 -1
- package/resources/beta/beta.js +10 -30
- package/resources/beta/beta.js.map +1 -1
- package/resources/beta/beta.mjs +8 -6
- package/resources/beta/beta.mjs.map +1 -1
- package/resources/beta/external-plan-id.d.mts +2713 -0
- package/resources/beta/external-plan-id.d.mts.map +1 -0
- package/resources/beta/external-plan-id.d.ts +10 -6
- package/resources/beta/external-plan-id.d.ts.map +1 -1
- package/resources/beta/external-plan-id.js +7 -5
- package/resources/beta/external-plan-id.js.map +1 -1
- package/resources/beta/external-plan-id.mjs +7 -5
- package/resources/beta/external-plan-id.mjs.map +1 -1
- package/resources/beta/index.d.mts +3 -0
- package/resources/beta/index.d.mts.map +1 -0
- package/resources/beta/index.d.ts +2 -2
- package/resources/beta/index.d.ts.map +1 -1
- package/resources/beta/index.js.map +1 -1
- package/resources/beta/index.mjs.map +1 -1
- package/resources/beta.d.mts +2 -0
- package/resources/beta.d.mts.map +1 -0
- package/resources/beta.d.ts.map +1 -1
- package/resources/beta.js +2 -15
- package/resources/beta.js.map +1 -1
- package/resources/beta.mjs.map +1 -1
- package/resources/coupons/coupons.d.mts +148 -0
- package/resources/coupons/coupons.d.mts.map +1 -0
- package/resources/coupons/coupons.d.ts +10 -11
- package/resources/coupons/coupons.d.ts.map +1 -1
- package/resources/coupons/coupons.js +24 -38
- package/resources/coupons/coupons.js.map +1 -1
- package/resources/coupons/coupons.mjs +21 -12
- package/resources/coupons/coupons.mjs.map +1 -1
- package/resources/coupons/index.d.mts +3 -0
- package/resources/coupons/index.d.mts.map +1 -0
- package/resources/coupons/index.d.ts +1 -1
- package/resources/coupons/index.d.ts.map +1 -1
- package/resources/coupons/index.js +1 -2
- package/resources/coupons/index.js.map +1 -1
- package/resources/coupons/index.mjs +1 -1
- package/resources/coupons/index.mjs.map +1 -1
- package/resources/coupons/subscriptions.d.mts +34 -0
- package/resources/coupons/subscriptions.d.mts.map +1 -0
- package/resources/coupons/subscriptions.d.ts +5 -6
- package/resources/coupons/subscriptions.d.ts.map +1 -1
- package/resources/coupons/subscriptions.js +21 -12
- package/resources/coupons/subscriptions.js.map +1 -1
- package/resources/coupons/subscriptions.mjs +20 -11
- package/resources/coupons/subscriptions.mjs.map +1 -1
- package/resources/coupons.d.mts +2 -0
- package/resources/coupons.d.mts.map +1 -0
- package/resources/coupons.d.ts.map +1 -1
- package/resources/coupons.js +2 -15
- package/resources/coupons.js.map +1 -1
- package/resources/coupons.mjs.map +1 -1
- package/resources/credit-blocks.d.mts +275 -0
- package/resources/credit-blocks.d.mts.map +1 -0
- package/resources/credit-blocks.d.ts +6 -5
- package/resources/credit-blocks.d.ts.map +1 -1
- package/resources/credit-blocks.js +7 -5
- package/resources/credit-blocks.js.map +1 -1
- package/resources/credit-blocks.mjs +7 -5
- package/resources/credit-blocks.mjs.map +1 -1
- package/resources/credit-notes.d.mts +144 -0
- package/resources/credit-notes.d.mts.map +1 -0
- package/resources/credit-notes.d.ts +8 -8
- package/resources/credit-notes.d.ts.map +1 -1
- package/resources/credit-notes.js +19 -10
- package/resources/credit-notes.js.map +1 -1
- package/resources/credit-notes.mjs +18 -9
- package/resources/credit-notes.mjs.map +1 -1
- package/resources/customers/balance-transactions.d.mts +135 -0
- package/resources/customers/balance-transactions.d.mts.map +1 -0
- package/resources/customers/balance-transactions.d.ts +8 -9
- package/resources/customers/balance-transactions.d.ts.map +1 -1
- package/resources/customers/balance-transactions.js +29 -13
- package/resources/customers/balance-transactions.js.map +1 -1
- package/resources/customers/balance-transactions.mjs +28 -11
- package/resources/customers/balance-transactions.mjs.map +1 -1
- package/resources/customers/costs.d.mts +314 -0
- package/resources/customers/costs.d.mts.map +1 -0
- package/resources/customers/costs.d.ts +5 -6
- package/resources/customers/costs.d.ts.map +1 -1
- package/resources/customers/costs.js +243 -11
- package/resources/customers/costs.js.map +1 -1
- package/resources/customers/costs.mjs +243 -11
- package/resources/customers/costs.mjs.map +1 -1
- package/resources/customers/credits/credits.d.mts +287 -0
- package/resources/customers/credits/credits.d.mts.map +1 -0
- package/resources/customers/credits/credits.d.ts +11 -15
- package/resources/customers/credits/credits.d.ts.map +1 -1
- package/resources/customers/credits/credits.js +38 -50
- package/resources/customers/credits/credits.js.map +1 -1
- package/resources/customers/credits/credits.mjs +36 -24
- package/resources/customers/credits/credits.mjs.map +1 -1
- package/resources/customers/credits/index.d.mts +4 -0
- package/resources/customers/credits/index.d.mts.map +1 -0
- package/resources/customers/credits/index.d.ts +3 -3
- package/resources/customers/credits/index.d.ts.map +1 -1
- package/resources/customers/credits/index.js +1 -7
- package/resources/customers/credits/index.js.map +1 -1
- package/resources/customers/credits/index.mjs +3 -3
- package/resources/customers/credits/index.mjs.map +1 -1
- package/resources/customers/credits/ledger.d.mts +1202 -0
- package/resources/customers/credits/ledger.d.mts.map +1 -0
- package/resources/customers/credits/ledger.d.ts +11 -14
- package/resources/customers/credits/ledger.d.ts.map +1 -1
- package/resources/customers/credits/ledger.js +172 -27
- package/resources/customers/credits/ledger.js.map +1 -1
- package/resources/customers/credits/ledger.mjs +171 -24
- package/resources/customers/credits/ledger.mjs.map +1 -1
- package/resources/customers/credits/top-ups.d.mts +357 -0
- package/resources/customers/credits/top-ups.d.mts.map +1 -0
- package/resources/customers/credits/top-ups.d.ts +19 -16
- package/resources/customers/credits/top-ups.d.ts.map +1 -1
- package/resources/customers/credits/top-ups.js +24 -29
- package/resources/customers/credits/top-ups.js.map +1 -1
- package/resources/customers/credits/top-ups.mjs +23 -26
- package/resources/customers/credits/top-ups.mjs.map +1 -1
- package/resources/customers/credits.d.mts +2 -0
- package/resources/customers/credits.d.mts.map +1 -0
- package/resources/customers/credits.d.ts.map +1 -1
- package/resources/customers/credits.js +2 -15
- package/resources/customers/credits.js.map +1 -1
- package/resources/customers/credits.mjs.map +1 -1
- package/resources/customers/customers.d.mts +1453 -0
- package/resources/customers/customers.d.mts.map +1 -0
- package/resources/customers/customers.d.ts +17 -18
- package/resources/customers/customers.d.ts.map +1 -1
- package/resources/customers/customers.js +30 -53
- package/resources/customers/customers.js.map +1 -1
- package/resources/customers/customers.mjs +27 -27
- package/resources/customers/customers.mjs.map +1 -1
- package/resources/customers/index.d.mts +5 -0
- package/resources/customers/index.d.mts.map +1 -0
- package/resources/customers/index.d.ts +3 -3
- package/resources/customers/index.d.ts.map +1 -1
- package/resources/customers/index.js +1 -5
- package/resources/customers/index.js.map +1 -1
- package/resources/customers/index.mjs +3 -3
- package/resources/customers/index.mjs.map +1 -1
- package/resources/customers.d.mts +2 -0
- package/resources/customers.d.mts.map +1 -0
- package/resources/customers.d.ts.map +1 -1
- package/resources/customers.js +2 -15
- package/resources/customers.js.map +1 -1
- package/resources/customers.mjs.map +1 -1
- package/resources/dimensional-price-groups/dimensional-price-groups.d.mts +150 -0
- package/resources/dimensional-price-groups/dimensional-price-groups.d.mts.map +1 -0
- package/resources/dimensional-price-groups/dimensional-price-groups.d.ts +11 -12
- package/resources/dimensional-price-groups/dimensional-price-groups.d.ts.map +1 -1
- package/resources/dimensional-price-groups/dimensional-price-groups.js +21 -39
- package/resources/dimensional-price-groups/dimensional-price-groups.js.map +1 -1
- package/resources/dimensional-price-groups/dimensional-price-groups.mjs +18 -13
- package/resources/dimensional-price-groups/dimensional-price-groups.mjs.map +1 -1
- package/resources/dimensional-price-groups/external-dimensional-price-group-id.d.mts +53 -0
- package/resources/dimensional-price-groups/external-dimensional-price-group-id.d.mts.map +1 -0
- package/resources/dimensional-price-groups/external-dimensional-price-group-id.d.ts +7 -6
- package/resources/dimensional-price-groups/external-dimensional-price-group-id.d.ts.map +1 -1
- package/resources/dimensional-price-groups/external-dimensional-price-group-id.js +6 -5
- package/resources/dimensional-price-groups/external-dimensional-price-group-id.js.map +1 -1
- package/resources/dimensional-price-groups/external-dimensional-price-group-id.mjs +6 -5
- package/resources/dimensional-price-groups/external-dimensional-price-group-id.mjs.map +1 -1
- package/resources/dimensional-price-groups/index.d.mts +3 -0
- package/resources/dimensional-price-groups/index.d.mts.map +1 -0
- package/resources/dimensional-price-groups/index.d.ts +1 -1
- package/resources/dimensional-price-groups/index.d.ts.map +1 -1
- package/resources/dimensional-price-groups/index.js +1 -2
- package/resources/dimensional-price-groups/index.js.map +1 -1
- package/resources/dimensional-price-groups/index.mjs +1 -1
- package/resources/dimensional-price-groups/index.mjs.map +1 -1
- package/resources/dimensional-price-groups.d.mts +2 -0
- package/resources/dimensional-price-groups.d.mts.map +1 -0
- package/resources/dimensional-price-groups.d.ts.map +1 -1
- package/resources/dimensional-price-groups.js +2 -15
- package/resources/dimensional-price-groups.js.map +1 -1
- package/resources/dimensional-price-groups.mjs.map +1 -1
- package/resources/events/backfills.d.mts +389 -0
- package/resources/events/backfills.d.mts.map +1 -0
- package/resources/events/backfills.d.ts +11 -12
- package/resources/events/backfills.d.ts.map +1 -1
- package/resources/events/backfills.js +24 -15
- package/resources/events/backfills.js.map +1 -1
- package/resources/events/backfills.mjs +23 -13
- package/resources/events/backfills.mjs.map +1 -1
- package/resources/events/events.d.mts +536 -0
- package/resources/events/events.d.mts.map +1 -0
- package/resources/events/events.d.ts +10 -11
- package/resources/events/events.d.ts.map +1 -1
- package/resources/events/events.js +7 -29
- package/resources/events/events.js.map +1 -1
- package/resources/events/events.mjs +5 -5
- package/resources/events/events.mjs.map +1 -1
- package/resources/events/index.d.mts +4 -0
- package/resources/events/index.d.mts.map +1 -0
- package/resources/events/index.d.ts +1 -1
- package/resources/events/index.d.ts.map +1 -1
- package/resources/events/index.js +1 -2
- package/resources/events/index.js.map +1 -1
- package/resources/events/index.mjs +1 -1
- package/resources/events/index.mjs.map +1 -1
- package/resources/events/volume.d.mts +79 -0
- package/resources/events/volume.d.mts.map +1 -0
- package/resources/events/volume.d.ts +4 -3
- package/resources/events/volume.d.ts.map +1 -1
- package/resources/events/volume.js +1 -1
- package/resources/events/volume.js.map +1 -1
- package/resources/events/volume.mjs +1 -1
- package/resources/events/volume.mjs.map +1 -1
- package/resources/events.d.mts +2 -0
- package/resources/events.d.mts.map +1 -0
- package/resources/events.d.ts.map +1 -1
- package/resources/events.js +2 -15
- package/resources/events.js.map +1 -1
- package/resources/events.mjs.map +1 -1
- package/resources/index.d.mts +22 -0
- package/resources/index.d.mts.map +1 -0
- package/resources/index.d.ts +13 -13
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +7 -33
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +12 -12
- package/resources/index.mjs.map +1 -1
- package/resources/invoice-line-items.d.mts +245 -0
- package/resources/invoice-line-items.d.mts.map +1 -0
- package/resources/invoice-line-items.d.ts +4 -3
- package/resources/invoice-line-items.d.ts.map +1 -1
- package/resources/invoice-line-items.js +1 -1
- package/resources/invoice-line-items.js.map +1 -1
- package/resources/invoice-line-items.mjs +1 -1
- package/resources/invoice-line-items.mjs.map +1 -1
- package/resources/invoices.d.mts +1795 -0
- package/resources/invoices.d.mts.map +1 -0
- package/resources/invoices.d.ts +25 -27
- package/resources/invoices.d.ts.map +1 -1
- package/resources/invoices.js +105 -38
- package/resources/invoices.js.map +1 -1
- package/resources/invoices.mjs +104 -36
- package/resources/invoices.mjs.map +1 -1
- package/resources/items.d.mts +163 -0
- package/resources/items.d.mts.map +1 -0
- package/resources/items.d.ts +11 -12
- package/resources/items.d.ts.map +1 -1
- package/resources/items.js +20 -15
- package/resources/items.js.map +1 -1
- package/resources/items.mjs +19 -13
- package/resources/items.mjs.map +1 -1
- package/resources/license-types.d.mts +112 -0
- package/resources/license-types.d.mts.map +1 -0
- package/resources/license-types.d.ts +9 -10
- package/resources/license-types.d.ts.map +1 -1
- package/resources/license-types.js +14 -13
- package/resources/license-types.js.map +1 -1
- package/resources/license-types.mjs +13 -11
- package/resources/license-types.mjs.map +1 -1
- package/resources/licenses/external-licenses.d.mts +127 -0
- package/resources/licenses/external-licenses.d.mts.map +1 -0
- package/resources/licenses/external-licenses.d.ts +4 -3
- package/resources/licenses/external-licenses.d.ts.map +1 -1
- package/resources/licenses/external-licenses.js +6 -2
- package/resources/licenses/external-licenses.js.map +1 -1
- package/resources/licenses/external-licenses.mjs +6 -2
- package/resources/licenses/external-licenses.mjs.map +1 -1
- package/resources/licenses/index.d.mts +4 -0
- package/resources/licenses/index.d.mts.map +1 -0
- package/resources/licenses/index.d.ts +1 -1
- package/resources/licenses/index.d.ts.map +1 -1
- package/resources/licenses/index.js +1 -2
- package/resources/licenses/index.js.map +1 -1
- package/resources/licenses/index.mjs +1 -1
- package/resources/licenses/index.mjs.map +1 -1
- package/resources/licenses/licenses.d.mts +177 -0
- package/resources/licenses/licenses.d.mts.map +1 -0
- package/resources/licenses/licenses.d.ts +12 -12
- package/resources/licenses/licenses.d.ts.map +1 -1
- package/resources/licenses/licenses.js +13 -38
- package/resources/licenses/licenses.js.map +1 -1
- package/resources/licenses/licenses.mjs +9 -11
- package/resources/licenses/licenses.mjs.map +1 -1
- package/resources/licenses/usage.d.mts +226 -0
- package/resources/licenses/usage.d.mts.map +1 -0
- package/resources/licenses/usage.d.ts +5 -5
- package/resources/licenses/usage.d.ts.map +1 -1
- package/resources/licenses/usage.js +15 -6
- package/resources/licenses/usage.js.map +1 -1
- package/resources/licenses/usage.mjs +15 -6
- package/resources/licenses/usage.mjs.map +1 -1
- package/resources/licenses.d.mts +2 -0
- package/resources/licenses.d.mts.map +1 -0
- package/resources/licenses.d.ts.map +1 -1
- package/resources/licenses.js +2 -15
- package/resources/licenses.js.map +1 -1
- package/resources/licenses.mjs.map +1 -1
- package/resources/metrics.d.mts +147 -0
- package/resources/metrics.d.mts.map +1 -0
- package/resources/metrics.d.ts +10 -11
- package/resources/metrics.d.ts.map +1 -1
- package/resources/metrics.js +19 -14
- package/resources/metrics.js.map +1 -1
- package/resources/metrics.mjs +18 -12
- package/resources/metrics.mjs.map +1 -1
- package/resources/plans/external-plan-id.d.mts +61 -0
- package/resources/plans/external-plan-id.d.mts.map +1 -0
- package/resources/plans/external-plan-id.d.ts +5 -4
- package/resources/plans/external-plan-id.d.ts.map +1 -1
- package/resources/plans/external-plan-id.js +4 -3
- package/resources/plans/external-plan-id.js.map +1 -1
- package/resources/plans/external-plan-id.mjs +4 -3
- package/resources/plans/external-plan-id.mjs.map +1 -1
- package/resources/plans/index.d.mts +4 -0
- package/resources/plans/index.d.mts.map +1 -0
- package/resources/plans/index.d.ts +2 -2
- package/resources/plans/index.d.ts.map +1 -1
- package/resources/plans/index.js +1 -3
- package/resources/plans/index.js.map +1 -1
- package/resources/plans/index.mjs +2 -2
- package/resources/plans/index.mjs.map +1 -1
- package/resources/plans/migrations.d.mts +99 -0
- package/resources/plans/migrations.d.mts.map +1 -0
- package/resources/plans/migrations.d.ts +15 -10
- package/resources/plans/migrations.d.ts.map +1 -1
- package/resources/plans/migrations.js +17 -16
- package/resources/plans/migrations.js.map +1 -1
- package/resources/plans/migrations.mjs +16 -14
- package/resources/plans/migrations.mjs.map +1 -1
- package/resources/plans/plans.d.mts +1682 -0
- package/resources/plans/plans.d.mts.map +1 -0
- package/resources/plans/plans.d.ts +13 -14
- package/resources/plans/plans.d.ts.map +1 -1
- package/resources/plans/plans.js +18 -41
- package/resources/plans/plans.js.map +1 -1
- package/resources/plans/plans.mjs +15 -15
- package/resources/plans/plans.mjs.map +1 -1
- package/resources/plans.d.mts +2 -0
- package/resources/plans.d.mts.map +1 -0
- package/resources/plans.d.ts.map +1 -1
- package/resources/plans.js +2 -15
- package/resources/plans.js.map +1 -1
- package/resources/plans.mjs.map +1 -1
- package/resources/prices/external-price-id.d.mts +55 -0
- package/resources/prices/external-price-id.d.mts.map +1 -0
- package/resources/prices/external-price-id.d.ts +7 -6
- package/resources/prices/external-price-id.d.ts.map +1 -1
- package/resources/prices/external-price-id.js +6 -5
- package/resources/prices/external-price-id.js.map +1 -1
- package/resources/prices/external-price-id.mjs +6 -5
- package/resources/prices/external-price-id.mjs.map +1 -1
- package/resources/prices/index.d.mts +3 -0
- package/resources/prices/index.d.mts.map +1 -0
- package/resources/prices/index.d.ts.map +1 -1
- package/resources/prices/index.mjs.map +1 -1
- package/resources/prices/prices.d.mts +5950 -0
- package/resources/prices/prices.d.mts.map +1 -0
- package/resources/prices/prices.d.ts +13 -13
- package/resources/prices/prices.d.ts.map +1 -1
- package/resources/prices/prices.js +23 -37
- package/resources/prices/prices.js.map +1 -1
- package/resources/prices/prices.mjs +20 -12
- package/resources/prices/prices.mjs.map +1 -1
- package/resources/prices.d.mts +2 -0
- package/resources/prices.d.mts.map +1 -0
- package/resources/prices.d.ts.map +1 -1
- package/resources/prices.js +2 -15
- package/resources/prices.js.map +1 -1
- package/resources/prices.mjs.map +1 -1
- package/resources/shared.d.mts +13354 -0
- package/resources/shared.d.mts.map +1 -0
- package/resources/shared.d.ts +4 -7
- package/resources/shared.d.ts.map +1 -1
- package/resources/shared.js +0 -11
- package/resources/shared.js.map +1 -1
- package/resources/shared.mjs +1 -7
- package/resources/shared.mjs.map +1 -1
- package/resources/subscription-changes.d.mts +434 -0
- package/resources/subscription-changes.d.mts.map +1 -0
- package/resources/subscription-changes.d.ts +10 -12
- package/resources/subscription-changes.d.ts.map +1 -1
- package/resources/subscription-changes.js +18 -18
- package/resources/subscription-changes.js.map +1 -1
- package/resources/subscription-changes.mjs +17 -16
- package/resources/subscription-changes.mjs.map +1 -1
- package/resources/subscriptions.d.mts +10821 -0
- package/resources/subscriptions.d.mts.map +1 -0
- package/resources/subscriptions.d.ts +24 -29
- package/resources/subscriptions.d.ts.map +1 -1
- package/resources/subscriptions.js +284 -40
- package/resources/subscriptions.js.map +1 -1
- package/resources/subscriptions.mjs +283 -37
- package/resources/subscriptions.mjs.map +1 -1
- package/resources/top-level.d.mts +21 -0
- package/resources/top-level.d.mts.map +1 -0
- package/resources/top-level.d.ts +4 -3
- package/resources/top-level.d.ts.map +1 -1
- package/resources/top-level.js +1 -1
- package/resources/top-level.js.map +1 -1
- package/resources/top-level.mjs +1 -1
- package/resources/top-level.mjs.map +1 -1
- package/resources/webhooks.d.mts +24 -0
- package/resources/webhooks.d.mts.map +1 -0
- package/resources/webhooks.d.ts +2 -2
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/webhooks.js +18 -5
- package/resources/webhooks.js.map +1 -1
- package/resources/webhooks.mjs +16 -3
- package/resources/webhooks.mjs.map +1 -1
- package/resources.d.mts +2 -0
- package/resources.d.mts.map +1 -0
- package/resources.d.ts.map +1 -1
- package/resources.js +2 -15
- package/resources.js.map +1 -1
- package/resources.mjs.map +1 -1
- package/src/api-promise.ts +2 -0
- package/src/client.ts +1499 -0
- package/src/core/README.md +3 -0
- package/src/core/api-promise.ts +92 -0
- package/src/core/error.ts +456 -0
- package/src/core/pagination.ts +167 -0
- package/src/core/resource.ts +11 -0
- package/src/core/uploads.ts +2 -0
- package/src/error.ts +2 -456
- package/src/index.ts +6 -923
- package/src/internal/README.md +3 -0
- package/src/internal/builtin-types.ts +93 -0
- package/src/internal/detect-platform.ts +196 -0
- package/src/internal/errors.ts +33 -0
- package/src/internal/headers.ts +97 -0
- package/src/internal/parse.ts +56 -0
- package/src/internal/qs/formats.ts +2 -1
- package/src/internal/qs/stringify.ts +17 -20
- package/src/internal/qs/utils.ts +14 -14
- package/src/internal/request-options.ts +91 -0
- package/src/internal/shim-types.ts +26 -0
- package/src/internal/shims.ts +107 -0
- package/src/internal/to-file.ts +154 -0
- package/src/internal/types.ts +93 -0
- package/src/internal/uploads.ts +187 -0
- package/src/internal/utils/base64.ts +40 -0
- package/src/internal/utils/bytes.ts +32 -0
- package/src/internal/utils/env.ts +18 -0
- package/src/internal/utils/log.ts +128 -0
- package/src/internal/utils/path.ts +88 -0
- package/src/internal/utils/sleep.ts +3 -0
- package/src/internal/utils/uuid.ts +17 -0
- package/src/internal/utils/values.ts +105 -0
- package/src/internal/utils.ts +9 -0
- package/src/pagination.ts +2 -70
- package/src/resource.ts +2 -11
- package/src/resources/alerts.ts +34 -62
- package/src/resources/beta/beta.ts +23 -13
- package/src/resources/beta/external-plan-id.ts +20 -12
- package/src/resources/beta/index.ts +2 -0
- package/src/resources/coupons/coupons.ts +16 -21
- package/src/resources/coupons/index.ts +7 -1
- package/src/resources/coupons/subscriptions.ts +13 -24
- package/src/resources/credit-blocks.ts +12 -12
- package/src/resources/credit-notes.ts +13 -20
- package/src/resources/customers/balance-transactions.ts +15 -28
- package/src/resources/customers/costs.ts +13 -33
- package/src/resources/customers/credits/credits.ts +26 -52
- package/src/resources/customers/credits/index.ts +8 -6
- package/src/resources/customers/credits/ledger.ts +29 -55
- package/src/resources/customers/credits/top-ups.ts +48 -61
- package/src/resources/customers/customers.ts +37 -48
- package/src/resources/customers/index.ts +4 -4
- package/src/resources/dimensional-price-groups/dimensional-price-groups.ts +19 -30
- package/src/resources/dimensional-price-groups/external-dimensional-price-group-id.ts +12 -10
- package/src/resources/dimensional-price-groups/index.ts +1 -1
- package/src/resources/events/backfills.ts +18 -27
- package/src/resources/events/events.ts +14 -15
- package/src/resources/events/index.ts +1 -1
- package/src/resources/events/volume.ts +4 -3
- package/src/resources/index.ts +29 -28
- package/src/resources/invoice-line-items.ts +5 -4
- package/src/resources/invoices.ts +53 -95
- package/src/resources/items.ts +18 -24
- package/src/resources/license-types.ts +14 -31
- package/src/resources/licenses/external-licenses.ts +10 -5
- package/src/resources/licenses/index.ts +1 -1
- package/src/resources/licenses/licenses.ts +21 -20
- package/src/resources/licenses/usage.ts +9 -20
- package/src/resources/metrics.ts +16 -29
- package/src/resources/plans/external-plan-id.ts +9 -7
- package/src/resources/plans/index.ts +4 -2
- package/src/resources/plans/migrations.ts +30 -31
- package/src/resources/plans/plans.ts +22 -24
- package/src/resources/prices/external-price-id.ts +11 -9
- package/src/resources/prices/prices.ts +23 -31
- package/src/resources/shared.ts +4 -4
- package/src/resources/subscription-changes.ts +21 -44
- package/src/resources/subscriptions.ts +66 -106
- package/src/resources/top-level.ts +4 -3
- package/src/resources/webhooks.ts +17 -3
- package/src/tsconfig.json +2 -2
- package/src/uploads.ts +2 -255
- package/src/version.ts +1 -1
- package/uploads.d.mts +3 -0
- package/uploads.d.mts.map +1 -0
- package/uploads.d.ts +2 -74
- package/uploads.d.ts.map +1 -1
- package/uploads.js +3 -168
- package/uploads.js.map +1 -1
- package/uploads.mjs +2 -157
- package/uploads.mjs.map +1 -1
- package/version.d.mts +2 -0
- package/version.d.mts.map +1 -0
- 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/_shims/MultipartBody.d.ts +0 -9
- package/_shims/MultipartBody.d.ts.map +0 -1
- package/_shims/MultipartBody.js +0 -16
- package/_shims/MultipartBody.js.map +0 -1
- package/_shims/MultipartBody.mjs +0 -12
- package/_shims/MultipartBody.mjs.map +0 -1
- package/_shims/README.md +0 -46
- package/_shims/auto/runtime-bun.d.ts +0 -5
- package/_shims/auto/runtime-bun.d.ts.map +0 -1
- package/_shims/auto/runtime-bun.js +0 -21
- package/_shims/auto/runtime-bun.js.map +0 -1
- package/_shims/auto/runtime-bun.mjs +0 -2
- package/_shims/auto/runtime-bun.mjs.map +0 -1
- package/_shims/auto/runtime-node.d.ts +0 -5
- package/_shims/auto/runtime-node.d.ts.map +0 -1
- package/_shims/auto/runtime-node.js +0 -21
- package/_shims/auto/runtime-node.js.map +0 -1
- package/_shims/auto/runtime-node.mjs +0 -2
- package/_shims/auto/runtime-node.mjs.map +0 -1
- package/_shims/auto/runtime.d.ts +0 -5
- package/_shims/auto/runtime.d.ts.map +0 -1
- package/_shims/auto/runtime.js +0 -21
- package/_shims/auto/runtime.js.map +0 -1
- package/_shims/auto/runtime.mjs +0 -2
- package/_shims/auto/runtime.mjs.map +0 -1
- package/_shims/auto/types-node.d.ts +0 -5
- package/_shims/auto/types-node.d.ts.map +0 -1
- package/_shims/auto/types-node.js +0 -21
- package/_shims/auto/types-node.js.map +0 -1
- package/_shims/auto/types-node.mjs +0 -2
- package/_shims/auto/types-node.mjs.map +0 -1
- package/_shims/auto/types.d.ts +0 -101
- package/_shims/auto/types.js +0 -3
- package/_shims/auto/types.mjs +0 -3
- package/_shims/bun-runtime.d.ts +0 -6
- package/_shims/bun-runtime.d.ts.map +0 -1
- package/_shims/bun-runtime.js +0 -14
- package/_shims/bun-runtime.js.map +0 -1
- package/_shims/bun-runtime.mjs +0 -10
- package/_shims/bun-runtime.mjs.map +0 -1
- package/_shims/index.d.ts +0 -83
- package/_shims/index.js +0 -17
- package/_shims/index.mjs +0 -11
- package/_shims/manual-types.d.ts +0 -12
- package/_shims/manual-types.js +0 -3
- package/_shims/manual-types.mjs +0 -3
- package/_shims/node-runtime.d.ts +0 -3
- package/_shims/node-runtime.d.ts.map +0 -1
- package/_shims/node-runtime.js +0 -89
- package/_shims/node-runtime.js.map +0 -1
- package/_shims/node-runtime.mjs +0 -56
- package/_shims/node-runtime.mjs.map +0 -1
- package/_shims/node-types.d.ts +0 -42
- package/_shims/node-types.js +0 -3
- package/_shims/node-types.mjs +0 -3
- package/_shims/registry.d.ts +0 -37
- package/_shims/registry.d.ts.map +0 -1
- package/_shims/registry.js +0 -41
- package/_shims/registry.js.map +0 -1
- package/_shims/registry.mjs +0 -37
- package/_shims/registry.mjs.map +0 -1
- package/_shims/web-runtime.d.ts +0 -5
- package/_shims/web-runtime.d.ts.map +0 -1
- package/_shims/web-runtime.js +0 -78
- package/_shims/web-runtime.js.map +0 -1
- package/_shims/web-runtime.mjs +0 -71
- package/_shims/web-runtime.mjs.map +0 -1
- package/_shims/web-types.d.ts +0 -83
- package/_shims/web-types.js +0 -3
- package/_shims/web-types.mjs +0 -3
- package/core.d.ts +0 -255
- package/core.d.ts.map +0 -1
- package/core.js +0 -920
- package/core.js.map +0 -1
- package/core.mjs +0 -888
- package/core.mjs.map +0 -1
- package/shims/node.d.ts +0 -30
- package/shims/node.d.ts.map +0 -1
- package/shims/node.js +0 -31
- package/shims/node.js.map +0 -1
- package/shims/node.mjs +0 -5
- package/shims/node.mjs.map +0 -1
- package/shims/web.d.ts +0 -26
- package/shims/web.d.ts.map +0 -1
- package/shims/web.js +0 -31
- package/shims/web.js.map +0 -1
- package/shims/web.mjs +0 -5
- package/shims/web.mjs.map +0 -1
- package/src/_shims/MultipartBody.ts +0 -9
- package/src/_shims/README.md +0 -46
- package/src/_shims/auto/runtime-bun.ts +0 -4
- package/src/_shims/auto/runtime-node.ts +0 -4
- package/src/_shims/auto/runtime.ts +0 -4
- package/src/_shims/auto/types-node.ts +0 -4
- package/src/_shims/auto/types.d.ts +0 -101
- package/src/_shims/auto/types.js +0 -3
- package/src/_shims/auto/types.mjs +0 -3
- package/src/_shims/bun-runtime.ts +0 -14
- package/src/_shims/index.d.ts +0 -83
- package/src/_shims/index.js +0 -17
- package/src/_shims/index.mjs +0 -11
- package/src/_shims/manual-types.d.ts +0 -12
- package/src/_shims/manual-types.js +0 -3
- package/src/_shims/manual-types.mjs +0 -3
- package/src/_shims/node-runtime.ts +0 -81
- package/src/_shims/node-types.d.ts +0 -42
- package/src/_shims/node-types.js +0 -3
- package/src/_shims/node-types.mjs +0 -3
- package/src/_shims/registry.ts +0 -67
- package/src/_shims/web-runtime.ts +0 -103
- package/src/_shims/web-types.d.ts +0 -83
- package/src/_shims/web-types.js +0 -3
- package/src/_shims/web-types.mjs +0 -3
- package/src/core.ts +0 -1231
- package/src/shims/node.ts +0 -50
- package/src/shims/web.ts +0 -50
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
import { APIResource } from "../../resource.mjs";
|
|
2
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
+
import { path } from "../../internal/utils/path.mjs";
|
|
3
4
|
export class ExternalDimensionalPriceGroupID extends APIResource {
|
|
4
5
|
/**
|
|
5
6
|
* Fetch dimensional price group by external ID
|
|
@@ -7,13 +8,13 @@ export class ExternalDimensionalPriceGroupID extends APIResource {
|
|
|
7
8
|
* @example
|
|
8
9
|
* ```ts
|
|
9
10
|
* const dimensionalPriceGroup =
|
|
10
|
-
* await client.dimensionalPriceGroups.
|
|
11
|
+
* await client.dimensionalPriceGroups.externalDimensionalPriceGroupID.retrieve(
|
|
11
12
|
* 'external_dimensional_price_group_id',
|
|
12
13
|
* );
|
|
13
14
|
* ```
|
|
14
15
|
*/
|
|
15
16
|
retrieve(externalDimensionalPriceGroupId, options) {
|
|
16
|
-
return this._client.get(`/dimensional_price_groups/external_dimensional_price_group_id/${externalDimensionalPriceGroupId}`, options);
|
|
17
|
+
return this._client.get(path `/dimensional_price_groups/external_dimensional_price_group_id/${externalDimensionalPriceGroupId}`, options);
|
|
17
18
|
}
|
|
18
19
|
/**
|
|
19
20
|
* This endpoint can be used to update the `external_dimensional_price_group_id`
|
|
@@ -23,13 +24,13 @@ export class ExternalDimensionalPriceGroupID extends APIResource {
|
|
|
23
24
|
* @example
|
|
24
25
|
* ```ts
|
|
25
26
|
* const dimensionalPriceGroup =
|
|
26
|
-
* await client.dimensionalPriceGroups.
|
|
27
|
+
* await client.dimensionalPriceGroups.externalDimensionalPriceGroupID.update(
|
|
27
28
|
* 'external_dimensional_price_group_id',
|
|
28
29
|
* );
|
|
29
30
|
* ```
|
|
30
31
|
*/
|
|
31
32
|
update(externalDimensionalPriceGroupId, body, options) {
|
|
32
|
-
return this._client.put(`/dimensional_price_groups/external_dimensional_price_group_id/${externalDimensionalPriceGroupId}`, { body, ...options });
|
|
33
|
+
return this._client.put(path `/dimensional_price_groups/external_dimensional_price_group_id/${externalDimensionalPriceGroupId}`, { body, ...options });
|
|
33
34
|
}
|
|
34
35
|
}
|
|
35
36
|
//# sourceMappingURL=external-dimensional-price-group-id.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"external-dimensional-price-group-id.mjs","sourceRoot":"","sources":["../../src/resources/dimensional-price-groups/external-dimensional-price-group-id.ts"],"names":[],"mappings":"AAAA,sFAAsF;
|
|
1
|
+
{"version":3,"file":"external-dimensional-price-group-id.mjs","sourceRoot":"","sources":["../../src/resources/dimensional-price-groups/external-dimensional-price-group-id.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAIlD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD,MAAM,OAAO,+BAAgC,SAAQ,WAAW;IAC9D;;;;;;;;;;OAUG;IACH,QAAQ,CACN,+BAAuC,EACvC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CACrB,IAAI,CAAA,iEAAiE,+BAA+B,EAAE,EACtG,OAAO,CACR,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,+BAAuC,EACvC,IAAiD,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CACrB,IAAI,CAAA,iEAAiE,+BAA+B,EAAE,EACtG,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CACrB,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { DimensionalPriceGroups, type DimensionalPriceGroup, type DimensionalPriceGroupCreateParams, type DimensionalPriceGroupUpdateParams, type DimensionalPriceGroupListParams, type DimensionalPriceGroupsPage, } from "./dimensional-price-groups.mjs";
|
|
2
|
+
export { ExternalDimensionalPriceGroupID, type ExternalDimensionalPriceGroupIDUpdateParams, } from "./external-dimensional-price-group-id.mjs";
|
|
3
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/dimensional-price-groups/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,sBAAsB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,iCAAiC,EACtC,KAAK,iCAAiC,EACtC,KAAK,+BAA+B,EACpC,KAAK,0BAA0B,GAChC,uCAAmC;AACpC,OAAO,EACL,+BAA+B,EAC/B,KAAK,2CAA2C,GACjD,kDAA8C"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { DimensionalPriceGroups, type DimensionalPriceGroup, type DimensionalPriceGroupCreateParams, type DimensionalPriceGroupUpdateParams, type DimensionalPriceGroupListParams, type DimensionalPriceGroupsPage, } from "./dimensional-price-groups.js";
|
|
2
2
|
export { ExternalDimensionalPriceGroupID, type ExternalDimensionalPriceGroupIDUpdateParams, } from "./external-dimensional-price-group-id.js";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/dimensional-price-groups/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/dimensional-price-groups/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,sBAAsB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,iCAAiC,EACtC,KAAK,iCAAiC,EACtC,KAAK,+BAA+B,EACpC,KAAK,0BAA0B,GAChC,sCAAmC;AACpC,OAAO,EACL,+BAA+B,EAC/B,KAAK,2CAA2C,GACjD,iDAA8C"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.ExternalDimensionalPriceGroupID = exports.DimensionalPriceGroups =
|
|
4
|
+
exports.ExternalDimensionalPriceGroupID = exports.DimensionalPriceGroups = void 0;
|
|
5
5
|
var dimensional_price_groups_1 = require("./dimensional-price-groups.js");
|
|
6
|
-
Object.defineProperty(exports, "DimensionalPriceGroupsPage", { enumerable: true, get: function () { return dimensional_price_groups_1.DimensionalPriceGroupsPage; } });
|
|
7
6
|
Object.defineProperty(exports, "DimensionalPriceGroups", { enumerable: true, get: function () { return dimensional_price_groups_1.DimensionalPriceGroups; } });
|
|
8
7
|
var external_dimensional_price_group_id_1 = require("./external-dimensional-price-group-id.js");
|
|
9
8
|
Object.defineProperty(exports, "ExternalDimensionalPriceGroupID", { enumerable: true, get: function () { return external_dimensional_price_group_id_1.ExternalDimensionalPriceGroupID; } });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/dimensional-price-groups/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0EAOoC;AANlC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/dimensional-price-groups/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0EAOoC;AANlC,kIAAA,sBAAsB,OAAA;AAOxB,gGAG+C;AAF7C,sJAAA,+BAA+B,OAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
export {
|
|
2
|
+
export { DimensionalPriceGroups, } from "./dimensional-price-groups.mjs";
|
|
3
3
|
export { ExternalDimensionalPriceGroupID, } from "./external-dimensional-price-group-id.mjs";
|
|
4
4
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/dimensional-price-groups/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/dimensional-price-groups/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,sBAAsB,GAMvB,uCAAmC;AACpC,OAAO,EACL,+BAA+B,GAEhC,kDAA8C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dimensional-price-groups.d.mts","sourceRoot":"","sources":["../src/resources/dimensional-price-groups.ts"],"names":[],"mappings":"AAEA,qDAAiD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dimensional-price-groups.d.ts","sourceRoot":"","sources":["../src/resources/dimensional-price-groups.ts"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"dimensional-price-groups.d.ts","sourceRoot":"","sources":["../src/resources/dimensional-price-groups.ts"],"names":[],"mappings":"AAEA,oDAAiD"}
|
|
@@ -1,19 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
-
if (k2 === undefined) k2 = k;
|
|
5
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
-
}
|
|
9
|
-
Object.defineProperty(o, k2, desc);
|
|
10
|
-
}) : (function(o, m, k, k2) {
|
|
11
|
-
if (k2 === undefined) k2 = k;
|
|
12
|
-
o[k2] = m[k];
|
|
13
|
-
}));
|
|
14
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16
|
-
};
|
|
17
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
|
|
4
|
+
const tslib_1 = require("../internal/tslib.js");
|
|
5
|
+
tslib_1.__exportStar(require("./dimensional-price-groups/index.js"), exports);
|
|
19
6
|
//# sourceMappingURL=dimensional-price-groups.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dimensional-price-groups.js","sourceRoot":"","sources":["../src/resources/dimensional-price-groups.ts"],"names":[],"mappings":";AAAA,sFAAsF
|
|
1
|
+
{"version":3,"file":"dimensional-price-groups.js","sourceRoot":"","sources":["../src/resources/dimensional-price-groups.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,8EAAiD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dimensional-price-groups.mjs","sourceRoot":"","sources":["../src/resources/dimensional-price-groups.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
|
|
1
|
+
{"version":3,"file":"dimensional-price-groups.mjs","sourceRoot":"","sources":["../src/resources/dimensional-price-groups.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,qDAAiD"}
|
|
@@ -0,0 +1,389 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../../core/api-promise.mjs";
|
|
3
|
+
import { Page, type PageParams, PagePromise } from "../../core/pagination.mjs";
|
|
4
|
+
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* The [Event](/core-concepts#event) resource represents a usage event that has been created for a
|
|
7
|
+
* customer. Events are the core of Orb's usage-based billing model, and are used to calculate the usage charges for
|
|
8
|
+
* a given billing period.
|
|
9
|
+
*/
|
|
10
|
+
export declare class Backfills extends APIResource {
|
|
11
|
+
/**
|
|
12
|
+
* Creating the backfill enables adding or replacing past events, even those that
|
|
13
|
+
* are older than the ingestion grace period. Performing a backfill in Orb involves
|
|
14
|
+
* 3 steps:
|
|
15
|
+
*
|
|
16
|
+
* 1. Create the backfill, specifying its parameters.
|
|
17
|
+
* 2. [Ingest](/api-reference/event/ingest-events) usage events, referencing the
|
|
18
|
+
* backfill (query parameter `backfill_id`).
|
|
19
|
+
* 3. [Close](close-backfill) the backfill, propagating the update in past usage
|
|
20
|
+
* throughout Orb.
|
|
21
|
+
*
|
|
22
|
+
* Changes from a backfill are not reflected until the backfill is closed, so you
|
|
23
|
+
* won’t need to worry about your customers seeing partially updated usage data.
|
|
24
|
+
* Backfills are also reversible, so you’ll be able to revert a backfill if you’ve
|
|
25
|
+
* made a mistake.
|
|
26
|
+
*
|
|
27
|
+
* This endpoint will return a backfill object, which contains an `id`. That `id`
|
|
28
|
+
* can then be used as the `backfill_id` query parameter to the event ingestion
|
|
29
|
+
* endpoint to associate ingested events with this backfill. The effects (e.g.
|
|
30
|
+
* updated usage graphs) of this backfill will not take place until the backfill is
|
|
31
|
+
* closed.
|
|
32
|
+
*
|
|
33
|
+
* If the `replace_existing_events` is `true`, existing events in the backfill's
|
|
34
|
+
* timeframe will be replaced with the newly ingested events associated with the
|
|
35
|
+
* backfill. If `false`, newly ingested events will be added to the existing
|
|
36
|
+
* events.
|
|
37
|
+
*
|
|
38
|
+
* If a `customer_id` or `external_customer_id` is specified, the backfill will
|
|
39
|
+
* only affect events for that customer. If neither is specified, the backfill will
|
|
40
|
+
* affect all customers.
|
|
41
|
+
*
|
|
42
|
+
* When `replace_existing_events` is `true`, this indicates that existing events in
|
|
43
|
+
* the timeframe should no longer be counted towards invoiced usage. In this
|
|
44
|
+
* scenario, the parameter `deprecation_filter` can be optionally added which
|
|
45
|
+
* enables filtering using
|
|
46
|
+
* [computed properties](/extensibility/advanced-metrics#computed-properties). The
|
|
47
|
+
* expressiveness of computed properties allows you to deprecate existing events
|
|
48
|
+
* based on both a period of time and specific property values.
|
|
49
|
+
*
|
|
50
|
+
* You may not have multiple backfills in a pending or pending_revert state with
|
|
51
|
+
* overlapping timeframes.
|
|
52
|
+
*
|
|
53
|
+
* @example
|
|
54
|
+
* ```ts
|
|
55
|
+
* const backfill = await client.events.backfills.create({
|
|
56
|
+
* timeframe_end: '2019-12-27T18:11:19.117Z',
|
|
57
|
+
* timeframe_start: '2019-12-27T18:11:19.117Z',
|
|
58
|
+
* });
|
|
59
|
+
* ```
|
|
60
|
+
*/
|
|
61
|
+
create(body: BackfillCreateParams, options?: RequestOptions): APIPromise<BackfillCreateResponse>;
|
|
62
|
+
/**
|
|
63
|
+
* This endpoint returns a list of all backfills in a list format.
|
|
64
|
+
*
|
|
65
|
+
* The list of backfills is ordered starting from the most recently created
|
|
66
|
+
* backfill. The response also includes
|
|
67
|
+
* [`pagination_metadata`](/api-reference/pagination), which lets the caller
|
|
68
|
+
* retrieve the next page of results if they exist.
|
|
69
|
+
*
|
|
70
|
+
* @example
|
|
71
|
+
* ```ts
|
|
72
|
+
* // Automatically fetches more pages as needed.
|
|
73
|
+
* for await (const backfillListResponse of client.events.backfills.list()) {
|
|
74
|
+
* // ...
|
|
75
|
+
* }
|
|
76
|
+
* ```
|
|
77
|
+
*/
|
|
78
|
+
list(query?: BackfillListParams | null | undefined, options?: RequestOptions): PagePromise<BackfillListResponsesPage, BackfillListResponse>;
|
|
79
|
+
/**
|
|
80
|
+
* Closing a backfill makes the updated usage visible in Orb. Upon closing a
|
|
81
|
+
* backfill, Orb will asynchronously reflect the updated usage in invoice amounts
|
|
82
|
+
* and usage graphs. Once all of the updates are complete, the backfill's status
|
|
83
|
+
* will transition to `reflected`.
|
|
84
|
+
*
|
|
85
|
+
* @example
|
|
86
|
+
* ```ts
|
|
87
|
+
* const response = await client.events.backfills.close(
|
|
88
|
+
* 'backfill_id',
|
|
89
|
+
* );
|
|
90
|
+
* ```
|
|
91
|
+
*/
|
|
92
|
+
close(backfillId: string, options?: RequestOptions): APIPromise<BackfillCloseResponse>;
|
|
93
|
+
/**
|
|
94
|
+
* This endpoint is used to fetch a backfill given an identifier.
|
|
95
|
+
*
|
|
96
|
+
* @example
|
|
97
|
+
* ```ts
|
|
98
|
+
* const response = await client.events.backfills.fetch(
|
|
99
|
+
* 'backfill_id',
|
|
100
|
+
* );
|
|
101
|
+
* ```
|
|
102
|
+
*/
|
|
103
|
+
fetch(backfillId: string, options?: RequestOptions): APIPromise<BackfillFetchResponse>;
|
|
104
|
+
/**
|
|
105
|
+
* Reverting a backfill undoes all the effects of closing the backfill. If the
|
|
106
|
+
* backfill is reflected, the status will transition to `pending_revert` while the
|
|
107
|
+
* effects of the backfill are undone. Once all effects are undone, the backfill
|
|
108
|
+
* will transition to `reverted`.
|
|
109
|
+
*
|
|
110
|
+
* If a backfill is reverted before its closed, no usage will be updated as a
|
|
111
|
+
* result of the backfill and it will immediately transition to `reverted`.
|
|
112
|
+
*
|
|
113
|
+
* @example
|
|
114
|
+
* ```ts
|
|
115
|
+
* const response = await client.events.backfills.revert(
|
|
116
|
+
* 'backfill_id',
|
|
117
|
+
* );
|
|
118
|
+
* ```
|
|
119
|
+
*/
|
|
120
|
+
revert(backfillId: string, options?: RequestOptions): APIPromise<BackfillRevertResponse>;
|
|
121
|
+
}
|
|
122
|
+
export type BackfillListResponsesPage = Page<BackfillListResponse>;
|
|
123
|
+
/**
|
|
124
|
+
* A backfill represents an update to historical usage data, adding or replacing
|
|
125
|
+
* events in a timeframe.
|
|
126
|
+
*/
|
|
127
|
+
export interface BackfillCreateResponse {
|
|
128
|
+
id: string;
|
|
129
|
+
/**
|
|
130
|
+
* If in the future, the time at which the backfill will automatically close. If in
|
|
131
|
+
* the past, the time at which the backfill was closed.
|
|
132
|
+
*/
|
|
133
|
+
close_time: string | null;
|
|
134
|
+
created_at: string;
|
|
135
|
+
/**
|
|
136
|
+
* The Orb-generated ID of the customer to which this backfill is scoped. If
|
|
137
|
+
* `null`, this backfill is scoped to all customers.
|
|
138
|
+
*/
|
|
139
|
+
customer_id: string | null;
|
|
140
|
+
/**
|
|
141
|
+
* The number of events ingested in this backfill.
|
|
142
|
+
*/
|
|
143
|
+
events_ingested: number;
|
|
144
|
+
/**
|
|
145
|
+
* If `true`, existing events in the backfill's timeframe will be replaced with the
|
|
146
|
+
* newly ingested events associated with the backfill. If `false`, newly ingested
|
|
147
|
+
* events will be added to the existing events.
|
|
148
|
+
*/
|
|
149
|
+
replace_existing_events: boolean;
|
|
150
|
+
/**
|
|
151
|
+
* The time at which this backfill was reverted.
|
|
152
|
+
*/
|
|
153
|
+
reverted_at: string | null;
|
|
154
|
+
/**
|
|
155
|
+
* The status of the backfill.
|
|
156
|
+
*/
|
|
157
|
+
status: 'pending' | 'reflected' | 'pending_revert' | 'reverted';
|
|
158
|
+
timeframe_end: string;
|
|
159
|
+
timeframe_start: string;
|
|
160
|
+
/**
|
|
161
|
+
* A boolean
|
|
162
|
+
* [computed property](/extensibility/advanced-metrics#computed-properties) used to
|
|
163
|
+
* filter the set of events to deprecate
|
|
164
|
+
*/
|
|
165
|
+
deprecation_filter?: string | null;
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* A backfill represents an update to historical usage data, adding or replacing
|
|
169
|
+
* events in a timeframe.
|
|
170
|
+
*/
|
|
171
|
+
export interface BackfillListResponse {
|
|
172
|
+
id: string;
|
|
173
|
+
/**
|
|
174
|
+
* If in the future, the time at which the backfill will automatically close. If in
|
|
175
|
+
* the past, the time at which the backfill was closed.
|
|
176
|
+
*/
|
|
177
|
+
close_time: string | null;
|
|
178
|
+
created_at: string;
|
|
179
|
+
/**
|
|
180
|
+
* The Orb-generated ID of the customer to which this backfill is scoped. If
|
|
181
|
+
* `null`, this backfill is scoped to all customers.
|
|
182
|
+
*/
|
|
183
|
+
customer_id: string | null;
|
|
184
|
+
/**
|
|
185
|
+
* The number of events ingested in this backfill.
|
|
186
|
+
*/
|
|
187
|
+
events_ingested: number;
|
|
188
|
+
/**
|
|
189
|
+
* If `true`, existing events in the backfill's timeframe will be replaced with the
|
|
190
|
+
* newly ingested events associated with the backfill. If `false`, newly ingested
|
|
191
|
+
* events will be added to the existing events.
|
|
192
|
+
*/
|
|
193
|
+
replace_existing_events: boolean;
|
|
194
|
+
/**
|
|
195
|
+
* The time at which this backfill was reverted.
|
|
196
|
+
*/
|
|
197
|
+
reverted_at: string | null;
|
|
198
|
+
/**
|
|
199
|
+
* The status of the backfill.
|
|
200
|
+
*/
|
|
201
|
+
status: 'pending' | 'reflected' | 'pending_revert' | 'reverted';
|
|
202
|
+
timeframe_end: string;
|
|
203
|
+
timeframe_start: string;
|
|
204
|
+
/**
|
|
205
|
+
* A boolean
|
|
206
|
+
* [computed property](/extensibility/advanced-metrics#computed-properties) used to
|
|
207
|
+
* filter the set of events to deprecate
|
|
208
|
+
*/
|
|
209
|
+
deprecation_filter?: string | null;
|
|
210
|
+
}
|
|
211
|
+
/**
|
|
212
|
+
* A backfill represents an update to historical usage data, adding or replacing
|
|
213
|
+
* events in a timeframe.
|
|
214
|
+
*/
|
|
215
|
+
export interface BackfillCloseResponse {
|
|
216
|
+
id: string;
|
|
217
|
+
/**
|
|
218
|
+
* If in the future, the time at which the backfill will automatically close. If in
|
|
219
|
+
* the past, the time at which the backfill was closed.
|
|
220
|
+
*/
|
|
221
|
+
close_time: string | null;
|
|
222
|
+
created_at: string;
|
|
223
|
+
/**
|
|
224
|
+
* The Orb-generated ID of the customer to which this backfill is scoped. If
|
|
225
|
+
* `null`, this backfill is scoped to all customers.
|
|
226
|
+
*/
|
|
227
|
+
customer_id: string | null;
|
|
228
|
+
/**
|
|
229
|
+
* The number of events ingested in this backfill.
|
|
230
|
+
*/
|
|
231
|
+
events_ingested: number;
|
|
232
|
+
/**
|
|
233
|
+
* If `true`, existing events in the backfill's timeframe will be replaced with the
|
|
234
|
+
* newly ingested events associated with the backfill. If `false`, newly ingested
|
|
235
|
+
* events will be added to the existing events.
|
|
236
|
+
*/
|
|
237
|
+
replace_existing_events: boolean;
|
|
238
|
+
/**
|
|
239
|
+
* The time at which this backfill was reverted.
|
|
240
|
+
*/
|
|
241
|
+
reverted_at: string | null;
|
|
242
|
+
/**
|
|
243
|
+
* The status of the backfill.
|
|
244
|
+
*/
|
|
245
|
+
status: 'pending' | 'reflected' | 'pending_revert' | 'reverted';
|
|
246
|
+
timeframe_end: string;
|
|
247
|
+
timeframe_start: string;
|
|
248
|
+
/**
|
|
249
|
+
* A boolean
|
|
250
|
+
* [computed property](/extensibility/advanced-metrics#computed-properties) used to
|
|
251
|
+
* filter the set of events to deprecate
|
|
252
|
+
*/
|
|
253
|
+
deprecation_filter?: string | null;
|
|
254
|
+
}
|
|
255
|
+
/**
|
|
256
|
+
* A backfill represents an update to historical usage data, adding or replacing
|
|
257
|
+
* events in a timeframe.
|
|
258
|
+
*/
|
|
259
|
+
export interface BackfillFetchResponse {
|
|
260
|
+
id: string;
|
|
261
|
+
/**
|
|
262
|
+
* If in the future, the time at which the backfill will automatically close. If in
|
|
263
|
+
* the past, the time at which the backfill was closed.
|
|
264
|
+
*/
|
|
265
|
+
close_time: string | null;
|
|
266
|
+
created_at: string;
|
|
267
|
+
/**
|
|
268
|
+
* The Orb-generated ID of the customer to which this backfill is scoped. If
|
|
269
|
+
* `null`, this backfill is scoped to all customers.
|
|
270
|
+
*/
|
|
271
|
+
customer_id: string | null;
|
|
272
|
+
/**
|
|
273
|
+
* The number of events ingested in this backfill.
|
|
274
|
+
*/
|
|
275
|
+
events_ingested: number;
|
|
276
|
+
/**
|
|
277
|
+
* If `true`, existing events in the backfill's timeframe will be replaced with the
|
|
278
|
+
* newly ingested events associated with the backfill. If `false`, newly ingested
|
|
279
|
+
* events will be added to the existing events.
|
|
280
|
+
*/
|
|
281
|
+
replace_existing_events: boolean;
|
|
282
|
+
/**
|
|
283
|
+
* The time at which this backfill was reverted.
|
|
284
|
+
*/
|
|
285
|
+
reverted_at: string | null;
|
|
286
|
+
/**
|
|
287
|
+
* The status of the backfill.
|
|
288
|
+
*/
|
|
289
|
+
status: 'pending' | 'reflected' | 'pending_revert' | 'reverted';
|
|
290
|
+
timeframe_end: string;
|
|
291
|
+
timeframe_start: string;
|
|
292
|
+
/**
|
|
293
|
+
* A boolean
|
|
294
|
+
* [computed property](/extensibility/advanced-metrics#computed-properties) used to
|
|
295
|
+
* filter the set of events to deprecate
|
|
296
|
+
*/
|
|
297
|
+
deprecation_filter?: string | null;
|
|
298
|
+
}
|
|
299
|
+
/**
|
|
300
|
+
* A backfill represents an update to historical usage data, adding or replacing
|
|
301
|
+
* events in a timeframe.
|
|
302
|
+
*/
|
|
303
|
+
export interface BackfillRevertResponse {
|
|
304
|
+
id: string;
|
|
305
|
+
/**
|
|
306
|
+
* If in the future, the time at which the backfill will automatically close. If in
|
|
307
|
+
* the past, the time at which the backfill was closed.
|
|
308
|
+
*/
|
|
309
|
+
close_time: string | null;
|
|
310
|
+
created_at: string;
|
|
311
|
+
/**
|
|
312
|
+
* The Orb-generated ID of the customer to which this backfill is scoped. If
|
|
313
|
+
* `null`, this backfill is scoped to all customers.
|
|
314
|
+
*/
|
|
315
|
+
customer_id: string | null;
|
|
316
|
+
/**
|
|
317
|
+
* The number of events ingested in this backfill.
|
|
318
|
+
*/
|
|
319
|
+
events_ingested: number;
|
|
320
|
+
/**
|
|
321
|
+
* If `true`, existing events in the backfill's timeframe will be replaced with the
|
|
322
|
+
* newly ingested events associated with the backfill. If `false`, newly ingested
|
|
323
|
+
* events will be added to the existing events.
|
|
324
|
+
*/
|
|
325
|
+
replace_existing_events: boolean;
|
|
326
|
+
/**
|
|
327
|
+
* The time at which this backfill was reverted.
|
|
328
|
+
*/
|
|
329
|
+
reverted_at: string | null;
|
|
330
|
+
/**
|
|
331
|
+
* The status of the backfill.
|
|
332
|
+
*/
|
|
333
|
+
status: 'pending' | 'reflected' | 'pending_revert' | 'reverted';
|
|
334
|
+
timeframe_end: string;
|
|
335
|
+
timeframe_start: string;
|
|
336
|
+
/**
|
|
337
|
+
* A boolean
|
|
338
|
+
* [computed property](/extensibility/advanced-metrics#computed-properties) used to
|
|
339
|
+
* filter the set of events to deprecate
|
|
340
|
+
*/
|
|
341
|
+
deprecation_filter?: string | null;
|
|
342
|
+
}
|
|
343
|
+
export interface BackfillCreateParams {
|
|
344
|
+
/**
|
|
345
|
+
* The (exclusive) end of the usage timeframe affected by this backfill. By
|
|
346
|
+
* default, Orb allows backfills up to 31 days in duration at a time. Reach out to
|
|
347
|
+
* discuss extending this limit and your use case.
|
|
348
|
+
*/
|
|
349
|
+
timeframe_end: string;
|
|
350
|
+
/**
|
|
351
|
+
* The (inclusive) start of the usage timeframe affected by this backfill. By
|
|
352
|
+
* default, Orb allows backfills up to 31 days in duration at a time. Reach out to
|
|
353
|
+
* discuss extending this limit and your use case.
|
|
354
|
+
*/
|
|
355
|
+
timeframe_start: string;
|
|
356
|
+
/**
|
|
357
|
+
* The time at which no more events will be accepted for this backfill. The
|
|
358
|
+
* backfill will automatically begin reflecting throughout Orb at the close time.
|
|
359
|
+
* If not specified, it will default to 1 day after the creation of the backfill.
|
|
360
|
+
*/
|
|
361
|
+
close_time?: string | null;
|
|
362
|
+
/**
|
|
363
|
+
* The Orb-generated ID of the customer to which this backfill is scoped. Omitting
|
|
364
|
+
* this field will scope the backfill to all customers.
|
|
365
|
+
*/
|
|
366
|
+
customer_id?: string | null;
|
|
367
|
+
/**
|
|
368
|
+
* A boolean
|
|
369
|
+
* [computed property](/extensibility/advanced-metrics#computed-properties) used to
|
|
370
|
+
* filter the set of events to deprecate
|
|
371
|
+
*/
|
|
372
|
+
deprecation_filter?: string | null;
|
|
373
|
+
/**
|
|
374
|
+
* The external customer ID of the customer to which this backfill is scoped.
|
|
375
|
+
* Omitting this field will scope the backfill to all customers.
|
|
376
|
+
*/
|
|
377
|
+
external_customer_id?: string | null;
|
|
378
|
+
/**
|
|
379
|
+
* If true, replaces all existing events in the timeframe with the newly ingested
|
|
380
|
+
* events. If false, adds the newly ingested events to the existing events.
|
|
381
|
+
*/
|
|
382
|
+
replace_existing_events?: boolean;
|
|
383
|
+
}
|
|
384
|
+
export interface BackfillListParams extends PageParams {
|
|
385
|
+
}
|
|
386
|
+
export declare namespace Backfills {
|
|
387
|
+
export { type BackfillCreateResponse as BackfillCreateResponse, type BackfillListResponse as BackfillListResponse, type BackfillCloseResponse as BackfillCloseResponse, type BackfillFetchResponse as BackfillFetchResponse, type BackfillRevertResponse as BackfillRevertResponse, type BackfillListResponsesPage as BackfillListResponsesPage, type BackfillCreateParams as BackfillCreateParams, type BackfillListParams as BackfillListParams, };
|
|
388
|
+
}
|
|
389
|
+
//# sourceMappingURL=backfills.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"backfills.d.mts","sourceRoot":"","sources":["../../src/resources/events/backfills.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,IAAI,EAAE,KAAK,UAAU,EAAE,WAAW,EAAE,kCAA8B;AAC3E,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE;;;;GAIG;AACH,qBAAa,SAAU,SAAQ,WAAW;IACxC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAiDG;IACH,MAAM,CAAC,IAAI,EAAE,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,MAAM,GAAG,IAAI,CAAC;IAE3B;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEnC;;;OAGG;IACH,oBAAoB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAErC;;;OAGG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;CACnC;AAED,MAAM,WAAW,kBAAmB,SAAQ,UAAU;CAAG;AAEzD,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EACL,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { APIResource } from "../../resource.js";
|
|
2
|
-
import
|
|
3
|
-
import { Page, type PageParams } from "../../pagination.js";
|
|
1
|
+
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../../core/api-promise.js";
|
|
3
|
+
import { Page, type PageParams, PagePromise } from "../../core/pagination.js";
|
|
4
|
+
import { RequestOptions } from "../../internal/request-options.js";
|
|
4
5
|
/**
|
|
5
6
|
* The [Event](/core-concepts#event) resource represents a usage event that has been created for a
|
|
6
7
|
* customer. Events are the core of Orb's usage-based billing model, and are used to calculate the usage charges for
|
|
@@ -57,7 +58,7 @@ export declare class Backfills extends APIResource {
|
|
|
57
58
|
* });
|
|
58
59
|
* ```
|
|
59
60
|
*/
|
|
60
|
-
create(body: BackfillCreateParams, options?:
|
|
61
|
+
create(body: BackfillCreateParams, options?: RequestOptions): APIPromise<BackfillCreateResponse>;
|
|
61
62
|
/**
|
|
62
63
|
* This endpoint returns a list of all backfills in a list format.
|
|
63
64
|
*
|
|
@@ -74,8 +75,7 @@ export declare class Backfills extends APIResource {
|
|
|
74
75
|
* }
|
|
75
76
|
* ```
|
|
76
77
|
*/
|
|
77
|
-
list(query?: BackfillListParams, options?:
|
|
78
|
-
list(options?: Core.RequestOptions): Core.PagePromise<BackfillListResponsesPage, BackfillListResponse>;
|
|
78
|
+
list(query?: BackfillListParams | null | undefined, options?: RequestOptions): PagePromise<BackfillListResponsesPage, BackfillListResponse>;
|
|
79
79
|
/**
|
|
80
80
|
* Closing a backfill makes the updated usage visible in Orb. Upon closing a
|
|
81
81
|
* backfill, Orb will asynchronously reflect the updated usage in invoice amounts
|
|
@@ -89,7 +89,7 @@ export declare class Backfills extends APIResource {
|
|
|
89
89
|
* );
|
|
90
90
|
* ```
|
|
91
91
|
*/
|
|
92
|
-
close(backfillId: string, options?:
|
|
92
|
+
close(backfillId: string, options?: RequestOptions): APIPromise<BackfillCloseResponse>;
|
|
93
93
|
/**
|
|
94
94
|
* This endpoint is used to fetch a backfill given an identifier.
|
|
95
95
|
*
|
|
@@ -100,7 +100,7 @@ export declare class Backfills extends APIResource {
|
|
|
100
100
|
* );
|
|
101
101
|
* ```
|
|
102
102
|
*/
|
|
103
|
-
fetch(backfillId: string, options?:
|
|
103
|
+
fetch(backfillId: string, options?: RequestOptions): APIPromise<BackfillFetchResponse>;
|
|
104
104
|
/**
|
|
105
105
|
* Reverting a backfill undoes all the effects of closing the backfill. If the
|
|
106
106
|
* backfill is reflected, the status will transition to `pending_revert` while the
|
|
@@ -117,10 +117,9 @@ export declare class Backfills extends APIResource {
|
|
|
117
117
|
* );
|
|
118
118
|
* ```
|
|
119
119
|
*/
|
|
120
|
-
revert(backfillId: string, options?:
|
|
121
|
-
}
|
|
122
|
-
export declare class BackfillListResponsesPage extends Page<BackfillListResponse> {
|
|
120
|
+
revert(backfillId: string, options?: RequestOptions): APIPromise<BackfillRevertResponse>;
|
|
123
121
|
}
|
|
122
|
+
export type BackfillListResponsesPage = Page<BackfillListResponse>;
|
|
124
123
|
/**
|
|
125
124
|
* A backfill represents an update to historical usage data, adding or replacing
|
|
126
125
|
* events in a timeframe.
|
|
@@ -385,6 +384,6 @@ export interface BackfillCreateParams {
|
|
|
385
384
|
export interface BackfillListParams extends PageParams {
|
|
386
385
|
}
|
|
387
386
|
export declare namespace Backfills {
|
|
388
|
-
export { type BackfillCreateResponse as BackfillCreateResponse, type BackfillListResponse as BackfillListResponse, type BackfillCloseResponse as BackfillCloseResponse, type BackfillFetchResponse as BackfillFetchResponse, type BackfillRevertResponse as BackfillRevertResponse, BackfillListResponsesPage as BackfillListResponsesPage, type BackfillCreateParams as BackfillCreateParams, type BackfillListParams as BackfillListParams, };
|
|
387
|
+
export { type BackfillCreateResponse as BackfillCreateResponse, type BackfillListResponse as BackfillListResponse, type BackfillCloseResponse as BackfillCloseResponse, type BackfillFetchResponse as BackfillFetchResponse, type BackfillRevertResponse as BackfillRevertResponse, type BackfillListResponsesPage as BackfillListResponsesPage, type BackfillCreateParams as BackfillCreateParams, type BackfillListParams as BackfillListParams, };
|
|
389
388
|
}
|
|
390
389
|
//# sourceMappingURL=backfills.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backfills.d.ts","sourceRoot":"","sources":["../../src/resources/events/backfills.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE
|
|
1
|
+
{"version":3,"file":"backfills.d.ts","sourceRoot":"","sources":["../../src/resources/events/backfills.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,IAAI,EAAE,KAAK,UAAU,EAAE,WAAW,EAAE,iCAA8B;AAC3E,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE;;;;GAIG;AACH,qBAAa,SAAU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