@metronome/mcp 0.1.0-beta.11 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/compat.d.mts +2 -0
- package/compat.d.mts.map +1 -1
- package/compat.d.ts +2 -0
- package/compat.d.ts.map +1 -1
- package/compat.js +38 -1
- package/compat.js.map +1 -1
- package/compat.mjs +37 -0
- package/compat.mjs.map +1 -1
- package/dynamic-tools.d.mts +1 -1
- package/dynamic-tools.d.mts.map +1 -1
- package/dynamic-tools.d.ts +1 -1
- package/dynamic-tools.d.ts.map +1 -1
- package/dynamic-tools.js +5 -4
- package/dynamic-tools.js.map +1 -1
- package/dynamic-tools.mjs +5 -4
- package/dynamic-tools.mjs.map +1 -1
- package/filtering.d.mts +2 -0
- package/filtering.d.mts.map +1 -0
- package/filtering.d.ts +2 -0
- package/filtering.d.ts.map +1 -0
- package/filtering.js +21 -0
- package/filtering.js.map +1 -0
- package/filtering.mjs +14 -0
- package/filtering.mjs.map +1 -0
- package/index.d.mts +1 -0
- package/index.d.ts +1 -0
- package/index.js.map +1 -1
- package/index.mjs +1 -0
- package/index.mjs.map +1 -1
- package/options.d.mts +9 -6
- package/options.d.mts.map +1 -1
- package/options.d.ts +9 -6
- package/options.d.ts.map +1 -1
- package/options.js +5 -46
- package/options.js.map +1 -1
- package/options.mjs +5 -46
- package/options.mjs.map +1 -1
- package/package.json +5 -4
- package/server.d.mts +17 -8
- package/server.d.mts.map +1 -1
- package/server.d.ts +17 -8
- package/server.d.ts.map +1 -1
- package/server.js +31 -25
- package/server.js.map +1 -1
- package/server.mjs +31 -26
- package/server.mjs.map +1 -1
- package/src/compat.ts +40 -0
- package/src/dynamic-tools.ts +13 -7
- package/src/filtering.ts +15 -0
- package/src/index.ts +4 -2
- package/src/options.ts +12 -54
- package/src/server.ts +43 -30
- package/src/tools/index.ts +10 -22
- package/src/tools/types.ts +103 -0
- package/src/tools/v1/alerts/archive-v1-alerts.ts +15 -4
- package/src/tools/v1/alerts/create-v1-alerts.ts +17 -4
- package/src/tools/v1/audit-logs/list-v1-audit-logs.ts +17 -4
- package/src/tools/v1/billable-metrics/archive-v1-billable-metrics.ts +15 -4
- package/src/tools/v1/billable-metrics/create-v1-billable-metrics.ts +15 -5
- package/src/tools/v1/billable-metrics/list-v1-billable-metrics.ts +18 -4
- package/src/tools/v1/billable-metrics/retrieve-v1-billable-metrics.ts +17 -4
- package/src/tools/v1/contracts/add-manual-balance-entry-v1-contracts.ts +15 -4
- package/src/tools/v1/contracts/amend-v1-contracts.ts +127 -16
- package/src/tools/v1/contracts/archive-v1-contracts.ts +15 -4
- package/src/tools/v1/contracts/create-historical-invoices-v1-contracts.ts +8 -4
- package/src/tools/v1/contracts/create-v1-contracts.ts +328 -47
- package/src/tools/v1/contracts/list-balances-v1-contracts.ts +12 -4
- package/src/tools/v1/contracts/list-v1-contracts.ts +7 -4
- package/src/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.ts +16 -4
- package/src/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.ts +14 -4
- package/src/tools/v1/contracts/products/archive-contracts-v1-products.ts +15 -4
- package/src/tools/v1/contracts/products/create-contracts-v1-products.ts +15 -4
- package/src/tools/v1/contracts/products/list-contracts-v1-products.ts +16 -4
- package/src/tools/v1/contracts/products/retrieve-contracts-v1-products.ts +15 -4
- package/src/tools/v1/contracts/products/update-contracts-v1-products.ts +15 -4
- package/src/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.ts +15 -4
- package/src/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.ts +15 -4
- package/src/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.ts +15 -4
- package/src/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.ts +16 -4
- package/src/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.ts +14 -4
- package/src/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.ts +17 -4
- package/src/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.ts +17 -4
- package/src/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.ts +17 -4
- package/src/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.ts +15 -4
- package/src/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.ts +16 -5
- package/src/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.ts +14 -4
- package/src/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.ts +16 -5
- package/src/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.ts +15 -4
- package/src/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.ts +15 -5
- package/src/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.ts +16 -4
- package/src/tools/v1/contracts/retrieve-v1-contracts.ts +7 -4
- package/src/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.ts +7 -4
- package/src/tools/v1/contracts/set-usage-filter-v1-contracts.ts +15 -4
- package/src/tools/v1/contracts/update-end-date-v1-contracts.ts +15 -4
- package/src/tools/v1/credit-grants/create-v1-credit-grants.ts +15 -4
- package/src/tools/v1/credit-grants/edit-v1-credit-grants.ts +15 -4
- package/src/tools/v1/credit-grants/list-entries-v1-credit-grants.ts +19 -4
- package/src/tools/v1/credit-grants/list-v1-credit-grants.ts +16 -4
- package/src/tools/v1/credit-grants/void-v1-credit-grants.ts +15 -4
- package/src/tools/v1/custom-fields/add-key-v1-custom-fields.ts +14 -4
- package/src/tools/v1/custom-fields/delete-values-v1-custom-fields.ts +15 -4
- package/src/tools/v1/custom-fields/list-keys-v1-custom-fields.ts +15 -4
- package/src/tools/v1/custom-fields/remove-key-v1-custom-fields.ts +15 -4
- package/src/tools/v1/custom-fields/set-values-v1-custom-fields.ts +14 -4
- package/src/tools/v1/customers/alerts/list-customers-v1-alerts.ts +15 -4
- package/src/tools/v1/customers/alerts/reset-customers-v1-alerts.ts +15 -4
- package/src/tools/v1/customers/alerts/retrieve-customers-v1-alerts.ts +15 -4
- package/src/tools/v1/customers/archive-v1-customers.ts +15 -4
- package/src/tools/v1/customers/billing-config/create-customers-v1-billing-config.ts +15 -4
- package/src/tools/v1/customers/billing-config/delete-customers-v1-billing-config.ts +16 -4
- package/src/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.ts +17 -4
- package/src/tools/v1/customers/commits/create-customers-v1-commits.ts +17 -8
- package/src/tools/v1/customers/commits/list-customers-v1-commits.ts +12 -4
- package/src/tools/v1/customers/commits/update-end-date-customers-v1-commits.ts +14 -4
- package/src/tools/v1/customers/create-v1-customers.ts +15 -4
- package/src/tools/v1/customers/credits/create-customers-v1-credits.ts +15 -5
- package/src/tools/v1/customers/credits/list-customers-v1-credits.ts +12 -4
- package/src/tools/v1/customers/credits/update-end-date-customers-v1-credits.ts +14 -4
- package/src/tools/v1/customers/invoices/add-charge-customers-v1-invoices.ts +23 -4
- package/src/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.ts +10 -4
- package/src/tools/v1/customers/invoices/list-customers-v1-invoices.ts +10 -4
- package/src/tools/v1/customers/invoices/retrieve-customers-v1-invoices.ts +10 -4
- package/src/tools/v1/customers/list-billable-metrics-v1-customers.ts +18 -4
- package/src/tools/v1/customers/list-costs-v1-customers.ts +17 -4
- package/src/tools/v1/customers/list-v1-customers.ts +18 -4
- package/src/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.ts +16 -4
- package/src/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.ts +14 -4
- package/src/tools/v1/customers/plans/add-customers-v1-plans.ts +14 -4
- package/src/tools/v1/customers/plans/end-customers-v1-plans.ts +15 -4
- package/src/tools/v1/customers/plans/list-customers-v1-plans.ts +18 -4
- package/src/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.ts +17 -4
- package/src/tools/v1/customers/preview-events-v1-customers.ts +77 -0
- package/src/tools/v1/customers/retrieve-v1-customers.ts +17 -4
- package/src/tools/v1/customers/set-ingest-aliases-v1-customers.ts +14 -4
- package/src/tools/v1/customers/set-name-v1-customers.ts +15 -4
- package/src/tools/v1/customers/update-config-v1-customers.ts +15 -4
- package/src/tools/v1/dashboards/get-embeddable-url-v1-dashboards.ts +15 -6
- package/src/tools/v1/invoices/regenerate-v1-invoices.ts +15 -4
- package/src/tools/v1/invoices/void-v1-invoices.ts +15 -4
- package/src/tools/v1/plans/get-details-v1-plans.ts +17 -4
- package/src/tools/v1/plans/list-charges-v1-plans.ts +18 -4
- package/src/tools/v1/plans/list-customers-v1-plans.ts +17 -4
- package/src/tools/v1/plans/list-v1-plans.ts +18 -4
- package/src/tools/v1/pricing-units/list-v1-pricing-units.ts +18 -4
- package/src/tools/v1/services/list-v1-services.ts +18 -5
- package/src/tools/v1/usage/ingest-v1-usage.ts +14 -4
- package/src/tools/v1/usage/list-v1-usage.ts +14 -4
- package/src/tools/v1/usage/list-with-groups-v1-usage.ts +15 -4
- package/src/tools/v1/usage/search-v1-usage.ts +49 -0
- package/src/tools/v2/contracts/edit-commit-v2-contracts.ts +16 -9
- package/src/tools/v2/contracts/edit-credit-v2-contracts.ts +14 -6
- package/src/tools/v2/contracts/edit-v2-contracts.ts +462 -69
- package/src/tools/v2/contracts/get-edit-history-v2-contracts.ts +7 -4
- package/src/tools/v2/contracts/list-v2-contracts.ts +7 -4
- package/src/tools/v2/contracts/retrieve-v2-contracts.ts +8 -4
- package/tools/index.d.mts +2 -16
- package/tools/index.d.mts.map +1 -1
- package/tools/index.d.ts +2 -16
- package/tools/index.d.ts.map +1 -1
- package/tools/index.js +7 -2
- package/tools/index.js.map +1 -1
- package/tools/index.mjs +7 -2
- package/tools/index.mjs.map +1 -1
- package/tools/types.d.mts +51 -0
- package/tools/types.d.mts.map +1 -0
- package/tools/types.d.ts +51 -0
- package/tools/types.d.ts.map +1 -0
- package/tools/types.js +46 -0
- package/tools/types.js.map +1 -0
- package/tools/types.mjs +42 -0
- package/tools/types.mjs.map +1 -0
- package/tools/v1/alerts/archive-v1-alerts.d.mts +16 -3
- package/tools/v1/alerts/archive-v1-alerts.d.mts.map +1 -1
- package/tools/v1/alerts/archive-v1-alerts.d.ts +16 -3
- package/tools/v1/alerts/archive-v1-alerts.d.ts.map +1 -1
- package/tools/v1/alerts/archive-v1-alerts.js +12 -3
- package/tools/v1/alerts/archive-v1-alerts.js.map +1 -1
- package/tools/v1/alerts/archive-v1-alerts.mjs +12 -3
- package/tools/v1/alerts/archive-v1-alerts.mjs.map +1 -1
- package/tools/v1/alerts/create-v1-alerts.d.mts +16 -3
- package/tools/v1/alerts/create-v1-alerts.d.mts.map +1 -1
- package/tools/v1/alerts/create-v1-alerts.d.ts +16 -3
- package/tools/v1/alerts/create-v1-alerts.d.ts.map +1 -1
- package/tools/v1/alerts/create-v1-alerts.js +13 -3
- package/tools/v1/alerts/create-v1-alerts.js.map +1 -1
- package/tools/v1/alerts/create-v1-alerts.mjs +13 -3
- package/tools/v1/alerts/create-v1-alerts.mjs.map +1 -1
- package/tools/v1/audit-logs/list-v1-audit-logs.d.mts +16 -3
- package/tools/v1/audit-logs/list-v1-audit-logs.d.mts.map +1 -1
- package/tools/v1/audit-logs/list-v1-audit-logs.d.ts +16 -3
- package/tools/v1/audit-logs/list-v1-audit-logs.d.ts.map +1 -1
- package/tools/v1/audit-logs/list-v1-audit-logs.js +15 -3
- package/tools/v1/audit-logs/list-v1-audit-logs.js.map +1 -1
- package/tools/v1/audit-logs/list-v1-audit-logs.mjs +15 -3
- package/tools/v1/audit-logs/list-v1-audit-logs.mjs.map +1 -1
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.d.mts +16 -3
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.d.mts.map +1 -1
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.d.ts +16 -3
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.d.ts.map +1 -1
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.js +12 -3
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.js.map +1 -1
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.mjs +12 -3
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.mjs.map +1 -1
- package/tools/v1/billable-metrics/create-v1-billable-metrics.d.mts +16 -3
- package/tools/v1/billable-metrics/create-v1-billable-metrics.d.mts.map +1 -1
- package/tools/v1/billable-metrics/create-v1-billable-metrics.d.ts +16 -3
- package/tools/v1/billable-metrics/create-v1-billable-metrics.d.ts.map +1 -1
- package/tools/v1/billable-metrics/create-v1-billable-metrics.js +12 -4
- package/tools/v1/billable-metrics/create-v1-billable-metrics.js.map +1 -1
- package/tools/v1/billable-metrics/create-v1-billable-metrics.mjs +12 -4
- package/tools/v1/billable-metrics/create-v1-billable-metrics.mjs.map +1 -1
- package/tools/v1/billable-metrics/list-v1-billable-metrics.d.mts +16 -3
- package/tools/v1/billable-metrics/list-v1-billable-metrics.d.mts.map +1 -1
- package/tools/v1/billable-metrics/list-v1-billable-metrics.d.ts +16 -3
- package/tools/v1/billable-metrics/list-v1-billable-metrics.d.ts.map +1 -1
- package/tools/v1/billable-metrics/list-v1-billable-metrics.js +15 -3
- package/tools/v1/billable-metrics/list-v1-billable-metrics.js.map +1 -1
- package/tools/v1/billable-metrics/list-v1-billable-metrics.mjs +15 -3
- package/tools/v1/billable-metrics/list-v1-billable-metrics.mjs.map +1 -1
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.d.mts +16 -3
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.d.mts.map +1 -1
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.d.ts +16 -3
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.d.ts.map +1 -1
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.js +14 -3
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.js.map +1 -1
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.mjs +14 -3
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.mjs.map +1 -1
- package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.d.mts +16 -3
- package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.d.ts +16 -3
- package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.js +12 -3
- package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.mjs +12 -3
- package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/amend-v1-contracts.d.mts +16 -3
- package/tools/v1/contracts/amend-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/amend-v1-contracts.d.ts +16 -3
- package/tools/v1/contracts/amend-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/amend-v1-contracts.js +123 -15
- package/tools/v1/contracts/amend-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/amend-v1-contracts.mjs +123 -15
- package/tools/v1/contracts/amend-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/archive-v1-contracts.d.mts +16 -3
- package/tools/v1/contracts/archive-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/archive-v1-contracts.d.ts +16 -3
- package/tools/v1/contracts/archive-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/archive-v1-contracts.js +12 -3
- package/tools/v1/contracts/archive-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/archive-v1-contracts.mjs +12 -3
- package/tools/v1/contracts/archive-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.d.mts +16 -3
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.d.ts +16 -3
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.js +6 -3
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.mjs +6 -3
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/create-v1-contracts.d.mts +16 -3
- package/tools/v1/contracts/create-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/create-v1-contracts.d.ts +16 -3
- package/tools/v1/contracts/create-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/create-v1-contracts.js +310 -46
- package/tools/v1/contracts/create-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/create-v1-contracts.mjs +310 -46
- package/tools/v1/contracts/create-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/list-balances-v1-contracts.d.mts +16 -3
- package/tools/v1/contracts/list-balances-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/list-balances-v1-contracts.d.ts +16 -3
- package/tools/v1/contracts/list-balances-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/list-balances-v1-contracts.js +10 -3
- package/tools/v1/contracts/list-balances-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/list-balances-v1-contracts.mjs +10 -3
- package/tools/v1/contracts/list-balances-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/list-v1-contracts.d.mts +16 -3
- package/tools/v1/contracts/list-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/list-v1-contracts.d.ts +16 -3
- package/tools/v1/contracts/list-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/list-v1-contracts.js +6 -3
- package/tools/v1/contracts/list-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/list-v1-contracts.mjs +6 -3
- package/tools/v1/contracts/list-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.d.mts +16 -3
- package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.d.mts.map +1 -1
- package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.d.ts +16 -3
- package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.d.ts.map +1 -1
- package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.js +12 -3
- package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.js.map +1 -1
- package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.mjs +12 -3
- package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.mjs.map +1 -1
- package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.d.mts +16 -3
- package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.d.mts.map +1 -1
- package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.d.ts +16 -3
- package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.d.ts.map +1 -1
- package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.js +12 -3
- package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.js.map +1 -1
- package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.mjs +12 -3
- package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.mjs.map +1 -1
- package/tools/v1/contracts/products/archive-contracts-v1-products.d.mts +16 -3
- package/tools/v1/contracts/products/archive-contracts-v1-products.d.mts.map +1 -1
- package/tools/v1/contracts/products/archive-contracts-v1-products.d.ts +16 -3
- package/tools/v1/contracts/products/archive-contracts-v1-products.d.ts.map +1 -1
- package/tools/v1/contracts/products/archive-contracts-v1-products.js +12 -3
- package/tools/v1/contracts/products/archive-contracts-v1-products.js.map +1 -1
- package/tools/v1/contracts/products/archive-contracts-v1-products.mjs +12 -3
- package/tools/v1/contracts/products/archive-contracts-v1-products.mjs.map +1 -1
- package/tools/v1/contracts/products/create-contracts-v1-products.d.mts +16 -3
- package/tools/v1/contracts/products/create-contracts-v1-products.d.mts.map +1 -1
- package/tools/v1/contracts/products/create-contracts-v1-products.d.ts +16 -3
- package/tools/v1/contracts/products/create-contracts-v1-products.d.ts.map +1 -1
- package/tools/v1/contracts/products/create-contracts-v1-products.js +12 -3
- package/tools/v1/contracts/products/create-contracts-v1-products.js.map +1 -1
- package/tools/v1/contracts/products/create-contracts-v1-products.mjs +12 -3
- package/tools/v1/contracts/products/create-contracts-v1-products.mjs.map +1 -1
- package/tools/v1/contracts/products/list-contracts-v1-products.d.mts +16 -3
- package/tools/v1/contracts/products/list-contracts-v1-products.d.mts.map +1 -1
- package/tools/v1/contracts/products/list-contracts-v1-products.d.ts +16 -3
- package/tools/v1/contracts/products/list-contracts-v1-products.d.ts.map +1 -1
- package/tools/v1/contracts/products/list-contracts-v1-products.js +13 -3
- package/tools/v1/contracts/products/list-contracts-v1-products.js.map +1 -1
- package/tools/v1/contracts/products/list-contracts-v1-products.mjs +13 -3
- package/tools/v1/contracts/products/list-contracts-v1-products.mjs.map +1 -1
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.d.mts +16 -3
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.d.mts.map +1 -1
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.d.ts +16 -3
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.d.ts.map +1 -1
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.js +12 -3
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.js.map +1 -1
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.mjs +12 -3
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.mjs.map +1 -1
- package/tools/v1/contracts/products/update-contracts-v1-products.d.mts +16 -3
- package/tools/v1/contracts/products/update-contracts-v1-products.d.mts.map +1 -1
- package/tools/v1/contracts/products/update-contracts-v1-products.d.ts +16 -3
- package/tools/v1/contracts/products/update-contracts-v1-products.d.ts.map +1 -1
- package/tools/v1/contracts/products/update-contracts-v1-products.js +12 -3
- package/tools/v1/contracts/products/update-contracts-v1-products.js.map +1 -1
- package/tools/v1/contracts/products/update-contracts-v1-products.mjs +12 -3
- package/tools/v1/contracts/products/update-contracts-v1-products.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.d.mts +16 -3
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.d.ts +16 -3
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.js +12 -3
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.js.map +1 -1
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.mjs +12 -3
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.d.mts +16 -3
- package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.d.ts +16 -3
- package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.js +12 -3
- package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.js.map +1 -1
- package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.mjs +12 -3
- package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.d.mts +16 -3
- package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.d.ts +16 -3
- package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.js +13 -3
- package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.js.map +1 -1
- package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.mjs +13 -3
- package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.d.mts +16 -3
- package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.d.ts +16 -3
- package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.js +12 -3
- package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.js.map +1 -1
- package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.mjs +12 -3
- package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.d.mts +16 -3
- package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.d.ts +16 -3
- package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.js +12 -3
- package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.js.map +1 -1
- package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.mjs +12 -3
- package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.d.mts +16 -3
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.d.ts +16 -3
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.js +12 -3
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.js.map +1 -1
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.mjs +12 -3
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.d.mts +16 -3
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.d.ts +16 -3
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.js +12 -3
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.js.map +1 -1
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.mjs +12 -3
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.d.mts +16 -3
- package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.d.ts +16 -3
- package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.js +12 -3
- package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.js.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.mjs +12 -3
- package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.d.mts +16 -3
- package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.d.ts +16 -3
- package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.js +12 -3
- package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.js.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.mjs +12 -3
- package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.d.mts +16 -3
- package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.d.ts +16 -3
- package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.js +13 -4
- package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.js.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.mjs +13 -4
- package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.d.mts +16 -3
- package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.d.ts +16 -3
- package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.js +12 -3
- package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.js.map +1 -1
- package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.mjs +12 -3
- package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.d.mts +16 -3
- package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.d.ts +16 -3
- package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.js +12 -4
- package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.js.map +1 -1
- package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.mjs +12 -4
- package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.d.mts +16 -3
- package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.d.ts +16 -3
- package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.js +12 -3
- package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.js.map +1 -1
- package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.mjs +12 -3
- package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.mjs.map +1 -1
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.d.mts +16 -3
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.d.ts +16 -3
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.js +12 -4
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.mjs +12 -4
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.d.mts +16 -3
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.d.ts +16 -3
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.js +12 -3
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.mjs +12 -3
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/retrieve-v1-contracts.d.mts +16 -3
- package/tools/v1/contracts/retrieve-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/retrieve-v1-contracts.d.ts +16 -3
- package/tools/v1/contracts/retrieve-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/retrieve-v1-contracts.js +6 -3
- package/tools/v1/contracts/retrieve-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/retrieve-v1-contracts.mjs +6 -3
- package/tools/v1/contracts/retrieve-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.d.mts +16 -3
- package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.d.ts +16 -3
- package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.js +6 -3
- package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.mjs +6 -3
- package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/set-usage-filter-v1-contracts.d.mts +16 -3
- package/tools/v1/contracts/set-usage-filter-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/set-usage-filter-v1-contracts.d.ts +16 -3
- package/tools/v1/contracts/set-usage-filter-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/set-usage-filter-v1-contracts.js +12 -3
- package/tools/v1/contracts/set-usage-filter-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/set-usage-filter-v1-contracts.mjs +12 -3
- package/tools/v1/contracts/set-usage-filter-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/update-end-date-v1-contracts.d.mts +16 -3
- package/tools/v1/contracts/update-end-date-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/update-end-date-v1-contracts.d.ts +16 -3
- package/tools/v1/contracts/update-end-date-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/update-end-date-v1-contracts.js +12 -3
- package/tools/v1/contracts/update-end-date-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/update-end-date-v1-contracts.mjs +12 -3
- package/tools/v1/contracts/update-end-date-v1-contracts.mjs.map +1 -1
- package/tools/v1/credit-grants/create-v1-credit-grants.d.mts +16 -3
- package/tools/v1/credit-grants/create-v1-credit-grants.d.mts.map +1 -1
- package/tools/v1/credit-grants/create-v1-credit-grants.d.ts +16 -3
- package/tools/v1/credit-grants/create-v1-credit-grants.d.ts.map +1 -1
- package/tools/v1/credit-grants/create-v1-credit-grants.js +12 -3
- package/tools/v1/credit-grants/create-v1-credit-grants.js.map +1 -1
- package/tools/v1/credit-grants/create-v1-credit-grants.mjs +12 -3
- package/tools/v1/credit-grants/create-v1-credit-grants.mjs.map +1 -1
- package/tools/v1/credit-grants/edit-v1-credit-grants.d.mts +16 -3
- package/tools/v1/credit-grants/edit-v1-credit-grants.d.mts.map +1 -1
- package/tools/v1/credit-grants/edit-v1-credit-grants.d.ts +16 -3
- package/tools/v1/credit-grants/edit-v1-credit-grants.d.ts.map +1 -1
- package/tools/v1/credit-grants/edit-v1-credit-grants.js +12 -3
- package/tools/v1/credit-grants/edit-v1-credit-grants.js.map +1 -1
- package/tools/v1/credit-grants/edit-v1-credit-grants.mjs +12 -3
- package/tools/v1/credit-grants/edit-v1-credit-grants.mjs.map +1 -1
- package/tools/v1/credit-grants/list-entries-v1-credit-grants.d.mts +16 -3
- package/tools/v1/credit-grants/list-entries-v1-credit-grants.d.mts.map +1 -1
- package/tools/v1/credit-grants/list-entries-v1-credit-grants.d.ts +16 -3
- package/tools/v1/credit-grants/list-entries-v1-credit-grants.d.ts.map +1 -1
- package/tools/v1/credit-grants/list-entries-v1-credit-grants.js +17 -3
- package/tools/v1/credit-grants/list-entries-v1-credit-grants.js.map +1 -1
- package/tools/v1/credit-grants/list-entries-v1-credit-grants.mjs +17 -3
- package/tools/v1/credit-grants/list-entries-v1-credit-grants.mjs.map +1 -1
- package/tools/v1/credit-grants/list-v1-credit-grants.d.mts +16 -3
- package/tools/v1/credit-grants/list-v1-credit-grants.d.mts.map +1 -1
- package/tools/v1/credit-grants/list-v1-credit-grants.d.ts +16 -3
- package/tools/v1/credit-grants/list-v1-credit-grants.d.ts.map +1 -1
- package/tools/v1/credit-grants/list-v1-credit-grants.js +13 -3
- package/tools/v1/credit-grants/list-v1-credit-grants.js.map +1 -1
- package/tools/v1/credit-grants/list-v1-credit-grants.mjs +13 -3
- package/tools/v1/credit-grants/list-v1-credit-grants.mjs.map +1 -1
- package/tools/v1/credit-grants/void-v1-credit-grants.d.mts +16 -3
- package/tools/v1/credit-grants/void-v1-credit-grants.d.mts.map +1 -1
- package/tools/v1/credit-grants/void-v1-credit-grants.d.ts +16 -3
- package/tools/v1/credit-grants/void-v1-credit-grants.d.ts.map +1 -1
- package/tools/v1/credit-grants/void-v1-credit-grants.js +12 -3
- package/tools/v1/credit-grants/void-v1-credit-grants.js.map +1 -1
- package/tools/v1/credit-grants/void-v1-credit-grants.mjs +12 -3
- package/tools/v1/credit-grants/void-v1-credit-grants.mjs.map +1 -1
- package/tools/v1/custom-fields/add-key-v1-custom-fields.d.mts +16 -3
- package/tools/v1/custom-fields/add-key-v1-custom-fields.d.mts.map +1 -1
- package/tools/v1/custom-fields/add-key-v1-custom-fields.d.ts +16 -3
- package/tools/v1/custom-fields/add-key-v1-custom-fields.d.ts.map +1 -1
- package/tools/v1/custom-fields/add-key-v1-custom-fields.js +12 -3
- package/tools/v1/custom-fields/add-key-v1-custom-fields.js.map +1 -1
- package/tools/v1/custom-fields/add-key-v1-custom-fields.mjs +12 -3
- package/tools/v1/custom-fields/add-key-v1-custom-fields.mjs.map +1 -1
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.d.mts +16 -3
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.d.mts.map +1 -1
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.d.ts +16 -3
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.d.ts.map +1 -1
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.js +12 -3
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.js.map +1 -1
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.mjs +12 -3
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.mjs.map +1 -1
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.d.mts +16 -3
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.d.mts.map +1 -1
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.d.ts +16 -3
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.d.ts.map +1 -1
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.js +12 -3
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.js.map +1 -1
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.mjs +12 -3
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.mjs.map +1 -1
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.d.mts +16 -3
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.d.mts.map +1 -1
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.d.ts +16 -3
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.d.ts.map +1 -1
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.js +12 -3
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.js.map +1 -1
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.mjs +12 -3
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.mjs.map +1 -1
- package/tools/v1/custom-fields/set-values-v1-custom-fields.d.mts +16 -3
- package/tools/v1/custom-fields/set-values-v1-custom-fields.d.mts.map +1 -1
- package/tools/v1/custom-fields/set-values-v1-custom-fields.d.ts +16 -3
- package/tools/v1/custom-fields/set-values-v1-custom-fields.d.ts.map +1 -1
- package/tools/v1/custom-fields/set-values-v1-custom-fields.js +12 -3
- package/tools/v1/custom-fields/set-values-v1-custom-fields.js.map +1 -1
- package/tools/v1/custom-fields/set-values-v1-custom-fields.mjs +12 -3
- package/tools/v1/custom-fields/set-values-v1-custom-fields.mjs.map +1 -1
- package/tools/v1/customers/alerts/list-customers-v1-alerts.d.mts +16 -3
- package/tools/v1/customers/alerts/list-customers-v1-alerts.d.mts.map +1 -1
- package/tools/v1/customers/alerts/list-customers-v1-alerts.d.ts +16 -3
- package/tools/v1/customers/alerts/list-customers-v1-alerts.d.ts.map +1 -1
- package/tools/v1/customers/alerts/list-customers-v1-alerts.js +12 -3
- package/tools/v1/customers/alerts/list-customers-v1-alerts.js.map +1 -1
- package/tools/v1/customers/alerts/list-customers-v1-alerts.mjs +12 -3
- package/tools/v1/customers/alerts/list-customers-v1-alerts.mjs.map +1 -1
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.d.mts +16 -3
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.d.mts.map +1 -1
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.d.ts +16 -3
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.d.ts.map +1 -1
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.js +12 -3
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.js.map +1 -1
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.mjs +12 -3
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.mjs.map +1 -1
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.d.mts +16 -3
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.d.mts.map +1 -1
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.d.ts +16 -3
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.d.ts.map +1 -1
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.js +12 -3
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.js.map +1 -1
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.mjs +12 -3
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.mjs.map +1 -1
- package/tools/v1/customers/archive-v1-customers.d.mts +16 -3
- package/tools/v1/customers/archive-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/archive-v1-customers.d.ts +16 -3
- package/tools/v1/customers/archive-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/archive-v1-customers.js +12 -3
- package/tools/v1/customers/archive-v1-customers.js.map +1 -1
- package/tools/v1/customers/archive-v1-customers.mjs +12 -3
- package/tools/v1/customers/archive-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.d.mts +16 -3
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.d.mts.map +1 -1
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.d.ts +16 -3
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.d.ts.map +1 -1
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.js +12 -3
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.js.map +1 -1
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.mjs +12 -3
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.mjs.map +1 -1
- package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.d.mts +16 -3
- package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.d.mts.map +1 -1
- package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.d.ts +16 -3
- package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.d.ts.map +1 -1
- package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.js +14 -3
- package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.js.map +1 -1
- package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.mjs +14 -3
- package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.mjs.map +1 -1
- package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.d.mts +16 -3
- package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.d.mts.map +1 -1
- package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.d.ts +16 -3
- package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.d.ts.map +1 -1
- package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.js +14 -3
- package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.js.map +1 -1
- package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.mjs +14 -3
- package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.mjs.map +1 -1
- package/tools/v1/customers/commits/create-customers-v1-commits.d.mts +16 -3
- package/tools/v1/customers/commits/create-customers-v1-commits.d.mts.map +1 -1
- package/tools/v1/customers/commits/create-customers-v1-commits.d.ts +16 -3
- package/tools/v1/customers/commits/create-customers-v1-commits.d.ts.map +1 -1
- package/tools/v1/customers/commits/create-customers-v1-commits.js +14 -7
- package/tools/v1/customers/commits/create-customers-v1-commits.js.map +1 -1
- package/tools/v1/customers/commits/create-customers-v1-commits.mjs +14 -7
- package/tools/v1/customers/commits/create-customers-v1-commits.mjs.map +1 -1
- package/tools/v1/customers/commits/list-customers-v1-commits.d.mts +16 -3
- package/tools/v1/customers/commits/list-customers-v1-commits.d.mts.map +1 -1
- package/tools/v1/customers/commits/list-customers-v1-commits.d.ts +16 -3
- package/tools/v1/customers/commits/list-customers-v1-commits.d.ts.map +1 -1
- package/tools/v1/customers/commits/list-customers-v1-commits.js +10 -3
- package/tools/v1/customers/commits/list-customers-v1-commits.js.map +1 -1
- package/tools/v1/customers/commits/list-customers-v1-commits.mjs +10 -3
- package/tools/v1/customers/commits/list-customers-v1-commits.mjs.map +1 -1
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.d.mts +16 -3
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.d.mts.map +1 -1
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.d.ts +16 -3
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.d.ts.map +1 -1
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.js +12 -3
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.js.map +1 -1
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.mjs +12 -3
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.mjs.map +1 -1
- package/tools/v1/customers/create-v1-customers.d.mts +16 -3
- package/tools/v1/customers/create-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/create-v1-customers.d.ts +16 -3
- package/tools/v1/customers/create-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/create-v1-customers.js +12 -3
- package/tools/v1/customers/create-v1-customers.js.map +1 -1
- package/tools/v1/customers/create-v1-customers.mjs +12 -3
- package/tools/v1/customers/create-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/credits/create-customers-v1-credits.d.mts +16 -3
- package/tools/v1/customers/credits/create-customers-v1-credits.d.mts.map +1 -1
- package/tools/v1/customers/credits/create-customers-v1-credits.d.ts +16 -3
- package/tools/v1/customers/credits/create-customers-v1-credits.d.ts.map +1 -1
- package/tools/v1/customers/credits/create-customers-v1-credits.js +12 -4
- package/tools/v1/customers/credits/create-customers-v1-credits.js.map +1 -1
- package/tools/v1/customers/credits/create-customers-v1-credits.mjs +12 -4
- package/tools/v1/customers/credits/create-customers-v1-credits.mjs.map +1 -1
- package/tools/v1/customers/credits/list-customers-v1-credits.d.mts +16 -3
- package/tools/v1/customers/credits/list-customers-v1-credits.d.mts.map +1 -1
- package/tools/v1/customers/credits/list-customers-v1-credits.d.ts +16 -3
- package/tools/v1/customers/credits/list-customers-v1-credits.d.ts.map +1 -1
- package/tools/v1/customers/credits/list-customers-v1-credits.js +10 -3
- package/tools/v1/customers/credits/list-customers-v1-credits.js.map +1 -1
- package/tools/v1/customers/credits/list-customers-v1-credits.mjs +10 -3
- package/tools/v1/customers/credits/list-customers-v1-credits.mjs.map +1 -1
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.d.mts +16 -3
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.d.mts.map +1 -1
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.d.ts +16 -3
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.d.ts.map +1 -1
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.js +12 -3
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.js.map +1 -1
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.mjs +12 -3
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.mjs.map +1 -1
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.d.mts +16 -3
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.d.mts.map +1 -1
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.d.ts +16 -3
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.d.ts.map +1 -1
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.js +20 -3
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.js.map +1 -1
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.mjs +20 -3
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.mjs.map +1 -1
- package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.d.mts +16 -3
- package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.d.mts.map +1 -1
- package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.d.ts +16 -3
- package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.d.ts.map +1 -1
- package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.js +9 -3
- package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.js.map +1 -1
- package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.mjs +9 -3
- package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.mjs.map +1 -1
- package/tools/v1/customers/invoices/list-customers-v1-invoices.d.mts +16 -3
- package/tools/v1/customers/invoices/list-customers-v1-invoices.d.mts.map +1 -1
- package/tools/v1/customers/invoices/list-customers-v1-invoices.d.ts +16 -3
- package/tools/v1/customers/invoices/list-customers-v1-invoices.d.ts.map +1 -1
- package/tools/v1/customers/invoices/list-customers-v1-invoices.js +9 -3
- package/tools/v1/customers/invoices/list-customers-v1-invoices.js.map +1 -1
- package/tools/v1/customers/invoices/list-customers-v1-invoices.mjs +9 -3
- package/tools/v1/customers/invoices/list-customers-v1-invoices.mjs.map +1 -1
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.d.mts +16 -3
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.d.mts.map +1 -1
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.d.ts +16 -3
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.d.ts.map +1 -1
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.js +8 -3
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.js.map +1 -1
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.mjs +8 -3
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.mjs.map +1 -1
- package/tools/v1/customers/list-billable-metrics-v1-customers.d.mts +16 -3
- package/tools/v1/customers/list-billable-metrics-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/list-billable-metrics-v1-customers.d.ts +16 -3
- package/tools/v1/customers/list-billable-metrics-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/list-billable-metrics-v1-customers.js +15 -3
- package/tools/v1/customers/list-billable-metrics-v1-customers.js.map +1 -1
- package/tools/v1/customers/list-billable-metrics-v1-customers.mjs +15 -3
- package/tools/v1/customers/list-billable-metrics-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/list-costs-v1-customers.d.mts +16 -3
- package/tools/v1/customers/list-costs-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/list-costs-v1-customers.d.ts +16 -3
- package/tools/v1/customers/list-costs-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/list-costs-v1-customers.js +15 -3
- package/tools/v1/customers/list-costs-v1-customers.js.map +1 -1
- package/tools/v1/customers/list-costs-v1-customers.mjs +15 -3
- package/tools/v1/customers/list-costs-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/list-v1-customers.d.mts +16 -3
- package/tools/v1/customers/list-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/list-v1-customers.d.ts +16 -3
- package/tools/v1/customers/list-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/list-v1-customers.js +15 -3
- package/tools/v1/customers/list-v1-customers.js.map +1 -1
- package/tools/v1/customers/list-v1-customers.mjs +15 -3
- package/tools/v1/customers/list-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.d.mts +16 -3
- package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.d.mts.map +1 -1
- package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.d.ts +16 -3
- package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.d.ts.map +1 -1
- package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.js +12 -3
- package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.js.map +1 -1
- package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.mjs +12 -3
- package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.mjs.map +1 -1
- package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.d.mts +16 -3
- package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.d.mts.map +1 -1
- package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.d.ts +16 -3
- package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.d.ts.map +1 -1
- package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.js +12 -3
- package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.js.map +1 -1
- package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.mjs +12 -3
- package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.mjs.map +1 -1
- package/tools/v1/customers/plans/add-customers-v1-plans.d.mts +16 -3
- package/tools/v1/customers/plans/add-customers-v1-plans.d.mts.map +1 -1
- package/tools/v1/customers/plans/add-customers-v1-plans.d.ts +16 -3
- package/tools/v1/customers/plans/add-customers-v1-plans.d.ts.map +1 -1
- package/tools/v1/customers/plans/add-customers-v1-plans.js +12 -3
- package/tools/v1/customers/plans/add-customers-v1-plans.js.map +1 -1
- package/tools/v1/customers/plans/add-customers-v1-plans.mjs +12 -3
- package/tools/v1/customers/plans/add-customers-v1-plans.mjs.map +1 -1
- package/tools/v1/customers/plans/end-customers-v1-plans.d.mts +16 -3
- package/tools/v1/customers/plans/end-customers-v1-plans.d.mts.map +1 -1
- package/tools/v1/customers/plans/end-customers-v1-plans.d.ts +16 -3
- package/tools/v1/customers/plans/end-customers-v1-plans.d.ts.map +1 -1
- package/tools/v1/customers/plans/end-customers-v1-plans.js +12 -3
- package/tools/v1/customers/plans/end-customers-v1-plans.js.map +1 -1
- package/tools/v1/customers/plans/end-customers-v1-plans.mjs +12 -3
- package/tools/v1/customers/plans/end-customers-v1-plans.mjs.map +1 -1
- package/tools/v1/customers/plans/list-customers-v1-plans.d.mts +16 -3
- package/tools/v1/customers/plans/list-customers-v1-plans.d.mts.map +1 -1
- package/tools/v1/customers/plans/list-customers-v1-plans.d.ts +16 -3
- package/tools/v1/customers/plans/list-customers-v1-plans.d.ts.map +1 -1
- package/tools/v1/customers/plans/list-customers-v1-plans.js +15 -3
- package/tools/v1/customers/plans/list-customers-v1-plans.js.map +1 -1
- package/tools/v1/customers/plans/list-customers-v1-plans.mjs +15 -3
- package/tools/v1/customers/plans/list-customers-v1-plans.mjs.map +1 -1
- package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.d.mts +16 -3
- package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.d.mts.map +1 -1
- package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.d.ts +16 -3
- package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.d.ts.map +1 -1
- package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.js +15 -3
- package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.js.map +1 -1
- package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.mjs +15 -3
- package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.mjs.map +1 -1
- package/tools/v1/customers/preview-events-v1-customers.d.mts +45 -0
- package/tools/v1/customers/preview-events-v1-customers.d.mts.map +1 -0
- package/tools/v1/customers/preview-events-v1-customers.d.ts +45 -0
- package/tools/v1/customers/preview-events-v1-customers.d.ts.map +1 -0
- package/tools/v1/customers/preview-events-v1-customers.js +70 -0
- package/tools/v1/customers/preview-events-v1-customers.js.map +1 -0
- package/tools/v1/customers/preview-events-v1-customers.mjs +66 -0
- package/tools/v1/customers/preview-events-v1-customers.mjs.map +1 -0
- package/tools/v1/customers/retrieve-v1-customers.d.mts +16 -3
- package/tools/v1/customers/retrieve-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/retrieve-v1-customers.d.ts +16 -3
- package/tools/v1/customers/retrieve-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/retrieve-v1-customers.js +14 -3
- package/tools/v1/customers/retrieve-v1-customers.js.map +1 -1
- package/tools/v1/customers/retrieve-v1-customers.mjs +14 -3
- package/tools/v1/customers/retrieve-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/set-ingest-aliases-v1-customers.d.mts +16 -3
- package/tools/v1/customers/set-ingest-aliases-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/set-ingest-aliases-v1-customers.d.ts +16 -3
- package/tools/v1/customers/set-ingest-aliases-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/set-ingest-aliases-v1-customers.js +12 -3
- package/tools/v1/customers/set-ingest-aliases-v1-customers.js.map +1 -1
- package/tools/v1/customers/set-ingest-aliases-v1-customers.mjs +12 -3
- package/tools/v1/customers/set-ingest-aliases-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/set-name-v1-customers.d.mts +16 -3
- package/tools/v1/customers/set-name-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/set-name-v1-customers.d.ts +16 -3
- package/tools/v1/customers/set-name-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/set-name-v1-customers.js +12 -3
- package/tools/v1/customers/set-name-v1-customers.js.map +1 -1
- package/tools/v1/customers/set-name-v1-customers.mjs +12 -3
- package/tools/v1/customers/set-name-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/update-config-v1-customers.d.mts +16 -3
- package/tools/v1/customers/update-config-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/update-config-v1-customers.d.ts +16 -3
- package/tools/v1/customers/update-config-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/update-config-v1-customers.js +12 -3
- package/tools/v1/customers/update-config-v1-customers.js.map +1 -1
- package/tools/v1/customers/update-config-v1-customers.mjs +12 -3
- package/tools/v1/customers/update-config-v1-customers.mjs.map +1 -1
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.d.mts +16 -3
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.d.mts.map +1 -1
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.d.ts +16 -3
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.d.ts.map +1 -1
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.js +13 -5
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.js.map +1 -1
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.mjs +13 -5
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.mjs.map +1 -1
- package/tools/v1/invoices/regenerate-v1-invoices.d.mts +16 -3
- package/tools/v1/invoices/regenerate-v1-invoices.d.mts.map +1 -1
- package/tools/v1/invoices/regenerate-v1-invoices.d.ts +16 -3
- package/tools/v1/invoices/regenerate-v1-invoices.d.ts.map +1 -1
- package/tools/v1/invoices/regenerate-v1-invoices.js +12 -3
- package/tools/v1/invoices/regenerate-v1-invoices.js.map +1 -1
- package/tools/v1/invoices/regenerate-v1-invoices.mjs +12 -3
- package/tools/v1/invoices/regenerate-v1-invoices.mjs.map +1 -1
- package/tools/v1/invoices/void-v1-invoices.d.mts +16 -3
- package/tools/v1/invoices/void-v1-invoices.d.mts.map +1 -1
- package/tools/v1/invoices/void-v1-invoices.d.ts +16 -3
- package/tools/v1/invoices/void-v1-invoices.d.ts.map +1 -1
- package/tools/v1/invoices/void-v1-invoices.js +12 -3
- package/tools/v1/invoices/void-v1-invoices.js.map +1 -1
- package/tools/v1/invoices/void-v1-invoices.mjs +12 -3
- package/tools/v1/invoices/void-v1-invoices.mjs.map +1 -1
- package/tools/v1/plans/get-details-v1-plans.d.mts +16 -3
- package/tools/v1/plans/get-details-v1-plans.d.mts.map +1 -1
- package/tools/v1/plans/get-details-v1-plans.d.ts +16 -3
- package/tools/v1/plans/get-details-v1-plans.d.ts.map +1 -1
- package/tools/v1/plans/get-details-v1-plans.js +14 -3
- package/tools/v1/plans/get-details-v1-plans.js.map +1 -1
- package/tools/v1/plans/get-details-v1-plans.mjs +14 -3
- package/tools/v1/plans/get-details-v1-plans.mjs.map +1 -1
- package/tools/v1/plans/list-charges-v1-plans.d.mts +16 -3
- package/tools/v1/plans/list-charges-v1-plans.d.mts.map +1 -1
- package/tools/v1/plans/list-charges-v1-plans.d.ts +16 -3
- package/tools/v1/plans/list-charges-v1-plans.d.ts.map +1 -1
- package/tools/v1/plans/list-charges-v1-plans.js +15 -3
- package/tools/v1/plans/list-charges-v1-plans.js.map +1 -1
- package/tools/v1/plans/list-charges-v1-plans.mjs +15 -3
- package/tools/v1/plans/list-charges-v1-plans.mjs.map +1 -1
- package/tools/v1/plans/list-customers-v1-plans.d.mts +16 -3
- package/tools/v1/plans/list-customers-v1-plans.d.mts.map +1 -1
- package/tools/v1/plans/list-customers-v1-plans.d.ts +16 -3
- package/tools/v1/plans/list-customers-v1-plans.d.ts.map +1 -1
- package/tools/v1/plans/list-customers-v1-plans.js +15 -3
- package/tools/v1/plans/list-customers-v1-plans.js.map +1 -1
- package/tools/v1/plans/list-customers-v1-plans.mjs +15 -3
- package/tools/v1/plans/list-customers-v1-plans.mjs.map +1 -1
- package/tools/v1/plans/list-v1-plans.d.mts +16 -3
- package/tools/v1/plans/list-v1-plans.d.mts.map +1 -1
- package/tools/v1/plans/list-v1-plans.d.ts +16 -3
- package/tools/v1/plans/list-v1-plans.d.ts.map +1 -1
- package/tools/v1/plans/list-v1-plans.js +15 -3
- package/tools/v1/plans/list-v1-plans.js.map +1 -1
- package/tools/v1/plans/list-v1-plans.mjs +15 -3
- package/tools/v1/plans/list-v1-plans.mjs.map +1 -1
- package/tools/v1/pricing-units/list-v1-pricing-units.d.mts +16 -3
- package/tools/v1/pricing-units/list-v1-pricing-units.d.mts.map +1 -1
- package/tools/v1/pricing-units/list-v1-pricing-units.d.ts +16 -3
- package/tools/v1/pricing-units/list-v1-pricing-units.d.ts.map +1 -1
- package/tools/v1/pricing-units/list-v1-pricing-units.js +15 -3
- package/tools/v1/pricing-units/list-v1-pricing-units.js.map +1 -1
- package/tools/v1/pricing-units/list-v1-pricing-units.mjs +15 -3
- package/tools/v1/pricing-units/list-v1-pricing-units.mjs.map +1 -1
- package/tools/v1/services/list-v1-services.d.mts +16 -3
- package/tools/v1/services/list-v1-services.d.mts.map +1 -1
- package/tools/v1/services/list-v1-services.d.ts +16 -3
- package/tools/v1/services/list-v1-services.d.ts.map +1 -1
- package/tools/v1/services/list-v1-services.js +16 -4
- package/tools/v1/services/list-v1-services.js.map +1 -1
- package/tools/v1/services/list-v1-services.mjs +16 -4
- package/tools/v1/services/list-v1-services.mjs.map +1 -1
- package/tools/v1/usage/ingest-v1-usage.d.mts +16 -3
- package/tools/v1/usage/ingest-v1-usage.d.mts.map +1 -1
- package/tools/v1/usage/ingest-v1-usage.d.ts +16 -3
- package/tools/v1/usage/ingest-v1-usage.d.ts.map +1 -1
- package/tools/v1/usage/ingest-v1-usage.js +12 -3
- package/tools/v1/usage/ingest-v1-usage.js.map +1 -1
- package/tools/v1/usage/ingest-v1-usage.mjs +12 -3
- package/tools/v1/usage/ingest-v1-usage.mjs.map +1 -1
- package/tools/v1/usage/list-v1-usage.d.mts +16 -3
- package/tools/v1/usage/list-v1-usage.d.mts.map +1 -1
- package/tools/v1/usage/list-v1-usage.d.ts +16 -3
- package/tools/v1/usage/list-v1-usage.d.ts.map +1 -1
- package/tools/v1/usage/list-v1-usage.js +12 -3
- package/tools/v1/usage/list-v1-usage.js.map +1 -1
- package/tools/v1/usage/list-v1-usage.mjs +12 -3
- package/tools/v1/usage/list-v1-usage.mjs.map +1 -1
- package/tools/v1/usage/list-with-groups-v1-usage.d.mts +16 -3
- package/tools/v1/usage/list-with-groups-v1-usage.d.mts.map +1 -1
- package/tools/v1/usage/list-with-groups-v1-usage.d.ts +16 -3
- package/tools/v1/usage/list-with-groups-v1-usage.d.ts.map +1 -1
- package/tools/v1/usage/list-with-groups-v1-usage.js +13 -3
- package/tools/v1/usage/list-with-groups-v1-usage.js.map +1 -1
- package/tools/v1/usage/list-with-groups-v1-usage.mjs +13 -3
- package/tools/v1/usage/list-with-groups-v1-usage.mjs.map +1 -1
- package/tools/v1/usage/search-v1-usage.d.mts +45 -0
- package/tools/v1/usage/search-v1-usage.d.mts.map +1 -0
- package/tools/v1/usage/search-v1-usage.d.ts +45 -0
- package/tools/v1/usage/search-v1-usage.d.ts.map +1 -0
- package/tools/v1/usage/search-v1-usage.js +44 -0
- package/tools/v1/usage/search-v1-usage.js.map +1 -0
- package/tools/v1/usage/search-v1-usage.mjs +40 -0
- package/tools/v1/usage/search-v1-usage.mjs.map +1 -0
- package/tools/v2/contracts/edit-commit-v2-contracts.d.mts +16 -3
- package/tools/v2/contracts/edit-commit-v2-contracts.d.mts.map +1 -1
- package/tools/v2/contracts/edit-commit-v2-contracts.d.ts +16 -3
- package/tools/v2/contracts/edit-commit-v2-contracts.d.ts.map +1 -1
- package/tools/v2/contracts/edit-commit-v2-contracts.js +14 -8
- package/tools/v2/contracts/edit-commit-v2-contracts.js.map +1 -1
- package/tools/v2/contracts/edit-commit-v2-contracts.mjs +14 -8
- package/tools/v2/contracts/edit-commit-v2-contracts.mjs.map +1 -1
- package/tools/v2/contracts/edit-credit-v2-contracts.d.mts +16 -3
- package/tools/v2/contracts/edit-credit-v2-contracts.d.mts.map +1 -1
- package/tools/v2/contracts/edit-credit-v2-contracts.d.ts +16 -3
- package/tools/v2/contracts/edit-credit-v2-contracts.d.ts.map +1 -1
- package/tools/v2/contracts/edit-credit-v2-contracts.js +12 -5
- package/tools/v2/contracts/edit-credit-v2-contracts.js.map +1 -1
- package/tools/v2/contracts/edit-credit-v2-contracts.mjs +12 -5
- package/tools/v2/contracts/edit-credit-v2-contracts.mjs.map +1 -1
- package/tools/v2/contracts/edit-v2-contracts.d.mts +16 -3
- package/tools/v2/contracts/edit-v2-contracts.d.mts.map +1 -1
- package/tools/v2/contracts/edit-v2-contracts.d.ts +16 -3
- package/tools/v2/contracts/edit-v2-contracts.d.ts.map +1 -1
- package/tools/v2/contracts/edit-v2-contracts.js +438 -68
- package/tools/v2/contracts/edit-v2-contracts.js.map +1 -1
- package/tools/v2/contracts/edit-v2-contracts.mjs +438 -68
- package/tools/v2/contracts/edit-v2-contracts.mjs.map +1 -1
- package/tools/v2/contracts/get-edit-history-v2-contracts.d.mts +16 -3
- package/tools/v2/contracts/get-edit-history-v2-contracts.d.mts.map +1 -1
- package/tools/v2/contracts/get-edit-history-v2-contracts.d.ts +16 -3
- package/tools/v2/contracts/get-edit-history-v2-contracts.d.ts.map +1 -1
- package/tools/v2/contracts/get-edit-history-v2-contracts.js +6 -3
- package/tools/v2/contracts/get-edit-history-v2-contracts.js.map +1 -1
- package/tools/v2/contracts/get-edit-history-v2-contracts.mjs +6 -3
- package/tools/v2/contracts/get-edit-history-v2-contracts.mjs.map +1 -1
- package/tools/v2/contracts/list-v2-contracts.d.mts +16 -3
- package/tools/v2/contracts/list-v2-contracts.d.mts.map +1 -1
- package/tools/v2/contracts/list-v2-contracts.d.ts +16 -3
- package/tools/v2/contracts/list-v2-contracts.d.ts.map +1 -1
- package/tools/v2/contracts/list-v2-contracts.js +6 -3
- package/tools/v2/contracts/list-v2-contracts.js.map +1 -1
- package/tools/v2/contracts/list-v2-contracts.mjs +6 -3
- package/tools/v2/contracts/list-v2-contracts.mjs.map +1 -1
- package/tools/v2/contracts/retrieve-v2-contracts.d.mts +16 -3
- package/tools/v2/contracts/retrieve-v2-contracts.d.mts.map +1 -1
- package/tools/v2/contracts/retrieve-v2-contracts.d.ts +16 -3
- package/tools/v2/contracts/retrieve-v2-contracts.d.ts.map +1 -1
- package/tools/v2/contracts/retrieve-v2-contracts.js +6 -3
- package/tools/v2/contracts/retrieve-v2-contracts.js.map +1 -1
- package/tools/v2/contracts/retrieve-v2-contracts.mjs +6 -3
- package/tools/v2/contracts/retrieve-v2-contracts.mjs.map +1 -1
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
+
import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
|
|
4
|
+
|
|
3
5
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
4
|
-
import type { Metadata } from '../../';
|
|
5
6
|
import Metronome from '@metronome/sdk';
|
|
6
7
|
|
|
7
8
|
export const metadata: Metadata = {
|
|
@@ -15,7 +16,8 @@ export const metadata: Metadata = {
|
|
|
15
16
|
|
|
16
17
|
export const tool: Tool = {
|
|
17
18
|
name: 'edit_v2_contracts',
|
|
18
|
-
description:
|
|
19
|
+
description:
|
|
20
|
+
"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.",
|
|
19
21
|
inputSchema: {
|
|
20
22
|
type: 'object',
|
|
21
23
|
properties: {
|
|
@@ -79,7 +81,7 @@ export const tool: Tool = {
|
|
|
79
81
|
applicable_product_ids: {
|
|
80
82
|
type: 'array',
|
|
81
83
|
description:
|
|
82
|
-
'Which products the commit applies to. If
|
|
84
|
+
'Which products the commit applies to. If applicable_product_ids, applicable_product_tags or specifiers are not provided, the commit applies to all products.',
|
|
83
85
|
items: {
|
|
84
86
|
type: 'string',
|
|
85
87
|
},
|
|
@@ -87,7 +89,7 @@ export const tool: Tool = {
|
|
|
87
89
|
applicable_product_tags: {
|
|
88
90
|
type: 'array',
|
|
89
91
|
description:
|
|
90
|
-
'Which tags the commit applies to. If
|
|
92
|
+
'Which tags the commit applies to. If applicable_product_ids, applicable_product_tags or specifiers are not provided, the commit applies to all products.',
|
|
91
93
|
items: {
|
|
92
94
|
type: 'string',
|
|
93
95
|
},
|
|
@@ -99,6 +101,53 @@ export const tool: Tool = {
|
|
|
99
101
|
type: 'string',
|
|
100
102
|
description: 'Used only in UI/API. It is not exposed to end customers.',
|
|
101
103
|
},
|
|
104
|
+
hierarchy_configuration: {
|
|
105
|
+
type: 'object',
|
|
106
|
+
description: 'Optional configuration for commit hierarchy access control',
|
|
107
|
+
properties: {
|
|
108
|
+
child_access: {
|
|
109
|
+
anyOf: [
|
|
110
|
+
{
|
|
111
|
+
type: 'object',
|
|
112
|
+
properties: {
|
|
113
|
+
type: {
|
|
114
|
+
type: 'string',
|
|
115
|
+
enum: ['ALL'],
|
|
116
|
+
},
|
|
117
|
+
},
|
|
118
|
+
required: ['type'],
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
type: 'object',
|
|
122
|
+
properties: {
|
|
123
|
+
type: {
|
|
124
|
+
type: 'string',
|
|
125
|
+
enum: ['NONE'],
|
|
126
|
+
},
|
|
127
|
+
},
|
|
128
|
+
required: ['type'],
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
type: 'object',
|
|
132
|
+
properties: {
|
|
133
|
+
contract_ids: {
|
|
134
|
+
type: 'array',
|
|
135
|
+
items: {
|
|
136
|
+
type: 'string',
|
|
137
|
+
},
|
|
138
|
+
},
|
|
139
|
+
type: {
|
|
140
|
+
type: 'string',
|
|
141
|
+
enum: ['CONTRACT_IDS'],
|
|
142
|
+
},
|
|
143
|
+
},
|
|
144
|
+
required: ['contract_ids', 'type'],
|
|
145
|
+
},
|
|
146
|
+
],
|
|
147
|
+
},
|
|
148
|
+
},
|
|
149
|
+
required: ['child_access'],
|
|
150
|
+
},
|
|
102
151
|
invoice_schedule: {
|
|
103
152
|
type: 'object',
|
|
104
153
|
description:
|
|
@@ -180,7 +229,6 @@ export const tool: Tool = {
|
|
|
180
229
|
},
|
|
181
230
|
},
|
|
182
231
|
},
|
|
183
|
-
required: [],
|
|
184
232
|
},
|
|
185
233
|
name: {
|
|
186
234
|
type: 'string',
|
|
@@ -200,23 +248,45 @@ export const tool: Tool = {
|
|
|
200
248
|
'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.',
|
|
201
249
|
enum: ['NONE', 'STRIPE', 'EXTERNAL'],
|
|
202
250
|
},
|
|
251
|
+
precalculated_tax_config: {
|
|
252
|
+
type: 'object',
|
|
253
|
+
description: 'Only applicable if using PRECALCULATED as your tax type.',
|
|
254
|
+
properties: {
|
|
255
|
+
tax_amount: {
|
|
256
|
+
type: 'number',
|
|
257
|
+
description:
|
|
258
|
+
"Amount of tax to be applied. This should be in the same currency and denomination as the commit's invoice schedule",
|
|
259
|
+
},
|
|
260
|
+
tax_name: {
|
|
261
|
+
type: 'string',
|
|
262
|
+
description:
|
|
263
|
+
'Name of the tax to be applied. This may be used in an invoice line item description.',
|
|
264
|
+
},
|
|
265
|
+
},
|
|
266
|
+
required: ['tax_amount'],
|
|
267
|
+
},
|
|
203
268
|
stripe_config: {
|
|
204
269
|
type: 'object',
|
|
205
|
-
description: 'Only applicable if using
|
|
270
|
+
description: 'Only applicable if using STRIPE as your payment gateway type.',
|
|
206
271
|
properties: {
|
|
207
272
|
payment_type: {
|
|
208
273
|
type: 'string',
|
|
209
274
|
description: 'If left blank, will default to INVOICE',
|
|
210
275
|
enum: ['INVOICE', 'PAYMENT_INTENT'],
|
|
211
276
|
},
|
|
277
|
+
invoice_metadata: {
|
|
278
|
+
type: 'object',
|
|
279
|
+
description:
|
|
280
|
+
'Metadata to be added to the Stripe invoice. Only applicable if using INVOICE as your payment type.',
|
|
281
|
+
},
|
|
212
282
|
},
|
|
213
283
|
required: ['payment_type'],
|
|
214
284
|
},
|
|
215
285
|
tax_type: {
|
|
216
286
|
type: 'string',
|
|
217
287
|
description:
|
|
218
|
-
'Stripe tax is only supported for Stripe payment gateway. Select NONE if you do not wish
|
|
219
|
-
enum: ['NONE', 'STRIPE'],
|
|
288
|
+
'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.',
|
|
289
|
+
enum: ['NONE', 'STRIPE', 'ANROK', 'PRECALCULATED'],
|
|
220
290
|
},
|
|
221
291
|
},
|
|
222
292
|
required: ['payment_gate_type'],
|
|
@@ -261,7 +331,6 @@ export const tool: Tool = {
|
|
|
261
331
|
},
|
|
262
332
|
},
|
|
263
333
|
},
|
|
264
|
-
required: [],
|
|
265
334
|
},
|
|
266
335
|
},
|
|
267
336
|
temporary_id: {
|
|
@@ -336,6 +405,53 @@ export const tool: Tool = {
|
|
|
336
405
|
type: 'string',
|
|
337
406
|
description: 'Used only in UI/API. It is not exposed to end customers.',
|
|
338
407
|
},
|
|
408
|
+
hierarchy_configuration: {
|
|
409
|
+
type: 'object',
|
|
410
|
+
description: 'Optional configuration for credit hierarchy access control',
|
|
411
|
+
properties: {
|
|
412
|
+
child_access: {
|
|
413
|
+
anyOf: [
|
|
414
|
+
{
|
|
415
|
+
type: 'object',
|
|
416
|
+
properties: {
|
|
417
|
+
type: {
|
|
418
|
+
type: 'string',
|
|
419
|
+
enum: ['ALL'],
|
|
420
|
+
},
|
|
421
|
+
},
|
|
422
|
+
required: ['type'],
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
type: 'object',
|
|
426
|
+
properties: {
|
|
427
|
+
type: {
|
|
428
|
+
type: 'string',
|
|
429
|
+
enum: ['NONE'],
|
|
430
|
+
},
|
|
431
|
+
},
|
|
432
|
+
required: ['type'],
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
type: 'object',
|
|
436
|
+
properties: {
|
|
437
|
+
contract_ids: {
|
|
438
|
+
type: 'array',
|
|
439
|
+
items: {
|
|
440
|
+
type: 'string',
|
|
441
|
+
},
|
|
442
|
+
},
|
|
443
|
+
type: {
|
|
444
|
+
type: 'string',
|
|
445
|
+
enum: ['CONTRACT_IDS'],
|
|
446
|
+
},
|
|
447
|
+
},
|
|
448
|
+
required: ['contract_ids', 'type'],
|
|
449
|
+
},
|
|
450
|
+
],
|
|
451
|
+
},
|
|
452
|
+
},
|
|
453
|
+
required: ['child_access'],
|
|
454
|
+
},
|
|
339
455
|
name: {
|
|
340
456
|
type: 'string',
|
|
341
457
|
description: 'displayed on invoices',
|
|
@@ -380,7 +496,6 @@ export const tool: Tool = {
|
|
|
380
496
|
},
|
|
381
497
|
},
|
|
382
498
|
},
|
|
383
|
-
required: [],
|
|
384
499
|
},
|
|
385
500
|
},
|
|
386
501
|
},
|
|
@@ -475,7 +590,6 @@ export const tool: Tool = {
|
|
|
475
590
|
},
|
|
476
591
|
},
|
|
477
592
|
},
|
|
478
|
-
required: [],
|
|
479
593
|
},
|
|
480
594
|
custom_fields: {
|
|
481
595
|
type: 'object',
|
|
@@ -585,7 +699,6 @@ export const tool: Tool = {
|
|
|
585
699
|
},
|
|
586
700
|
},
|
|
587
701
|
},
|
|
588
|
-
required: [],
|
|
589
702
|
},
|
|
590
703
|
},
|
|
591
704
|
overwrite_rate: {
|
|
@@ -682,7 +795,7 @@ export const tool: Tool = {
|
|
|
682
795
|
applicable_product_ids: {
|
|
683
796
|
type: 'array',
|
|
684
797
|
description:
|
|
685
|
-
'Which products the threshold commit applies to. If
|
|
798
|
+
'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.',
|
|
686
799
|
items: {
|
|
687
800
|
type: 'string',
|
|
688
801
|
},
|
|
@@ -690,7 +803,7 @@ export const tool: Tool = {
|
|
|
690
803
|
applicable_product_tags: {
|
|
691
804
|
type: 'array',
|
|
692
805
|
description:
|
|
693
|
-
'Which tags the threshold commit applies to. If
|
|
806
|
+
'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.',
|
|
694
807
|
items: {
|
|
695
808
|
type: 'string',
|
|
696
809
|
},
|
|
@@ -730,7 +843,6 @@ export const tool: Tool = {
|
|
|
730
843
|
},
|
|
731
844
|
},
|
|
732
845
|
},
|
|
733
|
-
required: [],
|
|
734
846
|
},
|
|
735
847
|
},
|
|
736
848
|
},
|
|
@@ -750,23 +862,45 @@ export const tool: Tool = {
|
|
|
750
862
|
'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.',
|
|
751
863
|
enum: ['NONE', 'STRIPE', 'EXTERNAL'],
|
|
752
864
|
},
|
|
865
|
+
precalculated_tax_config: {
|
|
866
|
+
type: 'object',
|
|
867
|
+
description: 'Only applicable if using PRECALCULATED as your tax type.',
|
|
868
|
+
properties: {
|
|
869
|
+
tax_amount: {
|
|
870
|
+
type: 'number',
|
|
871
|
+
description:
|
|
872
|
+
"Amount of tax to be applied. This should be in the same currency and denomination as the commit's invoice schedule",
|
|
873
|
+
},
|
|
874
|
+
tax_name: {
|
|
875
|
+
type: 'string',
|
|
876
|
+
description:
|
|
877
|
+
'Name of the tax to be applied. This may be used in an invoice line item description.',
|
|
878
|
+
},
|
|
879
|
+
},
|
|
880
|
+
required: ['tax_amount'],
|
|
881
|
+
},
|
|
753
882
|
stripe_config: {
|
|
754
883
|
type: 'object',
|
|
755
|
-
description: 'Only applicable if using
|
|
884
|
+
description: 'Only applicable if using STRIPE as your payment gateway type.',
|
|
756
885
|
properties: {
|
|
757
886
|
payment_type: {
|
|
758
887
|
type: 'string',
|
|
759
888
|
description: 'If left blank, will default to INVOICE',
|
|
760
889
|
enum: ['INVOICE', 'PAYMENT_INTENT'],
|
|
761
890
|
},
|
|
891
|
+
invoice_metadata: {
|
|
892
|
+
type: 'object',
|
|
893
|
+
description:
|
|
894
|
+
'Metadata to be added to the Stripe invoice. Only applicable if using INVOICE as your payment type.',
|
|
895
|
+
},
|
|
762
896
|
},
|
|
763
897
|
required: ['payment_type'],
|
|
764
898
|
},
|
|
765
899
|
tax_type: {
|
|
766
900
|
type: 'string',
|
|
767
901
|
description:
|
|
768
|
-
'Stripe tax is only supported for Stripe payment gateway. Select NONE if you do not wish
|
|
769
|
-
enum: ['NONE', 'STRIPE'],
|
|
902
|
+
'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.',
|
|
903
|
+
enum: ['NONE', 'STRIPE', 'ANROK', 'PRECALCULATED'],
|
|
770
904
|
},
|
|
771
905
|
},
|
|
772
906
|
required: ['payment_gate_type'],
|
|
@@ -780,6 +914,11 @@ export const tool: Tool = {
|
|
|
780
914
|
description:
|
|
781
915
|
"Specify the threshold amount for the contract. Each time the contract's balance lowers to this amount, a threshold charge will be initiated.",
|
|
782
916
|
},
|
|
917
|
+
custom_credit_type_id: {
|
|
918
|
+
type: 'string',
|
|
919
|
+
description:
|
|
920
|
+
'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.',
|
|
921
|
+
},
|
|
783
922
|
},
|
|
784
923
|
required: ['commit', 'is_enabled', 'payment_gate_config', 'recharge_to_amount', 'threshold_amount'],
|
|
785
924
|
},
|
|
@@ -832,28 +971,31 @@ export const tool: Tool = {
|
|
|
832
971
|
credit_type_id: {
|
|
833
972
|
type: 'string',
|
|
834
973
|
},
|
|
835
|
-
|
|
974
|
+
unit_price: {
|
|
836
975
|
type: 'number',
|
|
837
976
|
},
|
|
838
|
-
|
|
977
|
+
quantity: {
|
|
839
978
|
type: 'number',
|
|
979
|
+
description:
|
|
980
|
+
'This field is currently required. Upcoming recurring commit/credit configuration options will allow it to be optional.',
|
|
840
981
|
},
|
|
841
982
|
},
|
|
842
|
-
required: ['credit_type_id', '
|
|
983
|
+
required: ['credit_type_id', 'unit_price'],
|
|
843
984
|
},
|
|
844
985
|
commit_duration: {
|
|
845
986
|
type: 'object',
|
|
846
|
-
description:
|
|
987
|
+
description:
|
|
988
|
+
'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.',
|
|
847
989
|
properties: {
|
|
990
|
+
value: {
|
|
991
|
+
type: 'number',
|
|
992
|
+
},
|
|
848
993
|
unit: {
|
|
849
994
|
type: 'string',
|
|
850
995
|
enum: ['PERIODS'],
|
|
851
996
|
},
|
|
852
|
-
value: {
|
|
853
|
-
type: 'number',
|
|
854
|
-
},
|
|
855
997
|
},
|
|
856
|
-
required: ['
|
|
998
|
+
required: ['value'],
|
|
857
999
|
},
|
|
858
1000
|
priority: {
|
|
859
1001
|
type: 'number',
|
|
@@ -890,6 +1032,53 @@ export const tool: Tool = {
|
|
|
890
1032
|
description: 'Determines when the contract will stop creating recurring commits. optional',
|
|
891
1033
|
format: 'date-time',
|
|
892
1034
|
},
|
|
1035
|
+
hierarchy_configuration: {
|
|
1036
|
+
type: 'object',
|
|
1037
|
+
description: 'Optional configuration for recurring commit/credit hierarchy access control',
|
|
1038
|
+
properties: {
|
|
1039
|
+
child_access: {
|
|
1040
|
+
anyOf: [
|
|
1041
|
+
{
|
|
1042
|
+
type: 'object',
|
|
1043
|
+
properties: {
|
|
1044
|
+
type: {
|
|
1045
|
+
type: 'string',
|
|
1046
|
+
enum: ['ALL'],
|
|
1047
|
+
},
|
|
1048
|
+
},
|
|
1049
|
+
required: ['type'],
|
|
1050
|
+
},
|
|
1051
|
+
{
|
|
1052
|
+
type: 'object',
|
|
1053
|
+
properties: {
|
|
1054
|
+
type: {
|
|
1055
|
+
type: 'string',
|
|
1056
|
+
enum: ['NONE'],
|
|
1057
|
+
},
|
|
1058
|
+
},
|
|
1059
|
+
required: ['type'],
|
|
1060
|
+
},
|
|
1061
|
+
{
|
|
1062
|
+
type: 'object',
|
|
1063
|
+
properties: {
|
|
1064
|
+
contract_ids: {
|
|
1065
|
+
type: 'array',
|
|
1066
|
+
items: {
|
|
1067
|
+
type: 'string',
|
|
1068
|
+
},
|
|
1069
|
+
},
|
|
1070
|
+
type: {
|
|
1071
|
+
type: 'string',
|
|
1072
|
+
enum: ['CONTRACT_IDS'],
|
|
1073
|
+
},
|
|
1074
|
+
},
|
|
1075
|
+
required: ['contract_ids', 'type'],
|
|
1076
|
+
},
|
|
1077
|
+
],
|
|
1078
|
+
},
|
|
1079
|
+
},
|
|
1080
|
+
required: ['child_access'],
|
|
1081
|
+
},
|
|
893
1082
|
invoice_amount: {
|
|
894
1083
|
type: 'object',
|
|
895
1084
|
description: 'The amount the customer should be billed for the commit. Not required.',
|
|
@@ -963,7 +1152,6 @@ export const tool: Tool = {
|
|
|
963
1152
|
},
|
|
964
1153
|
},
|
|
965
1154
|
},
|
|
966
|
-
required: [],
|
|
967
1155
|
},
|
|
968
1156
|
},
|
|
969
1157
|
temporary_id: {
|
|
@@ -987,28 +1175,31 @@ export const tool: Tool = {
|
|
|
987
1175
|
credit_type_id: {
|
|
988
1176
|
type: 'string',
|
|
989
1177
|
},
|
|
990
|
-
|
|
1178
|
+
unit_price: {
|
|
991
1179
|
type: 'number',
|
|
992
1180
|
},
|
|
993
|
-
|
|
1181
|
+
quantity: {
|
|
994
1182
|
type: 'number',
|
|
1183
|
+
description:
|
|
1184
|
+
'This field is currently required. Upcoming recurring commit/credit configuration options will allow it to be optional.',
|
|
995
1185
|
},
|
|
996
1186
|
},
|
|
997
|
-
required: ['credit_type_id', '
|
|
1187
|
+
required: ['credit_type_id', 'unit_price'],
|
|
998
1188
|
},
|
|
999
1189
|
commit_duration: {
|
|
1000
1190
|
type: 'object',
|
|
1001
|
-
description:
|
|
1191
|
+
description:
|
|
1192
|
+
'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.',
|
|
1002
1193
|
properties: {
|
|
1194
|
+
value: {
|
|
1195
|
+
type: 'number',
|
|
1196
|
+
},
|
|
1003
1197
|
unit: {
|
|
1004
1198
|
type: 'string',
|
|
1005
1199
|
enum: ['PERIODS'],
|
|
1006
1200
|
},
|
|
1007
|
-
value: {
|
|
1008
|
-
type: 'number',
|
|
1009
|
-
},
|
|
1010
1201
|
},
|
|
1011
|
-
required: ['
|
|
1202
|
+
required: ['value'],
|
|
1012
1203
|
},
|
|
1013
1204
|
priority: {
|
|
1014
1205
|
type: 'number',
|
|
@@ -1045,6 +1236,53 @@ export const tool: Tool = {
|
|
|
1045
1236
|
description: 'Determines when the contract will stop creating recurring commits. optional',
|
|
1046
1237
|
format: 'date-time',
|
|
1047
1238
|
},
|
|
1239
|
+
hierarchy_configuration: {
|
|
1240
|
+
type: 'object',
|
|
1241
|
+
description: 'Optional configuration for recurring commit/credit hierarchy access control',
|
|
1242
|
+
properties: {
|
|
1243
|
+
child_access: {
|
|
1244
|
+
anyOf: [
|
|
1245
|
+
{
|
|
1246
|
+
type: 'object',
|
|
1247
|
+
properties: {
|
|
1248
|
+
type: {
|
|
1249
|
+
type: 'string',
|
|
1250
|
+
enum: ['ALL'],
|
|
1251
|
+
},
|
|
1252
|
+
},
|
|
1253
|
+
required: ['type'],
|
|
1254
|
+
},
|
|
1255
|
+
{
|
|
1256
|
+
type: 'object',
|
|
1257
|
+
properties: {
|
|
1258
|
+
type: {
|
|
1259
|
+
type: 'string',
|
|
1260
|
+
enum: ['NONE'],
|
|
1261
|
+
},
|
|
1262
|
+
},
|
|
1263
|
+
required: ['type'],
|
|
1264
|
+
},
|
|
1265
|
+
{
|
|
1266
|
+
type: 'object',
|
|
1267
|
+
properties: {
|
|
1268
|
+
contract_ids: {
|
|
1269
|
+
type: 'array',
|
|
1270
|
+
items: {
|
|
1271
|
+
type: 'string',
|
|
1272
|
+
},
|
|
1273
|
+
},
|
|
1274
|
+
type: {
|
|
1275
|
+
type: 'string',
|
|
1276
|
+
enum: ['CONTRACT_IDS'],
|
|
1277
|
+
},
|
|
1278
|
+
},
|
|
1279
|
+
required: ['contract_ids', 'type'],
|
|
1280
|
+
},
|
|
1281
|
+
],
|
|
1282
|
+
},
|
|
1283
|
+
},
|
|
1284
|
+
required: ['child_access'],
|
|
1285
|
+
},
|
|
1048
1286
|
name: {
|
|
1049
1287
|
type: 'string',
|
|
1050
1288
|
description: 'displayed on invoices. will be passed through to the individual commits',
|
|
@@ -1102,7 +1340,6 @@ export const tool: Tool = {
|
|
|
1102
1340
|
},
|
|
1103
1341
|
},
|
|
1104
1342
|
},
|
|
1105
|
-
required: [],
|
|
1106
1343
|
},
|
|
1107
1344
|
},
|
|
1108
1345
|
temporary_id: {
|
|
@@ -1150,7 +1387,6 @@ export const tool: Tool = {
|
|
|
1150
1387
|
type: 'string',
|
|
1151
1388
|
},
|
|
1152
1389
|
},
|
|
1153
|
-
required: [],
|
|
1154
1390
|
},
|
|
1155
1391
|
ending_before: {
|
|
1156
1392
|
type: 'string',
|
|
@@ -1170,7 +1406,6 @@ export const tool: Tool = {
|
|
|
1170
1406
|
type: 'string',
|
|
1171
1407
|
},
|
|
1172
1408
|
},
|
|
1173
|
-
required: [],
|
|
1174
1409
|
},
|
|
1175
1410
|
netsuite_reseller_id: {
|
|
1176
1411
|
type: 'string',
|
|
@@ -1274,7 +1509,6 @@ export const tool: Tool = {
|
|
|
1274
1509
|
},
|
|
1275
1510
|
},
|
|
1276
1511
|
},
|
|
1277
|
-
required: [],
|
|
1278
1512
|
},
|
|
1279
1513
|
name: {
|
|
1280
1514
|
type: 'string',
|
|
@@ -1324,23 +1558,45 @@ export const tool: Tool = {
|
|
|
1324
1558
|
'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.',
|
|
1325
1559
|
enum: ['NONE', 'STRIPE', 'EXTERNAL'],
|
|
1326
1560
|
},
|
|
1561
|
+
precalculated_tax_config: {
|
|
1562
|
+
type: 'object',
|
|
1563
|
+
description: 'Only applicable if using PRECALCULATED as your tax type.',
|
|
1564
|
+
properties: {
|
|
1565
|
+
tax_amount: {
|
|
1566
|
+
type: 'number',
|
|
1567
|
+
description:
|
|
1568
|
+
"Amount of tax to be applied. This should be in the same currency and denomination as the commit's invoice schedule",
|
|
1569
|
+
},
|
|
1570
|
+
tax_name: {
|
|
1571
|
+
type: 'string',
|
|
1572
|
+
description:
|
|
1573
|
+
'Name of the tax to be applied. This may be used in an invoice line item description.',
|
|
1574
|
+
},
|
|
1575
|
+
},
|
|
1576
|
+
required: ['tax_amount'],
|
|
1577
|
+
},
|
|
1327
1578
|
stripe_config: {
|
|
1328
1579
|
type: 'object',
|
|
1329
|
-
description: 'Only applicable if using
|
|
1580
|
+
description: 'Only applicable if using STRIPE as your payment gateway type.',
|
|
1330
1581
|
properties: {
|
|
1331
1582
|
payment_type: {
|
|
1332
1583
|
type: 'string',
|
|
1333
1584
|
description: 'If left blank, will default to INVOICE',
|
|
1334
1585
|
enum: ['INVOICE', 'PAYMENT_INTENT'],
|
|
1335
1586
|
},
|
|
1587
|
+
invoice_metadata: {
|
|
1588
|
+
type: 'object',
|
|
1589
|
+
description:
|
|
1590
|
+
'Metadata to be added to the Stripe invoice. Only applicable if using INVOICE as your payment type.',
|
|
1591
|
+
},
|
|
1336
1592
|
},
|
|
1337
1593
|
required: ['payment_type'],
|
|
1338
1594
|
},
|
|
1339
1595
|
tax_type: {
|
|
1340
1596
|
type: 'string',
|
|
1341
1597
|
description:
|
|
1342
|
-
'Stripe tax is only supported for Stripe payment gateway. Select NONE if you do not wish
|
|
1343
|
-
enum: ['NONE', 'STRIPE'],
|
|
1598
|
+
'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.',
|
|
1599
|
+
enum: ['NONE', 'STRIPE', 'ANROK', 'PRECALCULATED'],
|
|
1344
1600
|
},
|
|
1345
1601
|
},
|
|
1346
1602
|
required: ['payment_gate_type'],
|
|
@@ -1356,7 +1612,7 @@ export const tool: Tool = {
|
|
|
1356
1612
|
add_subscriptions: {
|
|
1357
1613
|
type: 'array',
|
|
1358
1614
|
description:
|
|
1359
|
-
'
|
|
1615
|
+
'Optional list of [subscriptions](https://docs.metronome.com/manage-product-access/create-subscription/) to add to the contract.',
|
|
1360
1616
|
items: {
|
|
1361
1617
|
type: 'object',
|
|
1362
1618
|
properties: {
|
|
@@ -1381,7 +1637,6 @@ export const tool: Tool = {
|
|
|
1381
1637
|
description: 'Indicates if the partial period will be prorated or charged a full amount.',
|
|
1382
1638
|
},
|
|
1383
1639
|
},
|
|
1384
|
-
required: [],
|
|
1385
1640
|
},
|
|
1386
1641
|
subscription_rate: {
|
|
1387
1642
|
type: 'object',
|
|
@@ -1548,12 +1803,11 @@ export const tool: Tool = {
|
|
|
1548
1803
|
},
|
|
1549
1804
|
},
|
|
1550
1805
|
},
|
|
1551
|
-
required: [],
|
|
1552
1806
|
},
|
|
1553
1807
|
applicable_product_ids: {
|
|
1554
1808
|
type: 'array',
|
|
1555
1809
|
description:
|
|
1556
|
-
'Which products the commit applies to. If
|
|
1810
|
+
'Which products the commit applies to. If applicable_product_ids, applicable_product_tags or specifiers are not provided, the commit applies to all products.',
|
|
1557
1811
|
items: {
|
|
1558
1812
|
type: 'string',
|
|
1559
1813
|
},
|
|
@@ -1561,11 +1815,58 @@ export const tool: Tool = {
|
|
|
1561
1815
|
applicable_product_tags: {
|
|
1562
1816
|
type: 'array',
|
|
1563
1817
|
description:
|
|
1564
|
-
'Which tags the commit applies to. If
|
|
1818
|
+
'Which tags the commit applies to. If applicable_product_ids, applicable_product_tags or specifiers are not provided, the commit applies to all products.',
|
|
1565
1819
|
items: {
|
|
1566
1820
|
type: 'string',
|
|
1567
1821
|
},
|
|
1568
1822
|
},
|
|
1823
|
+
hierarchy_configuration: {
|
|
1824
|
+
type: 'object',
|
|
1825
|
+
description: 'Optional configuration for commit hierarchy access control',
|
|
1826
|
+
properties: {
|
|
1827
|
+
child_access: {
|
|
1828
|
+
anyOf: [
|
|
1829
|
+
{
|
|
1830
|
+
type: 'object',
|
|
1831
|
+
properties: {
|
|
1832
|
+
type: {
|
|
1833
|
+
type: 'string',
|
|
1834
|
+
enum: ['ALL'],
|
|
1835
|
+
},
|
|
1836
|
+
},
|
|
1837
|
+
required: ['type'],
|
|
1838
|
+
},
|
|
1839
|
+
{
|
|
1840
|
+
type: 'object',
|
|
1841
|
+
properties: {
|
|
1842
|
+
type: {
|
|
1843
|
+
type: 'string',
|
|
1844
|
+
enum: ['NONE'],
|
|
1845
|
+
},
|
|
1846
|
+
},
|
|
1847
|
+
required: ['type'],
|
|
1848
|
+
},
|
|
1849
|
+
{
|
|
1850
|
+
type: 'object',
|
|
1851
|
+
properties: {
|
|
1852
|
+
contract_ids: {
|
|
1853
|
+
type: 'array',
|
|
1854
|
+
items: {
|
|
1855
|
+
type: 'string',
|
|
1856
|
+
},
|
|
1857
|
+
},
|
|
1858
|
+
type: {
|
|
1859
|
+
type: 'string',
|
|
1860
|
+
enum: ['CONTRACT_IDS'],
|
|
1861
|
+
},
|
|
1862
|
+
},
|
|
1863
|
+
required: ['contract_ids', 'type'],
|
|
1864
|
+
},
|
|
1865
|
+
],
|
|
1866
|
+
},
|
|
1867
|
+
},
|
|
1868
|
+
required: ['child_access'],
|
|
1869
|
+
},
|
|
1569
1870
|
invoice_schedule: {
|
|
1570
1871
|
type: 'object',
|
|
1571
1872
|
properties: {
|
|
@@ -1629,7 +1930,6 @@ export const tool: Tool = {
|
|
|
1629
1930
|
},
|
|
1630
1931
|
},
|
|
1631
1932
|
},
|
|
1632
|
-
required: [],
|
|
1633
1933
|
},
|
|
1634
1934
|
netsuite_sales_order_id: {
|
|
1635
1935
|
type: 'string',
|
|
@@ -1649,6 +1949,11 @@ export const tool: Tool = {
|
|
|
1649
1949
|
description: 'RFC 3339 timestamp indicating when the contract will end (exclusive).',
|
|
1650
1950
|
format: 'date-time',
|
|
1651
1951
|
},
|
|
1952
|
+
update_contract_name: {
|
|
1953
|
+
type: 'string',
|
|
1954
|
+
description:
|
|
1955
|
+
'Value to update the contract name to. If not provided, the contract name will remain unchanged.',
|
|
1956
|
+
},
|
|
1652
1957
|
update_credits: {
|
|
1653
1958
|
type: 'array',
|
|
1654
1959
|
items: {
|
|
@@ -1716,12 +2021,11 @@ export const tool: Tool = {
|
|
|
1716
2021
|
},
|
|
1717
2022
|
},
|
|
1718
2023
|
},
|
|
1719
|
-
required: [],
|
|
1720
2024
|
},
|
|
1721
2025
|
applicable_product_ids: {
|
|
1722
2026
|
type: 'array',
|
|
1723
2027
|
description:
|
|
1724
|
-
'Which products the commit applies to. If
|
|
2028
|
+
'Which products the commit applies to. If applicable_product_ids, applicable_product_tags or specifiers are not provided, the commit applies to all products.',
|
|
1725
2029
|
items: {
|
|
1726
2030
|
type: 'string',
|
|
1727
2031
|
},
|
|
@@ -1729,11 +2033,58 @@ export const tool: Tool = {
|
|
|
1729
2033
|
applicable_product_tags: {
|
|
1730
2034
|
type: 'array',
|
|
1731
2035
|
description:
|
|
1732
|
-
'Which tags the commit applies to. If
|
|
2036
|
+
'Which tags the commit applies to. If applicable_product_ids, applicable_product_tags or specifiers are not provided, the commit applies to all products.',
|
|
1733
2037
|
items: {
|
|
1734
2038
|
type: 'string',
|
|
1735
2039
|
},
|
|
1736
2040
|
},
|
|
2041
|
+
hierarchy_configuration: {
|
|
2042
|
+
type: 'object',
|
|
2043
|
+
description: 'Optional configuration for commit hierarchy access control',
|
|
2044
|
+
properties: {
|
|
2045
|
+
child_access: {
|
|
2046
|
+
anyOf: [
|
|
2047
|
+
{
|
|
2048
|
+
type: 'object',
|
|
2049
|
+
properties: {
|
|
2050
|
+
type: {
|
|
2051
|
+
type: 'string',
|
|
2052
|
+
enum: ['ALL'],
|
|
2053
|
+
},
|
|
2054
|
+
},
|
|
2055
|
+
required: ['type'],
|
|
2056
|
+
},
|
|
2057
|
+
{
|
|
2058
|
+
type: 'object',
|
|
2059
|
+
properties: {
|
|
2060
|
+
type: {
|
|
2061
|
+
type: 'string',
|
|
2062
|
+
enum: ['NONE'],
|
|
2063
|
+
},
|
|
2064
|
+
},
|
|
2065
|
+
required: ['type'],
|
|
2066
|
+
},
|
|
2067
|
+
{
|
|
2068
|
+
type: 'object',
|
|
2069
|
+
properties: {
|
|
2070
|
+
contract_ids: {
|
|
2071
|
+
type: 'array',
|
|
2072
|
+
items: {
|
|
2073
|
+
type: 'string',
|
|
2074
|
+
},
|
|
2075
|
+
},
|
|
2076
|
+
type: {
|
|
2077
|
+
type: 'string',
|
|
2078
|
+
enum: ['CONTRACT_IDS'],
|
|
2079
|
+
},
|
|
2080
|
+
},
|
|
2081
|
+
required: ['contract_ids', 'type'],
|
|
2082
|
+
},
|
|
2083
|
+
],
|
|
2084
|
+
},
|
|
2085
|
+
},
|
|
2086
|
+
required: ['child_access'],
|
|
2087
|
+
},
|
|
1737
2088
|
netsuite_sales_order_id: {
|
|
1738
2089
|
type: 'string',
|
|
1739
2090
|
},
|
|
@@ -1806,11 +2157,14 @@ export const tool: Tool = {
|
|
|
1806
2157
|
},
|
|
1807
2158
|
},
|
|
1808
2159
|
},
|
|
1809
|
-
required: [],
|
|
1810
2160
|
},
|
|
1811
2161
|
},
|
|
1812
2162
|
},
|
|
1813
|
-
|
|
2163
|
+
},
|
|
2164
|
+
custom_credit_type_id: {
|
|
2165
|
+
type: 'string',
|
|
2166
|
+
description:
|
|
2167
|
+
'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.',
|
|
1814
2168
|
},
|
|
1815
2169
|
is_enabled: {
|
|
1816
2170
|
type: 'boolean',
|
|
@@ -1826,23 +2180,45 @@ export const tool: Tool = {
|
|
|
1826
2180
|
'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.',
|
|
1827
2181
|
enum: ['NONE', 'STRIPE', 'EXTERNAL'],
|
|
1828
2182
|
},
|
|
2183
|
+
precalculated_tax_config: {
|
|
2184
|
+
type: 'object',
|
|
2185
|
+
description: 'Only applicable if using PRECALCULATED as your tax type.',
|
|
2186
|
+
properties: {
|
|
2187
|
+
tax_amount: {
|
|
2188
|
+
type: 'number',
|
|
2189
|
+
description:
|
|
2190
|
+
"Amount of tax to be applied. This should be in the same currency and denomination as the commit's invoice schedule",
|
|
2191
|
+
},
|
|
2192
|
+
tax_name: {
|
|
2193
|
+
type: 'string',
|
|
2194
|
+
description:
|
|
2195
|
+
'Name of the tax to be applied. This may be used in an invoice line item description.',
|
|
2196
|
+
},
|
|
2197
|
+
},
|
|
2198
|
+
required: ['tax_amount'],
|
|
2199
|
+
},
|
|
1829
2200
|
stripe_config: {
|
|
1830
2201
|
type: 'object',
|
|
1831
|
-
description: 'Only applicable if using
|
|
2202
|
+
description: 'Only applicable if using STRIPE as your payment gateway type.',
|
|
1832
2203
|
properties: {
|
|
1833
2204
|
payment_type: {
|
|
1834
2205
|
type: 'string',
|
|
1835
2206
|
description: 'If left blank, will default to INVOICE',
|
|
1836
2207
|
enum: ['INVOICE', 'PAYMENT_INTENT'],
|
|
1837
2208
|
},
|
|
2209
|
+
invoice_metadata: {
|
|
2210
|
+
type: 'object',
|
|
2211
|
+
description:
|
|
2212
|
+
'Metadata to be added to the Stripe invoice. Only applicable if using INVOICE as your payment type.',
|
|
2213
|
+
},
|
|
1838
2214
|
},
|
|
1839
2215
|
required: ['payment_type'],
|
|
1840
2216
|
},
|
|
1841
2217
|
tax_type: {
|
|
1842
2218
|
type: 'string',
|
|
1843
2219
|
description:
|
|
1844
|
-
'Stripe tax is only supported for Stripe payment gateway. Select NONE if you do not wish
|
|
1845
|
-
enum: ['NONE', 'STRIPE'],
|
|
2220
|
+
'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.',
|
|
2221
|
+
enum: ['NONE', 'STRIPE', 'ANROK', 'PRECALCULATED'],
|
|
1846
2222
|
},
|
|
1847
2223
|
},
|
|
1848
2224
|
required: ['payment_gate_type'],
|
|
@@ -1857,7 +2233,6 @@ export const tool: Tool = {
|
|
|
1857
2233
|
"Specify the threshold amount for the contract. Each time the contract's balance lowers to this amount, a threshold charge will be initiated.",
|
|
1858
2234
|
},
|
|
1859
2235
|
},
|
|
1860
|
-
required: [],
|
|
1861
2236
|
},
|
|
1862
2237
|
update_recurring_commits: {
|
|
1863
2238
|
type: 'array',
|
|
@@ -1879,7 +2254,6 @@ export const tool: Tool = {
|
|
|
1879
2254
|
type: 'number',
|
|
1880
2255
|
},
|
|
1881
2256
|
},
|
|
1882
|
-
required: [],
|
|
1883
2257
|
},
|
|
1884
2258
|
ending_before: {
|
|
1885
2259
|
type: 'string',
|
|
@@ -1895,7 +2269,6 @@ export const tool: Tool = {
|
|
|
1895
2269
|
type: 'number',
|
|
1896
2270
|
},
|
|
1897
2271
|
},
|
|
1898
|
-
required: [],
|
|
1899
2272
|
},
|
|
1900
2273
|
},
|
|
1901
2274
|
required: ['recurring_commit_id'],
|
|
@@ -1921,7 +2294,6 @@ export const tool: Tool = {
|
|
|
1921
2294
|
type: 'number',
|
|
1922
2295
|
},
|
|
1923
2296
|
},
|
|
1924
|
-
required: [],
|
|
1925
2297
|
},
|
|
1926
2298
|
ending_before: {
|
|
1927
2299
|
type: 'string',
|
|
@@ -2002,7 +2374,6 @@ export const tool: Tool = {
|
|
|
2002
2374
|
},
|
|
2003
2375
|
},
|
|
2004
2376
|
},
|
|
2005
|
-
required: [],
|
|
2006
2377
|
},
|
|
2007
2378
|
netsuite_sales_order_id: {
|
|
2008
2379
|
type: 'string',
|
|
@@ -2031,7 +2402,6 @@ export const tool: Tool = {
|
|
|
2031
2402
|
'The commit product that will be used to generate the line item for commit payment.',
|
|
2032
2403
|
},
|
|
2033
2404
|
},
|
|
2034
|
-
required: [],
|
|
2035
2405
|
},
|
|
2036
2406
|
is_enabled: {
|
|
2037
2407
|
type: 'boolean',
|
|
@@ -2047,23 +2417,45 @@ export const tool: Tool = {
|
|
|
2047
2417
|
'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.',
|
|
2048
2418
|
enum: ['NONE', 'STRIPE', 'EXTERNAL'],
|
|
2049
2419
|
},
|
|
2420
|
+
precalculated_tax_config: {
|
|
2421
|
+
type: 'object',
|
|
2422
|
+
description: 'Only applicable if using PRECALCULATED as your tax type.',
|
|
2423
|
+
properties: {
|
|
2424
|
+
tax_amount: {
|
|
2425
|
+
type: 'number',
|
|
2426
|
+
description:
|
|
2427
|
+
"Amount of tax to be applied. This should be in the same currency and denomination as the commit's invoice schedule",
|
|
2428
|
+
},
|
|
2429
|
+
tax_name: {
|
|
2430
|
+
type: 'string',
|
|
2431
|
+
description:
|
|
2432
|
+
'Name of the tax to be applied. This may be used in an invoice line item description.',
|
|
2433
|
+
},
|
|
2434
|
+
},
|
|
2435
|
+
required: ['tax_amount'],
|
|
2436
|
+
},
|
|
2050
2437
|
stripe_config: {
|
|
2051
2438
|
type: 'object',
|
|
2052
|
-
description: 'Only applicable if using
|
|
2439
|
+
description: 'Only applicable if using STRIPE as your payment gateway type.',
|
|
2053
2440
|
properties: {
|
|
2054
2441
|
payment_type: {
|
|
2055
2442
|
type: 'string',
|
|
2056
2443
|
description: 'If left blank, will default to INVOICE',
|
|
2057
2444
|
enum: ['INVOICE', 'PAYMENT_INTENT'],
|
|
2058
2445
|
},
|
|
2446
|
+
invoice_metadata: {
|
|
2447
|
+
type: 'object',
|
|
2448
|
+
description:
|
|
2449
|
+
'Metadata to be added to the Stripe invoice. Only applicable if using INVOICE as your payment type.',
|
|
2450
|
+
},
|
|
2059
2451
|
},
|
|
2060
2452
|
required: ['payment_type'],
|
|
2061
2453
|
},
|
|
2062
2454
|
tax_type: {
|
|
2063
2455
|
type: 'string',
|
|
2064
2456
|
description:
|
|
2065
|
-
'Stripe tax is only supported for Stripe payment gateway. Select NONE if you do not wish
|
|
2066
|
-
enum: ['NONE', 'STRIPE'],
|
|
2457
|
+
'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.',
|
|
2458
|
+
enum: ['NONE', 'STRIPE', 'ANROK', 'PRECALCULATED'],
|
|
2067
2459
|
},
|
|
2068
2460
|
},
|
|
2069
2461
|
required: ['payment_gate_type'],
|
|
@@ -2074,11 +2466,10 @@ export const tool: Tool = {
|
|
|
2074
2466
|
"Specify the threshold amount for the contract. Each time the contract's usage hits this amount, a threshold charge will be initiated.",
|
|
2075
2467
|
},
|
|
2076
2468
|
},
|
|
2077
|
-
required: [],
|
|
2078
2469
|
},
|
|
2079
2470
|
update_subscriptions: {
|
|
2080
2471
|
type: 'array',
|
|
2081
|
-
description: '
|
|
2472
|
+
description: 'Optional list of subscriptions to update.',
|
|
2082
2473
|
items: {
|
|
2083
2474
|
type: 'object',
|
|
2084
2475
|
properties: {
|
|
@@ -2119,6 +2510,7 @@ export const tool: Tool = {
|
|
|
2119
2510
|
},
|
|
2120
2511
|
},
|
|
2121
2512
|
},
|
|
2513
|
+
required: ['contract_id', 'customer_id'],
|
|
2122
2514
|
$defs: {
|
|
2123
2515
|
tier: {
|
|
2124
2516
|
type: 'object',
|
|
@@ -2134,11 +2526,12 @@ export const tool: Tool = {
|
|
|
2134
2526
|
},
|
|
2135
2527
|
},
|
|
2136
2528
|
},
|
|
2529
|
+
annotations: {},
|
|
2137
2530
|
};
|
|
2138
2531
|
|
|
2139
|
-
export const handler = (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
2532
|
+
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
2140
2533
|
const body = args as any;
|
|
2141
|
-
return client.v2.contracts.edit(body);
|
|
2534
|
+
return asTextContentResult(await client.v2.contracts.edit(body));
|
|
2142
2535
|
};
|
|
2143
2536
|
|
|
2144
2537
|
export default { metadata, tool, handler };
|