@metronome/sdk 3.0.0 → 3.4.1
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 +142 -0
- package/README.md +2 -2
- package/client.d.mts +5 -3
- package/client.d.mts.map +1 -1
- package/client.d.ts +5 -3
- package/client.d.ts.map +1 -1
- package/client.js +26 -10
- package/client.js.map +1 -1
- package/client.mjs +26 -10
- package/client.mjs.map +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.js +5 -0
- package/internal/parse.js.map +1 -1
- package/internal/parse.mjs +5 -0
- package/internal/parse.mjs.map +1 -1
- package/internal/tslib.js +17 -17
- package/internal/utils/query.d.mts +2 -0
- package/internal/utils/query.d.mts.map +1 -0
- package/internal/utils/query.d.ts +2 -0
- package/internal/utils/query.d.ts.map +1 -0
- package/internal/utils/query.js +10 -0
- package/internal/utils/query.js.map +1 -0
- package/internal/utils/query.mjs +6 -0
- package/internal/utils/query.mjs.map +1 -0
- package/internal/utils.d.mts +1 -0
- package/internal/utils.d.ts +1 -0
- package/internal/utils.js +1 -0
- package/internal/utils.js.map +1 -1
- package/internal/utils.mjs +1 -0
- package/package.json +12 -1
- package/resources/shared.d.mts +49 -24
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +49 -24
- package/resources/shared.d.ts.map +1 -1
- package/resources/v1/alerts.d.mts +3 -0
- package/resources/v1/alerts.d.mts.map +1 -1
- package/resources/v1/alerts.d.ts +3 -0
- package/resources/v1/alerts.d.ts.map +1 -1
- package/resources/v1/alerts.js +3 -0
- package/resources/v1/alerts.js.map +1 -1
- package/resources/v1/alerts.mjs +3 -0
- package/resources/v1/alerts.mjs.map +1 -1
- package/resources/v1/audit-logs.d.mts +3 -0
- package/resources/v1/audit-logs.d.mts.map +1 -1
- package/resources/v1/audit-logs.d.ts +3 -0
- package/resources/v1/audit-logs.d.ts.map +1 -1
- package/resources/v1/audit-logs.js +3 -0
- package/resources/v1/audit-logs.js.map +1 -1
- package/resources/v1/audit-logs.mjs +3 -0
- package/resources/v1/audit-logs.mjs.map +1 -1
- package/resources/v1/billable-metrics.d.mts +3 -0
- package/resources/v1/billable-metrics.d.mts.map +1 -1
- package/resources/v1/billable-metrics.d.ts +3 -0
- package/resources/v1/billable-metrics.d.ts.map +1 -1
- package/resources/v1/billable-metrics.js +3 -0
- package/resources/v1/billable-metrics.js.map +1 -1
- package/resources/v1/billable-metrics.mjs +3 -0
- package/resources/v1/billable-metrics.mjs.map +1 -1
- package/resources/v1/contracts/contracts.d.mts +134 -14
- package/resources/v1/contracts/contracts.d.mts.map +1 -1
- package/resources/v1/contracts/contracts.d.ts +134 -14
- package/resources/v1/contracts/contracts.d.ts.map +1 -1
- package/resources/v1/contracts/contracts.js +69 -0
- package/resources/v1/contracts/contracts.js.map +1 -1
- package/resources/v1/contracts/contracts.mjs +69 -0
- package/resources/v1/contracts/contracts.mjs.map +1 -1
- package/resources/v1/contracts/index.d.mts +1 -1
- package/resources/v1/contracts/index.d.mts.map +1 -1
- package/resources/v1/contracts/index.d.ts +1 -1
- package/resources/v1/contracts/index.d.ts.map +1 -1
- package/resources/v1/contracts/index.js.map +1 -1
- package/resources/v1/contracts/index.mjs.map +1 -1
- package/resources/v1/contracts/named-schedules.d.mts +3 -0
- package/resources/v1/contracts/named-schedules.d.mts.map +1 -1
- package/resources/v1/contracts/named-schedules.d.ts +3 -0
- package/resources/v1/contracts/named-schedules.d.ts.map +1 -1
- package/resources/v1/contracts/named-schedules.js +3 -0
- package/resources/v1/contracts/named-schedules.js.map +1 -1
- package/resources/v1/contracts/named-schedules.mjs +3 -0
- package/resources/v1/contracts/named-schedules.mjs.map +1 -1
- package/resources/v1/contracts/products.d.mts +3 -0
- package/resources/v1/contracts/products.d.mts.map +1 -1
- package/resources/v1/contracts/products.d.ts +3 -0
- package/resources/v1/contracts/products.d.ts.map +1 -1
- package/resources/v1/contracts/products.js +3 -0
- package/resources/v1/contracts/products.js.map +1 -1
- package/resources/v1/contracts/products.mjs +3 -0
- package/resources/v1/contracts/products.mjs.map +1 -1
- package/resources/v1/contracts/rate-cards/named-schedules.d.mts +3 -0
- package/resources/v1/contracts/rate-cards/named-schedules.d.mts.map +1 -1
- package/resources/v1/contracts/rate-cards/named-schedules.d.ts +3 -0
- package/resources/v1/contracts/rate-cards/named-schedules.d.ts.map +1 -1
- package/resources/v1/contracts/rate-cards/named-schedules.js +3 -0
- package/resources/v1/contracts/rate-cards/named-schedules.js.map +1 -1
- package/resources/v1/contracts/rate-cards/named-schedules.mjs +3 -0
- package/resources/v1/contracts/rate-cards/named-schedules.mjs.map +1 -1
- package/resources/v1/contracts/rate-cards/product-orders.d.mts +3 -0
- package/resources/v1/contracts/rate-cards/product-orders.d.mts.map +1 -1
- package/resources/v1/contracts/rate-cards/product-orders.d.ts +3 -0
- package/resources/v1/contracts/rate-cards/product-orders.d.ts.map +1 -1
- package/resources/v1/contracts/rate-cards/product-orders.js +3 -0
- package/resources/v1/contracts/rate-cards/product-orders.js.map +1 -1
- package/resources/v1/contracts/rate-cards/product-orders.mjs +3 -0
- package/resources/v1/contracts/rate-cards/product-orders.mjs.map +1 -1
- package/resources/v1/contracts/rate-cards/rate-cards.d.mts +3 -0
- package/resources/v1/contracts/rate-cards/rate-cards.d.mts.map +1 -1
- package/resources/v1/contracts/rate-cards/rate-cards.d.ts +3 -0
- package/resources/v1/contracts/rate-cards/rate-cards.d.ts.map +1 -1
- package/resources/v1/contracts/rate-cards/rate-cards.js +3 -0
- package/resources/v1/contracts/rate-cards/rate-cards.js.map +1 -1
- package/resources/v1/contracts/rate-cards/rate-cards.mjs +3 -0
- package/resources/v1/contracts/rate-cards/rate-cards.mjs.map +1 -1
- package/resources/v1/contracts/rate-cards/rates.d.mts +6 -3
- package/resources/v1/contracts/rate-cards/rates.d.mts.map +1 -1
- package/resources/v1/contracts/rate-cards/rates.d.ts +6 -3
- package/resources/v1/contracts/rate-cards/rates.d.ts.map +1 -1
- package/resources/v1/contracts/rate-cards/rates.js +3 -0
- package/resources/v1/contracts/rate-cards/rates.js.map +1 -1
- package/resources/v1/contracts/rate-cards/rates.mjs +3 -0
- package/resources/v1/contracts/rate-cards/rates.mjs.map +1 -1
- package/resources/v1/credit-grants.d.mts +3 -0
- package/resources/v1/credit-grants.d.mts.map +1 -1
- package/resources/v1/credit-grants.d.ts +3 -0
- package/resources/v1/credit-grants.d.ts.map +1 -1
- package/resources/v1/credit-grants.js +3 -0
- package/resources/v1/credit-grants.js.map +1 -1
- package/resources/v1/credit-grants.mjs +3 -0
- package/resources/v1/credit-grants.mjs.map +1 -1
- package/resources/v1/custom-fields.d.mts +3 -0
- package/resources/v1/custom-fields.d.mts.map +1 -1
- package/resources/v1/custom-fields.d.ts +3 -0
- package/resources/v1/custom-fields.d.ts.map +1 -1
- package/resources/v1/custom-fields.js +3 -0
- package/resources/v1/custom-fields.js.map +1 -1
- package/resources/v1/custom-fields.mjs +3 -0
- package/resources/v1/custom-fields.mjs.map +1 -1
- package/resources/v1/customers/alerts.d.mts +3 -0
- package/resources/v1/customers/alerts.d.mts.map +1 -1
- package/resources/v1/customers/alerts.d.ts +3 -0
- package/resources/v1/customers/alerts.d.ts.map +1 -1
- package/resources/v1/customers/alerts.js +3 -0
- package/resources/v1/customers/alerts.js.map +1 -1
- package/resources/v1/customers/alerts.mjs +3 -0
- package/resources/v1/customers/alerts.mjs.map +1 -1
- package/resources/v1/customers/billing-config.d.mts +3 -0
- package/resources/v1/customers/billing-config.d.mts.map +1 -1
- package/resources/v1/customers/billing-config.d.ts +3 -0
- package/resources/v1/customers/billing-config.d.ts.map +1 -1
- package/resources/v1/customers/billing-config.js +3 -0
- package/resources/v1/customers/billing-config.js.map +1 -1
- package/resources/v1/customers/billing-config.mjs +3 -0
- package/resources/v1/customers/billing-config.mjs.map +1 -1
- package/resources/v1/customers/commits.d.mts +3 -0
- package/resources/v1/customers/commits.d.mts.map +1 -1
- package/resources/v1/customers/commits.d.ts +3 -0
- package/resources/v1/customers/commits.d.ts.map +1 -1
- package/resources/v1/customers/commits.js +3 -0
- package/resources/v1/customers/commits.js.map +1 -1
- package/resources/v1/customers/commits.mjs +3 -0
- package/resources/v1/customers/commits.mjs.map +1 -1
- package/resources/v1/customers/credits.d.mts +3 -0
- package/resources/v1/customers/credits.d.mts.map +1 -1
- package/resources/v1/customers/credits.d.ts +3 -0
- package/resources/v1/customers/credits.d.ts.map +1 -1
- package/resources/v1/customers/credits.js +3 -0
- package/resources/v1/customers/credits.js.map +1 -1
- package/resources/v1/customers/credits.mjs +3 -0
- package/resources/v1/customers/credits.mjs.map +1 -1
- package/resources/v1/customers/customers.d.mts +77 -1
- package/resources/v1/customers/customers.d.mts.map +1 -1
- package/resources/v1/customers/customers.d.ts +77 -1
- package/resources/v1/customers/customers.d.ts.map +1 -1
- package/resources/v1/customers/customers.js +53 -0
- package/resources/v1/customers/customers.js.map +1 -1
- package/resources/v1/customers/customers.mjs +53 -0
- package/resources/v1/customers/customers.mjs.map +1 -1
- package/resources/v1/customers/index.d.mts +1 -1
- package/resources/v1/customers/index.d.mts.map +1 -1
- package/resources/v1/customers/index.d.ts +1 -1
- package/resources/v1/customers/index.d.ts.map +1 -1
- package/resources/v1/customers/index.js.map +1 -1
- package/resources/v1/customers/index.mjs.map +1 -1
- package/resources/v1/customers/invoices.d.mts +20 -12
- package/resources/v1/customers/invoices.d.mts.map +1 -1
- package/resources/v1/customers/invoices.d.ts +20 -12
- package/resources/v1/customers/invoices.d.ts.map +1 -1
- package/resources/v1/customers/invoices.js +3 -0
- package/resources/v1/customers/invoices.js.map +1 -1
- package/resources/v1/customers/invoices.mjs +3 -0
- package/resources/v1/customers/invoices.mjs.map +1 -1
- package/resources/v1/customers/named-schedules.d.mts +3 -0
- package/resources/v1/customers/named-schedules.d.mts.map +1 -1
- package/resources/v1/customers/named-schedules.d.ts +3 -0
- package/resources/v1/customers/named-schedules.d.ts.map +1 -1
- package/resources/v1/customers/named-schedules.js +3 -0
- package/resources/v1/customers/named-schedules.js.map +1 -1
- package/resources/v1/customers/named-schedules.mjs +3 -0
- package/resources/v1/customers/named-schedules.mjs.map +1 -1
- package/resources/v1/customers/plans.d.mts +3 -0
- package/resources/v1/customers/plans.d.mts.map +1 -1
- package/resources/v1/customers/plans.d.ts +3 -0
- package/resources/v1/customers/plans.d.ts.map +1 -1
- package/resources/v1/customers/plans.js +3 -0
- package/resources/v1/customers/plans.js.map +1 -1
- package/resources/v1/customers/plans.mjs +3 -0
- package/resources/v1/customers/plans.mjs.map +1 -1
- package/resources/v1/dashboards.d.mts +3 -0
- package/resources/v1/dashboards.d.mts.map +1 -1
- package/resources/v1/dashboards.d.ts +3 -0
- package/resources/v1/dashboards.d.ts.map +1 -1
- package/resources/v1/dashboards.js +3 -0
- package/resources/v1/dashboards.js.map +1 -1
- package/resources/v1/dashboards.mjs +3 -0
- package/resources/v1/dashboards.mjs.map +1 -1
- package/resources/v1/index.d.mts +3 -2
- package/resources/v1/index.d.mts.map +1 -1
- package/resources/v1/index.d.ts +3 -2
- package/resources/v1/index.d.ts.map +1 -1
- package/resources/v1/index.js +3 -1
- package/resources/v1/index.js.map +1 -1
- package/resources/v1/index.mjs +1 -0
- package/resources/v1/index.mjs.map +1 -1
- package/resources/v1/invoices.d.mts +3 -0
- package/resources/v1/invoices.d.mts.map +1 -1
- package/resources/v1/invoices.d.ts +3 -0
- package/resources/v1/invoices.d.ts.map +1 -1
- package/resources/v1/invoices.js +3 -0
- package/resources/v1/invoices.js.map +1 -1
- package/resources/v1/invoices.mjs +3 -0
- package/resources/v1/invoices.mjs.map +1 -1
- package/resources/v1/packages.d.mts +2352 -0
- package/resources/v1/packages.d.mts.map +1 -0
- package/resources/v1/packages.d.ts +2352 -0
- package/resources/v1/packages.d.ts.map +1 -0
- package/resources/v1/packages.js +160 -0
- package/resources/v1/packages.js.map +1 -0
- package/resources/v1/packages.mjs +156 -0
- package/resources/v1/packages.mjs.map +1 -0
- package/resources/v1/plans.d.mts +3 -0
- package/resources/v1/plans.d.mts.map +1 -1
- package/resources/v1/plans.d.ts +3 -0
- package/resources/v1/plans.d.ts.map +1 -1
- package/resources/v1/plans.js +3 -0
- package/resources/v1/plans.js.map +1 -1
- package/resources/v1/plans.mjs +3 -0
- package/resources/v1/plans.mjs.map +1 -1
- package/resources/v1/pricing-units.d.mts +3 -0
- package/resources/v1/pricing-units.d.mts.map +1 -1
- package/resources/v1/pricing-units.d.ts +3 -0
- package/resources/v1/pricing-units.d.ts.map +1 -1
- package/resources/v1/pricing-units.js +3 -0
- package/resources/v1/pricing-units.js.map +1 -1
- package/resources/v1/pricing-units.mjs +3 -0
- package/resources/v1/pricing-units.mjs.map +1 -1
- package/resources/v1/services.d.mts +3 -0
- package/resources/v1/services.d.mts.map +1 -1
- package/resources/v1/services.d.ts +3 -0
- package/resources/v1/services.d.ts.map +1 -1
- package/resources/v1/services.js +3 -0
- package/resources/v1/services.js.map +1 -1
- package/resources/v1/services.mjs +3 -0
- package/resources/v1/services.mjs.map +1 -1
- package/resources/v1/settings/billing-providers.d.mts +3 -0
- package/resources/v1/settings/billing-providers.d.mts.map +1 -1
- package/resources/v1/settings/billing-providers.d.ts +3 -0
- package/resources/v1/settings/billing-providers.d.ts.map +1 -1
- package/resources/v1/settings/billing-providers.js +3 -0
- package/resources/v1/settings/billing-providers.js.map +1 -1
- package/resources/v1/settings/billing-providers.mjs +3 -0
- package/resources/v1/settings/billing-providers.mjs.map +1 -1
- package/resources/v1/settings/settings.d.mts +3 -0
- package/resources/v1/settings/settings.d.mts.map +1 -1
- package/resources/v1/settings/settings.d.ts +3 -0
- package/resources/v1/settings/settings.d.ts.map +1 -1
- package/resources/v1/settings/settings.js +3 -0
- package/resources/v1/settings/settings.js.map +1 -1
- package/resources/v1/settings/settings.mjs +3 -0
- package/resources/v1/settings/settings.mjs.map +1 -1
- package/resources/v1/usage.d.mts +81 -12
- package/resources/v1/usage.d.mts.map +1 -1
- package/resources/v1/usage.d.ts +81 -12
- package/resources/v1/usage.d.ts.map +1 -1
- package/resources/v1/usage.js +37 -11
- package/resources/v1/usage.js.map +1 -1
- package/resources/v1/usage.mjs +37 -11
- package/resources/v1/usage.mjs.map +1 -1
- package/resources/v1/v1.d.mts +8 -4
- package/resources/v1/v1.d.mts.map +1 -1
- package/resources/v1/v1.d.ts +8 -4
- package/resources/v1/v1.d.ts.map +1 -1
- package/resources/v1/v1.js +4 -0
- package/resources/v1/v1.js.map +1 -1
- package/resources/v1/v1.mjs +4 -0
- package/resources/v1/v1.mjs.map +1 -1
- package/resources/v2/contracts.d.mts +45 -7
- package/resources/v2/contracts.d.mts.map +1 -1
- package/resources/v2/contracts.d.ts +45 -7
- package/resources/v2/contracts.d.ts.map +1 -1
- package/resources/v2/contracts.js +1 -4
- package/resources/v2/contracts.js.map +1 -1
- package/resources/v2/contracts.mjs +1 -4
- package/resources/v2/contracts.mjs.map +1 -1
- package/src/client.ts +37 -15
- package/src/internal/parse.ts +6 -0
- package/src/internal/utils/query.ts +7 -0
- package/src/internal/utils.ts +1 -0
- package/src/resources/shared.ts +51 -25
- package/src/resources/v1/alerts.ts +3 -0
- package/src/resources/v1/audit-logs.ts +3 -0
- package/src/resources/v1/billable-metrics.ts +3 -0
- package/src/resources/v1/contracts/contracts.ts +151 -13
- package/src/resources/v1/contracts/index.ts +2 -0
- package/src/resources/v1/contracts/named-schedules.ts +3 -0
- package/src/resources/v1/contracts/products.ts +3 -0
- package/src/resources/v1/contracts/rate-cards/named-schedules.ts +3 -0
- package/src/resources/v1/contracts/rate-cards/product-orders.ts +3 -0
- package/src/resources/v1/contracts/rate-cards/rate-cards.ts +3 -0
- package/src/resources/v1/contracts/rate-cards/rates.ts +6 -3
- package/src/resources/v1/credit-grants.ts +3 -0
- package/src/resources/v1/custom-fields.ts +3 -0
- package/src/resources/v1/customers/alerts.ts +3 -0
- package/src/resources/v1/customers/billing-config.ts +3 -0
- package/src/resources/v1/customers/commits.ts +3 -0
- package/src/resources/v1/customers/credits.ts +3 -0
- package/src/resources/v1/customers/customers.ts +89 -0
- package/src/resources/v1/customers/index.ts +2 -0
- package/src/resources/v1/customers/invoices.ts +21 -12
- package/src/resources/v1/customers/named-schedules.ts +3 -0
- package/src/resources/v1/customers/plans.ts +3 -0
- package/src/resources/v1/dashboards.ts +3 -0
- package/src/resources/v1/index.ts +19 -0
- package/src/resources/v1/invoices.ts +3 -0
- package/src/resources/v1/packages.ts +3057 -0
- package/src/resources/v1/plans.ts +3 -0
- package/src/resources/v1/pricing-units.ts +3 -0
- package/src/resources/v1/services.ts +3 -0
- package/src/resources/v1/settings/billing-providers.ts +3 -0
- package/src/resources/v1/settings/settings.ts +3 -0
- package/src/resources/v1/usage.ts +80 -12
- package/src/resources/v1/v1.ts +42 -0
- package/src/resources/v2/contracts.ts +55 -7
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/resources/v1/usage.js
CHANGED
|
@@ -5,6 +5,9 @@ exports.Usage = void 0;
|
|
|
5
5
|
const resource_1 = require("../../core/resource.js");
|
|
6
6
|
const pagination_1 = require("../../core/pagination.js");
|
|
7
7
|
const headers_1 = require("../../internal/headers.js");
|
|
8
|
+
/**
|
|
9
|
+
* [Usage events](https://docs.metronome.com/connecting-metronome/send-usage-data/) are the basis for billable metrics. Use these endpoints to send usage events to Metronome and retrieve aggregated event data.
|
|
10
|
+
*/
|
|
8
11
|
class Usage extends resource_1.APIResource {
|
|
9
12
|
/**
|
|
10
13
|
* Retrieve aggregated usage data across multiple customers and billable metrics in
|
|
@@ -176,13 +179,37 @@ class Usage extends resource_1.APIResource {
|
|
|
176
179
|
* - Build detailed usage dashboards with dimensional filtering
|
|
177
180
|
* - Identify high-usage segments for optimization opportunities
|
|
178
181
|
*
|
|
182
|
+
* ### Request parameters
|
|
183
|
+
*
|
|
184
|
+
* Use [`group_key`](#body-group-key) and [`group_filters`](#body-group-filters) to
|
|
185
|
+
* group by one or more dimensions. This is required for compound group keys and
|
|
186
|
+
* recommended for all new integrations:
|
|
187
|
+
*
|
|
188
|
+
* ```json
|
|
189
|
+
* {
|
|
190
|
+
* "group_key": ["region", "team"],
|
|
191
|
+
* "group_filters": {
|
|
192
|
+
* "region": ["US-East", "US-West"]
|
|
193
|
+
* }
|
|
194
|
+
* }
|
|
195
|
+
* ```
|
|
196
|
+
*
|
|
197
|
+
* Important: For compound group keys, you must pass the complete set of keys that
|
|
198
|
+
* make up the compound key. Partial key combinations are not supported. For
|
|
199
|
+
* example, if your billable metric has a compound group key [region, team,
|
|
200
|
+
* environment], you must pass all three keys in group_key—you cannot pass just
|
|
201
|
+
* `[region]` or `[region, team]`.
|
|
202
|
+
*
|
|
179
203
|
* ### Key response fields:
|
|
180
204
|
*
|
|
181
205
|
* An array of `PagedUsageAggregate` objects containing:
|
|
182
206
|
*
|
|
183
207
|
* - `starting_on` and `ending_before`: Time window boundaries
|
|
184
|
-
* - `
|
|
185
|
-
*
|
|
208
|
+
* - `group`: Object mapping group keys to their values
|
|
209
|
+
* - For simple groups, this will be a map with a single key-value pair (e.g.,
|
|
210
|
+
* `{"region": "US-East"}`)
|
|
211
|
+
* - For compound groups, this will be a map with multiple key-value pairs (e.g.,
|
|
212
|
+
* `{"region": "US-East", "team": "engineering"}`)
|
|
186
213
|
* - `value`: Aggregated usage for this group and time window
|
|
187
214
|
* - `next_page`: Pagination cursor for large datasets
|
|
188
215
|
*
|
|
@@ -192,12 +219,13 @@ class Usage extends resource_1.APIResource {
|
|
|
192
219
|
* `window_size`
|
|
193
220
|
* - Time windows: Set `window_size` to hour, day, or none for different
|
|
194
221
|
* granularities
|
|
195
|
-
* - Group filtering: Use `
|
|
196
|
-
*
|
|
197
|
-
*
|
|
198
|
-
*
|
|
222
|
+
* - Group filtering: Use `group_key` and `group_filters` to specify groups and
|
|
223
|
+
* group filters
|
|
224
|
+
* - Limits: When using compound group keys (2+ keys in `group_key`), the default
|
|
225
|
+
* and max limit is 100
|
|
199
226
|
* - Pagination: Use limit and `next_page` for large result sets
|
|
200
|
-
* - Null handling:
|
|
227
|
+
* - Null handling: Group values may be null for events missing the group key
|
|
228
|
+
* property
|
|
201
229
|
*
|
|
202
230
|
* @example
|
|
203
231
|
* ```ts
|
|
@@ -209,10 +237,8 @@ class Usage extends resource_1.APIResource {
|
|
|
209
237
|
* customer_id: '04ca7e72-4229-4a6e-ab11-9f7376fccbcb',
|
|
210
238
|
* window_size: 'day',
|
|
211
239
|
* ending_before: '2021-01-03T00:00:00Z',
|
|
212
|
-
*
|
|
213
|
-
*
|
|
214
|
-
* values: ['US-East', 'US-West', 'EU-Central'],
|
|
215
|
-
* },
|
|
240
|
+
* group_filters: { region: ['us-east1', 'us-west1'] },
|
|
241
|
+
* group_key: ['region'],
|
|
216
242
|
* starting_on: '2021-01-01T00:00:00Z',
|
|
217
243
|
* },
|
|
218
244
|
* )) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usage.js","sourceRoot":"","sources":["../../src/resources/v1/usage.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,yDAM+B;AAC/B,uDAAsD;AAGtD,MAAa,KAAM,SAAQ,sBAAW;IACpC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8CG;IACH,IAAI,CACF,MAAuB,EACvB,OAAwB;QAExB,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACtC,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,WAAW,EAAE,CAAA,mCAAyC,CAAA,EAAE;YACrF,KAAK,EAAE,EAAE,SAAS,EAAE;YACpB,IAAI;YACJ,MAAM,EAAE,MAAM;YACd,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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ACX,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA+EG;IACH,cAAc,CACZ,MAAiC,EACjC,OAAwB;QAExB,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAC7C,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,kBAAkB,EAAE,CAAA,uBAAuC,CAAA,EAAE;YAC1F,KAAK,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE;YAC3B,IAAI;YACJ,MAAM,EAAE,MAAM;YACd,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA0CG;IACH,MAAM,CAAC,IAAuB,EAAE,OAAwB;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtE,CAAC;CACF;AAjTD,sBAiTC"}
|
package/resources/v1/usage.mjs
CHANGED
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
import { APIResource } from "../../core/resource.mjs";
|
|
3
3
|
import { CursorPage, CursorPageWithoutLimit, } from "../../core/pagination.mjs";
|
|
4
4
|
import { buildHeaders } from "../../internal/headers.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* [Usage events](https://docs.metronome.com/connecting-metronome/send-usage-data/) are the basis for billable metrics. Use these endpoints to send usage events to Metronome and retrieve aggregated event data.
|
|
7
|
+
*/
|
|
5
8
|
export class Usage extends APIResource {
|
|
6
9
|
/**
|
|
7
10
|
* Retrieve aggregated usage data across multiple customers and billable metrics in
|
|
@@ -173,13 +176,37 @@ export class Usage extends APIResource {
|
|
|
173
176
|
* - Build detailed usage dashboards with dimensional filtering
|
|
174
177
|
* - Identify high-usage segments for optimization opportunities
|
|
175
178
|
*
|
|
179
|
+
* ### Request parameters
|
|
180
|
+
*
|
|
181
|
+
* Use [`group_key`](#body-group-key) and [`group_filters`](#body-group-filters) to
|
|
182
|
+
* group by one or more dimensions. This is required for compound group keys and
|
|
183
|
+
* recommended for all new integrations:
|
|
184
|
+
*
|
|
185
|
+
* ```json
|
|
186
|
+
* {
|
|
187
|
+
* "group_key": ["region", "team"],
|
|
188
|
+
* "group_filters": {
|
|
189
|
+
* "region": ["US-East", "US-West"]
|
|
190
|
+
* }
|
|
191
|
+
* }
|
|
192
|
+
* ```
|
|
193
|
+
*
|
|
194
|
+
* Important: For compound group keys, you must pass the complete set of keys that
|
|
195
|
+
* make up the compound key. Partial key combinations are not supported. For
|
|
196
|
+
* example, if your billable metric has a compound group key [region, team,
|
|
197
|
+
* environment], you must pass all three keys in group_key—you cannot pass just
|
|
198
|
+
* `[region]` or `[region, team]`.
|
|
199
|
+
*
|
|
176
200
|
* ### Key response fields:
|
|
177
201
|
*
|
|
178
202
|
* An array of `PagedUsageAggregate` objects containing:
|
|
179
203
|
*
|
|
180
204
|
* - `starting_on` and `ending_before`: Time window boundaries
|
|
181
|
-
* - `
|
|
182
|
-
*
|
|
205
|
+
* - `group`: Object mapping group keys to their values
|
|
206
|
+
* - For simple groups, this will be a map with a single key-value pair (e.g.,
|
|
207
|
+
* `{"region": "US-East"}`)
|
|
208
|
+
* - For compound groups, this will be a map with multiple key-value pairs (e.g.,
|
|
209
|
+
* `{"region": "US-East", "team": "engineering"}`)
|
|
183
210
|
* - `value`: Aggregated usage for this group and time window
|
|
184
211
|
* - `next_page`: Pagination cursor for large datasets
|
|
185
212
|
*
|
|
@@ -189,12 +216,13 @@ export class Usage extends APIResource {
|
|
|
189
216
|
* `window_size`
|
|
190
217
|
* - Time windows: Set `window_size` to hour, day, or none for different
|
|
191
218
|
* granularities
|
|
192
|
-
* - Group filtering: Use `
|
|
193
|
-
*
|
|
194
|
-
*
|
|
195
|
-
*
|
|
219
|
+
* - Group filtering: Use `group_key` and `group_filters` to specify groups and
|
|
220
|
+
* group filters
|
|
221
|
+
* - Limits: When using compound group keys (2+ keys in `group_key`), the default
|
|
222
|
+
* and max limit is 100
|
|
196
223
|
* - Pagination: Use limit and `next_page` for large result sets
|
|
197
|
-
* - Null handling:
|
|
224
|
+
* - Null handling: Group values may be null for events missing the group key
|
|
225
|
+
* property
|
|
198
226
|
*
|
|
199
227
|
* @example
|
|
200
228
|
* ```ts
|
|
@@ -206,10 +234,8 @@ export class Usage extends APIResource {
|
|
|
206
234
|
* customer_id: '04ca7e72-4229-4a6e-ab11-9f7376fccbcb',
|
|
207
235
|
* window_size: 'day',
|
|
208
236
|
* ending_before: '2021-01-03T00:00:00Z',
|
|
209
|
-
*
|
|
210
|
-
*
|
|
211
|
-
* values: ['US-East', 'US-West', 'EU-Central'],
|
|
212
|
-
* },
|
|
237
|
+
* group_filters: { region: ['us-east1', 'us-west1'] },
|
|
238
|
+
* group_key: ['region'],
|
|
213
239
|
* starting_on: '2021-01-01T00:00:00Z',
|
|
214
240
|
* },
|
|
215
241
|
* )) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usage.mjs","sourceRoot":"","sources":["../../src/resources/v1/usage.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EACL,UAAU,EAEV,sBAAsB,GAGvB;OACM,EAAE,YAAY,EAAE;AAGvB,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8CG;IACH,IAAI,CACF,MAAuB,EACvB,OAAwB;QAExB,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACtC,OAAO,I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s";
|
|
|
13
13
|
import { DashboardGetEmbeddableURLParams, DashboardGetEmbeddableURLResponse, Dashboards } from "./dashboards.mjs";
|
|
14
14
|
import * as InvoicesAPI from "./invoices.mjs";
|
|
15
15
|
import { InvoiceRegenerateParams, InvoiceRegenerateResponse, InvoiceVoidParams, InvoiceVoidResponse, Invoices } from "./invoices.mjs";
|
|
16
|
+
import * as PackagesAPI from "./packages.mjs";
|
|
17
|
+
import { PackageArchiveParams, PackageArchiveResponse, PackageCreateParams, PackageCreateResponse, PackageListContractsOnPackageParams, PackageListContractsOnPackageResponse, PackageListContractsOnPackageResponsesCursorPage, PackageListParams, PackageListResponse, PackageListResponsesCursorPage, PackageRetrieveParams, PackageRetrieveResponse, Packages } from "./packages.mjs";
|
|
16
18
|
import * as PaymentsAPI from "./payments.mjs";
|
|
17
19
|
import { Payment, PaymentAttemptParams, PaymentAttemptResponse, PaymentCancelParams, PaymentCancelResponse, PaymentListParams, PaymentStatus, Payments, PaymentsBodyCursorPage } from "./payments.mjs";
|
|
18
20
|
import * as PlansAPI from "./plans.mjs";
|
|
@@ -24,9 +26,9 @@ import { ServiceListResponse, Services } from "./services.mjs";
|
|
|
24
26
|
import * as UsageAPI from "./usage.mjs";
|
|
25
27
|
import { Usage, UsageIngestParams, UsageListParams, UsageListResponse, UsageListResponsesCursorPageWithoutLimit, UsageListWithGroupsParams, UsageListWithGroupsResponse, UsageListWithGroupsResponsesCursorPage, UsageSearchParams, UsageSearchResponse } from "./usage.mjs";
|
|
26
28
|
import * as ContractsAPI from "./contracts/contracts.mjs";
|
|
27
|
-
import { ContractAddManualBalanceEntryParams, ContractAmendParams, ContractAmendResponse, ContractArchiveParams, ContractArchiveResponse, ContractCreateHistoricalInvoicesParams, ContractCreateHistoricalInvoicesResponse, ContractCreateParams, ContractCreateResponse, ContractListBalancesParams, ContractListBalancesResponse, ContractListBalancesResponsesBodyCursorPage, ContractListParams, ContractListResponse, ContractRetrieveParams, ContractRetrieveRateScheduleParams, ContractRetrieveRateScheduleResponse, ContractRetrieveResponse, ContractRetrieveSubscriptionQuantityHistoryParams, ContractRetrieveSubscriptionQuantityHistoryResponse, ContractScheduleProServicesInvoiceParams, ContractScheduleProServicesInvoiceResponse, ContractSetUsageFilterParams, ContractUpdateEndDateParams, ContractUpdateEndDateResponse, Contracts } from "./contracts/contracts.mjs";
|
|
29
|
+
import { ContractAddManualBalanceEntryParams, ContractAmendParams, ContractAmendResponse, ContractArchiveParams, ContractArchiveResponse, ContractCreateHistoricalInvoicesParams, ContractCreateHistoricalInvoicesResponse, ContractCreateParams, ContractCreateResponse, ContractGetNetBalanceParams, ContractGetNetBalanceResponse, ContractListBalancesParams, ContractListBalancesResponse, ContractListBalancesResponsesBodyCursorPage, ContractListParams, ContractListResponse, ContractRetrieveParams, ContractRetrieveRateScheduleParams, ContractRetrieveRateScheduleResponse, ContractRetrieveResponse, ContractRetrieveSubscriptionQuantityHistoryParams, ContractRetrieveSubscriptionQuantityHistoryResponse, ContractScheduleProServicesInvoiceParams, ContractScheduleProServicesInvoiceResponse, ContractSetUsageFilterParams, ContractUpdateEndDateParams, ContractUpdateEndDateResponse, Contracts } from "./contracts/contracts.mjs";
|
|
28
30
|
import * as CustomersAPI from "./customers/customers.mjs";
|
|
29
|
-
import { Customer, CustomerArchiveParams, CustomerArchiveResponse, CustomerCreateParams, CustomerCreateResponse, CustomerDetail, CustomerDetailsCursorPage, CustomerListBillableMetricsParams, CustomerListBillableMetricsResponse, CustomerListBillableMetricsResponsesCursorPage, CustomerListCostsParams, CustomerListCostsResponse, CustomerListCostsResponsesCursorPage, CustomerListParams, CustomerPreviewEventsParams, CustomerPreviewEventsResponse, CustomerRetrieveBillingConfigurationsParams, CustomerRetrieveBillingConfigurationsResponse, CustomerRetrieveParams, CustomerRetrieveResponse, CustomerSetBillingConfigurationsParams, CustomerSetBillingConfigurationsResponse, CustomerSetIngestAliasesParams, CustomerSetNameParams, CustomerSetNameResponse, CustomerUpdateConfigParams, Customers } from "./customers/customers.mjs";
|
|
31
|
+
import { Customer, CustomerArchiveBillingConfigurationsParams, CustomerArchiveBillingConfigurationsResponse, CustomerArchiveParams, CustomerArchiveResponse, CustomerCreateParams, CustomerCreateResponse, CustomerDetail, CustomerDetailsCursorPage, CustomerListBillableMetricsParams, CustomerListBillableMetricsResponse, CustomerListBillableMetricsResponsesCursorPage, CustomerListCostsParams, CustomerListCostsResponse, CustomerListCostsResponsesCursorPage, CustomerListParams, CustomerPreviewEventsParams, CustomerPreviewEventsResponse, CustomerRetrieveBillingConfigurationsParams, CustomerRetrieveBillingConfigurationsResponse, CustomerRetrieveParams, CustomerRetrieveResponse, CustomerSetBillingConfigurationsParams, CustomerSetBillingConfigurationsResponse, CustomerSetIngestAliasesParams, CustomerSetNameParams, CustomerSetNameResponse, CustomerUpdateConfigParams, Customers } from "./customers/customers.mjs";
|
|
30
32
|
import * as SettingsAPI from "./settings/settings.mjs";
|
|
31
33
|
import { SettingUpsertAvalaraCredentialsParams, SettingUpsertAvalaraCredentialsResponse, Settings } from "./settings/settings.mjs";
|
|
32
34
|
export declare class V1 extends APIResource {
|
|
@@ -43,6 +45,7 @@ export declare class V1 extends APIResource {
|
|
|
43
45
|
services: ServicesAPI.Services;
|
|
44
46
|
invoices: InvoicesAPI.Invoices;
|
|
45
47
|
contracts: ContractsAPI.Contracts;
|
|
48
|
+
packages: PackagesAPI.Packages;
|
|
46
49
|
payments: PaymentsAPI.Payments;
|
|
47
50
|
settings: SettingsAPI.Settings;
|
|
48
51
|
}
|
|
@@ -51,7 +54,7 @@ export declare namespace V1 {
|
|
|
51
54
|
export { Plans as Plans, type PlanDetail as PlanDetail, type PlanListResponse as PlanListResponse, type PlanGetDetailsResponse as PlanGetDetailsResponse, type PlanListChargesResponse as PlanListChargesResponse, type PlanListCustomersResponse as PlanListCustomersResponse, type PlanListResponsesCursorPage as PlanListResponsesCursorPage, type PlanListChargesResponsesCursorPage as PlanListChargesResponsesCursorPage, type PlanListCustomersResponsesCursorPage as PlanListCustomersResponsesCursorPage, type PlanListParams as PlanListParams, type PlanGetDetailsParams as PlanGetDetailsParams, type PlanListChargesParams as PlanListChargesParams, type PlanListCustomersParams as PlanListCustomersParams, };
|
|
52
55
|
export { CreditGrants as CreditGrants, type CreditLedgerEntry as CreditLedgerEntry, type RolloverAmountMaxAmount as RolloverAmountMaxAmount, type RolloverAmountMaxPercentage as RolloverAmountMaxPercentage, type CreditGrantCreateResponse as CreditGrantCreateResponse, type CreditGrantListResponse as CreditGrantListResponse, type CreditGrantEditResponse as CreditGrantEditResponse, type CreditGrantListEntriesResponse as CreditGrantListEntriesResponse, type CreditGrantVoidResponse as CreditGrantVoidResponse, type CreditGrantListResponsesCursorPage as CreditGrantListResponsesCursorPage, type CreditGrantListEntriesResponsesCursorPageWithoutLimit as CreditGrantListEntriesResponsesCursorPageWithoutLimit, type CreditGrantCreateParams as CreditGrantCreateParams, type CreditGrantListParams as CreditGrantListParams, type CreditGrantEditParams as CreditGrantEditParams, type CreditGrantListEntriesParams as CreditGrantListEntriesParams, type CreditGrantVoidParams as CreditGrantVoidParams, };
|
|
53
56
|
export { PricingUnits as PricingUnits, type PricingUnitListResponse as PricingUnitListResponse, type PricingUnitListResponsesCursorPage as PricingUnitListResponsesCursorPage, type PricingUnitListParams as PricingUnitListParams, };
|
|
54
|
-
export { Customers as Customers, 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 CustomerSetBillingConfigurationsResponse as CustomerSetBillingConfigurationsResponse, 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, };
|
|
57
|
+
export { Customers as Customers, type Customer as Customer, type CustomerDetail as CustomerDetail, type CustomerCreateResponse as CustomerCreateResponse, type CustomerRetrieveResponse as CustomerRetrieveResponse, type CustomerArchiveResponse as CustomerArchiveResponse, type CustomerArchiveBillingConfigurationsResponse as CustomerArchiveBillingConfigurationsResponse, type CustomerListBillableMetricsResponse as CustomerListBillableMetricsResponse, type CustomerListCostsResponse as CustomerListCostsResponse, type CustomerPreviewEventsResponse as CustomerPreviewEventsResponse, type CustomerRetrieveBillingConfigurationsResponse as CustomerRetrieveBillingConfigurationsResponse, type CustomerSetBillingConfigurationsResponse as CustomerSetBillingConfigurationsResponse, 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 CustomerArchiveBillingConfigurationsParams as CustomerArchiveBillingConfigurationsParams, 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, };
|
|
55
58
|
export { Dashboards as Dashboards, type DashboardGetEmbeddableURLResponse as DashboardGetEmbeddableURLResponse, type DashboardGetEmbeddableURLParams as DashboardGetEmbeddableURLParams, };
|
|
56
59
|
export { Usage as Usage, type UsageListResponse as UsageListResponse, type UsageListWithGroupsResponse as UsageListWithGroupsResponse, type UsageSearchResponse as UsageSearchResponse, type UsageListResponsesCursorPageWithoutLimit as UsageListResponsesCursorPageWithoutLimit, type UsageListWithGroupsResponsesCursorPage as UsageListWithGroupsResponsesCursorPage, type UsageListParams as UsageListParams, type UsageIngestParams as UsageIngestParams, type UsageListWithGroupsParams as UsageListWithGroupsParams, type UsageSearchParams as UsageSearchParams, };
|
|
57
60
|
export { AuditLogs as AuditLogs, type AuditLogListResponse as AuditLogListResponse, type AuditLogListResponsesCursorPage as AuditLogListResponsesCursorPage, type AuditLogListParams as AuditLogListParams, };
|
|
@@ -59,7 +62,8 @@ export declare namespace V1 {
|
|
|
59
62
|
export { BillableMetrics as BillableMetrics, type BillableMetricCreateResponse as BillableMetricCreateResponse, type BillableMetricRetrieveResponse as BillableMetricRetrieveResponse, type BillableMetricListResponse as BillableMetricListResponse, type BillableMetricArchiveResponse as BillableMetricArchiveResponse, type BillableMetricListResponsesCursorPage as BillableMetricListResponsesCursorPage, type BillableMetricCreateParams as BillableMetricCreateParams, type BillableMetricRetrieveParams as BillableMetricRetrieveParams, type BillableMetricListParams as BillableMetricListParams, type BillableMetricArchiveParams as BillableMetricArchiveParams, };
|
|
60
63
|
export { Services as Services, type ServiceListResponse as ServiceListResponse };
|
|
61
64
|
export { Invoices as Invoices, type InvoiceRegenerateResponse as InvoiceRegenerateResponse, type InvoiceVoidResponse as InvoiceVoidResponse, type InvoiceRegenerateParams as InvoiceRegenerateParams, type InvoiceVoidParams as InvoiceVoidParams, };
|
|
62
|
-
export { Contracts as Contracts, type ContractCreateResponse as ContractCreateResponse, type ContractRetrieveResponse as ContractRetrieveResponse, type ContractListResponse as ContractListResponse, type ContractAmendResponse as ContractAmendResponse, type ContractArchiveResponse as ContractArchiveResponse, type ContractCreateHistoricalInvoicesResponse as ContractCreateHistoricalInvoicesResponse, type ContractListBalancesResponse as ContractListBalancesResponse, type ContractRetrieveRateScheduleResponse as ContractRetrieveRateScheduleResponse, type ContractRetrieveSubscriptionQuantityHistoryResponse as ContractRetrieveSubscriptionQuantityHistoryResponse, type ContractScheduleProServicesInvoiceResponse as ContractScheduleProServicesInvoiceResponse, type ContractUpdateEndDateResponse as ContractUpdateEndDateResponse, type ContractListBalancesResponsesBodyCursorPage as ContractListBalancesResponsesBodyCursorPage, type ContractCreateParams as ContractCreateParams, type ContractRetrieveParams as ContractRetrieveParams, type ContractListParams as ContractListParams, type ContractAddManualBalanceEntryParams as ContractAddManualBalanceEntryParams, type ContractAmendParams as ContractAmendParams, type ContractArchiveParams as ContractArchiveParams, type ContractCreateHistoricalInvoicesParams as ContractCreateHistoricalInvoicesParams, type ContractListBalancesParams as ContractListBalancesParams, type ContractRetrieveRateScheduleParams as ContractRetrieveRateScheduleParams, type ContractRetrieveSubscriptionQuantityHistoryParams as ContractRetrieveSubscriptionQuantityHistoryParams, type ContractScheduleProServicesInvoiceParams as ContractScheduleProServicesInvoiceParams, type ContractSetUsageFilterParams as ContractSetUsageFilterParams, type ContractUpdateEndDateParams as ContractUpdateEndDateParams, };
|
|
65
|
+
export { Contracts as Contracts, type ContractCreateResponse as ContractCreateResponse, type ContractRetrieveResponse as ContractRetrieveResponse, type ContractListResponse as ContractListResponse, type ContractAmendResponse as ContractAmendResponse, type ContractArchiveResponse as ContractArchiveResponse, type ContractCreateHistoricalInvoicesResponse as ContractCreateHistoricalInvoicesResponse, type ContractGetNetBalanceResponse as ContractGetNetBalanceResponse, type ContractListBalancesResponse as ContractListBalancesResponse, type ContractRetrieveRateScheduleResponse as ContractRetrieveRateScheduleResponse, type ContractRetrieveSubscriptionQuantityHistoryResponse as ContractRetrieveSubscriptionQuantityHistoryResponse, type ContractScheduleProServicesInvoiceResponse as ContractScheduleProServicesInvoiceResponse, type ContractUpdateEndDateResponse as ContractUpdateEndDateResponse, type ContractListBalancesResponsesBodyCursorPage as ContractListBalancesResponsesBodyCursorPage, type ContractCreateParams as ContractCreateParams, type ContractRetrieveParams as ContractRetrieveParams, type ContractListParams as ContractListParams, type ContractAddManualBalanceEntryParams as ContractAddManualBalanceEntryParams, type ContractAmendParams as ContractAmendParams, type ContractArchiveParams as ContractArchiveParams, type ContractCreateHistoricalInvoicesParams as ContractCreateHistoricalInvoicesParams, type ContractGetNetBalanceParams as ContractGetNetBalanceParams, type ContractListBalancesParams as ContractListBalancesParams, type ContractRetrieveRateScheduleParams as ContractRetrieveRateScheduleParams, type ContractRetrieveSubscriptionQuantityHistoryParams as ContractRetrieveSubscriptionQuantityHistoryParams, type ContractScheduleProServicesInvoiceParams as ContractScheduleProServicesInvoiceParams, type ContractSetUsageFilterParams as ContractSetUsageFilterParams, type ContractUpdateEndDateParams as ContractUpdateEndDateParams, };
|
|
66
|
+
export { Packages as Packages, type PackageCreateResponse as PackageCreateResponse, type PackageRetrieveResponse as PackageRetrieveResponse, type PackageListResponse as PackageListResponse, type PackageArchiveResponse as PackageArchiveResponse, type PackageListContractsOnPackageResponse as PackageListContractsOnPackageResponse, type PackageListResponsesCursorPage as PackageListResponsesCursorPage, type PackageListContractsOnPackageResponsesCursorPage as PackageListContractsOnPackageResponsesCursorPage, type PackageCreateParams as PackageCreateParams, type PackageRetrieveParams as PackageRetrieveParams, type PackageListParams as PackageListParams, type PackageArchiveParams as PackageArchiveParams, type PackageListContractsOnPackageParams as PackageListContractsOnPackageParams, };
|
|
63
67
|
export { Payments as Payments, type Payment as Payment, type PaymentStatus as PaymentStatus, type PaymentAttemptResponse as PaymentAttemptResponse, type PaymentCancelResponse as PaymentCancelResponse, type PaymentsBodyCursorPage as PaymentsBodyCursorPage, type PaymentListParams as PaymentListParams, type PaymentAttemptParams as PaymentAttemptParams, type PaymentCancelParams as PaymentCancelParams, };
|
|
64
68
|
export { Settings as Settings, type SettingUpsertAvalaraCredentialsResponse as SettingUpsertAvalaraCredentialsResponse, type SettingUpsertAvalaraCredentialsParams as SettingUpsertAvalaraCredentialsParams, };
|
|
65
69
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1.d.mts","sourceRoot":"","sources":["../../src/resources/v1/v1.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EACL,kBAAkB,EAClB,oBAAoB,EACpB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,EACP;OACM,KAAK,YAAY;OACjB,EACL,kBAAkB,EAClB,oBAAoB,EACpB,+BAA+B,EAC/B,SAAS,EACV;OACM,KAAK,kBAAkB;OACvB,EACL,2BAA2B,EAC3B,6BAA6B,EAC7B,0BAA0B,EAC1B,4BAA4B,EAC5B,wBAAwB,EACxB,0BAA0B,EAC1B,qCAAqC,EACrC,4BAA4B,EAC5B,8BAA8B,EAC9B,eAAe,EAChB;OACM,KAAK,eAAe;OACpB,EACL,uBAAuB,EACvB,yBAAyB,EACzB,qBAAqB,EACrB,uBAAuB,EACvB,4BAA4B,EAC5B,8BAA8B,EAC9B,qDAAqD,EACrD,qBAAqB,EACrB,uBAAuB,EACvB,kCAAkC,EAClC,qBAAqB,EACrB,uBAAuB,EACvB,YAAY,EACZ,iBAAiB,EACjB,uBAAuB,EACvB,2BAA2B,EAC5B;OACM,KAAK,eAAe;OACpB,EACL,uBAAuB,EACvB,6BAA6B,EAC7B,yBAAyB,EACzB,2BAA2B,EAC3B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AAC,QAAQ,CAA0C;CACzE;
|
|
1
|
+
{"version":3,"file":"v1.d.mts","sourceRoot":"","sources":["../../src/resources/v1/v1.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EACL,kBAAkB,EAClB,oBAAoB,EACpB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,EACP;OACM,KAAK,YAAY;OACjB,EACL,kBAAkB,EAClB,oBAAoB,EACpB,+BAA+B,EAC/B,SAAS,EACV;OACM,KAAK,kBAAkB;OACvB,EACL,2BAA2B,EAC3B,6BAA6B,EAC7B,0BAA0B,EAC1B,4BAA4B,EAC5B,wBAAwB,EACxB,0BAA0B,EAC1B,qCAAqC,EACrC,4BAA4B,EAC5B,8BAA8B,EAC9B,eAAe,EAChB;OACM,KAAK,eAAe;OACpB,EACL,uBAAuB,EACvB,yBAAyB,EACzB,qBAAqB,EACrB,uBAAuB,EACvB,4BAA4B,EAC5B,8BAA8B,EAC9B,qDAAqD,EACrD,qBAAqB,EACrB,uBAAuB,EACvB,kCAAkC,EAClC,qBAAqB,EACrB,uBAAuB,EACvB,YAAY,EACZ,iBAAiB,EACjB,uBAAuB,EACvB,2BAA2B,EAC5B;OACM,KAAK,eAAe;OACpB,EACL,uBAAuB,EACvB,6BAA6B,EAC7B,yBAAyB,EACzB,2BAA2B,EAC3B,kDAAkD,EAClD,0BAA0B,EAC1B,0BAA0B,EAC1B,YAAY,EACb;OACM,KAAK,aAAa;OAClB,EAAE,+BAA+B,EAAE,iCAAiC,EAAE,UAAU,EAAE;OAClF,KAAK,WAAW;OAChB,EACL,uBAAuB,EACvB,yBAAyB,EACzB,iBAAiB,EACjB,mBAAmB,EACnB,QAAQ,EACT;OACM,KAAK,WAAW;OAChB,EACL,oBAAoB,EACpB,sBAAsB,EACtB,mBAAmB,EACnB,qBAAqB,EACrB,mCAAmC,EACnC,qCAAqC,EACrC,gDAAgD,EAChD,iBAAiB,EACjB,mBAAmB,EACnB,8BAA8B,E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AA4B,EACjE,KAAK,2BAA2B,IAAI,2BAA2B,GAChE,CAAC;IAEF,OAAO,EACL,QAAQ,IAAI,QAAQ,EACpB,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,qCAAqC,IAAI,qCAAqC,EACnF,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,gDAAgD,IAAI,gDAAgD,EACzG,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,mCAAmC,IAAI,mCAAmC,GAChF,CAAC;IAEF,OAAO,EACL,QAAQ,IAAI,QAAQ,EACpB,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;IAEF,OAAO,EACL,QAAQ,IAAI,QAAQ,EACpB,KAAK,uCAAuC,IAAI,uCAAuC,EACvF,KAAK,qCAAqC,IAAI,qCAAqC,GACpF,CAAC;CACH"}
|
package/resources/v1/v1.d.ts
CHANGED
|
@@ -13,6 +13,8 @@ import * as DashboardsAPI from "./dashboards.js";
|
|
|
13
13
|
import { DashboardGetEmbeddableURLParams, DashboardGetEmbeddableURLResponse, Dashboards } from "./dashboards.js";
|
|
14
14
|
import * as InvoicesAPI from "./invoices.js";
|
|
15
15
|
import { InvoiceRegenerateParams, InvoiceRegenerateResponse, InvoiceVoidParams, InvoiceVoidResponse, Invoices } from "./invoices.js";
|
|
16
|
+
import * as PackagesAPI from "./packages.js";
|
|
17
|
+
import { PackageArchiveParams, PackageArchiveResponse, PackageCreateParams, PackageCreateResponse, PackageListContractsOnPackageParams, PackageListContractsOnPackageResponse, PackageListContractsOnPackageResponsesCursorPage, PackageListParams, PackageListResponse, PackageListResponsesCursorPage, PackageRetrieveParams, PackageRetrieveResponse, Packages } from "./packages.js";
|
|
16
18
|
import * as PaymentsAPI from "./payments.js";
|
|
17
19
|
import { Payment, PaymentAttemptParams, PaymentAttemptResponse, PaymentCancelParams, PaymentCancelResponse, PaymentListParams, PaymentStatus, Payments, PaymentsBodyCursorPage } from "./payments.js";
|
|
18
20
|
import * as PlansAPI from "./plans.js";
|
|
@@ -24,9 +26,9 @@ import { ServiceListResponse, Services } from "./services.js";
|
|
|
24
26
|
import * as UsageAPI from "./usage.js";
|
|
25
27
|
import { Usage, UsageIngestParams, UsageListParams, UsageListResponse, UsageListResponsesCursorPageWithoutLimit, UsageListWithGroupsParams, UsageListWithGroupsResponse, UsageListWithGroupsResponsesCursorPage, UsageSearchParams, UsageSearchResponse } from "./usage.js";
|
|
26
28
|
import * as ContractsAPI from "./contracts/contracts.js";
|
|
27
|
-
import { ContractAddManualBalanceEntryParams, ContractAmendParams, ContractAmendResponse, ContractArchiveParams, ContractArchiveResponse, ContractCreateHistoricalInvoicesParams, ContractCreateHistoricalInvoicesResponse, ContractCreateParams, ContractCreateResponse, ContractListBalancesParams, ContractListBalancesResponse, ContractListBalancesResponsesBodyCursorPage, ContractListParams, ContractListResponse, ContractRetrieveParams, ContractRetrieveRateScheduleParams, ContractRetrieveRateScheduleResponse, ContractRetrieveResponse, ContractRetrieveSubscriptionQuantityHistoryParams, ContractRetrieveSubscriptionQuantityHistoryResponse, ContractScheduleProServicesInvoiceParams, ContractScheduleProServicesInvoiceResponse, ContractSetUsageFilterParams, ContractUpdateEndDateParams, ContractUpdateEndDateResponse, Contracts } from "./contracts/contracts.js";
|
|
29
|
+
import { ContractAddManualBalanceEntryParams, ContractAmendParams, ContractAmendResponse, ContractArchiveParams, ContractArchiveResponse, ContractCreateHistoricalInvoicesParams, ContractCreateHistoricalInvoicesResponse, ContractCreateParams, ContractCreateResponse, ContractGetNetBalanceParams, ContractGetNetBalanceResponse, ContractListBalancesParams, ContractListBalancesResponse, ContractListBalancesResponsesBodyCursorPage, ContractListParams, ContractListResponse, ContractRetrieveParams, ContractRetrieveRateScheduleParams, ContractRetrieveRateScheduleResponse, ContractRetrieveResponse, ContractRetrieveSubscriptionQuantityHistoryParams, ContractRetrieveSubscriptionQuantityHistoryResponse, ContractScheduleProServicesInvoiceParams, ContractScheduleProServicesInvoiceResponse, ContractSetUsageFilterParams, ContractUpdateEndDateParams, ContractUpdateEndDateResponse, Contracts } from "./contracts/contracts.js";
|
|
28
30
|
import * as CustomersAPI from "./customers/customers.js";
|
|
29
|
-
import { Customer, CustomerArchiveParams, CustomerArchiveResponse, CustomerCreateParams, CustomerCreateResponse, CustomerDetail, CustomerDetailsCursorPage, CustomerListBillableMetricsParams, CustomerListBillableMetricsResponse, CustomerListBillableMetricsResponsesCursorPage, CustomerListCostsParams, CustomerListCostsResponse, CustomerListCostsResponsesCursorPage, CustomerListParams, CustomerPreviewEventsParams, CustomerPreviewEventsResponse, CustomerRetrieveBillingConfigurationsParams, CustomerRetrieveBillingConfigurationsResponse, CustomerRetrieveParams, CustomerRetrieveResponse, CustomerSetBillingConfigurationsParams, CustomerSetBillingConfigurationsResponse, CustomerSetIngestAliasesParams, CustomerSetNameParams, CustomerSetNameResponse, CustomerUpdateConfigParams, Customers } from "./customers/customers.js";
|
|
31
|
+
import { Customer, CustomerArchiveBillingConfigurationsParams, CustomerArchiveBillingConfigurationsResponse, CustomerArchiveParams, CustomerArchiveResponse, CustomerCreateParams, CustomerCreateResponse, CustomerDetail, CustomerDetailsCursorPage, CustomerListBillableMetricsParams, CustomerListBillableMetricsResponse, CustomerListBillableMetricsResponsesCursorPage, CustomerListCostsParams, CustomerListCostsResponse, CustomerListCostsResponsesCursorPage, CustomerListParams, CustomerPreviewEventsParams, CustomerPreviewEventsResponse, CustomerRetrieveBillingConfigurationsParams, CustomerRetrieveBillingConfigurationsResponse, CustomerRetrieveParams, CustomerRetrieveResponse, CustomerSetBillingConfigurationsParams, CustomerSetBillingConfigurationsResponse, CustomerSetIngestAliasesParams, CustomerSetNameParams, CustomerSetNameResponse, CustomerUpdateConfigParams, Customers } from "./customers/customers.js";
|
|
30
32
|
import * as SettingsAPI from "./settings/settings.js";
|
|
31
33
|
import { SettingUpsertAvalaraCredentialsParams, SettingUpsertAvalaraCredentialsResponse, Settings } from "./settings/settings.js";
|
|
32
34
|
export declare class V1 extends APIResource {
|
|
@@ -43,6 +45,7 @@ export declare class V1 extends APIResource {
|
|
|
43
45
|
services: ServicesAPI.Services;
|
|
44
46
|
invoices: InvoicesAPI.Invoices;
|
|
45
47
|
contracts: ContractsAPI.Contracts;
|
|
48
|
+
packages: PackagesAPI.Packages;
|
|
46
49
|
payments: PaymentsAPI.Payments;
|
|
47
50
|
settings: SettingsAPI.Settings;
|
|
48
51
|
}
|
|
@@ -51,7 +54,7 @@ export declare namespace V1 {
|
|
|
51
54
|
export { Plans as Plans, type PlanDetail as PlanDetail, type PlanListResponse as PlanListResponse, type PlanGetDetailsResponse as PlanGetDetailsResponse, type PlanListChargesResponse as PlanListChargesResponse, type PlanListCustomersResponse as PlanListCustomersResponse, type PlanListResponsesCursorPage as PlanListResponsesCursorPage, type PlanListChargesResponsesCursorPage as PlanListChargesResponsesCursorPage, type PlanListCustomersResponsesCursorPage as PlanListCustomersResponsesCursorPage, type PlanListParams as PlanListParams, type PlanGetDetailsParams as PlanGetDetailsParams, type PlanListChargesParams as PlanListChargesParams, type PlanListCustomersParams as PlanListCustomersParams, };
|
|
52
55
|
export { CreditGrants as CreditGrants, type CreditLedgerEntry as CreditLedgerEntry, type RolloverAmountMaxAmount as RolloverAmountMaxAmount, type RolloverAmountMaxPercentage as RolloverAmountMaxPercentage, type CreditGrantCreateResponse as CreditGrantCreateResponse, type CreditGrantListResponse as CreditGrantListResponse, type CreditGrantEditResponse as CreditGrantEditResponse, type CreditGrantListEntriesResponse as CreditGrantListEntriesResponse, type CreditGrantVoidResponse as CreditGrantVoidResponse, type CreditGrantListResponsesCursorPage as CreditGrantListResponsesCursorPage, type CreditGrantListEntriesResponsesCursorPageWithoutLimit as CreditGrantListEntriesResponsesCursorPageWithoutLimit, type CreditGrantCreateParams as CreditGrantCreateParams, type CreditGrantListParams as CreditGrantListParams, type CreditGrantEditParams as CreditGrantEditParams, type CreditGrantListEntriesParams as CreditGrantListEntriesParams, type CreditGrantVoidParams as CreditGrantVoidParams, };
|
|
53
56
|
export { PricingUnits as PricingUnits, type PricingUnitListResponse as PricingUnitListResponse, type PricingUnitListResponsesCursorPage as PricingUnitListResponsesCursorPage, type PricingUnitListParams as PricingUnitListParams, };
|
|
54
|
-
export { Customers as Customers, 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 CustomerSetBillingConfigurationsResponse as CustomerSetBillingConfigurationsResponse, 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, };
|
|
57
|
+
export { Customers as Customers, type Customer as Customer, type CustomerDetail as CustomerDetail, type CustomerCreateResponse as CustomerCreateResponse, type CustomerRetrieveResponse as CustomerRetrieveResponse, type CustomerArchiveResponse as CustomerArchiveResponse, type CustomerArchiveBillingConfigurationsResponse as CustomerArchiveBillingConfigurationsResponse, type CustomerListBillableMetricsResponse as CustomerListBillableMetricsResponse, type CustomerListCostsResponse as CustomerListCostsResponse, type CustomerPreviewEventsResponse as CustomerPreviewEventsResponse, type CustomerRetrieveBillingConfigurationsResponse as CustomerRetrieveBillingConfigurationsResponse, type CustomerSetBillingConfigurationsResponse as CustomerSetBillingConfigurationsResponse, 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 CustomerArchiveBillingConfigurationsParams as CustomerArchiveBillingConfigurationsParams, 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, };
|
|
55
58
|
export { Dashboards as Dashboards, type DashboardGetEmbeddableURLResponse as DashboardGetEmbeddableURLResponse, type DashboardGetEmbeddableURLParams as DashboardGetEmbeddableURLParams, };
|
|
56
59
|
export { Usage as Usage, type UsageListResponse as UsageListResponse, type UsageListWithGroupsResponse as UsageListWithGroupsResponse, type UsageSearchResponse as UsageSearchResponse, type UsageListResponsesCursorPageWithoutLimit as UsageListResponsesCursorPageWithoutLimit, type UsageListWithGroupsResponsesCursorPage as UsageListWithGroupsResponsesCursorPage, type UsageListParams as UsageListParams, type UsageIngestParams as UsageIngestParams, type UsageListWithGroupsParams as UsageListWithGroupsParams, type UsageSearchParams as UsageSearchParams, };
|
|
57
60
|
export { AuditLogs as AuditLogs, type AuditLogListResponse as AuditLogListResponse, type AuditLogListResponsesCursorPage as AuditLogListResponsesCursorPage, type AuditLogListParams as AuditLogListParams, };
|
|
@@ -59,7 +62,8 @@ export declare namespace V1 {
|
|
|
59
62
|
export { BillableMetrics as BillableMetrics, type BillableMetricCreateResponse as BillableMetricCreateResponse, type BillableMetricRetrieveResponse as BillableMetricRetrieveResponse, type BillableMetricListResponse as BillableMetricListResponse, type BillableMetricArchiveResponse as BillableMetricArchiveResponse, type BillableMetricListResponsesCursorPage as BillableMetricListResponsesCursorPage, type BillableMetricCreateParams as BillableMetricCreateParams, type BillableMetricRetrieveParams as BillableMetricRetrieveParams, type BillableMetricListParams as BillableMetricListParams, type BillableMetricArchiveParams as BillableMetricArchiveParams, };
|
|
60
63
|
export { Services as Services, type ServiceListResponse as ServiceListResponse };
|
|
61
64
|
export { Invoices as Invoices, type InvoiceRegenerateResponse as InvoiceRegenerateResponse, type InvoiceVoidResponse as InvoiceVoidResponse, type InvoiceRegenerateParams as InvoiceRegenerateParams, type InvoiceVoidParams as InvoiceVoidParams, };
|
|
62
|
-
export { Contracts as Contracts, type ContractCreateResponse as ContractCreateResponse, type ContractRetrieveResponse as ContractRetrieveResponse, type ContractListResponse as ContractListResponse, type ContractAmendResponse as ContractAmendResponse, type ContractArchiveResponse as ContractArchiveResponse, type ContractCreateHistoricalInvoicesResponse as ContractCreateHistoricalInvoicesResponse, type ContractListBalancesResponse as ContractListBalancesResponse, type ContractRetrieveRateScheduleResponse as ContractRetrieveRateScheduleResponse, type ContractRetrieveSubscriptionQuantityHistoryResponse as ContractRetrieveSubscriptionQuantityHistoryResponse, type ContractScheduleProServicesInvoiceResponse as ContractScheduleProServicesInvoiceResponse, type ContractUpdateEndDateResponse as ContractUpdateEndDateResponse, type ContractListBalancesResponsesBodyCursorPage as ContractListBalancesResponsesBodyCursorPage, type ContractCreateParams as ContractCreateParams, type ContractRetrieveParams as ContractRetrieveParams, type ContractListParams as ContractListParams, type ContractAddManualBalanceEntryParams as ContractAddManualBalanceEntryParams, type ContractAmendParams as ContractAmendParams, type ContractArchiveParams as ContractArchiveParams, type ContractCreateHistoricalInvoicesParams as ContractCreateHistoricalInvoicesParams, type ContractListBalancesParams as ContractListBalancesParams, type ContractRetrieveRateScheduleParams as ContractRetrieveRateScheduleParams, type ContractRetrieveSubscriptionQuantityHistoryParams as ContractRetrieveSubscriptionQuantityHistoryParams, type ContractScheduleProServicesInvoiceParams as ContractScheduleProServicesInvoiceParams, type ContractSetUsageFilterParams as ContractSetUsageFilterParams, type ContractUpdateEndDateParams as ContractUpdateEndDateParams, };
|
|
65
|
+
export { Contracts as Contracts, type ContractCreateResponse as ContractCreateResponse, type ContractRetrieveResponse as ContractRetrieveResponse, type ContractListResponse as ContractListResponse, type ContractAmendResponse as ContractAmendResponse, type ContractArchiveResponse as ContractArchiveResponse, type ContractCreateHistoricalInvoicesResponse as ContractCreateHistoricalInvoicesResponse, type ContractGetNetBalanceResponse as ContractGetNetBalanceResponse, type ContractListBalancesResponse as ContractListBalancesResponse, type ContractRetrieveRateScheduleResponse as ContractRetrieveRateScheduleResponse, type ContractRetrieveSubscriptionQuantityHistoryResponse as ContractRetrieveSubscriptionQuantityHistoryResponse, type ContractScheduleProServicesInvoiceResponse as ContractScheduleProServicesInvoiceResponse, type ContractUpdateEndDateResponse as ContractUpdateEndDateResponse, type ContractListBalancesResponsesBodyCursorPage as ContractListBalancesResponsesBodyCursorPage, type ContractCreateParams as ContractCreateParams, type ContractRetrieveParams as ContractRetrieveParams, type ContractListParams as ContractListParams, type ContractAddManualBalanceEntryParams as ContractAddManualBalanceEntryParams, type ContractAmendParams as ContractAmendParams, type ContractArchiveParams as ContractArchiveParams, type ContractCreateHistoricalInvoicesParams as ContractCreateHistoricalInvoicesParams, type ContractGetNetBalanceParams as ContractGetNetBalanceParams, type ContractListBalancesParams as ContractListBalancesParams, type ContractRetrieveRateScheduleParams as ContractRetrieveRateScheduleParams, type ContractRetrieveSubscriptionQuantityHistoryParams as ContractRetrieveSubscriptionQuantityHistoryParams, type ContractScheduleProServicesInvoiceParams as ContractScheduleProServicesInvoiceParams, type ContractSetUsageFilterParams as ContractSetUsageFilterParams, type ContractUpdateEndDateParams as ContractUpdateEndDateParams, };
|
|
66
|
+
export { Packages as Packages, type PackageCreateResponse as PackageCreateResponse, type PackageRetrieveResponse as PackageRetrieveResponse, type PackageListResponse as PackageListResponse, type PackageArchiveResponse as PackageArchiveResponse, type PackageListContractsOnPackageResponse as PackageListContractsOnPackageResponse, type PackageListResponsesCursorPage as PackageListResponsesCursorPage, type PackageListContractsOnPackageResponsesCursorPage as PackageListContractsOnPackageResponsesCursorPage, type PackageCreateParams as PackageCreateParams, type PackageRetrieveParams as PackageRetrieveParams, type PackageListParams as PackageListParams, type PackageArchiveParams as PackageArchiveParams, type PackageListContractsOnPackageParams as PackageListContractsOnPackageParams, };
|
|
63
67
|
export { Payments as Payments, type Payment as Payment, type PaymentStatus as PaymentStatus, type PaymentAttemptResponse as PaymentAttemptResponse, type PaymentCancelResponse as PaymentCancelResponse, type PaymentsBodyCursorPage as PaymentsBodyCursorPage, type PaymentListParams as PaymentListParams, type PaymentAttemptParams as PaymentAttemptParams, type PaymentCancelParams as PaymentCancelParams, };
|
|
64
68
|
export { Settings as Settings, type SettingUpsertAvalaraCredentialsResponse as SettingUpsertAvalaraCredentialsResponse, type SettingUpsertAvalaraCredentialsParams as SettingUpsertAvalaraCredentialsParams, };
|
|
65
69
|
}
|
package/resources/v1/v1.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1.d.ts","sourceRoot":"","sources":["../../src/resources/v1/v1.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EACL,kBAAkB,EAClB,oBAAoB,EACpB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,EACP;OACM,KAAK,YAAY;OACjB,EACL,kBAAkB,EAClB,oBAAoB,EACpB,+BAA+B,EAC/B,SAAS,EACV;OACM,KAAK,kBAAkB;OACvB,EACL,2BAA2B,EAC3B,6BAA6B,EAC7B,0BAA0B,EAC1B,4BAA4B,EAC5B,wBAAwB,EACxB,0BAA0B,EAC1B,qCAAqC,EACrC,4BAA4B,EAC5B,8BAA8B,EAC9B,eAAe,EAChB;OACM,KAAK,eAAe;OACpB,EACL,uBAAuB,EACvB,yBAAyB,EACzB,qBAAqB,EACrB,uBAAuB,EACvB,4BAA4B,EAC5B,8BAA8B,EAC9B,qDAAqD,EACrD,qBAAqB,EACrB,uBAAuB,EACvB,kCAAkC,EAClC,qBAAqB,EACrB,uBAAuB,EACvB,YAAY,EACZ,iBAAiB,EACjB,uBAAuB,EACvB,2BAA2B,EAC5B;OACM,KAAK,eAAe;OACpB,EACL,uBAAuB,EACvB,6BAA6B,EAC7B,yBAAyB,EACzB,2BAA2B,EAC3B,kDAAkD,EAClD,0BAA0B,EAC1B,0BAA0B,EAC1B,YAAY,EACb;OACM,KAAK,aAAa;OAClB,EAAE,+BAA+B,EAAE,iCAAiC,EAAE,UAAU,EAAE;OAClF,KAAK,WAAW;OAChB,EACL,uBAAuB,EACvB,yBAAyB,EACzB,iBAAiB,EACjB,mBAA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AK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,qCAAqC,IAAI,qCAAqC,EACnF,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,gDAAgD,IAAI,gDAAgD,EACzG,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,mCAAmC,IAAI,mCAAmC,GAChF,CAAC;IAEF,OAAO,EACL,QAAQ,IAAI,QAAQ,EACpB,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;IAEF,OAAO,EACL,QAAQ,IAAI,QAAQ,EACpB,KAAK,uCAAuC,IAAI,uCAAuC,EACvF,KAAK,qCAAqC,IAAI,qCAAqC,GACpF,CAAC;CACH"}
|
package/resources/v1/v1.js
CHANGED
|
@@ -18,6 +18,8 @@ const DashboardsAPI = tslib_1.__importStar(require("./dashboards.js"));
|
|
|
18
18
|
const dashboards_1 = require("./dashboards.js");
|
|
19
19
|
const InvoicesAPI = tslib_1.__importStar(require("./invoices.js"));
|
|
20
20
|
const invoices_1 = require("./invoices.js");
|
|
21
|
+
const PackagesAPI = tslib_1.__importStar(require("./packages.js"));
|
|
22
|
+
const packages_1 = require("./packages.js");
|
|
21
23
|
const PaymentsAPI = tslib_1.__importStar(require("./payments.js"));
|
|
22
24
|
const payments_1 = require("./payments.js");
|
|
23
25
|
const PlansAPI = tslib_1.__importStar(require("./plans.js"));
|
|
@@ -50,6 +52,7 @@ class V1 extends resource_1.APIResource {
|
|
|
50
52
|
this.services = new ServicesAPI.Services(this._client);
|
|
51
53
|
this.invoices = new InvoicesAPI.Invoices(this._client);
|
|
52
54
|
this.contracts = new ContractsAPI.Contracts(this._client);
|
|
55
|
+
this.packages = new PackagesAPI.Packages(this._client);
|
|
53
56
|
this.payments = new PaymentsAPI.Payments(this._client);
|
|
54
57
|
this.settings = new SettingsAPI.Settings(this._client);
|
|
55
58
|
}
|
|
@@ -68,6 +71,7 @@ V1.BillableMetrics = billable_metrics_1.BillableMetrics;
|
|
|
68
71
|
V1.Services = services_1.Services;
|
|
69
72
|
V1.Invoices = invoices_1.Invoices;
|
|
70
73
|
V1.Contracts = contracts_1.Contracts;
|
|
74
|
+
V1.Packages = packages_1.Packages;
|
|
71
75
|
V1.Payments = payments_1.Payments;
|
|
72
76
|
V1.Settings = settings_1.Settings;
|
|
73
77
|
//# sourceMappingURL=v1.js.map
|
package/resources/v1/v1.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1.js","sourceRoot":"","sources":["../../src/resources/v1/v1.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,+DAAsC;AACtC,wCAMkB;AAClB,sEAA6C;AAC7C,gDAKsB;AACtB,kFAAyD;AACzD,4DAW4B;AAC5B,4EAAmD;AACnD,sDAiByB;AACzB,4EAAmD;AACnD,sDASyB;AACzB,uEAA8C;AAC9C,gDAA8G;AAC9G,mEAA0C;AAC1C,4CAMoB;AACpB,mEAA0C;AAC1C,4CAUoB;AACpB,6DAAoC;AACpC,sCAciB;AACjB,4EAAmD;AACnD,sDAKyB;AACzB,mEAA0C;AAC1C,4CAA2D;AAC3D,6DAAoC;AACpC,sCAWiB;AACjB,+EAAsD;AACtD,
|
|
1
|
+
{"version":3,"file":"v1.js","sourceRoot":"","sources":["../../src/resources/v1/v1.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,+DAAsC;AACtC,wCAMkB;AAClB,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BAAQ,CAAC;AACvB,EAAE,CAAC,QAAQ,GAAG,mBAAQ,CAAC"}
|
package/resources/v1/v1.mjs
CHANGED
|
@@ -14,6 +14,8 @@ import * as DashboardsAPI from "./dashboards.mjs";
|
|
|
14
14
|
import { Dashboards } from "./dashboards.mjs";
|
|
15
15
|
import * as InvoicesAPI from "./invoices.mjs";
|
|
16
16
|
import { Invoices, } from "./invoices.mjs";
|
|
17
|
+
import * as PackagesAPI from "./packages.mjs";
|
|
18
|
+
import { Packages, } from "./packages.mjs";
|
|
17
19
|
import * as PaymentsAPI from "./payments.mjs";
|
|
18
20
|
import { Payments, } from "./payments.mjs";
|
|
19
21
|
import * as PlansAPI from "./plans.mjs";
|
|
@@ -46,6 +48,7 @@ export class V1 extends APIResource {
|
|
|
46
48
|
this.services = new ServicesAPI.Services(this._client);
|
|
47
49
|
this.invoices = new InvoicesAPI.Invoices(this._client);
|
|
48
50
|
this.contracts = new ContractsAPI.Contracts(this._client);
|
|
51
|
+
this.packages = new PackagesAPI.Packages(this._client);
|
|
49
52
|
this.payments = new PaymentsAPI.Payments(this._client);
|
|
50
53
|
this.settings = new SettingsAPI.Settings(this._client);
|
|
51
54
|
}
|
|
@@ -63,6 +66,7 @@ V1.BillableMetrics = BillableMetrics;
|
|
|
63
66
|
V1.Services = Services;
|
|
64
67
|
V1.Invoices = Invoices;
|
|
65
68
|
V1.Contracts = Contracts;
|
|
69
|
+
V1.Packages = Packages;
|
|
66
70
|
V1.Payments = Payments;
|
|
67
71
|
V1.Settings = Settings;
|
|
68
72
|
//# sourceMappingURL=v1.mjs.map
|
package/resources/v1/v1.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1.mjs","sourceRoot":"","sources":["../../src/resources/v1/v1.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAKL,MAAM,GACP;OACM,KAAK,YAAY;OACjB,EAIL,SAAS,GACV;OACM,KAAK,kBAAkB;OACvB,EAUL,eAAe,GAChB;OACM,KAAK,eAAe;OACpB,EAaL,YAAY,GAIb;OACM,KAAK,eAAe;OACpB,EAQL,YAAY,GACb;OACM,KAAK,aAAa;OAClB,EAAsE,UAAU,EAAE;OAClF,KAAK,WAAW;OAChB,EAKL,QAAQ,GACT;OACM,KAAK,WAAW;OAChB,EAQL,QAAQ,GAET;OACM,KAAK,QAAQ;OACb,EAaL,KAAK,GACN;OACM,KAAK,eAAe;OACpB,EAIL,YAAY,GACb;OACM,KAAK,WAAW;OAChB,EAAuB,QAAQ,EAAE;OACjC,KAAK,QAAQ;OACb,EACL,KAAK,GAUN;OACM,KAAK,YAAY;OACjB,
|
|
1
|
+
{"version":3,"file":"v1.mjs","sourceRoot":"","sources":["../../src/resources/v1/v1.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAKL,MAAM,GACP;OACM,KAAK,YAAY;OACjB,EAIL,SAAS,GACV;OACM,KAAK,kBAAkB;OACvB,EAUL,eAAe,GAChB;OACM,KAAK,eAAe;OACpB,EAaL,YAAY,GAIb;OACM,KAAK,eAAe;OACpB,EAQL,YAAY,GACb;OACM,KAAK,aAAa;OAClB,EAAsE,UAAU,EAAE;OAClF,KAAK,WAAW;OAChB,EAKL,QAAQ,GACT;OACM,KAAK,WAAW;OAChB,EAaL,QAAQ,GACT;OACM,KAAK,WAAW;OAChB,EAQL,QAAQ,GAET;OACM,KAAK,QAAQ;OACb,EAaL,KAAK,GACN;OACM,KAAK,eAAe;OACpB,EAIL,YAAY,GACb;OACM,KAAK,WAAW;OAChB,EAAuB,QAAQ,EAAE;OACjC,KAAK,QAAQ;OACb,EACL,KAAK,GAUN;OACM,KAAK,YAAY;OACjB,EA4BL,SAAS,GACV;OACM,KAAK,YAAY;OACjB,EA6BL,SAAS,GACV;OACM,KAAK,WAAW;OAChB,EAGL,QAAQ,GACT;AAED,MAAM,OAAO,EAA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AAC,CAAC;QACxE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC1E,CAAC;CAAA;AAED,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC;AACnB,EAAE,CAAC,KAAK,GAAG,KAAK,CAAC;AACjB,EAAE,CAAC,YAAY,GAAG,YAAY,CAAC;AAC/B,EAAE,CAAC,YAAY,GAAG,YAAY,CAAC;AAC/B,EAAE,CAAC,SAAS,GAAG,SAAS,CAAC;AACzB,EAAE,CAAC,UAAU,GAAG,UAAU,CAAC;AAC3B,EAAE,CAAC,KAAK,GAAG,KAAK,CAAC;AACjB,EAAE,CAAC,SAAS,GAAG,SAAS,CAAC;AACzB,EAAE,CAAC,YAAY,GAAG,YAAY,CAAC;AAC/B,EAAE,CAAC,eAAe,GAAG,eAAe,CAAC;AACrC,EAAE,CAAC,QAAQ,GAAG,QAAQ,CAAC;AACvB,EAAE,CAAC,QAAQ,GAAG,QAAQ,CAAC;AACvB,EAAE,CAAC,SAAS,GAAG,SAAS,CAAC;AACzB,EAAE,CAAC,QAAQ,GAAG,QAAQ,CAAC;AACvB,EAAE,CAAC,QAAQ,GAAG,QAAQ,CAAC;AACvB,EAAE,CAAC,QAAQ,GAAG,QAAQ,CAAC"}
|
|
@@ -67,10 +67,7 @@ export declare class Contracts extends APIResource {
|
|
|
67
67
|
*
|
|
68
68
|
* ### Key response fields:
|
|
69
69
|
*
|
|
70
|
-
* - The `id` of the
|
|
71
|
-
* - Complete edit details. For example, if you edited the contract to add new
|
|
72
|
-
* overrides and credits, you will receive the IDs of those overrides and credits
|
|
73
|
-
* in the response.
|
|
70
|
+
* - The `id` of the contract that was edited
|
|
74
71
|
*
|
|
75
72
|
* ### Usage guidelines:
|
|
76
73
|
*
|
|
@@ -428,7 +425,7 @@ export declare namespace ContractGetEditHistoryResponse {
|
|
|
428
425
|
recurring_credit_ids?: Array<string>;
|
|
429
426
|
}
|
|
430
427
|
interface OverwriteRate {
|
|
431
|
-
rate_type: 'FLAT' | 'PERCENTAGE' | 'SUBSCRIPTION' | 'TIERED' | 'CUSTOM';
|
|
428
|
+
rate_type: 'FLAT' | 'PERCENTAGE' | 'SUBSCRIPTION' | 'TIERED' | 'TIERED_PERCENTAGE' | 'CUSTOM';
|
|
432
429
|
credit_type?: Shared.CreditTypeData;
|
|
433
430
|
/**
|
|
434
431
|
* Only set for CUSTOM rate_type. This field is interpreted by custom rate
|
|
@@ -1289,6 +1286,12 @@ export interface ContractEditParams {
|
|
|
1289
1286
|
add_recurring_commits?: Array<ContractEditParams.AddRecurringCommit>;
|
|
1290
1287
|
add_recurring_credits?: Array<ContractEditParams.AddRecurringCredit>;
|
|
1291
1288
|
add_reseller_royalties?: Array<ContractEditParams.AddResellerRoyalty>;
|
|
1289
|
+
/**
|
|
1290
|
+
* Update the revenue system configuration on the contract. Currently only supports
|
|
1291
|
+
* adding a revenue system configuration to a contract that does not already have
|
|
1292
|
+
* one.
|
|
1293
|
+
*/
|
|
1294
|
+
add_revenue_system_configuration_update?: ContractEditParams.AddRevenueSystemConfigurationUpdate;
|
|
1292
1295
|
add_scheduled_charges?: Array<ContractEditParams.AddScheduledCharge>;
|
|
1293
1296
|
add_spend_threshold_configuration?: Shared.SpendThresholdConfigurationV2;
|
|
1294
1297
|
/**
|
|
@@ -1335,6 +1338,11 @@ export interface ContractEditParams {
|
|
|
1335
1338
|
*/
|
|
1336
1339
|
update_contract_name?: string | null;
|
|
1337
1340
|
update_credits?: Array<ContractEditParams.UpdateCredit>;
|
|
1341
|
+
/**
|
|
1342
|
+
* Number of days after issuance of invoice after which the invoice is due (e.g.
|
|
1343
|
+
* Net 30).
|
|
1344
|
+
*/
|
|
1345
|
+
update_net_payment_terms_days?: number | null;
|
|
1338
1346
|
update_prepaid_balance_threshold_configuration?: ContractEditParams.UpdatePrepaidBalanceThresholdConfiguration;
|
|
1339
1347
|
/**
|
|
1340
1348
|
* Edits to these recurring commits will only affect commits whose access schedules
|
|
@@ -1604,7 +1612,7 @@ export declare namespace ContractEditParams {
|
|
|
1604
1612
|
* not wish Metronome to calculate tax on your behalf. Leaving this field blank
|
|
1605
1613
|
* will default to NONE.
|
|
1606
1614
|
*/
|
|
1607
|
-
tax_type?: 'NONE' | 'STRIPE' | 'ANROK' | '
|
|
1615
|
+
tax_type?: 'NONE' | 'STRIPE' | 'ANROK' | 'PRECALCULATED';
|
|
1608
1616
|
}
|
|
1609
1617
|
namespace PaymentGateConfig {
|
|
1610
1618
|
/**
|
|
@@ -1695,6 +1703,10 @@ export declare namespace ContractEditParams {
|
|
|
1695
1703
|
*/
|
|
1696
1704
|
priority?: number;
|
|
1697
1705
|
rate_type?: 'COMMIT_RATE' | 'LIST_RATE';
|
|
1706
|
+
/**
|
|
1707
|
+
* Fraction of unused segments that will be rolled over. Must be between 0 and 1.
|
|
1708
|
+
*/
|
|
1709
|
+
rollover_fraction?: number;
|
|
1698
1710
|
/**
|
|
1699
1711
|
* List of filters that determine what kind of customer usage draws down a commit
|
|
1700
1712
|
* or credit. A customer's usage needs to meet the condition of at least one of the
|
|
@@ -1946,7 +1958,7 @@ export declare namespace ContractEditParams {
|
|
|
1946
1958
|
* Required for OVERWRITE type.
|
|
1947
1959
|
*/
|
|
1948
1960
|
interface OverwriteRate {
|
|
1949
|
-
rate_type: 'FLAT' | 'PERCENTAGE' | 'SUBSCRIPTION' | 'TIERED' | 'CUSTOM';
|
|
1961
|
+
rate_type: 'FLAT' | 'PERCENTAGE' | 'SUBSCRIPTION' | 'TIERED' | 'TIERED_PERCENTAGE' | 'CUSTOM';
|
|
1950
1962
|
credit_type_id?: string;
|
|
1951
1963
|
/**
|
|
1952
1964
|
* Only set for CUSTOM rate_type. This field is interpreted by custom rate
|
|
@@ -2323,6 +2335,31 @@ export declare namespace ContractEditParams {
|
|
|
2323
2335
|
gcp_offer_id?: string;
|
|
2324
2336
|
}
|
|
2325
2337
|
}
|
|
2338
|
+
/**
|
|
2339
|
+
* Update the revenue system configuration on the contract. Currently only supports
|
|
2340
|
+
* adding a revenue system configuration to a contract that does not already have
|
|
2341
|
+
* one.
|
|
2342
|
+
*/
|
|
2343
|
+
interface AddRevenueSystemConfigurationUpdate {
|
|
2344
|
+
revenue_system_configuration: AddRevenueSystemConfigurationUpdate.RevenueSystemConfiguration;
|
|
2345
|
+
schedule: AddRevenueSystemConfigurationUpdate.Schedule;
|
|
2346
|
+
}
|
|
2347
|
+
namespace AddRevenueSystemConfigurationUpdate {
|
|
2348
|
+
interface RevenueSystemConfiguration {
|
|
2349
|
+
delivery_method?: 'direct_to_billing_provider' | 'aws_sqs' | 'tackle' | 'aws_sns';
|
|
2350
|
+
/**
|
|
2351
|
+
* The revenue system provider type.
|
|
2352
|
+
*/
|
|
2353
|
+
provider?: 'netsuite';
|
|
2354
|
+
revenue_system_configuration_id?: string;
|
|
2355
|
+
}
|
|
2356
|
+
interface Schedule {
|
|
2357
|
+
/**
|
|
2358
|
+
* When the revenue system configuration update will take effect.
|
|
2359
|
+
*/
|
|
2360
|
+
effective_at: 'START_OF_CURRENT_PERIOD';
|
|
2361
|
+
}
|
|
2362
|
+
}
|
|
2326
2363
|
interface AddScheduledCharge {
|
|
2327
2364
|
product_id: string;
|
|
2328
2365
|
/**
|
|
@@ -2644,6 +2681,7 @@ export declare namespace ContractEditParams {
|
|
|
2644
2681
|
* regenerated to reflect the rate type change.
|
|
2645
2682
|
*/
|
|
2646
2683
|
rate_type?: 'LIST_RATE' | 'COMMIT_RATE';
|
|
2684
|
+
rollover_fraction?: number | null;
|
|
2647
2685
|
}
|
|
2648
2686
|
namespace UpdateCredit {
|
|
2649
2687
|
interface AccessSchedule {
|