@metronome/sdk 0.3.0 → 2.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 +113 -28
- package/README.md +123 -51
- package/api-promise.d.mts +2 -0
- package/api-promise.d.mts.map +1 -0
- package/api-promise.d.ts +2 -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 +2 -0
- package/api-promise.mjs.map +1 -0
- package/bin/cli +46 -0
- package/bin/migration-config.json +6 -0
- package/client.d.mts +232 -0
- package/client.d.mts.map +1 -0
- package/client.d.ts +232 -0
- package/client.d.ts.map +1 -0
- package/client.js +464 -0
- package/client.js.map +1 -0
- package/client.mjs +460 -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 +46 -0
- package/core/error.d.mts.map +1 -0
- package/core/error.d.ts +46 -0
- package/core/error.d.ts.map +1 -0
- package/core/error.js +113 -0
- package/core/error.js.map +1 -0
- package/core/error.mjs +97 -0
- package/core/error.mjs.map +1 -0
- package/core/pagination.d.mts +137 -0
- package/core/pagination.d.mts.map +1 -0
- package/core/pagination.d.ts +137 -0
- package/core/pagination.d.ts.map +1 -0
- package/core/pagination.js +158 -0
- package/core/pagination.js.map +1 -0
- package/core/pagination.mjs +150 -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 +2 -0
- package/error.d.mts.map +1 -0
- package/error.d.ts +1 -46
- package/error.d.ts.map +1 -1
- package/error.js +3 -110
- package/error.js.map +1 -1
- package/error.mjs +1 -96
- package/error.mjs.map +1 -1
- package/index.d.mts +7 -144
- package/index.d.mts.map +1 -0
- package/index.d.ts +6 -143
- package/index.d.ts.map +1 -1
- package/index.js +14 -120
- package/index.js.map +1 -1
- package/index.mjs +6 -93
- 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 +26 -0
- package/internal/headers.d.mts.map +1 -0
- package/internal/headers.d.ts +26 -0
- package/internal/headers.d.ts.map +1 -0
- package/internal/headers.js +120 -0
- package/internal/headers.js.map +1 -0
- package/internal/headers.mjs +112 -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 +35 -0
- package/internal/parse.js.map +1 -0
- package/internal/parse.mjs +32 -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.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 +20 -0
- package/internal/shims.d.mts.map +1 -0
- package/internal/shims.d.ts +20 -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 +85 -0
- package/internal/utils/log.js.map +1 -0
- package/internal/utils/log.mjs +79 -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/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 +7 -0
- package/internal/utils.d.mts.map +1 -0
- package/internal/utils.d.ts +7 -0
- package/internal/utils.d.ts.map +1 -0
- package/internal/utils.js +11 -0
- package/internal/utils.js.map +1 -0
- package/internal/utils.mjs +8 -0
- package/internal/utils.mjs.map +1 -0
- package/package.json +113 -64
- package/pagination.d.mts +2 -0
- package/pagination.d.mts.map +1 -0
- package/pagination.d.ts +1 -36
- package/pagination.d.ts.map +1 -1
- package/pagination.js +3 -40
- package/pagination.js.map +1 -1
- package/pagination.mjs +1 -38
- package/pagination.mjs.map +1 -1
- package/resource.d.mts +2 -0
- package/resource.d.mts.map +1 -0
- package/resource.d.ts +1 -5
- package/resource.d.ts.map +1 -1
- package/resource.js +3 -8
- package/resource.js.map +1 -1
- package/resource.mjs +1 -6
- package/resource.mjs.map +1 -1
- package/resources/index.d.mts +5 -0
- package/resources/index.d.mts.map +1 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +2 -15
- package/resources/index.js.map +1 -1
- package/resources/shared.d.mts +2363 -0
- package/resources/shared.d.mts.map +1 -0
- package/resources/shared.d.ts +1470 -465
- package/resources/shared.d.ts.map +1 -1
- package/resources/v1/alerts.d.mts +207 -0
- package/resources/v1/alerts.d.mts.map +1 -0
- package/resources/v1/alerts.d.ts +107 -32
- package/resources/v1/alerts.d.ts.map +1 -1
- package/resources/v1/alerts.js +74 -3
- package/resources/v1/alerts.js.map +1 -1
- package/resources/v1/alerts.mjs +74 -3
- package/resources/v1/alerts.mjs.map +1 -1
- package/resources/v1/audit-logs.d.mts +108 -0
- package/resources/v1/audit-logs.d.mts.map +1 -0
- package/resources/v1/audit-logs.d.ts +45 -12
- package/resources/v1/audit-logs.d.ts.map +1 -1
- package/resources/v1/audit-logs.js +53 -12
- package/resources/v1/audit-logs.js.map +1 -1
- package/resources/v1/audit-logs.mjs +52 -10
- package/resources/v1/audit-logs.mjs.map +1 -1
- package/resources/v1/billable-metrics.d.mts +293 -0
- package/resources/v1/billable-metrics.d.mts.map +1 -0
- package/resources/v1/billable-metrics.d.ts +70 -15
- package/resources/v1/billable-metrics.d.ts.map +1 -1
- package/resources/v1/billable-metrics.js +70 -16
- package/resources/v1/billable-metrics.js.map +1 -1
- package/resources/v1/billable-metrics.mjs +69 -14
- package/resources/v1/billable-metrics.mjs.map +1 -1
- package/resources/v1/contracts/contracts.d.mts +3006 -0
- package/resources/v1/contracts/contracts.d.mts.map +1 -0
- package/resources/v1/contracts/contracts.d.ts +428 -1299
- package/resources/v1/contracts/contracts.d.ts.map +1 -1
- package/resources/v1/contracts/contracts.js +269 -50
- package/resources/v1/contracts/contracts.js.map +1 -1
- package/resources/v1/contracts/contracts.mjs +267 -26
- package/resources/v1/contracts/contracts.mjs.map +1 -1
- package/resources/v1/contracts/index.d.mts +5 -0
- package/resources/v1/contracts/index.d.mts.map +1 -0
- package/resources/v1/contracts/index.d.ts +3 -3
- package/resources/v1/contracts/index.d.ts.map +1 -1
- package/resources/v1/contracts/index.js +1 -3
- package/resources/v1/contracts/index.js.map +1 -1
- package/resources/v1/contracts/index.mjs +2 -2
- package/resources/v1/contracts/index.mjs.map +1 -1
- package/resources/v1/contracts/named-schedules.d.mts +82 -0
- package/resources/v1/contracts/named-schedules.d.mts.map +1 -0
- package/resources/v1/contracts/named-schedules.d.ts +5 -4
- package/resources/v1/contracts/named-schedules.d.ts.map +1 -1
- package/resources/v1/contracts/named-schedules.js +3 -2
- package/resources/v1/contracts/named-schedules.js.map +1 -1
- package/resources/v1/contracts/named-schedules.mjs +3 -2
- package/resources/v1/contracts/named-schedules.mjs.map +1 -1
- package/resources/v1/contracts/products.d.mts +502 -0
- package/resources/v1/contracts/products.d.mts.map +1 -0
- package/resources/v1/contracts/products.d.ts +44 -17
- package/resources/v1/contracts/products.d.ts.map +1 -1
- package/resources/v1/contracts/products.js +41 -17
- package/resources/v1/contracts/products.js.map +1 -1
- package/resources/v1/contracts/products.mjs +40 -15
- package/resources/v1/contracts/products.mjs.map +1 -1
- package/resources/v1/contracts/rate-cards/index.d.mts +5 -0
- package/resources/v1/contracts/rate-cards/index.d.mts.map +1 -0
- package/resources/v1/contracts/rate-cards/index.d.ts +2 -2
- package/resources/v1/contracts/rate-cards/index.d.ts.map +1 -1
- package/resources/v1/contracts/rate-cards/index.js +1 -3
- package/resources/v1/contracts/rate-cards/index.js.map +1 -1
- package/resources/v1/contracts/rate-cards/index.mjs +2 -2
- package/resources/v1/contracts/rate-cards/index.mjs.map +1 -1
- package/resources/v1/contracts/rate-cards/named-schedules.d.mts +94 -0
- package/resources/v1/contracts/rate-cards/named-schedules.d.mts.map +1 -0
- package/resources/v1/contracts/rate-cards/named-schedules.d.ts +5 -4
- package/resources/v1/contracts/rate-cards/named-schedules.d.ts.map +1 -1
- package/resources/v1/contracts/rate-cards/named-schedules.js +3 -2
- package/resources/v1/contracts/rate-cards/named-schedules.js.map +1 -1
- package/resources/v1/contracts/rate-cards/named-schedules.mjs +3 -2
- package/resources/v1/contracts/rate-cards/named-schedules.mjs.map +1 -1
- package/resources/v1/contracts/rate-cards/product-orders.d.mts +85 -0
- package/resources/v1/contracts/rate-cards/product-orders.d.mts.map +1 -0
- package/resources/v1/contracts/rate-cards/product-orders.d.ts +12 -6
- package/resources/v1/contracts/rate-cards/product-orders.d.ts.map +1 -1
- package/resources/v1/contracts/rate-cards/product-orders.js +8 -3
- package/resources/v1/contracts/rate-cards/product-orders.js.map +1 -1
- package/resources/v1/contracts/rate-cards/product-orders.mjs +8 -3
- package/resources/v1/contracts/rate-cards/product-orders.mjs.map +1 -1
- package/resources/v1/contracts/rate-cards/rate-cards.d.mts +452 -0
- package/resources/v1/contracts/rate-cards/rate-cards.d.mts.map +1 -0
- package/resources/v1/contracts/rate-cards/rate-cards.d.ts +134 -41
- package/resources/v1/contracts/rate-cards/rate-cards.d.ts.map +1 -1
- package/resources/v1/contracts/rate-cards/rate-cards.js +127 -47
- package/resources/v1/contracts/rate-cards/rate-cards.js.map +1 -1
- package/resources/v1/contracts/rate-cards/rate-cards.mjs +123 -20
- package/resources/v1/contracts/rate-cards/rate-cards.mjs.map +1 -1
- package/resources/v1/contracts/rate-cards/rates.d.mts +382 -0
- package/resources/v1/contracts/rate-cards/rates.d.mts.map +1 -0
- package/resources/v1/contracts/rate-cards/rates.d.ts +25 -82
- package/resources/v1/contracts/rate-cards/rates.d.ts.map +1 -1
- package/resources/v1/contracts/rate-cards/rates.js +13 -9
- package/resources/v1/contracts/rate-cards/rates.js.map +1 -1
- package/resources/v1/contracts/rate-cards/rates.mjs +12 -7
- package/resources/v1/contracts/rate-cards/rates.mjs.map +1 -1
- package/resources/v1/contracts/rate-cards.d.mts +2 -0
- package/resources/v1/contracts/rate-cards.d.mts.map +1 -0
- package/resources/v1/contracts/rate-cards.d.ts.map +1 -1
- package/resources/v1/contracts/rate-cards.js +2 -15
- package/resources/v1/contracts/rate-cards.js.map +1 -1
- package/resources/v1/contracts.d.mts +2 -0
- package/resources/v1/contracts.d.mts.map +1 -0
- package/resources/v1/contracts.d.ts.map +1 -1
- package/resources/v1/contracts.js +2 -15
- package/resources/v1/contracts.js.map +1 -1
- package/resources/v1/credit-grants.d.mts +505 -0
- package/resources/v1/credit-grants.d.mts.map +1 -0
- package/resources/v1/credit-grants.d.ts +73 -74
- package/resources/v1/credit-grants.d.ts.map +1 -1
- package/resources/v1/credit-grants.js +52 -18
- package/resources/v1/credit-grants.js.map +1 -1
- package/resources/v1/credit-grants.mjs +51 -16
- package/resources/v1/credit-grants.mjs.map +1 -1
- package/resources/v1/custom-fields.d.mts +151 -0
- package/resources/v1/custom-fields.d.mts.map +1 -0
- package/resources/v1/custom-fields.d.ts +69 -38
- package/resources/v1/custom-fields.d.ts.map +1 -1
- package/resources/v1/custom-fields.js +66 -22
- package/resources/v1/custom-fields.js.map +1 -1
- package/resources/v1/custom-fields.mjs +66 -22
- package/resources/v1/custom-fields.mjs.map +1 -1
- package/resources/v1/customers/alerts.d.mts +309 -0
- package/resources/v1/customers/alerts.d.mts.map +1 -0
- package/resources/v1/customers/alerts.d.ts +176 -50
- package/resources/v1/customers/alerts.d.ts.map +1 -1
- package/resources/v1/customers/alerts.js +131 -10
- package/resources/v1/customers/alerts.js.map +1 -1
- package/resources/v1/customers/alerts.mjs +131 -10
- package/resources/v1/customers/alerts.mjs.map +1 -1
- package/resources/v1/customers/billing-config.d.mts +125 -0
- package/resources/v1/customers/billing-config.d.mts.map +1 -0
- package/resources/v1/customers/billing-config.d.ts +8 -7
- package/resources/v1/customers/billing-config.d.ts.map +1 -1
- package/resources/v1/customers/billing-config.js +8 -6
- package/resources/v1/customers/billing-config.js.map +1 -1
- package/resources/v1/customers/billing-config.mjs +8 -6
- package/resources/v1/customers/billing-config.mjs.map +1 -1
- package/resources/v1/customers/commits.d.mts +456 -0
- package/resources/v1/customers/commits.d.mts.map +1 -0
- package/resources/v1/customers/commits.d.ts +139 -47
- package/resources/v1/customers/commits.d.ts.map +1 -1
- package/resources/v1/customers/commits.js +131 -12
- package/resources/v1/customers/commits.js.map +1 -1
- package/resources/v1/customers/commits.mjs +131 -12
- package/resources/v1/customers/commits.mjs.map +1 -1
- package/resources/v1/customers/credits.d.mts +310 -0
- package/resources/v1/customers/credits.d.mts.map +1 -0
- package/resources/v1/customers/credits.d.ts +124 -46
- package/resources/v1/customers/credits.d.ts.map +1 -1
- package/resources/v1/customers/credits.js +116 -11
- package/resources/v1/customers/credits.js.map +1 -1
- package/resources/v1/customers/credits.mjs +116 -11
- package/resources/v1/customers/credits.mjs.map +1 -1
- package/resources/v1/customers/customers.d.mts +819 -0
- package/resources/v1/customers/customers.d.mts.map +1 -0
- package/resources/v1/customers/customers.d.ts +319 -55
- package/resources/v1/customers/customers.d.ts.map +1 -1
- package/resources/v1/customers/customers.js +220 -76
- package/resources/v1/customers/customers.js.map +1 -1
- package/resources/v1/customers/customers.mjs +213 -44
- package/resources/v1/customers/customers.mjs.map +1 -1
- package/resources/v1/customers/index.d.mts +9 -0
- package/resources/v1/customers/index.d.mts.map +1 -0
- package/resources/v1/customers/index.d.ts +6 -6
- package/resources/v1/customers/index.d.ts.map +1 -1
- package/resources/v1/customers/index.js +1 -8
- package/resources/v1/customers/index.js.map +1 -1
- package/resources/v1/customers/index.mjs +3 -3
- package/resources/v1/customers/index.mjs.map +1 -1
- package/resources/v1/customers/invoices.d.mts +825 -0
- package/resources/v1/customers/invoices.d.mts.map +1 -0
- package/resources/v1/customers/invoices.d.ts +309 -25
- package/resources/v1/customers/invoices.d.ts.map +1 -1
- package/resources/v1/customers/invoices.js +180 -22
- package/resources/v1/customers/invoices.js.map +1 -1
- package/resources/v1/customers/invoices.mjs +179 -19
- package/resources/v1/customers/invoices.mjs.map +1 -1
- package/resources/v1/customers/named-schedules.d.mts +82 -0
- package/resources/v1/customers/named-schedules.d.mts.map +1 -0
- package/resources/v1/customers/named-schedules.d.ts +5 -4
- package/resources/v1/customers/named-schedules.d.ts.map +1 -1
- package/resources/v1/customers/named-schedules.js +3 -2
- package/resources/v1/customers/named-schedules.js.map +1 -1
- package/resources/v1/customers/named-schedules.mjs +3 -2
- package/resources/v1/customers/named-schedules.mjs.map +1 -1
- package/resources/v1/customers/plans.d.mts +281 -0
- package/resources/v1/customers/plans.d.mts.map +1 -0
- package/resources/v1/customers/plans.d.ts +14 -12
- package/resources/v1/customers/plans.d.ts.map +1 -1
- package/resources/v1/customers/plans.js +8 -15
- package/resources/v1/customers/plans.js.map +1 -1
- package/resources/v1/customers/plans.mjs +7 -12
- package/resources/v1/customers/plans.mjs.map +1 -1
- package/resources/v1/customers.d.mts +2 -0
- package/resources/v1/customers.d.mts.map +1 -0
- package/resources/v1/customers.d.ts.map +1 -1
- package/resources/v1/customers.js +2 -15
- package/resources/v1/customers.js.map +1 -1
- package/resources/v1/dashboards.d.mts +133 -0
- package/resources/v1/dashboards.d.mts.map +1 -0
- package/resources/v1/dashboards.d.ts +33 -6
- package/resources/v1/dashboards.d.ts.map +1 -1
- package/resources/v1/dashboards.js +30 -4
- package/resources/v1/dashboards.js.map +1 -1
- package/resources/v1/dashboards.mjs +30 -4
- package/resources/v1/dashboards.mjs.map +1 -1
- package/resources/v1/index.d.mts +16 -0
- package/resources/v1/index.d.mts.map +1 -0
- package/resources/v1/index.d.ts +10 -9
- package/resources/v1/index.d.ts.map +1 -1
- package/resources/v1/index.js +3 -12
- package/resources/v1/index.js.map +1 -1
- package/resources/v1/index.mjs +8 -7
- package/resources/v1/index.mjs.map +1 -1
- package/resources/v1/invoices.d.mts +83 -0
- package/resources/v1/invoices.d.mts.map +1 -0
- package/resources/v1/invoices.d.ts +28 -6
- package/resources/v1/invoices.d.ts.map +1 -1
- package/resources/v1/invoices.js +24 -3
- package/resources/v1/invoices.js.map +1 -1
- package/resources/v1/invoices.mjs +24 -3
- package/resources/v1/invoices.mjs.map +1 -1
- package/resources/v1/payments.d.mts +116 -0
- package/resources/v1/payments.d.mts.map +1 -0
- package/resources/v1/payments.d.ts +116 -0
- package/resources/v1/payments.d.ts.map +1 -0
- package/resources/v1/payments.js +71 -0
- package/resources/v1/payments.js.map +1 -0
- package/resources/v1/payments.mjs +67 -0
- package/resources/v1/payments.mjs.map +1 -0
- package/resources/v1/plans.d.mts +240 -0
- package/resources/v1/plans.d.mts.map +1 -0
- package/resources/v1/plans.d.ts +24 -15
- package/resources/v1/plans.d.ts.map +1 -1
- package/resources/v1/plans.js +19 -26
- package/resources/v1/plans.js.map +1 -1
- package/resources/v1/plans.mjs +18 -22
- package/resources/v1/plans.mjs.map +1 -1
- package/resources/v1/pricing-units.d.mts +34 -0
- package/resources/v1/pricing-units.d.mts.map +1 -0
- package/resources/v1/pricing-units.d.ts +12 -9
- package/resources/v1/pricing-units.d.ts.map +1 -1
- package/resources/v1/pricing-units.js +20 -12
- package/resources/v1/pricing-units.js.map +1 -1
- package/resources/v1/pricing-units.mjs +19 -10
- package/resources/v1/pricing-units.mjs.map +1 -1
- package/resources/v1/services.d.mts +33 -0
- package/resources/v1/services.d.mts.map +1 -0
- package/resources/v1/services.d.ts +10 -7
- package/resources/v1/services.d.ts.map +1 -1
- package/resources/v1/services.js +7 -5
- package/resources/v1/services.js.map +1 -1
- package/resources/v1/services.mjs +7 -5
- package/resources/v1/services.mjs.map +1 -1
- package/resources/v1/usage.d.mts +490 -0
- package/resources/v1/usage.d.mts.map +1 -0
- package/resources/v1/usage.d.ts +223 -58
- package/resources/v1/usage.d.ts.map +1 -1
- package/resources/v1/usage.js +214 -26
- package/resources/v1/usage.js.map +1 -1
- package/resources/v1/usage.mjs +213 -24
- package/resources/v1/usage.mjs.map +1 -1
- package/resources/v1/v1.d.mts +62 -0
- package/resources/v1/v1.d.mts.map +1 -0
- package/resources/v1/v1.d.ts +19 -15
- package/resources/v1/v1.d.ts.map +1 -1
- package/resources/v1/v1.js +19 -48
- package/resources/v1/v1.js.map +1 -1
- package/resources/v1/v1.mjs +12 -19
- package/resources/v1/v1.mjs.map +1 -1
- package/resources/v1.d.mts +2 -0
- package/resources/v1.d.mts.map +1 -0
- package/resources/v1.d.ts.map +1 -1
- package/resources/v1.js +2 -15
- package/resources/v1.js.map +1 -1
- package/resources/v2/contracts.d.mts +2900 -0
- package/resources/v2/contracts.d.mts.map +1 -0
- package/resources/v2/contracts.d.ts +399 -3830
- package/resources/v2/contracts.d.ts.map +1 -1
- package/resources/v2/contracts.js +102 -12
- package/resources/v2/contracts.js.map +1 -1
- package/resources/v2/contracts.mjs +102 -12
- package/resources/v2/contracts.mjs.map +1 -1
- package/resources/v2/index.d.mts +3 -0
- package/resources/v2/index.d.mts.map +1 -0
- package/resources/v2/index.d.ts.map +1 -1
- package/resources/v2/v2.d.mts +10 -0
- package/resources/v2/v2.d.mts.map +1 -0
- package/resources/v2/v2.d.ts +1 -1
- package/resources/v2/v2.d.ts.map +1 -1
- package/resources/v2/v2.js +3 -25
- package/resources/v2/v2.js.map +1 -1
- package/resources/v2/v2.mjs +1 -1
- package/resources/v2.d.mts +2 -0
- package/resources/v2.d.mts.map +1 -0
- package/resources/v2.d.ts.map +1 -1
- package/resources/v2.js +2 -15
- package/resources/v2.js.map +1 -1
- package/resources/webhooks.d.mts +22 -0
- package/resources/webhooks.d.mts.map +1 -0
- package/resources/webhooks.d.ts +1 -1
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/webhooks.js +3 -3
- package/resources/webhooks.js.map +1 -1
- package/resources/webhooks.mjs +1 -1
- 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/src/api-promise.ts +2 -0
- package/src/client.ts +809 -0
- package/src/core/README.md +3 -0
- package/src/core/api-promise.ts +92 -0
- package/src/core/error.ts +130 -0
- package/src/core/pagination.ts +319 -0
- package/src/core/resource.ts +11 -0
- package/src/core/uploads.ts +2 -0
- package/src/error.ts +2 -130
- package/src/index.ts +6 -221
- 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 +144 -0
- package/src/internal/parse.ts +50 -0
- package/src/internal/qs/formats.ts +3 -2
- package/src/internal/qs/index.ts +3 -3
- package/src/internal/qs/stringify.ts +18 -21
- package/src/internal/qs/utils.ts +16 -16
- 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 +95 -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 +126 -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 +8 -0
- package/src/pagination.ts +2 -82
- package/src/resource.ts +2 -11
- package/src/resources/index.ts +4 -4
- package/src/resources/shared.ts +1921 -506
- package/src/resources/v1/alerts.ts +108 -33
- package/src/resources/v1/audit-logs.ts +48 -26
- package/src/resources/v1/billable-metrics.ts +79 -34
- package/src/resources/v1/contracts/contracts.ts +490 -1632
- package/src/resources/v1/contracts/index.ts +7 -6
- package/src/resources/v1/contracts/named-schedules.ts +8 -6
- package/src/resources/v1/contracts/products.ts +50 -38
- package/src/resources/v1/contracts/rate-cards/index.ts +6 -6
- package/src/resources/v1/contracts/rate-cards/named-schedules.ts +8 -6
- package/src/resources/v1/contracts/rate-cards/product-orders.ts +13 -10
- package/src/resources/v1/contracts/rate-cards/rate-cards.ts +145 -72
- package/src/resources/v1/contracts/rate-cards/rates.ts +28 -98
- package/src/resources/v1/contracts/rate-cards.ts +1 -1
- package/src/resources/v1/contracts.ts +1 -1
- package/src/resources/v1/credit-grants.ts +100 -112
- package/src/resources/v1/custom-fields.ts +106 -74
- package/src/resources/v1/customers/alerts.ts +195 -55
- package/src/resources/v1/customers/billing-config.ts +27 -13
- package/src/resources/v1/customers/commits.ts +146 -54
- package/src/resources/v1/customers/credits.ts +131 -53
- package/src/resources/v1/customers/customers.ts +407 -115
- package/src/resources/v1/customers/index.ts +20 -18
- package/src/resources/v1/customers/invoices.ts +343 -42
- package/src/resources/v1/customers/named-schedules.ts +8 -6
- package/src/resources/v1/customers/plans.ts +24 -22
- package/src/resources/v1/customers.ts +1 -1
- package/src/resources/v1/dashboards.ts +34 -7
- package/src/resources/v1/index.ts +43 -25
- package/src/resources/v1/invoices.ts +28 -9
- package/src/resources/v1/payments.ts +170 -0
- package/src/resources/v1/plans.ts +42 -43
- package/src/resources/v1/pricing-units.ts +15 -23
- package/src/resources/v1/services.ts +10 -7
- package/src/resources/v1/usage.ts +247 -73
- package/src/resources/v1/v1.ts +78 -49
- package/src/resources/v1.ts +1 -1
- package/src/resources/v2/contracts.ts +469 -4930
- package/src/resources/v2/index.ts +2 -2
- package/src/resources/v2/v2.ts +3 -3
- package/src/resources/v2.ts +1 -1
- package/src/resources/webhooks.ts +2 -2
- package/src/resources.ts +1 -1
- package/src/tsconfig.json +2 -2
- package/src/uploads.ts +2 -255
- package/src/version.ts +1 -1
- package/uploads.d.mts +2 -0
- package/uploads.d.mts.map +1 -0
- package/uploads.d.ts +1 -74
- package/uploads.d.ts.map +1 -1
- package/uploads.js +3 -168
- package/uploads.js.map +1 -1
- package/uploads.mjs +1 -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.js +1 -1
- package/version.mjs +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 -924
- package/core.js.map +0 -1
- package/core.mjs +0 -892
- 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 -1236
- package/src/shims/node.ts +0 -50
- package/src/shims/web.ts +0 -50
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customers.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/customers/customers.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,KAAK,SAAS;OACd,EACL,eAAe,EACf,gBAAgB,EAChB,mBAAmB,EACnB,qBAAqB,EACrB,MAAM,EACN,a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oB,EACjD,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;IAEF,OAAO,EACL,cAAc,IAAI,cAAc,EAChC,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;CACH"}
|
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
import { APIResource } from "../../../resource.js";
|
|
2
|
-
import * as Core from "../../../core.js";
|
|
1
|
+
import { APIResource } from "../../../core/resource.js";
|
|
3
2
|
import * as Shared from "../../shared.js";
|
|
4
3
|
import * as AlertsAPI from "./alerts.js";
|
|
5
|
-
import { AlertListParams,
|
|
4
|
+
import { AlertListParams, AlertResetParams, AlertRetrieveParams, AlertRetrieveResponse, Alerts, CustomerAlert, CustomerAlertsCursorPageWithoutLimit } from "./alerts.js";
|
|
6
5
|
import * as BillingConfigAPI from "./billing-config.js";
|
|
7
6
|
import { BillingConfig as BillingConfigAPIBillingConfig, BillingConfigCreateParams, BillingConfigDeleteParams, BillingConfigRetrieveParams, BillingConfigRetrieveResponse } from "./billing-config.js";
|
|
8
7
|
import * as CommitsAPI from "./commits.js";
|
|
9
|
-
import { CommitCreateParams, CommitCreateResponse, CommitListParams,
|
|
8
|
+
import { CommitCreateParams, CommitCreateResponse, CommitListParams, CommitUpdateEndDateParams, CommitUpdateEndDateResponse, Commits } from "./commits.js";
|
|
10
9
|
import * as CreditsAPI from "./credits.js";
|
|
11
|
-
import { CreditCreateParams, CreditCreateResponse, CreditListParams,
|
|
10
|
+
import { CreditCreateParams, CreditCreateResponse, CreditListParams, CreditUpdateEndDateParams, CreditUpdateEndDateResponse, Credits } from "./credits.js";
|
|
12
11
|
import * as InvoicesAPI from "./invoices.js";
|
|
13
|
-
import { Invoice, InvoiceAddChargeParams, InvoiceAddChargeResponse, InvoiceListBreakdownsParams, InvoiceListBreakdownsResponse, InvoiceListBreakdownsResponsesCursorPage, InvoiceListParams, InvoiceRetrieveParams, InvoiceRetrieveResponse, Invoices, InvoicesCursorPage } from "./invoices.js";
|
|
12
|
+
import { Invoice, InvoiceAddChargeParams, InvoiceAddChargeResponse, InvoiceListBreakdownsParams, InvoiceListBreakdownsResponse, InvoiceListBreakdownsResponsesCursorPage, InvoiceListParams, InvoiceRetrieveParams, InvoiceRetrievePdfParams, InvoiceRetrieveResponse, Invoices, InvoicesCursorPage } from "./invoices.js";
|
|
14
13
|
import * as NamedSchedulesAPI from "./named-schedules.js";
|
|
15
14
|
import { NamedScheduleRetrieveParams, NamedScheduleRetrieveResponse, NamedScheduleUpdateParams, NamedSchedules } from "./named-schedules.js";
|
|
16
15
|
import * as PlansAPI from "./plans.js";
|
|
17
16
|
import { PlanAddParams, PlanAddResponse, PlanEndParams, PlanEndResponse, PlanListParams, PlanListPriceAdjustmentsParams, PlanListPriceAdjustmentsResponse, PlanListPriceAdjustmentsResponsesCursorPage, PlanListResponse, PlanListResponsesCursorPage, Plans } from "./plans.js";
|
|
18
|
-
import {
|
|
17
|
+
import { APIPromise } from "../../../core/api-promise.js";
|
|
18
|
+
import { CursorPage, type CursorPageParams, PagePromise } from "../../../core/pagination.js";
|
|
19
|
+
import { RequestOptions } from "../../../internal/request-options.js";
|
|
19
20
|
export declare class Customers extends APIResource {
|
|
20
21
|
alerts: AlertsAPI.Alerts;
|
|
21
22
|
plans: PlansAPI.Plans;
|
|
@@ -25,7 +26,40 @@ export declare class Customers extends APIResource {
|
|
|
25
26
|
credits: CreditsAPI.Credits;
|
|
26
27
|
namedSchedules: NamedSchedulesAPI.NamedSchedules;
|
|
27
28
|
/**
|
|
28
|
-
* Create a new customer
|
|
29
|
+
* Create a new customer in Metronome and optionally the billing configuration
|
|
30
|
+
* (recommended) which dictates where invoices for the customer will be sent or
|
|
31
|
+
* where payment will be collected.
|
|
32
|
+
*
|
|
33
|
+
* ### Use this endpoint to:
|
|
34
|
+
*
|
|
35
|
+
* Execute your customer provisioning workflows for either PLG motions, where
|
|
36
|
+
* customers originate in your platform, or SLG motions, where customers originate
|
|
37
|
+
* in your sales system.
|
|
38
|
+
*
|
|
39
|
+
* ### Key response fields:
|
|
40
|
+
*
|
|
41
|
+
* This end-point returns the `customer_id` created by the request. This id can be
|
|
42
|
+
* used to fetch relevant billing configurations and create contracts.
|
|
43
|
+
*
|
|
44
|
+
* ### Example workflow:
|
|
45
|
+
*
|
|
46
|
+
* - Generally, Metronome recommends first creating the customer in the downstream
|
|
47
|
+
* payment / ERP system when payment method is collected and then creating the
|
|
48
|
+
* customer in Metronome using the response (i.e. `customer_id`) from the
|
|
49
|
+
* downstream system. If you do not create a billing configuration on customer
|
|
50
|
+
* creation, you can add it later.
|
|
51
|
+
* - Once a customer is created, you can then create a contract for the customer.
|
|
52
|
+
* In the contract creation process, you will need to add the customer billing
|
|
53
|
+
* configuration to the contract to ensure Metronome invoices the customer
|
|
54
|
+
* correctly. This is because a customer can have multiple configurations.
|
|
55
|
+
* - As part of the customer creation process, set the ingest alias for the
|
|
56
|
+
* customer which will ensure usage is accurately mapped to the customer. Ingest
|
|
57
|
+
* aliases can be added or changed after the creation process as well.
|
|
58
|
+
*
|
|
59
|
+
* ### Usage guidelines:
|
|
60
|
+
*
|
|
61
|
+
* For details on different billing configurations for different systems, review
|
|
62
|
+
* the `/setCustomerBillingConfiguration` end-point.
|
|
29
63
|
*
|
|
30
64
|
* @example
|
|
31
65
|
* ```ts
|
|
@@ -45,9 +79,15 @@ export declare class Customers extends APIResource {
|
|
|
45
79
|
* });
|
|
46
80
|
* ```
|
|
47
81
|
*/
|
|
48
|
-
create(body: CustomerCreateParams, options?:
|
|
82
|
+
create(body: CustomerCreateParams, options?: RequestOptions): APIPromise<CustomerCreateResponse>;
|
|
49
83
|
/**
|
|
50
|
-
* Get a customer by Metronome ID.
|
|
84
|
+
* Get detailed information for a specific customer by their Metronome ID. Returns
|
|
85
|
+
* customer profile data including name, creation date, ingest aliases,
|
|
86
|
+
* configuration settings, and custom fields. Use this endpoint to fetch complete
|
|
87
|
+
* customer details for billing operations or account management.
|
|
88
|
+
*
|
|
89
|
+
* Note: If searching for a customer billing configuration, use the
|
|
90
|
+
* `/getCustomerBillingConfigurations` endpoint.
|
|
51
91
|
*
|
|
52
92
|
* @example
|
|
53
93
|
* ```ts
|
|
@@ -56,9 +96,13 @@ export declare class Customers extends APIResource {
|
|
|
56
96
|
* });
|
|
57
97
|
* ```
|
|
58
98
|
*/
|
|
59
|
-
retrieve(params: CustomerRetrieveParams, options?:
|
|
99
|
+
retrieve(params: CustomerRetrieveParams, options?: RequestOptions): APIPromise<CustomerRetrieveResponse>;
|
|
60
100
|
/**
|
|
61
|
-
*
|
|
101
|
+
* Gets a paginated list of all customers in your Metronome account. Use this
|
|
102
|
+
* endpoint to browse your customer base, implement customer search functionality,
|
|
103
|
+
* or sync customer data with external systems. Returns customer details including
|
|
104
|
+
* IDs, names, and configuration settings. Supports filtering and pagination
|
|
105
|
+
* parameters for efficient data retrieval.
|
|
62
106
|
*
|
|
63
107
|
* @example
|
|
64
108
|
* ```ts
|
|
@@ -68,11 +112,22 @@ export declare class Customers extends APIResource {
|
|
|
68
112
|
* }
|
|
69
113
|
* ```
|
|
70
114
|
*/
|
|
71
|
-
list(query?: CustomerListParams, options?:
|
|
72
|
-
list(options?: Core.RequestOptions): Core.PagePromise<CustomerDetailsCursorPage, CustomerDetail>;
|
|
115
|
+
list(query?: CustomerListParams | null | undefined, options?: RequestOptions): PagePromise<CustomerDetailsCursorPage, CustomerDetail>;
|
|
73
116
|
/**
|
|
74
|
-
*
|
|
75
|
-
*
|
|
117
|
+
* Use this endpoint to archive a customer while preserving auditability. Archiving
|
|
118
|
+
* a customer will automatically archive all contracts as of the current date and
|
|
119
|
+
* void all corresponding invoices. Use this endpoint if a customer is onboarded by
|
|
120
|
+
* mistake.
|
|
121
|
+
*
|
|
122
|
+
* ### Usage guidelines:
|
|
123
|
+
*
|
|
124
|
+
* - Once a customer is archived, it cannot be unarchived.
|
|
125
|
+
* - Archived customers can still be viewed through the API or the UI for audit
|
|
126
|
+
* purposes.
|
|
127
|
+
* - Ingest aliases remain idempotent for archived customers. In order to reuse an
|
|
128
|
+
* ingest alias, first remove the ingest alias from the customer prior to
|
|
129
|
+
* archiving.
|
|
130
|
+
* - Any notifications associated with the customer will no longer be triggered.
|
|
76
131
|
*
|
|
77
132
|
* @example
|
|
78
133
|
* ```ts
|
|
@@ -81,9 +136,12 @@ export declare class Customers extends APIResource {
|
|
|
81
136
|
* });
|
|
82
137
|
* ```
|
|
83
138
|
*/
|
|
84
|
-
archive(body: CustomerArchiveParams, options?:
|
|
139
|
+
archive(body: CustomerArchiveParams, options?: RequestOptions): APIPromise<CustomerArchiveResponse>;
|
|
85
140
|
/**
|
|
86
|
-
* Get all billable metrics for a
|
|
141
|
+
* Get all billable metrics available for a specific customer. Supports pagination
|
|
142
|
+
* and filtering by current plan status or archived metrics. Use this endpoint to
|
|
143
|
+
* see which metrics are being tracked for billing calculations for a given
|
|
144
|
+
* customer.
|
|
87
145
|
*
|
|
88
146
|
* @example
|
|
89
147
|
* ```ts
|
|
@@ -95,7 +153,7 @@ export declare class Customers extends APIResource {
|
|
|
95
153
|
* }
|
|
96
154
|
* ```
|
|
97
155
|
*/
|
|
98
|
-
listBillableMetrics(params: CustomerListBillableMetricsParams, options?:
|
|
156
|
+
listBillableMetrics(params: CustomerListBillableMetricsParams, options?: RequestOptions): PagePromise<CustomerListBillableMetricsResponsesCursorPage, CustomerListBillableMetricsResponse>;
|
|
99
157
|
/**
|
|
100
158
|
* Fetch daily pending costs for the specified customer, broken down by credit type
|
|
101
159
|
* and line items. Note: this is not supported for customers whose plan includes a
|
|
@@ -115,12 +173,12 @@ export declare class Customers extends APIResource {
|
|
|
115
173
|
* }
|
|
116
174
|
* ```
|
|
117
175
|
*/
|
|
118
|
-
listCosts(params: CustomerListCostsParams, options?:
|
|
176
|
+
listCosts(params: CustomerListCostsParams, options?: RequestOptions): PagePromise<CustomerListCostsResponsesCursorPage, CustomerListCostsResponse>;
|
|
119
177
|
/**
|
|
120
|
-
* Preview how a set of events will affect a customer's
|
|
121
|
-
*
|
|
178
|
+
* Preview how a set of events will affect a customer's invoices. Generates draft
|
|
179
|
+
* invoices for a customer using their current contract configuration and the
|
|
122
180
|
* provided events. This is useful for testing how new events will affect the
|
|
123
|
-
* customer's
|
|
181
|
+
* customer's invoices before they are actually processed.
|
|
124
182
|
*
|
|
125
183
|
* @example
|
|
126
184
|
* ```ts
|
|
@@ -136,11 +194,111 @@ export declare class Customers extends APIResource {
|
|
|
136
194
|
* });
|
|
137
195
|
* ```
|
|
138
196
|
*/
|
|
139
|
-
previewEvents(params: CustomerPreviewEventsParams, options?:
|
|
197
|
+
previewEvents(params: CustomerPreviewEventsParams, options?: RequestOptions): APIPromise<CustomerPreviewEventsResponse>;
|
|
140
198
|
/**
|
|
141
|
-
*
|
|
142
|
-
*
|
|
143
|
-
*
|
|
199
|
+
* Returns all billing configurations previously set for the customer. Use during
|
|
200
|
+
* the contract provisioning process to fetch the
|
|
201
|
+
* `billing_provider_configuration_id` needed to set the contract billing
|
|
202
|
+
* configuration.
|
|
203
|
+
*
|
|
204
|
+
* @example
|
|
205
|
+
* ```ts
|
|
206
|
+
* const response =
|
|
207
|
+
* await client.v1.customers.retrieveBillingConfigurations({
|
|
208
|
+
* customer_id: '6a37bb88-8538-48c5-b37b-a41c836328bd',
|
|
209
|
+
* });
|
|
210
|
+
* ```
|
|
211
|
+
*/
|
|
212
|
+
retrieveBillingConfigurations(body: CustomerRetrieveBillingConfigurationsParams, options?: RequestOptions): APIPromise<CustomerRetrieveBillingConfigurationsResponse>;
|
|
213
|
+
/**
|
|
214
|
+
* Create a billing configuration for a customer. Once created, these
|
|
215
|
+
* configurations are available to associate to a contract and dictates which
|
|
216
|
+
* downstream system to collect payment in or send the invoice to. You can create
|
|
217
|
+
* multiple configurations per customer. The configuration formats are distinct for
|
|
218
|
+
* each downstream provider.
|
|
219
|
+
*
|
|
220
|
+
* ### Use this endpoint to:
|
|
221
|
+
*
|
|
222
|
+
* - Add the initial configuration to an existing customer. Once created, the
|
|
223
|
+
* billing configuration can then be associated to the customer's contract.
|
|
224
|
+
* - Add a new configuration to an existing customer. This might be used as part of
|
|
225
|
+
* an upgrade or downgrade workflow where the customer was previously billed
|
|
226
|
+
* through system A (e.g. Stripe) but will now be billed through system B (e.g.
|
|
227
|
+
* AWS). Once created, the new configuration can then be associated to the
|
|
228
|
+
* customer's contract.
|
|
229
|
+
* - Multiple configurations can be added per destination. For example, you can
|
|
230
|
+
* create two Stripe billing configurations for a Metronome customer that each
|
|
231
|
+
* have a distinct `collection_method`.
|
|
232
|
+
*
|
|
233
|
+
* ### Delivery method options:
|
|
234
|
+
*
|
|
235
|
+
* - `direct_to_billing_provider`: Use when Metronome should send invoices directly
|
|
236
|
+
* to the billing provider's API (e.g., Stripe, NetSuite). This is the most
|
|
237
|
+
* common method for automated billing workflows.
|
|
238
|
+
* - `tackle`: Use specifically for AWS Marketplace transactions that require
|
|
239
|
+
* Tackle's co-selling platform for partner attribution and commission tracking.
|
|
240
|
+
* - `aws_sqs`: Use when you want invoice data delivered to an AWS SQS queue for
|
|
241
|
+
* custom processing before sending to your billing system.
|
|
242
|
+
* - `aws_sns`: Use when you want invoice notifications published to an AWS SNS
|
|
243
|
+
* topic for event-driven billing workflows.
|
|
244
|
+
*
|
|
245
|
+
* ### Key response fields:
|
|
246
|
+
*
|
|
247
|
+
* The id for the customer billing configuration. This id can be used to associate
|
|
248
|
+
* the billing configuration to a contract.
|
|
249
|
+
*
|
|
250
|
+
* ### Usage guidelines:
|
|
251
|
+
*
|
|
252
|
+
* Must use the `delivery_method_id` if you have multiple Stripe accounts connected
|
|
253
|
+
* to Metronome.
|
|
254
|
+
*
|
|
255
|
+
* @example
|
|
256
|
+
* ```ts
|
|
257
|
+
* await client.v1.customers.setBillingConfigurations({
|
|
258
|
+
* data: [
|
|
259
|
+
* {
|
|
260
|
+
* customer_id: '4db51251-61de-4bfe-b9ce-495e244f3491',
|
|
261
|
+
* billing_provider: 'stripe',
|
|
262
|
+
* configuration: { ... },
|
|
263
|
+
* delivery_method: 'direct_to_billing_provider',
|
|
264
|
+
* },
|
|
265
|
+
* {
|
|
266
|
+
* customer_id: '4db51251-61de-4bfe-b9ce-495e244f3491',
|
|
267
|
+
* billing_provider: 'aws_marketplace',
|
|
268
|
+
* configuration: { ... },
|
|
269
|
+
* delivery_method: 'direct_to_billing_provider',
|
|
270
|
+
* },
|
|
271
|
+
* {
|
|
272
|
+
* customer_id: '4db51251-61de-4bfe-b9ce-495e244f3491',
|
|
273
|
+
* billing_provider: 'azure_marketplace',
|
|
274
|
+
* configuration: { ... },
|
|
275
|
+
* delivery_method_id: '5b9e3072-415b-4842-94f0-0b6700c8b6be',
|
|
276
|
+
* },
|
|
277
|
+
* {
|
|
278
|
+
* customer_id: '4db51251-61de-4bfe-b9ce-495e244f3491',
|
|
279
|
+
* billing_provider: 'aws_marketplace',
|
|
280
|
+
* configuration: { ... },
|
|
281
|
+
* delivery_method: 'direct_to_billing_provider',
|
|
282
|
+
* },
|
|
283
|
+
* ],
|
|
284
|
+
* });
|
|
285
|
+
* ```
|
|
286
|
+
*/
|
|
287
|
+
setBillingConfigurations(body: CustomerSetBillingConfigurationsParams, options?: RequestOptions): APIPromise<void>;
|
|
288
|
+
/**
|
|
289
|
+
* Sets the ingest aliases for a customer. Use this endpoint to associate a
|
|
290
|
+
* Metronome customer with an internal ID for easier tracking between systems.
|
|
291
|
+
* Ingest aliases can be used in the `customer_id` field when sending usage events
|
|
292
|
+
* to Metronome.
|
|
293
|
+
*
|
|
294
|
+
* ### Usage guidelines:
|
|
295
|
+
*
|
|
296
|
+
* - This call is idempotent and fully replaces the set of ingest aliases for the
|
|
297
|
+
* given customer.
|
|
298
|
+
* - Switching an ingest alias from one customer to another will associate all
|
|
299
|
+
* corresponding usage to the new customer.
|
|
300
|
+
* - Use multiple ingest aliases to model child organizations within a single
|
|
301
|
+
* Metronome customer.
|
|
144
302
|
*
|
|
145
303
|
* @example
|
|
146
304
|
* ```ts
|
|
@@ -150,9 +308,13 @@ export declare class Customers extends APIResource {
|
|
|
150
308
|
* });
|
|
151
309
|
* ```
|
|
152
310
|
*/
|
|
153
|
-
setIngestAliases(params: CustomerSetIngestAliasesParams, options?:
|
|
311
|
+
setIngestAliases(params: CustomerSetIngestAliasesParams, options?: RequestOptions): APIPromise<void>;
|
|
154
312
|
/**
|
|
155
|
-
* Updates the
|
|
313
|
+
* Updates the display name for a customer record. Use this to correct customer
|
|
314
|
+
* names, update business names after rebranding, or maintain accurate customer
|
|
315
|
+
* information for invoicing and reporting. Returns the updated customer object
|
|
316
|
+
* with the new name applied immediately across all billing documents and
|
|
317
|
+
* interfaces.
|
|
156
318
|
*
|
|
157
319
|
* @example
|
|
158
320
|
* ```ts
|
|
@@ -162,9 +324,12 @@ export declare class Customers extends APIResource {
|
|
|
162
324
|
* });
|
|
163
325
|
* ```
|
|
164
326
|
*/
|
|
165
|
-
setName(params: CustomerSetNameParams, options?:
|
|
327
|
+
setName(params: CustomerSetNameParams, options?: RequestOptions): APIPromise<CustomerSetNameResponse>;
|
|
166
328
|
/**
|
|
167
|
-
*
|
|
329
|
+
* Update configuration settings for a specific customer, such as external system
|
|
330
|
+
* integrations (e.g., Salesforce account ID) and other customer-specific billing
|
|
331
|
+
* parameters. Use this endpoint to modify customer configurations without
|
|
332
|
+
* affecting core customer data like name or ingest aliases.
|
|
168
333
|
*
|
|
169
334
|
* @example
|
|
170
335
|
* ```ts
|
|
@@ -174,14 +339,11 @@ export declare class Customers extends APIResource {
|
|
|
174
339
|
* });
|
|
175
340
|
* ```
|
|
176
341
|
*/
|
|
177
|
-
updateConfig(params: CustomerUpdateConfigParams, options?:
|
|
178
|
-
}
|
|
179
|
-
export declare class CustomerDetailsCursorPage extends CursorPage<CustomerDetail> {
|
|
180
|
-
}
|
|
181
|
-
export declare class CustomerListBillableMetricsResponsesCursorPage extends CursorPage<CustomerListBillableMetricsResponse> {
|
|
182
|
-
}
|
|
183
|
-
export declare class CustomerListCostsResponsesCursorPage extends CursorPage<CustomerListCostsResponse> {
|
|
342
|
+
updateConfig(params: CustomerUpdateConfigParams, options?: RequestOptions): APIPromise<void>;
|
|
184
343
|
}
|
|
344
|
+
export type CustomerDetailsCursorPage = CursorPage<CustomerDetail>;
|
|
345
|
+
export type CustomerListBillableMetricsResponsesCursorPage = CursorPage<CustomerListBillableMetricsResponse>;
|
|
346
|
+
export type CustomerListCostsResponsesCursorPage = CursorPage<CustomerListCostsResponse>;
|
|
185
347
|
export interface Customer {
|
|
186
348
|
/**
|
|
187
349
|
* the Metronome ID of the customer
|
|
@@ -198,6 +360,9 @@ export interface Customer {
|
|
|
198
360
|
*/
|
|
199
361
|
ingest_aliases: Array<string>;
|
|
200
362
|
name: string;
|
|
363
|
+
/**
|
|
364
|
+
* Custom fields to be added eg. { "key1": "value1", "key2": "value2" }
|
|
365
|
+
*/
|
|
201
366
|
custom_fields?: {
|
|
202
367
|
[key: string]: string;
|
|
203
368
|
};
|
|
@@ -211,6 +376,9 @@ export interface CustomerDetail {
|
|
|
211
376
|
* RFC 3339 timestamp indicating when the customer was created.
|
|
212
377
|
*/
|
|
213
378
|
created_at: string;
|
|
379
|
+
/**
|
|
380
|
+
* Custom fields to be added eg. { "key1": "value1", "key2": "value2" }
|
|
381
|
+
*/
|
|
214
382
|
custom_fields: {
|
|
215
383
|
[key: string]: string;
|
|
216
384
|
};
|
|
@@ -226,6 +394,10 @@ export interface CustomerDetail {
|
|
|
226
394
|
*/
|
|
227
395
|
ingest_aliases: Array<string>;
|
|
228
396
|
name: string;
|
|
397
|
+
/**
|
|
398
|
+
* RFC 3339 timestamp indicating when the customer was last updated.
|
|
399
|
+
*/
|
|
400
|
+
updated_at: string;
|
|
229
401
|
/**
|
|
230
402
|
* RFC 3339 timestamp indicating when the customer was archived. Null if the
|
|
231
403
|
* customer is active.
|
|
@@ -286,6 +458,9 @@ export interface CustomerListBillableMetricsResponse {
|
|
|
286
458
|
* provided, the billable metric is not archived.
|
|
287
459
|
*/
|
|
288
460
|
archived_at?: string;
|
|
461
|
+
/**
|
|
462
|
+
* Custom fields to be added eg. { "key1": "value1", "key2": "value2" }
|
|
463
|
+
*/
|
|
289
464
|
custom_fields?: {
|
|
290
465
|
[key: string]: string;
|
|
291
466
|
};
|
|
@@ -342,7 +517,47 @@ export declare namespace CustomerListCostsResponse {
|
|
|
342
517
|
}
|
|
343
518
|
}
|
|
344
519
|
export interface CustomerPreviewEventsResponse {
|
|
345
|
-
data: InvoicesAPI.Invoice
|
|
520
|
+
data: Array<InvoicesAPI.Invoice>;
|
|
521
|
+
}
|
|
522
|
+
export interface CustomerRetrieveBillingConfigurationsResponse {
|
|
523
|
+
data: Array<CustomerRetrieveBillingConfigurationsResponse.Data>;
|
|
524
|
+
}
|
|
525
|
+
export declare namespace CustomerRetrieveBillingConfigurationsResponse {
|
|
526
|
+
interface Data {
|
|
527
|
+
/**
|
|
528
|
+
* ID of this configuration; can be provided as the
|
|
529
|
+
* billing_provider_configuration_id when creating a contract.
|
|
530
|
+
*/
|
|
531
|
+
id: string;
|
|
532
|
+
archived_at: string | null;
|
|
533
|
+
/**
|
|
534
|
+
* The billing provider set for this configuration.
|
|
535
|
+
*/
|
|
536
|
+
billing_provider: 'aws_marketplace' | 'stripe' | 'netsuite' | 'custom' | 'azure_marketplace' | 'quickbooks_online' | 'workday' | 'gcp_marketplace';
|
|
537
|
+
/**
|
|
538
|
+
* Configuration for the billing provider. The structure of this object is specific
|
|
539
|
+
* to the billing provider.
|
|
540
|
+
*/
|
|
541
|
+
configuration: {
|
|
542
|
+
[key: string]: unknown;
|
|
543
|
+
};
|
|
544
|
+
customer_id: string;
|
|
545
|
+
/**
|
|
546
|
+
* The method to use for delivering invoices to this customer.
|
|
547
|
+
*/
|
|
548
|
+
delivery_method: 'direct_to_billing_provider' | 'aws_sqs' | 'tackle' | 'aws_sns';
|
|
549
|
+
/**
|
|
550
|
+
* Configuration for the delivery method. The structure of this object is specific
|
|
551
|
+
* to the delivery method.
|
|
552
|
+
*/
|
|
553
|
+
delivery_method_configuration: {
|
|
554
|
+
[key: string]: unknown;
|
|
555
|
+
};
|
|
556
|
+
/**
|
|
557
|
+
* ID of the delivery method to use for this customer.
|
|
558
|
+
*/
|
|
559
|
+
delivery_method_id: string;
|
|
560
|
+
}
|
|
346
561
|
}
|
|
347
562
|
export interface CustomerSetNameResponse {
|
|
348
563
|
data: Customer;
|
|
@@ -353,6 +568,9 @@ export interface CustomerCreateParams {
|
|
|
353
568
|
*/
|
|
354
569
|
name: string;
|
|
355
570
|
billing_config?: CustomerCreateParams.BillingConfig;
|
|
571
|
+
/**
|
|
572
|
+
* Custom fields to be added eg. { "key1": "value1", "key2": "value2" }
|
|
573
|
+
*/
|
|
356
574
|
custom_fields?: {
|
|
357
575
|
[key: string]: string;
|
|
358
576
|
};
|
|
@@ -377,7 +595,7 @@ export declare namespace CustomerCreateParams {
|
|
|
377
595
|
aws_is_subscription_product?: boolean;
|
|
378
596
|
aws_product_code?: string;
|
|
379
597
|
aws_region?: 'af-south-1' | 'ap-east-1' | 'ap-northeast-1' | 'ap-northeast-2' | 'ap-northeast-3' | 'ap-south-1' | 'ap-southeast-1' | 'ap-southeast-2' | 'ca-central-1' | 'cn-north-1' | 'cn-northwest-1' | 'eu-central-1' | 'eu-north-1' | 'eu-south-1' | 'eu-west-1' | 'eu-west-2' | 'eu-west-3' | 'me-south-1' | 'sa-east-1' | 'us-east-1' | 'us-east-2' | 'us-gov-east-1' | 'us-gov-west-1' | 'us-west-1' | 'us-west-2';
|
|
380
|
-
stripe_collection_method?: 'charge_automatically' | 'send_invoice';
|
|
598
|
+
stripe_collection_method?: 'charge_automatically' | 'send_invoice' | 'auto_charge_payment_intent' | 'manually_charge_payment_intent';
|
|
381
599
|
}
|
|
382
600
|
interface CustomerBillingProviderConfiguration {
|
|
383
601
|
/**
|
|
@@ -403,6 +621,13 @@ export declare namespace CustomerCreateParams {
|
|
|
403
621
|
* `delivery_method` must be provided.
|
|
404
622
|
*/
|
|
405
623
|
delivery_method_id?: string;
|
|
624
|
+
/**
|
|
625
|
+
* Specifies which tax provider Metronome should use for tax calculation when
|
|
626
|
+
* billing through Stripe. This is only supported for Stripe billing provider
|
|
627
|
+
* configurations with auto_charge_payment_intent or manual_charge_payment_intent
|
|
628
|
+
* collection methods.
|
|
629
|
+
*/
|
|
630
|
+
tax_provider?: 'anrok' | 'avalara' | 'stripe';
|
|
406
631
|
}
|
|
407
632
|
}
|
|
408
633
|
export interface CustomerRetrieveParams {
|
|
@@ -485,12 +710,6 @@ export interface CustomerPreviewEventsParams {
|
|
|
485
710
|
export declare namespace CustomerPreviewEventsParams {
|
|
486
711
|
interface Event {
|
|
487
712
|
event_type: string;
|
|
488
|
-
/**
|
|
489
|
-
* This has no effect for preview events, but may be set for consistency with Event
|
|
490
|
-
* objects. They will be processed even if they do not match the customer's ID or
|
|
491
|
-
* ingest aliases.
|
|
492
|
-
*/
|
|
493
|
-
customer_id?: string;
|
|
494
713
|
properties?: {
|
|
495
714
|
[key: string]: unknown;
|
|
496
715
|
};
|
|
@@ -499,13 +718,58 @@ export declare namespace CustomerPreviewEventsParams {
|
|
|
499
718
|
*/
|
|
500
719
|
timestamp?: string;
|
|
501
720
|
/**
|
|
502
|
-
*
|
|
503
|
-
*
|
|
504
|
-
* request.
|
|
721
|
+
* Optional unique identifier for event deduplication. When provided, preview
|
|
722
|
+
* events are automatically deduplicated against historical events from the past 34
|
|
723
|
+
* days. Duplicate transaction IDs within the same request will return an error.
|
|
505
724
|
*/
|
|
506
725
|
transaction_id?: string;
|
|
507
726
|
}
|
|
508
727
|
}
|
|
728
|
+
export interface CustomerRetrieveBillingConfigurationsParams {
|
|
729
|
+
customer_id: string;
|
|
730
|
+
include_archived?: boolean;
|
|
731
|
+
}
|
|
732
|
+
export interface CustomerSetBillingConfigurationsParams {
|
|
733
|
+
data: Array<CustomerSetBillingConfigurationsParams.Data>;
|
|
734
|
+
}
|
|
735
|
+
export declare namespace CustomerSetBillingConfigurationsParams {
|
|
736
|
+
interface Data {
|
|
737
|
+
/**
|
|
738
|
+
* The billing provider set for this configuration.
|
|
739
|
+
*/
|
|
740
|
+
billing_provider: 'aws_marketplace' | 'stripe' | 'netsuite' | 'custom' | 'azure_marketplace' | 'quickbooks_online' | 'workday' | 'gcp_marketplace';
|
|
741
|
+
customer_id: string;
|
|
742
|
+
/**
|
|
743
|
+
* Configuration for the billing provider. The structure of this object is specific
|
|
744
|
+
* to the billing provider and delivery method combination. Defaults to an empty
|
|
745
|
+
* object, however, for most billing provider + delivery method combinations, it
|
|
746
|
+
* will not be a valid configuration. For AWS marketplace configurations, the
|
|
747
|
+
* aws_is_subscription_product flag can be used to indicate a product with
|
|
748
|
+
* usage-based pricing. More information can be found
|
|
749
|
+
* [here](https://docs.metronome.com/invoice-customers/solutions/marketplaces/invoice-aws/#provision-aws-marketplace-customers-in-metronome).
|
|
750
|
+
*/
|
|
751
|
+
configuration?: {
|
|
752
|
+
[key: string]: unknown;
|
|
753
|
+
};
|
|
754
|
+
/**
|
|
755
|
+
* The method to use for delivering invoices to this customer. If not provided, the
|
|
756
|
+
* `delivery_method_id` must be provided.
|
|
757
|
+
*/
|
|
758
|
+
delivery_method?: 'direct_to_billing_provider' | 'aws_sqs' | 'tackle' | 'aws_sns';
|
|
759
|
+
/**
|
|
760
|
+
* ID of the delivery method to use for this customer. If not provided, the
|
|
761
|
+
* `delivery_method` must be provided.
|
|
762
|
+
*/
|
|
763
|
+
delivery_method_id?: string;
|
|
764
|
+
/**
|
|
765
|
+
* Specifies which tax provider Metronome should use for tax calculation when
|
|
766
|
+
* billing through Stripe. This is only supported for Stripe billing provider
|
|
767
|
+
* configurations with auto_charge_payment_intent or manual_charge_payment_intent
|
|
768
|
+
* collection methods.
|
|
769
|
+
*/
|
|
770
|
+
tax_provider?: 'anrok' | 'avalara' | 'stripe';
|
|
771
|
+
}
|
|
772
|
+
}
|
|
509
773
|
export interface CustomerSetIngestAliasesParams {
|
|
510
774
|
/**
|
|
511
775
|
* Path param:
|
|
@@ -543,13 +807,13 @@ export interface CustomerUpdateConfigParams {
|
|
|
543
807
|
salesforce_account_id?: string | null;
|
|
544
808
|
}
|
|
545
809
|
export declare namespace Customers {
|
|
546
|
-
export { type Customer as Customer, type CustomerDetail as CustomerDetail, type CustomerCreateResponse as CustomerCreateResponse, type CustomerRetrieveResponse as CustomerRetrieveResponse, type CustomerArchiveResponse as CustomerArchiveResponse, type CustomerListBillableMetricsResponse as CustomerListBillableMetricsResponse, type CustomerListCostsResponse as CustomerListCostsResponse, type CustomerPreviewEventsResponse as CustomerPreviewEventsResponse, type CustomerSetNameResponse as CustomerSetNameResponse, CustomerDetailsCursorPage as CustomerDetailsCursorPage, CustomerListBillableMetricsResponsesCursorPage as CustomerListBillableMetricsResponsesCursorPage, CustomerListCostsResponsesCursorPage as CustomerListCostsResponsesCursorPage, type CustomerCreateParams as CustomerCreateParams, type CustomerRetrieveParams as CustomerRetrieveParams, type CustomerListParams as CustomerListParams, type CustomerArchiveParams as CustomerArchiveParams, type CustomerListBillableMetricsParams as CustomerListBillableMetricsParams, type CustomerListCostsParams as CustomerListCostsParams, type CustomerPreviewEventsParams as CustomerPreviewEventsParams, type CustomerSetIngestAliasesParams as CustomerSetIngestAliasesParams, type CustomerSetNameParams as CustomerSetNameParams, type CustomerUpdateConfigParams as CustomerUpdateConfigParams, };
|
|
547
|
-
export { Alerts as Alerts, type CustomerAlert as CustomerAlert, type AlertRetrieveResponse as AlertRetrieveResponse, type
|
|
548
|
-
export { Plans as Plans, type PlanListResponse as PlanListResponse, type PlanAddResponse as PlanAddResponse, type PlanEndResponse as PlanEndResponse, type PlanListPriceAdjustmentsResponse as PlanListPriceAdjustmentsResponse, PlanListResponsesCursorPage as PlanListResponsesCursorPage, PlanListPriceAdjustmentsResponsesCursorPage as PlanListPriceAdjustmentsResponsesCursorPage, type PlanListParams as PlanListParams, type PlanAddParams as PlanAddParams, type PlanEndParams as PlanEndParams, type PlanListPriceAdjustmentsParams as PlanListPriceAdjustmentsParams, };
|
|
549
|
-
export { Invoices as Invoices, type Invoice as Invoice, type InvoiceRetrieveResponse as InvoiceRetrieveResponse, type InvoiceAddChargeResponse as InvoiceAddChargeResponse, type InvoiceListBreakdownsResponse as InvoiceListBreakdownsResponse, InvoicesCursorPage as InvoicesCursorPage, InvoiceListBreakdownsResponsesCursorPage as InvoiceListBreakdownsResponsesCursorPage, type InvoiceRetrieveParams as InvoiceRetrieveParams, type InvoiceListParams as InvoiceListParams, type InvoiceAddChargeParams as InvoiceAddChargeParams, type InvoiceListBreakdownsParams as InvoiceListBreakdownsParams, };
|
|
810
|
+
export { type Customer as Customer, type CustomerDetail as CustomerDetail, type CustomerCreateResponse as CustomerCreateResponse, type CustomerRetrieveResponse as CustomerRetrieveResponse, type CustomerArchiveResponse as CustomerArchiveResponse, type CustomerListBillableMetricsResponse as CustomerListBillableMetricsResponse, type CustomerListCostsResponse as CustomerListCostsResponse, type CustomerPreviewEventsResponse as CustomerPreviewEventsResponse, type CustomerRetrieveBillingConfigurationsResponse as CustomerRetrieveBillingConfigurationsResponse, type CustomerSetNameResponse as CustomerSetNameResponse, type CustomerDetailsCursorPage as CustomerDetailsCursorPage, type CustomerListBillableMetricsResponsesCursorPage as CustomerListBillableMetricsResponsesCursorPage, type CustomerListCostsResponsesCursorPage as CustomerListCostsResponsesCursorPage, type CustomerCreateParams as CustomerCreateParams, type CustomerRetrieveParams as CustomerRetrieveParams, type CustomerListParams as CustomerListParams, type CustomerArchiveParams as CustomerArchiveParams, type CustomerListBillableMetricsParams as CustomerListBillableMetricsParams, type CustomerListCostsParams as CustomerListCostsParams, type CustomerPreviewEventsParams as CustomerPreviewEventsParams, type CustomerRetrieveBillingConfigurationsParams as CustomerRetrieveBillingConfigurationsParams, type CustomerSetBillingConfigurationsParams as CustomerSetBillingConfigurationsParams, type CustomerSetIngestAliasesParams as CustomerSetIngestAliasesParams, type CustomerSetNameParams as CustomerSetNameParams, type CustomerUpdateConfigParams as CustomerUpdateConfigParams, };
|
|
811
|
+
export { Alerts as Alerts, type CustomerAlert as CustomerAlert, type AlertRetrieveResponse as AlertRetrieveResponse, type CustomerAlertsCursorPageWithoutLimit as CustomerAlertsCursorPageWithoutLimit, type AlertRetrieveParams as AlertRetrieveParams, type AlertListParams as AlertListParams, type AlertResetParams as AlertResetParams, };
|
|
812
|
+
export { Plans as Plans, type PlanListResponse as PlanListResponse, type PlanAddResponse as PlanAddResponse, type PlanEndResponse as PlanEndResponse, type PlanListPriceAdjustmentsResponse as PlanListPriceAdjustmentsResponse, type PlanListResponsesCursorPage as PlanListResponsesCursorPage, type PlanListPriceAdjustmentsResponsesCursorPage as PlanListPriceAdjustmentsResponsesCursorPage, type PlanListParams as PlanListParams, type PlanAddParams as PlanAddParams, type PlanEndParams as PlanEndParams, type PlanListPriceAdjustmentsParams as PlanListPriceAdjustmentsParams, };
|
|
813
|
+
export { Invoices as Invoices, type Invoice as Invoice, type InvoiceRetrieveResponse as InvoiceRetrieveResponse, type InvoiceAddChargeResponse as InvoiceAddChargeResponse, type InvoiceListBreakdownsResponse as InvoiceListBreakdownsResponse, type InvoicesCursorPage as InvoicesCursorPage, type InvoiceListBreakdownsResponsesCursorPage as InvoiceListBreakdownsResponsesCursorPage, type InvoiceRetrieveParams as InvoiceRetrieveParams, type InvoiceListParams as InvoiceListParams, type InvoiceAddChargeParams as InvoiceAddChargeParams, type InvoiceListBreakdownsParams as InvoiceListBreakdownsParams, type InvoiceRetrievePdfParams as InvoiceRetrievePdfParams, };
|
|
550
814
|
export { BillingConfigAPIBillingConfig as BillingConfig, type BillingConfigRetrieveResponse as BillingConfigRetrieveResponse, type BillingConfigCreateParams as BillingConfigCreateParams, type BillingConfigRetrieveParams as BillingConfigRetrieveParams, type BillingConfigDeleteParams as BillingConfigDeleteParams, };
|
|
551
|
-
export { Commits as Commits, type CommitCreateResponse as CommitCreateResponse, type
|
|
552
|
-
export { Credits as Credits, type CreditCreateResponse as CreditCreateResponse, type
|
|
815
|
+
export { Commits as Commits, type CommitCreateResponse as CommitCreateResponse, type CommitUpdateEndDateResponse as CommitUpdateEndDateResponse, type CommitCreateParams as CommitCreateParams, type CommitListParams as CommitListParams, type CommitUpdateEndDateParams as CommitUpdateEndDateParams, };
|
|
816
|
+
export { Credits as Credits, type CreditCreateResponse as CreditCreateResponse, type CreditUpdateEndDateResponse as CreditUpdateEndDateResponse, type CreditCreateParams as CreditCreateParams, type CreditListParams as CreditListParams, type CreditUpdateEndDateParams as CreditUpdateEndDateParams, };
|
|
553
817
|
export { NamedSchedules as NamedSchedules, type NamedScheduleRetrieveResponse as NamedScheduleRetrieveResponse, type NamedScheduleRetrieveParams as NamedScheduleRetrieveParams, type NamedScheduleUpdateParams as NamedScheduleUpdateParams, };
|
|
554
818
|
}
|
|
555
819
|
//# sourceMappingURL=customers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customers.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/customers/customers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,OAAO,KAAK,IAAI,MAAM,eAAe,CAAC;AACtC,OAAO,KAAK,MAAM,MAAM,cAAc,CAAC;AACvC,OAAO,KAAK,SAAS,MAAM,UAAU,CAAC;AACtC,OAAO,EACL,eAAe,EACf,iBAAiB,EACjB,gBAAgB,EAChB,mBAAmB,EACnB,qBAAqB,EACrB,MAAM,EACN,aAAa,EACd,MAAM,UAAU,CAAC;AAClB,OAAO,KAAK,gBAAgB,MAAM,kBAAkB,CAAC;AACrD,OAAO,EACL,aAAa,IAAI,6BAA6B,EAC9C,yBAAyB,EACzB,yBAAyB,EACzB,2BAA2B,EAC3B,6BAA6B,EAC9B,MAAM,kBAAkB,CAAC;AAC1B,O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