@metronome/mcp 0.1.0-beta.12 → 0.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/compat.d.mts.map +1 -1
- package/compat.d.ts.map +1 -1
- package/compat.js +5 -2
- package/compat.js.map +1 -1
- package/compat.mjs +5 -2
- package/compat.mjs.map +1 -1
- package/package.json +2 -2
- package/server.js +2 -2
- package/server.js.map +1 -1
- package/server.mjs +2 -2
- package/server.mjs.map +1 -1
- package/src/compat.ts +5 -2
- package/src/server.ts +2 -2
- package/src/tools/v1/alerts/archive-v1-alerts.ts +3 -2
- package/src/tools/v1/alerts/create-v1-alerts.ts +16 -12
- package/src/tools/v1/audit-logs/list-v1-audit-logs.ts +5 -2
- package/src/tools/v1/billable-metrics/archive-v1-billable-metrics.ts +3 -2
- package/src/tools/v1/billable-metrics/create-v1-billable-metrics.ts +3 -2
- package/src/tools/v1/billable-metrics/list-v1-billable-metrics.ts +5 -2
- package/src/tools/v1/billable-metrics/retrieve-v1-billable-metrics.ts +5 -2
- package/src/tools/v1/contracts/add-manual-balance-entry-v1-contracts.ts +2 -8
- package/src/tools/v1/contracts/amend-v1-contracts.ts +2 -1
- package/src/tools/v1/contracts/archive-v1-contracts.ts +3 -2
- package/src/tools/v1/contracts/create-historical-invoices-v1-contracts.ts +2 -2
- package/src/tools/v1/contracts/create-v1-contracts.ts +154 -3
- package/src/tools/v1/contracts/list-balances-v1-contracts.ts +6 -2
- package/src/tools/v1/contracts/list-v1-contracts.ts +2 -1
- package/src/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.ts +3 -2
- package/src/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.ts +2 -7
- package/src/tools/v1/contracts/products/archive-contracts-v1-products.ts +3 -2
- package/src/tools/v1/contracts/products/create-contracts-v1-products.ts +3 -2
- package/src/tools/v1/contracts/products/list-contracts-v1-products.ts +3 -2
- package/src/tools/v1/contracts/products/retrieve-contracts-v1-products.ts +3 -2
- package/src/tools/v1/contracts/products/update-contracts-v1-products.ts +3 -2
- package/src/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.ts +3 -2
- package/src/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.ts +3 -2
- package/src/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.ts +3 -2
- package/src/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.ts +3 -2
- package/src/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.ts +2 -7
- package/src/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.ts +3 -2
- package/src/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.ts +3 -2
- package/src/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.ts +3 -2
- package/src/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.ts +5 -2
- package/src/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.ts +3 -2
- package/src/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.ts +5 -2
- package/src/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.ts +3 -2
- package/src/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.ts +3 -2
- package/src/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.ts +5 -2
- package/src/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.ts +3 -2
- package/src/tools/v1/contracts/retrieve-v1-contracts.ts +2 -1
- package/src/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.ts +2 -1
- package/src/tools/v1/contracts/set-usage-filter-v1-contracts.ts +2 -8
- package/src/tools/v1/contracts/update-end-date-v1-contracts.ts +3 -2
- package/src/tools/v1/credit-grants/create-v1-credit-grants.ts +3 -2
- package/src/tools/v1/credit-grants/edit-v1-credit-grants.ts +3 -2
- package/src/tools/v1/credit-grants/list-entries-v1-credit-grants.ts +3 -2
- package/src/tools/v1/credit-grants/list-v1-credit-grants.ts +3 -2
- package/src/tools/v1/credit-grants/void-v1-credit-grants.ts +3 -2
- package/src/tools/v1/custom-fields/add-key-v1-custom-fields.ts +2 -7
- package/src/tools/v1/custom-fields/delete-values-v1-custom-fields.ts +2 -8
- package/src/tools/v1/custom-fields/list-keys-v1-custom-fields.ts +3 -2
- package/src/tools/v1/custom-fields/remove-key-v1-custom-fields.ts +2 -8
- package/src/tools/v1/custom-fields/set-values-v1-custom-fields.ts +2 -7
- package/src/tools/v1/customers/alerts/list-customers-v1-alerts.ts +4 -3
- package/src/tools/v1/customers/alerts/reset-customers-v1-alerts.ts +2 -8
- package/src/tools/v1/customers/alerts/retrieve-customers-v1-alerts.ts +4 -3
- package/src/tools/v1/customers/archive-v1-customers.ts +3 -2
- package/src/tools/v1/customers/billing-config/create-customers-v1-billing-config.ts +2 -8
- package/src/tools/v1/customers/billing-config/delete-customers-v1-billing-config.ts +4 -7
- package/src/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.ts +7 -2
- package/src/tools/v1/customers/commits/create-customers-v1-commits.ts +3 -2
- package/src/tools/v1/customers/commits/list-customers-v1-commits.ts +6 -2
- package/src/tools/v1/customers/commits/update-end-date-customers-v1-commits.ts +5 -2
- package/src/tools/v1/customers/create-v1-customers.ts +3 -2
- package/src/tools/v1/customers/credits/create-customers-v1-credits.ts +3 -2
- package/src/tools/v1/customers/credits/list-customers-v1-credits.ts +6 -2
- package/src/tools/v1/customers/credits/update-end-date-customers-v1-credits.ts +5 -2
- package/src/tools/v1/customers/invoices/add-charge-customers-v1-invoices.ts +5 -2
- package/src/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.ts +4 -1
- package/src/tools/v1/customers/invoices/list-customers-v1-invoices.ts +4 -1
- package/src/tools/v1/customers/invoices/retrieve-customers-v1-invoices.ts +4 -2
- package/src/tools/v1/customers/list-billable-metrics-v1-customers.ts +5 -2
- package/src/tools/v1/customers/list-costs-v1-customers.ts +5 -2
- package/src/tools/v1/customers/list-v1-customers.ts +5 -2
- package/src/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.ts +3 -2
- package/src/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.ts +2 -7
- package/src/tools/v1/customers/plans/add-customers-v1-plans.ts +3 -2
- package/src/tools/v1/customers/plans/end-customers-v1-plans.ts +3 -2
- package/src/tools/v1/customers/plans/list-customers-v1-plans.ts +5 -2
- package/src/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.ts +5 -2
- package/src/tools/v1/customers/preview-events-v1-customers.ts +2 -1
- package/src/tools/v1/customers/retrieve-v1-customers.ts +5 -2
- package/src/tools/v1/customers/set-ingest-aliases-v1-customers.ts +2 -7
- package/src/tools/v1/customers/set-name-v1-customers.ts +3 -2
- package/src/tools/v1/customers/update-config-v1-customers.ts +2 -8
- package/src/tools/v1/dashboards/get-embeddable-url-v1-dashboards.ts +5 -2
- package/src/tools/v1/invoices/regenerate-v1-invoices.ts +3 -2
- package/src/tools/v1/invoices/void-v1-invoices.ts +3 -2
- package/src/tools/v1/plans/get-details-v1-plans.ts +5 -2
- package/src/tools/v1/plans/list-charges-v1-plans.ts +5 -2
- package/src/tools/v1/plans/list-customers-v1-plans.ts +5 -2
- package/src/tools/v1/plans/list-v1-plans.ts +5 -2
- package/src/tools/v1/pricing-units/list-v1-pricing-units.ts +5 -2
- package/src/tools/v1/services/list-v1-services.ts +5 -1
- package/src/tools/v1/usage/ingest-v1-usage.ts +2 -7
- package/src/tools/v1/usage/list-v1-usage.ts +3 -2
- package/src/tools/v1/usage/list-with-groups-v1-usage.ts +3 -2
- package/src/tools/v1/usage/search-v1-usage.ts +3 -2
- package/src/tools/v2/contracts/edit-commit-v2-contracts.ts +4 -3
- package/src/tools/v2/contracts/edit-credit-v2-contracts.ts +4 -3
- package/src/tools/v2/contracts/edit-v2-contracts.ts +163 -12
- package/src/tools/v2/contracts/get-edit-history-v2-contracts.ts +2 -1
- package/src/tools/v2/contracts/list-v2-contracts.ts +2 -1
- package/src/tools/v2/contracts/retrieve-v2-contracts.ts +2 -2
- package/tools/v1/alerts/archive-v1-alerts.d.mts.map +1 -1
- package/tools/v1/alerts/archive-v1-alerts.d.ts.map +1 -1
- package/tools/v1/alerts/archive-v1-alerts.js +3 -2
- package/tools/v1/alerts/archive-v1-alerts.js.map +1 -1
- package/tools/v1/alerts/archive-v1-alerts.mjs +3 -2
- package/tools/v1/alerts/archive-v1-alerts.mjs.map +1 -1
- package/tools/v1/alerts/create-v1-alerts.d.mts.map +1 -1
- package/tools/v1/alerts/create-v1-alerts.d.ts.map +1 -1
- package/tools/v1/alerts/create-v1-alerts.js +16 -12
- package/tools/v1/alerts/create-v1-alerts.js.map +1 -1
- package/tools/v1/alerts/create-v1-alerts.mjs +16 -12
- package/tools/v1/alerts/create-v1-alerts.mjs.map +1 -1
- 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.map +1 -1
- package/tools/v1/audit-logs/list-v1-audit-logs.js +5 -2
- package/tools/v1/audit-logs/list-v1-audit-logs.js.map +1 -1
- package/tools/v1/audit-logs/list-v1-audit-logs.mjs +5 -2
- package/tools/v1/audit-logs/list-v1-audit-logs.mjs.map +1 -1
- 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.map +1 -1
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.js +3 -2
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.js.map +1 -1
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.mjs +3 -2
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.mjs.map +1 -1
- package/tools/v1/billable-metrics/create-v1-billable-metrics.d.mts.map +1 -1
- package/tools/v1/billable-metrics/create-v1-billable-metrics.d.ts.map +1 -1
- package/tools/v1/billable-metrics/create-v1-billable-metrics.js +3 -2
- package/tools/v1/billable-metrics/create-v1-billable-metrics.js.map +1 -1
- package/tools/v1/billable-metrics/create-v1-billable-metrics.mjs +3 -2
- package/tools/v1/billable-metrics/create-v1-billable-metrics.mjs.map +1 -1
- package/tools/v1/billable-metrics/list-v1-billable-metrics.d.mts.map +1 -1
- package/tools/v1/billable-metrics/list-v1-billable-metrics.d.ts.map +1 -1
- package/tools/v1/billable-metrics/list-v1-billable-metrics.js +5 -2
- package/tools/v1/billable-metrics/list-v1-billable-metrics.js.map +1 -1
- package/tools/v1/billable-metrics/list-v1-billable-metrics.mjs +5 -2
- package/tools/v1/billable-metrics/list-v1-billable-metrics.mjs.map +1 -1
- 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.map +1 -1
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.js +5 -2
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.js.map +1 -1
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.mjs +5 -2
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.mjs.map +1 -1
- package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.js +2 -6
- package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.mjs +2 -6
- package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/amend-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/amend-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/amend-v1-contracts.js +2 -1
- package/tools/v1/contracts/amend-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/amend-v1-contracts.mjs +2 -1
- package/tools/v1/contracts/amend-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/archive-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/archive-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/archive-v1-contracts.js +3 -2
- package/tools/v1/contracts/archive-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/archive-v1-contracts.mjs +3 -2
- package/tools/v1/contracts/archive-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.js +2 -1
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.mjs +2 -1
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/create-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/create-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/create-v1-contracts.js +153 -2
- package/tools/v1/contracts/create-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/create-v1-contracts.mjs +153 -2
- package/tools/v1/contracts/create-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/list-balances-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/list-balances-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/list-balances-v1-contracts.js +6 -1
- package/tools/v1/contracts/list-balances-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/list-balances-v1-contracts.mjs +6 -1
- package/tools/v1/contracts/list-balances-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/list-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/list-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/list-v1-contracts.js +2 -1
- package/tools/v1/contracts/list-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/list-v1-contracts.mjs +2 -1
- package/tools/v1/contracts/list-v1-contracts.mjs.map +1 -1
- 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.map +1 -1
- package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.js +3 -2
- package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.js.map +1 -1
- package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.mjs +3 -2
- package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.mjs.map +1 -1
- package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.d.mts.map +1 -1
- package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.d.ts.map +1 -1
- package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.js +2 -6
- package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.js.map +1 -1
- package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.mjs +2 -6
- package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.mjs.map +1 -1
- package/tools/v1/contracts/products/archive-contracts-v1-products.d.mts.map +1 -1
- package/tools/v1/contracts/products/archive-contracts-v1-products.d.ts.map +1 -1
- package/tools/v1/contracts/products/archive-contracts-v1-products.js +3 -2
- package/tools/v1/contracts/products/archive-contracts-v1-products.js.map +1 -1
- package/tools/v1/contracts/products/archive-contracts-v1-products.mjs +3 -2
- package/tools/v1/contracts/products/archive-contracts-v1-products.mjs.map +1 -1
- package/tools/v1/contracts/products/create-contracts-v1-products.d.mts.map +1 -1
- package/tools/v1/contracts/products/create-contracts-v1-products.d.ts.map +1 -1
- package/tools/v1/contracts/products/create-contracts-v1-products.js +3 -2
- package/tools/v1/contracts/products/create-contracts-v1-products.js.map +1 -1
- package/tools/v1/contracts/products/create-contracts-v1-products.mjs +3 -2
- package/tools/v1/contracts/products/create-contracts-v1-products.mjs.map +1 -1
- 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.map +1 -1
- package/tools/v1/contracts/products/list-contracts-v1-products.js +3 -2
- package/tools/v1/contracts/products/list-contracts-v1-products.js.map +1 -1
- package/tools/v1/contracts/products/list-contracts-v1-products.mjs +3 -2
- package/tools/v1/contracts/products/list-contracts-v1-products.mjs.map +1 -1
- 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.map +1 -1
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.js +3 -2
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.js.map +1 -1
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.mjs +3 -2
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.mjs.map +1 -1
- 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.map +1 -1
- package/tools/v1/contracts/products/update-contracts-v1-products.js +3 -2
- package/tools/v1/contracts/products/update-contracts-v1-products.js.map +1 -1
- package/tools/v1/contracts/products/update-contracts-v1-products.mjs +3 -2
- package/tools/v1/contracts/products/update-contracts-v1-products.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.d.mts.map +1 -1
- 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 +3 -2
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.js.map +1 -1
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.mjs +3 -2
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.js +3 -2
- package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.js.map +1 -1
- package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.mjs +3 -2
- package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.js +3 -2
- 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 +3 -2
- 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.map +1 -1
- 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 +3 -2
- package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.js.map +1 -1
- package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.mjs +3 -2
- package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.js +2 -6
- package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.js.map +1 -1
- package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.mjs +2 -6
- package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.d.mts.map +1 -1
- 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 +3 -2
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.js.map +1 -1
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.mjs +3 -2
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.d.mts.map +1 -1
- 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 +3 -2
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.js.map +1 -1
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.mjs +3 -2
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.js +3 -2
- package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.js.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.mjs +3 -2
- package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.js +3 -2
- 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 +3 -2
- package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.js +3 -2
- 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 +3 -2
- package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.js +3 -2
- package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.js.map +1 -1
- package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.mjs +3 -2
- package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.js +3 -2
- 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 +3 -2
- 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.map +1 -1
- 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 +3 -2
- package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.js.map +1 -1
- package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.mjs +3 -2
- package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.mjs.map +1 -1
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.js +3 -2
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.mjs +3 -2
- 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.map +1 -1
- 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 +3 -2
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.mjs +3 -2
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/retrieve-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/retrieve-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/retrieve-v1-contracts.js +2 -1
- package/tools/v1/contracts/retrieve-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/retrieve-v1-contracts.mjs +2 -1
- package/tools/v1/contracts/retrieve-v1-contracts.mjs.map +1 -1
- 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.map +1 -1
- package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.js +2 -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 +2 -1
- package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/set-usage-filter-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/set-usage-filter-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/set-usage-filter-v1-contracts.js +2 -6
- package/tools/v1/contracts/set-usage-filter-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/set-usage-filter-v1-contracts.mjs +2 -6
- package/tools/v1/contracts/set-usage-filter-v1-contracts.mjs.map +1 -1
- 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.map +1 -1
- package/tools/v1/contracts/update-end-date-v1-contracts.js +3 -2
- package/tools/v1/contracts/update-end-date-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/update-end-date-v1-contracts.mjs +3 -2
- package/tools/v1/contracts/update-end-date-v1-contracts.mjs.map +1 -1
- package/tools/v1/credit-grants/create-v1-credit-grants.d.mts.map +1 -1
- package/tools/v1/credit-grants/create-v1-credit-grants.d.ts.map +1 -1
- package/tools/v1/credit-grants/create-v1-credit-grants.js +3 -2
- package/tools/v1/credit-grants/create-v1-credit-grants.js.map +1 -1
- package/tools/v1/credit-grants/create-v1-credit-grants.mjs +3 -2
- package/tools/v1/credit-grants/create-v1-credit-grants.mjs.map +1 -1
- package/tools/v1/credit-grants/edit-v1-credit-grants.d.mts.map +1 -1
- package/tools/v1/credit-grants/edit-v1-credit-grants.d.ts.map +1 -1
- package/tools/v1/credit-grants/edit-v1-credit-grants.js +3 -2
- package/tools/v1/credit-grants/edit-v1-credit-grants.js.map +1 -1
- package/tools/v1/credit-grants/edit-v1-credit-grants.mjs +3 -2
- 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.map +1 -1
- 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 +3 -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 +3 -2
- 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.map +1 -1
- package/tools/v1/credit-grants/list-v1-credit-grants.d.ts.map +1 -1
- package/tools/v1/credit-grants/list-v1-credit-grants.js +3 -2
- package/tools/v1/credit-grants/list-v1-credit-grants.js.map +1 -1
- package/tools/v1/credit-grants/list-v1-credit-grants.mjs +3 -2
- package/tools/v1/credit-grants/list-v1-credit-grants.mjs.map +1 -1
- 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.map +1 -1
- package/tools/v1/credit-grants/void-v1-credit-grants.js +3 -2
- package/tools/v1/credit-grants/void-v1-credit-grants.js.map +1 -1
- package/tools/v1/credit-grants/void-v1-credit-grants.mjs +3 -2
- package/tools/v1/credit-grants/void-v1-credit-grants.mjs.map +1 -1
- package/tools/v1/custom-fields/add-key-v1-custom-fields.d.mts.map +1 -1
- package/tools/v1/custom-fields/add-key-v1-custom-fields.d.ts.map +1 -1
- package/tools/v1/custom-fields/add-key-v1-custom-fields.js +2 -6
- package/tools/v1/custom-fields/add-key-v1-custom-fields.js.map +1 -1
- package/tools/v1/custom-fields/add-key-v1-custom-fields.mjs +2 -6
- package/tools/v1/custom-fields/add-key-v1-custom-fields.mjs.map +1 -1
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.d.mts.map +1 -1
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.d.ts.map +1 -1
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.js +2 -6
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.js.map +1 -1
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.mjs +2 -6
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.mjs.map +1 -1
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.d.mts.map +1 -1
- 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 +3 -2
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.js.map +1 -1
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.mjs +3 -2
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.mjs.map +1 -1
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.d.mts.map +1 -1
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.d.ts.map +1 -1
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.js +2 -6
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.js.map +1 -1
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.mjs +2 -6
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.mjs.map +1 -1
- package/tools/v1/custom-fields/set-values-v1-custom-fields.d.mts.map +1 -1
- package/tools/v1/custom-fields/set-values-v1-custom-fields.d.ts.map +1 -1
- package/tools/v1/custom-fields/set-values-v1-custom-fields.js +2 -6
- package/tools/v1/custom-fields/set-values-v1-custom-fields.js.map +1 -1
- package/tools/v1/custom-fields/set-values-v1-custom-fields.mjs +2 -6
- package/tools/v1/custom-fields/set-values-v1-custom-fields.mjs.map +1 -1
- package/tools/v1/customers/alerts/list-customers-v1-alerts.d.mts.map +1 -1
- package/tools/v1/customers/alerts/list-customers-v1-alerts.d.ts.map +1 -1
- package/tools/v1/customers/alerts/list-customers-v1-alerts.js +4 -3
- package/tools/v1/customers/alerts/list-customers-v1-alerts.js.map +1 -1
- package/tools/v1/customers/alerts/list-customers-v1-alerts.mjs +4 -3
- package/tools/v1/customers/alerts/list-customers-v1-alerts.mjs.map +1 -1
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.d.mts.map +1 -1
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.d.ts.map +1 -1
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.js +2 -6
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.js.map +1 -1
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.mjs +2 -6
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.mjs.map +1 -1
- 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.map +1 -1
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.js +4 -3
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.js.map +1 -1
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.mjs +4 -3
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.mjs.map +1 -1
- package/tools/v1/customers/archive-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/archive-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/archive-v1-customers.js +3 -2
- package/tools/v1/customers/archive-v1-customers.js.map +1 -1
- package/tools/v1/customers/archive-v1-customers.mjs +3 -2
- package/tools/v1/customers/archive-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.d.mts.map +1 -1
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.d.ts.map +1 -1
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.js +2 -6
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.js.map +1 -1
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.mjs +2 -6
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.mjs.map +1 -1
- package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.d.mts.map +1 -1
- package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.d.ts.map +1 -1
- package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.js +4 -6
- package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.js.map +1 -1
- package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.mjs +4 -6
- package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.mjs.map +1 -1
- package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.d.mts.map +1 -1
- package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.d.ts.map +1 -1
- package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.js +5 -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 +5 -2
- package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.mjs.map +1 -1
- package/tools/v1/customers/commits/create-customers-v1-commits.d.mts.map +1 -1
- package/tools/v1/customers/commits/create-customers-v1-commits.d.ts.map +1 -1
- package/tools/v1/customers/commits/create-customers-v1-commits.js +3 -2
- package/tools/v1/customers/commits/create-customers-v1-commits.js.map +1 -1
- package/tools/v1/customers/commits/create-customers-v1-commits.mjs +3 -2
- package/tools/v1/customers/commits/create-customers-v1-commits.mjs.map +1 -1
- package/tools/v1/customers/commits/list-customers-v1-commits.d.mts.map +1 -1
- package/tools/v1/customers/commits/list-customers-v1-commits.d.ts.map +1 -1
- package/tools/v1/customers/commits/list-customers-v1-commits.js +6 -1
- package/tools/v1/customers/commits/list-customers-v1-commits.js.map +1 -1
- package/tools/v1/customers/commits/list-customers-v1-commits.mjs +6 -1
- package/tools/v1/customers/commits/list-customers-v1-commits.mjs.map +1 -1
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.d.mts.map +1 -1
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.d.ts.map +1 -1
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.js +3 -2
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.js.map +1 -1
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.mjs +3 -2
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.mjs.map +1 -1
- package/tools/v1/customers/create-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/create-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/create-v1-customers.js +3 -2
- package/tools/v1/customers/create-v1-customers.js.map +1 -1
- package/tools/v1/customers/create-v1-customers.mjs +3 -2
- package/tools/v1/customers/create-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/credits/create-customers-v1-credits.d.mts.map +1 -1
- package/tools/v1/customers/credits/create-customers-v1-credits.d.ts.map +1 -1
- package/tools/v1/customers/credits/create-customers-v1-credits.js +3 -2
- package/tools/v1/customers/credits/create-customers-v1-credits.js.map +1 -1
- package/tools/v1/customers/credits/create-customers-v1-credits.mjs +3 -2
- package/tools/v1/customers/credits/create-customers-v1-credits.mjs.map +1 -1
- package/tools/v1/customers/credits/list-customers-v1-credits.d.mts.map +1 -1
- package/tools/v1/customers/credits/list-customers-v1-credits.d.ts.map +1 -1
- package/tools/v1/customers/credits/list-customers-v1-credits.js +6 -1
- package/tools/v1/customers/credits/list-customers-v1-credits.js.map +1 -1
- package/tools/v1/customers/credits/list-customers-v1-credits.mjs +6 -1
- package/tools/v1/customers/credits/list-customers-v1-credits.mjs.map +1 -1
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.d.mts.map +1 -1
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.d.ts.map +1 -1
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.js +3 -2
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.js.map +1 -1
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.mjs +3 -2
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.mjs.map +1 -1
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.d.mts.map +1 -1
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.d.ts.map +1 -1
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.js +3 -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 +3 -2
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.mjs.map +1 -1
- package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.d.mts.map +1 -1
- 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 +4 -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 +4 -1
- 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.map +1 -1
- package/tools/v1/customers/invoices/list-customers-v1-invoices.d.ts.map +1 -1
- package/tools/v1/customers/invoices/list-customers-v1-invoices.js +4 -1
- package/tools/v1/customers/invoices/list-customers-v1-invoices.js.map +1 -1
- package/tools/v1/customers/invoices/list-customers-v1-invoices.mjs +4 -1
- package/tools/v1/customers/invoices/list-customers-v1-invoices.mjs.map +1 -1
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.d.mts.map +1 -1
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.d.ts.map +1 -1
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.js +4 -1
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.js.map +1 -1
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.mjs +4 -1
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.mjs.map +1 -1
- 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.map +1 -1
- package/tools/v1/customers/list-billable-metrics-v1-customers.js +5 -2
- package/tools/v1/customers/list-billable-metrics-v1-customers.js.map +1 -1
- package/tools/v1/customers/list-billable-metrics-v1-customers.mjs +5 -2
- package/tools/v1/customers/list-billable-metrics-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/list-costs-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/list-costs-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/list-costs-v1-customers.js +5 -2
- package/tools/v1/customers/list-costs-v1-customers.js.map +1 -1
- package/tools/v1/customers/list-costs-v1-customers.mjs +5 -2
- package/tools/v1/customers/list-costs-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/list-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/list-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/list-v1-customers.js +5 -2
- package/tools/v1/customers/list-v1-customers.js.map +1 -1
- package/tools/v1/customers/list-v1-customers.mjs +5 -2
- package/tools/v1/customers/list-v1-customers.mjs.map +1 -1
- 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.map +1 -1
- package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.js +3 -2
- package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.js.map +1 -1
- package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.mjs +3 -2
- package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.mjs.map +1 -1
- package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.d.mts.map +1 -1
- package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.d.ts.map +1 -1
- package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.js +2 -6
- package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.js.map +1 -1
- package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.mjs +2 -6
- package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.mjs.map +1 -1
- package/tools/v1/customers/plans/add-customers-v1-plans.d.mts.map +1 -1
- package/tools/v1/customers/plans/add-customers-v1-plans.d.ts.map +1 -1
- package/tools/v1/customers/plans/add-customers-v1-plans.js +3 -2
- package/tools/v1/customers/plans/add-customers-v1-plans.js.map +1 -1
- package/tools/v1/customers/plans/add-customers-v1-plans.mjs +3 -2
- package/tools/v1/customers/plans/add-customers-v1-plans.mjs.map +1 -1
- 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.map +1 -1
- package/tools/v1/customers/plans/end-customers-v1-plans.js +3 -2
- package/tools/v1/customers/plans/end-customers-v1-plans.js.map +1 -1
- package/tools/v1/customers/plans/end-customers-v1-plans.mjs +3 -2
- package/tools/v1/customers/plans/end-customers-v1-plans.mjs.map +1 -1
- 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.map +1 -1
- package/tools/v1/customers/plans/list-customers-v1-plans.js +5 -2
- package/tools/v1/customers/plans/list-customers-v1-plans.js.map +1 -1
- package/tools/v1/customers/plans/list-customers-v1-plans.mjs +5 -2
- 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.map +1 -1
- 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 +5 -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 +5 -2
- package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.mjs.map +1 -1
- package/tools/v1/customers/preview-events-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/preview-events-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/preview-events-v1-customers.js +2 -1
- package/tools/v1/customers/preview-events-v1-customers.js.map +1 -1
- package/tools/v1/customers/preview-events-v1-customers.mjs +2 -1
- package/tools/v1/customers/preview-events-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/retrieve-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/retrieve-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/retrieve-v1-customers.js +5 -2
- package/tools/v1/customers/retrieve-v1-customers.js.map +1 -1
- package/tools/v1/customers/retrieve-v1-customers.mjs +5 -2
- package/tools/v1/customers/retrieve-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/set-ingest-aliases-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/set-ingest-aliases-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/set-ingest-aliases-v1-customers.js +2 -6
- package/tools/v1/customers/set-ingest-aliases-v1-customers.js.map +1 -1
- package/tools/v1/customers/set-ingest-aliases-v1-customers.mjs +2 -6
- package/tools/v1/customers/set-ingest-aliases-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/set-name-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/set-name-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/set-name-v1-customers.js +3 -2
- package/tools/v1/customers/set-name-v1-customers.js.map +1 -1
- package/tools/v1/customers/set-name-v1-customers.mjs +3 -2
- package/tools/v1/customers/set-name-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/update-config-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/update-config-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/update-config-v1-customers.js +2 -6
- package/tools/v1/customers/update-config-v1-customers.js.map +1 -1
- package/tools/v1/customers/update-config-v1-customers.mjs +2 -6
- package/tools/v1/customers/update-config-v1-customers.mjs.map +1 -1
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.d.mts.map +1 -1
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.d.ts.map +1 -1
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.js +5 -2
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.js.map +1 -1
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.mjs +5 -2
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.mjs.map +1 -1
- package/tools/v1/invoices/regenerate-v1-invoices.d.mts.map +1 -1
- package/tools/v1/invoices/regenerate-v1-invoices.d.ts.map +1 -1
- package/tools/v1/invoices/regenerate-v1-invoices.js +3 -2
- package/tools/v1/invoices/regenerate-v1-invoices.js.map +1 -1
- package/tools/v1/invoices/regenerate-v1-invoices.mjs +3 -2
- package/tools/v1/invoices/regenerate-v1-invoices.mjs.map +1 -1
- package/tools/v1/invoices/void-v1-invoices.d.mts.map +1 -1
- package/tools/v1/invoices/void-v1-invoices.d.ts.map +1 -1
- package/tools/v1/invoices/void-v1-invoices.js +3 -2
- package/tools/v1/invoices/void-v1-invoices.js.map +1 -1
- package/tools/v1/invoices/void-v1-invoices.mjs +3 -2
- package/tools/v1/invoices/void-v1-invoices.mjs.map +1 -1
- package/tools/v1/plans/get-details-v1-plans.d.mts.map +1 -1
- package/tools/v1/plans/get-details-v1-plans.d.ts.map +1 -1
- package/tools/v1/plans/get-details-v1-plans.js +5 -2
- package/tools/v1/plans/get-details-v1-plans.js.map +1 -1
- package/tools/v1/plans/get-details-v1-plans.mjs +5 -2
- package/tools/v1/plans/get-details-v1-plans.mjs.map +1 -1
- package/tools/v1/plans/list-charges-v1-plans.d.mts.map +1 -1
- package/tools/v1/plans/list-charges-v1-plans.d.ts.map +1 -1
- package/tools/v1/plans/list-charges-v1-plans.js +5 -2
- package/tools/v1/plans/list-charges-v1-plans.js.map +1 -1
- package/tools/v1/plans/list-charges-v1-plans.mjs +5 -2
- package/tools/v1/plans/list-charges-v1-plans.mjs.map +1 -1
- package/tools/v1/plans/list-customers-v1-plans.d.mts.map +1 -1
- package/tools/v1/plans/list-customers-v1-plans.d.ts.map +1 -1
- package/tools/v1/plans/list-customers-v1-plans.js +5 -2
- package/tools/v1/plans/list-customers-v1-plans.js.map +1 -1
- package/tools/v1/plans/list-customers-v1-plans.mjs +5 -2
- package/tools/v1/plans/list-customers-v1-plans.mjs.map +1 -1
- package/tools/v1/plans/list-v1-plans.d.mts.map +1 -1
- package/tools/v1/plans/list-v1-plans.d.ts.map +1 -1
- package/tools/v1/plans/list-v1-plans.js +5 -2
- package/tools/v1/plans/list-v1-plans.js.map +1 -1
- package/tools/v1/plans/list-v1-plans.mjs +5 -2
- package/tools/v1/plans/list-v1-plans.mjs.map +1 -1
- 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.map +1 -1
- package/tools/v1/pricing-units/list-v1-pricing-units.js +5 -2
- package/tools/v1/pricing-units/list-v1-pricing-units.js.map +1 -1
- package/tools/v1/pricing-units/list-v1-pricing-units.mjs +5 -2
- package/tools/v1/pricing-units/list-v1-pricing-units.mjs.map +1 -1
- package/tools/v1/services/list-v1-services.d.mts.map +1 -1
- package/tools/v1/services/list-v1-services.d.ts.map +1 -1
- package/tools/v1/services/list-v1-services.js +5 -1
- package/tools/v1/services/list-v1-services.js.map +1 -1
- package/tools/v1/services/list-v1-services.mjs +5 -1
- package/tools/v1/services/list-v1-services.mjs.map +1 -1
- package/tools/v1/usage/ingest-v1-usage.d.mts.map +1 -1
- package/tools/v1/usage/ingest-v1-usage.d.ts.map +1 -1
- package/tools/v1/usage/ingest-v1-usage.js +2 -6
- package/tools/v1/usage/ingest-v1-usage.js.map +1 -1
- package/tools/v1/usage/ingest-v1-usage.mjs +2 -6
- package/tools/v1/usage/ingest-v1-usage.mjs.map +1 -1
- package/tools/v1/usage/list-v1-usage.d.mts.map +1 -1
- package/tools/v1/usage/list-v1-usage.d.ts.map +1 -1
- package/tools/v1/usage/list-v1-usage.js +3 -2
- package/tools/v1/usage/list-v1-usage.js.map +1 -1
- package/tools/v1/usage/list-v1-usage.mjs +3 -2
- package/tools/v1/usage/list-v1-usage.mjs.map +1 -1
- 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.map +1 -1
- package/tools/v1/usage/list-with-groups-v1-usage.js +3 -2
- package/tools/v1/usage/list-with-groups-v1-usage.js.map +1 -1
- package/tools/v1/usage/list-with-groups-v1-usage.mjs +3 -2
- package/tools/v1/usage/list-with-groups-v1-usage.mjs.map +1 -1
- package/tools/v1/usage/search-v1-usage.d.mts.map +1 -1
- package/tools/v1/usage/search-v1-usage.d.ts.map +1 -1
- package/tools/v1/usage/search-v1-usage.js +3 -2
- package/tools/v1/usage/search-v1-usage.js.map +1 -1
- package/tools/v1/usage/search-v1-usage.mjs +3 -2
- package/tools/v1/usage/search-v1-usage.mjs.map +1 -1
- package/tools/v2/contracts/edit-commit-v2-contracts.d.mts.map +1 -1
- package/tools/v2/contracts/edit-commit-v2-contracts.d.ts.map +1 -1
- package/tools/v2/contracts/edit-commit-v2-contracts.js +4 -3
- package/tools/v2/contracts/edit-commit-v2-contracts.js.map +1 -1
- package/tools/v2/contracts/edit-commit-v2-contracts.mjs +4 -3
- package/tools/v2/contracts/edit-commit-v2-contracts.mjs.map +1 -1
- package/tools/v2/contracts/edit-credit-v2-contracts.d.mts.map +1 -1
- package/tools/v2/contracts/edit-credit-v2-contracts.d.ts.map +1 -1
- package/tools/v2/contracts/edit-credit-v2-contracts.js +4 -3
- package/tools/v2/contracts/edit-credit-v2-contracts.js.map +1 -1
- package/tools/v2/contracts/edit-credit-v2-contracts.mjs +4 -3
- package/tools/v2/contracts/edit-credit-v2-contracts.mjs.map +1 -1
- package/tools/v2/contracts/edit-v2-contracts.d.mts.map +1 -1
- package/tools/v2/contracts/edit-v2-contracts.d.ts.map +1 -1
- package/tools/v2/contracts/edit-v2-contracts.js +162 -11
- package/tools/v2/contracts/edit-v2-contracts.js.map +1 -1
- package/tools/v2/contracts/edit-v2-contracts.mjs +162 -11
- package/tools/v2/contracts/edit-v2-contracts.mjs.map +1 -1
- 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.map +1 -1
- package/tools/v2/contracts/get-edit-history-v2-contracts.js +2 -1
- package/tools/v2/contracts/get-edit-history-v2-contracts.js.map +1 -1
- package/tools/v2/contracts/get-edit-history-v2-contracts.mjs +2 -1
- package/tools/v2/contracts/get-edit-history-v2-contracts.mjs.map +1 -1
- package/tools/v2/contracts/list-v2-contracts.d.mts.map +1 -1
- package/tools/v2/contracts/list-v2-contracts.d.ts.map +1 -1
- package/tools/v2/contracts/list-v2-contracts.js +2 -1
- package/tools/v2/contracts/list-v2-contracts.js.map +1 -1
- package/tools/v2/contracts/list-v2-contracts.mjs +2 -1
- package/tools/v2/contracts/list-v2-contracts.mjs.map +1 -1
- package/tools/v2/contracts/retrieve-v2-contracts.js +2 -1
- package/tools/v2/contracts/retrieve-v2-contracts.js.map +1 -1
- package/tools/v2/contracts/retrieve-v2-contracts.mjs +2 -1
- package/tools/v2/contracts/retrieve-v2-contracts.mjs.map +1 -1
|
@@ -16,8 +16,7 @@ export const metadata: Metadata = {
|
|
|
16
16
|
|
|
17
17
|
export const tool: Tool = {
|
|
18
18
|
name: 'list_customers_v1_credits',
|
|
19
|
-
description:
|
|
20
|
-
"When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nList credits.\n",
|
|
19
|
+
description: 'List credits.\n',
|
|
21
20
|
inputSchema: {
|
|
22
21
|
type: 'object',
|
|
23
22
|
properties: {
|
|
@@ -55,6 +54,10 @@ export const tool: Tool = {
|
|
|
55
54
|
description:
|
|
56
55
|
'Include credit ledgers in the response. Setting this flag may cause the query to be slower.',
|
|
57
56
|
},
|
|
57
|
+
limit: {
|
|
58
|
+
type: 'integer',
|
|
59
|
+
description: 'The maximum number of commits to return. Defaults to 25.',
|
|
60
|
+
},
|
|
58
61
|
next_page: {
|
|
59
62
|
type: 'string',
|
|
60
63
|
description: 'The next page token from a previous response.',
|
|
@@ -67,6 +70,7 @@ export const tool: Tool = {
|
|
|
67
70
|
},
|
|
68
71
|
required: ['customer_id'],
|
|
69
72
|
},
|
|
73
|
+
annotations: {},
|
|
70
74
|
};
|
|
71
75
|
|
|
72
76
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
@@ -45,11 +45,14 @@ export const tool: Tool = {
|
|
|
45
45
|
},
|
|
46
46
|
required: ['access_ending_before', 'credit_id', 'customer_id'],
|
|
47
47
|
},
|
|
48
|
+
annotations: {},
|
|
48
49
|
};
|
|
49
50
|
|
|
50
51
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
51
|
-
const body = args as any;
|
|
52
|
-
return asTextContentResult(
|
|
52
|
+
const { jq_filter, ...body } = args as any;
|
|
53
|
+
return asTextContentResult(
|
|
54
|
+
await maybeFilter(jq_filter, await client.v1.customers.credits.updateEndDate(body)),
|
|
55
|
+
);
|
|
53
56
|
};
|
|
54
57
|
|
|
55
58
|
export default { metadata, tool, handler };
|
|
@@ -67,11 +67,14 @@ export const tool: Tool = {
|
|
|
67
67
|
'quantity',
|
|
68
68
|
],
|
|
69
69
|
},
|
|
70
|
+
annotations: {},
|
|
70
71
|
};
|
|
71
72
|
|
|
72
73
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
73
|
-
const body = args as any;
|
|
74
|
-
return asTextContentResult(
|
|
74
|
+
const { jq_filter, ...body } = args as any;
|
|
75
|
+
return asTextContentResult(
|
|
76
|
+
await maybeFilter(jq_filter, await client.v1.customers.invoices.addCharge(body)),
|
|
77
|
+
);
|
|
75
78
|
};
|
|
76
79
|
|
|
77
80
|
export default { metadata, tool, handler };
|
|
@@ -17,7 +17,7 @@ export const metadata: Metadata = {
|
|
|
17
17
|
export const tool: Tool = {
|
|
18
18
|
name: 'list_breakdowns_customers_v1_invoices',
|
|
19
19
|
description:
|
|
20
|
-
|
|
20
|
+
'List daily or hourly invoice breakdowns for a given customer, optionally filtered by status, date range, and/or credit type.\nImportant considerations:\n- If we receive backdated usage after an invoice has been finalized, the backdated usage will be included in the response and usage numbers may differ.',
|
|
21
21
|
inputSchema: {
|
|
22
22
|
type: 'object',
|
|
23
23
|
properties: {
|
|
@@ -70,6 +70,9 @@ export const tool: Tool = {
|
|
|
70
70
|
},
|
|
71
71
|
required: ['customer_id', 'ending_before', 'starting_on'],
|
|
72
72
|
},
|
|
73
|
+
annotations: {
|
|
74
|
+
readOnlyHint: true,
|
|
75
|
+
},
|
|
73
76
|
};
|
|
74
77
|
|
|
75
78
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
@@ -17,7 +17,7 @@ export const metadata: Metadata = {
|
|
|
17
17
|
export const tool: Tool = {
|
|
18
18
|
name: 'list_customers_v1_invoices',
|
|
19
19
|
description:
|
|
20
|
-
|
|
20
|
+
'List all invoices for a given customer, optionally filtered by status, date range, and/or credit type.',
|
|
21
21
|
inputSchema: {
|
|
22
22
|
type: 'object',
|
|
23
23
|
properties: {
|
|
@@ -64,6 +64,9 @@ export const tool: Tool = {
|
|
|
64
64
|
},
|
|
65
65
|
required: ['customer_id'],
|
|
66
66
|
},
|
|
67
|
+
annotations: {
|
|
68
|
+
readOnlyHint: true,
|
|
69
|
+
},
|
|
67
70
|
};
|
|
68
71
|
|
|
69
72
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
@@ -16,8 +16,7 @@ export const metadata: Metadata = {
|
|
|
16
16
|
|
|
17
17
|
export const tool: Tool = {
|
|
18
18
|
name: 'retrieve_customers_v1_invoices',
|
|
19
|
-
description:
|
|
20
|
-
"When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nFetch a specific invoice for a given customer.",
|
|
19
|
+
description: 'Fetch a specific invoice for a given customer.',
|
|
21
20
|
inputSchema: {
|
|
22
21
|
type: 'object',
|
|
23
22
|
properties: {
|
|
@@ -34,6 +33,9 @@ export const tool: Tool = {
|
|
|
34
33
|
},
|
|
35
34
|
required: ['customer_id', 'invoice_id'],
|
|
36
35
|
},
|
|
36
|
+
annotations: {
|
|
37
|
+
readOnlyHint: true,
|
|
38
|
+
},
|
|
37
39
|
};
|
|
38
40
|
|
|
39
41
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
@@ -51,12 +51,15 @@ export const tool: Tool = {
|
|
|
51
51
|
},
|
|
52
52
|
required: ['customer_id'],
|
|
53
53
|
},
|
|
54
|
+
annotations: {
|
|
55
|
+
readOnlyHint: true,
|
|
56
|
+
},
|
|
54
57
|
};
|
|
55
58
|
|
|
56
59
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
57
|
-
const body = args as any;
|
|
60
|
+
const { jq_filter, ...body } = args as any;
|
|
58
61
|
const response = await client.v1.customers.listBillableMetrics(body).asResponse();
|
|
59
|
-
return asTextContentResult(await maybeFilter(
|
|
62
|
+
return asTextContentResult(await maybeFilter(jq_filter, await response.json()));
|
|
60
63
|
};
|
|
61
64
|
|
|
62
65
|
export default { metadata, tool, handler };
|
|
@@ -52,12 +52,15 @@ export const tool: Tool = {
|
|
|
52
52
|
},
|
|
53
53
|
required: ['customer_id', 'ending_before', 'starting_on'],
|
|
54
54
|
},
|
|
55
|
+
annotations: {
|
|
56
|
+
readOnlyHint: true,
|
|
57
|
+
},
|
|
55
58
|
};
|
|
56
59
|
|
|
57
60
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
58
|
-
const body = args as any;
|
|
61
|
+
const { jq_filter, ...body } = args as any;
|
|
59
62
|
const response = await client.v1.customers.listCosts(body).asResponse();
|
|
60
|
-
return asTextContentResult(await maybeFilter(
|
|
63
|
+
return asTextContentResult(await maybeFilter(jq_filter, await response.json()));
|
|
61
64
|
};
|
|
62
65
|
|
|
63
66
|
export default { metadata, tool, handler };
|
|
@@ -62,12 +62,15 @@ export const tool: Tool = {
|
|
|
62
62
|
},
|
|
63
63
|
required: [],
|
|
64
64
|
},
|
|
65
|
+
annotations: {
|
|
66
|
+
readOnlyHint: true,
|
|
67
|
+
},
|
|
65
68
|
};
|
|
66
69
|
|
|
67
70
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
68
|
-
const body = args as any;
|
|
71
|
+
const { jq_filter, ...body } = args as any;
|
|
69
72
|
const response = await client.v1.customers.list(body).asResponse();
|
|
70
|
-
return asTextContentResult(await maybeFilter(
|
|
73
|
+
return asTextContentResult(await maybeFilter(jq_filter, await response.json()));
|
|
71
74
|
};
|
|
72
75
|
|
|
73
76
|
export default { metadata, tool, handler };
|
|
@@ -45,12 +45,13 @@ export const tool: Tool = {
|
|
|
45
45
|
},
|
|
46
46
|
required: ['customer_id', 'schedule_name'],
|
|
47
47
|
},
|
|
48
|
+
annotations: {},
|
|
48
49
|
};
|
|
49
50
|
|
|
50
51
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
51
|
-
const body = args as any;
|
|
52
|
+
const { jq_filter, ...body } = args as any;
|
|
52
53
|
return asTextContentResult(
|
|
53
|
-
await maybeFilter(
|
|
54
|
+
await maybeFilter(jq_filter, await client.v1.customers.namedSchedules.retrieve(body)),
|
|
54
55
|
);
|
|
55
56
|
};
|
|
56
57
|
|
|
@@ -17,7 +17,7 @@ export const metadata: Metadata = {
|
|
|
17
17
|
export const tool: Tool = {
|
|
18
18
|
name: 'update_customers_v1_named_schedules',
|
|
19
19
|
description:
|
|
20
|
-
"
|
|
20
|
+
"Update a named schedule for the given customer. This endpoint's availability is dependent on your client's configuration.",
|
|
21
21
|
inputSchema: {
|
|
22
22
|
type: 'object',
|
|
23
23
|
properties: {
|
|
@@ -42,15 +42,10 @@ export const tool: Tool = {
|
|
|
42
42
|
type: 'string',
|
|
43
43
|
format: 'date-time',
|
|
44
44
|
},
|
|
45
|
-
jq_filter: {
|
|
46
|
-
type: 'string',
|
|
47
|
-
title: 'jq Filter',
|
|
48
|
-
description:
|
|
49
|
-
'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
50
|
-
},
|
|
51
45
|
},
|
|
52
46
|
required: ['customer_id', 'schedule_name', 'starting_at', 'value'],
|
|
53
47
|
},
|
|
48
|
+
annotations: {},
|
|
54
49
|
};
|
|
55
50
|
|
|
56
51
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
@@ -137,11 +137,12 @@ export const tool: Tool = {
|
|
|
137
137
|
},
|
|
138
138
|
required: ['customer_id', 'plan_id', 'starting_on'],
|
|
139
139
|
},
|
|
140
|
+
annotations: {},
|
|
140
141
|
};
|
|
141
142
|
|
|
142
143
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
143
|
-
const body = args as any;
|
|
144
|
-
return asTextContentResult(await maybeFilter(
|
|
144
|
+
const { jq_filter, ...body } = args as any;
|
|
145
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.v1.customers.plans.add(body)));
|
|
145
146
|
};
|
|
146
147
|
|
|
147
148
|
export default { metadata, tool, handler };
|
|
@@ -53,11 +53,12 @@ export const tool: Tool = {
|
|
|
53
53
|
},
|
|
54
54
|
required: ['customer_id', 'customer_plan_id'],
|
|
55
55
|
},
|
|
56
|
+
annotations: {},
|
|
56
57
|
};
|
|
57
58
|
|
|
58
59
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
59
|
-
const body = args as any;
|
|
60
|
-
return asTextContentResult(await maybeFilter(
|
|
60
|
+
const { jq_filter, ...body } = args as any;
|
|
61
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.v1.customers.plans.end(body)));
|
|
61
62
|
};
|
|
62
63
|
|
|
63
64
|
export default { metadata, tool, handler };
|
|
@@ -42,12 +42,15 @@ export const tool: Tool = {
|
|
|
42
42
|
},
|
|
43
43
|
required: ['customer_id'],
|
|
44
44
|
},
|
|
45
|
+
annotations: {
|
|
46
|
+
readOnlyHint: true,
|
|
47
|
+
},
|
|
45
48
|
};
|
|
46
49
|
|
|
47
50
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
48
|
-
const body = args as any;
|
|
51
|
+
const { jq_filter, ...body } = args as any;
|
|
49
52
|
const response = await client.v1.customers.plans.list(body).asResponse();
|
|
50
|
-
return asTextContentResult(await maybeFilter(
|
|
53
|
+
return asTextContentResult(await maybeFilter(jq_filter, await response.json()));
|
|
51
54
|
};
|
|
52
55
|
|
|
53
56
|
export default { metadata, tool, handler };
|
|
@@ -45,12 +45,15 @@ export const tool: Tool = {
|
|
|
45
45
|
},
|
|
46
46
|
required: ['customer_id', 'customer_plan_id'],
|
|
47
47
|
},
|
|
48
|
+
annotations: {
|
|
49
|
+
readOnlyHint: true,
|
|
50
|
+
},
|
|
48
51
|
};
|
|
49
52
|
|
|
50
53
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
51
|
-
const body = args as any;
|
|
54
|
+
const { jq_filter, ...body } = args as any;
|
|
52
55
|
const response = await client.v1.customers.plans.listPriceAdjustments(body).asResponse();
|
|
53
|
-
return asTextContentResult(await maybeFilter(
|
|
56
|
+
return asTextContentResult(await maybeFilter(jq_filter, await response.json()));
|
|
54
57
|
};
|
|
55
58
|
|
|
56
59
|
export default { metadata, tool, handler };
|
|
@@ -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
|
-
"
|
|
20
|
+
"Preview how a set of events will affect a customer's invoice. Generates a draft invoice 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 invoice before they are actually processed.",
|
|
21
21
|
inputSchema: {
|
|
22
22
|
type: 'object',
|
|
23
23
|
properties: {
|
|
@@ -66,6 +66,7 @@ export const tool: Tool = {
|
|
|
66
66
|
},
|
|
67
67
|
required: ['customer_id', 'events'],
|
|
68
68
|
},
|
|
69
|
+
annotations: {},
|
|
69
70
|
};
|
|
70
71
|
|
|
71
72
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
@@ -34,11 +34,14 @@ export const tool: Tool = {
|
|
|
34
34
|
},
|
|
35
35
|
required: ['customer_id'],
|
|
36
36
|
},
|
|
37
|
+
annotations: {
|
|
38
|
+
readOnlyHint: true,
|
|
39
|
+
},
|
|
37
40
|
};
|
|
38
41
|
|
|
39
42
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
40
|
-
const body = args as any;
|
|
41
|
-
return asTextContentResult(await maybeFilter(
|
|
43
|
+
const { jq_filter, ...body } = args as any;
|
|
44
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.v1.customers.retrieve(body)));
|
|
42
45
|
};
|
|
43
46
|
|
|
44
47
|
export default { metadata, tool, handler };
|
|
@@ -17,7 +17,7 @@ export const metadata: Metadata = {
|
|
|
17
17
|
export const tool: Tool = {
|
|
18
18
|
name: 'set_ingest_aliases_v1_customers',
|
|
19
19
|
description:
|
|
20
|
-
|
|
20
|
+
'Sets the ingest aliases for a customer. Ingest aliases can be used in the `customer_id` field when sending usage events to Metronome. This call is idempotent. It fully replaces the set of ingest aliases for the given customer.\n',
|
|
21
21
|
inputSchema: {
|
|
22
22
|
type: 'object',
|
|
23
23
|
properties: {
|
|
@@ -30,15 +30,10 @@ export const tool: Tool = {
|
|
|
30
30
|
type: 'string',
|
|
31
31
|
},
|
|
32
32
|
},
|
|
33
|
-
jq_filter: {
|
|
34
|
-
type: 'string',
|
|
35
|
-
title: 'jq Filter',
|
|
36
|
-
description:
|
|
37
|
-
'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
38
|
-
},
|
|
39
33
|
},
|
|
40
34
|
required: ['customer_id', 'ingest_aliases'],
|
|
41
35
|
},
|
|
36
|
+
annotations: {},
|
|
42
37
|
};
|
|
43
38
|
|
|
44
39
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
@@ -39,11 +39,12 @@ export const tool: Tool = {
|
|
|
39
39
|
},
|
|
40
40
|
required: ['customer_id', 'name'],
|
|
41
41
|
},
|
|
42
|
+
annotations: {},
|
|
42
43
|
};
|
|
43
44
|
|
|
44
45
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
45
|
-
const body = args as any;
|
|
46
|
-
return asTextContentResult(await maybeFilter(
|
|
46
|
+
const { jq_filter, ...body } = args as any;
|
|
47
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.v1.customers.setName(body)));
|
|
47
48
|
};
|
|
48
49
|
|
|
49
50
|
export default { metadata, tool, handler };
|
|
@@ -16,8 +16,7 @@ export const metadata: Metadata = {
|
|
|
16
16
|
|
|
17
17
|
export const tool: Tool = {
|
|
18
18
|
name: 'update_config_v1_customers',
|
|
19
|
-
description:
|
|
20
|
-
"When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nUpdates the specified customer's config.\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {}\n}\n```",
|
|
19
|
+
description: "Updates the specified customer's config.\n",
|
|
21
20
|
inputSchema: {
|
|
22
21
|
type: 'object',
|
|
23
22
|
properties: {
|
|
@@ -33,15 +32,10 @@ export const tool: Tool = {
|
|
|
33
32
|
type: 'string',
|
|
34
33
|
description: 'The Salesforce account ID for the customer',
|
|
35
34
|
},
|
|
36
|
-
jq_filter: {
|
|
37
|
-
type: 'string',
|
|
38
|
-
title: 'jq Filter',
|
|
39
|
-
description:
|
|
40
|
-
'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
41
|
-
},
|
|
42
35
|
},
|
|
43
36
|
required: ['customer_id'],
|
|
44
37
|
},
|
|
38
|
+
annotations: {},
|
|
45
39
|
};
|
|
46
40
|
|
|
47
41
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
@@ -82,6 +82,8 @@ export const tool: Tool = {
|
|
|
82
82
|
'UsageLine_9',
|
|
83
83
|
'Primary_green',
|
|
84
84
|
'Primary_red',
|
|
85
|
+
'Progress_bar',
|
|
86
|
+
'Progress_bar_background',
|
|
85
87
|
],
|
|
86
88
|
},
|
|
87
89
|
value: {
|
|
@@ -118,11 +120,12 @@ export const tool: Tool = {
|
|
|
118
120
|
},
|
|
119
121
|
required: ['customer_id', 'dashboard'],
|
|
120
122
|
},
|
|
123
|
+
annotations: {},
|
|
121
124
|
};
|
|
122
125
|
|
|
123
126
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
124
|
-
const body = args as any;
|
|
125
|
-
return asTextContentResult(await maybeFilter(
|
|
127
|
+
const { jq_filter, ...body } = args as any;
|
|
128
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.v1.dashboards.getEmbeddableURL(body)));
|
|
126
129
|
};
|
|
127
130
|
|
|
128
131
|
export default { metadata, tool, handler };
|
|
@@ -35,11 +35,12 @@ export const tool: Tool = {
|
|
|
35
35
|
},
|
|
36
36
|
required: ['id'],
|
|
37
37
|
},
|
|
38
|
+
annotations: {},
|
|
38
39
|
};
|
|
39
40
|
|
|
40
41
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
41
|
-
const body = args as any;
|
|
42
|
-
return asTextContentResult(await maybeFilter(
|
|
42
|
+
const { jq_filter, ...body } = args as any;
|
|
43
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.v1.invoices.regenerate(body)));
|
|
43
44
|
};
|
|
44
45
|
|
|
45
46
|
export default { metadata, tool, handler };
|
|
@@ -35,11 +35,12 @@ export const tool: Tool = {
|
|
|
35
35
|
},
|
|
36
36
|
required: ['id'],
|
|
37
37
|
},
|
|
38
|
+
annotations: {},
|
|
38
39
|
};
|
|
39
40
|
|
|
40
41
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
41
|
-
const body = args as any;
|
|
42
|
-
return asTextContentResult(await maybeFilter(
|
|
42
|
+
const { jq_filter, ...body } = args as any;
|
|
43
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.v1.invoices.void(body)));
|
|
43
44
|
};
|
|
44
45
|
|
|
45
46
|
export default { metadata, tool, handler };
|
|
@@ -34,11 +34,14 @@ export const tool: Tool = {
|
|
|
34
34
|
},
|
|
35
35
|
required: ['plan_id'],
|
|
36
36
|
},
|
|
37
|
+
annotations: {
|
|
38
|
+
readOnlyHint: true,
|
|
39
|
+
},
|
|
37
40
|
};
|
|
38
41
|
|
|
39
42
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
40
|
-
const body = args as any;
|
|
41
|
-
return asTextContentResult(await maybeFilter(
|
|
43
|
+
const { jq_filter, ...body } = args as any;
|
|
44
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.v1.plans.getDetails(body)));
|
|
42
45
|
};
|
|
43
46
|
|
|
44
47
|
export default { metadata, tool, handler };
|
|
@@ -42,12 +42,15 @@ export const tool: Tool = {
|
|
|
42
42
|
},
|
|
43
43
|
required: ['plan_id'],
|
|
44
44
|
},
|
|
45
|
+
annotations: {
|
|
46
|
+
readOnlyHint: true,
|
|
47
|
+
},
|
|
45
48
|
};
|
|
46
49
|
|
|
47
50
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
48
|
-
const body = args as any;
|
|
51
|
+
const { jq_filter, ...body } = args as any;
|
|
49
52
|
const response = await client.v1.plans.listCharges(body).asResponse();
|
|
50
|
-
return asTextContentResult(await maybeFilter(
|
|
53
|
+
return asTextContentResult(await maybeFilter(jq_filter, await response.json()));
|
|
51
54
|
};
|
|
52
55
|
|
|
53
56
|
export default { metadata, tool, handler };
|
|
@@ -48,12 +48,15 @@ export const tool: Tool = {
|
|
|
48
48
|
},
|
|
49
49
|
required: ['plan_id'],
|
|
50
50
|
},
|
|
51
|
+
annotations: {
|
|
52
|
+
readOnlyHint: true,
|
|
53
|
+
},
|
|
51
54
|
};
|
|
52
55
|
|
|
53
56
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
54
|
-
const body = args as any;
|
|
57
|
+
const { jq_filter, ...body } = args as any;
|
|
55
58
|
const response = await client.v1.plans.listCustomers(body).asResponse();
|
|
56
|
-
return asTextContentResult(await maybeFilter(
|
|
59
|
+
return asTextContentResult(await maybeFilter(jq_filter, await response.json()));
|
|
57
60
|
};
|
|
58
61
|
|
|
59
62
|
export default { metadata, tool, handler };
|
|
@@ -39,12 +39,15 @@ export const tool: Tool = {
|
|
|
39
39
|
},
|
|
40
40
|
required: [],
|
|
41
41
|
},
|
|
42
|
+
annotations: {
|
|
43
|
+
readOnlyHint: true,
|
|
44
|
+
},
|
|
42
45
|
};
|
|
43
46
|
|
|
44
47
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
45
|
-
const body = args as any;
|
|
48
|
+
const { jq_filter, ...body } = args as any;
|
|
46
49
|
const response = await client.v1.plans.list(body).asResponse();
|
|
47
|
-
return asTextContentResult(await maybeFilter(
|
|
50
|
+
return asTextContentResult(await maybeFilter(jq_filter, await response.json()));
|
|
48
51
|
};
|
|
49
52
|
|
|
50
53
|
export default { metadata, tool, handler };
|
|
@@ -39,12 +39,15 @@ export const tool: Tool = {
|
|
|
39
39
|
},
|
|
40
40
|
required: [],
|
|
41
41
|
},
|
|
42
|
+
annotations: {
|
|
43
|
+
readOnlyHint: true,
|
|
44
|
+
},
|
|
42
45
|
};
|
|
43
46
|
|
|
44
47
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
45
|
-
const body = args as any;
|
|
48
|
+
const { jq_filter, ...body } = args as any;
|
|
46
49
|
const response = await client.v1.pricingUnits.list(body).asResponse();
|
|
47
|
-
return asTextContentResult(await maybeFilter(
|
|
50
|
+
return asTextContentResult(await maybeFilter(jq_filter, await response.json()));
|
|
48
51
|
};
|
|
49
52
|
|
|
50
53
|
export default { metadata, tool, handler };
|
|
@@ -31,10 +31,14 @@ export const tool: Tool = {
|
|
|
31
31
|
},
|
|
32
32
|
required: [],
|
|
33
33
|
},
|
|
34
|
+
annotations: {
|
|
35
|
+
readOnlyHint: true,
|
|
36
|
+
},
|
|
34
37
|
};
|
|
35
38
|
|
|
36
39
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
37
|
-
|
|
40
|
+
const { jq_filter } = args as any;
|
|
41
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.v1.services.list()));
|
|
38
42
|
};
|
|
39
43
|
|
|
40
44
|
export default { metadata, tool, handler };
|
|
@@ -17,7 +17,7 @@ export const metadata: Metadata = {
|
|
|
17
17
|
export const tool: Tool = {
|
|
18
18
|
name: 'ingest_v1_usage',
|
|
19
19
|
description:
|
|
20
|
-
|
|
20
|
+
'Send usage events to Metronome. The body of this request is expected to be a JSON array of between 1 and 100 usage events. Compressed request bodies are supported with a `Content-Encoding: gzip` header. See [Getting usage into Metronome](https://docs.metronome.com/connect-metronome/) to learn more about usage events.\n',
|
|
21
21
|
inputSchema: {
|
|
22
22
|
type: 'object',
|
|
23
23
|
properties: {
|
|
@@ -46,15 +46,10 @@ export const tool: Tool = {
|
|
|
46
46
|
required: ['customer_id', 'event_type', 'timestamp', 'transaction_id'],
|
|
47
47
|
},
|
|
48
48
|
},
|
|
49
|
-
jq_filter: {
|
|
50
|
-
type: 'string',
|
|
51
|
-
title: 'jq Filter',
|
|
52
|
-
description:
|
|
53
|
-
'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
54
|
-
},
|
|
55
49
|
},
|
|
56
50
|
required: [],
|
|
57
51
|
},
|
|
52
|
+
annotations: {},
|
|
58
53
|
};
|
|
59
54
|
|
|
60
55
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
@@ -89,11 +89,12 @@ export const tool: Tool = {
|
|
|
89
89
|
},
|
|
90
90
|
required: ['ending_before', 'starting_on', 'window_size'],
|
|
91
91
|
},
|
|
92
|
+
annotations: {},
|
|
92
93
|
};
|
|
93
94
|
|
|
94
95
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
95
|
-
const body = args as any;
|
|
96
|
-
return asTextContentResult(await maybeFilter(
|
|
96
|
+
const { jq_filter, ...body } = args as any;
|
|
97
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.v1.usage.list(body)));
|
|
97
98
|
};
|
|
98
99
|
|
|
99
100
|
export default { metadata, tool, handler };
|
|
@@ -82,12 +82,13 @@ export const tool: Tool = {
|
|
|
82
82
|
},
|
|
83
83
|
required: ['billable_metric_id', 'customer_id', 'window_size'],
|
|
84
84
|
},
|
|
85
|
+
annotations: {},
|
|
85
86
|
};
|
|
86
87
|
|
|
87
88
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
88
|
-
const body = args as any;
|
|
89
|
+
const { jq_filter, ...body } = args as any;
|
|
89
90
|
const response = await client.v1.usage.listWithGroups(body).asResponse();
|
|
90
|
-
return asTextContentResult(await maybeFilter(
|
|
91
|
+
return asTextContentResult(await maybeFilter(jq_filter, await response.json()));
|
|
91
92
|
};
|
|
92
93
|
|
|
93
94
|
export default { metadata, tool, handler };
|
|
@@ -38,11 +38,12 @@ export const tool: Tool = {
|
|
|
38
38
|
},
|
|
39
39
|
required: ['transactionIds'],
|
|
40
40
|
},
|
|
41
|
+
annotations: {},
|
|
41
42
|
};
|
|
42
43
|
|
|
43
44
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
44
|
-
const body = args as any;
|
|
45
|
-
return asTextContentResult(await maybeFilter(
|
|
45
|
+
const { jq_filter, ...body } = args as any;
|
|
46
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.v1.usage.search(body)));
|
|
46
47
|
};
|
|
47
48
|
|
|
48
49
|
export default { metadata, tool, handler };
|