@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
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.handler = exports.tool = exports.metadata = void 0;
|
|
5
|
+
const types_1 = require("@metronome/mcp/tools/types");
|
|
5
6
|
exports.metadata = {
|
|
6
7
|
resource: 'v2.contracts',
|
|
7
8
|
operation: 'write',
|
|
@@ -12,7 +13,7 @@ exports.metadata = {
|
|
|
12
13
|
};
|
|
13
14
|
exports.tool = {
|
|
14
15
|
name: 'edit_v2_contracts',
|
|
15
|
-
description: '
|
|
16
|
+
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.",
|
|
16
17
|
inputSchema: {
|
|
17
18
|
type: 'object',
|
|
18
19
|
properties: {
|
|
@@ -74,14 +75,14 @@ exports.tool = {
|
|
|
74
75
|
},
|
|
75
76
|
applicable_product_ids: {
|
|
76
77
|
type: 'array',
|
|
77
|
-
description: 'Which products the commit applies to. If
|
|
78
|
+
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.',
|
|
78
79
|
items: {
|
|
79
80
|
type: 'string',
|
|
80
81
|
},
|
|
81
82
|
},
|
|
82
83
|
applicable_product_tags: {
|
|
83
84
|
type: 'array',
|
|
84
|
-
description: 'Which tags the commit applies to. If
|
|
85
|
+
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.',
|
|
85
86
|
items: {
|
|
86
87
|
type: 'string',
|
|
87
88
|
},
|
|
@@ -93,6 +94,53 @@ exports.tool = {
|
|
|
93
94
|
type: 'string',
|
|
94
95
|
description: 'Used only in UI/API. It is not exposed to end customers.',
|
|
95
96
|
},
|
|
97
|
+
hierarchy_configuration: {
|
|
98
|
+
type: 'object',
|
|
99
|
+
description: 'Optional configuration for commit hierarchy access control',
|
|
100
|
+
properties: {
|
|
101
|
+
child_access: {
|
|
102
|
+
anyOf: [
|
|
103
|
+
{
|
|
104
|
+
type: 'object',
|
|
105
|
+
properties: {
|
|
106
|
+
type: {
|
|
107
|
+
type: 'string',
|
|
108
|
+
enum: ['ALL'],
|
|
109
|
+
},
|
|
110
|
+
},
|
|
111
|
+
required: ['type'],
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
type: 'object',
|
|
115
|
+
properties: {
|
|
116
|
+
type: {
|
|
117
|
+
type: 'string',
|
|
118
|
+
enum: ['NONE'],
|
|
119
|
+
},
|
|
120
|
+
},
|
|
121
|
+
required: ['type'],
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
type: 'object',
|
|
125
|
+
properties: {
|
|
126
|
+
contract_ids: {
|
|
127
|
+
type: 'array',
|
|
128
|
+
items: {
|
|
129
|
+
type: 'string',
|
|
130
|
+
},
|
|
131
|
+
},
|
|
132
|
+
type: {
|
|
133
|
+
type: 'string',
|
|
134
|
+
enum: ['CONTRACT_IDS'],
|
|
135
|
+
},
|
|
136
|
+
},
|
|
137
|
+
required: ['contract_ids', 'type'],
|
|
138
|
+
},
|
|
139
|
+
],
|
|
140
|
+
},
|
|
141
|
+
},
|
|
142
|
+
required: ['child_access'],
|
|
143
|
+
},
|
|
96
144
|
invoice_schedule: {
|
|
97
145
|
type: 'object',
|
|
98
146
|
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.',
|
|
@@ -166,7 +214,6 @@ exports.tool = {
|
|
|
166
214
|
},
|
|
167
215
|
},
|
|
168
216
|
},
|
|
169
|
-
required: [],
|
|
170
217
|
},
|
|
171
218
|
name: {
|
|
172
219
|
type: 'string',
|
|
@@ -185,22 +232,41 @@ exports.tool = {
|
|
|
185
232
|
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.',
|
|
186
233
|
enum: ['NONE', 'STRIPE', 'EXTERNAL'],
|
|
187
234
|
},
|
|
235
|
+
precalculated_tax_config: {
|
|
236
|
+
type: 'object',
|
|
237
|
+
description: 'Only applicable if using PRECALCULATED as your tax type.',
|
|
238
|
+
properties: {
|
|
239
|
+
tax_amount: {
|
|
240
|
+
type: 'number',
|
|
241
|
+
description: "Amount of tax to be applied. This should be in the same currency and denomination as the commit's invoice schedule",
|
|
242
|
+
},
|
|
243
|
+
tax_name: {
|
|
244
|
+
type: 'string',
|
|
245
|
+
description: 'Name of the tax to be applied. This may be used in an invoice line item description.',
|
|
246
|
+
},
|
|
247
|
+
},
|
|
248
|
+
required: ['tax_amount'],
|
|
249
|
+
},
|
|
188
250
|
stripe_config: {
|
|
189
251
|
type: 'object',
|
|
190
|
-
description: 'Only applicable if using
|
|
252
|
+
description: 'Only applicable if using STRIPE as your payment gateway type.',
|
|
191
253
|
properties: {
|
|
192
254
|
payment_type: {
|
|
193
255
|
type: 'string',
|
|
194
256
|
description: 'If left blank, will default to INVOICE',
|
|
195
257
|
enum: ['INVOICE', 'PAYMENT_INTENT'],
|
|
196
258
|
},
|
|
259
|
+
invoice_metadata: {
|
|
260
|
+
type: 'object',
|
|
261
|
+
description: 'Metadata to be added to the Stripe invoice. Only applicable if using INVOICE as your payment type.',
|
|
262
|
+
},
|
|
197
263
|
},
|
|
198
264
|
required: ['payment_type'],
|
|
199
265
|
},
|
|
200
266
|
tax_type: {
|
|
201
267
|
type: 'string',
|
|
202
|
-
description: 'Stripe tax is only supported for Stripe payment gateway. Select NONE if you do not wish
|
|
203
|
-
enum: ['NONE', 'STRIPE'],
|
|
268
|
+
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.',
|
|
269
|
+
enum: ['NONE', 'STRIPE', 'ANROK', 'PRECALCULATED'],
|
|
204
270
|
},
|
|
205
271
|
},
|
|
206
272
|
required: ['payment_gate_type'],
|
|
@@ -241,7 +307,6 @@ exports.tool = {
|
|
|
241
307
|
},
|
|
242
308
|
},
|
|
243
309
|
},
|
|
244
|
-
required: [],
|
|
245
310
|
},
|
|
246
311
|
},
|
|
247
312
|
temporary_id: {
|
|
@@ -313,6 +378,53 @@ exports.tool = {
|
|
|
313
378
|
type: 'string',
|
|
314
379
|
description: 'Used only in UI/API. It is not exposed to end customers.',
|
|
315
380
|
},
|
|
381
|
+
hierarchy_configuration: {
|
|
382
|
+
type: 'object',
|
|
383
|
+
description: 'Optional configuration for credit hierarchy access control',
|
|
384
|
+
properties: {
|
|
385
|
+
child_access: {
|
|
386
|
+
anyOf: [
|
|
387
|
+
{
|
|
388
|
+
type: 'object',
|
|
389
|
+
properties: {
|
|
390
|
+
type: {
|
|
391
|
+
type: 'string',
|
|
392
|
+
enum: ['ALL'],
|
|
393
|
+
},
|
|
394
|
+
},
|
|
395
|
+
required: ['type'],
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
type: 'object',
|
|
399
|
+
properties: {
|
|
400
|
+
type: {
|
|
401
|
+
type: 'string',
|
|
402
|
+
enum: ['NONE'],
|
|
403
|
+
},
|
|
404
|
+
},
|
|
405
|
+
required: ['type'],
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
type: 'object',
|
|
409
|
+
properties: {
|
|
410
|
+
contract_ids: {
|
|
411
|
+
type: 'array',
|
|
412
|
+
items: {
|
|
413
|
+
type: 'string',
|
|
414
|
+
},
|
|
415
|
+
},
|
|
416
|
+
type: {
|
|
417
|
+
type: 'string',
|
|
418
|
+
enum: ['CONTRACT_IDS'],
|
|
419
|
+
},
|
|
420
|
+
},
|
|
421
|
+
required: ['contract_ids', 'type'],
|
|
422
|
+
},
|
|
423
|
+
],
|
|
424
|
+
},
|
|
425
|
+
},
|
|
426
|
+
required: ['child_access'],
|
|
427
|
+
},
|
|
316
428
|
name: {
|
|
317
429
|
type: 'string',
|
|
318
430
|
description: 'displayed on invoices',
|
|
@@ -353,7 +465,6 @@ exports.tool = {
|
|
|
353
465
|
},
|
|
354
466
|
},
|
|
355
467
|
},
|
|
356
|
-
required: [],
|
|
357
468
|
},
|
|
358
469
|
},
|
|
359
470
|
},
|
|
@@ -441,7 +552,6 @@ exports.tool = {
|
|
|
441
552
|
},
|
|
442
553
|
},
|
|
443
554
|
},
|
|
444
|
-
required: [],
|
|
445
555
|
},
|
|
446
556
|
custom_fields: {
|
|
447
557
|
type: 'object',
|
|
@@ -542,7 +652,6 @@ exports.tool = {
|
|
|
542
652
|
},
|
|
543
653
|
},
|
|
544
654
|
},
|
|
545
|
-
required: [],
|
|
546
655
|
},
|
|
547
656
|
},
|
|
548
657
|
overwrite_rate: {
|
|
@@ -632,14 +741,14 @@ exports.tool = {
|
|
|
632
741
|
},
|
|
633
742
|
applicable_product_ids: {
|
|
634
743
|
type: 'array',
|
|
635
|
-
description: 'Which products the threshold commit applies to. If
|
|
744
|
+
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.',
|
|
636
745
|
items: {
|
|
637
746
|
type: 'string',
|
|
638
747
|
},
|
|
639
748
|
},
|
|
640
749
|
applicable_product_tags: {
|
|
641
750
|
type: 'array',
|
|
642
|
-
description: 'Which tags the threshold commit applies to. If
|
|
751
|
+
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.',
|
|
643
752
|
items: {
|
|
644
753
|
type: 'string',
|
|
645
754
|
},
|
|
@@ -675,7 +784,6 @@ exports.tool = {
|
|
|
675
784
|
},
|
|
676
785
|
},
|
|
677
786
|
},
|
|
678
|
-
required: [],
|
|
679
787
|
},
|
|
680
788
|
},
|
|
681
789
|
},
|
|
@@ -693,22 +801,41 @@ exports.tool = {
|
|
|
693
801
|
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.',
|
|
694
802
|
enum: ['NONE', 'STRIPE', 'EXTERNAL'],
|
|
695
803
|
},
|
|
804
|
+
precalculated_tax_config: {
|
|
805
|
+
type: 'object',
|
|
806
|
+
description: 'Only applicable if using PRECALCULATED as your tax type.',
|
|
807
|
+
properties: {
|
|
808
|
+
tax_amount: {
|
|
809
|
+
type: 'number',
|
|
810
|
+
description: "Amount of tax to be applied. This should be in the same currency and denomination as the commit's invoice schedule",
|
|
811
|
+
},
|
|
812
|
+
tax_name: {
|
|
813
|
+
type: 'string',
|
|
814
|
+
description: 'Name of the tax to be applied. This may be used in an invoice line item description.',
|
|
815
|
+
},
|
|
816
|
+
},
|
|
817
|
+
required: ['tax_amount'],
|
|
818
|
+
},
|
|
696
819
|
stripe_config: {
|
|
697
820
|
type: 'object',
|
|
698
|
-
description: 'Only applicable if using
|
|
821
|
+
description: 'Only applicable if using STRIPE as your payment gateway type.',
|
|
699
822
|
properties: {
|
|
700
823
|
payment_type: {
|
|
701
824
|
type: 'string',
|
|
702
825
|
description: 'If left blank, will default to INVOICE',
|
|
703
826
|
enum: ['INVOICE', 'PAYMENT_INTENT'],
|
|
704
827
|
},
|
|
828
|
+
invoice_metadata: {
|
|
829
|
+
type: 'object',
|
|
830
|
+
description: 'Metadata to be added to the Stripe invoice. Only applicable if using INVOICE as your payment type.',
|
|
831
|
+
},
|
|
705
832
|
},
|
|
706
833
|
required: ['payment_type'],
|
|
707
834
|
},
|
|
708
835
|
tax_type: {
|
|
709
836
|
type: 'string',
|
|
710
|
-
description: 'Stripe tax is only supported for Stripe payment gateway. Select NONE if you do not wish
|
|
711
|
-
enum: ['NONE', 'STRIPE'],
|
|
837
|
+
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.',
|
|
838
|
+
enum: ['NONE', 'STRIPE', 'ANROK', 'PRECALCULATED'],
|
|
712
839
|
},
|
|
713
840
|
},
|
|
714
841
|
required: ['payment_gate_type'],
|
|
@@ -721,6 +848,10 @@ exports.tool = {
|
|
|
721
848
|
type: 'number',
|
|
722
849
|
description: "Specify the threshold amount for the contract. Each time the contract's balance lowers to this amount, a threshold charge will be initiated.",
|
|
723
850
|
},
|
|
851
|
+
custom_credit_type_id: {
|
|
852
|
+
type: 'string',
|
|
853
|
+
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.',
|
|
854
|
+
},
|
|
724
855
|
},
|
|
725
856
|
required: ['commit', 'is_enabled', 'payment_gate_config', 'recharge_to_amount', 'threshold_amount'],
|
|
726
857
|
},
|
|
@@ -771,28 +902,29 @@ exports.tool = {
|
|
|
771
902
|
credit_type_id: {
|
|
772
903
|
type: 'string',
|
|
773
904
|
},
|
|
774
|
-
|
|
905
|
+
unit_price: {
|
|
775
906
|
type: 'number',
|
|
776
907
|
},
|
|
777
|
-
|
|
908
|
+
quantity: {
|
|
778
909
|
type: 'number',
|
|
910
|
+
description: 'This field is currently required. Upcoming recurring commit/credit configuration options will allow it to be optional.',
|
|
779
911
|
},
|
|
780
912
|
},
|
|
781
|
-
required: ['credit_type_id', '
|
|
913
|
+
required: ['credit_type_id', 'unit_price'],
|
|
782
914
|
},
|
|
783
915
|
commit_duration: {
|
|
784
916
|
type: 'object',
|
|
785
|
-
description: 'The
|
|
917
|
+
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.',
|
|
786
918
|
properties: {
|
|
919
|
+
value: {
|
|
920
|
+
type: 'number',
|
|
921
|
+
},
|
|
787
922
|
unit: {
|
|
788
923
|
type: 'string',
|
|
789
924
|
enum: ['PERIODS'],
|
|
790
925
|
},
|
|
791
|
-
value: {
|
|
792
|
-
type: 'number',
|
|
793
|
-
},
|
|
794
926
|
},
|
|
795
|
-
required: ['
|
|
927
|
+
required: ['value'],
|
|
796
928
|
},
|
|
797
929
|
priority: {
|
|
798
930
|
type: 'number',
|
|
@@ -829,6 +961,53 @@ exports.tool = {
|
|
|
829
961
|
description: 'Determines when the contract will stop creating recurring commits. optional',
|
|
830
962
|
format: 'date-time',
|
|
831
963
|
},
|
|
964
|
+
hierarchy_configuration: {
|
|
965
|
+
type: 'object',
|
|
966
|
+
description: 'Optional configuration for recurring commit/credit hierarchy access control',
|
|
967
|
+
properties: {
|
|
968
|
+
child_access: {
|
|
969
|
+
anyOf: [
|
|
970
|
+
{
|
|
971
|
+
type: 'object',
|
|
972
|
+
properties: {
|
|
973
|
+
type: {
|
|
974
|
+
type: 'string',
|
|
975
|
+
enum: ['ALL'],
|
|
976
|
+
},
|
|
977
|
+
},
|
|
978
|
+
required: ['type'],
|
|
979
|
+
},
|
|
980
|
+
{
|
|
981
|
+
type: 'object',
|
|
982
|
+
properties: {
|
|
983
|
+
type: {
|
|
984
|
+
type: 'string',
|
|
985
|
+
enum: ['NONE'],
|
|
986
|
+
},
|
|
987
|
+
},
|
|
988
|
+
required: ['type'],
|
|
989
|
+
},
|
|
990
|
+
{
|
|
991
|
+
type: 'object',
|
|
992
|
+
properties: {
|
|
993
|
+
contract_ids: {
|
|
994
|
+
type: 'array',
|
|
995
|
+
items: {
|
|
996
|
+
type: 'string',
|
|
997
|
+
},
|
|
998
|
+
},
|
|
999
|
+
type: {
|
|
1000
|
+
type: 'string',
|
|
1001
|
+
enum: ['CONTRACT_IDS'],
|
|
1002
|
+
},
|
|
1003
|
+
},
|
|
1004
|
+
required: ['contract_ids', 'type'],
|
|
1005
|
+
},
|
|
1006
|
+
],
|
|
1007
|
+
},
|
|
1008
|
+
},
|
|
1009
|
+
required: ['child_access'],
|
|
1010
|
+
},
|
|
832
1011
|
invoice_amount: {
|
|
833
1012
|
type: 'object',
|
|
834
1013
|
description: 'The amount the customer should be billed for the commit. Not required.',
|
|
@@ -896,7 +1075,6 @@ exports.tool = {
|
|
|
896
1075
|
},
|
|
897
1076
|
},
|
|
898
1077
|
},
|
|
899
|
-
required: [],
|
|
900
1078
|
},
|
|
901
1079
|
},
|
|
902
1080
|
temporary_id: {
|
|
@@ -919,28 +1097,29 @@ exports.tool = {
|
|
|
919
1097
|
credit_type_id: {
|
|
920
1098
|
type: 'string',
|
|
921
1099
|
},
|
|
922
|
-
|
|
1100
|
+
unit_price: {
|
|
923
1101
|
type: 'number',
|
|
924
1102
|
},
|
|
925
|
-
|
|
1103
|
+
quantity: {
|
|
926
1104
|
type: 'number',
|
|
1105
|
+
description: 'This field is currently required. Upcoming recurring commit/credit configuration options will allow it to be optional.',
|
|
927
1106
|
},
|
|
928
1107
|
},
|
|
929
|
-
required: ['credit_type_id', '
|
|
1108
|
+
required: ['credit_type_id', 'unit_price'],
|
|
930
1109
|
},
|
|
931
1110
|
commit_duration: {
|
|
932
1111
|
type: 'object',
|
|
933
|
-
description: 'The
|
|
1112
|
+
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.',
|
|
934
1113
|
properties: {
|
|
1114
|
+
value: {
|
|
1115
|
+
type: 'number',
|
|
1116
|
+
},
|
|
935
1117
|
unit: {
|
|
936
1118
|
type: 'string',
|
|
937
1119
|
enum: ['PERIODS'],
|
|
938
1120
|
},
|
|
939
|
-
value: {
|
|
940
|
-
type: 'number',
|
|
941
|
-
},
|
|
942
1121
|
},
|
|
943
|
-
required: ['
|
|
1122
|
+
required: ['value'],
|
|
944
1123
|
},
|
|
945
1124
|
priority: {
|
|
946
1125
|
type: 'number',
|
|
@@ -977,6 +1156,53 @@ exports.tool = {
|
|
|
977
1156
|
description: 'Determines when the contract will stop creating recurring commits. optional',
|
|
978
1157
|
format: 'date-time',
|
|
979
1158
|
},
|
|
1159
|
+
hierarchy_configuration: {
|
|
1160
|
+
type: 'object',
|
|
1161
|
+
description: 'Optional configuration for recurring commit/credit hierarchy access control',
|
|
1162
|
+
properties: {
|
|
1163
|
+
child_access: {
|
|
1164
|
+
anyOf: [
|
|
1165
|
+
{
|
|
1166
|
+
type: 'object',
|
|
1167
|
+
properties: {
|
|
1168
|
+
type: {
|
|
1169
|
+
type: 'string',
|
|
1170
|
+
enum: ['ALL'],
|
|
1171
|
+
},
|
|
1172
|
+
},
|
|
1173
|
+
required: ['type'],
|
|
1174
|
+
},
|
|
1175
|
+
{
|
|
1176
|
+
type: 'object',
|
|
1177
|
+
properties: {
|
|
1178
|
+
type: {
|
|
1179
|
+
type: 'string',
|
|
1180
|
+
enum: ['NONE'],
|
|
1181
|
+
},
|
|
1182
|
+
},
|
|
1183
|
+
required: ['type'],
|
|
1184
|
+
},
|
|
1185
|
+
{
|
|
1186
|
+
type: 'object',
|
|
1187
|
+
properties: {
|
|
1188
|
+
contract_ids: {
|
|
1189
|
+
type: 'array',
|
|
1190
|
+
items: {
|
|
1191
|
+
type: 'string',
|
|
1192
|
+
},
|
|
1193
|
+
},
|
|
1194
|
+
type: {
|
|
1195
|
+
type: 'string',
|
|
1196
|
+
enum: ['CONTRACT_IDS'],
|
|
1197
|
+
},
|
|
1198
|
+
},
|
|
1199
|
+
required: ['contract_ids', 'type'],
|
|
1200
|
+
},
|
|
1201
|
+
],
|
|
1202
|
+
},
|
|
1203
|
+
},
|
|
1204
|
+
required: ['child_access'],
|
|
1205
|
+
},
|
|
980
1206
|
name: {
|
|
981
1207
|
type: 'string',
|
|
982
1208
|
description: 'displayed on invoices. will be passed through to the individual commits',
|
|
@@ -1028,7 +1254,6 @@ exports.tool = {
|
|
|
1028
1254
|
},
|
|
1029
1255
|
},
|
|
1030
1256
|
},
|
|
1031
|
-
required: [],
|
|
1032
1257
|
},
|
|
1033
1258
|
},
|
|
1034
1259
|
temporary_id: {
|
|
@@ -1075,7 +1300,6 @@ exports.tool = {
|
|
|
1075
1300
|
type: 'string',
|
|
1076
1301
|
},
|
|
1077
1302
|
},
|
|
1078
|
-
required: [],
|
|
1079
1303
|
},
|
|
1080
1304
|
ending_before: {
|
|
1081
1305
|
type: 'string',
|
|
@@ -1095,7 +1319,6 @@ exports.tool = {
|
|
|
1095
1319
|
type: 'string',
|
|
1096
1320
|
},
|
|
1097
1321
|
},
|
|
1098
|
-
required: [],
|
|
1099
1322
|
},
|
|
1100
1323
|
netsuite_reseller_id: {
|
|
1101
1324
|
type: 'string',
|
|
@@ -1192,7 +1415,6 @@ exports.tool = {
|
|
|
1192
1415
|
},
|
|
1193
1416
|
},
|
|
1194
1417
|
},
|
|
1195
|
-
required: [],
|
|
1196
1418
|
},
|
|
1197
1419
|
name: {
|
|
1198
1420
|
type: 'string',
|
|
@@ -1238,22 +1460,41 @@ exports.tool = {
|
|
|
1238
1460
|
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.',
|
|
1239
1461
|
enum: ['NONE', 'STRIPE', 'EXTERNAL'],
|
|
1240
1462
|
},
|
|
1463
|
+
precalculated_tax_config: {
|
|
1464
|
+
type: 'object',
|
|
1465
|
+
description: 'Only applicable if using PRECALCULATED as your tax type.',
|
|
1466
|
+
properties: {
|
|
1467
|
+
tax_amount: {
|
|
1468
|
+
type: 'number',
|
|
1469
|
+
description: "Amount of tax to be applied. This should be in the same currency and denomination as the commit's invoice schedule",
|
|
1470
|
+
},
|
|
1471
|
+
tax_name: {
|
|
1472
|
+
type: 'string',
|
|
1473
|
+
description: 'Name of the tax to be applied. This may be used in an invoice line item description.',
|
|
1474
|
+
},
|
|
1475
|
+
},
|
|
1476
|
+
required: ['tax_amount'],
|
|
1477
|
+
},
|
|
1241
1478
|
stripe_config: {
|
|
1242
1479
|
type: 'object',
|
|
1243
|
-
description: 'Only applicable if using
|
|
1480
|
+
description: 'Only applicable if using STRIPE as your payment gateway type.',
|
|
1244
1481
|
properties: {
|
|
1245
1482
|
payment_type: {
|
|
1246
1483
|
type: 'string',
|
|
1247
1484
|
description: 'If left blank, will default to INVOICE',
|
|
1248
1485
|
enum: ['INVOICE', 'PAYMENT_INTENT'],
|
|
1249
1486
|
},
|
|
1487
|
+
invoice_metadata: {
|
|
1488
|
+
type: 'object',
|
|
1489
|
+
description: 'Metadata to be added to the Stripe invoice. Only applicable if using INVOICE as your payment type.',
|
|
1490
|
+
},
|
|
1250
1491
|
},
|
|
1251
1492
|
required: ['payment_type'],
|
|
1252
1493
|
},
|
|
1253
1494
|
tax_type: {
|
|
1254
1495
|
type: 'string',
|
|
1255
|
-
description: 'Stripe tax is only supported for Stripe payment gateway. Select NONE if you do not wish
|
|
1256
|
-
enum: ['NONE', 'STRIPE'],
|
|
1496
|
+
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.',
|
|
1497
|
+
enum: ['NONE', 'STRIPE', 'ANROK', 'PRECALCULATED'],
|
|
1257
1498
|
},
|
|
1258
1499
|
},
|
|
1259
1500
|
required: ['payment_gate_type'],
|
|
@@ -1267,7 +1508,7 @@ exports.tool = {
|
|
|
1267
1508
|
},
|
|
1268
1509
|
add_subscriptions: {
|
|
1269
1510
|
type: 'array',
|
|
1270
|
-
description: '
|
|
1511
|
+
description: 'Optional list of [subscriptions](https://docs.metronome.com/manage-product-access/create-subscription/) to add to the contract.',
|
|
1271
1512
|
items: {
|
|
1272
1513
|
type: 'object',
|
|
1273
1514
|
properties: {
|
|
@@ -1291,7 +1532,6 @@ exports.tool = {
|
|
|
1291
1532
|
description: 'Indicates if the partial period will be prorated or charged a full amount.',
|
|
1292
1533
|
},
|
|
1293
1534
|
},
|
|
1294
|
-
required: [],
|
|
1295
1535
|
},
|
|
1296
1536
|
subscription_rate: {
|
|
1297
1537
|
type: 'object',
|
|
@@ -1454,22 +1694,68 @@ exports.tool = {
|
|
|
1454
1694
|
},
|
|
1455
1695
|
},
|
|
1456
1696
|
},
|
|
1457
|
-
required: [],
|
|
1458
1697
|
},
|
|
1459
1698
|
applicable_product_ids: {
|
|
1460
1699
|
type: 'array',
|
|
1461
|
-
description: 'Which products the commit applies to. If
|
|
1700
|
+
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.',
|
|
1462
1701
|
items: {
|
|
1463
1702
|
type: 'string',
|
|
1464
1703
|
},
|
|
1465
1704
|
},
|
|
1466
1705
|
applicable_product_tags: {
|
|
1467
1706
|
type: 'array',
|
|
1468
|
-
description: 'Which tags the commit applies to. If
|
|
1707
|
+
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.',
|
|
1469
1708
|
items: {
|
|
1470
1709
|
type: 'string',
|
|
1471
1710
|
},
|
|
1472
1711
|
},
|
|
1712
|
+
hierarchy_configuration: {
|
|
1713
|
+
type: 'object',
|
|
1714
|
+
description: 'Optional configuration for commit hierarchy access control',
|
|
1715
|
+
properties: {
|
|
1716
|
+
child_access: {
|
|
1717
|
+
anyOf: [
|
|
1718
|
+
{
|
|
1719
|
+
type: 'object',
|
|
1720
|
+
properties: {
|
|
1721
|
+
type: {
|
|
1722
|
+
type: 'string',
|
|
1723
|
+
enum: ['ALL'],
|
|
1724
|
+
},
|
|
1725
|
+
},
|
|
1726
|
+
required: ['type'],
|
|
1727
|
+
},
|
|
1728
|
+
{
|
|
1729
|
+
type: 'object',
|
|
1730
|
+
properties: {
|
|
1731
|
+
type: {
|
|
1732
|
+
type: 'string',
|
|
1733
|
+
enum: ['NONE'],
|
|
1734
|
+
},
|
|
1735
|
+
},
|
|
1736
|
+
required: ['type'],
|
|
1737
|
+
},
|
|
1738
|
+
{
|
|
1739
|
+
type: 'object',
|
|
1740
|
+
properties: {
|
|
1741
|
+
contract_ids: {
|
|
1742
|
+
type: 'array',
|
|
1743
|
+
items: {
|
|
1744
|
+
type: 'string',
|
|
1745
|
+
},
|
|
1746
|
+
},
|
|
1747
|
+
type: {
|
|
1748
|
+
type: 'string',
|
|
1749
|
+
enum: ['CONTRACT_IDS'],
|
|
1750
|
+
},
|
|
1751
|
+
},
|
|
1752
|
+
required: ['contract_ids', 'type'],
|
|
1753
|
+
},
|
|
1754
|
+
],
|
|
1755
|
+
},
|
|
1756
|
+
},
|
|
1757
|
+
required: ['child_access'],
|
|
1758
|
+
},
|
|
1473
1759
|
invoice_schedule: {
|
|
1474
1760
|
type: 'object',
|
|
1475
1761
|
properties: {
|
|
@@ -1533,7 +1819,6 @@ exports.tool = {
|
|
|
1533
1819
|
},
|
|
1534
1820
|
},
|
|
1535
1821
|
},
|
|
1536
|
-
required: [],
|
|
1537
1822
|
},
|
|
1538
1823
|
netsuite_sales_order_id: {
|
|
1539
1824
|
type: 'string',
|
|
@@ -1553,6 +1838,10 @@ exports.tool = {
|
|
|
1553
1838
|
description: 'RFC 3339 timestamp indicating when the contract will end (exclusive).',
|
|
1554
1839
|
format: 'date-time',
|
|
1555
1840
|
},
|
|
1841
|
+
update_contract_name: {
|
|
1842
|
+
type: 'string',
|
|
1843
|
+
description: 'Value to update the contract name to. If not provided, the contract name will remain unchanged.',
|
|
1844
|
+
},
|
|
1556
1845
|
update_credits: {
|
|
1557
1846
|
type: 'array',
|
|
1558
1847
|
items: {
|
|
@@ -1620,22 +1909,68 @@ exports.tool = {
|
|
|
1620
1909
|
},
|
|
1621
1910
|
},
|
|
1622
1911
|
},
|
|
1623
|
-
required: [],
|
|
1624
1912
|
},
|
|
1625
1913
|
applicable_product_ids: {
|
|
1626
1914
|
type: 'array',
|
|
1627
|
-
description: 'Which products the commit applies to. If
|
|
1915
|
+
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.',
|
|
1628
1916
|
items: {
|
|
1629
1917
|
type: 'string',
|
|
1630
1918
|
},
|
|
1631
1919
|
},
|
|
1632
1920
|
applicable_product_tags: {
|
|
1633
1921
|
type: 'array',
|
|
1634
|
-
description: 'Which tags the commit applies to. If
|
|
1922
|
+
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.',
|
|
1635
1923
|
items: {
|
|
1636
1924
|
type: 'string',
|
|
1637
1925
|
},
|
|
1638
1926
|
},
|
|
1927
|
+
hierarchy_configuration: {
|
|
1928
|
+
type: 'object',
|
|
1929
|
+
description: 'Optional configuration for commit hierarchy access control',
|
|
1930
|
+
properties: {
|
|
1931
|
+
child_access: {
|
|
1932
|
+
anyOf: [
|
|
1933
|
+
{
|
|
1934
|
+
type: 'object',
|
|
1935
|
+
properties: {
|
|
1936
|
+
type: {
|
|
1937
|
+
type: 'string',
|
|
1938
|
+
enum: ['ALL'],
|
|
1939
|
+
},
|
|
1940
|
+
},
|
|
1941
|
+
required: ['type'],
|
|
1942
|
+
},
|
|
1943
|
+
{
|
|
1944
|
+
type: 'object',
|
|
1945
|
+
properties: {
|
|
1946
|
+
type: {
|
|
1947
|
+
type: 'string',
|
|
1948
|
+
enum: ['NONE'],
|
|
1949
|
+
},
|
|
1950
|
+
},
|
|
1951
|
+
required: ['type'],
|
|
1952
|
+
},
|
|
1953
|
+
{
|
|
1954
|
+
type: 'object',
|
|
1955
|
+
properties: {
|
|
1956
|
+
contract_ids: {
|
|
1957
|
+
type: 'array',
|
|
1958
|
+
items: {
|
|
1959
|
+
type: 'string',
|
|
1960
|
+
},
|
|
1961
|
+
},
|
|
1962
|
+
type: {
|
|
1963
|
+
type: 'string',
|
|
1964
|
+
enum: ['CONTRACT_IDS'],
|
|
1965
|
+
},
|
|
1966
|
+
},
|
|
1967
|
+
required: ['contract_ids', 'type'],
|
|
1968
|
+
},
|
|
1969
|
+
],
|
|
1970
|
+
},
|
|
1971
|
+
},
|
|
1972
|
+
required: ['child_access'],
|
|
1973
|
+
},
|
|
1639
1974
|
netsuite_sales_order_id: {
|
|
1640
1975
|
type: 'string',
|
|
1641
1976
|
},
|
|
@@ -1701,11 +2036,13 @@ exports.tool = {
|
|
|
1701
2036
|
},
|
|
1702
2037
|
},
|
|
1703
2038
|
},
|
|
1704
|
-
required: [],
|
|
1705
2039
|
},
|
|
1706
2040
|
},
|
|
1707
2041
|
},
|
|
1708
|
-
|
|
2042
|
+
},
|
|
2043
|
+
custom_credit_type_id: {
|
|
2044
|
+
type: 'string',
|
|
2045
|
+
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.',
|
|
1709
2046
|
},
|
|
1710
2047
|
is_enabled: {
|
|
1711
2048
|
type: 'boolean',
|
|
@@ -1719,22 +2056,41 @@ exports.tool = {
|
|
|
1719
2056
|
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.',
|
|
1720
2057
|
enum: ['NONE', 'STRIPE', 'EXTERNAL'],
|
|
1721
2058
|
},
|
|
2059
|
+
precalculated_tax_config: {
|
|
2060
|
+
type: 'object',
|
|
2061
|
+
description: 'Only applicable if using PRECALCULATED as your tax type.',
|
|
2062
|
+
properties: {
|
|
2063
|
+
tax_amount: {
|
|
2064
|
+
type: 'number',
|
|
2065
|
+
description: "Amount of tax to be applied. This should be in the same currency and denomination as the commit's invoice schedule",
|
|
2066
|
+
},
|
|
2067
|
+
tax_name: {
|
|
2068
|
+
type: 'string',
|
|
2069
|
+
description: 'Name of the tax to be applied. This may be used in an invoice line item description.',
|
|
2070
|
+
},
|
|
2071
|
+
},
|
|
2072
|
+
required: ['tax_amount'],
|
|
2073
|
+
},
|
|
1722
2074
|
stripe_config: {
|
|
1723
2075
|
type: 'object',
|
|
1724
|
-
description: 'Only applicable if using
|
|
2076
|
+
description: 'Only applicable if using STRIPE as your payment gateway type.',
|
|
1725
2077
|
properties: {
|
|
1726
2078
|
payment_type: {
|
|
1727
2079
|
type: 'string',
|
|
1728
2080
|
description: 'If left blank, will default to INVOICE',
|
|
1729
2081
|
enum: ['INVOICE', 'PAYMENT_INTENT'],
|
|
1730
2082
|
},
|
|
2083
|
+
invoice_metadata: {
|
|
2084
|
+
type: 'object',
|
|
2085
|
+
description: 'Metadata to be added to the Stripe invoice. Only applicable if using INVOICE as your payment type.',
|
|
2086
|
+
},
|
|
1731
2087
|
},
|
|
1732
2088
|
required: ['payment_type'],
|
|
1733
2089
|
},
|
|
1734
2090
|
tax_type: {
|
|
1735
2091
|
type: 'string',
|
|
1736
|
-
description: 'Stripe tax is only supported for Stripe payment gateway. Select NONE if you do not wish
|
|
1737
|
-
enum: ['NONE', 'STRIPE'],
|
|
2092
|
+
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.',
|
|
2093
|
+
enum: ['NONE', 'STRIPE', 'ANROK', 'PRECALCULATED'],
|
|
1738
2094
|
},
|
|
1739
2095
|
},
|
|
1740
2096
|
required: ['payment_gate_type'],
|
|
@@ -1748,7 +2104,6 @@ exports.tool = {
|
|
|
1748
2104
|
description: "Specify the threshold amount for the contract. Each time the contract's balance lowers to this amount, a threshold charge will be initiated.",
|
|
1749
2105
|
},
|
|
1750
2106
|
},
|
|
1751
|
-
required: [],
|
|
1752
2107
|
},
|
|
1753
2108
|
update_recurring_commits: {
|
|
1754
2109
|
type: 'array',
|
|
@@ -1769,7 +2124,6 @@ exports.tool = {
|
|
|
1769
2124
|
type: 'number',
|
|
1770
2125
|
},
|
|
1771
2126
|
},
|
|
1772
|
-
required: [],
|
|
1773
2127
|
},
|
|
1774
2128
|
ending_before: {
|
|
1775
2129
|
type: 'string',
|
|
@@ -1785,7 +2139,6 @@ exports.tool = {
|
|
|
1785
2139
|
type: 'number',
|
|
1786
2140
|
},
|
|
1787
2141
|
},
|
|
1788
|
-
required: [],
|
|
1789
2142
|
},
|
|
1790
2143
|
},
|
|
1791
2144
|
required: ['recurring_commit_id'],
|
|
@@ -1810,7 +2163,6 @@ exports.tool = {
|
|
|
1810
2163
|
type: 'number',
|
|
1811
2164
|
},
|
|
1812
2165
|
},
|
|
1813
|
-
required: [],
|
|
1814
2166
|
},
|
|
1815
2167
|
ending_before: {
|
|
1816
2168
|
type: 'string',
|
|
@@ -1891,7 +2243,6 @@ exports.tool = {
|
|
|
1891
2243
|
},
|
|
1892
2244
|
},
|
|
1893
2245
|
},
|
|
1894
|
-
required: [],
|
|
1895
2246
|
},
|
|
1896
2247
|
netsuite_sales_order_id: {
|
|
1897
2248
|
type: 'string',
|
|
@@ -1918,7 +2269,6 @@ exports.tool = {
|
|
|
1918
2269
|
description: 'The commit product that will be used to generate the line item for commit payment.',
|
|
1919
2270
|
},
|
|
1920
2271
|
},
|
|
1921
|
-
required: [],
|
|
1922
2272
|
},
|
|
1923
2273
|
is_enabled: {
|
|
1924
2274
|
type: 'boolean',
|
|
@@ -1932,22 +2282,41 @@ exports.tool = {
|
|
|
1932
2282
|
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.',
|
|
1933
2283
|
enum: ['NONE', 'STRIPE', 'EXTERNAL'],
|
|
1934
2284
|
},
|
|
2285
|
+
precalculated_tax_config: {
|
|
2286
|
+
type: 'object',
|
|
2287
|
+
description: 'Only applicable if using PRECALCULATED as your tax type.',
|
|
2288
|
+
properties: {
|
|
2289
|
+
tax_amount: {
|
|
2290
|
+
type: 'number',
|
|
2291
|
+
description: "Amount of tax to be applied. This should be in the same currency and denomination as the commit's invoice schedule",
|
|
2292
|
+
},
|
|
2293
|
+
tax_name: {
|
|
2294
|
+
type: 'string',
|
|
2295
|
+
description: 'Name of the tax to be applied. This may be used in an invoice line item description.',
|
|
2296
|
+
},
|
|
2297
|
+
},
|
|
2298
|
+
required: ['tax_amount'],
|
|
2299
|
+
},
|
|
1935
2300
|
stripe_config: {
|
|
1936
2301
|
type: 'object',
|
|
1937
|
-
description: 'Only applicable if using
|
|
2302
|
+
description: 'Only applicable if using STRIPE as your payment gateway type.',
|
|
1938
2303
|
properties: {
|
|
1939
2304
|
payment_type: {
|
|
1940
2305
|
type: 'string',
|
|
1941
2306
|
description: 'If left blank, will default to INVOICE',
|
|
1942
2307
|
enum: ['INVOICE', 'PAYMENT_INTENT'],
|
|
1943
2308
|
},
|
|
2309
|
+
invoice_metadata: {
|
|
2310
|
+
type: 'object',
|
|
2311
|
+
description: 'Metadata to be added to the Stripe invoice. Only applicable if using INVOICE as your payment type.',
|
|
2312
|
+
},
|
|
1944
2313
|
},
|
|
1945
2314
|
required: ['payment_type'],
|
|
1946
2315
|
},
|
|
1947
2316
|
tax_type: {
|
|
1948
2317
|
type: 'string',
|
|
1949
|
-
description: 'Stripe tax is only supported for Stripe payment gateway. Select NONE if you do not wish
|
|
1950
|
-
enum: ['NONE', 'STRIPE'],
|
|
2318
|
+
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.',
|
|
2319
|
+
enum: ['NONE', 'STRIPE', 'ANROK', 'PRECALCULATED'],
|
|
1951
2320
|
},
|
|
1952
2321
|
},
|
|
1953
2322
|
required: ['payment_gate_type'],
|
|
@@ -1957,11 +2326,10 @@ exports.tool = {
|
|
|
1957
2326
|
description: "Specify the threshold amount for the contract. Each time the contract's usage hits this amount, a threshold charge will be initiated.",
|
|
1958
2327
|
},
|
|
1959
2328
|
},
|
|
1960
|
-
required: [],
|
|
1961
2329
|
},
|
|
1962
2330
|
update_subscriptions: {
|
|
1963
2331
|
type: 'array',
|
|
1964
|
-
description: '
|
|
2332
|
+
description: 'Optional list of subscriptions to update.',
|
|
1965
2333
|
items: {
|
|
1966
2334
|
type: 'object',
|
|
1967
2335
|
properties: {
|
|
@@ -1999,6 +2367,7 @@ exports.tool = {
|
|
|
1999
2367
|
},
|
|
2000
2368
|
},
|
|
2001
2369
|
},
|
|
2370
|
+
required: ['contract_id', 'customer_id'],
|
|
2002
2371
|
$defs: {
|
|
2003
2372
|
tier: {
|
|
2004
2373
|
type: 'object',
|
|
@@ -2014,10 +2383,11 @@ exports.tool = {
|
|
|
2014
2383
|
},
|
|
2015
2384
|
},
|
|
2016
2385
|
},
|
|
2386
|
+
annotations: {},
|
|
2017
2387
|
};
|
|
2018
|
-
const handler = (client, args) => {
|
|
2388
|
+
const handler = async (client, args) => {
|
|
2019
2389
|
const body = args;
|
|
2020
|
-
return client.v2.contracts.edit(body);
|
|
2390
|
+
return (0, types_1.asTextContentResult)(await client.v2.contracts.edit(body));
|
|
2021
2391
|
};
|
|
2022
2392
|
exports.handler = handler;
|
|
2023
2393
|
exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
|