@metronome/mcp 0.1.0 → 0.3.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 +26 -0
- package/compat.d.mts.map +1 -1
- package/compat.d.ts.map +1 -1
- package/compat.js +5 -2
- package/compat.js.map +1 -1
- package/compat.mjs +5 -2
- package/compat.mjs.map +1 -1
- package/filtering.d.mts +1 -1
- package/filtering.d.mts.map +1 -1
- package/filtering.d.ts +1 -1
- package/filtering.d.ts.map +1 -1
- package/filtering.js +1 -2
- package/filtering.js.map +1 -1
- package/filtering.mjs +1 -2
- package/filtering.mjs.map +1 -1
- package/headers.d.mts +4 -0
- package/headers.d.mts.map +1 -0
- package/headers.d.ts +4 -0
- package/headers.d.ts.map +1 -0
- package/headers.js +22 -0
- package/headers.js.map +1 -0
- package/headers.mjs +18 -0
- package/headers.mjs.map +1 -0
- package/http.d.mts +6 -0
- package/http.d.mts.map +1 -0
- package/http.d.ts +6 -0
- package/http.d.ts.map +1 -0
- package/http.js +93 -0
- package/http.js.map +1 -0
- package/http.mjs +85 -0
- package/http.mjs.map +1 -0
- package/index.js +12 -7
- package/index.js.map +1 -1
- package/index.mjs +13 -8
- package/index.mjs.map +1 -1
- package/options.d.mts +3 -0
- package/options.d.mts.map +1 -1
- package/options.d.ts +3 -0
- package/options.d.ts.map +1 -1
- package/options.js +18 -0
- package/options.js.map +1 -1
- package/options.mjs +18 -0
- package/options.mjs.map +1 -1
- package/package.json +4 -3
- package/server.d.mts +1 -0
- package/server.d.mts.map +1 -1
- package/server.d.ts +1 -0
- package/server.d.ts.map +1 -1
- package/server.js +8 -6
- package/server.js.map +1 -1
- package/server.mjs +6 -5
- package/server.mjs.map +1 -1
- package/src/compat.ts +5 -2
- package/src/filtering.ts +1 -2
- package/src/headers.ts +24 -0
- package/src/http.ts +99 -0
- package/src/index.ts +15 -11
- package/src/options.ts +22 -0
- package/src/server.ts +12 -9
- package/src/stdio.ts +14 -0
- package/src/tools/v1/alerts/archive-v1-alerts.ts +2 -2
- package/src/tools/v1/alerts/create-v1-alerts.ts +15 -12
- package/src/tools/v1/audit-logs/list-v1-audit-logs.ts +2 -2
- package/src/tools/v1/billable-metrics/archive-v1-billable-metrics.ts +2 -2
- package/src/tools/v1/billable-metrics/create-v1-billable-metrics.ts +3 -2
- package/src/tools/v1/billable-metrics/list-v1-billable-metrics.ts +3 -3
- package/src/tools/v1/billable-metrics/retrieve-v1-billable-metrics.ts +3 -3
- package/src/tools/v1/contracts/add-manual-balance-entry-v1-contracts.ts +1 -8
- package/src/tools/v1/contracts/amend-v1-contracts.ts +38 -1
- package/src/tools/v1/contracts/archive-v1-contracts.ts +2 -2
- package/src/tools/v1/contracts/create-historical-invoices-v1-contracts.ts +4 -2
- package/src/tools/v1/contracts/create-v1-contracts.ts +107 -5
- package/src/tools/v1/contracts/list-balances-v1-contracts.ts +1 -2
- package/src/tools/v1/contracts/list-v1-contracts.ts +1 -1
- package/src/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.ts +3 -3
- package/src/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.ts +2 -7
- package/src/tools/v1/contracts/products/archive-contracts-v1-products.ts +2 -2
- package/src/tools/v1/contracts/products/create-contracts-v1-products.ts +6 -2
- package/src/tools/v1/contracts/products/list-contracts-v1-products.ts +3 -3
- package/src/tools/v1/contracts/products/retrieve-contracts-v1-products.ts +3 -3
- package/src/tools/v1/contracts/products/update-contracts-v1-products.ts +2 -2
- package/src/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.ts +2 -2
- package/src/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.ts +3 -2
- package/src/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.ts +4 -3
- package/src/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.ts +3 -3
- package/src/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.ts +2 -7
- package/src/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.ts +2 -2
- package/src/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.ts +2 -2
- package/src/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.ts +4 -2
- package/src/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.ts +7 -3
- package/src/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.ts +5 -3
- package/src/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.ts +5 -3
- package/src/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.ts +5 -3
- package/src/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.ts +2 -2
- package/src/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.ts +7 -3
- package/src/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.ts +2 -2
- package/src/tools/v1/contracts/retrieve-v1-contracts.ts +1 -1
- package/src/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.ts +1 -1
- package/src/tools/v1/contracts/set-usage-filter-v1-contracts.ts +1 -8
- package/src/tools/v1/contracts/update-end-date-v1-contracts.ts +2 -2
- package/src/tools/v1/credit-grants/create-v1-credit-grants.ts +3 -2
- package/src/tools/v1/credit-grants/edit-v1-credit-grants.ts +2 -2
- package/src/tools/v1/credit-grants/list-entries-v1-credit-grants.ts +2 -2
- package/src/tools/v1/credit-grants/list-v1-credit-grants.ts +3 -3
- package/src/tools/v1/credit-grants/void-v1-credit-grants.ts +2 -2
- package/src/tools/v1/custom-fields/add-key-v1-custom-fields.ts +1 -7
- package/src/tools/v1/custom-fields/delete-values-v1-custom-fields.ts +1 -8
- package/src/tools/v1/custom-fields/list-keys-v1-custom-fields.ts +2 -2
- package/src/tools/v1/custom-fields/remove-key-v1-custom-fields.ts +1 -8
- package/src/tools/v1/custom-fields/set-values-v1-custom-fields.ts +2 -7
- package/src/tools/v1/customers/alerts/list-customers-v1-alerts.ts +3 -3
- package/src/tools/v1/customers/alerts/reset-customers-v1-alerts.ts +1 -8
- package/src/tools/v1/customers/alerts/retrieve-customers-v1-alerts.ts +3 -3
- package/src/tools/v1/customers/archive-v1-customers.ts +2 -2
- package/src/tools/v1/customers/billing-config/create-customers-v1-billing-config.ts +1 -8
- package/src/tools/v1/customers/billing-config/delete-customers-v1-billing-config.ts +1 -7
- package/src/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.ts +4 -2
- package/src/tools/v1/customers/commits/create-customers-v1-commits.ts +10 -2
- package/src/tools/v1/customers/commits/list-customers-v1-commits.ts +1 -2
- package/src/tools/v1/customers/commits/update-end-date-customers-v1-commits.ts +4 -2
- package/src/tools/v1/customers/create-v1-customers.ts +5 -3
- package/src/tools/v1/customers/credits/create-customers-v1-credits.ts +5 -2
- package/src/tools/v1/customers/credits/list-customers-v1-credits.ts +1 -2
- package/src/tools/v1/customers/credits/update-end-date-customers-v1-credits.ts +4 -2
- package/src/tools/v1/customers/invoices/add-charge-customers-v1-invoices.ts +4 -2
- package/src/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.ts +1 -1
- package/src/tools/v1/customers/invoices/list-customers-v1-invoices.ts +1 -1
- package/src/tools/v1/customers/invoices/retrieve-customers-v1-invoices.ts +1 -2
- package/src/tools/v1/customers/list-billable-metrics-v1-customers.ts +3 -3
- package/src/tools/v1/customers/list-costs-v1-customers.ts +3 -3
- package/src/tools/v1/customers/list-v1-customers.ts +3 -3
- package/src/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.ts +3 -3
- package/src/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.ts +2 -7
- package/src/tools/v1/customers/plans/add-customers-v1-plans.ts +2 -2
- package/src/tools/v1/customers/plans/end-customers-v1-plans.ts +2 -2
- package/src/tools/v1/customers/plans/list-customers-v1-plans.ts +3 -3
- package/src/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.ts +2 -2
- package/src/tools/v1/customers/preview-events-v1-customers.ts +2 -1
- package/src/tools/v1/customers/retrieve-v1-customers.ts +3 -3
- package/src/tools/v1/customers/set-ingest-aliases-v1-customers.ts +1 -7
- package/src/tools/v1/customers/set-name-v1-customers.ts +3 -3
- package/src/tools/v1/customers/update-config-v1-customers.ts +1 -8
- package/src/tools/v1/dashboards/get-embeddable-url-v1-dashboards.ts +5 -2
- package/src/tools/v1/invoices/regenerate-v1-invoices.ts +2 -2
- package/src/tools/v1/invoices/void-v1-invoices.ts +2 -2
- package/src/tools/v1/plans/get-details-v1-plans.ts +3 -3
- package/src/tools/v1/plans/list-charges-v1-plans.ts +3 -3
- package/src/tools/v1/plans/list-customers-v1-plans.ts +3 -3
- package/src/tools/v1/plans/list-v1-plans.ts +3 -3
- package/src/tools/v1/pricing-units/list-v1-pricing-units.ts +2 -2
- package/src/tools/v1/services/list-v1-services.ts +2 -1
- package/src/tools/v1/usage/ingest-v1-usage.ts +2 -7
- package/src/tools/v1/usage/list-v1-usage.ts +3 -3
- package/src/tools/v1/usage/list-with-groups-v1-usage.ts +2 -2
- package/src/tools/v1/usage/search-v1-usage.ts +3 -3
- package/src/tools/v2/contracts/edit-commit-v2-contracts.ts +9 -3
- package/src/tools/v2/contracts/edit-credit-v2-contracts.ts +9 -3
- package/src/tools/v2/contracts/edit-v2-contracts.ts +129 -18
- package/src/tools/v2/contracts/get-edit-history-v2-contracts.ts +1 -1
- package/src/tools/v2/contracts/list-v2-contracts.ts +1 -1
- package/src/tools/v2/contracts/retrieve-v2-contracts.ts +1 -2
- package/stdio.d.mts +4 -0
- package/stdio.d.mts.map +1 -0
- package/stdio.d.ts +4 -0
- package/stdio.d.ts.map +1 -0
- package/stdio.js +14 -0
- package/stdio.js.map +1 -0
- package/stdio.mjs +10 -0
- package/stdio.mjs.map +1 -0
- package/tools/v1/alerts/archive-v1-alerts.js +2 -2
- package/tools/v1/alerts/archive-v1-alerts.js.map +1 -1
- package/tools/v1/alerts/archive-v1-alerts.mjs +2 -2
- package/tools/v1/alerts/archive-v1-alerts.mjs.map +1 -1
- package/tools/v1/alerts/create-v1-alerts.d.mts.map +1 -1
- package/tools/v1/alerts/create-v1-alerts.d.ts.map +1 -1
- package/tools/v1/alerts/create-v1-alerts.js +15 -12
- package/tools/v1/alerts/create-v1-alerts.js.map +1 -1
- package/tools/v1/alerts/create-v1-alerts.mjs +15 -12
- package/tools/v1/alerts/create-v1-alerts.mjs.map +1 -1
- package/tools/v1/audit-logs/list-v1-audit-logs.js +2 -2
- package/tools/v1/audit-logs/list-v1-audit-logs.js.map +1 -1
- package/tools/v1/audit-logs/list-v1-audit-logs.mjs +2 -2
- package/tools/v1/audit-logs/list-v1-audit-logs.mjs.map +1 -1
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.js +2 -2
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.js.map +1 -1
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.mjs +2 -2
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.mjs.map +1 -1
- 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.map +1 -1
- package/tools/v1/billable-metrics/create-v1-billable-metrics.js +3 -2
- package/tools/v1/billable-metrics/create-v1-billable-metrics.js.map +1 -1
- package/tools/v1/billable-metrics/create-v1-billable-metrics.mjs +3 -2
- package/tools/v1/billable-metrics/create-v1-billable-metrics.mjs.map +1 -1
- package/tools/v1/billable-metrics/list-v1-billable-metrics.js +3 -3
- package/tools/v1/billable-metrics/list-v1-billable-metrics.js.map +1 -1
- package/tools/v1/billable-metrics/list-v1-billable-metrics.mjs +3 -3
- package/tools/v1/billable-metrics/list-v1-billable-metrics.mjs.map +1 -1
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.js +3 -3
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.js.map +1 -1
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.mjs +3 -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.map +1 -1
- 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 +1 -6
- 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 +1 -6
- package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/amend-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/amend-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/amend-v1-contracts.js +34 -1
- package/tools/v1/contracts/amend-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/amend-v1-contracts.mjs +34 -1
- package/tools/v1/contracts/amend-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/archive-v1-contracts.js +2 -2
- package/tools/v1/contracts/archive-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/archive-v1-contracts.mjs +2 -2
- package/tools/v1/contracts/archive-v1-contracts.mjs.map +1 -1
- 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.map +1 -1
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.js +4 -1
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.mjs +4 -1
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/create-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/create-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/create-v1-contracts.js +102 -4
- package/tools/v1/contracts/create-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/create-v1-contracts.mjs +102 -4
- package/tools/v1/contracts/create-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/list-balances-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/list-balances-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/list-balances-v1-contracts.js +1 -1
- package/tools/v1/contracts/list-balances-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/list-balances-v1-contracts.mjs +1 -1
- package/tools/v1/contracts/list-balances-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/list-v1-contracts.js +1 -1
- package/tools/v1/contracts/list-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/list-v1-contracts.mjs +1 -1
- package/tools/v1/contracts/list-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.js +3 -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 +3 -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.map +1 -1
- 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 +2 -6
- 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 +2 -6
- package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.mjs.map +1 -1
- package/tools/v1/contracts/products/archive-contracts-v1-products.js +2 -2
- package/tools/v1/contracts/products/archive-contracts-v1-products.js.map +1 -1
- package/tools/v1/contracts/products/archive-contracts-v1-products.mjs +2 -2
- package/tools/v1/contracts/products/archive-contracts-v1-products.mjs.map +1 -1
- 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.map +1 -1
- package/tools/v1/contracts/products/create-contracts-v1-products.js +6 -2
- package/tools/v1/contracts/products/create-contracts-v1-products.js.map +1 -1
- package/tools/v1/contracts/products/create-contracts-v1-products.mjs +6 -2
- package/tools/v1/contracts/products/create-contracts-v1-products.mjs.map +1 -1
- package/tools/v1/contracts/products/list-contracts-v1-products.js +3 -3
- package/tools/v1/contracts/products/list-contracts-v1-products.js.map +1 -1
- package/tools/v1/contracts/products/list-contracts-v1-products.mjs +3 -3
- package/tools/v1/contracts/products/list-contracts-v1-products.mjs.map +1 -1
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.js +3 -3
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.js.map +1 -1
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.mjs +3 -3
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.mjs.map +1 -1
- package/tools/v1/contracts/products/update-contracts-v1-products.js +2 -2
- package/tools/v1/contracts/products/update-contracts-v1-products.js.map +1 -1
- package/tools/v1/contracts/products/update-contracts-v1-products.mjs +2 -2
- package/tools/v1/contracts/products/update-contracts-v1-products.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.js +2 -2
- 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 +2 -2
- 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.map +1 -1
- 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 +3 -2
- 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 +3 -2
- 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.map +1 -1
- 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 +4 -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 +4 -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.js +3 -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 +3 -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.map +1 -1
- 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 +2 -6
- 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 +2 -6
- 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.js +2 -2
- 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 +2 -2
- 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.js +2 -2
- 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 +2 -2
- 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.map +1 -1
- 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 +4 -2
- 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 +4 -2
- 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.map +1 -1
- 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 +5 -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 +5 -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.map +1 -1
- 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 +5 -3
- 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 +5 -3
- 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.map +1 -1
- 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 +3 -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 +3 -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.map +1 -1
- 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 +5 -3
- 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 +5 -3
- 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.js +2 -2
- 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 +2 -2
- 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.map +1 -1
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.js +5 -3
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.mjs +5 -3
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.js +2 -2
- 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 +2 -2
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/retrieve-v1-contracts.js +1 -1
- package/tools/v1/contracts/retrieve-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/retrieve-v1-contracts.mjs +1 -1
- package/tools/v1/contracts/retrieve-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.js +1 -1
- 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 +1 -1
- 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.map +1 -1
- package/tools/v1/contracts/set-usage-filter-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/set-usage-filter-v1-contracts.js +1 -6
- package/tools/v1/contracts/set-usage-filter-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/set-usage-filter-v1-contracts.mjs +1 -6
- package/tools/v1/contracts/set-usage-filter-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/update-end-date-v1-contracts.js +2 -2
- package/tools/v1/contracts/update-end-date-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/update-end-date-v1-contracts.mjs +2 -2
- package/tools/v1/contracts/update-end-date-v1-contracts.mjs.map +1 -1
- 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.map +1 -1
- package/tools/v1/credit-grants/create-v1-credit-grants.js +3 -2
- package/tools/v1/credit-grants/create-v1-credit-grants.js.map +1 -1
- package/tools/v1/credit-grants/create-v1-credit-grants.mjs +3 -2
- package/tools/v1/credit-grants/create-v1-credit-grants.mjs.map +1 -1
- package/tools/v1/credit-grants/edit-v1-credit-grants.js +2 -2
- package/tools/v1/credit-grants/edit-v1-credit-grants.js.map +1 -1
- package/tools/v1/credit-grants/edit-v1-credit-grants.mjs +2 -2
- package/tools/v1/credit-grants/edit-v1-credit-grants.mjs.map +1 -1
- package/tools/v1/credit-grants/list-entries-v1-credit-grants.js +2 -2
- 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 +2 -2
- package/tools/v1/credit-grants/list-entries-v1-credit-grants.mjs.map +1 -1
- package/tools/v1/credit-grants/list-v1-credit-grants.js +3 -3
- package/tools/v1/credit-grants/list-v1-credit-grants.js.map +1 -1
- package/tools/v1/credit-grants/list-v1-credit-grants.mjs +3 -3
- package/tools/v1/credit-grants/list-v1-credit-grants.mjs.map +1 -1
- package/tools/v1/credit-grants/void-v1-credit-grants.js +2 -2
- package/tools/v1/credit-grants/void-v1-credit-grants.js.map +1 -1
- package/tools/v1/credit-grants/void-v1-credit-grants.mjs +2 -2
- 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.map +1 -1
- 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 +1 -6
- 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 +1 -6
- 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.map +1 -1
- 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 +1 -6
- 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 +1 -6
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.mjs.map +1 -1
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.js +2 -2
- 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 +2 -2
- 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.map +1 -1
- 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 +1 -6
- 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 +1 -6
- 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.map +1 -1
- 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 +2 -6
- 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 +2 -6
- package/tools/v1/custom-fields/set-values-v1-custom-fields.mjs.map +1 -1
- package/tools/v1/customers/alerts/list-customers-v1-alerts.js +3 -3
- package/tools/v1/customers/alerts/list-customers-v1-alerts.js.map +1 -1
- package/tools/v1/customers/alerts/list-customers-v1-alerts.mjs +3 -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.map +1 -1
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.d.ts.map +1 -1
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.js +1 -6
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.js.map +1 -1
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.mjs +1 -6
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.mjs.map +1 -1
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.js +3 -3
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.js.map +1 -1
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.mjs +3 -3
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.mjs.map +1 -1
- package/tools/v1/customers/archive-v1-customers.js +2 -2
- package/tools/v1/customers/archive-v1-customers.js.map +1 -1
- package/tools/v1/customers/archive-v1-customers.mjs +2 -2
- package/tools/v1/customers/archive-v1-customers.mjs.map +1 -1
- 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.map +1 -1
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.js +1 -6
- 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 +1 -6
- 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.map +1 -1
- 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 +1 -6
- 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 +1 -6
- 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.map +1 -1
- 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 +2 -2
- 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 +2 -2
- 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.map +1 -1
- package/tools/v1/customers/commits/create-customers-v1-commits.d.ts.map +1 -1
- package/tools/v1/customers/commits/create-customers-v1-commits.js +9 -2
- package/tools/v1/customers/commits/create-customers-v1-commits.js.map +1 -1
- package/tools/v1/customers/commits/create-customers-v1-commits.mjs +9 -2
- package/tools/v1/customers/commits/create-customers-v1-commits.mjs.map +1 -1
- 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.map +1 -1
- package/tools/v1/customers/commits/list-customers-v1-commits.js +1 -1
- package/tools/v1/customers/commits/list-customers-v1-commits.js.map +1 -1
- package/tools/v1/customers/commits/list-customers-v1-commits.mjs +1 -1
- 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.map +1 -1
- 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 +2 -2
- 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 +2 -2
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.mjs.map +1 -1
- package/tools/v1/customers/create-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/create-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/create-v1-customers.js +5 -3
- package/tools/v1/customers/create-v1-customers.js.map +1 -1
- package/tools/v1/customers/create-v1-customers.mjs +5 -3
- package/tools/v1/customers/create-v1-customers.mjs.map +1 -1
- 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.map +1 -1
- package/tools/v1/customers/credits/create-customers-v1-credits.js +5 -2
- package/tools/v1/customers/credits/create-customers-v1-credits.js.map +1 -1
- package/tools/v1/customers/credits/create-customers-v1-credits.mjs +5 -2
- package/tools/v1/customers/credits/create-customers-v1-credits.mjs.map +1 -1
- 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.map +1 -1
- package/tools/v1/customers/credits/list-customers-v1-credits.js +1 -1
- package/tools/v1/customers/credits/list-customers-v1-credits.js.map +1 -1
- package/tools/v1/customers/credits/list-customers-v1-credits.mjs +1 -1
- 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.map +1 -1
- 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 +2 -2
- 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 +2 -2
- 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.map +1 -1
- 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 +2 -2
- 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 +2 -2
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.mjs.map +1 -1
- package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.js +1 -1
- 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 +1 -1
- package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.mjs.map +1 -1
- package/tools/v1/customers/invoices/list-customers-v1-invoices.js +1 -1
- package/tools/v1/customers/invoices/list-customers-v1-invoices.js.map +1 -1
- package/tools/v1/customers/invoices/list-customers-v1-invoices.mjs +1 -1
- package/tools/v1/customers/invoices/list-customers-v1-invoices.mjs.map +1 -1
- 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.map +1 -1
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.js +1 -1
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.js.map +1 -1
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.mjs +1 -1
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.mjs.map +1 -1
- package/tools/v1/customers/list-billable-metrics-v1-customers.js +3 -3
- package/tools/v1/customers/list-billable-metrics-v1-customers.js.map +1 -1
- package/tools/v1/customers/list-billable-metrics-v1-customers.mjs +3 -3
- package/tools/v1/customers/list-billable-metrics-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/list-costs-v1-customers.js +3 -3
- package/tools/v1/customers/list-costs-v1-customers.js.map +1 -1
- package/tools/v1/customers/list-costs-v1-customers.mjs +3 -3
- package/tools/v1/customers/list-costs-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/list-v1-customers.js +3 -3
- package/tools/v1/customers/list-v1-customers.js.map +1 -1
- package/tools/v1/customers/list-v1-customers.mjs +3 -3
- package/tools/v1/customers/list-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.js +3 -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 +3 -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.map +1 -1
- 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 +2 -6
- 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 +2 -6
- package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.mjs.map +1 -1
- package/tools/v1/customers/plans/add-customers-v1-plans.js +2 -2
- package/tools/v1/customers/plans/add-customers-v1-plans.js.map +1 -1
- package/tools/v1/customers/plans/add-customers-v1-plans.mjs +2 -2
- package/tools/v1/customers/plans/add-customers-v1-plans.mjs.map +1 -1
- package/tools/v1/customers/plans/end-customers-v1-plans.js +2 -2
- package/tools/v1/customers/plans/end-customers-v1-plans.js.map +1 -1
- package/tools/v1/customers/plans/end-customers-v1-plans.mjs +2 -2
- package/tools/v1/customers/plans/end-customers-v1-plans.mjs.map +1 -1
- package/tools/v1/customers/plans/list-customers-v1-plans.js +3 -3
- package/tools/v1/customers/plans/list-customers-v1-plans.js.map +1 -1
- package/tools/v1/customers/plans/list-customers-v1-plans.mjs +3 -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.js +2 -2
- 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 +2 -2
- 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.map +1 -1
- package/tools/v1/customers/preview-events-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/preview-events-v1-customers.js +2 -1
- package/tools/v1/customers/preview-events-v1-customers.js.map +1 -1
- package/tools/v1/customers/preview-events-v1-customers.mjs +2 -1
- package/tools/v1/customers/preview-events-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/retrieve-v1-customers.js +3 -3
- package/tools/v1/customers/retrieve-v1-customers.js.map +1 -1
- package/tools/v1/customers/retrieve-v1-customers.mjs +3 -3
- package/tools/v1/customers/retrieve-v1-customers.mjs.map +1 -1
- 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.map +1 -1
- package/tools/v1/customers/set-ingest-aliases-v1-customers.js +1 -6
- package/tools/v1/customers/set-ingest-aliases-v1-customers.js.map +1 -1
- package/tools/v1/customers/set-ingest-aliases-v1-customers.mjs +1 -6
- package/tools/v1/customers/set-ingest-aliases-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/set-name-v1-customers.js +3 -3
- package/tools/v1/customers/set-name-v1-customers.js.map +1 -1
- package/tools/v1/customers/set-name-v1-customers.mjs +3 -3
- package/tools/v1/customers/set-name-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/update-config-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/update-config-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/update-config-v1-customers.js +1 -6
- package/tools/v1/customers/update-config-v1-customers.js.map +1 -1
- package/tools/v1/customers/update-config-v1-customers.mjs +1 -6
- package/tools/v1/customers/update-config-v1-customers.mjs.map +1 -1
- 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.map +1 -1
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.js +5 -2
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.js.map +1 -1
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.mjs +5 -2
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.mjs.map +1 -1
- package/tools/v1/invoices/regenerate-v1-invoices.js +2 -2
- package/tools/v1/invoices/regenerate-v1-invoices.js.map +1 -1
- package/tools/v1/invoices/regenerate-v1-invoices.mjs +2 -2
- package/tools/v1/invoices/regenerate-v1-invoices.mjs.map +1 -1
- package/tools/v1/invoices/void-v1-invoices.js +2 -2
- package/tools/v1/invoices/void-v1-invoices.js.map +1 -1
- package/tools/v1/invoices/void-v1-invoices.mjs +2 -2
- package/tools/v1/invoices/void-v1-invoices.mjs.map +1 -1
- package/tools/v1/plans/get-details-v1-plans.js +3 -3
- package/tools/v1/plans/get-details-v1-plans.js.map +1 -1
- package/tools/v1/plans/get-details-v1-plans.mjs +3 -3
- package/tools/v1/plans/get-details-v1-plans.mjs.map +1 -1
- package/tools/v1/plans/list-charges-v1-plans.js +3 -3
- package/tools/v1/plans/list-charges-v1-plans.js.map +1 -1
- package/tools/v1/plans/list-charges-v1-plans.mjs +3 -3
- package/tools/v1/plans/list-charges-v1-plans.mjs.map +1 -1
- package/tools/v1/plans/list-customers-v1-plans.js +3 -3
- package/tools/v1/plans/list-customers-v1-plans.js.map +1 -1
- package/tools/v1/plans/list-customers-v1-plans.mjs +3 -3
- package/tools/v1/plans/list-customers-v1-plans.mjs.map +1 -1
- package/tools/v1/plans/list-v1-plans.js +3 -3
- package/tools/v1/plans/list-v1-plans.js.map +1 -1
- package/tools/v1/plans/list-v1-plans.mjs +3 -3
- package/tools/v1/plans/list-v1-plans.mjs.map +1 -1
- package/tools/v1/pricing-units/list-v1-pricing-units.js +2 -2
- package/tools/v1/pricing-units/list-v1-pricing-units.js.map +1 -1
- package/tools/v1/pricing-units/list-v1-pricing-units.mjs +2 -2
- package/tools/v1/pricing-units/list-v1-pricing-units.mjs.map +1 -1
- package/tools/v1/services/list-v1-services.d.mts.map +1 -1
- package/tools/v1/services/list-v1-services.d.ts.map +1 -1
- package/tools/v1/services/list-v1-services.js +2 -1
- package/tools/v1/services/list-v1-services.js.map +1 -1
- package/tools/v1/services/list-v1-services.mjs +2 -1
- package/tools/v1/services/list-v1-services.mjs.map +1 -1
- package/tools/v1/usage/ingest-v1-usage.d.mts.map +1 -1
- package/tools/v1/usage/ingest-v1-usage.d.ts.map +1 -1
- package/tools/v1/usage/ingest-v1-usage.js +2 -6
- package/tools/v1/usage/ingest-v1-usage.js.map +1 -1
- package/tools/v1/usage/ingest-v1-usage.mjs +2 -6
- package/tools/v1/usage/ingest-v1-usage.mjs.map +1 -1
- package/tools/v1/usage/list-v1-usage.js +3 -3
- package/tools/v1/usage/list-v1-usage.js.map +1 -1
- package/tools/v1/usage/list-v1-usage.mjs +3 -3
- package/tools/v1/usage/list-v1-usage.mjs.map +1 -1
- package/tools/v1/usage/list-with-groups-v1-usage.js +2 -2
- package/tools/v1/usage/list-with-groups-v1-usage.js.map +1 -1
- package/tools/v1/usage/list-with-groups-v1-usage.mjs +2 -2
- package/tools/v1/usage/list-with-groups-v1-usage.mjs.map +1 -1
- package/tools/v1/usage/search-v1-usage.js +3 -3
- package/tools/v1/usage/search-v1-usage.js.map +1 -1
- package/tools/v1/usage/search-v1-usage.mjs +3 -3
- package/tools/v1/usage/search-v1-usage.mjs.map +1 -1
- package/tools/v2/contracts/edit-commit-v2-contracts.d.mts.map +1 -1
- package/tools/v2/contracts/edit-commit-v2-contracts.d.ts.map +1 -1
- package/tools/v2/contracts/edit-commit-v2-contracts.js +9 -3
- package/tools/v2/contracts/edit-commit-v2-contracts.js.map +1 -1
- package/tools/v2/contracts/edit-commit-v2-contracts.mjs +9 -3
- package/tools/v2/contracts/edit-commit-v2-contracts.mjs.map +1 -1
- package/tools/v2/contracts/edit-credit-v2-contracts.d.mts.map +1 -1
- package/tools/v2/contracts/edit-credit-v2-contracts.d.ts.map +1 -1
- package/tools/v2/contracts/edit-credit-v2-contracts.js +9 -3
- package/tools/v2/contracts/edit-credit-v2-contracts.js.map +1 -1
- package/tools/v2/contracts/edit-credit-v2-contracts.mjs +9 -3
- package/tools/v2/contracts/edit-credit-v2-contracts.mjs.map +1 -1
- package/tools/v2/contracts/edit-v2-contracts.d.mts.map +1 -1
- package/tools/v2/contracts/edit-v2-contracts.d.ts.map +1 -1
- package/tools/v2/contracts/edit-v2-contracts.js +124 -17
- package/tools/v2/contracts/edit-v2-contracts.js.map +1 -1
- package/tools/v2/contracts/edit-v2-contracts.mjs +124 -17
- package/tools/v2/contracts/edit-v2-contracts.mjs.map +1 -1
- package/tools/v2/contracts/get-edit-history-v2-contracts.js +1 -1
- package/tools/v2/contracts/get-edit-history-v2-contracts.js.map +1 -1
- package/tools/v2/contracts/get-edit-history-v2-contracts.mjs +1 -1
- package/tools/v2/contracts/get-edit-history-v2-contracts.mjs.map +1 -1
- package/tools/v2/contracts/list-v2-contracts.js +1 -1
- package/tools/v2/contracts/list-v2-contracts.js.map +1 -1
- package/tools/v2/contracts/list-v2-contracts.mjs +1 -1
- package/tools/v2/contracts/list-v2-contracts.mjs.map +1 -1
- package/tools/v2/contracts/retrieve-v2-contracts.d.mts.map +1 -1
- package/tools/v2/contracts/retrieve-v2-contracts.d.ts.map +1 -1
- package/tools/v2/contracts/retrieve-v2-contracts.js +1 -1
- package/tools/v2/contracts/retrieve-v2-contracts.js.map +1 -1
- package/tools/v2/contracts/retrieve-v2-contracts.mjs +1 -1
- package/tools/v2/contracts/retrieve-v2-contracts.mjs.map +1 -1
|
@@ -16,8 +16,7 @@ export const metadata: Metadata = {
|
|
|
16
16
|
|
|
17
17
|
export const tool: Tool = {
|
|
18
18
|
name: 'create_v1_contracts',
|
|
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\nCreate a new contract\n",
|
|
19
|
+
description: 'Create a new contract\n',
|
|
21
20
|
inputSchema: {
|
|
22
21
|
type: 'object',
|
|
23
22
|
properties: {
|
|
@@ -119,6 +118,7 @@ export const tool: Tool = {
|
|
|
119
118
|
},
|
|
120
119
|
custom_fields: {
|
|
121
120
|
type: 'object',
|
|
121
|
+
additionalProperties: true,
|
|
122
122
|
},
|
|
123
123
|
description: {
|
|
124
124
|
type: 'string',
|
|
@@ -180,6 +180,11 @@ export const tool: Tool = {
|
|
|
180
180
|
type: 'string',
|
|
181
181
|
description: 'Defaults to USD (cents) if not passed.',
|
|
182
182
|
},
|
|
183
|
+
do_not_invoice: {
|
|
184
|
+
type: 'boolean',
|
|
185
|
+
description:
|
|
186
|
+
'This field is only applicable to commit invoice schedules. If true, this schedule will not generate an invoice.',
|
|
187
|
+
},
|
|
183
188
|
recurring_schedule: {
|
|
184
189
|
type: 'object',
|
|
185
190
|
description:
|
|
@@ -301,6 +306,12 @@ export const tool: Tool = {
|
|
|
301
306
|
type: 'object',
|
|
302
307
|
description:
|
|
303
308
|
'Metadata to be added to the Stripe invoice. Only applicable if using INVOICE as your payment type.',
|
|
309
|
+
additionalProperties: true,
|
|
310
|
+
},
|
|
311
|
+
on_session_payment: {
|
|
312
|
+
type: 'boolean',
|
|
313
|
+
description:
|
|
314
|
+
'If true, the payment will be made assuming the customer is present (i.e. on session). \n\nIf false, the payment will be made assuming the customer is not present (i.e. off session). \nFor cardholders from a country with an e-mandate requirement (e.g. India), the payment may be declined.\n\nIf left blank, will default to false.',
|
|
304
315
|
},
|
|
305
316
|
},
|
|
306
317
|
required: ['payment_type'],
|
|
@@ -336,9 +347,11 @@ export const tool: Tool = {
|
|
|
336
347
|
properties: {
|
|
337
348
|
presentation_group_values: {
|
|
338
349
|
type: 'object',
|
|
350
|
+
additionalProperties: true,
|
|
339
351
|
},
|
|
340
352
|
pricing_group_values: {
|
|
341
353
|
type: 'object',
|
|
354
|
+
additionalProperties: true,
|
|
342
355
|
},
|
|
343
356
|
product_id: {
|
|
344
357
|
type: 'string',
|
|
@@ -424,6 +437,7 @@ export const tool: Tool = {
|
|
|
424
437
|
},
|
|
425
438
|
custom_fields: {
|
|
426
439
|
type: 'object',
|
|
440
|
+
additionalProperties: true,
|
|
427
441
|
},
|
|
428
442
|
description: {
|
|
429
443
|
type: 'string',
|
|
@@ -502,9 +516,11 @@ export const tool: Tool = {
|
|
|
502
516
|
properties: {
|
|
503
517
|
presentation_group_values: {
|
|
504
518
|
type: 'object',
|
|
519
|
+
additionalProperties: true,
|
|
505
520
|
},
|
|
506
521
|
pricing_group_values: {
|
|
507
522
|
type: 'object',
|
|
523
|
+
additionalProperties: true,
|
|
508
524
|
},
|
|
509
525
|
product_id: {
|
|
510
526
|
type: 'string',
|
|
@@ -528,6 +544,7 @@ export const tool: Tool = {
|
|
|
528
544
|
},
|
|
529
545
|
custom_fields: {
|
|
530
546
|
type: 'object',
|
|
547
|
+
additionalProperties: true,
|
|
531
548
|
},
|
|
532
549
|
discounts: {
|
|
533
550
|
type: 'array',
|
|
@@ -546,6 +563,11 @@ export const tool: Tool = {
|
|
|
546
563
|
type: 'string',
|
|
547
564
|
description: 'Defaults to USD (cents) if not passed.',
|
|
548
565
|
},
|
|
566
|
+
do_not_invoice: {
|
|
567
|
+
type: 'boolean',
|
|
568
|
+
description:
|
|
569
|
+
'This field is only applicable to commit invoice schedules. If true, this schedule will not generate an invoice.',
|
|
570
|
+
},
|
|
549
571
|
recurring_schedule: {
|
|
550
572
|
type: 'object',
|
|
551
573
|
description:
|
|
@@ -621,6 +643,7 @@ export const tool: Tool = {
|
|
|
621
643
|
},
|
|
622
644
|
custom_fields: {
|
|
623
645
|
type: 'object',
|
|
646
|
+
additionalProperties: true,
|
|
624
647
|
},
|
|
625
648
|
name: {
|
|
626
649
|
type: 'string',
|
|
@@ -731,11 +754,13 @@ export const tool: Tool = {
|
|
|
731
754
|
type: 'object',
|
|
732
755
|
description:
|
|
733
756
|
'A map of group names to values. The override will only apply to line items with the specified presentation group values.',
|
|
757
|
+
additionalProperties: true,
|
|
734
758
|
},
|
|
735
759
|
pricing_group_values: {
|
|
736
760
|
type: 'object',
|
|
737
761
|
description:
|
|
738
762
|
'A map of pricing group names to values. The override will only apply to products with the specified pricing group values.',
|
|
763
|
+
additionalProperties: true,
|
|
739
764
|
},
|
|
740
765
|
product_id: {
|
|
741
766
|
type: 'string',
|
|
@@ -784,6 +809,7 @@ export const tool: Tool = {
|
|
|
784
809
|
type: 'object',
|
|
785
810
|
description:
|
|
786
811
|
'Only set for CUSTOM rate_type. This field is interpreted by custom rate processors.',
|
|
812
|
+
additionalProperties: true,
|
|
787
813
|
},
|
|
788
814
|
is_prorated: {
|
|
789
815
|
type: 'boolean',
|
|
@@ -894,9 +920,11 @@ export const tool: Tool = {
|
|
|
894
920
|
properties: {
|
|
895
921
|
presentation_group_values: {
|
|
896
922
|
type: 'object',
|
|
923
|
+
additionalProperties: true,
|
|
897
924
|
},
|
|
898
925
|
pricing_group_values: {
|
|
899
926
|
type: 'object',
|
|
927
|
+
additionalProperties: true,
|
|
900
928
|
},
|
|
901
929
|
product_id: {
|
|
902
930
|
type: 'string',
|
|
@@ -961,6 +989,7 @@ export const tool: Tool = {
|
|
|
961
989
|
type: 'object',
|
|
962
990
|
description:
|
|
963
991
|
'Metadata to be added to the Stripe invoice. Only applicable if using INVOICE as your payment type.',
|
|
992
|
+
additionalProperties: true,
|
|
964
993
|
},
|
|
965
994
|
},
|
|
966
995
|
required: ['payment_type'],
|
|
@@ -1020,6 +1049,7 @@ export const tool: Tool = {
|
|
|
1020
1049
|
},
|
|
1021
1050
|
custom_fields: {
|
|
1022
1051
|
type: 'object',
|
|
1052
|
+
additionalProperties: true,
|
|
1023
1053
|
},
|
|
1024
1054
|
description: {
|
|
1025
1055
|
type: 'string',
|
|
@@ -1057,7 +1087,7 @@ export const tool: Tool = {
|
|
|
1057
1087
|
quantity: {
|
|
1058
1088
|
type: 'number',
|
|
1059
1089
|
description:
|
|
1060
|
-
'This field is
|
|
1090
|
+
'This field is required unless a subscription is attached via `subscription_config`.',
|
|
1061
1091
|
},
|
|
1062
1092
|
},
|
|
1063
1093
|
required: ['credit_type_id', 'unit_price'],
|
|
@@ -1214,9 +1244,11 @@ export const tool: Tool = {
|
|
|
1214
1244
|
properties: {
|
|
1215
1245
|
presentation_group_values: {
|
|
1216
1246
|
type: 'object',
|
|
1247
|
+
additionalProperties: true,
|
|
1217
1248
|
},
|
|
1218
1249
|
pricing_group_values: {
|
|
1219
1250
|
type: 'object',
|
|
1251
|
+
additionalProperties: true,
|
|
1220
1252
|
},
|
|
1221
1253
|
product_id: {
|
|
1222
1254
|
type: 'string',
|
|
@@ -1234,6 +1266,32 @@ export const tool: Tool = {
|
|
|
1234
1266
|
},
|
|
1235
1267
|
},
|
|
1236
1268
|
},
|
|
1269
|
+
subscription_config: {
|
|
1270
|
+
type: 'object',
|
|
1271
|
+
description: 'Attach a subscription to the recurring commit/credit.',
|
|
1272
|
+
properties: {
|
|
1273
|
+
apply_seat_increase_config: {
|
|
1274
|
+
type: 'object',
|
|
1275
|
+
properties: {
|
|
1276
|
+
is_prorated: {
|
|
1277
|
+
type: 'boolean',
|
|
1278
|
+
description: 'Indicates whether a mid-period seat increase should be prorated.',
|
|
1279
|
+
},
|
|
1280
|
+
},
|
|
1281
|
+
required: ['is_prorated'],
|
|
1282
|
+
},
|
|
1283
|
+
subscription_id: {
|
|
1284
|
+
type: 'string',
|
|
1285
|
+
description: 'ID of the subscription to configure on the recurring commit/credit.',
|
|
1286
|
+
},
|
|
1287
|
+
allocation: {
|
|
1288
|
+
type: 'string',
|
|
1289
|
+
description: 'If set to POOLED, allocation added per seat is pooled across the account.',
|
|
1290
|
+
enum: ['POOLED'],
|
|
1291
|
+
},
|
|
1292
|
+
},
|
|
1293
|
+
required: ['apply_seat_increase_config', 'subscription_id'],
|
|
1294
|
+
},
|
|
1237
1295
|
temporary_id: {
|
|
1238
1296
|
type: 'string',
|
|
1239
1297
|
description:
|
|
@@ -1261,7 +1319,7 @@ export const tool: Tool = {
|
|
|
1261
1319
|
quantity: {
|
|
1262
1320
|
type: 'number',
|
|
1263
1321
|
description:
|
|
1264
|
-
'This field is
|
|
1322
|
+
'This field is required unless a subscription is attached via `subscription_config`.',
|
|
1265
1323
|
},
|
|
1266
1324
|
},
|
|
1267
1325
|
required: ['credit_type_id', 'unit_price'],
|
|
@@ -1402,9 +1460,11 @@ export const tool: Tool = {
|
|
|
1402
1460
|
properties: {
|
|
1403
1461
|
presentation_group_values: {
|
|
1404
1462
|
type: 'object',
|
|
1463
|
+
additionalProperties: true,
|
|
1405
1464
|
},
|
|
1406
1465
|
pricing_group_values: {
|
|
1407
1466
|
type: 'object',
|
|
1467
|
+
additionalProperties: true,
|
|
1408
1468
|
},
|
|
1409
1469
|
product_id: {
|
|
1410
1470
|
type: 'string',
|
|
@@ -1422,6 +1482,32 @@ export const tool: Tool = {
|
|
|
1422
1482
|
},
|
|
1423
1483
|
},
|
|
1424
1484
|
},
|
|
1485
|
+
subscription_config: {
|
|
1486
|
+
type: 'object',
|
|
1487
|
+
description: 'Attach a subscription to the recurring commit/credit.',
|
|
1488
|
+
properties: {
|
|
1489
|
+
apply_seat_increase_config: {
|
|
1490
|
+
type: 'object',
|
|
1491
|
+
properties: {
|
|
1492
|
+
is_prorated: {
|
|
1493
|
+
type: 'boolean',
|
|
1494
|
+
description: 'Indicates whether a mid-period seat increase should be prorated.',
|
|
1495
|
+
},
|
|
1496
|
+
},
|
|
1497
|
+
required: ['is_prorated'],
|
|
1498
|
+
},
|
|
1499
|
+
subscription_id: {
|
|
1500
|
+
type: 'string',
|
|
1501
|
+
description: 'ID of the subscription to configure on the recurring commit/credit.',
|
|
1502
|
+
},
|
|
1503
|
+
allocation: {
|
|
1504
|
+
type: 'string',
|
|
1505
|
+
description: 'If set to POOLED, allocation added per seat is pooled across the account.',
|
|
1506
|
+
enum: ['POOLED'],
|
|
1507
|
+
},
|
|
1508
|
+
},
|
|
1509
|
+
required: ['apply_seat_increase_config', 'subscription_id'],
|
|
1510
|
+
},
|
|
1425
1511
|
temporary_id: {
|
|
1426
1512
|
type: 'string',
|
|
1427
1513
|
description:
|
|
@@ -1521,6 +1607,11 @@ export const tool: Tool = {
|
|
|
1521
1607
|
type: 'string',
|
|
1522
1608
|
description: 'Defaults to USD (cents) if not passed.',
|
|
1523
1609
|
},
|
|
1610
|
+
do_not_invoice: {
|
|
1611
|
+
type: 'boolean',
|
|
1612
|
+
description:
|
|
1613
|
+
'This field is only applicable to commit invoice schedules. If true, this schedule will not generate an invoice.',
|
|
1614
|
+
},
|
|
1524
1615
|
recurring_schedule: {
|
|
1525
1616
|
type: 'object',
|
|
1526
1617
|
description:
|
|
@@ -1594,6 +1685,10 @@ export const tool: Tool = {
|
|
|
1594
1685
|
},
|
|
1595
1686
|
},
|
|
1596
1687
|
},
|
|
1688
|
+
custom_fields: {
|
|
1689
|
+
type: 'object',
|
|
1690
|
+
additionalProperties: true,
|
|
1691
|
+
},
|
|
1597
1692
|
name: {
|
|
1598
1693
|
type: 'string',
|
|
1599
1694
|
description: 'displayed on invoices',
|
|
@@ -1678,6 +1773,7 @@ export const tool: Tool = {
|
|
|
1678
1773
|
type: 'object',
|
|
1679
1774
|
description:
|
|
1680
1775
|
'Metadata to be added to the Stripe invoice. Only applicable if using INVOICE as your payment type.',
|
|
1776
|
+
additionalProperties: true,
|
|
1681
1777
|
},
|
|
1682
1778
|
},
|
|
1683
1779
|
required: ['payment_type'],
|
|
@@ -1720,7 +1816,7 @@ export const tool: Tool = {
|
|
|
1720
1816
|
invoice_behavior: {
|
|
1721
1817
|
type: 'string',
|
|
1722
1818
|
description:
|
|
1723
|
-
'Indicates how mid-period quantity adjustments are invoiced.
|
|
1819
|
+
'Indicates how mid-period quantity adjustments are invoiced. \n**BILL_IMMEDIATELY**: Only available when collection schedule is `ADVANCE`. The quantity increase will be billed immediately on the scheduled date.\n**BILL_ON_NEXT_COLLECTION_DATE**: The quantity increase will be billed for in-arrears at the end of the period.',
|
|
1724
1820
|
enum: ['BILL_IMMEDIATELY', 'BILL_ON_NEXT_COLLECTION_DATE'],
|
|
1725
1821
|
},
|
|
1726
1822
|
is_prorated: {
|
|
@@ -1747,6 +1843,7 @@ export const tool: Tool = {
|
|
|
1747
1843
|
},
|
|
1748
1844
|
custom_fields: {
|
|
1749
1845
|
type: 'object',
|
|
1846
|
+
additionalProperties: true,
|
|
1750
1847
|
},
|
|
1751
1848
|
description: {
|
|
1752
1849
|
type: 'string',
|
|
@@ -1766,6 +1863,11 @@ export const tool: Tool = {
|
|
|
1766
1863
|
'Inclusive start time for the subscription. If not provided, defaults to contract start date',
|
|
1767
1864
|
format: 'date-time',
|
|
1768
1865
|
},
|
|
1866
|
+
temporary_id: {
|
|
1867
|
+
type: 'string',
|
|
1868
|
+
description:
|
|
1869
|
+
'A temporary ID used to reference the subscription in recurring commit/credit subscription configs created within the same payload.',
|
|
1870
|
+
},
|
|
1769
1871
|
},
|
|
1770
1872
|
required: ['collection_schedule', 'initial_quantity', 'proration', 'subscription_rate'],
|
|
1771
1873
|
},
|
|
@@ -16,8 +16,7 @@ export const metadata: Metadata = {
|
|
|
16
16
|
|
|
17
17
|
export const tool: Tool = {
|
|
18
18
|
name: 'list_balances_v1_contracts',
|
|
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\nList balances (commits and credits).\n",
|
|
19
|
+
description: 'List balances (commits and credits).\n',
|
|
21
20
|
inputSchema: {
|
|
22
21
|
type: 'object',
|
|
23
22
|
properties: {
|
|
@@ -17,7 +17,7 @@ export const metadata: Metadata = {
|
|
|
17
17
|
export const tool: Tool = {
|
|
18
18
|
name: 'list_v1_contracts',
|
|
19
19
|
description:
|
|
20
|
-
|
|
20
|
+
'This is the v1 endpoint to list all contracts for a customer. New clients should implement using the v2 endpoint.',
|
|
21
21
|
inputSchema: {
|
|
22
22
|
type: 'object',
|
|
23
23
|
properties: {
|
|
@@ -18,7 +18,7 @@ export const metadata: Metadata = {
|
|
|
18
18
|
export const tool: Tool = {
|
|
19
19
|
name: 'retrieve_contracts_v1_named_schedules',
|
|
20
20
|
description:
|
|
21
|
-
"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\nGet a named schedule for the given rate card. This endpoint's availability is dependent on your client's configuration.\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n starting_at: {\n type: 'string',\n format: 'date-time'\n },\n value: {\n type: 'object'\n },\n ending_before: {\n type: 'string',\n format: 'date-time'\n }\n },\n required: [ 'starting_at',\n 'value'\n ]\n }\n }\n },\n required: [ 'data'\n ]\n}\n```",
|
|
21
|
+
"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\nGet a named schedule for the given rate card. This endpoint's availability is dependent on your client's configuration.\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n starting_at: {\n type: 'string',\n format: 'date-time'\n },\n value: {\n type: 'object',\n additionalProperties: true\n },\n ending_before: {\n type: 'string',\n format: 'date-time'\n }\n },\n required: [ 'starting_at',\n 'value'\n ]\n }\n }\n },\n required: [ 'data'\n ]\n}\n```",
|
|
22
22
|
inputSchema: {
|
|
23
23
|
type: 'object',
|
|
24
24
|
properties: {
|
|
@@ -49,9 +49,9 @@ export const tool: Tool = {
|
|
|
49
49
|
};
|
|
50
50
|
|
|
51
51
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
52
|
-
const body = args as any;
|
|
52
|
+
const { jq_filter, ...body } = args as any;
|
|
53
53
|
return asTextContentResult(
|
|
54
|
-
await maybeFilter(
|
|
54
|
+
await maybeFilter(jq_filter, await client.v1.contracts.namedSchedules.retrieve(body)),
|
|
55
55
|
);
|
|
56
56
|
};
|
|
57
57
|
|
|
@@ -17,7 +17,7 @@ export const metadata: Metadata = {
|
|
|
17
17
|
export const tool: Tool = {
|
|
18
18
|
name: 'update_contracts_v1_named_schedules',
|
|
19
19
|
description:
|
|
20
|
-
"
|
|
20
|
+
"Update a named schedule for the given rate card. This endpoint's availability is dependent on your client's configuration.",
|
|
21
21
|
inputSchema: {
|
|
22
22
|
type: 'object',
|
|
23
23
|
properties: {
|
|
@@ -37,17 +37,12 @@ export const tool: Tool = {
|
|
|
37
37
|
type: 'object',
|
|
38
38
|
description:
|
|
39
39
|
'The value to set for the named schedule. The structure of this object is specific to the named schedule.',
|
|
40
|
+
additionalProperties: true,
|
|
40
41
|
},
|
|
41
42
|
ending_before: {
|
|
42
43
|
type: 'string',
|
|
43
44
|
format: 'date-time',
|
|
44
45
|
},
|
|
45
|
-
jq_filter: {
|
|
46
|
-
type: 'string',
|
|
47
|
-
title: 'jq Filter',
|
|
48
|
-
description:
|
|
49
|
-
'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
50
|
-
},
|
|
51
46
|
},
|
|
52
47
|
required: ['rate_card_id', 'schedule_name', 'starting_at', 'value'],
|
|
53
48
|
},
|
|
@@ -39,8 +39,8 @@ export const tool: Tool = {
|
|
|
39
39
|
};
|
|
40
40
|
|
|
41
41
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
42
|
-
const body = args as any;
|
|
43
|
-
return asTextContentResult(await maybeFilter(
|
|
42
|
+
const { jq_filter, ...body } = args as any;
|
|
43
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.v1.contracts.products.archive(body)));
|
|
44
44
|
};
|
|
45
45
|
|
|
46
46
|
export default { metadata, tool, handler };
|
|
@@ -48,6 +48,10 @@ export const tool: Tool = {
|
|
|
48
48
|
type: 'string',
|
|
49
49
|
},
|
|
50
50
|
},
|
|
51
|
+
custom_fields: {
|
|
52
|
+
type: 'object',
|
|
53
|
+
additionalProperties: true,
|
|
54
|
+
},
|
|
51
55
|
exclude_free_usage: {
|
|
52
56
|
type: 'boolean',
|
|
53
57
|
description:
|
|
@@ -145,8 +149,8 @@ export const tool: Tool = {
|
|
|
145
149
|
};
|
|
146
150
|
|
|
147
151
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
148
|
-
const body = args as any;
|
|
149
|
-
return asTextContentResult(await maybeFilter(
|
|
152
|
+
const { jq_filter, ...body } = args as any;
|
|
153
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.v1.contracts.products.create(body)));
|
|
150
154
|
};
|
|
151
155
|
|
|
152
156
|
export default { metadata, tool, handler };
|
|
@@ -18,7 +18,7 @@ export const metadata: Metadata = {
|
|
|
18
18
|
export const tool: Tool = {
|
|
19
19
|
name: 'list_contracts_v1_products',
|
|
20
20
|
description:
|
|
21
|
-
"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\nList products\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n current: {\n $ref: '#/$defs/product_list_item_state'\n },\n initial: {\n $ref: '#/$defs/product_list_item_state'\n },\n type: {\n type: 'string',\n enum: [ 'USAGE',\n 'SUBSCRIPTION',\n 'COMPOSITE',\n 'FIXED',\n 'PRO_SERVICE'\n ]\n },\n updates: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n created_at: {\n type: 'string',\n format: 'date-time'\n },\n created_by: {\n type: 'string'\n },\n billable_metric_id: {\n type: 'string'\n },\n composite_product_ids: {\n type: 'array',\n items: {\n type: 'string'\n }\n },\n composite_tags: {\n type: 'array',\n items: {\n type: 'string'\n }\n },\n exclude_free_usage: {\n type: 'boolean'\n },\n is_refundable: {\n type: 'boolean'\n },\n name: {\n type: 'string'\n },\n netsuite_internal_item_id: {\n type: 'string',\n description: 'This field\\'s availability is dependent on your client\\'s configuration.'\n },\n netsuite_overage_item_id: {\n type: 'string',\n description: 'This field\\'s availability is dependent on your client\\'s configuration.'\n },\n presentation_group_key: {\n type: 'array',\n description: 'For USAGE products only. Groups usage line items on invoices. The superset of values in the pricing group key and presentation group key must be set as one compound group key on the billable metric.',\n items: {\n type: 'string'\n }\n },\n pricing_group_key: {\n type: 'array',\n description: 'For USAGE products only. If set, pricing for this product will be determined for each pricing_group_key value, as opposed to the product as a whole. The superset of values in the pricing group key and presentation group key must be set as one compound group key on the billable metric.',\n items: {\n type: 'string'\n }\n },\n quantity_conversion: {\n $ref: '#/$defs/quantity_conversion'\n },\n quantity_rounding: {\n $ref: '#/$defs/quantity_rounding'\n },\n starting_at: {\n type: 'string',\n format: 'date-time'\n },\n tags: {\n type: 'array',\n items: {\n type: 'string'\n }\n }\n },\n required: [ 'created_at',\n 'created_by'\n ]\n }\n },\n archived_at: {\n type: 'string',\n format: 'date-time'\n },\n custom_fields: {\n type: 'object'\n }\n },\n required: [ 'id',\n 'current',\n 'initial',\n 'type',\n 'updates'\n ]\n }\n },\n next_page: {\n type: 'string'\n }\n },\n required: [ 'data',\n 'next_page'\n ],\n $defs: {\n product_list_item_state: {\n type: 'object',\n properties: {\n created_at: {\n type: 'string',\n format: 'date-time'\n },\n created_by: {\n type: 'string'\n },\n name: {\n type: 'string'\n },\n billable_metric_id: {\n type: 'string'\n },\n composite_product_ids: {\n type: 'array',\n items: {\n type: 'string'\n }\n },\n composite_tags: {\n type: 'array',\n items: {\n type: 'string'\n }\n },\n exclude_free_usage: {\n type: 'boolean'\n },\n is_refundable: {\n type: 'boolean',\n description: 'This field\\'s availability is dependent on your client\\'s configuration.'\n },\n netsuite_internal_item_id: {\n type: 'string',\n description: 'This field\\'s availability is dependent on your client\\'s configuration.'\n },\n netsuite_overage_item_id: {\n type: 'string',\n description: 'This field\\'s availability is dependent on your client\\'s configuration.'\n },\n presentation_group_key: {\n type: 'array',\n description: 'For USAGE products only. Groups usage line items on invoices. The superset of values in the pricing group key and presentation group key must be set as one compound group key on the billable metric.',\n items: {\n type: 'string'\n }\n },\n pricing_group_key: {\n type: 'array',\n description: 'For USAGE products only. If set, pricing for this product will be determined for each pricing_group_key value, as opposed to the product as a whole. The superset of values in the pricing group key and presentation group key must be set as one compound group key on the billable metric.',\n items: {\n type: 'string'\n }\n },\n quantity_conversion: {\n $ref: '#/$defs/quantity_conversion'\n },\n quantity_rounding: {\n $ref: '#/$defs/quantity_rounding'\n },\n starting_at: {\n type: 'string',\n format: 'date-time'\n },\n tags: {\n type: 'array',\n items: {\n type: 'string'\n }\n }\n },\n required: [ 'created_at',\n 'created_by',\n 'name'\n ]\n },\n quantity_conversion: {\n type: 'object',\n description: 'Optional. Only valid for USAGE products. If provided, the quantity will be converted using the provided conversion factor and operation. For example, if the operation is \"multiply\" and the conversion factor is 100, then the quantity will be multiplied by 100. This can be used in cases where data is sent in one unit and priced in another. For example, data could be sent in MB and priced in GB. In this case, the conversion factor would be 1024 and the operation would be \"divide\".',\n properties: {\n conversion_factor: {\n type: 'number',\n description: 'The factor to multiply or divide the quantity by.'\n },\n operation: {\n type: 'string',\n description: 'The operation to perform on the quantity',\n enum: [ 'MULTIPLY',\n 'DIVIDE'\n ]\n },\n name: {\n type: 'string',\n description: 'Optional name for this conversion.'\n }\n },\n required: [ 'conversion_factor',\n 'operation'\n ]\n },\n quantity_rounding: {\n type: 'object',\n description: 'Optional. Only valid for USAGE products. If provided, the quantity will be rounded using the provided rounding method and decimal places. For example, if the method is \"round up\" and the decimal places is 0, then the quantity will be rounded up to the nearest integer.',\n properties: {\n decimal_places: {\n type: 'number'\n },\n rounding_method: {\n type: 'string',\n enum: [ 'ROUND_UP',\n 'ROUND_DOWN',\n 'ROUND_HALF_UP'\n ]\n }\n },\n required: [ 'decimal_places',\n 'rounding_method'\n ]\n }\n }\n}\n```",
|
|
21
|
+
"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\nList products\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n current: {\n $ref: '#/$defs/product_list_item_state'\n },\n initial: {\n $ref: '#/$defs/product_list_item_state'\n },\n type: {\n type: 'string',\n enum: [ 'USAGE',\n 'SUBSCRIPTION',\n 'COMPOSITE',\n 'FIXED',\n 'PRO_SERVICE'\n ]\n },\n updates: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n created_at: {\n type: 'string',\n format: 'date-time'\n },\n created_by: {\n type: 'string'\n },\n billable_metric_id: {\n type: 'string'\n },\n composite_product_ids: {\n type: 'array',\n items: {\n type: 'string'\n }\n },\n composite_tags: {\n type: 'array',\n items: {\n type: 'string'\n }\n },\n exclude_free_usage: {\n type: 'boolean'\n },\n is_refundable: {\n type: 'boolean'\n },\n name: {\n type: 'string'\n },\n netsuite_internal_item_id: {\n type: 'string',\n description: 'This field\\'s availability is dependent on your client\\'s configuration.'\n },\n netsuite_overage_item_id: {\n type: 'string',\n description: 'This field\\'s availability is dependent on your client\\'s configuration.'\n },\n presentation_group_key: {\n type: 'array',\n description: 'For USAGE products only. Groups usage line items on invoices. The superset of values in the pricing group key and presentation group key must be set as one compound group key on the billable metric.',\n items: {\n type: 'string'\n }\n },\n pricing_group_key: {\n type: 'array',\n description: 'For USAGE products only. If set, pricing for this product will be determined for each pricing_group_key value, as opposed to the product as a whole. The superset of values in the pricing group key and presentation group key must be set as one compound group key on the billable metric.',\n items: {\n type: 'string'\n }\n },\n quantity_conversion: {\n $ref: '#/$defs/quantity_conversion'\n },\n quantity_rounding: {\n $ref: '#/$defs/quantity_rounding'\n },\n starting_at: {\n type: 'string',\n format: 'date-time'\n },\n tags: {\n type: 'array',\n items: {\n type: 'string'\n }\n }\n },\n required: [ 'created_at',\n 'created_by'\n ]\n }\n },\n archived_at: {\n type: 'string',\n format: 'date-time'\n },\n custom_fields: {\n type: 'object',\n additionalProperties: true\n }\n },\n required: [ 'id',\n 'current',\n 'initial',\n 'type',\n 'updates'\n ]\n }\n },\n next_page: {\n type: 'string'\n }\n },\n required: [ 'data',\n 'next_page'\n ],\n $defs: {\n product_list_item_state: {\n type: 'object',\n properties: {\n created_at: {\n type: 'string',\n format: 'date-time'\n },\n created_by: {\n type: 'string'\n },\n name: {\n type: 'string'\n },\n billable_metric_id: {\n type: 'string'\n },\n composite_product_ids: {\n type: 'array',\n items: {\n type: 'string'\n }\n },\n composite_tags: {\n type: 'array',\n items: {\n type: 'string'\n }\n },\n exclude_free_usage: {\n type: 'boolean'\n },\n is_refundable: {\n type: 'boolean',\n description: 'This field\\'s availability is dependent on your client\\'s configuration.'\n },\n netsuite_internal_item_id: {\n type: 'string',\n description: 'This field\\'s availability is dependent on your client\\'s configuration.'\n },\n netsuite_overage_item_id: {\n type: 'string',\n description: 'This field\\'s availability is dependent on your client\\'s configuration.'\n },\n presentation_group_key: {\n type: 'array',\n description: 'For USAGE products only. Groups usage line items on invoices. The superset of values in the pricing group key and presentation group key must be set as one compound group key on the billable metric.',\n items: {\n type: 'string'\n }\n },\n pricing_group_key: {\n type: 'array',\n description: 'For USAGE products only. If set, pricing for this product will be determined for each pricing_group_key value, as opposed to the product as a whole. The superset of values in the pricing group key and presentation group key must be set as one compound group key on the billable metric.',\n items: {\n type: 'string'\n }\n },\n quantity_conversion: {\n $ref: '#/$defs/quantity_conversion'\n },\n quantity_rounding: {\n $ref: '#/$defs/quantity_rounding'\n },\n starting_at: {\n type: 'string',\n format: 'date-time'\n },\n tags: {\n type: 'array',\n items: {\n type: 'string'\n }\n }\n },\n required: [ 'created_at',\n 'created_by',\n 'name'\n ]\n },\n quantity_conversion: {\n type: 'object',\n description: 'Optional. Only valid for USAGE products. If provided, the quantity will be converted using the provided conversion factor and operation. For example, if the operation is \"multiply\" and the conversion factor is 100, then the quantity will be multiplied by 100. This can be used in cases where data is sent in one unit and priced in another. For example, data could be sent in MB and priced in GB. In this case, the conversion factor would be 1024 and the operation would be \"divide\".',\n properties: {\n conversion_factor: {\n type: 'number',\n description: 'The factor to multiply or divide the quantity by.'\n },\n operation: {\n type: 'string',\n description: 'The operation to perform on the quantity',\n enum: [ 'MULTIPLY',\n 'DIVIDE'\n ]\n },\n name: {\n type: 'string',\n description: 'Optional name for this conversion.'\n }\n },\n required: [ 'conversion_factor',\n 'operation'\n ]\n },\n quantity_rounding: {\n type: 'object',\n description: 'Optional. Only valid for USAGE products. If provided, the quantity will be rounded using the provided rounding method and decimal places. For example, if the method is \"round up\" and the decimal places is 0, then the quantity will be rounded up to the nearest integer.',\n properties: {\n decimal_places: {\n type: 'number'\n },\n rounding_method: {\n type: 'string',\n enum: [ 'ROUND_UP',\n 'ROUND_DOWN',\n 'ROUND_HALF_UP'\n ]\n }\n },\n required: [ 'decimal_places',\n 'rounding_method'\n ]\n }\n }\n}\n```",
|
|
22
22
|
inputSchema: {
|
|
23
23
|
type: 'object',
|
|
24
24
|
properties: {
|
|
@@ -48,9 +48,9 @@ export const tool: Tool = {
|
|
|
48
48
|
};
|
|
49
49
|
|
|
50
50
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
51
|
-
const body = args as any;
|
|
51
|
+
const { jq_filter, ...body } = args as any;
|
|
52
52
|
const response = await client.v1.contracts.products.list(body).asResponse();
|
|
53
|
-
return asTextContentResult(await maybeFilter(
|
|
53
|
+
return asTextContentResult(await maybeFilter(jq_filter, await response.json()));
|
|
54
54
|
};
|
|
55
55
|
|
|
56
56
|
export default { metadata, tool, handler };
|
|
@@ -18,7 +18,7 @@ export const metadata: Metadata = {
|
|
|
18
18
|
export const tool: Tool = {
|
|
19
19
|
name: 'retrieve_contracts_v1_products',
|
|
20
20
|
description:
|
|
21
|
-
"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\nGet a specific product\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n current: {\n $ref: '#/$defs/product_list_item_state'\n },\n initial: {\n $ref: '#/$defs/product_list_item_state'\n },\n type: {\n type: 'string',\n enum: [ 'USAGE',\n 'SUBSCRIPTION',\n 'COMPOSITE',\n 'FIXED',\n 'PRO_SERVICE'\n ]\n },\n updates: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n created_at: {\n type: 'string',\n format: 'date-time'\n },\n created_by: {\n type: 'string'\n },\n billable_metric_id: {\n type: 'string'\n },\n composite_product_ids: {\n type: 'array',\n items: {\n type: 'string'\n }\n },\n composite_tags: {\n type: 'array',\n items: {\n type: 'string'\n }\n },\n exclude_free_usage: {\n type: 'boolean'\n },\n is_refundable: {\n type: 'boolean'\n },\n name: {\n type: 'string'\n },\n netsuite_internal_item_id: {\n type: 'string',\n description: 'This field\\'s availability is dependent on your client\\'s configuration.'\n },\n netsuite_overage_item_id: {\n type: 'string',\n description: 'This field\\'s availability is dependent on your client\\'s configuration.'\n },\n presentation_group_key: {\n type: 'array',\n description: 'For USAGE products only. Groups usage line items on invoices. The superset of values in the pricing group key and presentation group key must be set as one compound group key on the billable metric.',\n items: {\n type: 'string'\n }\n },\n pricing_group_key: {\n type: 'array',\n description: 'For USAGE products only. If set, pricing for this product will be determined for each pricing_group_key value, as opposed to the product as a whole. The superset of values in the pricing group key and presentation group key must be set as one compound group key on the billable metric.',\n items: {\n type: 'string'\n }\n },\n quantity_conversion: {\n $ref: '#/$defs/quantity_conversion'\n },\n quantity_rounding: {\n $ref: '#/$defs/quantity_rounding'\n },\n starting_at: {\n type: 'string',\n format: 'date-time'\n },\n tags: {\n type: 'array',\n items: {\n type: 'string'\n }\n }\n },\n required: [ 'created_at',\n 'created_by'\n ]\n }\n },\n archived_at: {\n type: 'string',\n format: 'date-time'\n },\n custom_fields: {\n type: 'object'\n }\n },\n required: [ 'id',\n 'current',\n 'initial',\n 'type',\n 'updates'\n ]\n }\n },\n required: [ 'data'\n ],\n $defs: {\n product_list_item_state: {\n type: 'object',\n properties: {\n created_at: {\n type: 'string',\n format: 'date-time'\n },\n created_by: {\n type: 'string'\n },\n name: {\n type: 'string'\n },\n billable_metric_id: {\n type: 'string'\n },\n composite_product_ids: {\n type: 'array',\n items: {\n type: 'string'\n }\n },\n composite_tags: {\n type: 'array',\n items: {\n type: 'string'\n }\n },\n exclude_free_usage: {\n type: 'boolean'\n },\n is_refundable: {\n type: 'boolean',\n description: 'This field\\'s availability is dependent on your client\\'s configuration.'\n },\n netsuite_internal_item_id: {\n type: 'string',\n description: 'This field\\'s availability is dependent on your client\\'s configuration.'\n },\n netsuite_overage_item_id: {\n type: 'string',\n description: 'This field\\'s availability is dependent on your client\\'s configuration.'\n },\n presentation_group_key: {\n type: 'array',\n description: 'For USAGE products only. Groups usage line items on invoices. The superset of values in the pricing group key and presentation group key must be set as one compound group key on the billable metric.',\n items: {\n type: 'string'\n }\n },\n pricing_group_key: {\n type: 'array',\n description: 'For USAGE products only. If set, pricing for this product will be determined for each pricing_group_key value, as opposed to the product as a whole. The superset of values in the pricing group key and presentation group key must be set as one compound group key on the billable metric.',\n items: {\n type: 'string'\n }\n },\n quantity_conversion: {\n $ref: '#/$defs/quantity_conversion'\n },\n quantity_rounding: {\n $ref: '#/$defs/quantity_rounding'\n },\n starting_at: {\n type: 'string',\n format: 'date-time'\n },\n tags: {\n type: 'array',\n items: {\n type: 'string'\n }\n }\n },\n required: [ 'created_at',\n 'created_by',\n 'name'\n ]\n },\n quantity_conversion: {\n type: 'object',\n description: 'Optional. Only valid for USAGE products. If provided, the quantity will be converted using the provided conversion factor and operation. For example, if the operation is \"multiply\" and the conversion factor is 100, then the quantity will be multiplied by 100. This can be used in cases where data is sent in one unit and priced in another. For example, data could be sent in MB and priced in GB. In this case, the conversion factor would be 1024 and the operation would be \"divide\".',\n properties: {\n conversion_factor: {\n type: 'number',\n description: 'The factor to multiply or divide the quantity by.'\n },\n operation: {\n type: 'string',\n description: 'The operation to perform on the quantity',\n enum: [ 'MULTIPLY',\n 'DIVIDE'\n ]\n },\n name: {\n type: 'string',\n description: 'Optional name for this conversion.'\n }\n },\n required: [ 'conversion_factor',\n 'operation'\n ]\n },\n quantity_rounding: {\n type: 'object',\n description: 'Optional. Only valid for USAGE products. If provided, the quantity will be rounded using the provided rounding method and decimal places. For example, if the method is \"round up\" and the decimal places is 0, then the quantity will be rounded up to the nearest integer.',\n properties: {\n decimal_places: {\n type: 'number'\n },\n rounding_method: {\n type: 'string',\n enum: [ 'ROUND_UP',\n 'ROUND_DOWN',\n 'ROUND_HALF_UP'\n ]\n }\n },\n required: [ 'decimal_places',\n 'rounding_method'\n ]\n }\n }\n}\n```",
|
|
21
|
+
"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\nGet a specific product\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n current: {\n $ref: '#/$defs/product_list_item_state'\n },\n initial: {\n $ref: '#/$defs/product_list_item_state'\n },\n type: {\n type: 'string',\n enum: [ 'USAGE',\n 'SUBSCRIPTION',\n 'COMPOSITE',\n 'FIXED',\n 'PRO_SERVICE'\n ]\n },\n updates: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n created_at: {\n type: 'string',\n format: 'date-time'\n },\n created_by: {\n type: 'string'\n },\n billable_metric_id: {\n type: 'string'\n },\n composite_product_ids: {\n type: 'array',\n items: {\n type: 'string'\n }\n },\n composite_tags: {\n type: 'array',\n items: {\n type: 'string'\n }\n },\n exclude_free_usage: {\n type: 'boolean'\n },\n is_refundable: {\n type: 'boolean'\n },\n name: {\n type: 'string'\n },\n netsuite_internal_item_id: {\n type: 'string',\n description: 'This field\\'s availability is dependent on your client\\'s configuration.'\n },\n netsuite_overage_item_id: {\n type: 'string',\n description: 'This field\\'s availability is dependent on your client\\'s configuration.'\n },\n presentation_group_key: {\n type: 'array',\n description: 'For USAGE products only. Groups usage line items on invoices. The superset of values in the pricing group key and presentation group key must be set as one compound group key on the billable metric.',\n items: {\n type: 'string'\n }\n },\n pricing_group_key: {\n type: 'array',\n description: 'For USAGE products only. If set, pricing for this product will be determined for each pricing_group_key value, as opposed to the product as a whole. The superset of values in the pricing group key and presentation group key must be set as one compound group key on the billable metric.',\n items: {\n type: 'string'\n }\n },\n quantity_conversion: {\n $ref: '#/$defs/quantity_conversion'\n },\n quantity_rounding: {\n $ref: '#/$defs/quantity_rounding'\n },\n starting_at: {\n type: 'string',\n format: 'date-time'\n },\n tags: {\n type: 'array',\n items: {\n type: 'string'\n }\n }\n },\n required: [ 'created_at',\n 'created_by'\n ]\n }\n },\n archived_at: {\n type: 'string',\n format: 'date-time'\n },\n custom_fields: {\n type: 'object',\n additionalProperties: true\n }\n },\n required: [ 'id',\n 'current',\n 'initial',\n 'type',\n 'updates'\n ]\n }\n },\n required: [ 'data'\n ],\n $defs: {\n product_list_item_state: {\n type: 'object',\n properties: {\n created_at: {\n type: 'string',\n format: 'date-time'\n },\n created_by: {\n type: 'string'\n },\n name: {\n type: 'string'\n },\n billable_metric_id: {\n type: 'string'\n },\n composite_product_ids: {\n type: 'array',\n items: {\n type: 'string'\n }\n },\n composite_tags: {\n type: 'array',\n items: {\n type: 'string'\n }\n },\n exclude_free_usage: {\n type: 'boolean'\n },\n is_refundable: {\n type: 'boolean',\n description: 'This field\\'s availability is dependent on your client\\'s configuration.'\n },\n netsuite_internal_item_id: {\n type: 'string',\n description: 'This field\\'s availability is dependent on your client\\'s configuration.'\n },\n netsuite_overage_item_id: {\n type: 'string',\n description: 'This field\\'s availability is dependent on your client\\'s configuration.'\n },\n presentation_group_key: {\n type: 'array',\n description: 'For USAGE products only. Groups usage line items on invoices. The superset of values in the pricing group key and presentation group key must be set as one compound group key on the billable metric.',\n items: {\n type: 'string'\n }\n },\n pricing_group_key: {\n type: 'array',\n description: 'For USAGE products only. If set, pricing for this product will be determined for each pricing_group_key value, as opposed to the product as a whole. The superset of values in the pricing group key and presentation group key must be set as one compound group key on the billable metric.',\n items: {\n type: 'string'\n }\n },\n quantity_conversion: {\n $ref: '#/$defs/quantity_conversion'\n },\n quantity_rounding: {\n $ref: '#/$defs/quantity_rounding'\n },\n starting_at: {\n type: 'string',\n format: 'date-time'\n },\n tags: {\n type: 'array',\n items: {\n type: 'string'\n }\n }\n },\n required: [ 'created_at',\n 'created_by',\n 'name'\n ]\n },\n quantity_conversion: {\n type: 'object',\n description: 'Optional. Only valid for USAGE products. If provided, the quantity will be converted using the provided conversion factor and operation. For example, if the operation is \"multiply\" and the conversion factor is 100, then the quantity will be multiplied by 100. This can be used in cases where data is sent in one unit and priced in another. For example, data could be sent in MB and priced in GB. In this case, the conversion factor would be 1024 and the operation would be \"divide\".',\n properties: {\n conversion_factor: {\n type: 'number',\n description: 'The factor to multiply or divide the quantity by.'\n },\n operation: {\n type: 'string',\n description: 'The operation to perform on the quantity',\n enum: [ 'MULTIPLY',\n 'DIVIDE'\n ]\n },\n name: {\n type: 'string',\n description: 'Optional name for this conversion.'\n }\n },\n required: [ 'conversion_factor',\n 'operation'\n ]\n },\n quantity_rounding: {\n type: 'object',\n description: 'Optional. Only valid for USAGE products. If provided, the quantity will be rounded using the provided rounding method and decimal places. For example, if the method is \"round up\" and the decimal places is 0, then the quantity will be rounded up to the nearest integer.',\n properties: {\n decimal_places: {\n type: 'number'\n },\n rounding_method: {\n type: 'string',\n enum: [ 'ROUND_UP',\n 'ROUND_DOWN',\n 'ROUND_HALF_UP'\n ]\n }\n },\n required: [ 'decimal_places',\n 'rounding_method'\n ]\n }\n }\n}\n```",
|
|
22
22
|
inputSchema: {
|
|
23
23
|
type: 'object',
|
|
24
24
|
properties: {
|
|
@@ -38,8 +38,8 @@ export const tool: Tool = {
|
|
|
38
38
|
};
|
|
39
39
|
|
|
40
40
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
41
|
-
const body = args as any;
|
|
42
|
-
return asTextContentResult(await maybeFilter(
|
|
41
|
+
const { jq_filter, ...body } = args as any;
|
|
42
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.v1.contracts.products.retrieve(body)));
|
|
43
43
|
};
|
|
44
44
|
|
|
45
45
|
export default { metadata, tool, handler };
|
|
@@ -157,8 +157,8 @@ export const tool: Tool = {
|
|
|
157
157
|
};
|
|
158
158
|
|
|
159
159
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
160
|
-
const body = args as any;
|
|
161
|
-
return asTextContentResult(await maybeFilter(
|
|
160
|
+
const { jq_filter, ...body } = args as any;
|
|
161
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.v1.contracts.products.update(body)));
|
|
162
162
|
};
|
|
163
163
|
|
|
164
164
|
export default { metadata, tool, handler };
|
|
@@ -38,8 +38,8 @@ export const tool: Tool = {
|
|
|
38
38
|
};
|
|
39
39
|
|
|
40
40
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
41
|
-
const body = args as any;
|
|
42
|
-
return asTextContentResult(await maybeFilter(
|
|
41
|
+
const { jq_filter, ...body } = args as any;
|
|
42
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.v1.contracts.rateCards.archive(body)));
|
|
43
43
|
};
|
|
44
44
|
|
|
45
45
|
export default { metadata, tool, handler };
|
|
@@ -66,6 +66,7 @@ export const tool: Tool = {
|
|
|
66
66
|
},
|
|
67
67
|
custom_fields: {
|
|
68
68
|
type: 'object',
|
|
69
|
+
additionalProperties: true,
|
|
69
70
|
},
|
|
70
71
|
description: {
|
|
71
72
|
type: 'string',
|
|
@@ -88,8 +89,8 @@ export const tool: Tool = {
|
|
|
88
89
|
};
|
|
89
90
|
|
|
90
91
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
91
|
-
const body = args as any;
|
|
92
|
-
return asTextContentResult(await maybeFilter(
|
|
92
|
+
const { jq_filter, ...body } = args as any;
|
|
93
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.v1.contracts.rateCards.create(body)));
|
|
93
94
|
};
|
|
94
95
|
|
|
95
96
|
export default { metadata, tool, handler };
|
|
@@ -18,7 +18,7 @@ export const metadata: Metadata = {
|
|
|
18
18
|
export const tool: Tool = {
|
|
19
19
|
name: 'list_contracts_v1_rate_cards',
|
|
20
20
|
description:
|
|
21
|
-
"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\nList rate cards NOTE: Use `/contract-pricing/rate-cards/getRates` to retrieve rate card rates.\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n created_at: {\n type: 'string',\n format: 'date-time'\n },\n created_by: {\n type: 'string'\n },\n name: {\n type: 'string'\n },\n aliases: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n name: {\n type: 'string'\n },\n ending_before: {\n type: 'string',\n format: 'date-time'\n },\n starting_at: {\n type: 'string',\n format: 'date-time'\n }\n },\n required: [ 'name'\n ]\n }\n },\n credit_type_conversions: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n custom_credit_type: {\n $ref: '#/$defs/credit_type_data'\n },\n fiat_per_custom_credit: {\n type: 'string'\n }\n },\n required: [ 'custom_credit_type',\n 'fiat_per_custom_credit'\n ]\n }\n },\n custom_fields: {\n type: 'object'\n },\n description: {\n type: 'string'\n },\n fiat_credit_type: {\n $ref: '#/$defs/credit_type_data'\n }\n },\n required: [ 'id',\n 'created_at',\n 'created_by',\n 'name'\n ]\n }\n },\n next_page: {\n type: 'string'\n }\n },\n required: [ 'data',\n 'next_page'\n ],\n $defs: {\n credit_type_data: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n name: {\n type: 'string'\n }\n },\n required: [ 'id',\n 'name'\n ]\n }\n }\n}\n```",
|
|
21
|
+
"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\nList rate cards NOTE: Use `/contract-pricing/rate-cards/getRates` to retrieve rate card rates.\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n created_at: {\n type: 'string',\n format: 'date-time'\n },\n created_by: {\n type: 'string'\n },\n name: {\n type: 'string'\n },\n aliases: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n name: {\n type: 'string'\n },\n ending_before: {\n type: 'string',\n format: 'date-time'\n },\n starting_at: {\n type: 'string',\n format: 'date-time'\n }\n },\n required: [ 'name'\n ]\n }\n },\n credit_type_conversions: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n custom_credit_type: {\n $ref: '#/$defs/credit_type_data'\n },\n fiat_per_custom_credit: {\n type: 'string'\n }\n },\n required: [ 'custom_credit_type',\n 'fiat_per_custom_credit'\n ]\n }\n },\n custom_fields: {\n type: 'object',\n additionalProperties: true\n },\n description: {\n type: 'string'\n },\n fiat_credit_type: {\n $ref: '#/$defs/credit_type_data'\n }\n },\n required: [ 'id',\n 'created_at',\n 'created_by',\n 'name'\n ]\n }\n },\n next_page: {\n type: 'string'\n }\n },\n required: [ 'data',\n 'next_page'\n ],\n $defs: {\n credit_type_data: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n name: {\n type: 'string'\n }\n },\n required: [ 'id',\n 'name'\n ]\n }\n }\n}\n```",
|
|
22
22
|
inputSchema: {
|
|
23
23
|
type: 'object',
|
|
24
24
|
properties: {
|
|
@@ -32,6 +32,7 @@ export const tool: Tool = {
|
|
|
32
32
|
},
|
|
33
33
|
body: {
|
|
34
34
|
type: 'object',
|
|
35
|
+
additionalProperties: true,
|
|
35
36
|
},
|
|
36
37
|
jq_filter: {
|
|
37
38
|
type: 'string',
|
|
@@ -46,9 +47,9 @@ export const tool: Tool = {
|
|
|
46
47
|
};
|
|
47
48
|
|
|
48
49
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
49
|
-
const body = args as any;
|
|
50
|
+
const { jq_filter, ...body } = args as any;
|
|
50
51
|
const response = await client.v1.contracts.rateCards.list(body).asResponse();
|
|
51
|
-
return asTextContentResult(await maybeFilter(
|
|
52
|
+
return asTextContentResult(await maybeFilter(jq_filter, await response.json()));
|
|
52
53
|
};
|
|
53
54
|
|
|
54
55
|
export default { metadata, tool, handler };
|