@metronome/sdk 0.1.0-beta.8 → 0.1.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 +227 -0
- package/README.md +37 -52
- package/_shims/index.d.ts +2 -0
- package/_shims/index.js +5 -1
- package/_shims/index.mjs +5 -1
- package/core.d.ts +19 -5
- package/core.d.ts.map +1 -1
- package/core.js +25 -15
- package/core.js.map +1 -1
- package/core.mjs +26 -16
- package/core.mjs.map +1 -1
- package/index.d.mts +10 -42
- package/index.d.ts +10 -42
- package/index.d.ts.map +1 -1
- package/index.js +14 -55
- package/index.js.map +1 -1
- package/index.mjs +14 -55
- package/index.mjs.map +1 -1
- package/package.json +1 -1
- package/pagination.d.ts +1 -0
- package/pagination.d.ts.map +1 -1
- package/pagination.js +3 -0
- package/pagination.js.map +1 -1
- package/pagination.mjs +3 -0
- package/pagination.mjs.map +1 -1
- package/resource.d.ts +1 -1
- package/resource.d.ts.map +1 -1
- package/resource.js.map +1 -1
- package/resource.mjs.map +1 -1
- package/resources/index.d.ts +2 -13
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +5 -38
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -13
- package/resources/index.mjs.map +1 -1
- package/resources/shared.d.ts +512 -24
- package/resources/shared.d.ts.map +1 -1
- package/resources/{alerts.d.ts → v1/alerts.d.ts} +29 -5
- package/resources/v1/alerts.d.ts.map +1 -0
- package/resources/v1/alerts.js +40 -0
- package/resources/v1/alerts.js.map +1 -0
- package/resources/v1/alerts.mjs +36 -0
- package/resources/v1/alerts.mjs.map +1 -0
- package/resources/{audit-logs.d.ts → v1/audit-logs.d.ts} +11 -3
- package/resources/v1/audit-logs.d.ts.map +1 -0
- package/resources/{audit-logs.js → v1/audit-logs.js} +4 -4
- package/resources/v1/audit-logs.js.map +1 -0
- package/resources/{audit-logs.mjs → v1/audit-logs.mjs} +4 -4
- package/resources/v1/audit-logs.mjs.map +1 -0
- package/resources/{billable-metrics.d.ts → v1/billable-metrics.d.ts} +62 -7
- package/resources/v1/billable-metrics.d.ts.map +1 -0
- package/resources/v1/billable-metrics.js +84 -0
- package/resources/v1/billable-metrics.js.map +1 -0
- package/resources/v1/billable-metrics.mjs +79 -0
- package/resources/v1/billable-metrics.mjs.map +1 -0
- package/resources/{contracts → v1/contracts}/contracts.d.ts +1618 -62
- package/resources/v1/contracts/contracts.d.ts.map +1 -0
- package/resources/v1/contracts/contracts.js +312 -0
- package/resources/v1/contracts/contracts.js.map +1 -0
- package/resources/v1/contracts/contracts.mjs +285 -0
- package/resources/v1/contracts/contracts.mjs.map +1 -0
- package/resources/v1/contracts/index.d.ts +5 -0
- package/resources/v1/contracts/index.d.ts.map +1 -0
- package/resources/v1/contracts/index.js.map +1 -0
- package/resources/v1/contracts/index.mjs.map +1 -0
- package/resources/{contracts → v1/contracts}/named-schedules.d.ts +23 -2
- package/resources/v1/contracts/named-schedules.d.ts.map +1 -0
- package/resources/v1/contracts/named-schedules.js +48 -0
- package/resources/v1/contracts/named-schedules.js.map +1 -0
- package/resources/v1/contracts/named-schedules.mjs +44 -0
- package/resources/v1/contracts/named-schedules.mjs.map +1 -0
- package/resources/{contracts → v1/contracts}/products.d.ts +55 -7
- package/resources/v1/contracts/products.d.ts.map +1 -0
- package/resources/v1/contracts/products.js +84 -0
- package/resources/v1/contracts/products.js.map +1 -0
- package/resources/v1/contracts/products.mjs +79 -0
- package/resources/v1/contracts/products.mjs.map +1 -0
- package/resources/{contracts → v1/contracts}/rate-cards/index.d.ts +1 -1
- package/resources/v1/contracts/rate-cards/index.d.ts.map +1 -0
- package/resources/v1/contracts/rate-cards/index.js.map +1 -0
- package/resources/v1/contracts/rate-cards/index.mjs.map +1 -0
- package/resources/{contracts → v1/contracts}/rate-cards/named-schedules.d.ts +27 -2
- package/resources/v1/contracts/rate-cards/named-schedules.d.ts.map +1 -0
- package/resources/v1/contracts/rate-cards/named-schedules.js +52 -0
- package/resources/v1/contracts/rate-cards/named-schedules.js.map +1 -0
- package/resources/v1/contracts/rate-cards/named-schedules.mjs +48 -0
- package/resources/v1/contracts/rate-cards/named-schedules.mjs.map +1 -0
- package/resources/{contracts → v1/contracts}/rate-cards/product-orders.d.ts +33 -3
- package/resources/v1/contracts/rate-cards/product-orders.d.ts.map +1 -0
- package/resources/v1/contracts/rate-cards/product-orders.js +54 -0
- package/resources/v1/contracts/rate-cards/product-orders.js.map +1 -0
- package/resources/v1/contracts/rate-cards/product-orders.mjs +50 -0
- package/resources/v1/contracts/rate-cards/product-orders.mjs.map +1 -0
- package/resources/{contracts → v1/contracts}/rate-cards/rate-cards.d.ts +118 -14
- package/resources/v1/contracts/rate-cards/rate-cards.d.ts.map +1 -0
- package/resources/{contracts → v1/contracts}/rate-cards/rate-cards.js +83 -12
- package/resources/v1/contracts/rate-cards/rate-cards.js.map +1 -0
- package/resources/v1/contracts/rate-cards/rate-cards.mjs +140 -0
- package/resources/v1/contracts/rate-cards/rate-cards.mjs.map +1 -0
- package/resources/{contracts → v1/contracts}/rate-cards/rates.d.ts +118 -14
- package/resources/v1/contracts/rate-cards/rates.d.ts.map +1 -0
- package/resources/v1/contracts/rate-cards/rates.js +106 -0
- package/resources/v1/contracts/rate-cards/rates.js.map +1 -0
- package/resources/v1/contracts/rate-cards/rates.mjs +101 -0
- package/resources/v1/contracts/rate-cards/rates.mjs.map +1 -0
- package/resources/v1/contracts/rate-cards.d.ts +2 -0
- package/resources/v1/contracts/rate-cards.d.ts.map +1 -0
- package/resources/v1/contracts/rate-cards.js +19 -0
- package/resources/v1/contracts/rate-cards.js.map +1 -0
- package/resources/v1/contracts/rate-cards.mjs +3 -0
- package/resources/v1/contracts/rate-cards.mjs.map +1 -0
- package/resources/v1/contracts.d.ts +2 -0
- package/resources/v1/contracts.d.ts.map +1 -0
- package/resources/v1/contracts.js +19 -0
- package/resources/v1/contracts.js.map +1 -0
- package/resources/v1/contracts.mjs +3 -0
- package/resources/v1/contracts.mjs.map +1 -0
- package/resources/{credit-grants.d.ts → v1/credit-grants.d.ts} +81 -6
- package/resources/v1/credit-grants.d.ts.map +1 -0
- package/resources/v1/credit-grants.js +89 -0
- package/resources/v1/credit-grants.js.map +1 -0
- package/resources/v1/credit-grants.mjs +84 -0
- package/resources/v1/credit-grants.mjs.map +1 -0
- package/resources/{custom-fields.d.ts → v1/custom-fields.d.ts} +53 -9
- package/resources/v1/custom-fields.d.ts.map +1 -0
- package/resources/{custom-fields.js → v1/custom-fields.js} +42 -7
- package/resources/v1/custom-fields.js.map +1 -0
- package/resources/{custom-fields.mjs → v1/custom-fields.mjs} +42 -7
- package/resources/v1/custom-fields.mjs.map +1 -0
- package/resources/{customers → v1/customers}/alerts.d.ts +31 -3
- package/resources/v1/customers/alerts.d.ts.map +1 -0
- package/resources/v1/customers/alerts.js +56 -0
- package/resources/v1/customers/alerts.js.map +1 -0
- package/resources/v1/customers/alerts.mjs +52 -0
- package/resources/v1/customers/alerts.mjs.map +1 -0
- package/resources/{customers → v1/customers}/billing-config.d.ts +33 -2
- package/resources/v1/customers/billing-config.d.ts.map +1 -0
- package/resources/v1/customers/billing-config.js +65 -0
- package/resources/v1/customers/billing-config.js.map +1 -0
- package/resources/v1/customers/billing-config.mjs +61 -0
- package/resources/v1/customers/billing-config.mjs.map +1 -0
- package/resources/{customers → v1/customers}/commits.d.ts +97 -10
- package/resources/v1/customers/commits.d.ts.map +1 -0
- package/resources/v1/customers/commits.js +82 -0
- package/resources/v1/customers/commits.js.map +1 -0
- package/resources/v1/customers/commits.mjs +78 -0
- package/resources/v1/customers/commits.mjs.map +1 -0
- package/resources/{customers → v1/customers}/credits.d.ts +76 -6
- package/resources/v1/customers/credits.d.ts.map +1 -0
- package/resources/v1/customers/credits.js +67 -0
- package/resources/v1/customers/credits.js.map +1 -0
- package/resources/v1/customers/credits.mjs +63 -0
- package/resources/v1/customers/credits.mjs.map +1 -0
- package/resources/{customers → v1/customers}/customers.d.ts +197 -14
- package/resources/v1/customers/customers.d.ts.map +1 -0
- package/resources/{customers → v1/customers}/customers.js +118 -16
- package/resources/v1/customers/customers.js.map +1 -0
- package/resources/v1/customers/customers.mjs +228 -0
- package/resources/v1/customers/customers.mjs.map +1 -0
- package/resources/{customers → v1/customers}/index.d.ts +1 -1
- package/resources/v1/customers/index.d.ts.map +1 -0
- package/resources/v1/customers/index.js.map +1 -0
- package/resources/v1/customers/index.mjs.map +1 -0
- package/resources/{customers → v1/customers}/invoices.d.ts +152 -57
- package/resources/v1/customers/invoices.d.ts.map +1 -0
- package/resources/v1/customers/invoices.js +103 -0
- package/resources/v1/customers/invoices.js.map +1 -0
- package/resources/v1/customers/invoices.mjs +97 -0
- package/resources/v1/customers/invoices.mjs.map +1 -0
- package/resources/{customers → v1/customers}/named-schedules.d.ts +23 -2
- package/resources/v1/customers/named-schedules.d.ts.map +1 -0
- package/resources/v1/customers/named-schedules.js +48 -0
- package/resources/v1/customers/named-schedules.js.map +1 -0
- package/resources/v1/customers/named-schedules.mjs +44 -0
- package/resources/v1/customers/named-schedules.mjs.map +1 -0
- package/resources/{customers → v1/customers}/plans.d.ts +50 -5
- package/resources/v1/customers/plans.d.ts.map +1 -0
- package/resources/v1/customers/plans.js +99 -0
- package/resources/v1/customers/plans.js.map +1 -0
- package/resources/v1/customers/plans.mjs +93 -0
- package/resources/v1/customers/plans.mjs.map +1 -0
- package/resources/v1/customers.d.ts +2 -0
- package/resources/v1/customers.d.ts.map +1 -0
- package/resources/v1/customers.js +19 -0
- package/resources/v1/customers.js.map +1 -0
- package/resources/v1/customers.mjs +3 -0
- package/resources/v1/customers.mjs.map +1 -0
- package/resources/{dashboards.d.ts → v1/dashboards.d.ts} +32 -4
- package/resources/v1/dashboards.d.ts.map +1 -0
- package/resources/v1/dashboards.js +43 -0
- package/resources/v1/dashboards.js.map +1 -0
- package/resources/v1/dashboards.mjs +39 -0
- package/resources/v1/dashboards.mjs.map +1 -0
- package/resources/v1/index.d.ts +15 -0
- package/resources/v1/index.d.ts.map +1 -0
- package/resources/v1/index.js +44 -0
- package/resources/v1/index.js.map +1 -0
- package/resources/v1/index.mjs +16 -0
- package/resources/v1/index.mjs.map +1 -0
- package/resources/{invoices.d.ts → v1/invoices.d.ts} +16 -2
- package/resources/v1/invoices.d.ts.map +1 -0
- package/resources/v1/invoices.js +35 -0
- package/resources/v1/invoices.js.map +1 -0
- package/resources/v1/invoices.mjs +31 -0
- package/resources/v1/invoices.mjs.map +1 -0
- package/resources/{plans.d.ts → v1/plans.d.ts} +51 -8
- package/resources/v1/plans.d.ts.map +1 -0
- package/resources/{plans.js → v1/plans.js} +34 -7
- package/resources/v1/plans.js.map +1 -0
- package/resources/v1/plans.mjs +74 -0
- package/resources/v1/plans.mjs.map +1 -0
- package/resources/{pricing-units.d.ts → v1/pricing-units.d.ts} +11 -3
- package/resources/v1/pricing-units.d.ts.map +1 -0
- package/resources/{pricing-units.js → v1/pricing-units.js} +4 -4
- package/resources/v1/pricing-units.js.map +1 -0
- package/resources/{pricing-units.mjs → v1/pricing-units.mjs} +4 -4
- package/resources/v1/pricing-units.mjs.map +1 -0
- package/resources/{services.d.ts → v1/services.d.ts} +7 -2
- package/resources/v1/services.d.ts.map +1 -0
- package/resources/{services.js → v1/services.js} +7 -2
- package/resources/v1/services.js.map +1 -0
- package/resources/{services.mjs → v1/services.mjs} +7 -2
- package/resources/v1/services.mjs.map +1 -0
- package/resources/v1/usage.d.ts +325 -0
- package/resources/v1/usage.d.ts.map +1 -0
- package/resources/v1/usage.js +92 -0
- package/resources/v1/usage.js.map +1 -0
- package/resources/v1/usage.mjs +87 -0
- package/resources/v1/usage.mjs.map +1 -0
- package/resources/v1/v1.d.ts +58 -0
- package/resources/v1/v1.d.ts.map +1 -0
- package/resources/v1/v1.js +98 -0
- package/resources/v1/v1.js.map +1 -0
- package/resources/v1/v1.mjs +71 -0
- package/resources/v1/v1.mjs.map +1 -0
- package/resources/v1.d.ts +2 -0
- package/resources/v1.d.ts.map +1 -0
- package/resources/v1.js +19 -0
- package/resources/v1.js.map +1 -0
- package/resources/v1.mjs +3 -0
- package/resources/v1.mjs.map +1 -0
- package/resources/v2/contracts.d.ts +5955 -0
- package/resources/v2/contracts.d.ts.map +1 -0
- package/resources/v2/contracts.js +136 -0
- package/resources/v2/contracts.js.map +1 -0
- package/resources/v2/contracts.mjs +132 -0
- package/resources/v2/contracts.mjs.map +1 -0
- package/resources/v2/index.d.ts +3 -0
- package/resources/v2/index.d.ts.map +1 -0
- package/resources/v2/index.js +9 -0
- package/resources/v2/index.js.map +1 -0
- package/resources/v2/index.mjs +4 -0
- package/resources/v2/index.mjs.map +1 -0
- package/resources/v2/v2.d.ts +10 -0
- package/resources/v2/v2.d.ts.map +1 -0
- package/resources/v2/v2.js +39 -0
- package/resources/v2/v2.js.map +1 -0
- package/resources/v2/v2.mjs +12 -0
- package/resources/v2/v2.mjs.map +1 -0
- package/resources/v2.d.ts +2 -0
- package/resources/v2.d.ts.map +1 -0
- package/resources/v2.js +19 -0
- package/resources/v2.js.map +1 -0
- package/resources/v2.mjs +3 -0
- package/resources/v2.mjs.map +1 -0
- package/resources/webhooks.js +5 -5
- package/resources/webhooks.js.map +1 -1
- package/resources/webhooks.mjs +5 -5
- package/resources/webhooks.mjs.map +1 -1
- package/resources.d.ts +2 -0
- package/resources.d.ts.map +1 -0
- package/resources.js +18 -0
- package/resources.js.map +1 -0
- package/resources.mjs +2 -0
- package/resources.mjs.map +1 -0
- package/src/_shims/auto/runtime-bun.ts +1 -1
- package/src/_shims/auto/runtime-node.ts +1 -1
- package/src/_shims/auto/runtime.ts +1 -1
- package/src/_shims/auto/types-node.ts +1 -1
- package/src/_shims/bun-runtime.ts +2 -2
- package/src/_shims/index.d.ts +5 -3
- package/src/_shims/index.js +5 -1
- package/src/_shims/index.mjs +6 -2
- package/src/_shims/node-runtime.ts +3 -3
- package/src/_shims/registry.ts +1 -1
- package/src/_shims/web-runtime.ts +3 -3
- package/src/core.ts +49 -21
- package/src/error.ts +1 -1
- package/src/index.ts +31 -349
- package/src/internal/qs/formats.ts +1 -1
- package/src/internal/qs/index.ts +3 -3
- package/src/internal/qs/stringify.ts +3 -3
- package/src/internal/qs/utils.ts +2 -2
- package/src/pagination.ts +5 -1
- package/src/resource.ts +2 -2
- package/src/resources/index.ts +4 -144
- package/src/resources/shared.ts +587 -26
- package/src/resources/{alerts.ts → v1/alerts.ts} +31 -7
- package/src/resources/{audit-logs.ts → v1/audit-logs.ts} +13 -5
- package/src/resources/{billable-metrics.ts → v1/billable-metrics.ts} +61 -12
- package/src/resources/{contracts → v1/contracts}/contracts.ts +1848 -83
- package/src/resources/{contracts → v1/contracts}/index.ts +8 -4
- package/src/resources/{contracts → v1/contracts}/named-schedules.ts +25 -4
- package/src/resources/{contracts → v1/contracts}/products.ts +58 -14
- package/src/resources/{contracts → v1/contracts}/rate-cards/index.ts +6 -4
- package/src/resources/{contracts → v1/contracts}/rate-cards/named-schedules.ts +29 -4
- package/src/resources/{contracts → v1/contracts}/rate-cards/product-orders.ts +38 -5
- package/src/resources/{contracts → v1/contracts}/rate-cards/rate-cards.ts +137 -25
- package/src/resources/{contracts → v1/contracts}/rate-cards/rates.ts +105 -17
- package/src/resources/v1/contracts/rate-cards.ts +3 -0
- package/src/resources/v1/contracts.ts +3 -0
- package/src/resources/{credit-grants.ts → v1/credit-grants.ts} +86 -14
- package/src/resources/{custom-fields.ts → v1/custom-fields.ts} +62 -14
- package/src/resources/{customers → v1/customers}/alerts.ts +35 -6
- package/src/resources/{customers → v1/customers}/billing-config.ts +37 -5
- package/src/resources/{customers → v1/customers}/commits.ts +100 -13
- package/src/resources/{customers → v1/customers}/credits.ts +79 -9
- package/src/resources/{customers → v1/customers}/customers.ts +229 -40
- package/src/resources/{customers → v1/customers}/index.ts +10 -8
- package/src/resources/{customers → v1/customers}/invoices.ts +131 -62
- package/src/resources/{customers → v1/customers}/named-schedules.ts +25 -4
- package/src/resources/{customers → v1/customers}/plans.ts +55 -9
- package/src/resources/v1/customers.ts +3 -0
- package/src/resources/{dashboards.ts → v1/dashboards.ts} +31 -5
- package/src/resources/v1/index.ts +151 -0
- package/src/resources/{invoices.ts → v1/invoices.ts} +18 -4
- package/src/resources/{plans.ts → v1/plans.ts} +49 -14
- package/src/resources/{pricing-units.ts → v1/pricing-units.ts} +13 -5
- package/src/resources/{services.ts → v1/services.ts} +8 -3
- package/src/resources/v1/usage.ts +429 -0
- package/src/resources/v1/v1.ts +364 -0
- package/src/resources/v1.ts +3 -0
- package/src/resources/v2/contracts.ts +7677 -0
- package/src/resources/v2/index.ts +18 -0
- package/src/resources/v2/v2.ts +43 -0
- package/src/resources/v2.ts +3 -0
- package/src/resources/webhooks.ts +7 -7
- package/src/resources.ts +1 -0
- package/src/shims/node.ts +3 -3
- package/src/shims/web.ts +3 -3
- package/src/uploads.ts +4 -4
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
- package/resources/alerts.d.ts.map +0 -1
- package/resources/alerts.js +0 -21
- package/resources/alerts.js.map +0 -1
- package/resources/alerts.mjs +0 -17
- package/resources/alerts.mjs.map +0 -1
- package/resources/audit-logs.d.ts.map +0 -1
- package/resources/audit-logs.js.map +0 -1
- package/resources/audit-logs.mjs.map +0 -1
- package/resources/billable-metrics.d.ts.map +0 -1
- package/resources/billable-metrics.js +0 -43
- package/resources/billable-metrics.js.map +0 -1
- package/resources/billable-metrics.mjs +0 -38
- package/resources/billable-metrics.mjs.map +0 -1
- package/resources/contracts/contracts.d.ts.map +0 -1
- package/resources/contracts/contracts.js +0 -135
- package/resources/contracts/contracts.js.map +0 -1
- package/resources/contracts/contracts.mjs +0 -108
- package/resources/contracts/contracts.mjs.map +0 -1
- package/resources/contracts/index.d.ts +0 -5
- package/resources/contracts/index.d.ts.map +0 -1
- package/resources/contracts/index.js.map +0 -1
- package/resources/contracts/index.mjs.map +0 -1
- package/resources/contracts/named-schedules.d.ts.map +0 -1
- package/resources/contracts/named-schedules.js +0 -27
- package/resources/contracts/named-schedules.js.map +0 -1
- package/resources/contracts/named-schedules.mjs +0 -23
- package/resources/contracts/named-schedules.mjs.map +0 -1
- package/resources/contracts/products.d.ts.map +0 -1
- package/resources/contracts/products.js +0 -51
- package/resources/contracts/products.js.map +0 -1
- package/resources/contracts/products.mjs +0 -46
- package/resources/contracts/products.mjs.map +0 -1
- package/resources/contracts/rate-cards/index.d.ts.map +0 -1
- package/resources/contracts/rate-cards/index.js.map +0 -1
- package/resources/contracts/rate-cards/index.mjs.map +0 -1
- package/resources/contracts/rate-cards/named-schedules.d.ts.map +0 -1
- package/resources/contracts/rate-cards/named-schedules.js +0 -27
- package/resources/contracts/rate-cards/named-schedules.js.map +0 -1
- package/resources/contracts/rate-cards/named-schedules.mjs +0 -23
- package/resources/contracts/rate-cards/named-schedules.mjs.map +0 -1
- package/resources/contracts/rate-cards/product-orders.d.ts.map +0 -1
- package/resources/contracts/rate-cards/product-orders.js +0 -21
- package/resources/contracts/rate-cards/product-orders.js.map +0 -1
- package/resources/contracts/rate-cards/product-orders.mjs +0 -17
- package/resources/contracts/rate-cards/product-orders.mjs.map +0 -1
- package/resources/contracts/rate-cards/rate-cards.d.ts.map +0 -1
- package/resources/contracts/rate-cards/rate-cards.js.map +0 -1
- package/resources/contracts/rate-cards/rate-cards.mjs +0 -69
- package/resources/contracts/rate-cards/rate-cards.mjs.map +0 -1
- package/resources/contracts/rate-cards/rates.d.ts.map +0 -1
- package/resources/contracts/rate-cards/rates.js +0 -38
- package/resources/contracts/rate-cards/rates.js.map +0 -1
- package/resources/contracts/rate-cards/rates.mjs +0 -33
- package/resources/contracts/rate-cards/rates.mjs.map +0 -1
- package/resources/credit-grants.d.ts.map +0 -1
- package/resources/credit-grants.js +0 -52
- package/resources/credit-grants.js.map +0 -1
- package/resources/credit-grants.mjs +0 -47
- package/resources/credit-grants.mjs.map +0 -1
- package/resources/custom-fields.d.ts.map +0 -1
- package/resources/custom-fields.js.map +0 -1
- package/resources/custom-fields.mjs.map +0 -1
- package/resources/customers/alerts.d.ts.map +0 -1
- package/resources/customers/alerts.js +0 -33
- package/resources/customers/alerts.js.map +0 -1
- package/resources/customers/alerts.mjs +0 -29
- package/resources/customers/alerts.mjs.map +0 -1
- package/resources/customers/billing-config.d.ts.map +0 -1
- package/resources/customers/billing-config.js +0 -38
- package/resources/customers/billing-config.js.map +0 -1
- package/resources/customers/billing-config.mjs +0 -34
- package/resources/customers/billing-config.mjs.map +0 -1
- package/resources/customers/commits.d.ts.map +0 -1
- package/resources/customers/commits.js +0 -27
- package/resources/customers/commits.js.map +0 -1
- package/resources/customers/commits.mjs +0 -23
- package/resources/customers/commits.mjs.map +0 -1
- package/resources/customers/credits.d.ts.map +0 -1
- package/resources/customers/credits.js +0 -27
- package/resources/customers/credits.js.map +0 -1
- package/resources/customers/credits.mjs +0 -23
- package/resources/customers/credits.mjs.map +0 -1
- package/resources/customers/customers.d.ts.map +0 -1
- package/resources/customers/customers.js.map +0 -1
- package/resources/customers/customers.mjs +0 -126
- package/resources/customers/customers.mjs.map +0 -1
- package/resources/customers/index.d.ts.map +0 -1
- package/resources/customers/index.js.map +0 -1
- package/resources/customers/index.mjs.map +0 -1
- package/resources/customers/invoices.d.ts.map +0 -1
- package/resources/customers/invoices.js +0 -51
- package/resources/customers/invoices.js.map +0 -1
- package/resources/customers/invoices.mjs +0 -45
- package/resources/customers/invoices.mjs.map +0 -1
- package/resources/customers/named-schedules.d.ts.map +0 -1
- package/resources/customers/named-schedules.js +0 -27
- package/resources/customers/named-schedules.js.map +0 -1
- package/resources/customers/named-schedules.mjs +0 -23
- package/resources/customers/named-schedules.mjs.map +0 -1
- package/resources/customers/plans.d.ts.map +0 -1
- package/resources/customers/plans.js +0 -53
- package/resources/customers/plans.js.map +0 -1
- package/resources/customers/plans.mjs +0 -47
- package/resources/customers/plans.mjs.map +0 -1
- package/resources/dashboards.d.ts.map +0 -1
- package/resources/dashboards.js +0 -17
- package/resources/dashboards.js.map +0 -1
- package/resources/dashboards.mjs +0 -13
- package/resources/dashboards.mjs.map +0 -1
- package/resources/invoices.d.ts.map +0 -1
- package/resources/invoices.js +0 -21
- package/resources/invoices.js.map +0 -1
- package/resources/invoices.mjs +0 -17
- package/resources/invoices.mjs.map +0 -1
- package/resources/plans.d.ts.map +0 -1
- package/resources/plans.js.map +0 -1
- package/resources/plans.mjs +0 -47
- package/resources/plans.mjs.map +0 -1
- package/resources/pricing-units.d.ts.map +0 -1
- package/resources/pricing-units.js.map +0 -1
- package/resources/pricing-units.mjs.map +0 -1
- package/resources/services.d.ts.map +0 -1
- package/resources/services.js.map +0 -1
- package/resources/services.mjs.map +0 -1
- package/resources/usage.d.ts +0 -166
- package/resources/usage.d.ts.map +0 -1
- package/resources/usage.js +0 -49
- package/resources/usage.js.map +0 -1
- package/resources/usage.mjs +0 -44
- package/resources/usage.mjs.map +0 -1
- package/src/resources/usage.ts +0 -239
- /package/resources/{contracts → v1/contracts}/index.js +0 -0
- /package/resources/{contracts → v1/contracts}/index.mjs +0 -0
- /package/resources/{contracts → v1/contracts}/rate-cards/index.js +0 -0
- /package/resources/{contracts → v1/contracts}/rate-cards/index.mjs +0 -0
- /package/resources/{customers → v1/customers}/index.js +0 -0
- /package/resources/{customers → v1/customers}/index.mjs +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { APIResource } from "
|
|
2
|
-
import * as Core from "
|
|
3
|
-
import * as Shared from "
|
|
1
|
+
import { APIResource } from "../../../resource.js";
|
|
2
|
+
import * as Core from "../../../core.js";
|
|
3
|
+
import * as Shared from "../../shared.js";
|
|
4
4
|
import * as AlertsAPI from "./alerts.js";
|
|
5
5
|
import { AlertListParams, AlertListResponse, AlertResetParams, AlertRetrieveParams, AlertRetrieveResponse, Alerts, CustomerAlert } from "./alerts.js";
|
|
6
6
|
import * as BillingConfigAPI from "./billing-config.js";
|
|
@@ -15,7 +15,7 @@ import * as NamedSchedulesAPI from "./named-schedules.js";
|
|
|
15
15
|
import { NamedScheduleRetrieveParams, NamedScheduleRetrieveResponse, NamedScheduleUpdateParams, NamedSchedules } from "./named-schedules.js";
|
|
16
16
|
import * as PlansAPI from "./plans.js";
|
|
17
17
|
import { PlanAddParams, PlanAddResponse, PlanEndParams, PlanEndResponse, PlanListParams, PlanListPriceAdjustmentsParams, PlanListPriceAdjustmentsResponse, PlanListPriceAdjustmentsResponsesCursorPage, PlanListResponse, PlanListResponsesCursorPage, Plans } from "./plans.js";
|
|
18
|
-
import { CursorPage, type CursorPageParams } from "
|
|
18
|
+
import { CursorPage, type CursorPageParams } from "../../../pagination.js";
|
|
19
19
|
export declare class Customers extends APIResource {
|
|
20
20
|
alerts: AlertsAPI.Alerts;
|
|
21
21
|
plans: PlansAPI.Plans;
|
|
@@ -26,43 +26,153 @@ export declare class Customers extends APIResource {
|
|
|
26
26
|
namedSchedules: NamedSchedulesAPI.NamedSchedules;
|
|
27
27
|
/**
|
|
28
28
|
* Create a new customer
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* ```ts
|
|
32
|
+
* const customer = await client.v1.customers.create({
|
|
33
|
+
* name: 'Example, Inc.',
|
|
34
|
+
* customer_billing_provider_configurations: [
|
|
35
|
+
* {
|
|
36
|
+
* billing_provider: 'stripe',
|
|
37
|
+
* delivery_method: 'direct_to_billing_provider',
|
|
38
|
+
* configuration: {
|
|
39
|
+
* stripe_customer_id: 'cus_123',
|
|
40
|
+
* stripe_collection_method: 'charge_automatically',
|
|
41
|
+
* },
|
|
42
|
+
* },
|
|
43
|
+
* ],
|
|
44
|
+
* ingest_aliases: ['team@example.com'],
|
|
45
|
+
* });
|
|
46
|
+
* ```
|
|
29
47
|
*/
|
|
30
48
|
create(body: CustomerCreateParams, options?: Core.RequestOptions): Core.APIPromise<CustomerCreateResponse>;
|
|
31
49
|
/**
|
|
32
50
|
* Get a customer by Metronome ID.
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* ```ts
|
|
54
|
+
* const customer = await client.v1.customers.retrieve({
|
|
55
|
+
* customer_id: 'd7abd0cd-4ae9-4db7-8676-e986a4ebd8dc',
|
|
56
|
+
* });
|
|
57
|
+
* ```
|
|
33
58
|
*/
|
|
34
59
|
retrieve(params: CustomerRetrieveParams, options?: Core.RequestOptions): Core.APIPromise<CustomerRetrieveResponse>;
|
|
35
60
|
/**
|
|
36
61
|
* List all customers.
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* ```ts
|
|
65
|
+
* // Automatically fetches more pages as needed.
|
|
66
|
+
* for await (const customerDetail of client.v1.customers.list()) {
|
|
67
|
+
* // ...
|
|
68
|
+
* }
|
|
69
|
+
* ```
|
|
37
70
|
*/
|
|
38
71
|
list(query?: CustomerListParams, options?: Core.RequestOptions): Core.PagePromise<CustomerDetailsCursorPage, CustomerDetail>;
|
|
39
72
|
list(options?: Core.RequestOptions): Core.PagePromise<CustomerDetailsCursorPage, CustomerDetail>;
|
|
40
73
|
/**
|
|
41
|
-
* Archive a customer
|
|
74
|
+
* Archive a customer Note: any alerts associated with the customer will not be
|
|
75
|
+
* triggered.
|
|
76
|
+
*
|
|
77
|
+
* @example
|
|
78
|
+
* ```ts
|
|
79
|
+
* const response = await client.v1.customers.archive({
|
|
80
|
+
* id: '8deed800-1b7a-495d-a207-6c52bac54dc9',
|
|
81
|
+
* });
|
|
82
|
+
* ```
|
|
42
83
|
*/
|
|
43
84
|
archive(body: CustomerArchiveParams, options?: Core.RequestOptions): Core.APIPromise<CustomerArchiveResponse>;
|
|
44
85
|
/**
|
|
45
86
|
* Get all billable metrics for a given customer.
|
|
87
|
+
*
|
|
88
|
+
* @example
|
|
89
|
+
* ```ts
|
|
90
|
+
* // Automatically fetches more pages as needed.
|
|
91
|
+
* for await (const customerListBillableMetricsResponse of client.v1.customers.listBillableMetrics(
|
|
92
|
+
* { customer_id: 'd7abd0cd-4ae9-4db7-8676-e986a4ebd8dc' },
|
|
93
|
+
* )) {
|
|
94
|
+
* // ...
|
|
95
|
+
* }
|
|
96
|
+
* ```
|
|
46
97
|
*/
|
|
47
98
|
listBillableMetrics(params: CustomerListBillableMetricsParams, options?: Core.RequestOptions): Core.PagePromise<CustomerListBillableMetricsResponsesCursorPage, CustomerListBillableMetricsResponse>;
|
|
48
99
|
/**
|
|
49
100
|
* Fetch daily pending costs for the specified customer, broken down by credit type
|
|
50
101
|
* and line items. Note: this is not supported for customers whose plan includes a
|
|
51
102
|
* UNIQUE-type billable metric.
|
|
103
|
+
*
|
|
104
|
+
* @example
|
|
105
|
+
* ```ts
|
|
106
|
+
* // Automatically fetches more pages as needed.
|
|
107
|
+
* for await (const customerListCostsResponse of client.v1.customers.listCosts(
|
|
108
|
+
* {
|
|
109
|
+
* customer_id: 'd7abd0cd-4ae9-4db7-8676-e986a4ebd8dc',
|
|
110
|
+
* ending_before: '2019-12-27T18:11:19.117Z',
|
|
111
|
+
* starting_on: '2019-12-27T18:11:19.117Z',
|
|
112
|
+
* },
|
|
113
|
+
* )) {
|
|
114
|
+
* // ...
|
|
115
|
+
* }
|
|
116
|
+
* ```
|
|
52
117
|
*/
|
|
53
118
|
listCosts(params: CustomerListCostsParams, options?: Core.RequestOptions): Core.PagePromise<CustomerListCostsResponsesCursorPage, CustomerListCostsResponse>;
|
|
119
|
+
/**
|
|
120
|
+
* Preview how a set of events will affect a customer's invoice. Generates a draft
|
|
121
|
+
* invoice for a customer using their current contract configuration and the
|
|
122
|
+
* provided events. This is useful for testing how new events will affect the
|
|
123
|
+
* customer's invoice before they are actually processed.
|
|
124
|
+
*
|
|
125
|
+
* @example
|
|
126
|
+
* ```ts
|
|
127
|
+
* const response = await client.v1.customers.previewEvents({
|
|
128
|
+
* customer_id: 'd7abd0cd-4ae9-4db7-8676-e986a4ebd8dc',
|
|
129
|
+
* events: [
|
|
130
|
+
* {
|
|
131
|
+
* event_type: 'heartbeat',
|
|
132
|
+
* timestamp: '2021-01-01T00:00:00Z',
|
|
133
|
+
* properties: { cpu_hours: 100, memory_gb_hours: 200 },
|
|
134
|
+
* },
|
|
135
|
+
* ],
|
|
136
|
+
* });
|
|
137
|
+
* ```
|
|
138
|
+
*/
|
|
139
|
+
previewEvents(params: CustomerPreviewEventsParams, options?: Core.RequestOptions): Core.APIPromise<CustomerPreviewEventsResponse>;
|
|
54
140
|
/**
|
|
55
141
|
* Sets the ingest aliases for a customer. Ingest aliases can be used in the
|
|
56
142
|
* `customer_id` field when sending usage events to Metronome. This call is
|
|
57
143
|
* idempotent. It fully replaces the set of ingest aliases for the given customer.
|
|
144
|
+
*
|
|
145
|
+
* @example
|
|
146
|
+
* ```ts
|
|
147
|
+
* await client.v1.customers.setIngestAliases({
|
|
148
|
+
* customer_id: 'd7abd0cd-4ae9-4db7-8676-e986a4ebd8dc',
|
|
149
|
+
* ingest_aliases: ['team@example.com'],
|
|
150
|
+
* });
|
|
151
|
+
* ```
|
|
58
152
|
*/
|
|
59
153
|
setIngestAliases(params: CustomerSetIngestAliasesParams, options?: Core.RequestOptions): Core.APIPromise<void>;
|
|
60
154
|
/**
|
|
61
155
|
* Updates the specified customer's name.
|
|
156
|
+
*
|
|
157
|
+
* @example
|
|
158
|
+
* ```ts
|
|
159
|
+
* const response = await client.v1.customers.setName({
|
|
160
|
+
* customer_id: 'd7abd0cd-4ae9-4db7-8676-e986a4ebd8dc',
|
|
161
|
+
* name: 'Example, Inc.',
|
|
162
|
+
* });
|
|
163
|
+
* ```
|
|
62
164
|
*/
|
|
63
165
|
setName(params: CustomerSetNameParams, options?: Core.RequestOptions): Core.APIPromise<CustomerSetNameResponse>;
|
|
64
166
|
/**
|
|
65
167
|
* Updates the specified customer's config.
|
|
168
|
+
*
|
|
169
|
+
* @example
|
|
170
|
+
* ```ts
|
|
171
|
+
* await client.v1.customers.updateConfig({
|
|
172
|
+
* customer_id: 'd7abd0cd-4ae9-4db7-8676-e986a4ebd8dc',
|
|
173
|
+
* salesforce_account_id: '0015500001WO1ZiABL',
|
|
174
|
+
* });
|
|
175
|
+
* ```
|
|
66
176
|
*/
|
|
67
177
|
updateConfig(params: CustomerUpdateConfigParams, options?: Core.RequestOptions): Core.APIPromise<void>;
|
|
68
178
|
}
|
|
@@ -88,14 +198,22 @@ export interface Customer {
|
|
|
88
198
|
*/
|
|
89
199
|
ingest_aliases: Array<string>;
|
|
90
200
|
name: string;
|
|
91
|
-
custom_fields?:
|
|
201
|
+
custom_fields?: {
|
|
202
|
+
[key: string]: string;
|
|
203
|
+
};
|
|
92
204
|
}
|
|
93
205
|
export interface CustomerDetail {
|
|
94
206
|
/**
|
|
95
207
|
* the Metronome ID of the customer
|
|
96
208
|
*/
|
|
97
209
|
id: string;
|
|
98
|
-
|
|
210
|
+
/**
|
|
211
|
+
* RFC 3339 timestamp indicating when the customer was created.
|
|
212
|
+
*/
|
|
213
|
+
created_at: string;
|
|
214
|
+
custom_fields: {
|
|
215
|
+
[key: string]: string;
|
|
216
|
+
};
|
|
99
217
|
customer_config: CustomerDetail.CustomerConfig;
|
|
100
218
|
/**
|
|
101
219
|
* (deprecated, use ingest_aliases instead) the first ID (Metronome or ingest
|
|
@@ -108,6 +226,11 @@ export interface CustomerDetail {
|
|
|
108
226
|
*/
|
|
109
227
|
ingest_aliases: Array<string>;
|
|
110
228
|
name: string;
|
|
229
|
+
/**
|
|
230
|
+
* RFC 3339 timestamp indicating when the customer was archived. Null if the
|
|
231
|
+
* customer is active.
|
|
232
|
+
*/
|
|
233
|
+
archived_at?: string | null;
|
|
111
234
|
/**
|
|
112
235
|
* This field's availability is dependent on your client's configuration.
|
|
113
236
|
*/
|
|
@@ -163,7 +286,9 @@ export interface CustomerListBillableMetricsResponse {
|
|
|
163
286
|
* provided, the billable metric is not archived.
|
|
164
287
|
*/
|
|
165
288
|
archived_at?: string;
|
|
166
|
-
custom_fields?:
|
|
289
|
+
custom_fields?: {
|
|
290
|
+
[key: string]: string;
|
|
291
|
+
};
|
|
167
292
|
/**
|
|
168
293
|
* An optional filtering rule to match the 'event_type' property of an event.
|
|
169
294
|
*/
|
|
@@ -171,7 +296,9 @@ export interface CustomerListBillableMetricsResponse {
|
|
|
171
296
|
/**
|
|
172
297
|
* (DEPRECATED) use property_filters & event_type_filter instead
|
|
173
298
|
*/
|
|
174
|
-
filter?:
|
|
299
|
+
filter?: {
|
|
300
|
+
[key: string]: unknown;
|
|
301
|
+
};
|
|
175
302
|
/**
|
|
176
303
|
* (DEPRECATED) use group_keys instead
|
|
177
304
|
*/
|
|
@@ -193,7 +320,9 @@ export interface CustomerListBillableMetricsResponse {
|
|
|
193
320
|
sql?: string;
|
|
194
321
|
}
|
|
195
322
|
export interface CustomerListCostsResponse {
|
|
196
|
-
credit_types:
|
|
323
|
+
credit_types: {
|
|
324
|
+
[key: string]: CustomerListCostsResponse.CreditTypes;
|
|
325
|
+
};
|
|
197
326
|
end_timestamp: string;
|
|
198
327
|
start_timestamp: string;
|
|
199
328
|
}
|
|
@@ -212,6 +341,9 @@ export declare namespace CustomerListCostsResponse {
|
|
|
212
341
|
}
|
|
213
342
|
}
|
|
214
343
|
}
|
|
344
|
+
export interface CustomerPreviewEventsResponse {
|
|
345
|
+
data: InvoicesAPI.Invoice;
|
|
346
|
+
}
|
|
215
347
|
export interface CustomerSetNameResponse {
|
|
216
348
|
data: Customer;
|
|
217
349
|
}
|
|
@@ -221,7 +353,9 @@ export interface CustomerCreateParams {
|
|
|
221
353
|
*/
|
|
222
354
|
name: string;
|
|
223
355
|
billing_config?: CustomerCreateParams.BillingConfig;
|
|
224
|
-
custom_fields?:
|
|
356
|
+
custom_fields?: {
|
|
357
|
+
[key: string]: string;
|
|
358
|
+
};
|
|
225
359
|
customer_billing_provider_configurations?: Array<CustomerCreateParams.CustomerBillingProviderConfiguration>;
|
|
226
360
|
/**
|
|
227
361
|
* (deprecated, use ingest_aliases instead) an alias that can be used to refer to
|
|
@@ -256,7 +390,9 @@ export declare namespace CustomerCreateParams {
|
|
|
256
390
|
* object, however, for most billing provider + delivery method combinations, it
|
|
257
391
|
* will not be a valid configuration.
|
|
258
392
|
*/
|
|
259
|
-
configuration?:
|
|
393
|
+
configuration?: {
|
|
394
|
+
[key: string]: unknown;
|
|
395
|
+
};
|
|
260
396
|
/**
|
|
261
397
|
* The method to use for delivering invoices to this customer. If not provided, the
|
|
262
398
|
* `delivery_method_id` must be provided.
|
|
@@ -282,7 +418,8 @@ export interface CustomerListParams extends CursorPageParams {
|
|
|
282
418
|
*/
|
|
283
419
|
ingest_alias?: string;
|
|
284
420
|
/**
|
|
285
|
-
* Filter the customer list
|
|
421
|
+
* Filter the customer list to only return archived customers. By default, only
|
|
422
|
+
* active customers are returned.
|
|
286
423
|
*/
|
|
287
424
|
only_archived?: boolean;
|
|
288
425
|
/**
|
|
@@ -323,6 +460,52 @@ export interface CustomerListCostsParams extends CursorPageParams {
|
|
|
323
460
|
*/
|
|
324
461
|
starting_on: string;
|
|
325
462
|
}
|
|
463
|
+
export interface CustomerPreviewEventsParams {
|
|
464
|
+
/**
|
|
465
|
+
* Path param:
|
|
466
|
+
*/
|
|
467
|
+
customer_id: string;
|
|
468
|
+
/**
|
|
469
|
+
* Body param:
|
|
470
|
+
*/
|
|
471
|
+
events: Array<CustomerPreviewEventsParams.Event>;
|
|
472
|
+
/**
|
|
473
|
+
* Body param: If set to "replace", the preview will be generated as if those were
|
|
474
|
+
* the only events for the specified customer. If set to "merge", the events will
|
|
475
|
+
* be merged with any existing events for the specified customer. Defaults to
|
|
476
|
+
* "replace".
|
|
477
|
+
*/
|
|
478
|
+
mode?: 'replace' | 'merge';
|
|
479
|
+
/**
|
|
480
|
+
* Body param: If set, all zero quantity line items will be filtered out of the
|
|
481
|
+
* response.
|
|
482
|
+
*/
|
|
483
|
+
skip_zero_qty_line_items?: boolean;
|
|
484
|
+
}
|
|
485
|
+
export declare namespace CustomerPreviewEventsParams {
|
|
486
|
+
interface Event {
|
|
487
|
+
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
|
+
properties?: {
|
|
495
|
+
[key: string]: unknown;
|
|
496
|
+
};
|
|
497
|
+
/**
|
|
498
|
+
* RFC 3339 formatted. If not provided, the current time will be used.
|
|
499
|
+
*/
|
|
500
|
+
timestamp?: string;
|
|
501
|
+
/**
|
|
502
|
+
* This has no effect for preview events, but may be set for consistency with Event
|
|
503
|
+
* objects. Duplicate transaction_ids are NOT filtered out, even within the same
|
|
504
|
+
* request.
|
|
505
|
+
*/
|
|
506
|
+
transaction_id?: string;
|
|
507
|
+
}
|
|
508
|
+
}
|
|
326
509
|
export interface CustomerSetIngestAliasesParams {
|
|
327
510
|
/**
|
|
328
511
|
* Path param:
|
|
@@ -360,7 +543,7 @@ export interface CustomerUpdateConfigParams {
|
|
|
360
543
|
salesforce_account_id?: string | null;
|
|
361
544
|
}
|
|
362
545
|
export declare namespace Customers {
|
|
363
|
-
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 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 CustomerSetIngestAliasesParams as CustomerSetIngestAliasesParams, type CustomerSetNameParams as CustomerSetNameParams, type CustomerUpdateConfigParams as CustomerUpdateConfigParams, };
|
|
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, };
|
|
364
547
|
export { Alerts as Alerts, type CustomerAlert as CustomerAlert, type AlertRetrieveResponse as AlertRetrieveResponse, type AlertListResponse as AlertListResponse, type AlertRetrieveParams as AlertRetrieveParams, type AlertListParams as AlertListParams, type AlertResetParams as AlertResetParams, };
|
|
365
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, };
|
|
366
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, };
|
|
@@ -0,0 +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,OAAO,KAAK,UAAU,MAAM,WAAW,CAAC;AACxC,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EACpB,gBAAgB,EAChB,kBAAkB,EAClB,yBAAyB,EACzB,2BAA2B,EAC3B,OAAO,EACR,MAAM,WAAW,CAAC;AACnB,OAAO,KAAK,UAAU,MAAM,WAAW,CAAC;AACxC,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EACpB,gBAAgB,EAChB,kBAAkB,EAClB,yBAAyB,EACzB,2BAA2B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yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;IAEF,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,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,OAAO,IAAI,OAAO,EAClB,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,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"}
|
|
@@ -25,8 +25,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
};
|
|
26
26
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
27
|
exports.CustomerListCostsResponsesCursorPage = exports.CustomerListBillableMetricsResponsesCursorPage = exports.CustomerDetailsCursorPage = exports.Customers = void 0;
|
|
28
|
-
const resource_1 = require("
|
|
29
|
-
const core_1 = require("
|
|
28
|
+
const resource_1 = require("../../../resource.js");
|
|
29
|
+
const core_1 = require("../../../core.js");
|
|
30
30
|
const AlertsAPI = __importStar(require("./alerts.js"));
|
|
31
31
|
const alerts_1 = require("./alerts.js");
|
|
32
32
|
const BillingConfigAPI = __importStar(require("./billing-config.js"));
|
|
@@ -41,7 +41,7 @@ const NamedSchedulesAPI = __importStar(require("./named-schedules.js"));
|
|
|
41
41
|
const named_schedules_1 = require("./named-schedules.js");
|
|
42
42
|
const PlansAPI = __importStar(require("./plans.js"));
|
|
43
43
|
const plans_1 = require("./plans.js");
|
|
44
|
-
const pagination_1 = require("
|
|
44
|
+
const pagination_1 = require("../../../pagination.js");
|
|
45
45
|
class Customers extends resource_1.APIResource {
|
|
46
46
|
constructor() {
|
|
47
47
|
super(...arguments);
|
|
@@ -55,56 +55,142 @@ class Customers extends resource_1.APIResource {
|
|
|
55
55
|
}
|
|
56
56
|
/**
|
|
57
57
|
* Create a new customer
|
|
58
|
+
*
|
|
59
|
+
* @example
|
|
60
|
+
* ```ts
|
|
61
|
+
* const customer = await client.v1.customers.create({
|
|
62
|
+
* name: 'Example, Inc.',
|
|
63
|
+
* customer_billing_provider_configurations: [
|
|
64
|
+
* {
|
|
65
|
+
* billing_provider: 'stripe',
|
|
66
|
+
* delivery_method: 'direct_to_billing_provider',
|
|
67
|
+
* configuration: {
|
|
68
|
+
* stripe_customer_id: 'cus_123',
|
|
69
|
+
* stripe_collection_method: 'charge_automatically',
|
|
70
|
+
* },
|
|
71
|
+
* },
|
|
72
|
+
* ],
|
|
73
|
+
* ingest_aliases: ['team@example.com'],
|
|
74
|
+
* });
|
|
75
|
+
* ```
|
|
58
76
|
*/
|
|
59
77
|
create(body, options) {
|
|
60
|
-
return this._client.post('/customers', { body, ...options });
|
|
78
|
+
return this._client.post('/v1/customers', { body, ...options });
|
|
61
79
|
}
|
|
62
80
|
/**
|
|
63
81
|
* Get a customer by Metronome ID.
|
|
82
|
+
*
|
|
83
|
+
* @example
|
|
84
|
+
* ```ts
|
|
85
|
+
* const customer = await client.v1.customers.retrieve({
|
|
86
|
+
* customer_id: 'd7abd0cd-4ae9-4db7-8676-e986a4ebd8dc',
|
|
87
|
+
* });
|
|
88
|
+
* ```
|
|
64
89
|
*/
|
|
65
90
|
retrieve(params, options) {
|
|
66
91
|
const { customer_id } = params;
|
|
67
|
-
return this._client.get(`/customers/${customer_id}`, options);
|
|
92
|
+
return this._client.get(`/v1/customers/${customer_id}`, options);
|
|
68
93
|
}
|
|
69
94
|
list(query = {}, options) {
|
|
70
95
|
if ((0, core_1.isRequestOptions)(query)) {
|
|
71
96
|
return this.list({}, query);
|
|
72
97
|
}
|
|
73
|
-
return this._client.getAPIList('/customers', CustomerDetailsCursorPage, { query, ...options });
|
|
98
|
+
return this._client.getAPIList('/v1/customers', CustomerDetailsCursorPage, { query, ...options });
|
|
74
99
|
}
|
|
75
100
|
/**
|
|
76
|
-
* Archive a customer
|
|
101
|
+
* Archive a customer Note: any alerts associated with the customer will not be
|
|
102
|
+
* triggered.
|
|
103
|
+
*
|
|
104
|
+
* @example
|
|
105
|
+
* ```ts
|
|
106
|
+
* const response = await client.v1.customers.archive({
|
|
107
|
+
* id: '8deed800-1b7a-495d-a207-6c52bac54dc9',
|
|
108
|
+
* });
|
|
109
|
+
* ```
|
|
77
110
|
*/
|
|
78
111
|
archive(body, options) {
|
|
79
|
-
return this._client.post('/customers/archive', { body, ...options });
|
|
112
|
+
return this._client.post('/v1/customers/archive', { body, ...options });
|
|
80
113
|
}
|
|
81
114
|
/**
|
|
82
115
|
* Get all billable metrics for a given customer.
|
|
116
|
+
*
|
|
117
|
+
* @example
|
|
118
|
+
* ```ts
|
|
119
|
+
* // Automatically fetches more pages as needed.
|
|
120
|
+
* for await (const customerListBillableMetricsResponse of client.v1.customers.listBillableMetrics(
|
|
121
|
+
* { customer_id: 'd7abd0cd-4ae9-4db7-8676-e986a4ebd8dc' },
|
|
122
|
+
* )) {
|
|
123
|
+
* // ...
|
|
124
|
+
* }
|
|
125
|
+
* ```
|
|
83
126
|
*/
|
|
84
127
|
listBillableMetrics(params, options) {
|
|
85
128
|
const { customer_id, ...query } = params;
|
|
86
|
-
return this._client.getAPIList(`/customers/${customer_id}/billable-metrics`, CustomerListBillableMetricsResponsesCursorPage, { query, ...options });
|
|
129
|
+
return this._client.getAPIList(`/v1/customers/${customer_id}/billable-metrics`, CustomerListBillableMetricsResponsesCursorPage, { query, ...options });
|
|
87
130
|
}
|
|
88
131
|
/**
|
|
89
132
|
* Fetch daily pending costs for the specified customer, broken down by credit type
|
|
90
133
|
* and line items. Note: this is not supported for customers whose plan includes a
|
|
91
134
|
* UNIQUE-type billable metric.
|
|
135
|
+
*
|
|
136
|
+
* @example
|
|
137
|
+
* ```ts
|
|
138
|
+
* // Automatically fetches more pages as needed.
|
|
139
|
+
* for await (const customerListCostsResponse of client.v1.customers.listCosts(
|
|
140
|
+
* {
|
|
141
|
+
* customer_id: 'd7abd0cd-4ae9-4db7-8676-e986a4ebd8dc',
|
|
142
|
+
* ending_before: '2019-12-27T18:11:19.117Z',
|
|
143
|
+
* starting_on: '2019-12-27T18:11:19.117Z',
|
|
144
|
+
* },
|
|
145
|
+
* )) {
|
|
146
|
+
* // ...
|
|
147
|
+
* }
|
|
148
|
+
* ```
|
|
92
149
|
*/
|
|
93
150
|
listCosts(params, options) {
|
|
94
151
|
const { customer_id, ...query } = params;
|
|
95
|
-
return this._client.getAPIList(`/customers/${customer_id}/costs`, CustomerListCostsResponsesCursorPage, {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
152
|
+
return this._client.getAPIList(`/v1/customers/${customer_id}/costs`, CustomerListCostsResponsesCursorPage, { query, ...options });
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* Preview how a set of events will affect a customer's invoice. Generates a draft
|
|
156
|
+
* invoice for a customer using their current contract configuration and the
|
|
157
|
+
* provided events. This is useful for testing how new events will affect the
|
|
158
|
+
* customer's invoice before they are actually processed.
|
|
159
|
+
*
|
|
160
|
+
* @example
|
|
161
|
+
* ```ts
|
|
162
|
+
* const response = await client.v1.customers.previewEvents({
|
|
163
|
+
* customer_id: 'd7abd0cd-4ae9-4db7-8676-e986a4ebd8dc',
|
|
164
|
+
* events: [
|
|
165
|
+
* {
|
|
166
|
+
* event_type: 'heartbeat',
|
|
167
|
+
* timestamp: '2021-01-01T00:00:00Z',
|
|
168
|
+
* properties: { cpu_hours: 100, memory_gb_hours: 200 },
|
|
169
|
+
* },
|
|
170
|
+
* ],
|
|
171
|
+
* });
|
|
172
|
+
* ```
|
|
173
|
+
*/
|
|
174
|
+
previewEvents(params, options) {
|
|
175
|
+
const { customer_id, ...body } = params;
|
|
176
|
+
return this._client.post(`/v1/customers/${customer_id}/previewEvents`, { body, ...options });
|
|
99
177
|
}
|
|
100
178
|
/**
|
|
101
179
|
* Sets the ingest aliases for a customer. Ingest aliases can be used in the
|
|
102
180
|
* `customer_id` field when sending usage events to Metronome. This call is
|
|
103
181
|
* idempotent. It fully replaces the set of ingest aliases for the given customer.
|
|
182
|
+
*
|
|
183
|
+
* @example
|
|
184
|
+
* ```ts
|
|
185
|
+
* await client.v1.customers.setIngestAliases({
|
|
186
|
+
* customer_id: 'd7abd0cd-4ae9-4db7-8676-e986a4ebd8dc',
|
|
187
|
+
* ingest_aliases: ['team@example.com'],
|
|
188
|
+
* });
|
|
189
|
+
* ```
|
|
104
190
|
*/
|
|
105
191
|
setIngestAliases(params, options) {
|
|
106
192
|
const { customer_id, ...body } = params;
|
|
107
|
-
return this._client.post(`/customers/${customer_id}/setIngestAliases`, {
|
|
193
|
+
return this._client.post(`/v1/customers/${customer_id}/setIngestAliases`, {
|
|
108
194
|
body,
|
|
109
195
|
...options,
|
|
110
196
|
headers: { Accept: '*/*', ...options?.headers },
|
|
@@ -112,17 +198,33 @@ class Customers extends resource_1.APIResource {
|
|
|
112
198
|
}
|
|
113
199
|
/**
|
|
114
200
|
* Updates the specified customer's name.
|
|
201
|
+
*
|
|
202
|
+
* @example
|
|
203
|
+
* ```ts
|
|
204
|
+
* const response = await client.v1.customers.setName({
|
|
205
|
+
* customer_id: 'd7abd0cd-4ae9-4db7-8676-e986a4ebd8dc',
|
|
206
|
+
* name: 'Example, Inc.',
|
|
207
|
+
* });
|
|
208
|
+
* ```
|
|
115
209
|
*/
|
|
116
210
|
setName(params, options) {
|
|
117
211
|
const { customer_id, ...body } = params;
|
|
118
|
-
return this._client.post(`/customers/${customer_id}/setName`, { body, ...options });
|
|
212
|
+
return this._client.post(`/v1/customers/${customer_id}/setName`, { body, ...options });
|
|
119
213
|
}
|
|
120
214
|
/**
|
|
121
215
|
* Updates the specified customer's config.
|
|
216
|
+
*
|
|
217
|
+
* @example
|
|
218
|
+
* ```ts
|
|
219
|
+
* await client.v1.customers.updateConfig({
|
|
220
|
+
* customer_id: 'd7abd0cd-4ae9-4db7-8676-e986a4ebd8dc',
|
|
221
|
+
* salesforce_account_id: '0015500001WO1ZiABL',
|
|
222
|
+
* });
|
|
223
|
+
* ```
|
|
122
224
|
*/
|
|
123
225
|
updateConfig(params, options) {
|
|
124
226
|
const { customer_id, ...body } = params;
|
|
125
|
-
return this._client.post(`/customers/${customer_id}/updateConfig`, {
|
|
227
|
+
return this._client.post(`/v1/customers/${customer_id}/updateConfig`, {
|
|
126
228
|
body,
|
|
127
229
|
...options,
|
|
128
230
|
headers: { Accept: '*/*', ...options?.headers },
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customers.js","sourceRoot":"","sources":["../../../src/resources/v1/customers/customers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtF,mDAAgD;AAChD,2CAAiD;AAGjD,uDAAsC;AACtC,wCAQkB;AAClB,sEAAqD;AACrD,wDAM0B;AAC1B,yDAAwC;AACxC,0CAQmB;AACnB,yDAAwC;AACxC,0CAQmB;AACnB,2DAA0C;AAC1C,4CAYoB;AACpB,wEAAuD;AACvD,0DAK2B;AAC3B,qDAAoC;AACpC,sCAYiB;AACjB,uDAAwE;AAExE,MAAa,SAAU,SAAQ,sBAAW;IAA1C;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC9D,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACzD,aAAQ,GA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