@metronome/mcp 0.1.0-beta.11 → 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/README.md +4 -2
- package/compat.d.mts +2 -0
- package/compat.d.mts.map +1 -1
- package/compat.d.ts +2 -0
- package/compat.d.ts.map +1 -1
- package/compat.js +38 -1
- package/compat.js.map +1 -1
- package/compat.mjs +37 -0
- package/compat.mjs.map +1 -1
- package/dynamic-tools.d.mts +1 -1
- package/dynamic-tools.d.mts.map +1 -1
- package/dynamic-tools.d.ts +1 -1
- package/dynamic-tools.d.ts.map +1 -1
- package/dynamic-tools.js +5 -4
- package/dynamic-tools.js.map +1 -1
- package/dynamic-tools.mjs +5 -4
- package/dynamic-tools.mjs.map +1 -1
- package/filtering.d.mts +2 -0
- package/filtering.d.mts.map +1 -0
- package/filtering.d.ts +2 -0
- package/filtering.d.ts.map +1 -0
- package/filtering.js +21 -0
- package/filtering.js.map +1 -0
- package/filtering.mjs +14 -0
- package/filtering.mjs.map +1 -0
- package/index.d.mts +1 -0
- package/index.d.ts +1 -0
- package/index.js.map +1 -1
- package/index.mjs +1 -0
- package/index.mjs.map +1 -1
- package/options.d.mts +9 -6
- package/options.d.mts.map +1 -1
- package/options.d.ts +9 -6
- package/options.d.ts.map +1 -1
- package/options.js +5 -46
- package/options.js.map +1 -1
- package/options.mjs +5 -46
- package/options.mjs.map +1 -1
- package/package.json +5 -4
- package/server.d.mts +17 -8
- package/server.d.mts.map +1 -1
- package/server.d.ts +17 -8
- package/server.d.ts.map +1 -1
- package/server.js +31 -25
- package/server.js.map +1 -1
- package/server.mjs +31 -26
- package/server.mjs.map +1 -1
- package/src/compat.ts +40 -0
- package/src/dynamic-tools.ts +13 -7
- package/src/filtering.ts +15 -0
- package/src/index.ts +4 -2
- package/src/options.ts +12 -54
- package/src/server.ts +43 -30
- package/src/tools/index.ts +10 -22
- package/src/tools/types.ts +103 -0
- package/src/tools/v1/alerts/archive-v1-alerts.ts +15 -4
- package/src/tools/v1/alerts/create-v1-alerts.ts +17 -4
- package/src/tools/v1/audit-logs/list-v1-audit-logs.ts +17 -4
- package/src/tools/v1/billable-metrics/archive-v1-billable-metrics.ts +15 -4
- package/src/tools/v1/billable-metrics/create-v1-billable-metrics.ts +15 -5
- package/src/tools/v1/billable-metrics/list-v1-billable-metrics.ts +18 -4
- package/src/tools/v1/billable-metrics/retrieve-v1-billable-metrics.ts +17 -4
- package/src/tools/v1/contracts/add-manual-balance-entry-v1-contracts.ts +15 -4
- package/src/tools/v1/contracts/amend-v1-contracts.ts +127 -16
- package/src/tools/v1/contracts/archive-v1-contracts.ts +15 -4
- package/src/tools/v1/contracts/create-historical-invoices-v1-contracts.ts +8 -4
- package/src/tools/v1/contracts/create-v1-contracts.ts +328 -47
- package/src/tools/v1/contracts/list-balances-v1-contracts.ts +12 -4
- package/src/tools/v1/contracts/list-v1-contracts.ts +7 -4
- package/src/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.ts +16 -4
- package/src/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.ts +14 -4
- package/src/tools/v1/contracts/products/archive-contracts-v1-products.ts +15 -4
- package/src/tools/v1/contracts/products/create-contracts-v1-products.ts +15 -4
- package/src/tools/v1/contracts/products/list-contracts-v1-products.ts +16 -4
- package/src/tools/v1/contracts/products/retrieve-contracts-v1-products.ts +15 -4
- package/src/tools/v1/contracts/products/update-contracts-v1-products.ts +15 -4
- package/src/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.ts +15 -4
- package/src/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.ts +15 -4
- package/src/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.ts +15 -4
- package/src/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.ts +16 -4
- package/src/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.ts +14 -4
- package/src/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.ts +17 -4
- package/src/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.ts +17 -4
- package/src/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.ts +17 -4
- package/src/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.ts +15 -4
- package/src/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.ts +16 -5
- package/src/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.ts +14 -4
- package/src/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.ts +16 -5
- package/src/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.ts +15 -4
- package/src/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.ts +15 -5
- package/src/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.ts +16 -4
- package/src/tools/v1/contracts/retrieve-v1-contracts.ts +7 -4
- package/src/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.ts +7 -4
- package/src/tools/v1/contracts/set-usage-filter-v1-contracts.ts +15 -4
- package/src/tools/v1/contracts/update-end-date-v1-contracts.ts +15 -4
- package/src/tools/v1/credit-grants/create-v1-credit-grants.ts +15 -4
- package/src/tools/v1/credit-grants/edit-v1-credit-grants.ts +15 -4
- package/src/tools/v1/credit-grants/list-entries-v1-credit-grants.ts +19 -4
- package/src/tools/v1/credit-grants/list-v1-credit-grants.ts +16 -4
- package/src/tools/v1/credit-grants/void-v1-credit-grants.ts +15 -4
- package/src/tools/v1/custom-fields/add-key-v1-custom-fields.ts +14 -4
- package/src/tools/v1/custom-fields/delete-values-v1-custom-fields.ts +15 -4
- package/src/tools/v1/custom-fields/list-keys-v1-custom-fields.ts +15 -4
- package/src/tools/v1/custom-fields/remove-key-v1-custom-fields.ts +15 -4
- package/src/tools/v1/custom-fields/set-values-v1-custom-fields.ts +14 -4
- package/src/tools/v1/customers/alerts/list-customers-v1-alerts.ts +15 -4
- package/src/tools/v1/customers/alerts/reset-customers-v1-alerts.ts +15 -4
- package/src/tools/v1/customers/alerts/retrieve-customers-v1-alerts.ts +15 -4
- package/src/tools/v1/customers/archive-v1-customers.ts +15 -4
- package/src/tools/v1/customers/billing-config/create-customers-v1-billing-config.ts +15 -4
- package/src/tools/v1/customers/billing-config/delete-customers-v1-billing-config.ts +16 -4
- package/src/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.ts +17 -4
- package/src/tools/v1/customers/commits/create-customers-v1-commits.ts +17 -8
- package/src/tools/v1/customers/commits/list-customers-v1-commits.ts +12 -4
- package/src/tools/v1/customers/commits/update-end-date-customers-v1-commits.ts +14 -4
- package/src/tools/v1/customers/create-v1-customers.ts +15 -4
- package/src/tools/v1/customers/credits/create-customers-v1-credits.ts +15 -5
- package/src/tools/v1/customers/credits/list-customers-v1-credits.ts +12 -4
- package/src/tools/v1/customers/credits/update-end-date-customers-v1-credits.ts +14 -4
- package/src/tools/v1/customers/invoices/add-charge-customers-v1-invoices.ts +23 -4
- package/src/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.ts +10 -4
- package/src/tools/v1/customers/invoices/list-customers-v1-invoices.ts +10 -4
- package/src/tools/v1/customers/invoices/retrieve-customers-v1-invoices.ts +10 -4
- package/src/tools/v1/customers/list-billable-metrics-v1-customers.ts +18 -4
- package/src/tools/v1/customers/list-costs-v1-customers.ts +17 -4
- package/src/tools/v1/customers/list-v1-customers.ts +18 -4
- package/src/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.ts +16 -4
- package/src/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.ts +14 -4
- package/src/tools/v1/customers/plans/add-customers-v1-plans.ts +14 -4
- package/src/tools/v1/customers/plans/end-customers-v1-plans.ts +15 -4
- package/src/tools/v1/customers/plans/list-customers-v1-plans.ts +18 -4
- package/src/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.ts +17 -4
- package/src/tools/v1/customers/preview-events-v1-customers.ts +77 -0
- package/src/tools/v1/customers/retrieve-v1-customers.ts +17 -4
- package/src/tools/v1/customers/set-ingest-aliases-v1-customers.ts +14 -4
- package/src/tools/v1/customers/set-name-v1-customers.ts +15 -4
- package/src/tools/v1/customers/update-config-v1-customers.ts +15 -4
- package/src/tools/v1/dashboards/get-embeddable-url-v1-dashboards.ts +15 -6
- package/src/tools/v1/invoices/regenerate-v1-invoices.ts +15 -4
- package/src/tools/v1/invoices/void-v1-invoices.ts +15 -4
- package/src/tools/v1/plans/get-details-v1-plans.ts +17 -4
- package/src/tools/v1/plans/list-charges-v1-plans.ts +18 -4
- package/src/tools/v1/plans/list-customers-v1-plans.ts +17 -4
- package/src/tools/v1/plans/list-v1-plans.ts +18 -4
- package/src/tools/v1/pricing-units/list-v1-pricing-units.ts +18 -4
- package/src/tools/v1/services/list-v1-services.ts +18 -5
- package/src/tools/v1/usage/ingest-v1-usage.ts +14 -4
- package/src/tools/v1/usage/list-v1-usage.ts +14 -4
- package/src/tools/v1/usage/list-with-groups-v1-usage.ts +15 -4
- package/src/tools/v1/usage/search-v1-usage.ts +49 -0
- package/src/tools/v2/contracts/edit-commit-v2-contracts.ts +16 -9
- package/src/tools/v2/contracts/edit-credit-v2-contracts.ts +14 -6
- package/src/tools/v2/contracts/edit-v2-contracts.ts +462 -69
- package/src/tools/v2/contracts/get-edit-history-v2-contracts.ts +7 -4
- package/src/tools/v2/contracts/list-v2-contracts.ts +7 -4
- package/src/tools/v2/contracts/retrieve-v2-contracts.ts +8 -4
- package/tools/index.d.mts +2 -16
- package/tools/index.d.mts.map +1 -1
- package/tools/index.d.ts +2 -16
- package/tools/index.d.ts.map +1 -1
- package/tools/index.js +7 -2
- package/tools/index.js.map +1 -1
- package/tools/index.mjs +7 -2
- package/tools/index.mjs.map +1 -1
- package/tools/types.d.mts +51 -0
- package/tools/types.d.mts.map +1 -0
- package/tools/types.d.ts +51 -0
- package/tools/types.d.ts.map +1 -0
- package/tools/types.js +46 -0
- package/tools/types.js.map +1 -0
- package/tools/types.mjs +42 -0
- package/tools/types.mjs.map +1 -0
- package/tools/v1/alerts/archive-v1-alerts.d.mts +16 -3
- package/tools/v1/alerts/archive-v1-alerts.d.mts.map +1 -1
- package/tools/v1/alerts/archive-v1-alerts.d.ts +16 -3
- package/tools/v1/alerts/archive-v1-alerts.d.ts.map +1 -1
- package/tools/v1/alerts/archive-v1-alerts.js +12 -3
- package/tools/v1/alerts/archive-v1-alerts.js.map +1 -1
- package/tools/v1/alerts/archive-v1-alerts.mjs +12 -3
- package/tools/v1/alerts/archive-v1-alerts.mjs.map +1 -1
- package/tools/v1/alerts/create-v1-alerts.d.mts +16 -3
- package/tools/v1/alerts/create-v1-alerts.d.mts.map +1 -1
- package/tools/v1/alerts/create-v1-alerts.d.ts +16 -3
- package/tools/v1/alerts/create-v1-alerts.d.ts.map +1 -1
- package/tools/v1/alerts/create-v1-alerts.js +13 -3
- package/tools/v1/alerts/create-v1-alerts.js.map +1 -1
- package/tools/v1/alerts/create-v1-alerts.mjs +13 -3
- package/tools/v1/alerts/create-v1-alerts.mjs.map +1 -1
- package/tools/v1/audit-logs/list-v1-audit-logs.d.mts +16 -3
- package/tools/v1/audit-logs/list-v1-audit-logs.d.mts.map +1 -1
- package/tools/v1/audit-logs/list-v1-audit-logs.d.ts +16 -3
- package/tools/v1/audit-logs/list-v1-audit-logs.d.ts.map +1 -1
- package/tools/v1/audit-logs/list-v1-audit-logs.js +15 -3
- package/tools/v1/audit-logs/list-v1-audit-logs.js.map +1 -1
- package/tools/v1/audit-logs/list-v1-audit-logs.mjs +15 -3
- package/tools/v1/audit-logs/list-v1-audit-logs.mjs.map +1 -1
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.d.mts +16 -3
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.d.mts.map +1 -1
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.d.ts +16 -3
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.d.ts.map +1 -1
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.js +12 -3
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.js.map +1 -1
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.mjs +12 -3
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.mjs.map +1 -1
- package/tools/v1/billable-metrics/create-v1-billable-metrics.d.mts +16 -3
- package/tools/v1/billable-metrics/create-v1-billable-metrics.d.mts.map +1 -1
- package/tools/v1/billable-metrics/create-v1-billable-metrics.d.ts +16 -3
- package/tools/v1/billable-metrics/create-v1-billable-metrics.d.ts.map +1 -1
- package/tools/v1/billable-metrics/create-v1-billable-metrics.js +12 -4
- package/tools/v1/billable-metrics/create-v1-billable-metrics.js.map +1 -1
- package/tools/v1/billable-metrics/create-v1-billable-metrics.mjs +12 -4
- package/tools/v1/billable-metrics/create-v1-billable-metrics.mjs.map +1 -1
- package/tools/v1/billable-metrics/list-v1-billable-metrics.d.mts +16 -3
- package/tools/v1/billable-metrics/list-v1-billable-metrics.d.mts.map +1 -1
- package/tools/v1/billable-metrics/list-v1-billable-metrics.d.ts +16 -3
- package/tools/v1/billable-metrics/list-v1-billable-metrics.d.ts.map +1 -1
- package/tools/v1/billable-metrics/list-v1-billable-metrics.js +15 -3
- package/tools/v1/billable-metrics/list-v1-billable-metrics.js.map +1 -1
- package/tools/v1/billable-metrics/list-v1-billable-metrics.mjs +15 -3
- package/tools/v1/billable-metrics/list-v1-billable-metrics.mjs.map +1 -1
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.d.mts +16 -3
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.d.mts.map +1 -1
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.d.ts +16 -3
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.d.ts.map +1 -1
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.js +14 -3
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.js.map +1 -1
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.mjs +14 -3
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.mjs.map +1 -1
- package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.d.mts +16 -3
- package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.d.ts +16 -3
- package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.js +12 -3
- package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.mjs +12 -3
- package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/amend-v1-contracts.d.mts +16 -3
- package/tools/v1/contracts/amend-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/amend-v1-contracts.d.ts +16 -3
- package/tools/v1/contracts/amend-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/amend-v1-contracts.js +123 -15
- package/tools/v1/contracts/amend-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/amend-v1-contracts.mjs +123 -15
- package/tools/v1/contracts/amend-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/archive-v1-contracts.d.mts +16 -3
- package/tools/v1/contracts/archive-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/archive-v1-contracts.d.ts +16 -3
- package/tools/v1/contracts/archive-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/archive-v1-contracts.js +12 -3
- package/tools/v1/contracts/archive-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/archive-v1-contracts.mjs +12 -3
- package/tools/v1/contracts/archive-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.d.mts +16 -3
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.d.ts +16 -3
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.js +6 -3
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.mjs +6 -3
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/create-v1-contracts.d.mts +16 -3
- package/tools/v1/contracts/create-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/create-v1-contracts.d.ts +16 -3
- package/tools/v1/contracts/create-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/create-v1-contracts.js +310 -46
- package/tools/v1/contracts/create-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/create-v1-contracts.mjs +310 -46
- package/tools/v1/contracts/create-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/list-balances-v1-contracts.d.mts +16 -3
- package/tools/v1/contracts/list-balances-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/list-balances-v1-contracts.d.ts +16 -3
- package/tools/v1/contracts/list-balances-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/list-balances-v1-contracts.js +10 -3
- package/tools/v1/contracts/list-balances-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/list-balances-v1-contracts.mjs +10 -3
- package/tools/v1/contracts/list-balances-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/list-v1-contracts.d.mts +16 -3
- package/tools/v1/contracts/list-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/list-v1-contracts.d.ts +16 -3
- package/tools/v1/contracts/list-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/list-v1-contracts.js +6 -3
- package/tools/v1/contracts/list-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/list-v1-contracts.mjs +6 -3
- package/tools/v1/contracts/list-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.d.mts +16 -3
- package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.d.mts.map +1 -1
- package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.d.ts +16 -3
- package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.d.ts.map +1 -1
- package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.js +12 -3
- package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.js.map +1 -1
- package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.mjs +12 -3
- package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.mjs.map +1 -1
- package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.d.mts +16 -3
- package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.d.mts.map +1 -1
- package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.d.ts +16 -3
- package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.d.ts.map +1 -1
- package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.js +12 -3
- package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.js.map +1 -1
- package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.mjs +12 -3
- package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.mjs.map +1 -1
- package/tools/v1/contracts/products/archive-contracts-v1-products.d.mts +16 -3
- package/tools/v1/contracts/products/archive-contracts-v1-products.d.mts.map +1 -1
- package/tools/v1/contracts/products/archive-contracts-v1-products.d.ts +16 -3
- package/tools/v1/contracts/products/archive-contracts-v1-products.d.ts.map +1 -1
- package/tools/v1/contracts/products/archive-contracts-v1-products.js +12 -3
- package/tools/v1/contracts/products/archive-contracts-v1-products.js.map +1 -1
- package/tools/v1/contracts/products/archive-contracts-v1-products.mjs +12 -3
- package/tools/v1/contracts/products/archive-contracts-v1-products.mjs.map +1 -1
- package/tools/v1/contracts/products/create-contracts-v1-products.d.mts +16 -3
- package/tools/v1/contracts/products/create-contracts-v1-products.d.mts.map +1 -1
- package/tools/v1/contracts/products/create-contracts-v1-products.d.ts +16 -3
- package/tools/v1/contracts/products/create-contracts-v1-products.d.ts.map +1 -1
- package/tools/v1/contracts/products/create-contracts-v1-products.js +12 -3
- package/tools/v1/contracts/products/create-contracts-v1-products.js.map +1 -1
- package/tools/v1/contracts/products/create-contracts-v1-products.mjs +12 -3
- package/tools/v1/contracts/products/create-contracts-v1-products.mjs.map +1 -1
- package/tools/v1/contracts/products/list-contracts-v1-products.d.mts +16 -3
- package/tools/v1/contracts/products/list-contracts-v1-products.d.mts.map +1 -1
- package/tools/v1/contracts/products/list-contracts-v1-products.d.ts +16 -3
- package/tools/v1/contracts/products/list-contracts-v1-products.d.ts.map +1 -1
- package/tools/v1/contracts/products/list-contracts-v1-products.js +13 -3
- package/tools/v1/contracts/products/list-contracts-v1-products.js.map +1 -1
- package/tools/v1/contracts/products/list-contracts-v1-products.mjs +13 -3
- package/tools/v1/contracts/products/list-contracts-v1-products.mjs.map +1 -1
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.d.mts +16 -3
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.d.mts.map +1 -1
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.d.ts +16 -3
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.d.ts.map +1 -1
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.js +12 -3
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.js.map +1 -1
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.mjs +12 -3
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.mjs.map +1 -1
- package/tools/v1/contracts/products/update-contracts-v1-products.d.mts +16 -3
- package/tools/v1/contracts/products/update-contracts-v1-products.d.mts.map +1 -1
- package/tools/v1/contracts/products/update-contracts-v1-products.d.ts +16 -3
- package/tools/v1/contracts/products/update-contracts-v1-products.d.ts.map +1 -1
- package/tools/v1/contracts/products/update-contracts-v1-products.js +12 -3
- package/tools/v1/contracts/products/update-contracts-v1-products.js.map +1 -1
- package/tools/v1/contracts/products/update-contracts-v1-products.mjs +12 -3
- package/tools/v1/contracts/products/update-contracts-v1-products.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.d.mts +16 -3
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.d.ts +16 -3
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.js +12 -3
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.js.map +1 -1
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.mjs +12 -3
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.d.mts +16 -3
- package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.d.ts +16 -3
- package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.js +12 -3
- package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.js.map +1 -1
- package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.mjs +12 -3
- package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.d.mts +16 -3
- package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.d.ts +16 -3
- package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.js +13 -3
- package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.js.map +1 -1
- package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.mjs +13 -3
- package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.d.mts +16 -3
- package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.d.ts +16 -3
- package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.js +12 -3
- package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.js.map +1 -1
- package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.mjs +12 -3
- package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.d.mts +16 -3
- package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.d.ts +16 -3
- package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.js +12 -3
- package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.js.map +1 -1
- package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.mjs +12 -3
- package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.d.mts +16 -3
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.d.ts +16 -3
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.js +12 -3
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.js.map +1 -1
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.mjs +12 -3
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.d.mts +16 -3
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.d.ts +16 -3
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.js +12 -3
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.js.map +1 -1
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.mjs +12 -3
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.d.mts +16 -3
- package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.d.ts +16 -3
- package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.js +12 -3
- package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.js.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.mjs +12 -3
- package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.d.mts +16 -3
- package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.d.ts +16 -3
- package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.js +12 -3
- package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.js.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.mjs +12 -3
- package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.d.mts +16 -3
- package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.d.ts +16 -3
- package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.js +13 -4
- package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.js.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.mjs +13 -4
- package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.d.mts +16 -3
- package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.d.ts +16 -3
- package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.js +12 -3
- package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.js.map +1 -1
- package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.mjs +12 -3
- package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.d.mts +16 -3
- package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.d.ts +16 -3
- package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.js +12 -4
- package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.js.map +1 -1
- package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.mjs +12 -4
- package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.d.mts +16 -3
- package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.d.ts +16 -3
- package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.js +12 -3
- package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.js.map +1 -1
- package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.mjs +12 -3
- package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.mjs.map +1 -1
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.d.mts +16 -3
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.d.ts +16 -3
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.js +12 -4
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.mjs +12 -4
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.d.mts +16 -3
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.d.ts +16 -3
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.js +12 -3
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.mjs +12 -3
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/retrieve-v1-contracts.d.mts +16 -3
- package/tools/v1/contracts/retrieve-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/retrieve-v1-contracts.d.ts +16 -3
- package/tools/v1/contracts/retrieve-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/retrieve-v1-contracts.js +6 -3
- package/tools/v1/contracts/retrieve-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/retrieve-v1-contracts.mjs +6 -3
- package/tools/v1/contracts/retrieve-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.d.mts +16 -3
- package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.d.ts +16 -3
- package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.js +6 -3
- package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.mjs +6 -3
- package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/set-usage-filter-v1-contracts.d.mts +16 -3
- package/tools/v1/contracts/set-usage-filter-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/set-usage-filter-v1-contracts.d.ts +16 -3
- package/tools/v1/contracts/set-usage-filter-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/set-usage-filter-v1-contracts.js +12 -3
- package/tools/v1/contracts/set-usage-filter-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/set-usage-filter-v1-contracts.mjs +12 -3
- package/tools/v1/contracts/set-usage-filter-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/update-end-date-v1-contracts.d.mts +16 -3
- package/tools/v1/contracts/update-end-date-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/update-end-date-v1-contracts.d.ts +16 -3
- package/tools/v1/contracts/update-end-date-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/update-end-date-v1-contracts.js +12 -3
- package/tools/v1/contracts/update-end-date-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/update-end-date-v1-contracts.mjs +12 -3
- package/tools/v1/contracts/update-end-date-v1-contracts.mjs.map +1 -1
- package/tools/v1/credit-grants/create-v1-credit-grants.d.mts +16 -3
- package/tools/v1/credit-grants/create-v1-credit-grants.d.mts.map +1 -1
- package/tools/v1/credit-grants/create-v1-credit-grants.d.ts +16 -3
- package/tools/v1/credit-grants/create-v1-credit-grants.d.ts.map +1 -1
- package/tools/v1/credit-grants/create-v1-credit-grants.js +12 -3
- package/tools/v1/credit-grants/create-v1-credit-grants.js.map +1 -1
- package/tools/v1/credit-grants/create-v1-credit-grants.mjs +12 -3
- package/tools/v1/credit-grants/create-v1-credit-grants.mjs.map +1 -1
- package/tools/v1/credit-grants/edit-v1-credit-grants.d.mts +16 -3
- package/tools/v1/credit-grants/edit-v1-credit-grants.d.mts.map +1 -1
- package/tools/v1/credit-grants/edit-v1-credit-grants.d.ts +16 -3
- package/tools/v1/credit-grants/edit-v1-credit-grants.d.ts.map +1 -1
- package/tools/v1/credit-grants/edit-v1-credit-grants.js +12 -3
- package/tools/v1/credit-grants/edit-v1-credit-grants.js.map +1 -1
- package/tools/v1/credit-grants/edit-v1-credit-grants.mjs +12 -3
- package/tools/v1/credit-grants/edit-v1-credit-grants.mjs.map +1 -1
- package/tools/v1/credit-grants/list-entries-v1-credit-grants.d.mts +16 -3
- package/tools/v1/credit-grants/list-entries-v1-credit-grants.d.mts.map +1 -1
- package/tools/v1/credit-grants/list-entries-v1-credit-grants.d.ts +16 -3
- package/tools/v1/credit-grants/list-entries-v1-credit-grants.d.ts.map +1 -1
- package/tools/v1/credit-grants/list-entries-v1-credit-grants.js +17 -3
- package/tools/v1/credit-grants/list-entries-v1-credit-grants.js.map +1 -1
- package/tools/v1/credit-grants/list-entries-v1-credit-grants.mjs +17 -3
- package/tools/v1/credit-grants/list-entries-v1-credit-grants.mjs.map +1 -1
- package/tools/v1/credit-grants/list-v1-credit-grants.d.mts +16 -3
- package/tools/v1/credit-grants/list-v1-credit-grants.d.mts.map +1 -1
- package/tools/v1/credit-grants/list-v1-credit-grants.d.ts +16 -3
- package/tools/v1/credit-grants/list-v1-credit-grants.d.ts.map +1 -1
- package/tools/v1/credit-grants/list-v1-credit-grants.js +13 -3
- package/tools/v1/credit-grants/list-v1-credit-grants.js.map +1 -1
- package/tools/v1/credit-grants/list-v1-credit-grants.mjs +13 -3
- package/tools/v1/credit-grants/list-v1-credit-grants.mjs.map +1 -1
- package/tools/v1/credit-grants/void-v1-credit-grants.d.mts +16 -3
- package/tools/v1/credit-grants/void-v1-credit-grants.d.mts.map +1 -1
- package/tools/v1/credit-grants/void-v1-credit-grants.d.ts +16 -3
- package/tools/v1/credit-grants/void-v1-credit-grants.d.ts.map +1 -1
- package/tools/v1/credit-grants/void-v1-credit-grants.js +12 -3
- package/tools/v1/credit-grants/void-v1-credit-grants.js.map +1 -1
- package/tools/v1/credit-grants/void-v1-credit-grants.mjs +12 -3
- package/tools/v1/credit-grants/void-v1-credit-grants.mjs.map +1 -1
- package/tools/v1/custom-fields/add-key-v1-custom-fields.d.mts +16 -3
- package/tools/v1/custom-fields/add-key-v1-custom-fields.d.mts.map +1 -1
- package/tools/v1/custom-fields/add-key-v1-custom-fields.d.ts +16 -3
- package/tools/v1/custom-fields/add-key-v1-custom-fields.d.ts.map +1 -1
- package/tools/v1/custom-fields/add-key-v1-custom-fields.js +12 -3
- package/tools/v1/custom-fields/add-key-v1-custom-fields.js.map +1 -1
- package/tools/v1/custom-fields/add-key-v1-custom-fields.mjs +12 -3
- package/tools/v1/custom-fields/add-key-v1-custom-fields.mjs.map +1 -1
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.d.mts +16 -3
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.d.mts.map +1 -1
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.d.ts +16 -3
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.d.ts.map +1 -1
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.js +12 -3
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.js.map +1 -1
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.mjs +12 -3
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.mjs.map +1 -1
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.d.mts +16 -3
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.d.mts.map +1 -1
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.d.ts +16 -3
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.d.ts.map +1 -1
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.js +12 -3
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.js.map +1 -1
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.mjs +12 -3
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.mjs.map +1 -1
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.d.mts +16 -3
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.d.mts.map +1 -1
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.d.ts +16 -3
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.d.ts.map +1 -1
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.js +12 -3
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.js.map +1 -1
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.mjs +12 -3
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.mjs.map +1 -1
- package/tools/v1/custom-fields/set-values-v1-custom-fields.d.mts +16 -3
- package/tools/v1/custom-fields/set-values-v1-custom-fields.d.mts.map +1 -1
- package/tools/v1/custom-fields/set-values-v1-custom-fields.d.ts +16 -3
- package/tools/v1/custom-fields/set-values-v1-custom-fields.d.ts.map +1 -1
- package/tools/v1/custom-fields/set-values-v1-custom-fields.js +12 -3
- package/tools/v1/custom-fields/set-values-v1-custom-fields.js.map +1 -1
- package/tools/v1/custom-fields/set-values-v1-custom-fields.mjs +12 -3
- package/tools/v1/custom-fields/set-values-v1-custom-fields.mjs.map +1 -1
- package/tools/v1/customers/alerts/list-customers-v1-alerts.d.mts +16 -3
- package/tools/v1/customers/alerts/list-customers-v1-alerts.d.mts.map +1 -1
- package/tools/v1/customers/alerts/list-customers-v1-alerts.d.ts +16 -3
- package/tools/v1/customers/alerts/list-customers-v1-alerts.d.ts.map +1 -1
- package/tools/v1/customers/alerts/list-customers-v1-alerts.js +12 -3
- package/tools/v1/customers/alerts/list-customers-v1-alerts.js.map +1 -1
- package/tools/v1/customers/alerts/list-customers-v1-alerts.mjs +12 -3
- package/tools/v1/customers/alerts/list-customers-v1-alerts.mjs.map +1 -1
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.d.mts +16 -3
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.d.mts.map +1 -1
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.d.ts +16 -3
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.d.ts.map +1 -1
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.js +12 -3
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.js.map +1 -1
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.mjs +12 -3
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.mjs.map +1 -1
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.d.mts +16 -3
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.d.mts.map +1 -1
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.d.ts +16 -3
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.d.ts.map +1 -1
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.js +12 -3
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.js.map +1 -1
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.mjs +12 -3
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.mjs.map +1 -1
- package/tools/v1/customers/archive-v1-customers.d.mts +16 -3
- package/tools/v1/customers/archive-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/archive-v1-customers.d.ts +16 -3
- package/tools/v1/customers/archive-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/archive-v1-customers.js +12 -3
- package/tools/v1/customers/archive-v1-customers.js.map +1 -1
- package/tools/v1/customers/archive-v1-customers.mjs +12 -3
- package/tools/v1/customers/archive-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.d.mts +16 -3
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.d.mts.map +1 -1
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.d.ts +16 -3
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.d.ts.map +1 -1
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.js +12 -3
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.js.map +1 -1
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.mjs +12 -3
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.mjs.map +1 -1
- package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.d.mts +16 -3
- package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.d.mts.map +1 -1
- package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.d.ts +16 -3
- package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.d.ts.map +1 -1
- package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.js +14 -3
- package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.js.map +1 -1
- package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.mjs +14 -3
- package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.mjs.map +1 -1
- package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.d.mts +16 -3
- package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.d.mts.map +1 -1
- package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.d.ts +16 -3
- package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.d.ts.map +1 -1
- package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.js +14 -3
- package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.js.map +1 -1
- package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.mjs +14 -3
- package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.mjs.map +1 -1
- package/tools/v1/customers/commits/create-customers-v1-commits.d.mts +16 -3
- package/tools/v1/customers/commits/create-customers-v1-commits.d.mts.map +1 -1
- package/tools/v1/customers/commits/create-customers-v1-commits.d.ts +16 -3
- package/tools/v1/customers/commits/create-customers-v1-commits.d.ts.map +1 -1
- package/tools/v1/customers/commits/create-customers-v1-commits.js +14 -7
- package/tools/v1/customers/commits/create-customers-v1-commits.js.map +1 -1
- package/tools/v1/customers/commits/create-customers-v1-commits.mjs +14 -7
- package/tools/v1/customers/commits/create-customers-v1-commits.mjs.map +1 -1
- package/tools/v1/customers/commits/list-customers-v1-commits.d.mts +16 -3
- package/tools/v1/customers/commits/list-customers-v1-commits.d.mts.map +1 -1
- package/tools/v1/customers/commits/list-customers-v1-commits.d.ts +16 -3
- package/tools/v1/customers/commits/list-customers-v1-commits.d.ts.map +1 -1
- package/tools/v1/customers/commits/list-customers-v1-commits.js +10 -3
- package/tools/v1/customers/commits/list-customers-v1-commits.js.map +1 -1
- package/tools/v1/customers/commits/list-customers-v1-commits.mjs +10 -3
- package/tools/v1/customers/commits/list-customers-v1-commits.mjs.map +1 -1
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.d.mts +16 -3
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.d.mts.map +1 -1
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.d.ts +16 -3
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.d.ts.map +1 -1
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.js +12 -3
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.js.map +1 -1
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.mjs +12 -3
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.mjs.map +1 -1
- package/tools/v1/customers/create-v1-customers.d.mts +16 -3
- package/tools/v1/customers/create-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/create-v1-customers.d.ts +16 -3
- package/tools/v1/customers/create-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/create-v1-customers.js +12 -3
- package/tools/v1/customers/create-v1-customers.js.map +1 -1
- package/tools/v1/customers/create-v1-customers.mjs +12 -3
- package/tools/v1/customers/create-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/credits/create-customers-v1-credits.d.mts +16 -3
- package/tools/v1/customers/credits/create-customers-v1-credits.d.mts.map +1 -1
- package/tools/v1/customers/credits/create-customers-v1-credits.d.ts +16 -3
- package/tools/v1/customers/credits/create-customers-v1-credits.d.ts.map +1 -1
- package/tools/v1/customers/credits/create-customers-v1-credits.js +12 -4
- package/tools/v1/customers/credits/create-customers-v1-credits.js.map +1 -1
- package/tools/v1/customers/credits/create-customers-v1-credits.mjs +12 -4
- package/tools/v1/customers/credits/create-customers-v1-credits.mjs.map +1 -1
- package/tools/v1/customers/credits/list-customers-v1-credits.d.mts +16 -3
- package/tools/v1/customers/credits/list-customers-v1-credits.d.mts.map +1 -1
- package/tools/v1/customers/credits/list-customers-v1-credits.d.ts +16 -3
- package/tools/v1/customers/credits/list-customers-v1-credits.d.ts.map +1 -1
- package/tools/v1/customers/credits/list-customers-v1-credits.js +10 -3
- package/tools/v1/customers/credits/list-customers-v1-credits.js.map +1 -1
- package/tools/v1/customers/credits/list-customers-v1-credits.mjs +10 -3
- package/tools/v1/customers/credits/list-customers-v1-credits.mjs.map +1 -1
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.d.mts +16 -3
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.d.mts.map +1 -1
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.d.ts +16 -3
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.d.ts.map +1 -1
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.js +12 -3
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.js.map +1 -1
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.mjs +12 -3
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.mjs.map +1 -1
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.d.mts +16 -3
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.d.mts.map +1 -1
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.d.ts +16 -3
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.d.ts.map +1 -1
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.js +20 -3
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.js.map +1 -1
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.mjs +20 -3
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.mjs.map +1 -1
- package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.d.mts +16 -3
- package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.d.mts.map +1 -1
- package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.d.ts +16 -3
- package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.d.ts.map +1 -1
- package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.js +9 -3
- package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.js.map +1 -1
- package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.mjs +9 -3
- package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.mjs.map +1 -1
- package/tools/v1/customers/invoices/list-customers-v1-invoices.d.mts +16 -3
- package/tools/v1/customers/invoices/list-customers-v1-invoices.d.mts.map +1 -1
- package/tools/v1/customers/invoices/list-customers-v1-invoices.d.ts +16 -3
- package/tools/v1/customers/invoices/list-customers-v1-invoices.d.ts.map +1 -1
- package/tools/v1/customers/invoices/list-customers-v1-invoices.js +9 -3
- package/tools/v1/customers/invoices/list-customers-v1-invoices.js.map +1 -1
- package/tools/v1/customers/invoices/list-customers-v1-invoices.mjs +9 -3
- package/tools/v1/customers/invoices/list-customers-v1-invoices.mjs.map +1 -1
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.d.mts +16 -3
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.d.mts.map +1 -1
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.d.ts +16 -3
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.d.ts.map +1 -1
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.js +8 -3
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.js.map +1 -1
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.mjs +8 -3
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.mjs.map +1 -1
- package/tools/v1/customers/list-billable-metrics-v1-customers.d.mts +16 -3
- package/tools/v1/customers/list-billable-metrics-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/list-billable-metrics-v1-customers.d.ts +16 -3
- package/tools/v1/customers/list-billable-metrics-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/list-billable-metrics-v1-customers.js +15 -3
- package/tools/v1/customers/list-billable-metrics-v1-customers.js.map +1 -1
- package/tools/v1/customers/list-billable-metrics-v1-customers.mjs +15 -3
- package/tools/v1/customers/list-billable-metrics-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/list-costs-v1-customers.d.mts +16 -3
- package/tools/v1/customers/list-costs-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/list-costs-v1-customers.d.ts +16 -3
- package/tools/v1/customers/list-costs-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/list-costs-v1-customers.js +15 -3
- package/tools/v1/customers/list-costs-v1-customers.js.map +1 -1
- package/tools/v1/customers/list-costs-v1-customers.mjs +15 -3
- package/tools/v1/customers/list-costs-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/list-v1-customers.d.mts +16 -3
- package/tools/v1/customers/list-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/list-v1-customers.d.ts +16 -3
- package/tools/v1/customers/list-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/list-v1-customers.js +15 -3
- package/tools/v1/customers/list-v1-customers.js.map +1 -1
- package/tools/v1/customers/list-v1-customers.mjs +15 -3
- package/tools/v1/customers/list-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.d.mts +16 -3
- package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.d.mts.map +1 -1
- package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.d.ts +16 -3
- package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.d.ts.map +1 -1
- package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.js +12 -3
- package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.js.map +1 -1
- package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.mjs +12 -3
- package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.mjs.map +1 -1
- package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.d.mts +16 -3
- package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.d.mts.map +1 -1
- package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.d.ts +16 -3
- package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.d.ts.map +1 -1
- package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.js +12 -3
- package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.js.map +1 -1
- package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.mjs +12 -3
- package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.mjs.map +1 -1
- package/tools/v1/customers/plans/add-customers-v1-plans.d.mts +16 -3
- package/tools/v1/customers/plans/add-customers-v1-plans.d.mts.map +1 -1
- package/tools/v1/customers/plans/add-customers-v1-plans.d.ts +16 -3
- package/tools/v1/customers/plans/add-customers-v1-plans.d.ts.map +1 -1
- package/tools/v1/customers/plans/add-customers-v1-plans.js +12 -3
- package/tools/v1/customers/plans/add-customers-v1-plans.js.map +1 -1
- package/tools/v1/customers/plans/add-customers-v1-plans.mjs +12 -3
- package/tools/v1/customers/plans/add-customers-v1-plans.mjs.map +1 -1
- package/tools/v1/customers/plans/end-customers-v1-plans.d.mts +16 -3
- package/tools/v1/customers/plans/end-customers-v1-plans.d.mts.map +1 -1
- package/tools/v1/customers/plans/end-customers-v1-plans.d.ts +16 -3
- package/tools/v1/customers/plans/end-customers-v1-plans.d.ts.map +1 -1
- package/tools/v1/customers/plans/end-customers-v1-plans.js +12 -3
- package/tools/v1/customers/plans/end-customers-v1-plans.js.map +1 -1
- package/tools/v1/customers/plans/end-customers-v1-plans.mjs +12 -3
- package/tools/v1/customers/plans/end-customers-v1-plans.mjs.map +1 -1
- package/tools/v1/customers/plans/list-customers-v1-plans.d.mts +16 -3
- package/tools/v1/customers/plans/list-customers-v1-plans.d.mts.map +1 -1
- package/tools/v1/customers/plans/list-customers-v1-plans.d.ts +16 -3
- package/tools/v1/customers/plans/list-customers-v1-plans.d.ts.map +1 -1
- package/tools/v1/customers/plans/list-customers-v1-plans.js +15 -3
- package/tools/v1/customers/plans/list-customers-v1-plans.js.map +1 -1
- package/tools/v1/customers/plans/list-customers-v1-plans.mjs +15 -3
- package/tools/v1/customers/plans/list-customers-v1-plans.mjs.map +1 -1
- package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.d.mts +16 -3
- package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.d.mts.map +1 -1
- package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.d.ts +16 -3
- package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.d.ts.map +1 -1
- package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.js +15 -3
- package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.js.map +1 -1
- package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.mjs +15 -3
- package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.mjs.map +1 -1
- package/tools/v1/customers/preview-events-v1-customers.d.mts +45 -0
- package/tools/v1/customers/preview-events-v1-customers.d.mts.map +1 -0
- package/tools/v1/customers/preview-events-v1-customers.d.ts +45 -0
- package/tools/v1/customers/preview-events-v1-customers.d.ts.map +1 -0
- package/tools/v1/customers/preview-events-v1-customers.js +70 -0
- package/tools/v1/customers/preview-events-v1-customers.js.map +1 -0
- package/tools/v1/customers/preview-events-v1-customers.mjs +66 -0
- package/tools/v1/customers/preview-events-v1-customers.mjs.map +1 -0
- package/tools/v1/customers/retrieve-v1-customers.d.mts +16 -3
- package/tools/v1/customers/retrieve-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/retrieve-v1-customers.d.ts +16 -3
- package/tools/v1/customers/retrieve-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/retrieve-v1-customers.js +14 -3
- package/tools/v1/customers/retrieve-v1-customers.js.map +1 -1
- package/tools/v1/customers/retrieve-v1-customers.mjs +14 -3
- package/tools/v1/customers/retrieve-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/set-ingest-aliases-v1-customers.d.mts +16 -3
- package/tools/v1/customers/set-ingest-aliases-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/set-ingest-aliases-v1-customers.d.ts +16 -3
- package/tools/v1/customers/set-ingest-aliases-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/set-ingest-aliases-v1-customers.js +12 -3
- package/tools/v1/customers/set-ingest-aliases-v1-customers.js.map +1 -1
- package/tools/v1/customers/set-ingest-aliases-v1-customers.mjs +12 -3
- package/tools/v1/customers/set-ingest-aliases-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/set-name-v1-customers.d.mts +16 -3
- package/tools/v1/customers/set-name-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/set-name-v1-customers.d.ts +16 -3
- package/tools/v1/customers/set-name-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/set-name-v1-customers.js +12 -3
- package/tools/v1/customers/set-name-v1-customers.js.map +1 -1
- package/tools/v1/customers/set-name-v1-customers.mjs +12 -3
- package/tools/v1/customers/set-name-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/update-config-v1-customers.d.mts +16 -3
- package/tools/v1/customers/update-config-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/update-config-v1-customers.d.ts +16 -3
- package/tools/v1/customers/update-config-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/update-config-v1-customers.js +12 -3
- package/tools/v1/customers/update-config-v1-customers.js.map +1 -1
- package/tools/v1/customers/update-config-v1-customers.mjs +12 -3
- package/tools/v1/customers/update-config-v1-customers.mjs.map +1 -1
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.d.mts +16 -3
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.d.mts.map +1 -1
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.d.ts +16 -3
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.d.ts.map +1 -1
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.js +13 -5
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.js.map +1 -1
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.mjs +13 -5
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.mjs.map +1 -1
- package/tools/v1/invoices/regenerate-v1-invoices.d.mts +16 -3
- package/tools/v1/invoices/regenerate-v1-invoices.d.mts.map +1 -1
- package/tools/v1/invoices/regenerate-v1-invoices.d.ts +16 -3
- package/tools/v1/invoices/regenerate-v1-invoices.d.ts.map +1 -1
- package/tools/v1/invoices/regenerate-v1-invoices.js +12 -3
- package/tools/v1/invoices/regenerate-v1-invoices.js.map +1 -1
- package/tools/v1/invoices/regenerate-v1-invoices.mjs +12 -3
- package/tools/v1/invoices/regenerate-v1-invoices.mjs.map +1 -1
- package/tools/v1/invoices/void-v1-invoices.d.mts +16 -3
- package/tools/v1/invoices/void-v1-invoices.d.mts.map +1 -1
- package/tools/v1/invoices/void-v1-invoices.d.ts +16 -3
- package/tools/v1/invoices/void-v1-invoices.d.ts.map +1 -1
- package/tools/v1/invoices/void-v1-invoices.js +12 -3
- package/tools/v1/invoices/void-v1-invoices.js.map +1 -1
- package/tools/v1/invoices/void-v1-invoices.mjs +12 -3
- package/tools/v1/invoices/void-v1-invoices.mjs.map +1 -1
- package/tools/v1/plans/get-details-v1-plans.d.mts +16 -3
- package/tools/v1/plans/get-details-v1-plans.d.mts.map +1 -1
- package/tools/v1/plans/get-details-v1-plans.d.ts +16 -3
- package/tools/v1/plans/get-details-v1-plans.d.ts.map +1 -1
- package/tools/v1/plans/get-details-v1-plans.js +14 -3
- package/tools/v1/plans/get-details-v1-plans.js.map +1 -1
- package/tools/v1/plans/get-details-v1-plans.mjs +14 -3
- package/tools/v1/plans/get-details-v1-plans.mjs.map +1 -1
- package/tools/v1/plans/list-charges-v1-plans.d.mts +16 -3
- package/tools/v1/plans/list-charges-v1-plans.d.mts.map +1 -1
- package/tools/v1/plans/list-charges-v1-plans.d.ts +16 -3
- package/tools/v1/plans/list-charges-v1-plans.d.ts.map +1 -1
- package/tools/v1/plans/list-charges-v1-plans.js +15 -3
- package/tools/v1/plans/list-charges-v1-plans.js.map +1 -1
- package/tools/v1/plans/list-charges-v1-plans.mjs +15 -3
- package/tools/v1/plans/list-charges-v1-plans.mjs.map +1 -1
- package/tools/v1/plans/list-customers-v1-plans.d.mts +16 -3
- package/tools/v1/plans/list-customers-v1-plans.d.mts.map +1 -1
- package/tools/v1/plans/list-customers-v1-plans.d.ts +16 -3
- package/tools/v1/plans/list-customers-v1-plans.d.ts.map +1 -1
- package/tools/v1/plans/list-customers-v1-plans.js +15 -3
- package/tools/v1/plans/list-customers-v1-plans.js.map +1 -1
- package/tools/v1/plans/list-customers-v1-plans.mjs +15 -3
- package/tools/v1/plans/list-customers-v1-plans.mjs.map +1 -1
- package/tools/v1/plans/list-v1-plans.d.mts +16 -3
- package/tools/v1/plans/list-v1-plans.d.mts.map +1 -1
- package/tools/v1/plans/list-v1-plans.d.ts +16 -3
- package/tools/v1/plans/list-v1-plans.d.ts.map +1 -1
- package/tools/v1/plans/list-v1-plans.js +15 -3
- package/tools/v1/plans/list-v1-plans.js.map +1 -1
- package/tools/v1/plans/list-v1-plans.mjs +15 -3
- package/tools/v1/plans/list-v1-plans.mjs.map +1 -1
- package/tools/v1/pricing-units/list-v1-pricing-units.d.mts +16 -3
- package/tools/v1/pricing-units/list-v1-pricing-units.d.mts.map +1 -1
- package/tools/v1/pricing-units/list-v1-pricing-units.d.ts +16 -3
- package/tools/v1/pricing-units/list-v1-pricing-units.d.ts.map +1 -1
- package/tools/v1/pricing-units/list-v1-pricing-units.js +15 -3
- package/tools/v1/pricing-units/list-v1-pricing-units.js.map +1 -1
- package/tools/v1/pricing-units/list-v1-pricing-units.mjs +15 -3
- package/tools/v1/pricing-units/list-v1-pricing-units.mjs.map +1 -1
- package/tools/v1/services/list-v1-services.d.mts +16 -3
- package/tools/v1/services/list-v1-services.d.mts.map +1 -1
- package/tools/v1/services/list-v1-services.d.ts +16 -3
- package/tools/v1/services/list-v1-services.d.ts.map +1 -1
- package/tools/v1/services/list-v1-services.js +16 -4
- package/tools/v1/services/list-v1-services.js.map +1 -1
- package/tools/v1/services/list-v1-services.mjs +16 -4
- package/tools/v1/services/list-v1-services.mjs.map +1 -1
- package/tools/v1/usage/ingest-v1-usage.d.mts +16 -3
- package/tools/v1/usage/ingest-v1-usage.d.mts.map +1 -1
- package/tools/v1/usage/ingest-v1-usage.d.ts +16 -3
- package/tools/v1/usage/ingest-v1-usage.d.ts.map +1 -1
- package/tools/v1/usage/ingest-v1-usage.js +12 -3
- package/tools/v1/usage/ingest-v1-usage.js.map +1 -1
- package/tools/v1/usage/ingest-v1-usage.mjs +12 -3
- package/tools/v1/usage/ingest-v1-usage.mjs.map +1 -1
- package/tools/v1/usage/list-v1-usage.d.mts +16 -3
- package/tools/v1/usage/list-v1-usage.d.mts.map +1 -1
- package/tools/v1/usage/list-v1-usage.d.ts +16 -3
- package/tools/v1/usage/list-v1-usage.d.ts.map +1 -1
- package/tools/v1/usage/list-v1-usage.js +12 -3
- package/tools/v1/usage/list-v1-usage.js.map +1 -1
- package/tools/v1/usage/list-v1-usage.mjs +12 -3
- package/tools/v1/usage/list-v1-usage.mjs.map +1 -1
- package/tools/v1/usage/list-with-groups-v1-usage.d.mts +16 -3
- package/tools/v1/usage/list-with-groups-v1-usage.d.mts.map +1 -1
- package/tools/v1/usage/list-with-groups-v1-usage.d.ts +16 -3
- package/tools/v1/usage/list-with-groups-v1-usage.d.ts.map +1 -1
- package/tools/v1/usage/list-with-groups-v1-usage.js +13 -3
- package/tools/v1/usage/list-with-groups-v1-usage.js.map +1 -1
- package/tools/v1/usage/list-with-groups-v1-usage.mjs +13 -3
- package/tools/v1/usage/list-with-groups-v1-usage.mjs.map +1 -1
- package/tools/v1/usage/search-v1-usage.d.mts +45 -0
- package/tools/v1/usage/search-v1-usage.d.mts.map +1 -0
- package/tools/v1/usage/search-v1-usage.d.ts +45 -0
- package/tools/v1/usage/search-v1-usage.d.ts.map +1 -0
- package/tools/v1/usage/search-v1-usage.js +44 -0
- package/tools/v1/usage/search-v1-usage.js.map +1 -0
- package/tools/v1/usage/search-v1-usage.mjs +40 -0
- package/tools/v1/usage/search-v1-usage.mjs.map +1 -0
- package/tools/v2/contracts/edit-commit-v2-contracts.d.mts +16 -3
- package/tools/v2/contracts/edit-commit-v2-contracts.d.mts.map +1 -1
- package/tools/v2/contracts/edit-commit-v2-contracts.d.ts +16 -3
- package/tools/v2/contracts/edit-commit-v2-contracts.d.ts.map +1 -1
- package/tools/v2/contracts/edit-commit-v2-contracts.js +14 -8
- package/tools/v2/contracts/edit-commit-v2-contracts.js.map +1 -1
- package/tools/v2/contracts/edit-commit-v2-contracts.mjs +14 -8
- package/tools/v2/contracts/edit-commit-v2-contracts.mjs.map +1 -1
- package/tools/v2/contracts/edit-credit-v2-contracts.d.mts +16 -3
- package/tools/v2/contracts/edit-credit-v2-contracts.d.mts.map +1 -1
- package/tools/v2/contracts/edit-credit-v2-contracts.d.ts +16 -3
- package/tools/v2/contracts/edit-credit-v2-contracts.d.ts.map +1 -1
- package/tools/v2/contracts/edit-credit-v2-contracts.js +12 -5
- package/tools/v2/contracts/edit-credit-v2-contracts.js.map +1 -1
- package/tools/v2/contracts/edit-credit-v2-contracts.mjs +12 -5
- package/tools/v2/contracts/edit-credit-v2-contracts.mjs.map +1 -1
- package/tools/v2/contracts/edit-v2-contracts.d.mts +16 -3
- package/tools/v2/contracts/edit-v2-contracts.d.mts.map +1 -1
- package/tools/v2/contracts/edit-v2-contracts.d.ts +16 -3
- package/tools/v2/contracts/edit-v2-contracts.d.ts.map +1 -1
- package/tools/v2/contracts/edit-v2-contracts.js +438 -68
- package/tools/v2/contracts/edit-v2-contracts.js.map +1 -1
- package/tools/v2/contracts/edit-v2-contracts.mjs +438 -68
- package/tools/v2/contracts/edit-v2-contracts.mjs.map +1 -1
- package/tools/v2/contracts/get-edit-history-v2-contracts.d.mts +16 -3
- package/tools/v2/contracts/get-edit-history-v2-contracts.d.mts.map +1 -1
- package/tools/v2/contracts/get-edit-history-v2-contracts.d.ts +16 -3
- package/tools/v2/contracts/get-edit-history-v2-contracts.d.ts.map +1 -1
- package/tools/v2/contracts/get-edit-history-v2-contracts.js +6 -3
- package/tools/v2/contracts/get-edit-history-v2-contracts.js.map +1 -1
- package/tools/v2/contracts/get-edit-history-v2-contracts.mjs +6 -3
- package/tools/v2/contracts/get-edit-history-v2-contracts.mjs.map +1 -1
- package/tools/v2/contracts/list-v2-contracts.d.mts +16 -3
- package/tools/v2/contracts/list-v2-contracts.d.mts.map +1 -1
- package/tools/v2/contracts/list-v2-contracts.d.ts +16 -3
- package/tools/v2/contracts/list-v2-contracts.d.ts.map +1 -1
- package/tools/v2/contracts/list-v2-contracts.js +6 -3
- package/tools/v2/contracts/list-v2-contracts.js.map +1 -1
- package/tools/v2/contracts/list-v2-contracts.mjs +6 -3
- package/tools/v2/contracts/list-v2-contracts.mjs.map +1 -1
- package/tools/v2/contracts/retrieve-v2-contracts.d.mts +16 -3
- package/tools/v2/contracts/retrieve-v2-contracts.d.mts.map +1 -1
- package/tools/v2/contracts/retrieve-v2-contracts.d.ts +16 -3
- package/tools/v2/contracts/retrieve-v2-contracts.d.ts.map +1 -1
- package/tools/v2/contracts/retrieve-v2-contracts.js +6 -3
- package/tools/v2/contracts/retrieve-v2-contracts.js.map +1 -1
- package/tools/v2/contracts/retrieve-v2-contracts.mjs +6 -3
- package/tools/v2/contracts/retrieve-v2-contracts.mjs.map +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { asTextContentResult } from '@metronome/mcp/tools/types';
|
|
2
3
|
export const metadata = {
|
|
3
4
|
resource: 'v2.contracts',
|
|
4
5
|
operation: 'write',
|
|
@@ -9,7 +10,7 @@ export const metadata = {
|
|
|
9
10
|
};
|
|
10
11
|
export const tool = {
|
|
11
12
|
name: 'edit_v2_contracts',
|
|
12
|
-
description: '
|
|
13
|
+
description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nEdit a contract. Contract editing must be enabled to use this endpoint.",
|
|
13
14
|
inputSchema: {
|
|
14
15
|
type: 'object',
|
|
15
16
|
properties: {
|
|
@@ -71,14 +72,14 @@ export const tool = {
|
|
|
71
72
|
},
|
|
72
73
|
applicable_product_ids: {
|
|
73
74
|
type: 'array',
|
|
74
|
-
description: 'Which products the commit applies to. If
|
|
75
|
+
description: 'Which products the commit applies to. If applicable_product_ids, applicable_product_tags or specifiers are not provided, the commit applies to all products.',
|
|
75
76
|
items: {
|
|
76
77
|
type: 'string',
|
|
77
78
|
},
|
|
78
79
|
},
|
|
79
80
|
applicable_product_tags: {
|
|
80
81
|
type: 'array',
|
|
81
|
-
description: 'Which tags the commit applies to. If
|
|
82
|
+
description: 'Which tags the commit applies to. If applicable_product_ids, applicable_product_tags or specifiers are not provided, the commit applies to all products.',
|
|
82
83
|
items: {
|
|
83
84
|
type: 'string',
|
|
84
85
|
},
|
|
@@ -90,6 +91,53 @@ export const tool = {
|
|
|
90
91
|
type: 'string',
|
|
91
92
|
description: 'Used only in UI/API. It is not exposed to end customers.',
|
|
92
93
|
},
|
|
94
|
+
hierarchy_configuration: {
|
|
95
|
+
type: 'object',
|
|
96
|
+
description: 'Optional configuration for commit hierarchy access control',
|
|
97
|
+
properties: {
|
|
98
|
+
child_access: {
|
|
99
|
+
anyOf: [
|
|
100
|
+
{
|
|
101
|
+
type: 'object',
|
|
102
|
+
properties: {
|
|
103
|
+
type: {
|
|
104
|
+
type: 'string',
|
|
105
|
+
enum: ['ALL'],
|
|
106
|
+
},
|
|
107
|
+
},
|
|
108
|
+
required: ['type'],
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
type: 'object',
|
|
112
|
+
properties: {
|
|
113
|
+
type: {
|
|
114
|
+
type: 'string',
|
|
115
|
+
enum: ['NONE'],
|
|
116
|
+
},
|
|
117
|
+
},
|
|
118
|
+
required: ['type'],
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
type: 'object',
|
|
122
|
+
properties: {
|
|
123
|
+
contract_ids: {
|
|
124
|
+
type: 'array',
|
|
125
|
+
items: {
|
|
126
|
+
type: 'string',
|
|
127
|
+
},
|
|
128
|
+
},
|
|
129
|
+
type: {
|
|
130
|
+
type: 'string',
|
|
131
|
+
enum: ['CONTRACT_IDS'],
|
|
132
|
+
},
|
|
133
|
+
},
|
|
134
|
+
required: ['contract_ids', 'type'],
|
|
135
|
+
},
|
|
136
|
+
],
|
|
137
|
+
},
|
|
138
|
+
},
|
|
139
|
+
required: ['child_access'],
|
|
140
|
+
},
|
|
93
141
|
invoice_schedule: {
|
|
94
142
|
type: 'object',
|
|
95
143
|
description: 'Required for "POSTPAID" commits: the true up invoice will be generated at this time and only one schedule item is allowed; the total must match access_schedule amount. Optional for "PREPAID" commits: if not provided, this will be a "complimentary" commit with no invoice.',
|
|
@@ -163,7 +211,6 @@ export const tool = {
|
|
|
163
211
|
},
|
|
164
212
|
},
|
|
165
213
|
},
|
|
166
|
-
required: [],
|
|
167
214
|
},
|
|
168
215
|
name: {
|
|
169
216
|
type: 'string',
|
|
@@ -182,22 +229,41 @@ export const tool = {
|
|
|
182
229
|
description: 'Gate access to the commit balance based on successful collection of payment. Select STRIPE for Metronome to facilitate payment via Stripe. Select EXTERNAL to facilitate payment using your own payment integration. Select NONE if you do not wish to payment gate the commit balance.',
|
|
183
230
|
enum: ['NONE', 'STRIPE', 'EXTERNAL'],
|
|
184
231
|
},
|
|
232
|
+
precalculated_tax_config: {
|
|
233
|
+
type: 'object',
|
|
234
|
+
description: 'Only applicable if using PRECALCULATED as your tax type.',
|
|
235
|
+
properties: {
|
|
236
|
+
tax_amount: {
|
|
237
|
+
type: 'number',
|
|
238
|
+
description: "Amount of tax to be applied. This should be in the same currency and denomination as the commit's invoice schedule",
|
|
239
|
+
},
|
|
240
|
+
tax_name: {
|
|
241
|
+
type: 'string',
|
|
242
|
+
description: 'Name of the tax to be applied. This may be used in an invoice line item description.',
|
|
243
|
+
},
|
|
244
|
+
},
|
|
245
|
+
required: ['tax_amount'],
|
|
246
|
+
},
|
|
185
247
|
stripe_config: {
|
|
186
248
|
type: 'object',
|
|
187
|
-
description: 'Only applicable if using
|
|
249
|
+
description: 'Only applicable if using STRIPE as your payment gateway type.',
|
|
188
250
|
properties: {
|
|
189
251
|
payment_type: {
|
|
190
252
|
type: 'string',
|
|
191
253
|
description: 'If left blank, will default to INVOICE',
|
|
192
254
|
enum: ['INVOICE', 'PAYMENT_INTENT'],
|
|
193
255
|
},
|
|
256
|
+
invoice_metadata: {
|
|
257
|
+
type: 'object',
|
|
258
|
+
description: 'Metadata to be added to the Stripe invoice. Only applicable if using INVOICE as your payment type.',
|
|
259
|
+
},
|
|
194
260
|
},
|
|
195
261
|
required: ['payment_type'],
|
|
196
262
|
},
|
|
197
263
|
tax_type: {
|
|
198
264
|
type: 'string',
|
|
199
|
-
description: 'Stripe tax is only supported for Stripe payment gateway. Select NONE if you do not wish
|
|
200
|
-
enum: ['NONE', 'STRIPE'],
|
|
265
|
+
description: 'Stripe tax is only supported for Stripe payment gateway. Select NONE if you do not wish Metronome to calculate tax on your behalf. Leaving this field blank will default to NONE.',
|
|
266
|
+
enum: ['NONE', 'STRIPE', 'ANROK', 'PRECALCULATED'],
|
|
201
267
|
},
|
|
202
268
|
},
|
|
203
269
|
required: ['payment_gate_type'],
|
|
@@ -238,7 +304,6 @@ export const tool = {
|
|
|
238
304
|
},
|
|
239
305
|
},
|
|
240
306
|
},
|
|
241
|
-
required: [],
|
|
242
307
|
},
|
|
243
308
|
},
|
|
244
309
|
temporary_id: {
|
|
@@ -310,6 +375,53 @@ export const tool = {
|
|
|
310
375
|
type: 'string',
|
|
311
376
|
description: 'Used only in UI/API. It is not exposed to end customers.',
|
|
312
377
|
},
|
|
378
|
+
hierarchy_configuration: {
|
|
379
|
+
type: 'object',
|
|
380
|
+
description: 'Optional configuration for credit hierarchy access control',
|
|
381
|
+
properties: {
|
|
382
|
+
child_access: {
|
|
383
|
+
anyOf: [
|
|
384
|
+
{
|
|
385
|
+
type: 'object',
|
|
386
|
+
properties: {
|
|
387
|
+
type: {
|
|
388
|
+
type: 'string',
|
|
389
|
+
enum: ['ALL'],
|
|
390
|
+
},
|
|
391
|
+
},
|
|
392
|
+
required: ['type'],
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
type: 'object',
|
|
396
|
+
properties: {
|
|
397
|
+
type: {
|
|
398
|
+
type: 'string',
|
|
399
|
+
enum: ['NONE'],
|
|
400
|
+
},
|
|
401
|
+
},
|
|
402
|
+
required: ['type'],
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
type: 'object',
|
|
406
|
+
properties: {
|
|
407
|
+
contract_ids: {
|
|
408
|
+
type: 'array',
|
|
409
|
+
items: {
|
|
410
|
+
type: 'string',
|
|
411
|
+
},
|
|
412
|
+
},
|
|
413
|
+
type: {
|
|
414
|
+
type: 'string',
|
|
415
|
+
enum: ['CONTRACT_IDS'],
|
|
416
|
+
},
|
|
417
|
+
},
|
|
418
|
+
required: ['contract_ids', 'type'],
|
|
419
|
+
},
|
|
420
|
+
],
|
|
421
|
+
},
|
|
422
|
+
},
|
|
423
|
+
required: ['child_access'],
|
|
424
|
+
},
|
|
313
425
|
name: {
|
|
314
426
|
type: 'string',
|
|
315
427
|
description: 'displayed on invoices',
|
|
@@ -350,7 +462,6 @@ export const tool = {
|
|
|
350
462
|
},
|
|
351
463
|
},
|
|
352
464
|
},
|
|
353
|
-
required: [],
|
|
354
465
|
},
|
|
355
466
|
},
|
|
356
467
|
},
|
|
@@ -438,7 +549,6 @@ export const tool = {
|
|
|
438
549
|
},
|
|
439
550
|
},
|
|
440
551
|
},
|
|
441
|
-
required: [],
|
|
442
552
|
},
|
|
443
553
|
custom_fields: {
|
|
444
554
|
type: 'object',
|
|
@@ -539,7 +649,6 @@ export const tool = {
|
|
|
539
649
|
},
|
|
540
650
|
},
|
|
541
651
|
},
|
|
542
|
-
required: [],
|
|
543
652
|
},
|
|
544
653
|
},
|
|
545
654
|
overwrite_rate: {
|
|
@@ -629,14 +738,14 @@ export const tool = {
|
|
|
629
738
|
},
|
|
630
739
|
applicable_product_ids: {
|
|
631
740
|
type: 'array',
|
|
632
|
-
description: 'Which products the threshold commit applies to. If
|
|
741
|
+
description: 'Which products the threshold commit applies to. If applicable_product_ids, applicable_product_tags or specifiers are not provided, the commit applies to all products.',
|
|
633
742
|
items: {
|
|
634
743
|
type: 'string',
|
|
635
744
|
},
|
|
636
745
|
},
|
|
637
746
|
applicable_product_tags: {
|
|
638
747
|
type: 'array',
|
|
639
|
-
description: 'Which tags the threshold commit applies to. If
|
|
748
|
+
description: 'Which tags the threshold commit applies to. If applicable_product_ids, applicable_product_tags or specifiers are not provided, the commit applies to all products.',
|
|
640
749
|
items: {
|
|
641
750
|
type: 'string',
|
|
642
751
|
},
|
|
@@ -672,7 +781,6 @@ export const tool = {
|
|
|
672
781
|
},
|
|
673
782
|
},
|
|
674
783
|
},
|
|
675
|
-
required: [],
|
|
676
784
|
},
|
|
677
785
|
},
|
|
678
786
|
},
|
|
@@ -690,22 +798,41 @@ export const tool = {
|
|
|
690
798
|
description: 'Gate access to the commit balance based on successful collection of payment. Select STRIPE for Metronome to facilitate payment via Stripe. Select EXTERNAL to facilitate payment using your own payment integration. Select NONE if you do not wish to payment gate the commit balance.',
|
|
691
799
|
enum: ['NONE', 'STRIPE', 'EXTERNAL'],
|
|
692
800
|
},
|
|
801
|
+
precalculated_tax_config: {
|
|
802
|
+
type: 'object',
|
|
803
|
+
description: 'Only applicable if using PRECALCULATED as your tax type.',
|
|
804
|
+
properties: {
|
|
805
|
+
tax_amount: {
|
|
806
|
+
type: 'number',
|
|
807
|
+
description: "Amount of tax to be applied. This should be in the same currency and denomination as the commit's invoice schedule",
|
|
808
|
+
},
|
|
809
|
+
tax_name: {
|
|
810
|
+
type: 'string',
|
|
811
|
+
description: 'Name of the tax to be applied. This may be used in an invoice line item description.',
|
|
812
|
+
},
|
|
813
|
+
},
|
|
814
|
+
required: ['tax_amount'],
|
|
815
|
+
},
|
|
693
816
|
stripe_config: {
|
|
694
817
|
type: 'object',
|
|
695
|
-
description: 'Only applicable if using
|
|
818
|
+
description: 'Only applicable if using STRIPE as your payment gateway type.',
|
|
696
819
|
properties: {
|
|
697
820
|
payment_type: {
|
|
698
821
|
type: 'string',
|
|
699
822
|
description: 'If left blank, will default to INVOICE',
|
|
700
823
|
enum: ['INVOICE', 'PAYMENT_INTENT'],
|
|
701
824
|
},
|
|
825
|
+
invoice_metadata: {
|
|
826
|
+
type: 'object',
|
|
827
|
+
description: 'Metadata to be added to the Stripe invoice. Only applicable if using INVOICE as your payment type.',
|
|
828
|
+
},
|
|
702
829
|
},
|
|
703
830
|
required: ['payment_type'],
|
|
704
831
|
},
|
|
705
832
|
tax_type: {
|
|
706
833
|
type: 'string',
|
|
707
|
-
description: 'Stripe tax is only supported for Stripe payment gateway. Select NONE if you do not wish
|
|
708
|
-
enum: ['NONE', 'STRIPE'],
|
|
834
|
+
description: 'Stripe tax is only supported for Stripe payment gateway. Select NONE if you do not wish Metronome to calculate tax on your behalf. Leaving this field blank will default to NONE.',
|
|
835
|
+
enum: ['NONE', 'STRIPE', 'ANROK', 'PRECALCULATED'],
|
|
709
836
|
},
|
|
710
837
|
},
|
|
711
838
|
required: ['payment_gate_type'],
|
|
@@ -718,6 +845,10 @@ export const tool = {
|
|
|
718
845
|
type: 'number',
|
|
719
846
|
description: "Specify the threshold amount for the contract. Each time the contract's balance lowers to this amount, a threshold charge will be initiated.",
|
|
720
847
|
},
|
|
848
|
+
custom_credit_type_id: {
|
|
849
|
+
type: 'string',
|
|
850
|
+
description: 'If provided, the threshold, recharge-to amount, and the resulting threshold commit amount will be in terms of this credit type instead of the fiat currency.',
|
|
851
|
+
},
|
|
721
852
|
},
|
|
722
853
|
required: ['commit', 'is_enabled', 'payment_gate_config', 'recharge_to_amount', 'threshold_amount'],
|
|
723
854
|
},
|
|
@@ -768,28 +899,29 @@ export const tool = {
|
|
|
768
899
|
credit_type_id: {
|
|
769
900
|
type: 'string',
|
|
770
901
|
},
|
|
771
|
-
|
|
902
|
+
unit_price: {
|
|
772
903
|
type: 'number',
|
|
773
904
|
},
|
|
774
|
-
|
|
905
|
+
quantity: {
|
|
775
906
|
type: 'number',
|
|
907
|
+
description: 'This field is currently required. Upcoming recurring commit/credit configuration options will allow it to be optional.',
|
|
776
908
|
},
|
|
777
909
|
},
|
|
778
|
-
required: ['credit_type_id', '
|
|
910
|
+
required: ['credit_type_id', 'unit_price'],
|
|
779
911
|
},
|
|
780
912
|
commit_duration: {
|
|
781
913
|
type: 'object',
|
|
782
|
-
description: 'The
|
|
914
|
+
description: 'Defines the length of the access schedule for each created commit/credit. The value represents the number of units. Unit defaults to "PERIODS", where the length of a period is determined by the recurrence_frequency.',
|
|
783
915
|
properties: {
|
|
916
|
+
value: {
|
|
917
|
+
type: 'number',
|
|
918
|
+
},
|
|
784
919
|
unit: {
|
|
785
920
|
type: 'string',
|
|
786
921
|
enum: ['PERIODS'],
|
|
787
922
|
},
|
|
788
|
-
value: {
|
|
789
|
-
type: 'number',
|
|
790
|
-
},
|
|
791
923
|
},
|
|
792
|
-
required: ['
|
|
924
|
+
required: ['value'],
|
|
793
925
|
},
|
|
794
926
|
priority: {
|
|
795
927
|
type: 'number',
|
|
@@ -826,6 +958,53 @@ export const tool = {
|
|
|
826
958
|
description: 'Determines when the contract will stop creating recurring commits. optional',
|
|
827
959
|
format: 'date-time',
|
|
828
960
|
},
|
|
961
|
+
hierarchy_configuration: {
|
|
962
|
+
type: 'object',
|
|
963
|
+
description: 'Optional configuration for recurring commit/credit hierarchy access control',
|
|
964
|
+
properties: {
|
|
965
|
+
child_access: {
|
|
966
|
+
anyOf: [
|
|
967
|
+
{
|
|
968
|
+
type: 'object',
|
|
969
|
+
properties: {
|
|
970
|
+
type: {
|
|
971
|
+
type: 'string',
|
|
972
|
+
enum: ['ALL'],
|
|
973
|
+
},
|
|
974
|
+
},
|
|
975
|
+
required: ['type'],
|
|
976
|
+
},
|
|
977
|
+
{
|
|
978
|
+
type: 'object',
|
|
979
|
+
properties: {
|
|
980
|
+
type: {
|
|
981
|
+
type: 'string',
|
|
982
|
+
enum: ['NONE'],
|
|
983
|
+
},
|
|
984
|
+
},
|
|
985
|
+
required: ['type'],
|
|
986
|
+
},
|
|
987
|
+
{
|
|
988
|
+
type: 'object',
|
|
989
|
+
properties: {
|
|
990
|
+
contract_ids: {
|
|
991
|
+
type: 'array',
|
|
992
|
+
items: {
|
|
993
|
+
type: 'string',
|
|
994
|
+
},
|
|
995
|
+
},
|
|
996
|
+
type: {
|
|
997
|
+
type: 'string',
|
|
998
|
+
enum: ['CONTRACT_IDS'],
|
|
999
|
+
},
|
|
1000
|
+
},
|
|
1001
|
+
required: ['contract_ids', 'type'],
|
|
1002
|
+
},
|
|
1003
|
+
],
|
|
1004
|
+
},
|
|
1005
|
+
},
|
|
1006
|
+
required: ['child_access'],
|
|
1007
|
+
},
|
|
829
1008
|
invoice_amount: {
|
|
830
1009
|
type: 'object',
|
|
831
1010
|
description: 'The amount the customer should be billed for the commit. Not required.',
|
|
@@ -893,7 +1072,6 @@ export const tool = {
|
|
|
893
1072
|
},
|
|
894
1073
|
},
|
|
895
1074
|
},
|
|
896
|
-
required: [],
|
|
897
1075
|
},
|
|
898
1076
|
},
|
|
899
1077
|
temporary_id: {
|
|
@@ -916,28 +1094,29 @@ export const tool = {
|
|
|
916
1094
|
credit_type_id: {
|
|
917
1095
|
type: 'string',
|
|
918
1096
|
},
|
|
919
|
-
|
|
1097
|
+
unit_price: {
|
|
920
1098
|
type: 'number',
|
|
921
1099
|
},
|
|
922
|
-
|
|
1100
|
+
quantity: {
|
|
923
1101
|
type: 'number',
|
|
1102
|
+
description: 'This field is currently required. Upcoming recurring commit/credit configuration options will allow it to be optional.',
|
|
924
1103
|
},
|
|
925
1104
|
},
|
|
926
|
-
required: ['credit_type_id', '
|
|
1105
|
+
required: ['credit_type_id', 'unit_price'],
|
|
927
1106
|
},
|
|
928
1107
|
commit_duration: {
|
|
929
1108
|
type: 'object',
|
|
930
|
-
description: 'The
|
|
1109
|
+
description: 'Defines the length of the access schedule for each created commit/credit. The value represents the number of units. Unit defaults to "PERIODS", where the length of a period is determined by the recurrence_frequency.',
|
|
931
1110
|
properties: {
|
|
1111
|
+
value: {
|
|
1112
|
+
type: 'number',
|
|
1113
|
+
},
|
|
932
1114
|
unit: {
|
|
933
1115
|
type: 'string',
|
|
934
1116
|
enum: ['PERIODS'],
|
|
935
1117
|
},
|
|
936
|
-
value: {
|
|
937
|
-
type: 'number',
|
|
938
|
-
},
|
|
939
1118
|
},
|
|
940
|
-
required: ['
|
|
1119
|
+
required: ['value'],
|
|
941
1120
|
},
|
|
942
1121
|
priority: {
|
|
943
1122
|
type: 'number',
|
|
@@ -974,6 +1153,53 @@ export const tool = {
|
|
|
974
1153
|
description: 'Determines when the contract will stop creating recurring commits. optional',
|
|
975
1154
|
format: 'date-time',
|
|
976
1155
|
},
|
|
1156
|
+
hierarchy_configuration: {
|
|
1157
|
+
type: 'object',
|
|
1158
|
+
description: 'Optional configuration for recurring commit/credit hierarchy access control',
|
|
1159
|
+
properties: {
|
|
1160
|
+
child_access: {
|
|
1161
|
+
anyOf: [
|
|
1162
|
+
{
|
|
1163
|
+
type: 'object',
|
|
1164
|
+
properties: {
|
|
1165
|
+
type: {
|
|
1166
|
+
type: 'string',
|
|
1167
|
+
enum: ['ALL'],
|
|
1168
|
+
},
|
|
1169
|
+
},
|
|
1170
|
+
required: ['type'],
|
|
1171
|
+
},
|
|
1172
|
+
{
|
|
1173
|
+
type: 'object',
|
|
1174
|
+
properties: {
|
|
1175
|
+
type: {
|
|
1176
|
+
type: 'string',
|
|
1177
|
+
enum: ['NONE'],
|
|
1178
|
+
},
|
|
1179
|
+
},
|
|
1180
|
+
required: ['type'],
|
|
1181
|
+
},
|
|
1182
|
+
{
|
|
1183
|
+
type: 'object',
|
|
1184
|
+
properties: {
|
|
1185
|
+
contract_ids: {
|
|
1186
|
+
type: 'array',
|
|
1187
|
+
items: {
|
|
1188
|
+
type: 'string',
|
|
1189
|
+
},
|
|
1190
|
+
},
|
|
1191
|
+
type: {
|
|
1192
|
+
type: 'string',
|
|
1193
|
+
enum: ['CONTRACT_IDS'],
|
|
1194
|
+
},
|
|
1195
|
+
},
|
|
1196
|
+
required: ['contract_ids', 'type'],
|
|
1197
|
+
},
|
|
1198
|
+
],
|
|
1199
|
+
},
|
|
1200
|
+
},
|
|
1201
|
+
required: ['child_access'],
|
|
1202
|
+
},
|
|
977
1203
|
name: {
|
|
978
1204
|
type: 'string',
|
|
979
1205
|
description: 'displayed on invoices. will be passed through to the individual commits',
|
|
@@ -1025,7 +1251,6 @@ export const tool = {
|
|
|
1025
1251
|
},
|
|
1026
1252
|
},
|
|
1027
1253
|
},
|
|
1028
|
-
required: [],
|
|
1029
1254
|
},
|
|
1030
1255
|
},
|
|
1031
1256
|
temporary_id: {
|
|
@@ -1072,7 +1297,6 @@ export const tool = {
|
|
|
1072
1297
|
type: 'string',
|
|
1073
1298
|
},
|
|
1074
1299
|
},
|
|
1075
|
-
required: [],
|
|
1076
1300
|
},
|
|
1077
1301
|
ending_before: {
|
|
1078
1302
|
type: 'string',
|
|
@@ -1092,7 +1316,6 @@ export const tool = {
|
|
|
1092
1316
|
type: 'string',
|
|
1093
1317
|
},
|
|
1094
1318
|
},
|
|
1095
|
-
required: [],
|
|
1096
1319
|
},
|
|
1097
1320
|
netsuite_reseller_id: {
|
|
1098
1321
|
type: 'string',
|
|
@@ -1189,7 +1412,6 @@ export const tool = {
|
|
|
1189
1412
|
},
|
|
1190
1413
|
},
|
|
1191
1414
|
},
|
|
1192
|
-
required: [],
|
|
1193
1415
|
},
|
|
1194
1416
|
name: {
|
|
1195
1417
|
type: 'string',
|
|
@@ -1235,22 +1457,41 @@ export const tool = {
|
|
|
1235
1457
|
description: 'Gate access to the commit balance based on successful collection of payment. Select STRIPE for Metronome to facilitate payment via Stripe. Select EXTERNAL to facilitate payment using your own payment integration. Select NONE if you do not wish to payment gate the commit balance.',
|
|
1236
1458
|
enum: ['NONE', 'STRIPE', 'EXTERNAL'],
|
|
1237
1459
|
},
|
|
1460
|
+
precalculated_tax_config: {
|
|
1461
|
+
type: 'object',
|
|
1462
|
+
description: 'Only applicable if using PRECALCULATED as your tax type.',
|
|
1463
|
+
properties: {
|
|
1464
|
+
tax_amount: {
|
|
1465
|
+
type: 'number',
|
|
1466
|
+
description: "Amount of tax to be applied. This should be in the same currency and denomination as the commit's invoice schedule",
|
|
1467
|
+
},
|
|
1468
|
+
tax_name: {
|
|
1469
|
+
type: 'string',
|
|
1470
|
+
description: 'Name of the tax to be applied. This may be used in an invoice line item description.',
|
|
1471
|
+
},
|
|
1472
|
+
},
|
|
1473
|
+
required: ['tax_amount'],
|
|
1474
|
+
},
|
|
1238
1475
|
stripe_config: {
|
|
1239
1476
|
type: 'object',
|
|
1240
|
-
description: 'Only applicable if using
|
|
1477
|
+
description: 'Only applicable if using STRIPE as your payment gateway type.',
|
|
1241
1478
|
properties: {
|
|
1242
1479
|
payment_type: {
|
|
1243
1480
|
type: 'string',
|
|
1244
1481
|
description: 'If left blank, will default to INVOICE',
|
|
1245
1482
|
enum: ['INVOICE', 'PAYMENT_INTENT'],
|
|
1246
1483
|
},
|
|
1484
|
+
invoice_metadata: {
|
|
1485
|
+
type: 'object',
|
|
1486
|
+
description: 'Metadata to be added to the Stripe invoice. Only applicable if using INVOICE as your payment type.',
|
|
1487
|
+
},
|
|
1247
1488
|
},
|
|
1248
1489
|
required: ['payment_type'],
|
|
1249
1490
|
},
|
|
1250
1491
|
tax_type: {
|
|
1251
1492
|
type: 'string',
|
|
1252
|
-
description: 'Stripe tax is only supported for Stripe payment gateway. Select NONE if you do not wish
|
|
1253
|
-
enum: ['NONE', 'STRIPE'],
|
|
1493
|
+
description: 'Stripe tax is only supported for Stripe payment gateway. Select NONE if you do not wish Metronome to calculate tax on your behalf. Leaving this field blank will default to NONE.',
|
|
1494
|
+
enum: ['NONE', 'STRIPE', 'ANROK', 'PRECALCULATED'],
|
|
1254
1495
|
},
|
|
1255
1496
|
},
|
|
1256
1497
|
required: ['payment_gate_type'],
|
|
@@ -1264,7 +1505,7 @@ export const tool = {
|
|
|
1264
1505
|
},
|
|
1265
1506
|
add_subscriptions: {
|
|
1266
1507
|
type: 'array',
|
|
1267
|
-
description: '
|
|
1508
|
+
description: 'Optional list of [subscriptions](https://docs.metronome.com/manage-product-access/create-subscription/) to add to the contract.',
|
|
1268
1509
|
items: {
|
|
1269
1510
|
type: 'object',
|
|
1270
1511
|
properties: {
|
|
@@ -1288,7 +1529,6 @@ export const tool = {
|
|
|
1288
1529
|
description: 'Indicates if the partial period will be prorated or charged a full amount.',
|
|
1289
1530
|
},
|
|
1290
1531
|
},
|
|
1291
|
-
required: [],
|
|
1292
1532
|
},
|
|
1293
1533
|
subscription_rate: {
|
|
1294
1534
|
type: 'object',
|
|
@@ -1451,22 +1691,68 @@ export const tool = {
|
|
|
1451
1691
|
},
|
|
1452
1692
|
},
|
|
1453
1693
|
},
|
|
1454
|
-
required: [],
|
|
1455
1694
|
},
|
|
1456
1695
|
applicable_product_ids: {
|
|
1457
1696
|
type: 'array',
|
|
1458
|
-
description: 'Which products the commit applies to. If
|
|
1697
|
+
description: 'Which products the commit applies to. If applicable_product_ids, applicable_product_tags or specifiers are not provided, the commit applies to all products.',
|
|
1459
1698
|
items: {
|
|
1460
1699
|
type: 'string',
|
|
1461
1700
|
},
|
|
1462
1701
|
},
|
|
1463
1702
|
applicable_product_tags: {
|
|
1464
1703
|
type: 'array',
|
|
1465
|
-
description: 'Which tags the commit applies to. If
|
|
1704
|
+
description: 'Which tags the commit applies to. If applicable_product_ids, applicable_product_tags or specifiers are not provided, the commit applies to all products.',
|
|
1466
1705
|
items: {
|
|
1467
1706
|
type: 'string',
|
|
1468
1707
|
},
|
|
1469
1708
|
},
|
|
1709
|
+
hierarchy_configuration: {
|
|
1710
|
+
type: 'object',
|
|
1711
|
+
description: 'Optional configuration for commit hierarchy access control',
|
|
1712
|
+
properties: {
|
|
1713
|
+
child_access: {
|
|
1714
|
+
anyOf: [
|
|
1715
|
+
{
|
|
1716
|
+
type: 'object',
|
|
1717
|
+
properties: {
|
|
1718
|
+
type: {
|
|
1719
|
+
type: 'string',
|
|
1720
|
+
enum: ['ALL'],
|
|
1721
|
+
},
|
|
1722
|
+
},
|
|
1723
|
+
required: ['type'],
|
|
1724
|
+
},
|
|
1725
|
+
{
|
|
1726
|
+
type: 'object',
|
|
1727
|
+
properties: {
|
|
1728
|
+
type: {
|
|
1729
|
+
type: 'string',
|
|
1730
|
+
enum: ['NONE'],
|
|
1731
|
+
},
|
|
1732
|
+
},
|
|
1733
|
+
required: ['type'],
|
|
1734
|
+
},
|
|
1735
|
+
{
|
|
1736
|
+
type: 'object',
|
|
1737
|
+
properties: {
|
|
1738
|
+
contract_ids: {
|
|
1739
|
+
type: 'array',
|
|
1740
|
+
items: {
|
|
1741
|
+
type: 'string',
|
|
1742
|
+
},
|
|
1743
|
+
},
|
|
1744
|
+
type: {
|
|
1745
|
+
type: 'string',
|
|
1746
|
+
enum: ['CONTRACT_IDS'],
|
|
1747
|
+
},
|
|
1748
|
+
},
|
|
1749
|
+
required: ['contract_ids', 'type'],
|
|
1750
|
+
},
|
|
1751
|
+
],
|
|
1752
|
+
},
|
|
1753
|
+
},
|
|
1754
|
+
required: ['child_access'],
|
|
1755
|
+
},
|
|
1470
1756
|
invoice_schedule: {
|
|
1471
1757
|
type: 'object',
|
|
1472
1758
|
properties: {
|
|
@@ -1530,7 +1816,6 @@ export const tool = {
|
|
|
1530
1816
|
},
|
|
1531
1817
|
},
|
|
1532
1818
|
},
|
|
1533
|
-
required: [],
|
|
1534
1819
|
},
|
|
1535
1820
|
netsuite_sales_order_id: {
|
|
1536
1821
|
type: 'string',
|
|
@@ -1550,6 +1835,10 @@ export const tool = {
|
|
|
1550
1835
|
description: 'RFC 3339 timestamp indicating when the contract will end (exclusive).',
|
|
1551
1836
|
format: 'date-time',
|
|
1552
1837
|
},
|
|
1838
|
+
update_contract_name: {
|
|
1839
|
+
type: 'string',
|
|
1840
|
+
description: 'Value to update the contract name to. If not provided, the contract name will remain unchanged.',
|
|
1841
|
+
},
|
|
1553
1842
|
update_credits: {
|
|
1554
1843
|
type: 'array',
|
|
1555
1844
|
items: {
|
|
@@ -1617,22 +1906,68 @@ export const tool = {
|
|
|
1617
1906
|
},
|
|
1618
1907
|
},
|
|
1619
1908
|
},
|
|
1620
|
-
required: [],
|
|
1621
1909
|
},
|
|
1622
1910
|
applicable_product_ids: {
|
|
1623
1911
|
type: 'array',
|
|
1624
|
-
description: 'Which products the commit applies to. If
|
|
1912
|
+
description: 'Which products the commit applies to. If applicable_product_ids, applicable_product_tags or specifiers are not provided, the commit applies to all products.',
|
|
1625
1913
|
items: {
|
|
1626
1914
|
type: 'string',
|
|
1627
1915
|
},
|
|
1628
1916
|
},
|
|
1629
1917
|
applicable_product_tags: {
|
|
1630
1918
|
type: 'array',
|
|
1631
|
-
description: 'Which tags the commit applies to. If
|
|
1919
|
+
description: 'Which tags the commit applies to. If applicable_product_ids, applicable_product_tags or specifiers are not provided, the commit applies to all products.',
|
|
1632
1920
|
items: {
|
|
1633
1921
|
type: 'string',
|
|
1634
1922
|
},
|
|
1635
1923
|
},
|
|
1924
|
+
hierarchy_configuration: {
|
|
1925
|
+
type: 'object',
|
|
1926
|
+
description: 'Optional configuration for commit hierarchy access control',
|
|
1927
|
+
properties: {
|
|
1928
|
+
child_access: {
|
|
1929
|
+
anyOf: [
|
|
1930
|
+
{
|
|
1931
|
+
type: 'object',
|
|
1932
|
+
properties: {
|
|
1933
|
+
type: {
|
|
1934
|
+
type: 'string',
|
|
1935
|
+
enum: ['ALL'],
|
|
1936
|
+
},
|
|
1937
|
+
},
|
|
1938
|
+
required: ['type'],
|
|
1939
|
+
},
|
|
1940
|
+
{
|
|
1941
|
+
type: 'object',
|
|
1942
|
+
properties: {
|
|
1943
|
+
type: {
|
|
1944
|
+
type: 'string',
|
|
1945
|
+
enum: ['NONE'],
|
|
1946
|
+
},
|
|
1947
|
+
},
|
|
1948
|
+
required: ['type'],
|
|
1949
|
+
},
|
|
1950
|
+
{
|
|
1951
|
+
type: 'object',
|
|
1952
|
+
properties: {
|
|
1953
|
+
contract_ids: {
|
|
1954
|
+
type: 'array',
|
|
1955
|
+
items: {
|
|
1956
|
+
type: 'string',
|
|
1957
|
+
},
|
|
1958
|
+
},
|
|
1959
|
+
type: {
|
|
1960
|
+
type: 'string',
|
|
1961
|
+
enum: ['CONTRACT_IDS'],
|
|
1962
|
+
},
|
|
1963
|
+
},
|
|
1964
|
+
required: ['contract_ids', 'type'],
|
|
1965
|
+
},
|
|
1966
|
+
],
|
|
1967
|
+
},
|
|
1968
|
+
},
|
|
1969
|
+
required: ['child_access'],
|
|
1970
|
+
},
|
|
1636
1971
|
netsuite_sales_order_id: {
|
|
1637
1972
|
type: 'string',
|
|
1638
1973
|
},
|
|
@@ -1698,11 +2033,13 @@ export const tool = {
|
|
|
1698
2033
|
},
|
|
1699
2034
|
},
|
|
1700
2035
|
},
|
|
1701
|
-
required: [],
|
|
1702
2036
|
},
|
|
1703
2037
|
},
|
|
1704
2038
|
},
|
|
1705
|
-
|
|
2039
|
+
},
|
|
2040
|
+
custom_credit_type_id: {
|
|
2041
|
+
type: 'string',
|
|
2042
|
+
description: 'If provided, the threshold, recharge-to amount, and the resulting threshold commit amount will be in terms of this credit type instead of the fiat currency.',
|
|
1706
2043
|
},
|
|
1707
2044
|
is_enabled: {
|
|
1708
2045
|
type: 'boolean',
|
|
@@ -1716,22 +2053,41 @@ export const tool = {
|
|
|
1716
2053
|
description: 'Gate access to the commit balance based on successful collection of payment. Select STRIPE for Metronome to facilitate payment via Stripe. Select EXTERNAL to facilitate payment using your own payment integration. Select NONE if you do not wish to payment gate the commit balance.',
|
|
1717
2054
|
enum: ['NONE', 'STRIPE', 'EXTERNAL'],
|
|
1718
2055
|
},
|
|
2056
|
+
precalculated_tax_config: {
|
|
2057
|
+
type: 'object',
|
|
2058
|
+
description: 'Only applicable if using PRECALCULATED as your tax type.',
|
|
2059
|
+
properties: {
|
|
2060
|
+
tax_amount: {
|
|
2061
|
+
type: 'number',
|
|
2062
|
+
description: "Amount of tax to be applied. This should be in the same currency and denomination as the commit's invoice schedule",
|
|
2063
|
+
},
|
|
2064
|
+
tax_name: {
|
|
2065
|
+
type: 'string',
|
|
2066
|
+
description: 'Name of the tax to be applied. This may be used in an invoice line item description.',
|
|
2067
|
+
},
|
|
2068
|
+
},
|
|
2069
|
+
required: ['tax_amount'],
|
|
2070
|
+
},
|
|
1719
2071
|
stripe_config: {
|
|
1720
2072
|
type: 'object',
|
|
1721
|
-
description: 'Only applicable if using
|
|
2073
|
+
description: 'Only applicable if using STRIPE as your payment gateway type.',
|
|
1722
2074
|
properties: {
|
|
1723
2075
|
payment_type: {
|
|
1724
2076
|
type: 'string',
|
|
1725
2077
|
description: 'If left blank, will default to INVOICE',
|
|
1726
2078
|
enum: ['INVOICE', 'PAYMENT_INTENT'],
|
|
1727
2079
|
},
|
|
2080
|
+
invoice_metadata: {
|
|
2081
|
+
type: 'object',
|
|
2082
|
+
description: 'Metadata to be added to the Stripe invoice. Only applicable if using INVOICE as your payment type.',
|
|
2083
|
+
},
|
|
1728
2084
|
},
|
|
1729
2085
|
required: ['payment_type'],
|
|
1730
2086
|
},
|
|
1731
2087
|
tax_type: {
|
|
1732
2088
|
type: 'string',
|
|
1733
|
-
description: 'Stripe tax is only supported for Stripe payment gateway. Select NONE if you do not wish
|
|
1734
|
-
enum: ['NONE', 'STRIPE'],
|
|
2089
|
+
description: 'Stripe tax is only supported for Stripe payment gateway. Select NONE if you do not wish Metronome to calculate tax on your behalf. Leaving this field blank will default to NONE.',
|
|
2090
|
+
enum: ['NONE', 'STRIPE', 'ANROK', 'PRECALCULATED'],
|
|
1735
2091
|
},
|
|
1736
2092
|
},
|
|
1737
2093
|
required: ['payment_gate_type'],
|
|
@@ -1745,7 +2101,6 @@ export const tool = {
|
|
|
1745
2101
|
description: "Specify the threshold amount for the contract. Each time the contract's balance lowers to this amount, a threshold charge will be initiated.",
|
|
1746
2102
|
},
|
|
1747
2103
|
},
|
|
1748
|
-
required: [],
|
|
1749
2104
|
},
|
|
1750
2105
|
update_recurring_commits: {
|
|
1751
2106
|
type: 'array',
|
|
@@ -1766,7 +2121,6 @@ export const tool = {
|
|
|
1766
2121
|
type: 'number',
|
|
1767
2122
|
},
|
|
1768
2123
|
},
|
|
1769
|
-
required: [],
|
|
1770
2124
|
},
|
|
1771
2125
|
ending_before: {
|
|
1772
2126
|
type: 'string',
|
|
@@ -1782,7 +2136,6 @@ export const tool = {
|
|
|
1782
2136
|
type: 'number',
|
|
1783
2137
|
},
|
|
1784
2138
|
},
|
|
1785
|
-
required: [],
|
|
1786
2139
|
},
|
|
1787
2140
|
},
|
|
1788
2141
|
required: ['recurring_commit_id'],
|
|
@@ -1807,7 +2160,6 @@ export const tool = {
|
|
|
1807
2160
|
type: 'number',
|
|
1808
2161
|
},
|
|
1809
2162
|
},
|
|
1810
|
-
required: [],
|
|
1811
2163
|
},
|
|
1812
2164
|
ending_before: {
|
|
1813
2165
|
type: 'string',
|
|
@@ -1888,7 +2240,6 @@ export const tool = {
|
|
|
1888
2240
|
},
|
|
1889
2241
|
},
|
|
1890
2242
|
},
|
|
1891
|
-
required: [],
|
|
1892
2243
|
},
|
|
1893
2244
|
netsuite_sales_order_id: {
|
|
1894
2245
|
type: 'string',
|
|
@@ -1915,7 +2266,6 @@ export const tool = {
|
|
|
1915
2266
|
description: 'The commit product that will be used to generate the line item for commit payment.',
|
|
1916
2267
|
},
|
|
1917
2268
|
},
|
|
1918
|
-
required: [],
|
|
1919
2269
|
},
|
|
1920
2270
|
is_enabled: {
|
|
1921
2271
|
type: 'boolean',
|
|
@@ -1929,22 +2279,41 @@ export const tool = {
|
|
|
1929
2279
|
description: 'Gate access to the commit balance based on successful collection of payment. Select STRIPE for Metronome to facilitate payment via Stripe. Select EXTERNAL to facilitate payment using your own payment integration. Select NONE if you do not wish to payment gate the commit balance.',
|
|
1930
2280
|
enum: ['NONE', 'STRIPE', 'EXTERNAL'],
|
|
1931
2281
|
},
|
|
2282
|
+
precalculated_tax_config: {
|
|
2283
|
+
type: 'object',
|
|
2284
|
+
description: 'Only applicable if using PRECALCULATED as your tax type.',
|
|
2285
|
+
properties: {
|
|
2286
|
+
tax_amount: {
|
|
2287
|
+
type: 'number',
|
|
2288
|
+
description: "Amount of tax to be applied. This should be in the same currency and denomination as the commit's invoice schedule",
|
|
2289
|
+
},
|
|
2290
|
+
tax_name: {
|
|
2291
|
+
type: 'string',
|
|
2292
|
+
description: 'Name of the tax to be applied. This may be used in an invoice line item description.',
|
|
2293
|
+
},
|
|
2294
|
+
},
|
|
2295
|
+
required: ['tax_amount'],
|
|
2296
|
+
},
|
|
1932
2297
|
stripe_config: {
|
|
1933
2298
|
type: 'object',
|
|
1934
|
-
description: 'Only applicable if using
|
|
2299
|
+
description: 'Only applicable if using STRIPE as your payment gateway type.',
|
|
1935
2300
|
properties: {
|
|
1936
2301
|
payment_type: {
|
|
1937
2302
|
type: 'string',
|
|
1938
2303
|
description: 'If left blank, will default to INVOICE',
|
|
1939
2304
|
enum: ['INVOICE', 'PAYMENT_INTENT'],
|
|
1940
2305
|
},
|
|
2306
|
+
invoice_metadata: {
|
|
2307
|
+
type: 'object',
|
|
2308
|
+
description: 'Metadata to be added to the Stripe invoice. Only applicable if using INVOICE as your payment type.',
|
|
2309
|
+
},
|
|
1941
2310
|
},
|
|
1942
2311
|
required: ['payment_type'],
|
|
1943
2312
|
},
|
|
1944
2313
|
tax_type: {
|
|
1945
2314
|
type: 'string',
|
|
1946
|
-
description: 'Stripe tax is only supported for Stripe payment gateway. Select NONE if you do not wish
|
|
1947
|
-
enum: ['NONE', 'STRIPE'],
|
|
2315
|
+
description: 'Stripe tax is only supported for Stripe payment gateway. Select NONE if you do not wish Metronome to calculate tax on your behalf. Leaving this field blank will default to NONE.',
|
|
2316
|
+
enum: ['NONE', 'STRIPE', 'ANROK', 'PRECALCULATED'],
|
|
1948
2317
|
},
|
|
1949
2318
|
},
|
|
1950
2319
|
required: ['payment_gate_type'],
|
|
@@ -1954,11 +2323,10 @@ export const tool = {
|
|
|
1954
2323
|
description: "Specify the threshold amount for the contract. Each time the contract's usage hits this amount, a threshold charge will be initiated.",
|
|
1955
2324
|
},
|
|
1956
2325
|
},
|
|
1957
|
-
required: [],
|
|
1958
2326
|
},
|
|
1959
2327
|
update_subscriptions: {
|
|
1960
2328
|
type: 'array',
|
|
1961
|
-
description: '
|
|
2329
|
+
description: 'Optional list of subscriptions to update.',
|
|
1962
2330
|
items: {
|
|
1963
2331
|
type: 'object',
|
|
1964
2332
|
properties: {
|
|
@@ -1996,6 +2364,7 @@ export const tool = {
|
|
|
1996
2364
|
},
|
|
1997
2365
|
},
|
|
1998
2366
|
},
|
|
2367
|
+
required: ['contract_id', 'customer_id'],
|
|
1999
2368
|
$defs: {
|
|
2000
2369
|
tier: {
|
|
2001
2370
|
type: 'object',
|
|
@@ -2011,10 +2380,11 @@ export const tool = {
|
|
|
2011
2380
|
},
|
|
2012
2381
|
},
|
|
2013
2382
|
},
|
|
2383
|
+
annotations: {},
|
|
2014
2384
|
};
|
|
2015
|
-
export const handler = (client, args) => {
|
|
2385
|
+
export const handler = async (client, args) => {
|
|
2016
2386
|
const body = args;
|
|
2017
|
-
return client.v2.contracts.edit(body);
|
|
2387
|
+
return asTextContentResult(await client.v2.contracts.edit(body));
|
|
2018
2388
|
};
|
|
2019
2389
|
export default { metadata, tool, handler };
|
|
2020
2390
|
//# sourceMappingURL=edit-v2-contracts.mjs.map
|