@metronome/mcp 0.1.0 → 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 +2 -2
- package/src/tools/v1/alerts/create-v1-alerts.ts +15 -12
- package/src/tools/v1/audit-logs/list-v1-audit-logs.ts +2 -2
- package/src/tools/v1/billable-metrics/archive-v1-billable-metrics.ts +2 -2
- package/src/tools/v1/billable-metrics/create-v1-billable-metrics.ts +2 -2
- package/src/tools/v1/billable-metrics/list-v1-billable-metrics.ts +2 -2
- package/src/tools/v1/billable-metrics/retrieve-v1-billable-metrics.ts +2 -2
- package/src/tools/v1/contracts/add-manual-balance-entry-v1-contracts.ts +1 -8
- package/src/tools/v1/contracts/amend-v1-contracts.ts +1 -1
- package/src/tools/v1/contracts/archive-v1-contracts.ts +2 -2
- package/src/tools/v1/contracts/create-historical-invoices-v1-contracts.ts +1 -2
- package/src/tools/v1/contracts/create-v1-contracts.ts +59 -3
- package/src/tools/v1/contracts/list-balances-v1-contracts.ts +1 -2
- package/src/tools/v1/contracts/list-v1-contracts.ts +1 -1
- package/src/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.ts +2 -2
- package/src/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.ts +1 -7
- package/src/tools/v1/contracts/products/archive-contracts-v1-products.ts +2 -2
- package/src/tools/v1/contracts/products/create-contracts-v1-products.ts +2 -2
- package/src/tools/v1/contracts/products/list-contracts-v1-products.ts +2 -2
- package/src/tools/v1/contracts/products/retrieve-contracts-v1-products.ts +2 -2
- package/src/tools/v1/contracts/products/update-contracts-v1-products.ts +2 -2
- package/src/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.ts +2 -2
- package/src/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.ts +2 -2
- package/src/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.ts +2 -2
- package/src/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.ts +2 -2
- package/src/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.ts +1 -7
- package/src/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.ts +2 -2
- package/src/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.ts +2 -2
- package/src/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.ts +2 -2
- package/src/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.ts +4 -2
- package/src/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.ts +2 -2
- package/src/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.ts +4 -2
- package/src/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.ts +2 -2
- package/src/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.ts +2 -2
- package/src/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.ts +4 -2
- package/src/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.ts +2 -2
- package/src/tools/v1/contracts/retrieve-v1-contracts.ts +1 -1
- package/src/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.ts +1 -1
- package/src/tools/v1/contracts/set-usage-filter-v1-contracts.ts +1 -8
- package/src/tools/v1/contracts/update-end-date-v1-contracts.ts +2 -2
- package/src/tools/v1/credit-grants/create-v1-credit-grants.ts +2 -2
- package/src/tools/v1/credit-grants/edit-v1-credit-grants.ts +2 -2
- package/src/tools/v1/credit-grants/list-entries-v1-credit-grants.ts +2 -2
- package/src/tools/v1/credit-grants/list-v1-credit-grants.ts +2 -2
- package/src/tools/v1/credit-grants/void-v1-credit-grants.ts +2 -2
- package/src/tools/v1/custom-fields/add-key-v1-custom-fields.ts +1 -7
- package/src/tools/v1/custom-fields/delete-values-v1-custom-fields.ts +1 -8
- package/src/tools/v1/custom-fields/list-keys-v1-custom-fields.ts +2 -2
- package/src/tools/v1/custom-fields/remove-key-v1-custom-fields.ts +1 -8
- package/src/tools/v1/custom-fields/set-values-v1-custom-fields.ts +1 -7
- package/src/tools/v1/customers/alerts/list-customers-v1-alerts.ts +3 -3
- package/src/tools/v1/customers/alerts/reset-customers-v1-alerts.ts +1 -8
- package/src/tools/v1/customers/alerts/retrieve-customers-v1-alerts.ts +3 -3
- package/src/tools/v1/customers/archive-v1-customers.ts +2 -2
- package/src/tools/v1/customers/billing-config/create-customers-v1-billing-config.ts +1 -8
- package/src/tools/v1/customers/billing-config/delete-customers-v1-billing-config.ts +1 -7
- package/src/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.ts +4 -2
- package/src/tools/v1/customers/commits/create-customers-v1-commits.ts +2 -2
- package/src/tools/v1/customers/commits/list-customers-v1-commits.ts +1 -2
- package/src/tools/v1/customers/commits/update-end-date-customers-v1-commits.ts +4 -2
- package/src/tools/v1/customers/create-v1-customers.ts +2 -2
- package/src/tools/v1/customers/credits/create-customers-v1-credits.ts +2 -2
- package/src/tools/v1/customers/credits/list-customers-v1-credits.ts +1 -2
- package/src/tools/v1/customers/credits/update-end-date-customers-v1-credits.ts +4 -2
- package/src/tools/v1/customers/invoices/add-charge-customers-v1-invoices.ts +4 -2
- package/src/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.ts +1 -1
- package/src/tools/v1/customers/invoices/list-customers-v1-invoices.ts +1 -1
- package/src/tools/v1/customers/invoices/retrieve-customers-v1-invoices.ts +1 -2
- package/src/tools/v1/customers/list-billable-metrics-v1-customers.ts +2 -2
- package/src/tools/v1/customers/list-costs-v1-customers.ts +2 -2
- package/src/tools/v1/customers/list-v1-customers.ts +2 -2
- package/src/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.ts +2 -2
- package/src/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.ts +1 -7
- package/src/tools/v1/customers/plans/add-customers-v1-plans.ts +2 -2
- package/src/tools/v1/customers/plans/end-customers-v1-plans.ts +2 -2
- package/src/tools/v1/customers/plans/list-customers-v1-plans.ts +2 -2
- package/src/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.ts +2 -2
- package/src/tools/v1/customers/preview-events-v1-customers.ts +1 -1
- package/src/tools/v1/customers/retrieve-v1-customers.ts +2 -2
- package/src/tools/v1/customers/set-ingest-aliases-v1-customers.ts +1 -7
- package/src/tools/v1/customers/set-name-v1-customers.ts +2 -2
- package/src/tools/v1/customers/update-config-v1-customers.ts +1 -8
- package/src/tools/v1/dashboards/get-embeddable-url-v1-dashboards.ts +4 -2
- package/src/tools/v1/invoices/regenerate-v1-invoices.ts +2 -2
- package/src/tools/v1/invoices/void-v1-invoices.ts +2 -2
- package/src/tools/v1/plans/get-details-v1-plans.ts +2 -2
- package/src/tools/v1/plans/list-charges-v1-plans.ts +2 -2
- package/src/tools/v1/plans/list-customers-v1-plans.ts +2 -2
- package/src/tools/v1/plans/list-v1-plans.ts +2 -2
- package/src/tools/v1/pricing-units/list-v1-pricing-units.ts +2 -2
- package/src/tools/v1/services/list-v1-services.ts +2 -1
- package/src/tools/v1/usage/ingest-v1-usage.ts +1 -7
- package/src/tools/v1/usage/list-v1-usage.ts +2 -2
- package/src/tools/v1/usage/list-with-groups-v1-usage.ts +2 -2
- package/src/tools/v1/usage/search-v1-usage.ts +2 -2
- package/src/tools/v2/contracts/edit-commit-v2-contracts.ts +3 -3
- package/src/tools/v2/contracts/edit-credit-v2-contracts.ts +3 -3
- package/src/tools/v2/contracts/edit-v2-contracts.ts +70 -14
- package/src/tools/v2/contracts/get-edit-history-v2-contracts.ts +1 -1
- package/src/tools/v2/contracts/list-v2-contracts.ts +1 -1
- package/src/tools/v2/contracts/retrieve-v2-contracts.ts +1 -2
- package/tools/v1/alerts/archive-v1-alerts.js +2 -2
- package/tools/v1/alerts/archive-v1-alerts.js.map +1 -1
- package/tools/v1/alerts/archive-v1-alerts.mjs +2 -2
- package/tools/v1/alerts/archive-v1-alerts.mjs.map +1 -1
- package/tools/v1/alerts/create-v1-alerts.d.mts.map +1 -1
- package/tools/v1/alerts/create-v1-alerts.d.ts.map +1 -1
- package/tools/v1/alerts/create-v1-alerts.js +15 -12
- package/tools/v1/alerts/create-v1-alerts.js.map +1 -1
- package/tools/v1/alerts/create-v1-alerts.mjs +15 -12
- package/tools/v1/alerts/create-v1-alerts.mjs.map +1 -1
- package/tools/v1/audit-logs/list-v1-audit-logs.js +2 -2
- package/tools/v1/audit-logs/list-v1-audit-logs.js.map +1 -1
- package/tools/v1/audit-logs/list-v1-audit-logs.mjs +2 -2
- package/tools/v1/audit-logs/list-v1-audit-logs.mjs.map +1 -1
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.js +2 -2
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.js.map +1 -1
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.mjs +2 -2
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.mjs.map +1 -1
- package/tools/v1/billable-metrics/create-v1-billable-metrics.js +2 -2
- package/tools/v1/billable-metrics/create-v1-billable-metrics.js.map +1 -1
- package/tools/v1/billable-metrics/create-v1-billable-metrics.mjs +2 -2
- package/tools/v1/billable-metrics/create-v1-billable-metrics.mjs.map +1 -1
- package/tools/v1/billable-metrics/list-v1-billable-metrics.js +2 -2
- package/tools/v1/billable-metrics/list-v1-billable-metrics.js.map +1 -1
- package/tools/v1/billable-metrics/list-v1-billable-metrics.mjs +2 -2
- package/tools/v1/billable-metrics/list-v1-billable-metrics.mjs.map +1 -1
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.js +2 -2
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.js.map +1 -1
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.mjs +2 -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 +1 -6
- package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.mjs +1 -6
- package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/amend-v1-contracts.js +1 -1
- package/tools/v1/contracts/amend-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/amend-v1-contracts.mjs +1 -1
- package/tools/v1/contracts/amend-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/archive-v1-contracts.js +2 -2
- package/tools/v1/contracts/archive-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/archive-v1-contracts.mjs +2 -2
- package/tools/v1/contracts/archive-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.js +1 -1
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.mjs +1 -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 +58 -2
- package/tools/v1/contracts/create-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/create-v1-contracts.mjs +58 -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 +1 -1
- package/tools/v1/contracts/list-balances-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/list-balances-v1-contracts.mjs +1 -1
- package/tools/v1/contracts/list-balances-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/list-v1-contracts.js +1 -1
- package/tools/v1/contracts/list-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/list-v1-contracts.mjs +1 -1
- package/tools/v1/contracts/list-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.js +2 -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 +2 -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 +1 -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 +1 -6
- package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.mjs.map +1 -1
- package/tools/v1/contracts/products/archive-contracts-v1-products.js +2 -2
- package/tools/v1/contracts/products/archive-contracts-v1-products.js.map +1 -1
- package/tools/v1/contracts/products/archive-contracts-v1-products.mjs +2 -2
- package/tools/v1/contracts/products/archive-contracts-v1-products.mjs.map +1 -1
- package/tools/v1/contracts/products/create-contracts-v1-products.js +2 -2
- package/tools/v1/contracts/products/create-contracts-v1-products.js.map +1 -1
- package/tools/v1/contracts/products/create-contracts-v1-products.mjs +2 -2
- package/tools/v1/contracts/products/create-contracts-v1-products.mjs.map +1 -1
- package/tools/v1/contracts/products/list-contracts-v1-products.js +2 -2
- package/tools/v1/contracts/products/list-contracts-v1-products.js.map +1 -1
- package/tools/v1/contracts/products/list-contracts-v1-products.mjs +2 -2
- package/tools/v1/contracts/products/list-contracts-v1-products.mjs.map +1 -1
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.js +2 -2
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.js.map +1 -1
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.mjs +2 -2
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.mjs.map +1 -1
- package/tools/v1/contracts/products/update-contracts-v1-products.js +2 -2
- package/tools/v1/contracts/products/update-contracts-v1-products.js.map +1 -1
- package/tools/v1/contracts/products/update-contracts-v1-products.mjs +2 -2
- package/tools/v1/contracts/products/update-contracts-v1-products.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.js +2 -2
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.js.map +1 -1
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.mjs +2 -2
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.js +2 -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 +2 -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.js +2 -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 +2 -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.js +2 -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 +2 -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 +1 -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 +1 -6
- package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.js +2 -2
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.js.map +1 -1
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.mjs +2 -2
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.js +2 -2
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.js.map +1 -1
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.mjs +2 -2
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.js +2 -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 +2 -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 +2 -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 +2 -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.js +2 -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 +2 -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 +2 -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 +2 -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.js +2 -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 +2 -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.js +2 -2
- package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.js.map +1 -1
- package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.mjs +2 -2
- package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.mjs.map +1 -1
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.js +2 -2
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.mjs +2 -2
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.js +2 -2
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.mjs +2 -2
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/retrieve-v1-contracts.js +1 -1
- package/tools/v1/contracts/retrieve-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/retrieve-v1-contracts.mjs +1 -1
- package/tools/v1/contracts/retrieve-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.js +1 -1
- package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.mjs +1 -1
- package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/set-usage-filter-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/set-usage-filter-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/set-usage-filter-v1-contracts.js +1 -6
- package/tools/v1/contracts/set-usage-filter-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/set-usage-filter-v1-contracts.mjs +1 -6
- package/tools/v1/contracts/set-usage-filter-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/update-end-date-v1-contracts.js +2 -2
- package/tools/v1/contracts/update-end-date-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/update-end-date-v1-contracts.mjs +2 -2
- package/tools/v1/contracts/update-end-date-v1-contracts.mjs.map +1 -1
- package/tools/v1/credit-grants/create-v1-credit-grants.js +2 -2
- package/tools/v1/credit-grants/create-v1-credit-grants.js.map +1 -1
- package/tools/v1/credit-grants/create-v1-credit-grants.mjs +2 -2
- package/tools/v1/credit-grants/create-v1-credit-grants.mjs.map +1 -1
- package/tools/v1/credit-grants/edit-v1-credit-grants.js +2 -2
- package/tools/v1/credit-grants/edit-v1-credit-grants.js.map +1 -1
- package/tools/v1/credit-grants/edit-v1-credit-grants.mjs +2 -2
- package/tools/v1/credit-grants/edit-v1-credit-grants.mjs.map +1 -1
- package/tools/v1/credit-grants/list-entries-v1-credit-grants.js +2 -2
- package/tools/v1/credit-grants/list-entries-v1-credit-grants.js.map +1 -1
- package/tools/v1/credit-grants/list-entries-v1-credit-grants.mjs +2 -2
- package/tools/v1/credit-grants/list-entries-v1-credit-grants.mjs.map +1 -1
- package/tools/v1/credit-grants/list-v1-credit-grants.js +2 -2
- package/tools/v1/credit-grants/list-v1-credit-grants.js.map +1 -1
- package/tools/v1/credit-grants/list-v1-credit-grants.mjs +2 -2
- package/tools/v1/credit-grants/list-v1-credit-grants.mjs.map +1 -1
- package/tools/v1/credit-grants/void-v1-credit-grants.js +2 -2
- package/tools/v1/credit-grants/void-v1-credit-grants.js.map +1 -1
- package/tools/v1/credit-grants/void-v1-credit-grants.mjs +2 -2
- package/tools/v1/credit-grants/void-v1-credit-grants.mjs.map +1 -1
- package/tools/v1/custom-fields/add-key-v1-custom-fields.d.mts.map +1 -1
- package/tools/v1/custom-fields/add-key-v1-custom-fields.d.ts.map +1 -1
- package/tools/v1/custom-fields/add-key-v1-custom-fields.js +1 -6
- package/tools/v1/custom-fields/add-key-v1-custom-fields.js.map +1 -1
- package/tools/v1/custom-fields/add-key-v1-custom-fields.mjs +1 -6
- package/tools/v1/custom-fields/add-key-v1-custom-fields.mjs.map +1 -1
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.d.mts.map +1 -1
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.d.ts.map +1 -1
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.js +1 -6
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.js.map +1 -1
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.mjs +1 -6
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.mjs.map +1 -1
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.js +2 -2
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.js.map +1 -1
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.mjs +2 -2
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.mjs.map +1 -1
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.d.mts.map +1 -1
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.d.ts.map +1 -1
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.js +1 -6
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.js.map +1 -1
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.mjs +1 -6
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.mjs.map +1 -1
- package/tools/v1/custom-fields/set-values-v1-custom-fields.d.mts.map +1 -1
- package/tools/v1/custom-fields/set-values-v1-custom-fields.d.ts.map +1 -1
- package/tools/v1/custom-fields/set-values-v1-custom-fields.js +1 -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 +1 -6
- package/tools/v1/custom-fields/set-values-v1-custom-fields.mjs.map +1 -1
- package/tools/v1/customers/alerts/list-customers-v1-alerts.js +3 -3
- package/tools/v1/customers/alerts/list-customers-v1-alerts.js.map +1 -1
- package/tools/v1/customers/alerts/list-customers-v1-alerts.mjs +3 -3
- package/tools/v1/customers/alerts/list-customers-v1-alerts.mjs.map +1 -1
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.d.mts.map +1 -1
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.d.ts.map +1 -1
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.js +1 -6
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.js.map +1 -1
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.mjs +1 -6
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.mjs.map +1 -1
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.js +3 -3
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.js.map +1 -1
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.mjs +3 -3
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.mjs.map +1 -1
- package/tools/v1/customers/archive-v1-customers.js +2 -2
- package/tools/v1/customers/archive-v1-customers.js.map +1 -1
- package/tools/v1/customers/archive-v1-customers.mjs +2 -2
- package/tools/v1/customers/archive-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.d.mts.map +1 -1
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.d.ts.map +1 -1
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.js +1 -6
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.js.map +1 -1
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.mjs +1 -6
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.mjs.map +1 -1
- package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.d.mts.map +1 -1
- package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.d.ts.map +1 -1
- package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.js +1 -6
- package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.js.map +1 -1
- package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.mjs +1 -6
- package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.mjs.map +1 -1
- package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.d.mts.map +1 -1
- package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.d.ts.map +1 -1
- package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.js +2 -2
- package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.js.map +1 -1
- package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.mjs +2 -2
- package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.mjs.map +1 -1
- package/tools/v1/customers/commits/create-customers-v1-commits.js +2 -2
- package/tools/v1/customers/commits/create-customers-v1-commits.js.map +1 -1
- package/tools/v1/customers/commits/create-customers-v1-commits.mjs +2 -2
- package/tools/v1/customers/commits/create-customers-v1-commits.mjs.map +1 -1
- package/tools/v1/customers/commits/list-customers-v1-commits.d.mts.map +1 -1
- package/tools/v1/customers/commits/list-customers-v1-commits.d.ts.map +1 -1
- package/tools/v1/customers/commits/list-customers-v1-commits.js +1 -1
- package/tools/v1/customers/commits/list-customers-v1-commits.js.map +1 -1
- package/tools/v1/customers/commits/list-customers-v1-commits.mjs +1 -1
- package/tools/v1/customers/commits/list-customers-v1-commits.mjs.map +1 -1
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.d.mts.map +1 -1
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.d.ts.map +1 -1
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.js +2 -2
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.js.map +1 -1
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.mjs +2 -2
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.mjs.map +1 -1
- package/tools/v1/customers/create-v1-customers.js +2 -2
- package/tools/v1/customers/create-v1-customers.js.map +1 -1
- package/tools/v1/customers/create-v1-customers.mjs +2 -2
- package/tools/v1/customers/create-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/credits/create-customers-v1-credits.js +2 -2
- package/tools/v1/customers/credits/create-customers-v1-credits.js.map +1 -1
- package/tools/v1/customers/credits/create-customers-v1-credits.mjs +2 -2
- package/tools/v1/customers/credits/create-customers-v1-credits.mjs.map +1 -1
- package/tools/v1/customers/credits/list-customers-v1-credits.d.mts.map +1 -1
- package/tools/v1/customers/credits/list-customers-v1-credits.d.ts.map +1 -1
- package/tools/v1/customers/credits/list-customers-v1-credits.js +1 -1
- package/tools/v1/customers/credits/list-customers-v1-credits.js.map +1 -1
- package/tools/v1/customers/credits/list-customers-v1-credits.mjs +1 -1
- package/tools/v1/customers/credits/list-customers-v1-credits.mjs.map +1 -1
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.d.mts.map +1 -1
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.d.ts.map +1 -1
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.js +2 -2
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.js.map +1 -1
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.mjs +2 -2
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.mjs.map +1 -1
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.d.mts.map +1 -1
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.d.ts.map +1 -1
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.js +2 -2
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.js.map +1 -1
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.mjs +2 -2
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.mjs.map +1 -1
- package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.js +1 -1
- package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.js.map +1 -1
- package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.mjs +1 -1
- package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.mjs.map +1 -1
- package/tools/v1/customers/invoices/list-customers-v1-invoices.js +1 -1
- package/tools/v1/customers/invoices/list-customers-v1-invoices.js.map +1 -1
- package/tools/v1/customers/invoices/list-customers-v1-invoices.mjs +1 -1
- package/tools/v1/customers/invoices/list-customers-v1-invoices.mjs.map +1 -1
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.d.mts.map +1 -1
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.d.ts.map +1 -1
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.js +1 -1
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.js.map +1 -1
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.mjs +1 -1
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.mjs.map +1 -1
- package/tools/v1/customers/list-billable-metrics-v1-customers.js +2 -2
- package/tools/v1/customers/list-billable-metrics-v1-customers.js.map +1 -1
- package/tools/v1/customers/list-billable-metrics-v1-customers.mjs +2 -2
- package/tools/v1/customers/list-billable-metrics-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/list-costs-v1-customers.js +2 -2
- package/tools/v1/customers/list-costs-v1-customers.js.map +1 -1
- package/tools/v1/customers/list-costs-v1-customers.mjs +2 -2
- package/tools/v1/customers/list-costs-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/list-v1-customers.js +2 -2
- package/tools/v1/customers/list-v1-customers.js.map +1 -1
- package/tools/v1/customers/list-v1-customers.mjs +2 -2
- package/tools/v1/customers/list-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.js +2 -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 +2 -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 +1 -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 +1 -6
- package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.mjs.map +1 -1
- package/tools/v1/customers/plans/add-customers-v1-plans.js +2 -2
- package/tools/v1/customers/plans/add-customers-v1-plans.js.map +1 -1
- package/tools/v1/customers/plans/add-customers-v1-plans.mjs +2 -2
- package/tools/v1/customers/plans/add-customers-v1-plans.mjs.map +1 -1
- package/tools/v1/customers/plans/end-customers-v1-plans.js +2 -2
- package/tools/v1/customers/plans/end-customers-v1-plans.js.map +1 -1
- package/tools/v1/customers/plans/end-customers-v1-plans.mjs +2 -2
- package/tools/v1/customers/plans/end-customers-v1-plans.mjs.map +1 -1
- package/tools/v1/customers/plans/list-customers-v1-plans.js +2 -2
- package/tools/v1/customers/plans/list-customers-v1-plans.js.map +1 -1
- package/tools/v1/customers/plans/list-customers-v1-plans.mjs +2 -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.js +2 -2
- package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.js.map +1 -1
- package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.mjs +2 -2
- package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.mjs.map +1 -1
- package/tools/v1/customers/preview-events-v1-customers.js +1 -1
- package/tools/v1/customers/preview-events-v1-customers.js.map +1 -1
- package/tools/v1/customers/preview-events-v1-customers.mjs +1 -1
- package/tools/v1/customers/preview-events-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/retrieve-v1-customers.js +2 -2
- package/tools/v1/customers/retrieve-v1-customers.js.map +1 -1
- package/tools/v1/customers/retrieve-v1-customers.mjs +2 -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 +1 -6
- package/tools/v1/customers/set-ingest-aliases-v1-customers.js.map +1 -1
- package/tools/v1/customers/set-ingest-aliases-v1-customers.mjs +1 -6
- package/tools/v1/customers/set-ingest-aliases-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/set-name-v1-customers.js +2 -2
- package/tools/v1/customers/set-name-v1-customers.js.map +1 -1
- package/tools/v1/customers/set-name-v1-customers.mjs +2 -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 +1 -6
- package/tools/v1/customers/update-config-v1-customers.js.map +1 -1
- package/tools/v1/customers/update-config-v1-customers.mjs +1 -6
- package/tools/v1/customers/update-config-v1-customers.mjs.map +1 -1
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.d.mts.map +1 -1
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.d.ts.map +1 -1
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.js +4 -2
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.js.map +1 -1
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.mjs +4 -2
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.mjs.map +1 -1
- package/tools/v1/invoices/regenerate-v1-invoices.js +2 -2
- package/tools/v1/invoices/regenerate-v1-invoices.js.map +1 -1
- package/tools/v1/invoices/regenerate-v1-invoices.mjs +2 -2
- package/tools/v1/invoices/regenerate-v1-invoices.mjs.map +1 -1
- package/tools/v1/invoices/void-v1-invoices.js +2 -2
- package/tools/v1/invoices/void-v1-invoices.js.map +1 -1
- package/tools/v1/invoices/void-v1-invoices.mjs +2 -2
- package/tools/v1/invoices/void-v1-invoices.mjs.map +1 -1
- package/tools/v1/plans/get-details-v1-plans.js +2 -2
- package/tools/v1/plans/get-details-v1-plans.js.map +1 -1
- package/tools/v1/plans/get-details-v1-plans.mjs +2 -2
- package/tools/v1/plans/get-details-v1-plans.mjs.map +1 -1
- package/tools/v1/plans/list-charges-v1-plans.js +2 -2
- package/tools/v1/plans/list-charges-v1-plans.js.map +1 -1
- package/tools/v1/plans/list-charges-v1-plans.mjs +2 -2
- package/tools/v1/plans/list-charges-v1-plans.mjs.map +1 -1
- package/tools/v1/plans/list-customers-v1-plans.js +2 -2
- package/tools/v1/plans/list-customers-v1-plans.js.map +1 -1
- package/tools/v1/plans/list-customers-v1-plans.mjs +2 -2
- package/tools/v1/plans/list-customers-v1-plans.mjs.map +1 -1
- package/tools/v1/plans/list-v1-plans.js +2 -2
- package/tools/v1/plans/list-v1-plans.js.map +1 -1
- package/tools/v1/plans/list-v1-plans.mjs +2 -2
- package/tools/v1/plans/list-v1-plans.mjs.map +1 -1
- package/tools/v1/pricing-units/list-v1-pricing-units.js +2 -2
- package/tools/v1/pricing-units/list-v1-pricing-units.js.map +1 -1
- package/tools/v1/pricing-units/list-v1-pricing-units.mjs +2 -2
- package/tools/v1/pricing-units/list-v1-pricing-units.mjs.map +1 -1
- package/tools/v1/services/list-v1-services.d.mts.map +1 -1
- package/tools/v1/services/list-v1-services.d.ts.map +1 -1
- package/tools/v1/services/list-v1-services.js +2 -1
- package/tools/v1/services/list-v1-services.js.map +1 -1
- package/tools/v1/services/list-v1-services.mjs +2 -1
- package/tools/v1/services/list-v1-services.mjs.map +1 -1
- package/tools/v1/usage/ingest-v1-usage.d.mts.map +1 -1
- package/tools/v1/usage/ingest-v1-usage.d.ts.map +1 -1
- package/tools/v1/usage/ingest-v1-usage.js +1 -6
- package/tools/v1/usage/ingest-v1-usage.js.map +1 -1
- package/tools/v1/usage/ingest-v1-usage.mjs +1 -6
- package/tools/v1/usage/ingest-v1-usage.mjs.map +1 -1
- package/tools/v1/usage/list-v1-usage.js +2 -2
- package/tools/v1/usage/list-v1-usage.js.map +1 -1
- package/tools/v1/usage/list-v1-usage.mjs +2 -2
- package/tools/v1/usage/list-v1-usage.mjs.map +1 -1
- package/tools/v1/usage/list-with-groups-v1-usage.js +2 -2
- package/tools/v1/usage/list-with-groups-v1-usage.js.map +1 -1
- package/tools/v1/usage/list-with-groups-v1-usage.mjs +2 -2
- package/tools/v1/usage/list-with-groups-v1-usage.mjs.map +1 -1
- package/tools/v1/usage/search-v1-usage.js +2 -2
- package/tools/v1/usage/search-v1-usage.js.map +1 -1
- package/tools/v1/usage/search-v1-usage.mjs +2 -2
- package/tools/v1/usage/search-v1-usage.mjs.map +1 -1
- package/tools/v2/contracts/edit-commit-v2-contracts.js +3 -3
- package/tools/v2/contracts/edit-commit-v2-contracts.js.map +1 -1
- package/tools/v2/contracts/edit-commit-v2-contracts.mjs +3 -3
- package/tools/v2/contracts/edit-commit-v2-contracts.mjs.map +1 -1
- package/tools/v2/contracts/edit-credit-v2-contracts.js +3 -3
- package/tools/v2/contracts/edit-credit-v2-contracts.js.map +1 -1
- package/tools/v2/contracts/edit-credit-v2-contracts.mjs +3 -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 +69 -13
- package/tools/v2/contracts/edit-v2-contracts.js.map +1 -1
- package/tools/v2/contracts/edit-v2-contracts.mjs +69 -13
- package/tools/v2/contracts/edit-v2-contracts.mjs.map +1 -1
- package/tools/v2/contracts/get-edit-history-v2-contracts.js +1 -1
- package/tools/v2/contracts/get-edit-history-v2-contracts.js.map +1 -1
- package/tools/v2/contracts/get-edit-history-v2-contracts.mjs +1 -1
- package/tools/v2/contracts/get-edit-history-v2-contracts.mjs.map +1 -1
- package/tools/v2/contracts/list-v2-contracts.js +1 -1
- package/tools/v2/contracts/list-v2-contracts.js.map +1 -1
- package/tools/v2/contracts/list-v2-contracts.mjs +1 -1
- package/tools/v2/contracts/list-v2-contracts.mjs.map +1 -1
- package/tools/v2/contracts/retrieve-v2-contracts.d.mts.map +1 -1
- package/tools/v2/contracts/retrieve-v2-contracts.d.ts.map +1 -1
- package/tools/v2/contracts/retrieve-v2-contracts.js +1 -1
- package/tools/v2/contracts/retrieve-v2-contracts.js.map +1 -1
- package/tools/v2/contracts/retrieve-v2-contracts.mjs +1 -1
- package/tools/v2/contracts/retrieve-v2-contracts.mjs.map +1 -1
|
@@ -17,7 +17,7 @@ export const metadata: Metadata = {
|
|
|
17
17
|
export const tool: Tool = {
|
|
18
18
|
name: 'update_contracts_v1_named_schedules',
|
|
19
19
|
description:
|
|
20
|
-
"
|
|
20
|
+
"Update a named schedule for the given rate card. This endpoint's availability is dependent on your client's configuration.",
|
|
21
21
|
inputSchema: {
|
|
22
22
|
type: 'object',
|
|
23
23
|
properties: {
|
|
@@ -42,12 +42,6 @@ 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: ['rate_card_id', 'schedule_name', 'starting_at', 'value'],
|
|
53
47
|
},
|
|
@@ -39,8 +39,8 @@ export const tool: Tool = {
|
|
|
39
39
|
};
|
|
40
40
|
|
|
41
41
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
42
|
-
const body = args as any;
|
|
43
|
-
return asTextContentResult(await maybeFilter(
|
|
42
|
+
const { jq_filter, ...body } = args as any;
|
|
43
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.v1.contracts.products.archive(body)));
|
|
44
44
|
};
|
|
45
45
|
|
|
46
46
|
export default { metadata, tool, handler };
|
|
@@ -145,8 +145,8 @@ export const tool: Tool = {
|
|
|
145
145
|
};
|
|
146
146
|
|
|
147
147
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
148
|
-
const body = args as any;
|
|
149
|
-
return asTextContentResult(await maybeFilter(
|
|
148
|
+
const { jq_filter, ...body } = args as any;
|
|
149
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.v1.contracts.products.create(body)));
|
|
150
150
|
};
|
|
151
151
|
|
|
152
152
|
export default { metadata, tool, handler };
|
|
@@ -48,9 +48,9 @@ export const tool: Tool = {
|
|
|
48
48
|
};
|
|
49
49
|
|
|
50
50
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
51
|
-
const body = args as any;
|
|
51
|
+
const { jq_filter, ...body } = args as any;
|
|
52
52
|
const response = await client.v1.contracts.products.list(body).asResponse();
|
|
53
|
-
return asTextContentResult(await maybeFilter(
|
|
53
|
+
return asTextContentResult(await maybeFilter(jq_filter, await response.json()));
|
|
54
54
|
};
|
|
55
55
|
|
|
56
56
|
export default { metadata, tool, handler };
|
|
@@ -38,8 +38,8 @@ export const tool: Tool = {
|
|
|
38
38
|
};
|
|
39
39
|
|
|
40
40
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
41
|
-
const body = args as any;
|
|
42
|
-
return asTextContentResult(await maybeFilter(
|
|
41
|
+
const { jq_filter, ...body } = args as any;
|
|
42
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.v1.contracts.products.retrieve(body)));
|
|
43
43
|
};
|
|
44
44
|
|
|
45
45
|
export default { metadata, tool, handler };
|
|
@@ -157,8 +157,8 @@ export const tool: Tool = {
|
|
|
157
157
|
};
|
|
158
158
|
|
|
159
159
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
160
|
-
const body = args as any;
|
|
161
|
-
return asTextContentResult(await maybeFilter(
|
|
160
|
+
const { jq_filter, ...body } = args as any;
|
|
161
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.v1.contracts.products.update(body)));
|
|
162
162
|
};
|
|
163
163
|
|
|
164
164
|
export default { metadata, tool, handler };
|
|
@@ -38,8 +38,8 @@ export const tool: Tool = {
|
|
|
38
38
|
};
|
|
39
39
|
|
|
40
40
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
41
|
-
const body = args as any;
|
|
42
|
-
return asTextContentResult(await maybeFilter(
|
|
41
|
+
const { jq_filter, ...body } = args as any;
|
|
42
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.v1.contracts.rateCards.archive(body)));
|
|
43
43
|
};
|
|
44
44
|
|
|
45
45
|
export default { metadata, tool, handler };
|
|
@@ -88,8 +88,8 @@ export const tool: Tool = {
|
|
|
88
88
|
};
|
|
89
89
|
|
|
90
90
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
91
|
-
const body = args as any;
|
|
92
|
-
return asTextContentResult(await maybeFilter(
|
|
91
|
+
const { jq_filter, ...body } = args as any;
|
|
92
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.v1.contracts.rateCards.create(body)));
|
|
93
93
|
};
|
|
94
94
|
|
|
95
95
|
export default { metadata, tool, handler };
|
|
@@ -46,9 +46,9 @@ export const tool: Tool = {
|
|
|
46
46
|
};
|
|
47
47
|
|
|
48
48
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
49
|
-
const body = args as any;
|
|
49
|
+
const { jq_filter, ...body } = args as any;
|
|
50
50
|
const response = await client.v1.contracts.rateCards.list(body).asResponse();
|
|
51
|
-
return asTextContentResult(await maybeFilter(
|
|
51
|
+
return asTextContentResult(await maybeFilter(jq_filter, await response.json()));
|
|
52
52
|
};
|
|
53
53
|
|
|
54
54
|
export default { metadata, tool, handler };
|
|
@@ -53,9 +53,9 @@ export const tool: Tool = {
|
|
|
53
53
|
};
|
|
54
54
|
|
|
55
55
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
56
|
-
const body = args as any;
|
|
56
|
+
const { jq_filter, ...body } = args as any;
|
|
57
57
|
return asTextContentResult(
|
|
58
|
-
await maybeFilter(
|
|
58
|
+
await maybeFilter(jq_filter, await client.v1.contracts.rateCards.namedSchedules.retrieve(body)),
|
|
59
59
|
);
|
|
60
60
|
};
|
|
61
61
|
|
|
@@ -17,7 +17,7 @@ export const metadata: Metadata = {
|
|
|
17
17
|
export const tool: Tool = {
|
|
18
18
|
name: 'update_rate_cards_contracts_v1_named_schedules',
|
|
19
19
|
description:
|
|
20
|
-
"
|
|
20
|
+
"Update a named schedule for the given contract. This endpoint's availability is dependent on your client's configuration.",
|
|
21
21
|
inputSchema: {
|
|
22
22
|
type: 'object',
|
|
23
23
|
properties: {
|
|
@@ -46,12 +46,6 @@ export const tool: Tool = {
|
|
|
46
46
|
type: 'string',
|
|
47
47
|
format: 'date-time',
|
|
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: ['contract_id', 'customer_id', 'schedule_name', 'starting_at', 'value'],
|
|
57
51
|
},
|
|
@@ -45,9 +45,9 @@ export const tool: Tool = {
|
|
|
45
45
|
};
|
|
46
46
|
|
|
47
47
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
48
|
-
const body = args as any;
|
|
48
|
+
const { jq_filter, ...body } = args as any;
|
|
49
49
|
return asTextContentResult(
|
|
50
|
-
await maybeFilter(
|
|
50
|
+
await maybeFilter(jq_filter, await client.v1.contracts.rateCards.productOrders.set(body)),
|
|
51
51
|
);
|
|
52
52
|
};
|
|
53
53
|
|
|
@@ -56,9 +56,9 @@ export const tool: Tool = {
|
|
|
56
56
|
};
|
|
57
57
|
|
|
58
58
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
59
|
-
const body = args as any;
|
|
59
|
+
const { jq_filter, ...body } = args as any;
|
|
60
60
|
return asTextContentResult(
|
|
61
|
-
await maybeFilter(
|
|
61
|
+
await maybeFilter(jq_filter, await client.v1.contracts.rateCards.productOrders.update(body)),
|
|
62
62
|
);
|
|
63
63
|
};
|
|
64
64
|
|
|
@@ -152,9 +152,9 @@ export const tool: Tool = {
|
|
|
152
152
|
};
|
|
153
153
|
|
|
154
154
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
155
|
-
const body = args as any;
|
|
155
|
+
const { jq_filter, ...body } = args as any;
|
|
156
156
|
return asTextContentResult(
|
|
157
|
-
await maybeFilter(
|
|
157
|
+
await maybeFilter(jq_filter, await client.v1.contracts.rateCards.rates.addMany(body)),
|
|
158
158
|
);
|
|
159
159
|
};
|
|
160
160
|
|
|
@@ -143,8 +143,10 @@ export const tool: Tool = {
|
|
|
143
143
|
};
|
|
144
144
|
|
|
145
145
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
146
|
-
const body = args as any;
|
|
147
|
-
return asTextContentResult(
|
|
146
|
+
const { jq_filter, ...body } = args as any;
|
|
147
|
+
return asTextContentResult(
|
|
148
|
+
await maybeFilter(jq_filter, await client.v1.contracts.rateCards.rates.add(body)),
|
|
149
|
+
);
|
|
148
150
|
};
|
|
149
151
|
|
|
150
152
|
export default { metadata, tool, handler };
|
|
@@ -90,9 +90,9 @@ export const tool: Tool = {
|
|
|
90
90
|
};
|
|
91
91
|
|
|
92
92
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
93
|
-
const body = args as any;
|
|
93
|
+
const { jq_filter, ...body } = args as any;
|
|
94
94
|
const response = await client.v1.contracts.rateCards.rates.list(body).asResponse();
|
|
95
|
-
return asTextContentResult(await maybeFilter(
|
|
95
|
+
return asTextContentResult(await maybeFilter(jq_filter, await response.json()));
|
|
96
96
|
};
|
|
97
97
|
|
|
98
98
|
export default { metadata, tool, handler };
|
|
@@ -38,8 +38,10 @@ export const tool: Tool = {
|
|
|
38
38
|
};
|
|
39
39
|
|
|
40
40
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
41
|
-
const body = args as any;
|
|
42
|
-
return asTextContentResult(
|
|
41
|
+
const { jq_filter, ...body } = args as any;
|
|
42
|
+
return asTextContentResult(
|
|
43
|
+
await maybeFilter(jq_filter, await client.v1.contracts.rateCards.retrieve(body)),
|
|
44
|
+
);
|
|
43
45
|
};
|
|
44
46
|
|
|
45
47
|
export default { metadata, tool, handler };
|
|
@@ -88,9 +88,9 @@ export const tool: Tool = {
|
|
|
88
88
|
};
|
|
89
89
|
|
|
90
90
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
91
|
-
const body = args as any;
|
|
91
|
+
const { jq_filter, ...body } = args as any;
|
|
92
92
|
return asTextContentResult(
|
|
93
|
-
await maybeFilter(
|
|
93
|
+
await maybeFilter(jq_filter, await client.v1.contracts.rateCards.retrieveRateSchedule(body)),
|
|
94
94
|
);
|
|
95
95
|
};
|
|
96
96
|
|
|
@@ -68,8 +68,8 @@ export const tool: Tool = {
|
|
|
68
68
|
};
|
|
69
69
|
|
|
70
70
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
71
|
-
const body = args as any;
|
|
72
|
-
return asTextContentResult(await maybeFilter(
|
|
71
|
+
const { jq_filter, ...body } = args as any;
|
|
72
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.v1.contracts.rateCards.update(body)));
|
|
73
73
|
};
|
|
74
74
|
|
|
75
75
|
export default { metadata, tool, handler };
|
|
@@ -95,8 +95,10 @@ export const tool: Tool = {
|
|
|
95
95
|
};
|
|
96
96
|
|
|
97
97
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
98
|
-
const body = args as any;
|
|
99
|
-
return asTextContentResult(
|
|
98
|
+
const { jq_filter, ...body } = args as any;
|
|
99
|
+
return asTextContentResult(
|
|
100
|
+
await maybeFilter(jq_filter, await client.v1.contracts.retrieveRateSchedule(body)),
|
|
101
|
+
);
|
|
100
102
|
};
|
|
101
103
|
|
|
102
104
|
export default { metadata, tool, handler };
|
|
@@ -44,9 +44,9 @@ export const tool: Tool = {
|
|
|
44
44
|
};
|
|
45
45
|
|
|
46
46
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
47
|
-
const body = args as any;
|
|
47
|
+
const { jq_filter, ...body } = args as any;
|
|
48
48
|
return asTextContentResult(
|
|
49
|
-
await maybeFilter(
|
|
49
|
+
await maybeFilter(jq_filter, await client.v1.contracts.retrieveSubscriptionQuantityHistory(body)),
|
|
50
50
|
);
|
|
51
51
|
};
|
|
52
52
|
|
|
@@ -17,7 +17,7 @@ export const metadata: Metadata = {
|
|
|
17
17
|
export const tool: Tool = {
|
|
18
18
|
name: 'retrieve_v1_contracts',
|
|
19
19
|
description:
|
|
20
|
-
|
|
20
|
+
'This is the v1 endpoint to get a contract. New clients should implement using the v2 endpoint.\n',
|
|
21
21
|
inputSchema: {
|
|
22
22
|
type: 'object',
|
|
23
23
|
properties: {
|
|
@@ -17,7 +17,7 @@ export const metadata: Metadata = {
|
|
|
17
17
|
export const tool: Tool = {
|
|
18
18
|
name: 'schedule_pro_services_invoice_v1_contracts',
|
|
19
19
|
description:
|
|
20
|
-
"
|
|
20
|
+
"Create a new scheduled invoice for Professional Services terms on a contract. This endpoint's availability is dependent on your client's configuration.\n",
|
|
21
21
|
inputSchema: {
|
|
22
22
|
type: 'object',
|
|
23
23
|
properties: {
|
|
@@ -16,8 +16,7 @@ export const metadata: Metadata = {
|
|
|
16
16
|
|
|
17
17
|
export const tool: Tool = {
|
|
18
18
|
name: 'set_usage_filter_v1_contracts',
|
|
19
|
-
description:
|
|
20
|
-
"When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nSet usage filter for a contract\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {}\n}\n```",
|
|
19
|
+
description: 'Set usage filter for a contract\n',
|
|
21
20
|
inputSchema: {
|
|
22
21
|
type: 'object',
|
|
23
22
|
properties: {
|
|
@@ -40,12 +39,6 @@ export const tool: Tool = {
|
|
|
40
39
|
type: 'string',
|
|
41
40
|
format: 'date-time',
|
|
42
41
|
},
|
|
43
|
-
jq_filter: {
|
|
44
|
-
type: 'string',
|
|
45
|
-
title: 'jq Filter',
|
|
46
|
-
description:
|
|
47
|
-
'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/).',
|
|
48
|
-
},
|
|
49
42
|
},
|
|
50
43
|
required: ['contract_id', 'customer_id', 'group_key', 'group_values', 'starting_at'],
|
|
51
44
|
},
|
|
@@ -54,8 +54,8 @@ export const tool: Tool = {
|
|
|
54
54
|
};
|
|
55
55
|
|
|
56
56
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
57
|
-
const body = args as any;
|
|
58
|
-
return asTextContentResult(await maybeFilter(
|
|
57
|
+
const { jq_filter, ...body } = args as any;
|
|
58
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.v1.contracts.updateEndDate(body)));
|
|
59
59
|
};
|
|
60
60
|
|
|
61
61
|
export default { metadata, tool, handler };
|
|
@@ -173,8 +173,8 @@ export const tool: Tool = {
|
|
|
173
173
|
};
|
|
174
174
|
|
|
175
175
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
176
|
-
const body = args as any;
|
|
177
|
-
return asTextContentResult(await maybeFilter(
|
|
176
|
+
const { jq_filter, ...body } = args as any;
|
|
177
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.v1.creditGrants.create(body)));
|
|
178
178
|
};
|
|
179
179
|
|
|
180
180
|
export default { metadata, tool, handler };
|
|
@@ -52,8 +52,8 @@ export const tool: Tool = {
|
|
|
52
52
|
};
|
|
53
53
|
|
|
54
54
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
55
|
-
const body = args as any;
|
|
56
|
-
return asTextContentResult(await maybeFilter(
|
|
55
|
+
const { jq_filter, ...body } = args as any;
|
|
56
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.v1.creditGrants.edit(body)));
|
|
57
57
|
};
|
|
58
58
|
|
|
59
59
|
export default { metadata, tool, handler };
|
|
@@ -71,8 +71,8 @@ export const tool: Tool = {
|
|
|
71
71
|
};
|
|
72
72
|
|
|
73
73
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
74
|
-
const body = args as any;
|
|
75
|
-
return asTextContentResult(await maybeFilter(
|
|
74
|
+
const { jq_filter, ...body } = args as any;
|
|
75
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.v1.creditGrants.listEntries(body)));
|
|
76
76
|
};
|
|
77
77
|
|
|
78
78
|
export default { metadata, tool, handler };
|
|
@@ -77,9 +77,9 @@ export const tool: Tool = {
|
|
|
77
77
|
};
|
|
78
78
|
|
|
79
79
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
80
|
-
const body = args as any;
|
|
80
|
+
const { jq_filter, ...body } = args as any;
|
|
81
81
|
const response = await client.v1.creditGrants.list(body).asResponse();
|
|
82
|
-
return asTextContentResult(await maybeFilter(
|
|
82
|
+
return asTextContentResult(await maybeFilter(jq_filter, await response.json()));
|
|
83
83
|
};
|
|
84
84
|
|
|
85
85
|
export default { metadata, tool, handler };
|
|
@@ -46,8 +46,8 @@ export const tool: Tool = {
|
|
|
46
46
|
};
|
|
47
47
|
|
|
48
48
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
49
|
-
const body = args as any;
|
|
50
|
-
return asTextContentResult(await maybeFilter(
|
|
49
|
+
const { jq_filter, ...body } = args as any;
|
|
50
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.v1.creditGrants.void(body)));
|
|
51
51
|
};
|
|
52
52
|
|
|
53
53
|
export default { metadata, tool, handler };
|
|
@@ -17,7 +17,7 @@ export const metadata: Metadata = {
|
|
|
17
17
|
export const tool: Tool = {
|
|
18
18
|
name: 'add_key_v1_custom_fields',
|
|
19
19
|
description:
|
|
20
|
-
|
|
20
|
+
'Add a key to the allow list for a given entity. There is a 100 character limit on custom field keys.\n',
|
|
21
21
|
inputSchema: {
|
|
22
22
|
type: 'object',
|
|
23
23
|
properties: {
|
|
@@ -50,12 +50,6 @@ export const tool: Tool = {
|
|
|
50
50
|
key: {
|
|
51
51
|
type: 'string',
|
|
52
52
|
},
|
|
53
|
-
jq_filter: {
|
|
54
|
-
type: 'string',
|
|
55
|
-
title: 'jq Filter',
|
|
56
|
-
description:
|
|
57
|
-
'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/).',
|
|
58
|
-
},
|
|
59
53
|
},
|
|
60
54
|
required: ['enforce_uniqueness', 'entity', 'key'],
|
|
61
55
|
},
|
|
@@ -16,8 +16,7 @@ export const metadata: Metadata = {
|
|
|
16
16
|
|
|
17
17
|
export const tool: Tool = {
|
|
18
18
|
name: 'delete_values_v1_custom_fields',
|
|
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\nDeletes one or more custom fields on an instance of a Metronome entity.\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {}\n}\n```",
|
|
19
|
+
description: 'Deletes one or more custom fields on an instance of a Metronome entity.\n',
|
|
21
20
|
inputSchema: {
|
|
22
21
|
type: 'object',
|
|
23
22
|
properties: {
|
|
@@ -53,12 +52,6 @@ export const tool: Tool = {
|
|
|
53
52
|
type: 'string',
|
|
54
53
|
},
|
|
55
54
|
},
|
|
56
|
-
jq_filter: {
|
|
57
|
-
type: 'string',
|
|
58
|
-
title: 'jq Filter',
|
|
59
|
-
description:
|
|
60
|
-
'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/).',
|
|
61
|
-
},
|
|
62
55
|
},
|
|
63
56
|
required: ['entity', 'entity_id', 'keys'],
|
|
64
57
|
},
|
|
@@ -66,8 +66,8 @@ export const tool: Tool = {
|
|
|
66
66
|
};
|
|
67
67
|
|
|
68
68
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
69
|
-
const body = args as any;
|
|
70
|
-
return asTextContentResult(await maybeFilter(
|
|
69
|
+
const { jq_filter, ...body } = args as any;
|
|
70
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.v1.customFields.listKeys(body)));
|
|
71
71
|
};
|
|
72
72
|
|
|
73
73
|
export default { metadata, tool, handler };
|
|
@@ -16,8 +16,7 @@ export const metadata: Metadata = {
|
|
|
16
16
|
|
|
17
17
|
export const tool: Tool = {
|
|
18
18
|
name: 'remove_key_v1_custom_fields',
|
|
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\nRemove a key from the allow list for a given entity.\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {}\n}\n```",
|
|
19
|
+
description: 'Remove a key from the allow list for a given entity.\n',
|
|
21
20
|
inputSchema: {
|
|
22
21
|
type: 'object',
|
|
23
22
|
properties: {
|
|
@@ -47,12 +46,6 @@ export const tool: Tool = {
|
|
|
47
46
|
key: {
|
|
48
47
|
type: 'string',
|
|
49
48
|
},
|
|
50
|
-
jq_filter: {
|
|
51
|
-
type: 'string',
|
|
52
|
-
title: 'jq Filter',
|
|
53
|
-
description:
|
|
54
|
-
'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/).',
|
|
55
|
-
},
|
|
56
49
|
},
|
|
57
50
|
required: ['entity', 'key'],
|
|
58
51
|
},
|
|
@@ -17,7 +17,7 @@ export const metadata: Metadata = {
|
|
|
17
17
|
export const tool: Tool = {
|
|
18
18
|
name: 'set_values_v1_custom_fields',
|
|
19
19
|
description:
|
|
20
|
-
|
|
20
|
+
'Sets one or more custom fields on an instance of a Metronome entity. If a key/value pair passed in this request matches one already set on the entity, its value will be overwritten. Any key/value pairs that exist on the entity that do not match those passed in this request will remain untouched. This endpoint is transactional and will update all key/value pairs or no key/value pairs. Partial updates are not supported. There is a 200 character limit on custom field values.\n',
|
|
21
21
|
inputSchema: {
|
|
22
22
|
type: 'object',
|
|
23
23
|
properties: {
|
|
@@ -50,12 +50,6 @@ export const tool: Tool = {
|
|
|
50
50
|
entity_id: {
|
|
51
51
|
type: 'string',
|
|
52
52
|
},
|
|
53
|
-
jq_filter: {
|
|
54
|
-
type: 'string',
|
|
55
|
-
title: 'jq Filter',
|
|
56
|
-
description:
|
|
57
|
-
'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/).',
|
|
58
|
-
},
|
|
59
53
|
},
|
|
60
54
|
required: ['custom_fields', 'entity', 'entity_id'],
|
|
61
55
|
},
|
|
@@ -18,7 +18,7 @@ export const metadata: Metadata = {
|
|
|
18
18
|
export const tool: Tool = {
|
|
19
19
|
name: 'list_customers_v1_alerts',
|
|
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 all customer alert statuses and alert information for a customer\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n type: 'array',\n items: {\n $ref: '#/$defs/customer_alert'\n }\n },\n next_page: {\n type: 'string'\n }\n },\n required: [ 'data',\n 'next_page'\n ],\n $defs: {\n customer_alert: {\n type: 'object',\n properties: {\n alert: {\n type: 'object',\n properties: {\n id: {\n type: 'string',\n description: 'the Metronome ID of the alert'\n },\n name: {\n type: 'string',\n description: 'Name of the alert'\n },\n status: {\n type: 'string',\n description: 'Status of the alert',\n enum: [ 'enabled',\n 'archived',\n 'disabled'\n ]\n },\n threshold: {\n type: 'number',\n description: 'Threshold value of the alert policy'\n },\n type: {\n type: 'string',\n description: 'Type of the alert',\n enum: [ 'low_credit_balance_reached',\n 'spend_threshold_reached',\n 'monthly_invoice_total_spend_threshold_reached',\n 'low_remaining_days_in_plan_reached',\n 'low_remaining_credit_percentage_reached',\n 'usage_threshold_reached',\n 'low_remaining_days_for_commit_segment_reached',\n 'low_remaining_commit_balance_reached',\n 'low_remaining_commit_percentage_reached',\n 'low_remaining_days_for_contract_credit_segment_reached',\n 'low_remaining_contract_credit_balance_reached',\n 'low_remaining_contract_credit_percentage_reached',\n 'low_remaining_contract_credit_and_commit_balance_reached',\n 'invoice_total_reached'\n ]\n },\n updated_at: {\n type: 'string',\n description: 'Timestamp for when the alert was last updated',\n format: 'date-time'\n },\n credit_grant_type_filters: {\n type: 'array',\n description: 'An array of strings, representing a way to filter the credit grant this alert applies to, by looking at the credit_grant_type field on the credit grant. This field is only defined for CreditPercentage and CreditBalance alerts',\n items: {\n type: 'string'\n }\n },\n credit_type: {\n $ref: '#/$defs/credit_type_data'\n },\n custom_field_filters: {\n type: 'array',\n description: 'A list of custom field filters for alert types that support advanced filtering',\n items: {\n type: 'object',\n properties: {\n entity: {\n type: 'string',\n enum: [ 'Contract',\n 'Commit',\n 'ContractCredit'\n ]\n },\n key: {\n type: 'string'\n },\n value: {\n type: 'string'\n }\n },\n required: [ 'entity',\n 'key',\n 'value'\n ]\n }\n },\n group_key_filter: {\n type: 'object',\n description: 'Scopes alert evaluation to a specific presentation group key on individual line items. Only present for spend alerts.',\n properties: {\n key: {\n type: 'string'\n },\n value: {\n type: 'string'\n }\n },\n required: [ 'key',\n 'value'\n ]\n },\n invoice_types_filter: {\n type: 'array',\n description: 'Only supported for invoice_total_reached alerts. A list of invoice types to evaluate.',\n items: {\n type: 'string'\n }\n },\n uniqueness_key: {\n type: 'string',\n description: 'Prevents the creation of duplicates. If a request to create a record is made with a previously used uniqueness key, a new record will not be created and the request will fail with a 409 error.'\n }\n },\n required: [ 'id',\n 'name',\n 'status',\n 'threshold',\n 'type',\n 'updated_at'\n ]\n },\n customer_status: {\n type: 'string',\n description: 'The status of the customer alert. If the alert is archived, null will be returned.',\n enum: [ 'ok',\n 'in_alarm',\n 'evaluating'\n ]\n },\n triggered_by: {\n type: 'string',\n description: 'If present, indicates the reason the alert was triggered.'\n }\n },\n required: [ 'alert',\n 'customer_status'\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\nFetch all customer alert statuses and alert information for a customer\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n type: 'array',\n items: {\n $ref: '#/$defs/customer_alert'\n }\n },\n next_page: {\n type: 'string'\n }\n },\n required: [ 'data',\n 'next_page'\n ],\n $defs: {\n customer_alert: {\n type: 'object',\n properties: {\n alert: {\n type: 'object',\n properties: {\n id: {\n type: 'string',\n description: 'the Metronome ID of the alert'\n },\n name: {\n type: 'string',\n description: 'Name of the alert'\n },\n status: {\n type: 'string',\n description: 'Status of the alert',\n enum: [ 'enabled',\n 'archived',\n 'disabled'\n ]\n },\n threshold: {\n type: 'number',\n description: 'Threshold value of the alert policy'\n },\n type: {\n type: 'string',\n description: 'Type of the alert',\n enum: [ 'low_credit_balance_reached',\n 'spend_threshold_reached',\n 'monthly_invoice_total_spend_threshold_reached',\n 'low_remaining_days_in_plan_reached',\n 'low_remaining_credit_percentage_reached',\n 'usage_threshold_reached',\n 'low_remaining_days_for_commit_segment_reached',\n 'low_remaining_commit_balance_reached',\n 'low_remaining_commit_percentage_reached',\n 'low_remaining_days_for_contract_credit_segment_reached',\n 'low_remaining_contract_credit_balance_reached',\n 'low_remaining_contract_credit_percentage_reached',\n 'low_remaining_contract_credit_and_commit_balance_reached',\n 'invoice_total_reached'\n ]\n },\n updated_at: {\n type: 'string',\n description: 'Timestamp for when the alert was last updated',\n format: 'date-time'\n },\n credit_grant_type_filters: {\n type: 'array',\n description: 'An array of strings, representing a way to filter the credit grant this alert applies to, by looking at the credit_grant_type field on the credit grant. This field is only defined for CreditPercentage and CreditBalance alerts',\n items: {\n type: 'string'\n }\n },\n credit_type: {\n $ref: '#/$defs/credit_type_data'\n },\n custom_field_filters: {\n type: 'array',\n description: 'A list of custom field filters for alert types that support advanced filtering',\n items: {\n type: 'object',\n properties: {\n entity: {\n type: 'string',\n enum: [ 'Contract',\n 'Commit',\n 'ContractCredit'\n ]\n },\n key: {\n type: 'string'\n },\n value: {\n type: 'string'\n }\n },\n required: [ 'entity',\n 'key',\n 'value'\n ]\n }\n },\n group_key_filter: {\n type: 'object',\n description: 'Scopes alert evaluation to a specific presentation group key on individual line items. Only present for spend alerts.',\n properties: {\n key: {\n type: 'string'\n },\n value: {\n type: 'string'\n }\n },\n required: [ 'key',\n 'value'\n ]\n },\n group_values: {\n type: 'array',\n description: 'Only present for `spend_threshold_reached` alerts. Scope alert to a specific group key on individual line items.',\n items: {\n type: 'object',\n properties: {\n key: {\n type: 'string'\n },\n value: {\n type: 'string'\n }\n },\n required: [ 'key',\n 'value'\n ]\n }\n },\n invoice_types_filter: {\n type: 'array',\n description: 'Only supported for invoice_total_reached alerts. A list of invoice types to evaluate.',\n items: {\n type: 'string'\n }\n },\n uniqueness_key: {\n type: 'string',\n description: 'Prevents the creation of duplicates. If a request to create a record is made with a previously used uniqueness key, a new record will not be created and the request will fail with a 409 error.'\n }\n },\n required: [ 'id',\n 'name',\n 'status',\n 'threshold',\n 'type',\n 'updated_at'\n ]\n },\n customer_status: {\n type: 'string',\n description: 'The status of the customer alert. If the alert is archived, null will be returned.',\n enum: [ 'ok',\n 'in_alarm',\n 'evaluating'\n ]\n },\n triggered_by: {\n type: 'string',\n description: 'If present, indicates the reason the alert was triggered.'\n }\n },\n required: [ 'alert',\n 'customer_status'\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: {
|
|
@@ -51,8 +51,8 @@ export const tool: Tool = {
|
|
|
51
51
|
};
|
|
52
52
|
|
|
53
53
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
54
|
-
const body = args as any;
|
|
55
|
-
return asTextContentResult(await maybeFilter(
|
|
54
|
+
const { jq_filter, ...body } = args as any;
|
|
55
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.v1.customers.alerts.list(body)));
|
|
56
56
|
};
|
|
57
57
|
|
|
58
58
|
export default { metadata, tool, handler };
|
|
@@ -16,8 +16,7 @@ export const metadata: Metadata = {
|
|
|
16
16
|
|
|
17
17
|
export const tool: Tool = {
|
|
18
18
|
name: 'reset_customers_v1_alerts',
|
|
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\nReset state for an alert by customer id and force re-evaluation\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {}\n}\n```",
|
|
19
|
+
description: 'Reset state for an alert by customer id and force re-evaluation',
|
|
21
20
|
inputSchema: {
|
|
22
21
|
type: 'object',
|
|
23
22
|
properties: {
|
|
@@ -29,12 +28,6 @@ export const tool: Tool = {
|
|
|
29
28
|
type: 'string',
|
|
30
29
|
description: 'The Metronome ID of the customer',
|
|
31
30
|
},
|
|
32
|
-
jq_filter: {
|
|
33
|
-
type: 'string',
|
|
34
|
-
title: 'jq Filter',
|
|
35
|
-
description:
|
|
36
|
-
'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/).',
|
|
37
|
-
},
|
|
38
31
|
},
|
|
39
32
|
required: ['alert_id', 'customer_id'],
|
|
40
33
|
},
|