@metronome/mcp 2.0.0 → 2.2.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 +68 -22
- package/code-tool-types.d.mts +2 -0
- package/code-tool-types.d.mts.map +1 -1
- package/code-tool-types.d.ts +2 -0
- package/code-tool-types.d.ts.map +1 -1
- package/code-tool.d.mts +45 -3
- package/code-tool.d.mts.map +1 -1
- package/code-tool.d.ts +45 -3
- package/code-tool.d.ts.map +1 -1
- package/code-tool.js +28 -133
- package/code-tool.js.map +1 -1
- package/code-tool.mjs +28 -100
- package/code-tool.mjs.map +1 -1
- package/docs-search-tool.d.mts +12 -6
- package/docs-search-tool.d.mts.map +1 -1
- package/docs-search-tool.d.ts +12 -6
- package/docs-search-tool.d.ts.map +1 -1
- package/docs-search-tool.js +10 -2
- package/docs-search-tool.js.map +1 -1
- package/docs-search-tool.mjs +10 -2
- package/docs-search-tool.mjs.map +1 -1
- package/dynamic-tools.d.mts +1 -1
- package/dynamic-tools.d.ts +1 -1
- package/dynamic-tools.js +1 -1
- package/dynamic-tools.mjs +1 -1
- package/filtering.d.mts +1 -0
- package/filtering.d.mts.map +1 -1
- package/filtering.d.ts +1 -0
- package/filtering.d.ts.map +1 -1
- package/filtering.js +4 -0
- package/filtering.js.map +1 -1
- package/filtering.mjs +3 -0
- package/filtering.mjs.map +1 -1
- package/headers.d.mts.map +1 -1
- package/headers.d.ts.map +1 -1
- package/headers.js +1 -1
- package/headers.js.map +1 -1
- package/headers.mjs +1 -1
- package/headers.mjs.map +1 -1
- package/http.js +2 -2
- package/http.js.map +1 -1
- package/http.mjs +2 -2
- package/http.mjs.map +1 -1
- package/options.d.mts.map +1 -1
- package/options.d.ts.map +1 -1
- package/options.js +6 -3
- package/options.js.map +1 -1
- package/options.mjs +6 -3
- package/options.mjs.map +1 -1
- package/package.json +6 -20
- package/server.js +1 -1
- package/server.mjs +1 -1
- package/src/code-tool-types.ts +5 -1
- package/src/code-tool.ts +38 -122
- package/src/docs-search-tool.ts +14 -3
- package/src/dynamic-tools.ts +1 -1
- package/src/filtering.ts +4 -0
- package/src/headers.ts +3 -1
- package/src/http.ts +2 -2
- package/src/options.ts +10 -3
- package/src/server.ts +1 -1
- package/src/tools/index.ts +6 -0
- package/src/tools/types.ts +12 -0
- package/src/tools/v1/alerts/archive-v1-alerts.ts +10 -3
- package/src/tools/v1/alerts/create-v1-alerts.ts +27 -3
- package/src/tools/v1/audit-logs/list-v1-audit-logs.ts +10 -3
- package/src/tools/v1/billable-metrics/archive-v1-billable-metrics.ts +10 -3
- package/src/tools/v1/billable-metrics/create-v1-billable-metrics.ts +10 -3
- package/src/tools/v1/billable-metrics/list-v1-billable-metrics.ts +10 -3
- package/src/tools/v1/billable-metrics/retrieve-v1-billable-metrics.ts +10 -3
- package/src/tools/v1/contracts/add-manual-balance-entry-v1-contracts.ts +6 -0
- package/src/tools/v1/contracts/amend-v1-contracts.ts +10 -3
- package/src/tools/v1/contracts/archive-v1-contracts.ts +10 -3
- package/src/tools/v1/contracts/create-historical-invoices-v1-contracts.ts +9 -2
- package/src/tools/v1/contracts/create-v1-contracts.ts +64 -8
- package/src/tools/v1/contracts/list-balances-v1-contracts.ts +13 -2
- package/src/tools/v1/contracts/list-v1-contracts.ts +9 -2
- package/src/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.ts +12 -5
- package/src/tools/v1/contracts/products/archive-contracts-v1-products.ts +12 -3
- package/src/tools/v1/contracts/products/create-contracts-v1-products.ts +10 -3
- package/src/tools/v1/contracts/products/list-contracts-v1-products.ts +10 -3
- package/src/tools/v1/contracts/products/retrieve-contracts-v1-products.ts +12 -3
- package/src/tools/v1/contracts/products/update-contracts-v1-products.ts +10 -3
- package/src/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.ts +12 -3
- package/src/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.ts +12 -3
- package/src/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.ts +10 -3
- package/src/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.ts +12 -5
- package/src/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.ts +12 -5
- package/src/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.ts +12 -5
- package/src/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.ts +12 -5
- package/src/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.ts +12 -5
- package/src/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.ts +10 -3
- package/src/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.ts +12 -5
- package/src/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.ts +12 -5
- package/src/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.ts +12 -3
- package/src/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.ts +12 -5
- package/src/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.ts +12 -5
- package/src/tools/v1/contracts/retrieve-v1-contracts.ts +9 -2
- package/src/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.ts +9 -2
- package/src/tools/v1/contracts/update-end-date-v1-contracts.ts +10 -3
- package/src/tools/v1/credit-grants/create-v1-credit-grants.ts +11 -4
- package/src/tools/v1/credit-grants/edit-v1-credit-grants.ts +11 -4
- package/src/tools/v1/credit-grants/list-entries-v1-credit-grants.ts +11 -4
- package/src/tools/v1/credit-grants/list-v1-credit-grants.ts +11 -4
- package/src/tools/v1/credit-grants/void-v1-credit-grants.ts +11 -4
- package/src/tools/v1/custom-fields/list-keys-v1-custom-fields.ts +10 -3
- package/src/tools/v1/customers/alerts/list-customers-v1-alerts.ts +11 -4
- package/src/tools/v1/customers/alerts/retrieve-customers-v1-alerts.ts +25 -2
- package/src/tools/v1/customers/archive-v1-customers.ts +10 -3
- package/src/tools/v1/customers/billing-config/create-customers-v1-billing-config.ts +11 -1
- package/src/tools/v1/customers/billing-config/delete-customers-v1-billing-config.ts +2 -1
- package/src/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.ts +14 -6
- package/src/tools/v1/customers/commits/create-customers-v1-commits.ts +11 -4
- package/src/tools/v1/customers/commits/list-customers-v1-commits.ts +9 -2
- package/src/tools/v1/customers/commits/update-end-date-customers-v1-commits.ts +12 -5
- package/src/tools/v1/customers/create-v1-customers.ts +50 -3
- package/src/tools/v1/customers/credits/create-customers-v1-credits.ts +10 -3
- package/src/tools/v1/customers/credits/list-customers-v1-credits.ts +9 -2
- package/src/tools/v1/customers/credits/update-end-date-customers-v1-credits.ts +12 -5
- package/src/tools/v1/customers/invoices/add-charge-customers-v1-invoices.ts +13 -6
- package/src/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.ts +9 -2
- package/src/tools/v1/customers/invoices/list-customers-v1-invoices.ts +9 -2
- package/src/tools/v1/customers/invoices/retrieve-customers-v1-invoices.ts +9 -2
- package/src/tools/v1/customers/invoices/retrieve-pdf-customers-v1-invoices.ts +1 -1
- package/src/tools/v1/customers/list-billable-metrics-v1-customers.ts +10 -3
- package/src/tools/v1/customers/list-costs-v1-customers.ts +11 -4
- package/src/tools/v1/customers/list-v1-customers.ts +10 -3
- package/src/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.ts +12 -5
- package/src/tools/v1/customers/plans/add-customers-v1-plans.ts +11 -4
- package/src/tools/v1/customers/plans/end-customers-v1-plans.ts +11 -4
- package/src/tools/v1/customers/plans/list-customers-v1-plans.ts +11 -4
- package/src/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.ts +11 -4
- package/src/tools/v1/customers/preview-events-v1-customers.ts +14 -5
- package/src/tools/v1/customers/retrieve-billing-configurations-v1-customers.ts +13 -6
- package/src/tools/v1/customers/retrieve-v1-customers.ts +10 -3
- package/src/tools/v1/customers/set-billing-configurations-v1-customers.ts +21 -5
- package/src/tools/v1/customers/set-name-v1-customers.ts +10 -3
- package/src/tools/v1/dashboards/get-embeddable-url-v1-dashboards.ts +12 -3
- package/src/tools/v1/invoices/regenerate-v1-invoices.ts +10 -3
- package/src/tools/v1/invoices/void-v1-invoices.ts +10 -3
- package/src/tools/v1/payments/attempt-v1-payments.ts +11 -4
- package/src/tools/v1/payments/cancel-v1-payments.ts +11 -4
- package/src/tools/v1/payments/list-v1-payments.ts +11 -4
- package/src/tools/v1/plans/get-details-v1-plans.ts +11 -4
- package/src/tools/v1/plans/list-charges-v1-plans.ts +11 -4
- package/src/tools/v1/plans/list-customers-v1-plans.ts +11 -4
- package/src/tools/v1/plans/list-v1-plans.ts +11 -4
- package/src/tools/v1/pricing-units/list-v1-pricing-units.ts +10 -3
- package/src/tools/v1/services/list-v1-services.ts +10 -3
- package/src/tools/v1/settings/billing-providers/create-settings-v1-billing-providers.ts +67 -0
- package/src/tools/v1/settings/billing-providers/list-settings-v1-billing-providers.ts +55 -0
- package/src/tools/v1/settings/upsert-avalara-credentials-v1-settings.ts +77 -0
- package/src/tools/v1/usage/list-v1-usage.ts +10 -3
- package/src/tools/v1/usage/list-with-groups-v1-usage.ts +10 -3
- package/src/tools/v1/usage/search-v1-usage.ts +11 -4
- package/src/tools/v2/contracts/edit-commit-v2-contracts.ts +18 -3
- package/src/tools/v2/contracts/edit-credit-v2-contracts.ts +18 -3
- package/src/tools/v2/contracts/edit-v2-contracts.ts +161 -5
- package/src/tools/v2/contracts/get-edit-history-v2-contracts.ts +9 -2
- package/src/tools/v2/contracts/list-v2-contracts.ts +9 -2
- package/src/tools/v2/contracts/retrieve-v2-contracts.ts +9 -2
- package/tools/index.d.mts.map +1 -1
- package/tools/index.d.ts.map +1 -1
- package/tools/index.js +6 -0
- package/tools/index.js.map +1 -1
- package/tools/index.mjs +6 -0
- package/tools/index.mjs.map +1 -1
- package/tools/types.d.mts +1 -0
- package/tools/types.d.mts.map +1 -1
- package/tools/types.d.ts +1 -0
- package/tools/types.d.ts.map +1 -1
- package/tools/types.js +12 -0
- package/tools/types.js.map +1 -1
- package/tools/types.mjs +11 -0
- package/tools/types.mjs.map +1 -1
- package/tools/v1/alerts/archive-v1-alerts.d.mts +12 -6
- package/tools/v1/alerts/archive-v1-alerts.d.mts.map +1 -1
- package/tools/v1/alerts/archive-v1-alerts.d.ts +12 -6
- package/tools/v1/alerts/archive-v1-alerts.d.ts.map +1 -1
- package/tools/v1/alerts/archive-v1-alerts.js +13 -1
- package/tools/v1/alerts/archive-v1-alerts.js.map +1 -1
- package/tools/v1/alerts/archive-v1-alerts.mjs +12 -3
- package/tools/v1/alerts/archive-v1-alerts.mjs.map +1 -1
- package/tools/v1/alerts/create-v1-alerts.d.mts +12 -6
- package/tools/v1/alerts/create-v1-alerts.d.mts.map +1 -1
- package/tools/v1/alerts/create-v1-alerts.d.ts +12 -6
- package/tools/v1/alerts/create-v1-alerts.d.ts.map +1 -1
- package/tools/v1/alerts/create-v1-alerts.js +29 -1
- package/tools/v1/alerts/create-v1-alerts.js.map +1 -1
- package/tools/v1/alerts/create-v1-alerts.mjs +28 -3
- package/tools/v1/alerts/create-v1-alerts.mjs.map +1 -1
- package/tools/v1/audit-logs/list-v1-audit-logs.d.mts +12 -6
- package/tools/v1/audit-logs/list-v1-audit-logs.d.mts.map +1 -1
- package/tools/v1/audit-logs/list-v1-audit-logs.d.ts +12 -6
- package/tools/v1/audit-logs/list-v1-audit-logs.d.ts.map +1 -1
- package/tools/v1/audit-logs/list-v1-audit-logs.js +13 -1
- package/tools/v1/audit-logs/list-v1-audit-logs.js.map +1 -1
- package/tools/v1/audit-logs/list-v1-audit-logs.mjs +12 -3
- package/tools/v1/audit-logs/list-v1-audit-logs.mjs.map +1 -1
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.d.mts +12 -6
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.d.mts.map +1 -1
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.d.ts +12 -6
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.d.ts.map +1 -1
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.js +13 -1
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.js.map +1 -1
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.mjs +12 -3
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.mjs.map +1 -1
- package/tools/v1/billable-metrics/create-v1-billable-metrics.d.mts +12 -6
- 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 +12 -6
- package/tools/v1/billable-metrics/create-v1-billable-metrics.d.ts.map +1 -1
- package/tools/v1/billable-metrics/create-v1-billable-metrics.js +13 -1
- package/tools/v1/billable-metrics/create-v1-billable-metrics.js.map +1 -1
- package/tools/v1/billable-metrics/create-v1-billable-metrics.mjs +12 -3
- package/tools/v1/billable-metrics/create-v1-billable-metrics.mjs.map +1 -1
- package/tools/v1/billable-metrics/list-v1-billable-metrics.d.mts +12 -6
- package/tools/v1/billable-metrics/list-v1-billable-metrics.d.mts.map +1 -1
- package/tools/v1/billable-metrics/list-v1-billable-metrics.d.ts +12 -6
- package/tools/v1/billable-metrics/list-v1-billable-metrics.d.ts.map +1 -1
- package/tools/v1/billable-metrics/list-v1-billable-metrics.js +13 -1
- package/tools/v1/billable-metrics/list-v1-billable-metrics.js.map +1 -1
- package/tools/v1/billable-metrics/list-v1-billable-metrics.mjs +12 -3
- package/tools/v1/billable-metrics/list-v1-billable-metrics.mjs.map +1 -1
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.d.mts +12 -6
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.d.mts.map +1 -1
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.d.ts +12 -6
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.d.ts.map +1 -1
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.js +13 -1
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.js.map +1 -1
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.mjs +12 -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 +12 -6
- 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 +12 -6
- 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 +5 -0
- 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 +5 -0
- package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/amend-v1-contracts.d.mts +12 -6
- package/tools/v1/contracts/amend-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/amend-v1-contracts.d.ts +12 -6
- package/tools/v1/contracts/amend-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/amend-v1-contracts.js +14 -2
- package/tools/v1/contracts/amend-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/amend-v1-contracts.mjs +12 -3
- package/tools/v1/contracts/amend-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/archive-v1-contracts.d.mts +12 -6
- package/tools/v1/contracts/archive-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/archive-v1-contracts.d.ts +12 -6
- package/tools/v1/contracts/archive-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/archive-v1-contracts.js +13 -1
- package/tools/v1/contracts/archive-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/archive-v1-contracts.mjs +12 -3
- package/tools/v1/contracts/archive-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.d.mts +12 -6
- 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 +12 -6
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.js +13 -1
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.mjs +11 -2
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/create-v1-contracts.d.mts +12 -6
- package/tools/v1/contracts/create-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/create-v1-contracts.d.ts +12 -6
- package/tools/v1/contracts/create-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/create-v1-contracts.js +60 -7
- package/tools/v1/contracts/create-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/create-v1-contracts.mjs +58 -8
- package/tools/v1/contracts/create-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/list-balances-v1-contracts.d.mts +12 -6
- package/tools/v1/contracts/list-balances-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/list-balances-v1-contracts.d.ts +12 -6
- package/tools/v1/contracts/list-balances-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/list-balances-v1-contracts.js +17 -1
- package/tools/v1/contracts/list-balances-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/list-balances-v1-contracts.mjs +15 -2
- package/tools/v1/contracts/list-balances-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/list-v1-contracts.d.mts +12 -6
- package/tools/v1/contracts/list-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/list-v1-contracts.d.ts +12 -6
- package/tools/v1/contracts/list-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/list-v1-contracts.js +13 -1
- package/tools/v1/contracts/list-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/list-v1-contracts.mjs +11 -2
- package/tools/v1/contracts/list-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.d.mts +12 -6
- package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.d.mts.map +1 -1
- package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.d.ts +12 -6
- package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.d.ts.map +1 -1
- package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.js +13 -1
- package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.js.map +1 -1
- package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.mjs +12 -3
- package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.mjs.map +1 -1
- package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.d.mts +12 -6
- 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 +12 -6
- package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.d.ts.map +1 -1
- package/tools/v1/contracts/products/archive-contracts-v1-products.d.mts +12 -6
- package/tools/v1/contracts/products/archive-contracts-v1-products.d.mts.map +1 -1
- package/tools/v1/contracts/products/archive-contracts-v1-products.d.ts +12 -6
- package/tools/v1/contracts/products/archive-contracts-v1-products.d.ts.map +1 -1
- package/tools/v1/contracts/products/archive-contracts-v1-products.js +13 -1
- package/tools/v1/contracts/products/archive-contracts-v1-products.js.map +1 -1
- package/tools/v1/contracts/products/archive-contracts-v1-products.mjs +12 -3
- package/tools/v1/contracts/products/archive-contracts-v1-products.mjs.map +1 -1
- package/tools/v1/contracts/products/create-contracts-v1-products.d.mts +12 -6
- 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 +12 -6
- package/tools/v1/contracts/products/create-contracts-v1-products.d.ts.map +1 -1
- package/tools/v1/contracts/products/create-contracts-v1-products.js +13 -1
- package/tools/v1/contracts/products/create-contracts-v1-products.js.map +1 -1
- package/tools/v1/contracts/products/create-contracts-v1-products.mjs +12 -3
- package/tools/v1/contracts/products/create-contracts-v1-products.mjs.map +1 -1
- package/tools/v1/contracts/products/list-contracts-v1-products.d.mts +12 -6
- package/tools/v1/contracts/products/list-contracts-v1-products.d.mts.map +1 -1
- package/tools/v1/contracts/products/list-contracts-v1-products.d.ts +12 -6
- package/tools/v1/contracts/products/list-contracts-v1-products.d.ts.map +1 -1
- package/tools/v1/contracts/products/list-contracts-v1-products.js +13 -1
- package/tools/v1/contracts/products/list-contracts-v1-products.js.map +1 -1
- package/tools/v1/contracts/products/list-contracts-v1-products.mjs +12 -3
- package/tools/v1/contracts/products/list-contracts-v1-products.mjs.map +1 -1
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.d.mts +12 -6
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.d.mts.map +1 -1
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.d.ts +12 -6
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.d.ts.map +1 -1
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.js +13 -1
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.js.map +1 -1
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.mjs +12 -3
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.mjs.map +1 -1
- package/tools/v1/contracts/products/update-contracts-v1-products.d.mts +12 -6
- package/tools/v1/contracts/products/update-contracts-v1-products.d.mts.map +1 -1
- package/tools/v1/contracts/products/update-contracts-v1-products.d.ts +12 -6
- package/tools/v1/contracts/products/update-contracts-v1-products.d.ts.map +1 -1
- package/tools/v1/contracts/products/update-contracts-v1-products.js +13 -1
- package/tools/v1/contracts/products/update-contracts-v1-products.js.map +1 -1
- package/tools/v1/contracts/products/update-contracts-v1-products.mjs +12 -3
- package/tools/v1/contracts/products/update-contracts-v1-products.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.d.mts +12 -6
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.d.ts +12 -6
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.js +13 -1
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.js.map +1 -1
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.mjs +12 -3
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.d.mts +12 -6
- 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 +12 -6
- 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 +13 -1
- package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.js.map +1 -1
- package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.mjs +12 -3
- package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.d.mts +12 -6
- 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 +12 -6
- package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.js +13 -1
- 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 +12 -3
- package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.d.mts +12 -6
- package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.d.ts +12 -6
- package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.js +13 -1
- package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.js.map +1 -1
- package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.mjs +12 -3
- package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.d.mts +12 -6
- 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 +12 -6
- 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/product-orders/set-rate-cards-contracts-v1-product-orders.d.mts +12 -6
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.d.ts +12 -6
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.js +13 -1
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.js.map +1 -1
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.mjs +12 -3
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.d.mts +12 -6
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.d.ts +12 -6
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.js +13 -1
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.js.map +1 -1
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.mjs +12 -3
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.d.mts +12 -6
- 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 +12 -6
- 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 +13 -1
- package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.js.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.mjs +12 -3
- package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.d.mts +12 -6
- 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 +12 -6
- 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 +13 -1
- package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.js.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.mjs +12 -3
- package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.d.mts +12 -6
- 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 +12 -6
- package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.js +13 -1
- 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 +12 -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 +12 -6
- 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 +12 -6
- 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 +13 -1
- package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.js.map +1 -1
- package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.mjs +12 -3
- package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.d.mts +12 -6
- 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 +12 -6
- 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 +13 -1
- package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.js.map +1 -1
- package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.mjs +12 -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.d.mts +12 -6
- package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.d.ts +12 -6
- package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.js +13 -1
- package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.js.map +1 -1
- package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.mjs +12 -3
- package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.mjs.map +1 -1
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.d.mts +12 -6
- 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 +12 -6
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.js +13 -1
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.mjs +12 -3
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.d.mts +12 -6
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.d.ts +12 -6
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.js +13 -1
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.mjs +12 -3
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/retrieve-v1-contracts.d.mts +12 -6
- package/tools/v1/contracts/retrieve-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/retrieve-v1-contracts.d.ts +12 -6
- package/tools/v1/contracts/retrieve-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/retrieve-v1-contracts.js +13 -1
- package/tools/v1/contracts/retrieve-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/retrieve-v1-contracts.mjs +11 -2
- package/tools/v1/contracts/retrieve-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.d.mts +12 -6
- package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.d.ts +12 -6
- package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.js +13 -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 +11 -2
- 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 +12 -6
- 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 +12 -6
- package/tools/v1/contracts/set-usage-filter-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/update-end-date-v1-contracts.d.mts +12 -6
- package/tools/v1/contracts/update-end-date-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/update-end-date-v1-contracts.d.ts +12 -6
- package/tools/v1/contracts/update-end-date-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/update-end-date-v1-contracts.js +13 -1
- package/tools/v1/contracts/update-end-date-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/update-end-date-v1-contracts.mjs +12 -3
- package/tools/v1/contracts/update-end-date-v1-contracts.mjs.map +1 -1
- package/tools/v1/credit-grants/create-v1-credit-grants.d.mts +12 -6
- 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 +12 -6
- package/tools/v1/credit-grants/create-v1-credit-grants.d.ts.map +1 -1
- package/tools/v1/credit-grants/create-v1-credit-grants.js +14 -2
- package/tools/v1/credit-grants/create-v1-credit-grants.js.map +1 -1
- package/tools/v1/credit-grants/create-v1-credit-grants.mjs +13 -4
- package/tools/v1/credit-grants/create-v1-credit-grants.mjs.map +1 -1
- package/tools/v1/credit-grants/edit-v1-credit-grants.d.mts +12 -6
- package/tools/v1/credit-grants/edit-v1-credit-grants.d.mts.map +1 -1
- package/tools/v1/credit-grants/edit-v1-credit-grants.d.ts +12 -6
- package/tools/v1/credit-grants/edit-v1-credit-grants.d.ts.map +1 -1
- package/tools/v1/credit-grants/edit-v1-credit-grants.js +14 -2
- package/tools/v1/credit-grants/edit-v1-credit-grants.js.map +1 -1
- package/tools/v1/credit-grants/edit-v1-credit-grants.mjs +13 -4
- package/tools/v1/credit-grants/edit-v1-credit-grants.mjs.map +1 -1
- package/tools/v1/credit-grants/list-entries-v1-credit-grants.d.mts +12 -6
- package/tools/v1/credit-grants/list-entries-v1-credit-grants.d.mts.map +1 -1
- package/tools/v1/credit-grants/list-entries-v1-credit-grants.d.ts +12 -6
- package/tools/v1/credit-grants/list-entries-v1-credit-grants.d.ts.map +1 -1
- package/tools/v1/credit-grants/list-entries-v1-credit-grants.js +14 -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 +13 -4
- package/tools/v1/credit-grants/list-entries-v1-credit-grants.mjs.map +1 -1
- package/tools/v1/credit-grants/list-v1-credit-grants.d.mts +12 -6
- package/tools/v1/credit-grants/list-v1-credit-grants.d.mts.map +1 -1
- package/tools/v1/credit-grants/list-v1-credit-grants.d.ts +12 -6
- package/tools/v1/credit-grants/list-v1-credit-grants.d.ts.map +1 -1
- package/tools/v1/credit-grants/list-v1-credit-grants.js +14 -2
- package/tools/v1/credit-grants/list-v1-credit-grants.js.map +1 -1
- package/tools/v1/credit-grants/list-v1-credit-grants.mjs +13 -4
- package/tools/v1/credit-grants/list-v1-credit-grants.mjs.map +1 -1
- package/tools/v1/credit-grants/void-v1-credit-grants.d.mts +12 -6
- package/tools/v1/credit-grants/void-v1-credit-grants.d.mts.map +1 -1
- package/tools/v1/credit-grants/void-v1-credit-grants.d.ts +12 -6
- package/tools/v1/credit-grants/void-v1-credit-grants.d.ts.map +1 -1
- package/tools/v1/credit-grants/void-v1-credit-grants.js +14 -2
- package/tools/v1/credit-grants/void-v1-credit-grants.js.map +1 -1
- package/tools/v1/credit-grants/void-v1-credit-grants.mjs +13 -4
- 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 +12 -6
- 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 +12 -6
- package/tools/v1/custom-fields/add-key-v1-custom-fields.d.ts.map +1 -1
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.d.mts +12 -6
- 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 +12 -6
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.d.ts.map +1 -1
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.d.mts +12 -6
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.d.mts.map +1 -1
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.d.ts +12 -6
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.d.ts.map +1 -1
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.js +13 -1
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.js.map +1 -1
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.mjs +12 -3
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.mjs.map +1 -1
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.d.mts +12 -6
- 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 +12 -6
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.d.ts.map +1 -1
- package/tools/v1/custom-fields/set-values-v1-custom-fields.d.mts +12 -6
- 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 +12 -6
- package/tools/v1/custom-fields/set-values-v1-custom-fields.d.ts.map +1 -1
- package/tools/v1/customers/alerts/list-customers-v1-alerts.d.mts +12 -6
- package/tools/v1/customers/alerts/list-customers-v1-alerts.d.mts.map +1 -1
- package/tools/v1/customers/alerts/list-customers-v1-alerts.d.ts +12 -6
- package/tools/v1/customers/alerts/list-customers-v1-alerts.d.ts.map +1 -1
- package/tools/v1/customers/alerts/list-customers-v1-alerts.js +14 -2
- package/tools/v1/customers/alerts/list-customers-v1-alerts.js.map +1 -1
- package/tools/v1/customers/alerts/list-customers-v1-alerts.mjs +13 -4
- package/tools/v1/customers/alerts/list-customers-v1-alerts.mjs.map +1 -1
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.d.mts +12 -6
- 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 +12 -6
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.d.ts.map +1 -1
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.d.mts +12 -6
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.d.mts.map +1 -1
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.d.ts +12 -6
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.d.ts.map +1 -1
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.js +28 -1
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.js.map +1 -1
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.mjs +26 -2
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.mjs.map +1 -1
- package/tools/v1/customers/archive-v1-customers.d.mts +12 -6
- package/tools/v1/customers/archive-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/archive-v1-customers.d.ts +12 -6
- package/tools/v1/customers/archive-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/archive-v1-customers.js +13 -1
- package/tools/v1/customers/archive-v1-customers.js.map +1 -1
- package/tools/v1/customers/archive-v1-customers.mjs +12 -3
- package/tools/v1/customers/archive-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.d.mts +12 -6
- 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 +12 -6
- 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 +9 -1
- 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 +9 -1
- 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 +12 -6
- 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 +12 -6
- 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 +2 -1
- 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 +2 -1
- 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 +12 -6
- 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 +12 -6
- 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 +15 -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 +14 -4
- 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 +12 -6
- 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 +12 -6
- package/tools/v1/customers/commits/create-customers-v1-commits.d.ts.map +1 -1
- package/tools/v1/customers/commits/create-customers-v1-commits.js +15 -3
- package/tools/v1/customers/commits/create-customers-v1-commits.js.map +1 -1
- package/tools/v1/customers/commits/create-customers-v1-commits.mjs +13 -4
- package/tools/v1/customers/commits/create-customers-v1-commits.mjs.map +1 -1
- package/tools/v1/customers/commits/list-customers-v1-commits.d.mts +12 -6
- 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 +12 -6
- package/tools/v1/customers/commits/list-customers-v1-commits.d.ts.map +1 -1
- package/tools/v1/customers/commits/list-customers-v1-commits.js +13 -1
- package/tools/v1/customers/commits/list-customers-v1-commits.js.map +1 -1
- package/tools/v1/customers/commits/list-customers-v1-commits.mjs +11 -2
- 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 +12 -6
- 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 +12 -6
- 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 +13 -1
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.js.map +1 -1
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.mjs +12 -3
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.mjs.map +1 -1
- package/tools/v1/customers/create-v1-customers.d.mts +12 -6
- package/tools/v1/customers/create-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/create-v1-customers.d.ts +12 -6
- package/tools/v1/customers/create-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/create-v1-customers.js +49 -1
- package/tools/v1/customers/create-v1-customers.js.map +1 -1
- package/tools/v1/customers/create-v1-customers.mjs +48 -3
- package/tools/v1/customers/create-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/credits/create-customers-v1-credits.d.mts +12 -6
- 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 +12 -6
- package/tools/v1/customers/credits/create-customers-v1-credits.d.ts.map +1 -1
- package/tools/v1/customers/credits/create-customers-v1-credits.js +13 -1
- package/tools/v1/customers/credits/create-customers-v1-credits.js.map +1 -1
- package/tools/v1/customers/credits/create-customers-v1-credits.mjs +12 -3
- package/tools/v1/customers/credits/create-customers-v1-credits.mjs.map +1 -1
- package/tools/v1/customers/credits/list-customers-v1-credits.d.mts +12 -6
- 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 +12 -6
- package/tools/v1/customers/credits/list-customers-v1-credits.d.ts.map +1 -1
- package/tools/v1/customers/credits/list-customers-v1-credits.js +13 -1
- package/tools/v1/customers/credits/list-customers-v1-credits.js.map +1 -1
- package/tools/v1/customers/credits/list-customers-v1-credits.mjs +11 -2
- 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 +12 -6
- 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 +12 -6
- 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 +13 -1
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.js.map +1 -1
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.mjs +12 -3
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.mjs.map +1 -1
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.d.mts +12 -6
- 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 +12 -6
- 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 +14 -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 +13 -4
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.mjs.map +1 -1
- package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.d.mts +12 -6
- package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.d.mts.map +1 -1
- package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.d.ts +12 -6
- package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.d.ts.map +1 -1
- package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.js +13 -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 +11 -2
- package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.mjs.map +1 -1
- package/tools/v1/customers/invoices/list-customers-v1-invoices.d.mts +12 -6
- package/tools/v1/customers/invoices/list-customers-v1-invoices.d.mts.map +1 -1
- package/tools/v1/customers/invoices/list-customers-v1-invoices.d.ts +12 -6
- package/tools/v1/customers/invoices/list-customers-v1-invoices.d.ts.map +1 -1
- package/tools/v1/customers/invoices/list-customers-v1-invoices.js +13 -1
- package/tools/v1/customers/invoices/list-customers-v1-invoices.js.map +1 -1
- package/tools/v1/customers/invoices/list-customers-v1-invoices.mjs +11 -2
- package/tools/v1/customers/invoices/list-customers-v1-invoices.mjs.map +1 -1
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.d.mts +12 -6
- 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 +12 -6
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.d.ts.map +1 -1
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.js +13 -1
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.js.map +1 -1
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.mjs +11 -2
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.mjs.map +1 -1
- package/tools/v1/customers/invoices/retrieve-pdf-customers-v1-invoices.d.mts +12 -6
- package/tools/v1/customers/invoices/retrieve-pdf-customers-v1-invoices.d.mts.map +1 -1
- package/tools/v1/customers/invoices/retrieve-pdf-customers-v1-invoices.d.ts +12 -6
- package/tools/v1/customers/invoices/retrieve-pdf-customers-v1-invoices.d.ts.map +1 -1
- package/tools/v1/customers/invoices/retrieve-pdf-customers-v1-invoices.js +1 -1
- package/tools/v1/customers/invoices/retrieve-pdf-customers-v1-invoices.js.map +1 -1
- package/tools/v1/customers/invoices/retrieve-pdf-customers-v1-invoices.mjs +1 -1
- package/tools/v1/customers/invoices/retrieve-pdf-customers-v1-invoices.mjs.map +1 -1
- package/tools/v1/customers/list-billable-metrics-v1-customers.d.mts +12 -6
- package/tools/v1/customers/list-billable-metrics-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/list-billable-metrics-v1-customers.d.ts +12 -6
- package/tools/v1/customers/list-billable-metrics-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/list-billable-metrics-v1-customers.js +13 -1
- package/tools/v1/customers/list-billable-metrics-v1-customers.js.map +1 -1
- package/tools/v1/customers/list-billable-metrics-v1-customers.mjs +12 -3
- package/tools/v1/customers/list-billable-metrics-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/list-costs-v1-customers.d.mts +12 -6
- package/tools/v1/customers/list-costs-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/list-costs-v1-customers.d.ts +12 -6
- package/tools/v1/customers/list-costs-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/list-costs-v1-customers.js +14 -2
- package/tools/v1/customers/list-costs-v1-customers.js.map +1 -1
- package/tools/v1/customers/list-costs-v1-customers.mjs +13 -4
- package/tools/v1/customers/list-costs-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/list-v1-customers.d.mts +12 -6
- package/tools/v1/customers/list-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/list-v1-customers.d.ts +12 -6
- package/tools/v1/customers/list-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/list-v1-customers.js +13 -1
- package/tools/v1/customers/list-v1-customers.js.map +1 -1
- package/tools/v1/customers/list-v1-customers.mjs +12 -3
- package/tools/v1/customers/list-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.d.mts +12 -6
- package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.d.mts.map +1 -1
- package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.d.ts +12 -6
- package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.d.ts.map +1 -1
- package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.js +13 -1
- package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.js.map +1 -1
- package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.mjs +12 -3
- package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.mjs.map +1 -1
- package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.d.mts +12 -6
- 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 +12 -6
- package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.d.ts.map +1 -1
- package/tools/v1/customers/plans/add-customers-v1-plans.d.mts +12 -6
- package/tools/v1/customers/plans/add-customers-v1-plans.d.mts.map +1 -1
- package/tools/v1/customers/plans/add-customers-v1-plans.d.ts +12 -6
- package/tools/v1/customers/plans/add-customers-v1-plans.d.ts.map +1 -1
- package/tools/v1/customers/plans/add-customers-v1-plans.js +14 -2
- package/tools/v1/customers/plans/add-customers-v1-plans.js.map +1 -1
- package/tools/v1/customers/plans/add-customers-v1-plans.mjs +13 -4
- package/tools/v1/customers/plans/add-customers-v1-plans.mjs.map +1 -1
- package/tools/v1/customers/plans/end-customers-v1-plans.d.mts +12 -6
- package/tools/v1/customers/plans/end-customers-v1-plans.d.mts.map +1 -1
- package/tools/v1/customers/plans/end-customers-v1-plans.d.ts +12 -6
- package/tools/v1/customers/plans/end-customers-v1-plans.d.ts.map +1 -1
- package/tools/v1/customers/plans/end-customers-v1-plans.js +14 -2
- package/tools/v1/customers/plans/end-customers-v1-plans.js.map +1 -1
- package/tools/v1/customers/plans/end-customers-v1-plans.mjs +13 -4
- package/tools/v1/customers/plans/end-customers-v1-plans.mjs.map +1 -1
- package/tools/v1/customers/plans/list-customers-v1-plans.d.mts +12 -6
- package/tools/v1/customers/plans/list-customers-v1-plans.d.mts.map +1 -1
- package/tools/v1/customers/plans/list-customers-v1-plans.d.ts +12 -6
- package/tools/v1/customers/plans/list-customers-v1-plans.d.ts.map +1 -1
- package/tools/v1/customers/plans/list-customers-v1-plans.js +14 -2
- package/tools/v1/customers/plans/list-customers-v1-plans.js.map +1 -1
- package/tools/v1/customers/plans/list-customers-v1-plans.mjs +13 -4
- package/tools/v1/customers/plans/list-customers-v1-plans.mjs.map +1 -1
- package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.d.mts +12 -6
- package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.d.mts.map +1 -1
- package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.d.ts +12 -6
- package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.d.ts.map +1 -1
- package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.js +14 -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 +13 -4
- 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 +12 -6
- package/tools/v1/customers/preview-events-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/preview-events-v1-customers.d.ts +12 -6
- package/tools/v1/customers/preview-events-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/preview-events-v1-customers.js +17 -4
- package/tools/v1/customers/preview-events-v1-customers.js.map +1 -1
- package/tools/v1/customers/preview-events-v1-customers.mjs +15 -5
- package/tools/v1/customers/preview-events-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/retrieve-billing-configurations-v1-customers.d.mts +12 -6
- package/tools/v1/customers/retrieve-billing-configurations-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/retrieve-billing-configurations-v1-customers.d.ts +12 -6
- package/tools/v1/customers/retrieve-billing-configurations-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/retrieve-billing-configurations-v1-customers.js +14 -2
- package/tools/v1/customers/retrieve-billing-configurations-v1-customers.js.map +1 -1
- package/tools/v1/customers/retrieve-billing-configurations-v1-customers.mjs +13 -4
- package/tools/v1/customers/retrieve-billing-configurations-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/retrieve-v1-customers.d.mts +12 -6
- package/tools/v1/customers/retrieve-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/retrieve-v1-customers.d.ts +12 -6
- package/tools/v1/customers/retrieve-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/retrieve-v1-customers.js +13 -1
- package/tools/v1/customers/retrieve-v1-customers.js.map +1 -1
- package/tools/v1/customers/retrieve-v1-customers.mjs +12 -3
- package/tools/v1/customers/retrieve-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/set-billing-configurations-v1-customers.d.mts +12 -6
- package/tools/v1/customers/set-billing-configurations-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/set-billing-configurations-v1-customers.d.ts +12 -6
- package/tools/v1/customers/set-billing-configurations-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/set-billing-configurations-v1-customers.js +22 -4
- package/tools/v1/customers/set-billing-configurations-v1-customers.js.map +1 -1
- package/tools/v1/customers/set-billing-configurations-v1-customers.mjs +20 -5
- package/tools/v1/customers/set-billing-configurations-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/set-ingest-aliases-v1-customers.d.mts +12 -6
- 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 +12 -6
- package/tools/v1/customers/set-ingest-aliases-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/set-name-v1-customers.d.mts +12 -6
- package/tools/v1/customers/set-name-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/set-name-v1-customers.d.ts +12 -6
- package/tools/v1/customers/set-name-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/set-name-v1-customers.js +13 -1
- package/tools/v1/customers/set-name-v1-customers.js.map +1 -1
- package/tools/v1/customers/set-name-v1-customers.mjs +12 -3
- package/tools/v1/customers/set-name-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/update-config-v1-customers.d.mts +12 -6
- package/tools/v1/customers/update-config-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/update-config-v1-customers.d.ts +12 -6
- package/tools/v1/customers/update-config-v1-customers.d.ts.map +1 -1
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.d.mts +12 -6
- 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 +12 -6
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.d.ts.map +1 -1
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.js +13 -1
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.js.map +1 -1
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.mjs +12 -3
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.mjs.map +1 -1
- package/tools/v1/invoices/regenerate-v1-invoices.d.mts +12 -6
- package/tools/v1/invoices/regenerate-v1-invoices.d.mts.map +1 -1
- package/tools/v1/invoices/regenerate-v1-invoices.d.ts +12 -6
- package/tools/v1/invoices/regenerate-v1-invoices.d.ts.map +1 -1
- package/tools/v1/invoices/regenerate-v1-invoices.js +13 -1
- package/tools/v1/invoices/regenerate-v1-invoices.js.map +1 -1
- package/tools/v1/invoices/regenerate-v1-invoices.mjs +12 -3
- package/tools/v1/invoices/regenerate-v1-invoices.mjs.map +1 -1
- package/tools/v1/invoices/void-v1-invoices.d.mts +12 -6
- package/tools/v1/invoices/void-v1-invoices.d.mts.map +1 -1
- package/tools/v1/invoices/void-v1-invoices.d.ts +12 -6
- package/tools/v1/invoices/void-v1-invoices.d.ts.map +1 -1
- package/tools/v1/invoices/void-v1-invoices.js +13 -1
- package/tools/v1/invoices/void-v1-invoices.js.map +1 -1
- package/tools/v1/invoices/void-v1-invoices.mjs +12 -3
- package/tools/v1/invoices/void-v1-invoices.mjs.map +1 -1
- package/tools/v1/payments/attempt-v1-payments.d.mts +12 -6
- package/tools/v1/payments/attempt-v1-payments.d.mts.map +1 -1
- package/tools/v1/payments/attempt-v1-payments.d.ts +12 -6
- package/tools/v1/payments/attempt-v1-payments.d.ts.map +1 -1
- package/tools/v1/payments/attempt-v1-payments.js +14 -2
- package/tools/v1/payments/attempt-v1-payments.js.map +1 -1
- package/tools/v1/payments/attempt-v1-payments.mjs +13 -4
- package/tools/v1/payments/attempt-v1-payments.mjs.map +1 -1
- package/tools/v1/payments/cancel-v1-payments.d.mts +12 -6
- package/tools/v1/payments/cancel-v1-payments.d.mts.map +1 -1
- package/tools/v1/payments/cancel-v1-payments.d.ts +12 -6
- package/tools/v1/payments/cancel-v1-payments.d.ts.map +1 -1
- package/tools/v1/payments/cancel-v1-payments.js +14 -2
- package/tools/v1/payments/cancel-v1-payments.js.map +1 -1
- package/tools/v1/payments/cancel-v1-payments.mjs +13 -4
- package/tools/v1/payments/cancel-v1-payments.mjs.map +1 -1
- package/tools/v1/payments/list-v1-payments.d.mts +12 -6
- package/tools/v1/payments/list-v1-payments.d.mts.map +1 -1
- package/tools/v1/payments/list-v1-payments.d.ts +12 -6
- package/tools/v1/payments/list-v1-payments.d.ts.map +1 -1
- package/tools/v1/payments/list-v1-payments.js +14 -2
- package/tools/v1/payments/list-v1-payments.js.map +1 -1
- package/tools/v1/payments/list-v1-payments.mjs +13 -4
- package/tools/v1/payments/list-v1-payments.mjs.map +1 -1
- package/tools/v1/plans/get-details-v1-plans.d.mts +12 -6
- package/tools/v1/plans/get-details-v1-plans.d.mts.map +1 -1
- package/tools/v1/plans/get-details-v1-plans.d.ts +12 -6
- package/tools/v1/plans/get-details-v1-plans.d.ts.map +1 -1
- package/tools/v1/plans/get-details-v1-plans.js +14 -2
- package/tools/v1/plans/get-details-v1-plans.js.map +1 -1
- package/tools/v1/plans/get-details-v1-plans.mjs +13 -4
- package/tools/v1/plans/get-details-v1-plans.mjs.map +1 -1
- package/tools/v1/plans/list-charges-v1-plans.d.mts +12 -6
- package/tools/v1/plans/list-charges-v1-plans.d.mts.map +1 -1
- package/tools/v1/plans/list-charges-v1-plans.d.ts +12 -6
- package/tools/v1/plans/list-charges-v1-plans.d.ts.map +1 -1
- package/tools/v1/plans/list-charges-v1-plans.js +14 -2
- package/tools/v1/plans/list-charges-v1-plans.js.map +1 -1
- package/tools/v1/plans/list-charges-v1-plans.mjs +13 -4
- package/tools/v1/plans/list-charges-v1-plans.mjs.map +1 -1
- package/tools/v1/plans/list-customers-v1-plans.d.mts +12 -6
- package/tools/v1/plans/list-customers-v1-plans.d.mts.map +1 -1
- package/tools/v1/plans/list-customers-v1-plans.d.ts +12 -6
- package/tools/v1/plans/list-customers-v1-plans.d.ts.map +1 -1
- package/tools/v1/plans/list-customers-v1-plans.js +14 -2
- package/tools/v1/plans/list-customers-v1-plans.js.map +1 -1
- package/tools/v1/plans/list-customers-v1-plans.mjs +13 -4
- package/tools/v1/plans/list-customers-v1-plans.mjs.map +1 -1
- package/tools/v1/plans/list-v1-plans.d.mts +12 -6
- package/tools/v1/plans/list-v1-plans.d.mts.map +1 -1
- package/tools/v1/plans/list-v1-plans.d.ts +12 -6
- package/tools/v1/plans/list-v1-plans.d.ts.map +1 -1
- package/tools/v1/plans/list-v1-plans.js +14 -2
- package/tools/v1/plans/list-v1-plans.js.map +1 -1
- package/tools/v1/plans/list-v1-plans.mjs +13 -4
- package/tools/v1/plans/list-v1-plans.mjs.map +1 -1
- package/tools/v1/pricing-units/list-v1-pricing-units.d.mts +12 -6
- package/tools/v1/pricing-units/list-v1-pricing-units.d.mts.map +1 -1
- package/tools/v1/pricing-units/list-v1-pricing-units.d.ts +12 -6
- package/tools/v1/pricing-units/list-v1-pricing-units.d.ts.map +1 -1
- package/tools/v1/pricing-units/list-v1-pricing-units.js +13 -1
- package/tools/v1/pricing-units/list-v1-pricing-units.js.map +1 -1
- package/tools/v1/pricing-units/list-v1-pricing-units.mjs +12 -3
- package/tools/v1/pricing-units/list-v1-pricing-units.mjs.map +1 -1
- package/tools/v1/services/list-v1-services.d.mts +12 -6
- package/tools/v1/services/list-v1-services.d.mts.map +1 -1
- package/tools/v1/services/list-v1-services.d.ts +12 -6
- package/tools/v1/services/list-v1-services.d.ts.map +1 -1
- package/tools/v1/services/list-v1-services.js +13 -1
- package/tools/v1/services/list-v1-services.js.map +1 -1
- package/tools/v1/services/list-v1-services.mjs +12 -3
- package/tools/v1/services/list-v1-services.mjs.map +1 -1
- package/tools/v1/settings/billing-providers/create-settings-v1-billing-providers.d.mts +51 -0
- package/tools/v1/settings/billing-providers/create-settings-v1-billing-providers.d.mts.map +1 -0
- package/tools/v1/settings/billing-providers/create-settings-v1-billing-providers.d.ts +51 -0
- package/tools/v1/settings/billing-providers/create-settings-v1-billing-providers.d.ts.map +1 -0
- package/tools/v1/settings/billing-providers/create-settings-v1-billing-providers.js +64 -0
- package/tools/v1/settings/billing-providers/create-settings-v1-billing-providers.js.map +1 -0
- package/tools/v1/settings/billing-providers/create-settings-v1-billing-providers.mjs +57 -0
- package/tools/v1/settings/billing-providers/create-settings-v1-billing-providers.mjs.map +1 -0
- package/tools/v1/settings/billing-providers/list-settings-v1-billing-providers.d.mts +51 -0
- package/tools/v1/settings/billing-providers/list-settings-v1-billing-providers.d.mts.map +1 -0
- package/tools/v1/settings/billing-providers/list-settings-v1-billing-providers.d.ts +51 -0
- package/tools/v1/settings/billing-providers/list-settings-v1-billing-providers.d.ts.map +1 -0
- package/tools/v1/settings/billing-providers/list-settings-v1-billing-providers.js +53 -0
- package/tools/v1/settings/billing-providers/list-settings-v1-billing-providers.js.map +1 -0
- package/tools/v1/settings/billing-providers/list-settings-v1-billing-providers.mjs +46 -0
- package/tools/v1/settings/billing-providers/list-settings-v1-billing-providers.mjs.map +1 -0
- package/tools/v1/settings/upsert-avalara-credentials-v1-settings.d.mts +51 -0
- package/tools/v1/settings/upsert-avalara-credentials-v1-settings.d.mts.map +1 -0
- package/tools/v1/settings/upsert-avalara-credentials-v1-settings.d.ts +51 -0
- package/tools/v1/settings/upsert-avalara-credentials-v1-settings.d.ts.map +1 -0
- package/tools/v1/settings/upsert-avalara-credentials-v1-settings.js +73 -0
- package/tools/v1/settings/upsert-avalara-credentials-v1-settings.js.map +1 -0
- package/tools/v1/settings/upsert-avalara-credentials-v1-settings.mjs +66 -0
- package/tools/v1/settings/upsert-avalara-credentials-v1-settings.mjs.map +1 -0
- package/tools/v1/usage/ingest-v1-usage.d.mts +12 -6
- package/tools/v1/usage/ingest-v1-usage.d.mts.map +1 -1
- package/tools/v1/usage/ingest-v1-usage.d.ts +12 -6
- package/tools/v1/usage/ingest-v1-usage.d.ts.map +1 -1
- package/tools/v1/usage/list-v1-usage.d.mts +12 -6
- package/tools/v1/usage/list-v1-usage.d.mts.map +1 -1
- package/tools/v1/usage/list-v1-usage.d.ts +12 -6
- package/tools/v1/usage/list-v1-usage.d.ts.map +1 -1
- package/tools/v1/usage/list-v1-usage.js +13 -1
- package/tools/v1/usage/list-v1-usage.js.map +1 -1
- package/tools/v1/usage/list-v1-usage.mjs +12 -3
- package/tools/v1/usage/list-v1-usage.mjs.map +1 -1
- package/tools/v1/usage/list-with-groups-v1-usage.d.mts +12 -6
- package/tools/v1/usage/list-with-groups-v1-usage.d.mts.map +1 -1
- package/tools/v1/usage/list-with-groups-v1-usage.d.ts +12 -6
- package/tools/v1/usage/list-with-groups-v1-usage.d.ts.map +1 -1
- package/tools/v1/usage/list-with-groups-v1-usage.js +13 -1
- package/tools/v1/usage/list-with-groups-v1-usage.js.map +1 -1
- package/tools/v1/usage/list-with-groups-v1-usage.mjs +12 -3
- package/tools/v1/usage/list-with-groups-v1-usage.mjs.map +1 -1
- package/tools/v1/usage/search-v1-usage.d.mts +12 -6
- package/tools/v1/usage/search-v1-usage.d.mts.map +1 -1
- package/tools/v1/usage/search-v1-usage.d.ts +12 -6
- package/tools/v1/usage/search-v1-usage.d.ts.map +1 -1
- package/tools/v1/usage/search-v1-usage.js +14 -2
- package/tools/v1/usage/search-v1-usage.js.map +1 -1
- package/tools/v1/usage/search-v1-usage.mjs +13 -4
- package/tools/v1/usage/search-v1-usage.mjs.map +1 -1
- package/tools/v2/contracts/edit-commit-v2-contracts.d.mts +12 -6
- package/tools/v2/contracts/edit-commit-v2-contracts.d.mts.map +1 -1
- package/tools/v2/contracts/edit-commit-v2-contracts.d.ts +12 -6
- package/tools/v2/contracts/edit-commit-v2-contracts.d.ts.map +1 -1
- package/tools/v2/contracts/edit-commit-v2-contracts.js +21 -1
- package/tools/v2/contracts/edit-commit-v2-contracts.js.map +1 -1
- package/tools/v2/contracts/edit-commit-v2-contracts.mjs +20 -3
- package/tools/v2/contracts/edit-commit-v2-contracts.mjs.map +1 -1
- package/tools/v2/contracts/edit-credit-v2-contracts.d.mts +12 -6
- package/tools/v2/contracts/edit-credit-v2-contracts.d.mts.map +1 -1
- package/tools/v2/contracts/edit-credit-v2-contracts.d.ts +12 -6
- package/tools/v2/contracts/edit-credit-v2-contracts.d.ts.map +1 -1
- package/tools/v2/contracts/edit-credit-v2-contracts.js +21 -1
- package/tools/v2/contracts/edit-credit-v2-contracts.js.map +1 -1
- package/tools/v2/contracts/edit-credit-v2-contracts.mjs +20 -3
- package/tools/v2/contracts/edit-credit-v2-contracts.mjs.map +1 -1
- package/tools/v2/contracts/edit-v2-contracts.d.mts +12 -6
- package/tools/v2/contracts/edit-v2-contracts.d.mts.map +1 -1
- package/tools/v2/contracts/edit-v2-contracts.d.ts +12 -6
- package/tools/v2/contracts/edit-v2-contracts.d.ts.map +1 -1
- package/tools/v2/contracts/edit-v2-contracts.js +155 -4
- package/tools/v2/contracts/edit-v2-contracts.js.map +1 -1
- package/tools/v2/contracts/edit-v2-contracts.mjs +153 -5
- package/tools/v2/contracts/edit-v2-contracts.mjs.map +1 -1
- package/tools/v2/contracts/get-edit-history-v2-contracts.d.mts +12 -6
- package/tools/v2/contracts/get-edit-history-v2-contracts.d.mts.map +1 -1
- package/tools/v2/contracts/get-edit-history-v2-contracts.d.ts +12 -6
- package/tools/v2/contracts/get-edit-history-v2-contracts.d.ts.map +1 -1
- package/tools/v2/contracts/get-edit-history-v2-contracts.js +13 -1
- package/tools/v2/contracts/get-edit-history-v2-contracts.js.map +1 -1
- package/tools/v2/contracts/get-edit-history-v2-contracts.mjs +11 -2
- package/tools/v2/contracts/get-edit-history-v2-contracts.mjs.map +1 -1
- package/tools/v2/contracts/list-v2-contracts.d.mts +12 -6
- package/tools/v2/contracts/list-v2-contracts.d.mts.map +1 -1
- package/tools/v2/contracts/list-v2-contracts.d.ts +12 -6
- package/tools/v2/contracts/list-v2-contracts.d.ts.map +1 -1
- package/tools/v2/contracts/list-v2-contracts.js +13 -1
- package/tools/v2/contracts/list-v2-contracts.js.map +1 -1
- package/tools/v2/contracts/list-v2-contracts.mjs +11 -2
- package/tools/v2/contracts/list-v2-contracts.mjs.map +1 -1
- package/tools/v2/contracts/retrieve-v2-contracts.d.mts +12 -6
- package/tools/v2/contracts/retrieve-v2-contracts.d.mts.map +1 -1
- package/tools/v2/contracts/retrieve-v2-contracts.d.ts +12 -6
- package/tools/v2/contracts/retrieve-v2-contracts.d.ts.map +1 -1
- package/tools/v2/contracts/retrieve-v2-contracts.js +13 -1
- package/tools/v2/contracts/retrieve-v2-contracts.js.map +1 -1
- package/tools/v2/contracts/retrieve-v2-contracts.mjs +11 -2
- package/tools/v2/contracts/retrieve-v2-contracts.mjs.map +1 -1
- package/code-tool-paths.cjs +0 -6
- package/code-tool-paths.cjs.map +0 -1
- package/code-tool-paths.d.cts +0 -2
- package/code-tool-paths.d.cts.map +0 -1
- package/code-tool-worker.d.mts +0 -5
- package/code-tool-worker.d.mts.map +0 -1
- package/code-tool-worker.d.ts +0 -5
- package/code-tool-worker.d.ts.map +0 -1
- package/code-tool-worker.js +0 -45
- package/code-tool-worker.js.map +0 -1
- package/code-tool-worker.mjs +0 -40
- package/code-tool-worker.mjs.map +0 -1
- package/src/code-tool-paths.cts +0 -3
- package/src/code-tool-worker.ts +0 -46
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import { maybeFilter } from '@metronome/mcp/filtering';
|
|
4
|
-
import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
|
|
3
|
+
import { isJqError, maybeFilter } from '@metronome/mcp/filtering';
|
|
4
|
+
import { Metadata, asErrorResult, asTextContentResult } from '@metronome/mcp/tools/types';
|
|
5
5
|
|
|
6
6
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
7
7
|
import Metronome from '@metronome/sdk';
|
|
@@ -43,8 +43,15 @@ export const tool: Tool = {
|
|
|
43
43
|
'quickbooks_online',
|
|
44
44
|
'workday',
|
|
45
45
|
'gcp_marketplace',
|
|
46
|
+
'metronome',
|
|
46
47
|
],
|
|
47
48
|
},
|
|
49
|
+
aws_customer_account_id: {
|
|
50
|
+
type: 'string',
|
|
51
|
+
},
|
|
52
|
+
aws_customer_id: {
|
|
53
|
+
type: 'string',
|
|
54
|
+
},
|
|
48
55
|
aws_is_subscription_product: {
|
|
49
56
|
type: 'boolean',
|
|
50
57
|
description: 'True if the aws_product_code is a SAAS subscription product, false otherwise.',
|
|
@@ -84,6 +91,8 @@ export const tool: Tool = {
|
|
|
84
91
|
},
|
|
85
92
|
stripe_collection_method: {
|
|
86
93
|
type: 'string',
|
|
94
|
+
description:
|
|
95
|
+
"The collection method for the customer's invoices.\nNOTE: `auto_charge_payment_intent` and `manually_charge_payment_intent` are in beta.",
|
|
87
96
|
enum: [
|
|
88
97
|
'charge_automatically',
|
|
89
98
|
'send_invoice',
|
|
@@ -136,6 +145,37 @@ export const tool: Tool = {
|
|
|
136
145
|
required: ['billing_provider'],
|
|
137
146
|
},
|
|
138
147
|
},
|
|
148
|
+
customer_revenue_system_configurations: {
|
|
149
|
+
type: 'array',
|
|
150
|
+
items: {
|
|
151
|
+
type: 'object',
|
|
152
|
+
properties: {
|
|
153
|
+
provider: {
|
|
154
|
+
type: 'string',
|
|
155
|
+
description: 'The revenue system provider set for this configuration.',
|
|
156
|
+
enum: ['netsuite'],
|
|
157
|
+
},
|
|
158
|
+
configuration: {
|
|
159
|
+
type: 'object',
|
|
160
|
+
description:
|
|
161
|
+
'Configuration for the revenue system provider. The structure of this object is specific to the revenue system provider. For NetSuite, this should contain `netsuite_customer_id`.',
|
|
162
|
+
additionalProperties: true,
|
|
163
|
+
},
|
|
164
|
+
delivery_method: {
|
|
165
|
+
type: 'string',
|
|
166
|
+
description:
|
|
167
|
+
'The method to use for delivering invoices to this customer. If not provided, the `delivery_method_id` must be provided.',
|
|
168
|
+
enum: ['direct_to_billing_provider'],
|
|
169
|
+
},
|
|
170
|
+
delivery_method_id: {
|
|
171
|
+
type: 'string',
|
|
172
|
+
description:
|
|
173
|
+
'ID of the delivery method to use for this customer. If not provided, the `delivery_method` must be provided.',
|
|
174
|
+
},
|
|
175
|
+
},
|
|
176
|
+
required: ['provider'],
|
|
177
|
+
},
|
|
178
|
+
},
|
|
139
179
|
external_id: {
|
|
140
180
|
type: 'string',
|
|
141
181
|
description:
|
|
@@ -162,7 +202,14 @@ export const tool: Tool = {
|
|
|
162
202
|
|
|
163
203
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
164
204
|
const { jq_filter, ...body } = args as any;
|
|
165
|
-
|
|
205
|
+
try {
|
|
206
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.v1.customers.create(body)));
|
|
207
|
+
} catch (error) {
|
|
208
|
+
if (error instanceof Metronome.APIError || isJqError(error)) {
|
|
209
|
+
return asErrorResult(error.message);
|
|
210
|
+
}
|
|
211
|
+
throw error;
|
|
212
|
+
}
|
|
166
213
|
};
|
|
167
214
|
|
|
168
215
|
export default { metadata, tool, handler };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import { maybeFilter } from '@metronome/mcp/filtering';
|
|
4
|
-
import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
|
|
3
|
+
import { isJqError, maybeFilter } from '@metronome/mcp/filtering';
|
|
4
|
+
import { Metadata, asErrorResult, asTextContentResult } from '@metronome/mcp/tools/types';
|
|
5
5
|
|
|
6
6
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
7
7
|
import Metronome from '@metronome/sdk';
|
|
@@ -169,7 +169,14 @@ export const tool: Tool = {
|
|
|
169
169
|
|
|
170
170
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
171
171
|
const { jq_filter, ...body } = args as any;
|
|
172
|
-
|
|
172
|
+
try {
|
|
173
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.v1.customers.credits.create(body)));
|
|
174
|
+
} catch (error) {
|
|
175
|
+
if (error instanceof Metronome.APIError || isJqError(error)) {
|
|
176
|
+
return asErrorResult(error.message);
|
|
177
|
+
}
|
|
178
|
+
throw error;
|
|
179
|
+
}
|
|
173
180
|
};
|
|
174
181
|
|
|
175
182
|
export default { metadata, tool, handler };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
|
|
3
|
+
import { Metadata, asErrorResult, asTextContentResult } from '@metronome/mcp/tools/types';
|
|
4
4
|
|
|
5
5
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
6
6
|
import Metronome from '@metronome/sdk';
|
|
@@ -77,7 +77,14 @@ export const tool: Tool = {
|
|
|
77
77
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
78
78
|
const body = args as any;
|
|
79
79
|
const response = await client.v1.customers.credits.list(body).asResponse();
|
|
80
|
-
|
|
80
|
+
try {
|
|
81
|
+
return asTextContentResult(await response.json());
|
|
82
|
+
} catch (error) {
|
|
83
|
+
if (error instanceof Metronome.APIError) {
|
|
84
|
+
return asErrorResult(error.message);
|
|
85
|
+
}
|
|
86
|
+
throw error;
|
|
87
|
+
}
|
|
81
88
|
};
|
|
82
89
|
|
|
83
90
|
export default { metadata, tool, handler };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import { maybeFilter } from '@metronome/mcp/filtering';
|
|
4
|
-
import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
|
|
3
|
+
import { isJqError, maybeFilter } from '@metronome/mcp/filtering';
|
|
4
|
+
import { Metadata, asErrorResult, asTextContentResult } from '@metronome/mcp/tools/types';
|
|
5
5
|
|
|
6
6
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
7
7
|
import Metronome from '@metronome/sdk';
|
|
@@ -50,9 +50,16 @@ export const tool: Tool = {
|
|
|
50
50
|
|
|
51
51
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
52
52
|
const { jq_filter, ...body } = args as any;
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
53
|
+
try {
|
|
54
|
+
return asTextContentResult(
|
|
55
|
+
await maybeFilter(jq_filter, await client.v1.customers.credits.updateEndDate(body)),
|
|
56
|
+
);
|
|
57
|
+
} catch (error) {
|
|
58
|
+
if (error instanceof Metronome.APIError || isJqError(error)) {
|
|
59
|
+
return asErrorResult(error.message);
|
|
60
|
+
}
|
|
61
|
+
throw error;
|
|
62
|
+
}
|
|
56
63
|
};
|
|
57
64
|
|
|
58
65
|
export default { metadata, tool, handler };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import { maybeFilter } from '@metronome/mcp/filtering';
|
|
4
|
-
import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
|
|
3
|
+
import { isJqError, maybeFilter } from '@metronome/mcp/filtering';
|
|
4
|
+
import { Metadata, asErrorResult, asTextContentResult } from '@metronome/mcp/tools/types';
|
|
5
5
|
|
|
6
6
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
7
7
|
import Metronome from '@metronome/sdk';
|
|
@@ -18,7 +18,7 @@ export const metadata: Metadata = {
|
|
|
18
18
|
export const tool: Tool = {
|
|
19
19
|
name: 'add_charge_customers_v1_invoices',
|
|
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\nAdd a one time charge to the specified invoice\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/invoice_add_charge_response',\n $defs: {\n invoice_add_charge_response: {\n type: 'object',\n properties: {}\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\nAdd a one time charge to the specified invoice. This is a Plans (deprecated) endpoint. New clients should implement using Contracts.\n\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/invoice_add_charge_response',\n $defs: {\n invoice_add_charge_response: {\n type: 'object',\n properties: {}\n }\n }\n}\n```",
|
|
22
22
|
inputSchema: {
|
|
23
23
|
type: 'object',
|
|
24
24
|
properties: {
|
|
@@ -72,9 +72,16 @@ export const tool: Tool = {
|
|
|
72
72
|
|
|
73
73
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
74
74
|
const { jq_filter, ...body } = args as any;
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
75
|
+
try {
|
|
76
|
+
return asTextContentResult(
|
|
77
|
+
await maybeFilter(jq_filter, await client.v1.customers.invoices.addCharge(body)),
|
|
78
|
+
);
|
|
79
|
+
} catch (error) {
|
|
80
|
+
if (error instanceof Metronome.APIError || isJqError(error)) {
|
|
81
|
+
return asErrorResult(error.message);
|
|
82
|
+
}
|
|
83
|
+
throw error;
|
|
84
|
+
}
|
|
78
85
|
};
|
|
79
86
|
|
|
80
87
|
export default { metadata, tool, handler };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
|
|
3
|
+
import { Metadata, asErrorResult, asTextContentResult } from '@metronome/mcp/tools/types';
|
|
4
4
|
|
|
5
5
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
6
6
|
import Metronome from '@metronome/sdk';
|
|
@@ -78,7 +78,14 @@ export const tool: Tool = {
|
|
|
78
78
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
79
79
|
const body = args as any;
|
|
80
80
|
const response = await client.v1.customers.invoices.listBreakdowns(body).asResponse();
|
|
81
|
-
|
|
81
|
+
try {
|
|
82
|
+
return asTextContentResult(await response.json());
|
|
83
|
+
} catch (error) {
|
|
84
|
+
if (error instanceof Metronome.APIError) {
|
|
85
|
+
return asErrorResult(error.message);
|
|
86
|
+
}
|
|
87
|
+
throw error;
|
|
88
|
+
}
|
|
82
89
|
};
|
|
83
90
|
|
|
84
91
|
export default { metadata, tool, handler };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
|
|
3
|
+
import { Metadata, asErrorResult, asTextContentResult } from '@metronome/mcp/tools/types';
|
|
4
4
|
|
|
5
5
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
6
6
|
import Metronome from '@metronome/sdk';
|
|
@@ -72,7 +72,14 @@ export const tool: Tool = {
|
|
|
72
72
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
73
73
|
const body = args as any;
|
|
74
74
|
const response = await client.v1.customers.invoices.list(body).asResponse();
|
|
75
|
-
|
|
75
|
+
try {
|
|
76
|
+
return asTextContentResult(await response.json());
|
|
77
|
+
} catch (error) {
|
|
78
|
+
if (error instanceof Metronome.APIError) {
|
|
79
|
+
return asErrorResult(error.message);
|
|
80
|
+
}
|
|
81
|
+
throw error;
|
|
82
|
+
}
|
|
76
83
|
};
|
|
77
84
|
|
|
78
85
|
export default { metadata, tool, handler };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
|
|
3
|
+
import { Metadata, asErrorResult, asTextContentResult } from '@metronome/mcp/tools/types';
|
|
4
4
|
|
|
5
5
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
6
6
|
import Metronome from '@metronome/sdk';
|
|
@@ -41,7 +41,14 @@ export const tool: Tool = {
|
|
|
41
41
|
|
|
42
42
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
43
43
|
const body = args as any;
|
|
44
|
-
|
|
44
|
+
try {
|
|
45
|
+
return asTextContentResult(await client.v1.customers.invoices.retrieve(body));
|
|
46
|
+
} catch (error) {
|
|
47
|
+
if (error instanceof Metronome.APIError) {
|
|
48
|
+
return asErrorResult(error.message);
|
|
49
|
+
}
|
|
50
|
+
throw error;
|
|
51
|
+
}
|
|
45
52
|
};
|
|
46
53
|
|
|
47
54
|
export default { metadata, tool, handler };
|
|
@@ -37,7 +37,7 @@ export const tool: Tool = {
|
|
|
37
37
|
|
|
38
38
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
39
39
|
const body = args as any;
|
|
40
|
-
return asBinaryContentResult(await client.v1.customers.invoices.retrievePdf(body));
|
|
40
|
+
return asBinaryContentResult(await client.v1.customers.invoices.retrievePdf(body).asResponse());
|
|
41
41
|
};
|
|
42
42
|
|
|
43
43
|
export default { metadata, tool, handler };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import { maybeFilter } from '@metronome/mcp/filtering';
|
|
4
|
-
import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
|
|
3
|
+
import { isJqError, maybeFilter } from '@metronome/mcp/filtering';
|
|
4
|
+
import { Metadata, asErrorResult, asTextContentResult } from '@metronome/mcp/tools/types';
|
|
5
5
|
|
|
6
6
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
7
7
|
import Metronome from '@metronome/sdk';
|
|
@@ -59,7 +59,14 @@ export const tool: Tool = {
|
|
|
59
59
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
60
60
|
const { jq_filter, ...body } = args as any;
|
|
61
61
|
const response = await client.v1.customers.listBillableMetrics(body).asResponse();
|
|
62
|
-
|
|
62
|
+
try {
|
|
63
|
+
return asTextContentResult(await maybeFilter(jq_filter, await response.json()));
|
|
64
|
+
} catch (error) {
|
|
65
|
+
if (error instanceof Metronome.APIError || isJqError(error)) {
|
|
66
|
+
return asErrorResult(error.message);
|
|
67
|
+
}
|
|
68
|
+
throw error;
|
|
69
|
+
}
|
|
63
70
|
};
|
|
64
71
|
|
|
65
72
|
export default { metadata, tool, handler };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import { maybeFilter } from '@metronome/mcp/filtering';
|
|
4
|
-
import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
|
|
3
|
+
import { isJqError, maybeFilter } from '@metronome/mcp/filtering';
|
|
4
|
+
import { Metadata, asErrorResult, asTextContentResult } from '@metronome/mcp/tools/types';
|
|
5
5
|
|
|
6
6
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
7
7
|
import Metronome from '@metronome/sdk';
|
|
@@ -18,7 +18,7 @@ export const metadata: Metadata = {
|
|
|
18
18
|
export const tool: Tool = {
|
|
19
19
|
name: 'list_costs_v1_customers',
|
|
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\nFetch daily pending costs for the specified customer, broken down by credit type and line items. Note: this is not supported for customers whose plan includes a UNIQUE-type billable metric.\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n type: 'array',\n items: {\n $ref: '#/$defs/customer_list_costs_response'\n }\n },\n next_page: {\n type: 'string'\n }\n },\n required: [ 'data',\n 'next_page'\n ],\n $defs: {\n customer_list_costs_response: {\n type: 'object',\n properties: {\n credit_types: {\n type: 'object',\n additionalProperties: true\n },\n end_timestamp: {\n type: 'string',\n format: 'date-time'\n },\n start_timestamp: {\n type: 'string',\n format: 'date-time'\n }\n },\n required: [ 'credit_types',\n 'end_timestamp',\n 'start_timestamp'\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\nFetch daily pending costs for the specified customer, broken down by credit type and line items. Note: this is not supported for customers whose plan includes a UNIQUE-type billable metric. This is a Plans (deprecated) endpoint. New clients should implement using Contracts.\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n type: 'array',\n items: {\n $ref: '#/$defs/customer_list_costs_response'\n }\n },\n next_page: {\n type: 'string'\n }\n },\n required: [ 'data',\n 'next_page'\n ],\n $defs: {\n customer_list_costs_response: {\n type: 'object',\n properties: {\n credit_types: {\n type: 'object',\n additionalProperties: true\n },\n end_timestamp: {\n type: 'string',\n format: 'date-time'\n },\n start_timestamp: {\n type: 'string',\n format: 'date-time'\n }\n },\n required: [ 'credit_types',\n 'end_timestamp',\n 'start_timestamp'\n ]\n }\n }\n}\n```",
|
|
22
22
|
inputSchema: {
|
|
23
23
|
type: 'object',
|
|
24
24
|
properties: {
|
|
@@ -60,7 +60,14 @@ export const tool: Tool = {
|
|
|
60
60
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
61
61
|
const { jq_filter, ...body } = args as any;
|
|
62
62
|
const response = await client.v1.customers.listCosts(body).asResponse();
|
|
63
|
-
|
|
63
|
+
try {
|
|
64
|
+
return asTextContentResult(await maybeFilter(jq_filter, await response.json()));
|
|
65
|
+
} catch (error) {
|
|
66
|
+
if (error instanceof Metronome.APIError || isJqError(error)) {
|
|
67
|
+
return asErrorResult(error.message);
|
|
68
|
+
}
|
|
69
|
+
throw error;
|
|
70
|
+
}
|
|
64
71
|
};
|
|
65
72
|
|
|
66
73
|
export default { metadata, tool, handler };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import { maybeFilter } from '@metronome/mcp/filtering';
|
|
4
|
-
import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
|
|
3
|
+
import { isJqError, maybeFilter } from '@metronome/mcp/filtering';
|
|
4
|
+
import { Metadata, asErrorResult, asTextContentResult } from '@metronome/mcp/tools/types';
|
|
5
5
|
|
|
6
6
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
7
7
|
import Metronome from '@metronome/sdk';
|
|
@@ -70,7 +70,14 @@ export const tool: Tool = {
|
|
|
70
70
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
71
71
|
const { jq_filter, ...body } = args as any;
|
|
72
72
|
const response = await client.v1.customers.list(body).asResponse();
|
|
73
|
-
|
|
73
|
+
try {
|
|
74
|
+
return asTextContentResult(await maybeFilter(jq_filter, await response.json()));
|
|
75
|
+
} catch (error) {
|
|
76
|
+
if (error instanceof Metronome.APIError || isJqError(error)) {
|
|
77
|
+
return asErrorResult(error.message);
|
|
78
|
+
}
|
|
79
|
+
throw error;
|
|
80
|
+
}
|
|
74
81
|
};
|
|
75
82
|
|
|
76
83
|
export default { metadata, tool, handler };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import { maybeFilter } from '@metronome/mcp/filtering';
|
|
4
|
-
import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
|
|
3
|
+
import { isJqError, maybeFilter } from '@metronome/mcp/filtering';
|
|
4
|
+
import { Metadata, asErrorResult, asTextContentResult } from '@metronome/mcp/tools/types';
|
|
5
5
|
|
|
6
6
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
7
7
|
import Metronome from '@metronome/sdk';
|
|
@@ -50,9 +50,16 @@ export const tool: Tool = {
|
|
|
50
50
|
|
|
51
51
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
52
52
|
const { jq_filter, ...body } = args as any;
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
53
|
+
try {
|
|
54
|
+
return asTextContentResult(
|
|
55
|
+
await maybeFilter(jq_filter, await client.v1.customers.namedSchedules.retrieve(body)),
|
|
56
|
+
);
|
|
57
|
+
} catch (error) {
|
|
58
|
+
if (error instanceof Metronome.APIError || isJqError(error)) {
|
|
59
|
+
return asErrorResult(error.message);
|
|
60
|
+
}
|
|
61
|
+
throw error;
|
|
62
|
+
}
|
|
56
63
|
};
|
|
57
64
|
|
|
58
65
|
export default { metadata, tool, handler };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import { maybeFilter } from '@metronome/mcp/filtering';
|
|
4
|
-
import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
|
|
3
|
+
import { isJqError, maybeFilter } from '@metronome/mcp/filtering';
|
|
4
|
+
import { Metadata, asErrorResult, asTextContentResult } from '@metronome/mcp/tools/types';
|
|
5
5
|
|
|
6
6
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
7
7
|
import Metronome from '@metronome/sdk';
|
|
@@ -18,7 +18,7 @@ export const metadata: Metadata = {
|
|
|
18
18
|
export const tool: Tool = {
|
|
19
19
|
name: 'add_customers_v1_plans',
|
|
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\nAssociate an existing customer with a plan for a specified date range. See the [price adjustments documentation](https://plans-docs.metronome.com/pricing/managing-plans/#price-adjustments) for details on the price adjustments.\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/plan_add_response',\n $defs: {\n plan_add_response: {\n type: 'object',\n properties: {\n data: {\n $ref: '#/$defs/id'\n }\n },\n required: [ 'data'\n ]\n },\n id: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n }\n },\n required: [ 'id'\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\nAssociate an existing customer with a plan for a specified date range. See the [price adjustments documentation](https://plans-docs.metronome.com/pricing/managing-plans/#price-adjustments) for details on the price adjustments. This is a Plans (deprecated) endpoint. New clients should implement using Contracts.\n\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/plan_add_response',\n $defs: {\n plan_add_response: {\n type: 'object',\n properties: {\n data: {\n $ref: '#/$defs/id'\n }\n },\n required: [ 'data'\n ]\n },\n id: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n }\n },\n required: [ 'id'\n ]\n }\n }\n}\n```",
|
|
22
22
|
inputSchema: {
|
|
23
23
|
type: 'object',
|
|
24
24
|
properties: {
|
|
@@ -142,7 +142,14 @@ export const tool: Tool = {
|
|
|
142
142
|
|
|
143
143
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
144
144
|
const { jq_filter, ...body } = args as any;
|
|
145
|
-
|
|
145
|
+
try {
|
|
146
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.v1.customers.plans.add(body)));
|
|
147
|
+
} catch (error) {
|
|
148
|
+
if (error instanceof Metronome.APIError || isJqError(error)) {
|
|
149
|
+
return asErrorResult(error.message);
|
|
150
|
+
}
|
|
151
|
+
throw error;
|
|
152
|
+
}
|
|
146
153
|
};
|
|
147
154
|
|
|
148
155
|
export default { metadata, tool, handler };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import { maybeFilter } from '@metronome/mcp/filtering';
|
|
4
|
-
import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
|
|
3
|
+
import { isJqError, maybeFilter } from '@metronome/mcp/filtering';
|
|
4
|
+
import { Metadata, asErrorResult, asTextContentResult } from '@metronome/mcp/tools/types';
|
|
5
5
|
|
|
6
6
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
7
7
|
import Metronome from '@metronome/sdk';
|
|
@@ -18,7 +18,7 @@ export const metadata: Metadata = {
|
|
|
18
18
|
export const tool: Tool = {
|
|
19
19
|
name: 'end_customers_v1_plans',
|
|
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\nChange the end date of a customer's plan.\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/plan_end_response',\n $defs: {\n plan_end_response: {\n type: 'object',\n properties: {}\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\nChange the end date of a customer's plan. This is a Plans (deprecated) endpoint. New clients should implement using Contracts.\n\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/plan_end_response',\n $defs: {\n plan_end_response: {\n type: 'object',\n properties: {}\n }\n }\n}\n```",
|
|
22
22
|
inputSchema: {
|
|
23
23
|
type: 'object',
|
|
24
24
|
properties: {
|
|
@@ -58,7 +58,14 @@ export const tool: Tool = {
|
|
|
58
58
|
|
|
59
59
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
60
60
|
const { jq_filter, ...body } = args as any;
|
|
61
|
-
|
|
61
|
+
try {
|
|
62
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.v1.customers.plans.end(body)));
|
|
63
|
+
} catch (error) {
|
|
64
|
+
if (error instanceof Metronome.APIError || isJqError(error)) {
|
|
65
|
+
return asErrorResult(error.message);
|
|
66
|
+
}
|
|
67
|
+
throw error;
|
|
68
|
+
}
|
|
62
69
|
};
|
|
63
70
|
|
|
64
71
|
export default { metadata, tool, handler };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import { maybeFilter } from '@metronome/mcp/filtering';
|
|
4
|
-
import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
|
|
3
|
+
import { isJqError, maybeFilter } from '@metronome/mcp/filtering';
|
|
4
|
+
import { Metadata, asErrorResult, asTextContentResult } from '@metronome/mcp/tools/types';
|
|
5
5
|
|
|
6
6
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
7
7
|
import Metronome from '@metronome/sdk';
|
|
@@ -18,7 +18,7 @@ export const metadata: Metadata = {
|
|
|
18
18
|
export const tool: Tool = {
|
|
19
19
|
name: 'list_customers_v1_plans',
|
|
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 the given customer's plans in reverse-chronological order.\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n type: 'array',\n items: {\n $ref: '#/$defs/plan_list_response'\n }\n },\n next_page: {\n type: 'string'\n }\n },\n required: [ 'data',\n 'next_page'\n ],\n $defs: {\n plan_list_response: {\n type: 'object',\n properties: {\n id: {\n type: 'string',\n description: 'the ID of the customer plan'\n },\n custom_fields: {\n type: 'object',\n description: 'Custom fields to be added eg. { \"key1\": \"value1\", \"key2\": \"value2\" }',\n additionalProperties: true\n },\n plan_description: {\n type: 'string'\n },\n plan_id: {\n type: 'string',\n description: 'the ID of the plan'\n },\n plan_name: {\n type: 'string'\n },\n starting_on: {\n type: 'string',\n format: 'date-time'\n },\n ending_before: {\n type: 'string',\n format: 'date-time'\n },\n net_payment_terms_days: {\n type: 'number'\n },\n trial_info: {\n type: 'object',\n properties: {\n ending_before: {\n type: 'string',\n format: 'date-time'\n },\n spending_caps: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n amount: {\n type: 'number'\n },\n amount_remaining: {\n type: 'number'\n },\n credit_type: {\n $ref: '#/$defs/credit_type_data'\n }\n },\n required: [ 'amount',\n 'amount_remaining',\n 'credit_type'\n ]\n }\n }\n },\n required: [ 'ending_before',\n 'spending_caps'\n ]\n }\n },\n required: [ 'id',\n 'custom_fields',\n 'plan_description',\n 'plan_id',\n 'plan_name',\n 'starting_on'\n ]\n },\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 the given customer's plans in reverse-chronological order. This is a Plans (deprecated) endpoint. New clients should implement using Contracts.\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n type: 'array',\n items: {\n $ref: '#/$defs/plan_list_response'\n }\n },\n next_page: {\n type: 'string'\n }\n },\n required: [ 'data',\n 'next_page'\n ],\n $defs: {\n plan_list_response: {\n type: 'object',\n properties: {\n id: {\n type: 'string',\n description: 'the ID of the customer plan'\n },\n custom_fields: {\n type: 'object',\n description: 'Custom fields to be added eg. { \"key1\": \"value1\", \"key2\": \"value2\" }',\n additionalProperties: true\n },\n plan_description: {\n type: 'string'\n },\n plan_id: {\n type: 'string',\n description: 'the ID of the plan'\n },\n plan_name: {\n type: 'string'\n },\n starting_on: {\n type: 'string',\n format: 'date-time'\n },\n ending_before: {\n type: 'string',\n format: 'date-time'\n },\n net_payment_terms_days: {\n type: 'number'\n },\n trial_info: {\n type: 'object',\n properties: {\n ending_before: {\n type: 'string',\n format: 'date-time'\n },\n spending_caps: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n amount: {\n type: 'number'\n },\n amount_remaining: {\n type: 'number'\n },\n credit_type: {\n $ref: '#/$defs/credit_type_data'\n }\n },\n required: [ 'amount',\n 'amount_remaining',\n 'credit_type'\n ]\n }\n }\n },\n required: [ 'ending_before',\n 'spending_caps'\n ]\n }\n },\n required: [ 'id',\n 'custom_fields',\n 'plan_description',\n 'plan_id',\n 'plan_name',\n 'starting_on'\n ]\n },\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: {
|
|
@@ -50,7 +50,14 @@ export const tool: Tool = {
|
|
|
50
50
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
51
51
|
const { jq_filter, ...body } = args as any;
|
|
52
52
|
const response = await client.v1.customers.plans.list(body).asResponse();
|
|
53
|
-
|
|
53
|
+
try {
|
|
54
|
+
return asTextContentResult(await maybeFilter(jq_filter, await response.json()));
|
|
55
|
+
} catch (error) {
|
|
56
|
+
if (error instanceof Metronome.APIError || isJqError(error)) {
|
|
57
|
+
return asErrorResult(error.message);
|
|
58
|
+
}
|
|
59
|
+
throw error;
|
|
60
|
+
}
|
|
54
61
|
};
|
|
55
62
|
|
|
56
63
|
export default { metadata, tool, handler };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import { maybeFilter } from '@metronome/mcp/filtering';
|
|
4
|
-
import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
|
|
3
|
+
import { isJqError, maybeFilter } from '@metronome/mcp/filtering';
|
|
4
|
+
import { Metadata, asErrorResult, asTextContentResult } from '@metronome/mcp/tools/types';
|
|
5
5
|
|
|
6
6
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
7
7
|
import Metronome from '@metronome/sdk';
|
|
@@ -18,7 +18,7 @@ export const metadata: Metadata = {
|
|
|
18
18
|
export const tool: Tool = {
|
|
19
19
|
name: 'list_price_adjustments_customers_v1_plans',
|
|
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\nLists a customer plans adjustments. See the [price adjustments documentation](https://plans-docs.metronome.com/pricing/managing-plans/#price-adjustments) for details.\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n type: 'array',\n items: {\n $ref: '#/$defs/plan_list_price_adjustments_response'\n }\n },\n next_page: {\n type: 'string'\n }\n },\n required: [ 'data',\n 'next_page'\n ],\n $defs: {\n plan_list_price_adjustments_response: {\n type: 'object',\n properties: {\n charge_id: {\n type: 'string'\n },\n charge_type: {\n type: 'string',\n enum: [ 'usage',\n 'fixed',\n 'composite',\n 'minimum',\n 'seat'\n ]\n },\n prices: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n adjustment_type: {\n type: 'string',\n description: 'Determines how the value will be applied.',\n enum: [ 'fixed',\n 'quantity',\n 'percentage',\n 'override'\n ]\n },\n tier: {\n type: 'number',\n description: 'Used in pricing tiers. Indicates at what metric value the price applies.'\n },\n value: {\n type: 'number'\n }\n },\n required: [ 'adjustment_type'\n ]\n }\n },\n start_period: {\n type: 'number'\n },\n quantity: {\n type: 'number'\n }\n },\n required: [ 'charge_id',\n 'charge_type',\n 'prices',\n 'start_period'\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\nLists a customer plans adjustments. See the [price adjustments documentation](https://plans-docs.metronome.com/pricing/managing-plans/#price-adjustments) for details. This is a Plans (deprecated) endpoint. New clients should implement using Contracts.\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n type: 'array',\n items: {\n $ref: '#/$defs/plan_list_price_adjustments_response'\n }\n },\n next_page: {\n type: 'string'\n }\n },\n required: [ 'data',\n 'next_page'\n ],\n $defs: {\n plan_list_price_adjustments_response: {\n type: 'object',\n properties: {\n charge_id: {\n type: 'string'\n },\n charge_type: {\n type: 'string',\n enum: [ 'usage',\n 'fixed',\n 'composite',\n 'minimum',\n 'seat'\n ]\n },\n prices: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n adjustment_type: {\n type: 'string',\n description: 'Determines how the value will be applied.',\n enum: [ 'fixed',\n 'quantity',\n 'percentage',\n 'override'\n ]\n },\n quantity: {\n type: 'number'\n },\n tier: {\n type: 'number',\n description: 'Used in pricing tiers. Indicates at what metric value the price applies.'\n },\n value: {\n type: 'number'\n }\n },\n required: [ 'adjustment_type'\n ]\n }\n },\n start_period: {\n type: 'number'\n },\n quantity: {\n type: 'number'\n }\n },\n required: [ 'charge_id',\n 'charge_type',\n 'prices',\n 'start_period'\n ]\n }\n }\n}\n```",
|
|
22
22
|
inputSchema: {
|
|
23
23
|
type: 'object',
|
|
24
24
|
properties: {
|
|
@@ -53,7 +53,14 @@ export const tool: Tool = {
|
|
|
53
53
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
54
54
|
const { jq_filter, ...body } = args as any;
|
|
55
55
|
const response = await client.v1.customers.plans.listPriceAdjustments(body).asResponse();
|
|
56
|
-
|
|
56
|
+
try {
|
|
57
|
+
return asTextContentResult(await maybeFilter(jq_filter, await response.json()));
|
|
58
|
+
} catch (error) {
|
|
59
|
+
if (error instanceof Metronome.APIError || isJqError(error)) {
|
|
60
|
+
return asErrorResult(error.message);
|
|
61
|
+
}
|
|
62
|
+
throw error;
|
|
63
|
+
}
|
|
57
64
|
};
|
|
58
65
|
|
|
59
66
|
export default { metadata, tool, handler };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
|
|
3
|
+
import { Metadata, asErrorResult, asTextContentResult } from '@metronome/mcp/tools/types';
|
|
4
4
|
|
|
5
5
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
6
6
|
import Metronome from '@metronome/sdk';
|
|
@@ -17,7 +17,7 @@ export const metadata: Metadata = {
|
|
|
17
17
|
export const tool: Tool = {
|
|
18
18
|
name: 'preview_events_v1_customers',
|
|
19
19
|
description:
|
|
20
|
-
"Preview how a set of events will affect a customer's invoices. Generates draft invoices for a customer using their current contract configuration and the provided events. This is useful for testing how new events will affect the customer's invoices before they are actually processed.\n",
|
|
20
|
+
"Preview how a set of events will affect a customer's invoices. Generates draft invoices for a customer using their current contract configuration and the provided events. This is useful for testing how new events will affect the customer's invoices before they are actually processed. Customers on contracts with SQL billable metrics are not supported.\n",
|
|
21
21
|
inputSchema: {
|
|
22
22
|
type: 'object',
|
|
23
23
|
properties: {
|
|
@@ -26,6 +26,8 @@ export const tool: Tool = {
|
|
|
26
26
|
},
|
|
27
27
|
events: {
|
|
28
28
|
type: 'array',
|
|
29
|
+
description:
|
|
30
|
+
'Array of usage events to include in the preview calculation. Must contain at least one event in `merge` mode.\n',
|
|
29
31
|
items: {
|
|
30
32
|
type: 'object',
|
|
31
33
|
properties: {
|
|
@@ -52,12 +54,12 @@ export const tool: Tool = {
|
|
|
52
54
|
mode: {
|
|
53
55
|
type: 'string',
|
|
54
56
|
description:
|
|
55
|
-
|
|
57
|
+
"Controls how the provided events are combined with existing usage data. Use `replace` to calculate the preview as if these are the only events for the customer, ignoring all historical usage. Use `merge` to combine these events with the customer's existing usage. Defaults to `replace`.",
|
|
56
58
|
enum: ['replace', 'merge'],
|
|
57
59
|
},
|
|
58
60
|
skip_zero_qty_line_items: {
|
|
59
61
|
type: 'boolean',
|
|
60
|
-
description: '
|
|
62
|
+
description: 'When `true`, line items with zero quantity are excluded from the response.',
|
|
61
63
|
},
|
|
62
64
|
},
|
|
63
65
|
required: ['customer_id', 'events'],
|
|
@@ -67,7 +69,14 @@ export const tool: Tool = {
|
|
|
67
69
|
|
|
68
70
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
69
71
|
const body = args as any;
|
|
70
|
-
|
|
72
|
+
try {
|
|
73
|
+
return asTextContentResult(await client.v1.customers.previewEvents(body));
|
|
74
|
+
} catch (error) {
|
|
75
|
+
if (error instanceof Metronome.APIError) {
|
|
76
|
+
return asErrorResult(error.message);
|
|
77
|
+
}
|
|
78
|
+
throw error;
|
|
79
|
+
}
|
|
71
80
|
};
|
|
72
81
|
|
|
73
82
|
export default { metadata, tool, handler };
|