@metronome/mcp 0.1.0-beta.11 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/compat.d.mts +2 -0
- package/compat.d.mts.map +1 -1
- package/compat.d.ts +2 -0
- package/compat.d.ts.map +1 -1
- package/compat.js +38 -1
- package/compat.js.map +1 -1
- package/compat.mjs +37 -0
- package/compat.mjs.map +1 -1
- package/dynamic-tools.d.mts +1 -1
- package/dynamic-tools.d.mts.map +1 -1
- package/dynamic-tools.d.ts +1 -1
- package/dynamic-tools.d.ts.map +1 -1
- package/dynamic-tools.js +5 -4
- package/dynamic-tools.js.map +1 -1
- package/dynamic-tools.mjs +5 -4
- package/dynamic-tools.mjs.map +1 -1
- package/filtering.d.mts +2 -0
- package/filtering.d.mts.map +1 -0
- package/filtering.d.ts +2 -0
- package/filtering.d.ts.map +1 -0
- package/filtering.js +21 -0
- package/filtering.js.map +1 -0
- package/filtering.mjs +14 -0
- package/filtering.mjs.map +1 -0
- package/index.d.mts +1 -0
- package/index.d.ts +1 -0
- package/index.js.map +1 -1
- package/index.mjs +1 -0
- package/index.mjs.map +1 -1
- package/options.d.mts +9 -6
- package/options.d.mts.map +1 -1
- package/options.d.ts +9 -6
- package/options.d.ts.map +1 -1
- package/options.js +5 -46
- package/options.js.map +1 -1
- package/options.mjs +5 -46
- package/options.mjs.map +1 -1
- package/package.json +5 -4
- package/server.d.mts +17 -8
- package/server.d.mts.map +1 -1
- package/server.d.ts +17 -8
- package/server.d.ts.map +1 -1
- package/server.js +31 -25
- package/server.js.map +1 -1
- package/server.mjs +31 -26
- package/server.mjs.map +1 -1
- package/src/compat.ts +40 -0
- package/src/dynamic-tools.ts +13 -7
- package/src/filtering.ts +15 -0
- package/src/index.ts +4 -2
- package/src/options.ts +12 -54
- package/src/server.ts +43 -30
- package/src/tools/index.ts +10 -22
- package/src/tools/types.ts +103 -0
- package/src/tools/v1/alerts/archive-v1-alerts.ts +15 -4
- package/src/tools/v1/alerts/create-v1-alerts.ts +17 -4
- package/src/tools/v1/audit-logs/list-v1-audit-logs.ts +17 -4
- package/src/tools/v1/billable-metrics/archive-v1-billable-metrics.ts +15 -4
- package/src/tools/v1/billable-metrics/create-v1-billable-metrics.ts +15 -5
- package/src/tools/v1/billable-metrics/list-v1-billable-metrics.ts +18 -4
- package/src/tools/v1/billable-metrics/retrieve-v1-billable-metrics.ts +17 -4
- package/src/tools/v1/contracts/add-manual-balance-entry-v1-contracts.ts +15 -4
- package/src/tools/v1/contracts/amend-v1-contracts.ts +127 -16
- package/src/tools/v1/contracts/archive-v1-contracts.ts +15 -4
- package/src/tools/v1/contracts/create-historical-invoices-v1-contracts.ts +8 -4
- package/src/tools/v1/contracts/create-v1-contracts.ts +328 -47
- package/src/tools/v1/contracts/list-balances-v1-contracts.ts +12 -4
- package/src/tools/v1/contracts/list-v1-contracts.ts +7 -4
- package/src/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.ts +16 -4
- package/src/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.ts +14 -4
- package/src/tools/v1/contracts/products/archive-contracts-v1-products.ts +15 -4
- package/src/tools/v1/contracts/products/create-contracts-v1-products.ts +15 -4
- package/src/tools/v1/contracts/products/list-contracts-v1-products.ts +16 -4
- package/src/tools/v1/contracts/products/retrieve-contracts-v1-products.ts +15 -4
- package/src/tools/v1/contracts/products/update-contracts-v1-products.ts +15 -4
- package/src/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.ts +15 -4
- package/src/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.ts +15 -4
- package/src/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.ts +15 -4
- package/src/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.ts +16 -4
- package/src/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.ts +14 -4
- package/src/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.ts +17 -4
- package/src/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.ts +17 -4
- package/src/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.ts +17 -4
- package/src/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.ts +15 -4
- package/src/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.ts +16 -5
- package/src/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.ts +14 -4
- package/src/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.ts +16 -5
- package/src/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.ts +15 -4
- package/src/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.ts +15 -5
- package/src/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.ts +16 -4
- package/src/tools/v1/contracts/retrieve-v1-contracts.ts +7 -4
- package/src/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.ts +7 -4
- package/src/tools/v1/contracts/set-usage-filter-v1-contracts.ts +15 -4
- package/src/tools/v1/contracts/update-end-date-v1-contracts.ts +15 -4
- package/src/tools/v1/credit-grants/create-v1-credit-grants.ts +15 -4
- package/src/tools/v1/credit-grants/edit-v1-credit-grants.ts +15 -4
- package/src/tools/v1/credit-grants/list-entries-v1-credit-grants.ts +19 -4
- package/src/tools/v1/credit-grants/list-v1-credit-grants.ts +16 -4
- package/src/tools/v1/credit-grants/void-v1-credit-grants.ts +15 -4
- package/src/tools/v1/custom-fields/add-key-v1-custom-fields.ts +14 -4
- package/src/tools/v1/custom-fields/delete-values-v1-custom-fields.ts +15 -4
- package/src/tools/v1/custom-fields/list-keys-v1-custom-fields.ts +15 -4
- package/src/tools/v1/custom-fields/remove-key-v1-custom-fields.ts +15 -4
- package/src/tools/v1/custom-fields/set-values-v1-custom-fields.ts +14 -4
- package/src/tools/v1/customers/alerts/list-customers-v1-alerts.ts +15 -4
- package/src/tools/v1/customers/alerts/reset-customers-v1-alerts.ts +15 -4
- package/src/tools/v1/customers/alerts/retrieve-customers-v1-alerts.ts +15 -4
- package/src/tools/v1/customers/archive-v1-customers.ts +15 -4
- package/src/tools/v1/customers/billing-config/create-customers-v1-billing-config.ts +15 -4
- package/src/tools/v1/customers/billing-config/delete-customers-v1-billing-config.ts +16 -4
- package/src/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.ts +17 -4
- package/src/tools/v1/customers/commits/create-customers-v1-commits.ts +17 -8
- package/src/tools/v1/customers/commits/list-customers-v1-commits.ts +12 -4
- package/src/tools/v1/customers/commits/update-end-date-customers-v1-commits.ts +14 -4
- package/src/tools/v1/customers/create-v1-customers.ts +15 -4
- package/src/tools/v1/customers/credits/create-customers-v1-credits.ts +15 -5
- package/src/tools/v1/customers/credits/list-customers-v1-credits.ts +12 -4
- package/src/tools/v1/customers/credits/update-end-date-customers-v1-credits.ts +14 -4
- package/src/tools/v1/customers/invoices/add-charge-customers-v1-invoices.ts +23 -4
- package/src/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.ts +10 -4
- package/src/tools/v1/customers/invoices/list-customers-v1-invoices.ts +10 -4
- package/src/tools/v1/customers/invoices/retrieve-customers-v1-invoices.ts +10 -4
- package/src/tools/v1/customers/list-billable-metrics-v1-customers.ts +18 -4
- package/src/tools/v1/customers/list-costs-v1-customers.ts +17 -4
- package/src/tools/v1/customers/list-v1-customers.ts +18 -4
- package/src/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.ts +16 -4
- package/src/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.ts +14 -4
- package/src/tools/v1/customers/plans/add-customers-v1-plans.ts +14 -4
- package/src/tools/v1/customers/plans/end-customers-v1-plans.ts +15 -4
- package/src/tools/v1/customers/plans/list-customers-v1-plans.ts +18 -4
- package/src/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.ts +17 -4
- package/src/tools/v1/customers/preview-events-v1-customers.ts +77 -0
- package/src/tools/v1/customers/retrieve-v1-customers.ts +17 -4
- package/src/tools/v1/customers/set-ingest-aliases-v1-customers.ts +14 -4
- package/src/tools/v1/customers/set-name-v1-customers.ts +15 -4
- package/src/tools/v1/customers/update-config-v1-customers.ts +15 -4
- package/src/tools/v1/dashboards/get-embeddable-url-v1-dashboards.ts +15 -6
- package/src/tools/v1/invoices/regenerate-v1-invoices.ts +15 -4
- package/src/tools/v1/invoices/void-v1-invoices.ts +15 -4
- package/src/tools/v1/plans/get-details-v1-plans.ts +17 -4
- package/src/tools/v1/plans/list-charges-v1-plans.ts +18 -4
- package/src/tools/v1/plans/list-customers-v1-plans.ts +17 -4
- package/src/tools/v1/plans/list-v1-plans.ts +18 -4
- package/src/tools/v1/pricing-units/list-v1-pricing-units.ts +18 -4
- package/src/tools/v1/services/list-v1-services.ts +18 -5
- package/src/tools/v1/usage/ingest-v1-usage.ts +14 -4
- package/src/tools/v1/usage/list-v1-usage.ts +14 -4
- package/src/tools/v1/usage/list-with-groups-v1-usage.ts +15 -4
- package/src/tools/v1/usage/search-v1-usage.ts +49 -0
- package/src/tools/v2/contracts/edit-commit-v2-contracts.ts +16 -9
- package/src/tools/v2/contracts/edit-credit-v2-contracts.ts +14 -6
- package/src/tools/v2/contracts/edit-v2-contracts.ts +462 -69
- package/src/tools/v2/contracts/get-edit-history-v2-contracts.ts +7 -4
- package/src/tools/v2/contracts/list-v2-contracts.ts +7 -4
- package/src/tools/v2/contracts/retrieve-v2-contracts.ts +8 -4
- package/tools/index.d.mts +2 -16
- package/tools/index.d.mts.map +1 -1
- package/tools/index.d.ts +2 -16
- package/tools/index.d.ts.map +1 -1
- package/tools/index.js +7 -2
- package/tools/index.js.map +1 -1
- package/tools/index.mjs +7 -2
- package/tools/index.mjs.map +1 -1
- package/tools/types.d.mts +51 -0
- package/tools/types.d.mts.map +1 -0
- package/tools/types.d.ts +51 -0
- package/tools/types.d.ts.map +1 -0
- package/tools/types.js +46 -0
- package/tools/types.js.map +1 -0
- package/tools/types.mjs +42 -0
- package/tools/types.mjs.map +1 -0
- package/tools/v1/alerts/archive-v1-alerts.d.mts +16 -3
- package/tools/v1/alerts/archive-v1-alerts.d.mts.map +1 -1
- package/tools/v1/alerts/archive-v1-alerts.d.ts +16 -3
- package/tools/v1/alerts/archive-v1-alerts.d.ts.map +1 -1
- package/tools/v1/alerts/archive-v1-alerts.js +12 -3
- package/tools/v1/alerts/archive-v1-alerts.js.map +1 -1
- package/tools/v1/alerts/archive-v1-alerts.mjs +12 -3
- package/tools/v1/alerts/archive-v1-alerts.mjs.map +1 -1
- package/tools/v1/alerts/create-v1-alerts.d.mts +16 -3
- package/tools/v1/alerts/create-v1-alerts.d.mts.map +1 -1
- package/tools/v1/alerts/create-v1-alerts.d.ts +16 -3
- package/tools/v1/alerts/create-v1-alerts.d.ts.map +1 -1
- package/tools/v1/alerts/create-v1-alerts.js +13 -3
- package/tools/v1/alerts/create-v1-alerts.js.map +1 -1
- package/tools/v1/alerts/create-v1-alerts.mjs +13 -3
- package/tools/v1/alerts/create-v1-alerts.mjs.map +1 -1
- package/tools/v1/audit-logs/list-v1-audit-logs.d.mts +16 -3
- package/tools/v1/audit-logs/list-v1-audit-logs.d.mts.map +1 -1
- package/tools/v1/audit-logs/list-v1-audit-logs.d.ts +16 -3
- package/tools/v1/audit-logs/list-v1-audit-logs.d.ts.map +1 -1
- package/tools/v1/audit-logs/list-v1-audit-logs.js +15 -3
- package/tools/v1/audit-logs/list-v1-audit-logs.js.map +1 -1
- package/tools/v1/audit-logs/list-v1-audit-logs.mjs +15 -3
- package/tools/v1/audit-logs/list-v1-audit-logs.mjs.map +1 -1
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.d.mts +16 -3
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.d.mts.map +1 -1
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.d.ts +16 -3
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.d.ts.map +1 -1
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.js +12 -3
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.js.map +1 -1
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.mjs +12 -3
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.mjs.map +1 -1
- package/tools/v1/billable-metrics/create-v1-billable-metrics.d.mts +16 -3
- package/tools/v1/billable-metrics/create-v1-billable-metrics.d.mts.map +1 -1
- package/tools/v1/billable-metrics/create-v1-billable-metrics.d.ts +16 -3
- package/tools/v1/billable-metrics/create-v1-billable-metrics.d.ts.map +1 -1
- package/tools/v1/billable-metrics/create-v1-billable-metrics.js +12 -4
- package/tools/v1/billable-metrics/create-v1-billable-metrics.js.map +1 -1
- package/tools/v1/billable-metrics/create-v1-billable-metrics.mjs +12 -4
- package/tools/v1/billable-metrics/create-v1-billable-metrics.mjs.map +1 -1
- package/tools/v1/billable-metrics/list-v1-billable-metrics.d.mts +16 -3
- package/tools/v1/billable-metrics/list-v1-billable-metrics.d.mts.map +1 -1
- package/tools/v1/billable-metrics/list-v1-billable-metrics.d.ts +16 -3
- package/tools/v1/billable-metrics/list-v1-billable-metrics.d.ts.map +1 -1
- package/tools/v1/billable-metrics/list-v1-billable-metrics.js +15 -3
- package/tools/v1/billable-metrics/list-v1-billable-metrics.js.map +1 -1
- package/tools/v1/billable-metrics/list-v1-billable-metrics.mjs +15 -3
- package/tools/v1/billable-metrics/list-v1-billable-metrics.mjs.map +1 -1
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.d.mts +16 -3
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.d.mts.map +1 -1
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.d.ts +16 -3
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.d.ts.map +1 -1
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.js +14 -3
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.js.map +1 -1
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.mjs +14 -3
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.mjs.map +1 -1
- package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.d.mts +16 -3
- package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.d.ts +16 -3
- package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.js +12 -3
- package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.mjs +12 -3
- package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/amend-v1-contracts.d.mts +16 -3
- package/tools/v1/contracts/amend-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/amend-v1-contracts.d.ts +16 -3
- package/tools/v1/contracts/amend-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/amend-v1-contracts.js +123 -15
- package/tools/v1/contracts/amend-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/amend-v1-contracts.mjs +123 -15
- package/tools/v1/contracts/amend-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/archive-v1-contracts.d.mts +16 -3
- package/tools/v1/contracts/archive-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/archive-v1-contracts.d.ts +16 -3
- package/tools/v1/contracts/archive-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/archive-v1-contracts.js +12 -3
- package/tools/v1/contracts/archive-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/archive-v1-contracts.mjs +12 -3
- package/tools/v1/contracts/archive-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.d.mts +16 -3
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.d.ts +16 -3
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.js +6 -3
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.mjs +6 -3
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/create-v1-contracts.d.mts +16 -3
- package/tools/v1/contracts/create-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/create-v1-contracts.d.ts +16 -3
- package/tools/v1/contracts/create-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/create-v1-contracts.js +310 -46
- package/tools/v1/contracts/create-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/create-v1-contracts.mjs +310 -46
- package/tools/v1/contracts/create-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/list-balances-v1-contracts.d.mts +16 -3
- package/tools/v1/contracts/list-balances-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/list-balances-v1-contracts.d.ts +16 -3
- package/tools/v1/contracts/list-balances-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/list-balances-v1-contracts.js +10 -3
- package/tools/v1/contracts/list-balances-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/list-balances-v1-contracts.mjs +10 -3
- package/tools/v1/contracts/list-balances-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/list-v1-contracts.d.mts +16 -3
- package/tools/v1/contracts/list-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/list-v1-contracts.d.ts +16 -3
- package/tools/v1/contracts/list-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/list-v1-contracts.js +6 -3
- package/tools/v1/contracts/list-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/list-v1-contracts.mjs +6 -3
- package/tools/v1/contracts/list-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.d.mts +16 -3
- package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.d.mts.map +1 -1
- package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.d.ts +16 -3
- package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.d.ts.map +1 -1
- package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.js +12 -3
- package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.js.map +1 -1
- package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.mjs +12 -3
- package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.mjs.map +1 -1
- package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.d.mts +16 -3
- package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.d.mts.map +1 -1
- package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.d.ts +16 -3
- package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.d.ts.map +1 -1
- package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.js +12 -3
- package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.js.map +1 -1
- package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.mjs +12 -3
- package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.mjs.map +1 -1
- package/tools/v1/contracts/products/archive-contracts-v1-products.d.mts +16 -3
- package/tools/v1/contracts/products/archive-contracts-v1-products.d.mts.map +1 -1
- package/tools/v1/contracts/products/archive-contracts-v1-products.d.ts +16 -3
- package/tools/v1/contracts/products/archive-contracts-v1-products.d.ts.map +1 -1
- package/tools/v1/contracts/products/archive-contracts-v1-products.js +12 -3
- package/tools/v1/contracts/products/archive-contracts-v1-products.js.map +1 -1
- package/tools/v1/contracts/products/archive-contracts-v1-products.mjs +12 -3
- package/tools/v1/contracts/products/archive-contracts-v1-products.mjs.map +1 -1
- package/tools/v1/contracts/products/create-contracts-v1-products.d.mts +16 -3
- package/tools/v1/contracts/products/create-contracts-v1-products.d.mts.map +1 -1
- package/tools/v1/contracts/products/create-contracts-v1-products.d.ts +16 -3
- package/tools/v1/contracts/products/create-contracts-v1-products.d.ts.map +1 -1
- package/tools/v1/contracts/products/create-contracts-v1-products.js +12 -3
- package/tools/v1/contracts/products/create-contracts-v1-products.js.map +1 -1
- package/tools/v1/contracts/products/create-contracts-v1-products.mjs +12 -3
- package/tools/v1/contracts/products/create-contracts-v1-products.mjs.map +1 -1
- package/tools/v1/contracts/products/list-contracts-v1-products.d.mts +16 -3
- package/tools/v1/contracts/products/list-contracts-v1-products.d.mts.map +1 -1
- package/tools/v1/contracts/products/list-contracts-v1-products.d.ts +16 -3
- package/tools/v1/contracts/products/list-contracts-v1-products.d.ts.map +1 -1
- package/tools/v1/contracts/products/list-contracts-v1-products.js +13 -3
- package/tools/v1/contracts/products/list-contracts-v1-products.js.map +1 -1
- package/tools/v1/contracts/products/list-contracts-v1-products.mjs +13 -3
- package/tools/v1/contracts/products/list-contracts-v1-products.mjs.map +1 -1
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.d.mts +16 -3
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.d.mts.map +1 -1
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.d.ts +16 -3
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.d.ts.map +1 -1
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.js +12 -3
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.js.map +1 -1
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.mjs +12 -3
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.mjs.map +1 -1
- package/tools/v1/contracts/products/update-contracts-v1-products.d.mts +16 -3
- package/tools/v1/contracts/products/update-contracts-v1-products.d.mts.map +1 -1
- package/tools/v1/contracts/products/update-contracts-v1-products.d.ts +16 -3
- package/tools/v1/contracts/products/update-contracts-v1-products.d.ts.map +1 -1
- package/tools/v1/contracts/products/update-contracts-v1-products.js +12 -3
- package/tools/v1/contracts/products/update-contracts-v1-products.js.map +1 -1
- package/tools/v1/contracts/products/update-contracts-v1-products.mjs +12 -3
- package/tools/v1/contracts/products/update-contracts-v1-products.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.d.mts +16 -3
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.d.ts +16 -3
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.js +12 -3
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.js.map +1 -1
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.mjs +12 -3
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.d.mts +16 -3
- package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.d.ts +16 -3
- package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.js +12 -3
- package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.js.map +1 -1
- package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.mjs +12 -3
- package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.d.mts +16 -3
- package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.d.ts +16 -3
- package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.js +13 -3
- package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.js.map +1 -1
- package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.mjs +13 -3
- package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.d.mts +16 -3
- package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.d.ts +16 -3
- package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.js +12 -3
- package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.js.map +1 -1
- package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.mjs +12 -3
- package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.d.mts +16 -3
- package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.d.ts +16 -3
- package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.js +12 -3
- package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.js.map +1 -1
- package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.mjs +12 -3
- package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.d.mts +16 -3
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.d.ts +16 -3
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.js +12 -3
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.js.map +1 -1
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.mjs +12 -3
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.d.mts +16 -3
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.d.ts +16 -3
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.js +12 -3
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.js.map +1 -1
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.mjs +12 -3
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.d.mts +16 -3
- package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.d.ts +16 -3
- package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.js +12 -3
- package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.js.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.mjs +12 -3
- package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.d.mts +16 -3
- package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.d.ts +16 -3
- package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.js +12 -3
- package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.js.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.mjs +12 -3
- package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.d.mts +16 -3
- package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.d.ts +16 -3
- package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.js +13 -4
- package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.js.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.mjs +13 -4
- package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.d.mts +16 -3
- package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.d.ts +16 -3
- package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.js +12 -3
- package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.js.map +1 -1
- package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.mjs +12 -3
- package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.d.mts +16 -3
- package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.d.ts +16 -3
- package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.js +12 -4
- package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.js.map +1 -1
- package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.mjs +12 -4
- package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.d.mts +16 -3
- package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.d.ts +16 -3
- package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.js +12 -3
- package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.js.map +1 -1
- package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.mjs +12 -3
- package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.mjs.map +1 -1
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.d.mts +16 -3
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.d.ts +16 -3
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.js +12 -4
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.mjs +12 -4
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.d.mts +16 -3
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.d.ts +16 -3
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.js +12 -3
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.mjs +12 -3
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/retrieve-v1-contracts.d.mts +16 -3
- package/tools/v1/contracts/retrieve-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/retrieve-v1-contracts.d.ts +16 -3
- package/tools/v1/contracts/retrieve-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/retrieve-v1-contracts.js +6 -3
- package/tools/v1/contracts/retrieve-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/retrieve-v1-contracts.mjs +6 -3
- package/tools/v1/contracts/retrieve-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.d.mts +16 -3
- package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.d.ts +16 -3
- package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.js +6 -3
- package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.mjs +6 -3
- package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/set-usage-filter-v1-contracts.d.mts +16 -3
- package/tools/v1/contracts/set-usage-filter-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/set-usage-filter-v1-contracts.d.ts +16 -3
- package/tools/v1/contracts/set-usage-filter-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/set-usage-filter-v1-contracts.js +12 -3
- package/tools/v1/contracts/set-usage-filter-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/set-usage-filter-v1-contracts.mjs +12 -3
- package/tools/v1/contracts/set-usage-filter-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/update-end-date-v1-contracts.d.mts +16 -3
- package/tools/v1/contracts/update-end-date-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/update-end-date-v1-contracts.d.ts +16 -3
- package/tools/v1/contracts/update-end-date-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/update-end-date-v1-contracts.js +12 -3
- package/tools/v1/contracts/update-end-date-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/update-end-date-v1-contracts.mjs +12 -3
- package/tools/v1/contracts/update-end-date-v1-contracts.mjs.map +1 -1
- package/tools/v1/credit-grants/create-v1-credit-grants.d.mts +16 -3
- package/tools/v1/credit-grants/create-v1-credit-grants.d.mts.map +1 -1
- package/tools/v1/credit-grants/create-v1-credit-grants.d.ts +16 -3
- package/tools/v1/credit-grants/create-v1-credit-grants.d.ts.map +1 -1
- package/tools/v1/credit-grants/create-v1-credit-grants.js +12 -3
- package/tools/v1/credit-grants/create-v1-credit-grants.js.map +1 -1
- package/tools/v1/credit-grants/create-v1-credit-grants.mjs +12 -3
- package/tools/v1/credit-grants/create-v1-credit-grants.mjs.map +1 -1
- package/tools/v1/credit-grants/edit-v1-credit-grants.d.mts +16 -3
- package/tools/v1/credit-grants/edit-v1-credit-grants.d.mts.map +1 -1
- package/tools/v1/credit-grants/edit-v1-credit-grants.d.ts +16 -3
- package/tools/v1/credit-grants/edit-v1-credit-grants.d.ts.map +1 -1
- package/tools/v1/credit-grants/edit-v1-credit-grants.js +12 -3
- package/tools/v1/credit-grants/edit-v1-credit-grants.js.map +1 -1
- package/tools/v1/credit-grants/edit-v1-credit-grants.mjs +12 -3
- package/tools/v1/credit-grants/edit-v1-credit-grants.mjs.map +1 -1
- package/tools/v1/credit-grants/list-entries-v1-credit-grants.d.mts +16 -3
- package/tools/v1/credit-grants/list-entries-v1-credit-grants.d.mts.map +1 -1
- package/tools/v1/credit-grants/list-entries-v1-credit-grants.d.ts +16 -3
- package/tools/v1/credit-grants/list-entries-v1-credit-grants.d.ts.map +1 -1
- package/tools/v1/credit-grants/list-entries-v1-credit-grants.js +17 -3
- package/tools/v1/credit-grants/list-entries-v1-credit-grants.js.map +1 -1
- package/tools/v1/credit-grants/list-entries-v1-credit-grants.mjs +17 -3
- package/tools/v1/credit-grants/list-entries-v1-credit-grants.mjs.map +1 -1
- package/tools/v1/credit-grants/list-v1-credit-grants.d.mts +16 -3
- package/tools/v1/credit-grants/list-v1-credit-grants.d.mts.map +1 -1
- package/tools/v1/credit-grants/list-v1-credit-grants.d.ts +16 -3
- package/tools/v1/credit-grants/list-v1-credit-grants.d.ts.map +1 -1
- package/tools/v1/credit-grants/list-v1-credit-grants.js +13 -3
- package/tools/v1/credit-grants/list-v1-credit-grants.js.map +1 -1
- package/tools/v1/credit-grants/list-v1-credit-grants.mjs +13 -3
- package/tools/v1/credit-grants/list-v1-credit-grants.mjs.map +1 -1
- package/tools/v1/credit-grants/void-v1-credit-grants.d.mts +16 -3
- package/tools/v1/credit-grants/void-v1-credit-grants.d.mts.map +1 -1
- package/tools/v1/credit-grants/void-v1-credit-grants.d.ts +16 -3
- package/tools/v1/credit-grants/void-v1-credit-grants.d.ts.map +1 -1
- package/tools/v1/credit-grants/void-v1-credit-grants.js +12 -3
- package/tools/v1/credit-grants/void-v1-credit-grants.js.map +1 -1
- package/tools/v1/credit-grants/void-v1-credit-grants.mjs +12 -3
- package/tools/v1/credit-grants/void-v1-credit-grants.mjs.map +1 -1
- package/tools/v1/custom-fields/add-key-v1-custom-fields.d.mts +16 -3
- package/tools/v1/custom-fields/add-key-v1-custom-fields.d.mts.map +1 -1
- package/tools/v1/custom-fields/add-key-v1-custom-fields.d.ts +16 -3
- package/tools/v1/custom-fields/add-key-v1-custom-fields.d.ts.map +1 -1
- package/tools/v1/custom-fields/add-key-v1-custom-fields.js +12 -3
- package/tools/v1/custom-fields/add-key-v1-custom-fields.js.map +1 -1
- package/tools/v1/custom-fields/add-key-v1-custom-fields.mjs +12 -3
- package/tools/v1/custom-fields/add-key-v1-custom-fields.mjs.map +1 -1
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.d.mts +16 -3
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.d.mts.map +1 -1
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.d.ts +16 -3
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.d.ts.map +1 -1
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.js +12 -3
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.js.map +1 -1
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.mjs +12 -3
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.mjs.map +1 -1
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.d.mts +16 -3
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.d.mts.map +1 -1
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.d.ts +16 -3
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.d.ts.map +1 -1
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.js +12 -3
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.js.map +1 -1
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.mjs +12 -3
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.mjs.map +1 -1
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.d.mts +16 -3
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.d.mts.map +1 -1
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.d.ts +16 -3
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.d.ts.map +1 -1
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.js +12 -3
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.js.map +1 -1
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.mjs +12 -3
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.mjs.map +1 -1
- package/tools/v1/custom-fields/set-values-v1-custom-fields.d.mts +16 -3
- package/tools/v1/custom-fields/set-values-v1-custom-fields.d.mts.map +1 -1
- package/tools/v1/custom-fields/set-values-v1-custom-fields.d.ts +16 -3
- package/tools/v1/custom-fields/set-values-v1-custom-fields.d.ts.map +1 -1
- package/tools/v1/custom-fields/set-values-v1-custom-fields.js +12 -3
- package/tools/v1/custom-fields/set-values-v1-custom-fields.js.map +1 -1
- package/tools/v1/custom-fields/set-values-v1-custom-fields.mjs +12 -3
- package/tools/v1/custom-fields/set-values-v1-custom-fields.mjs.map +1 -1
- package/tools/v1/customers/alerts/list-customers-v1-alerts.d.mts +16 -3
- package/tools/v1/customers/alerts/list-customers-v1-alerts.d.mts.map +1 -1
- package/tools/v1/customers/alerts/list-customers-v1-alerts.d.ts +16 -3
- package/tools/v1/customers/alerts/list-customers-v1-alerts.d.ts.map +1 -1
- package/tools/v1/customers/alerts/list-customers-v1-alerts.js +12 -3
- package/tools/v1/customers/alerts/list-customers-v1-alerts.js.map +1 -1
- package/tools/v1/customers/alerts/list-customers-v1-alerts.mjs +12 -3
- package/tools/v1/customers/alerts/list-customers-v1-alerts.mjs.map +1 -1
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.d.mts +16 -3
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.d.mts.map +1 -1
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.d.ts +16 -3
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.d.ts.map +1 -1
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.js +12 -3
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.js.map +1 -1
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.mjs +12 -3
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.mjs.map +1 -1
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.d.mts +16 -3
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.d.mts.map +1 -1
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.d.ts +16 -3
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.d.ts.map +1 -1
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.js +12 -3
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.js.map +1 -1
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.mjs +12 -3
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.mjs.map +1 -1
- package/tools/v1/customers/archive-v1-customers.d.mts +16 -3
- package/tools/v1/customers/archive-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/archive-v1-customers.d.ts +16 -3
- package/tools/v1/customers/archive-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/archive-v1-customers.js +12 -3
- package/tools/v1/customers/archive-v1-customers.js.map +1 -1
- package/tools/v1/customers/archive-v1-customers.mjs +12 -3
- package/tools/v1/customers/archive-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.d.mts +16 -3
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.d.mts.map +1 -1
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.d.ts +16 -3
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.d.ts.map +1 -1
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.js +12 -3
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.js.map +1 -1
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.mjs +12 -3
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.mjs.map +1 -1
- package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.d.mts +16 -3
- package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.d.mts.map +1 -1
- package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.d.ts +16 -3
- package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.d.ts.map +1 -1
- package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.js +14 -3
- package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.js.map +1 -1
- package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.mjs +14 -3
- package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.mjs.map +1 -1
- package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.d.mts +16 -3
- package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.d.mts.map +1 -1
- package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.d.ts +16 -3
- package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.d.ts.map +1 -1
- package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.js +14 -3
- package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.js.map +1 -1
- package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.mjs +14 -3
- package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.mjs.map +1 -1
- package/tools/v1/customers/commits/create-customers-v1-commits.d.mts +16 -3
- package/tools/v1/customers/commits/create-customers-v1-commits.d.mts.map +1 -1
- package/tools/v1/customers/commits/create-customers-v1-commits.d.ts +16 -3
- package/tools/v1/customers/commits/create-customers-v1-commits.d.ts.map +1 -1
- package/tools/v1/customers/commits/create-customers-v1-commits.js +14 -7
- package/tools/v1/customers/commits/create-customers-v1-commits.js.map +1 -1
- package/tools/v1/customers/commits/create-customers-v1-commits.mjs +14 -7
- package/tools/v1/customers/commits/create-customers-v1-commits.mjs.map +1 -1
- package/tools/v1/customers/commits/list-customers-v1-commits.d.mts +16 -3
- package/tools/v1/customers/commits/list-customers-v1-commits.d.mts.map +1 -1
- package/tools/v1/customers/commits/list-customers-v1-commits.d.ts +16 -3
- package/tools/v1/customers/commits/list-customers-v1-commits.d.ts.map +1 -1
- package/tools/v1/customers/commits/list-customers-v1-commits.js +10 -3
- package/tools/v1/customers/commits/list-customers-v1-commits.js.map +1 -1
- package/tools/v1/customers/commits/list-customers-v1-commits.mjs +10 -3
- package/tools/v1/customers/commits/list-customers-v1-commits.mjs.map +1 -1
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.d.mts +16 -3
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.d.mts.map +1 -1
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.d.ts +16 -3
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.d.ts.map +1 -1
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.js +12 -3
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.js.map +1 -1
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.mjs +12 -3
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.mjs.map +1 -1
- package/tools/v1/customers/create-v1-customers.d.mts +16 -3
- package/tools/v1/customers/create-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/create-v1-customers.d.ts +16 -3
- package/tools/v1/customers/create-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/create-v1-customers.js +12 -3
- package/tools/v1/customers/create-v1-customers.js.map +1 -1
- package/tools/v1/customers/create-v1-customers.mjs +12 -3
- package/tools/v1/customers/create-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/credits/create-customers-v1-credits.d.mts +16 -3
- package/tools/v1/customers/credits/create-customers-v1-credits.d.mts.map +1 -1
- package/tools/v1/customers/credits/create-customers-v1-credits.d.ts +16 -3
- package/tools/v1/customers/credits/create-customers-v1-credits.d.ts.map +1 -1
- package/tools/v1/customers/credits/create-customers-v1-credits.js +12 -4
- package/tools/v1/customers/credits/create-customers-v1-credits.js.map +1 -1
- package/tools/v1/customers/credits/create-customers-v1-credits.mjs +12 -4
- package/tools/v1/customers/credits/create-customers-v1-credits.mjs.map +1 -1
- package/tools/v1/customers/credits/list-customers-v1-credits.d.mts +16 -3
- package/tools/v1/customers/credits/list-customers-v1-credits.d.mts.map +1 -1
- package/tools/v1/customers/credits/list-customers-v1-credits.d.ts +16 -3
- package/tools/v1/customers/credits/list-customers-v1-credits.d.ts.map +1 -1
- package/tools/v1/customers/credits/list-customers-v1-credits.js +10 -3
- package/tools/v1/customers/credits/list-customers-v1-credits.js.map +1 -1
- package/tools/v1/customers/credits/list-customers-v1-credits.mjs +10 -3
- package/tools/v1/customers/credits/list-customers-v1-credits.mjs.map +1 -1
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.d.mts +16 -3
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.d.mts.map +1 -1
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.d.ts +16 -3
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.d.ts.map +1 -1
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.js +12 -3
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.js.map +1 -1
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.mjs +12 -3
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.mjs.map +1 -1
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.d.mts +16 -3
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.d.mts.map +1 -1
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.d.ts +16 -3
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.d.ts.map +1 -1
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.js +20 -3
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.js.map +1 -1
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.mjs +20 -3
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.mjs.map +1 -1
- package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.d.mts +16 -3
- package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.d.mts.map +1 -1
- package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.d.ts +16 -3
- package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.d.ts.map +1 -1
- package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.js +9 -3
- package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.js.map +1 -1
- package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.mjs +9 -3
- package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.mjs.map +1 -1
- package/tools/v1/customers/invoices/list-customers-v1-invoices.d.mts +16 -3
- package/tools/v1/customers/invoices/list-customers-v1-invoices.d.mts.map +1 -1
- package/tools/v1/customers/invoices/list-customers-v1-invoices.d.ts +16 -3
- package/tools/v1/customers/invoices/list-customers-v1-invoices.d.ts.map +1 -1
- package/tools/v1/customers/invoices/list-customers-v1-invoices.js +9 -3
- package/tools/v1/customers/invoices/list-customers-v1-invoices.js.map +1 -1
- package/tools/v1/customers/invoices/list-customers-v1-invoices.mjs +9 -3
- package/tools/v1/customers/invoices/list-customers-v1-invoices.mjs.map +1 -1
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.d.mts +16 -3
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.d.mts.map +1 -1
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.d.ts +16 -3
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.d.ts.map +1 -1
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.js +8 -3
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.js.map +1 -1
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.mjs +8 -3
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.mjs.map +1 -1
- package/tools/v1/customers/list-billable-metrics-v1-customers.d.mts +16 -3
- package/tools/v1/customers/list-billable-metrics-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/list-billable-metrics-v1-customers.d.ts +16 -3
- package/tools/v1/customers/list-billable-metrics-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/list-billable-metrics-v1-customers.js +15 -3
- package/tools/v1/customers/list-billable-metrics-v1-customers.js.map +1 -1
- package/tools/v1/customers/list-billable-metrics-v1-customers.mjs +15 -3
- package/tools/v1/customers/list-billable-metrics-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/list-costs-v1-customers.d.mts +16 -3
- package/tools/v1/customers/list-costs-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/list-costs-v1-customers.d.ts +16 -3
- package/tools/v1/customers/list-costs-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/list-costs-v1-customers.js +15 -3
- package/tools/v1/customers/list-costs-v1-customers.js.map +1 -1
- package/tools/v1/customers/list-costs-v1-customers.mjs +15 -3
- package/tools/v1/customers/list-costs-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/list-v1-customers.d.mts +16 -3
- package/tools/v1/customers/list-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/list-v1-customers.d.ts +16 -3
- package/tools/v1/customers/list-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/list-v1-customers.js +15 -3
- package/tools/v1/customers/list-v1-customers.js.map +1 -1
- package/tools/v1/customers/list-v1-customers.mjs +15 -3
- package/tools/v1/customers/list-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.d.mts +16 -3
- package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.d.mts.map +1 -1
- package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.d.ts +16 -3
- package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.d.ts.map +1 -1
- package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.js +12 -3
- package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.js.map +1 -1
- package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.mjs +12 -3
- package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.mjs.map +1 -1
- package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.d.mts +16 -3
- package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.d.mts.map +1 -1
- package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.d.ts +16 -3
- package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.d.ts.map +1 -1
- package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.js +12 -3
- package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.js.map +1 -1
- package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.mjs +12 -3
- package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.mjs.map +1 -1
- package/tools/v1/customers/plans/add-customers-v1-plans.d.mts +16 -3
- package/tools/v1/customers/plans/add-customers-v1-plans.d.mts.map +1 -1
- package/tools/v1/customers/plans/add-customers-v1-plans.d.ts +16 -3
- package/tools/v1/customers/plans/add-customers-v1-plans.d.ts.map +1 -1
- package/tools/v1/customers/plans/add-customers-v1-plans.js +12 -3
- package/tools/v1/customers/plans/add-customers-v1-plans.js.map +1 -1
- package/tools/v1/customers/plans/add-customers-v1-plans.mjs +12 -3
- package/tools/v1/customers/plans/add-customers-v1-plans.mjs.map +1 -1
- package/tools/v1/customers/plans/end-customers-v1-plans.d.mts +16 -3
- package/tools/v1/customers/plans/end-customers-v1-plans.d.mts.map +1 -1
- package/tools/v1/customers/plans/end-customers-v1-plans.d.ts +16 -3
- package/tools/v1/customers/plans/end-customers-v1-plans.d.ts.map +1 -1
- package/tools/v1/customers/plans/end-customers-v1-plans.js +12 -3
- package/tools/v1/customers/plans/end-customers-v1-plans.js.map +1 -1
- package/tools/v1/customers/plans/end-customers-v1-plans.mjs +12 -3
- package/tools/v1/customers/plans/end-customers-v1-plans.mjs.map +1 -1
- package/tools/v1/customers/plans/list-customers-v1-plans.d.mts +16 -3
- package/tools/v1/customers/plans/list-customers-v1-plans.d.mts.map +1 -1
- package/tools/v1/customers/plans/list-customers-v1-plans.d.ts +16 -3
- package/tools/v1/customers/plans/list-customers-v1-plans.d.ts.map +1 -1
- package/tools/v1/customers/plans/list-customers-v1-plans.js +15 -3
- package/tools/v1/customers/plans/list-customers-v1-plans.js.map +1 -1
- package/tools/v1/customers/plans/list-customers-v1-plans.mjs +15 -3
- package/tools/v1/customers/plans/list-customers-v1-plans.mjs.map +1 -1
- package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.d.mts +16 -3
- package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.d.mts.map +1 -1
- package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.d.ts +16 -3
- package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.d.ts.map +1 -1
- package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.js +15 -3
- package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.js.map +1 -1
- package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.mjs +15 -3
- package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.mjs.map +1 -1
- package/tools/v1/customers/preview-events-v1-customers.d.mts +45 -0
- package/tools/v1/customers/preview-events-v1-customers.d.mts.map +1 -0
- package/tools/v1/customers/preview-events-v1-customers.d.ts +45 -0
- package/tools/v1/customers/preview-events-v1-customers.d.ts.map +1 -0
- package/tools/v1/customers/preview-events-v1-customers.js +70 -0
- package/tools/v1/customers/preview-events-v1-customers.js.map +1 -0
- package/tools/v1/customers/preview-events-v1-customers.mjs +66 -0
- package/tools/v1/customers/preview-events-v1-customers.mjs.map +1 -0
- package/tools/v1/customers/retrieve-v1-customers.d.mts +16 -3
- package/tools/v1/customers/retrieve-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/retrieve-v1-customers.d.ts +16 -3
- package/tools/v1/customers/retrieve-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/retrieve-v1-customers.js +14 -3
- package/tools/v1/customers/retrieve-v1-customers.js.map +1 -1
- package/tools/v1/customers/retrieve-v1-customers.mjs +14 -3
- package/tools/v1/customers/retrieve-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/set-ingest-aliases-v1-customers.d.mts +16 -3
- package/tools/v1/customers/set-ingest-aliases-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/set-ingest-aliases-v1-customers.d.ts +16 -3
- package/tools/v1/customers/set-ingest-aliases-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/set-ingest-aliases-v1-customers.js +12 -3
- package/tools/v1/customers/set-ingest-aliases-v1-customers.js.map +1 -1
- package/tools/v1/customers/set-ingest-aliases-v1-customers.mjs +12 -3
- package/tools/v1/customers/set-ingest-aliases-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/set-name-v1-customers.d.mts +16 -3
- package/tools/v1/customers/set-name-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/set-name-v1-customers.d.ts +16 -3
- package/tools/v1/customers/set-name-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/set-name-v1-customers.js +12 -3
- package/tools/v1/customers/set-name-v1-customers.js.map +1 -1
- package/tools/v1/customers/set-name-v1-customers.mjs +12 -3
- package/tools/v1/customers/set-name-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/update-config-v1-customers.d.mts +16 -3
- package/tools/v1/customers/update-config-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/update-config-v1-customers.d.ts +16 -3
- package/tools/v1/customers/update-config-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/update-config-v1-customers.js +12 -3
- package/tools/v1/customers/update-config-v1-customers.js.map +1 -1
- package/tools/v1/customers/update-config-v1-customers.mjs +12 -3
- package/tools/v1/customers/update-config-v1-customers.mjs.map +1 -1
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.d.mts +16 -3
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.d.mts.map +1 -1
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.d.ts +16 -3
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.d.ts.map +1 -1
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.js +13 -5
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.js.map +1 -1
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.mjs +13 -5
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.mjs.map +1 -1
- package/tools/v1/invoices/regenerate-v1-invoices.d.mts +16 -3
- package/tools/v1/invoices/regenerate-v1-invoices.d.mts.map +1 -1
- package/tools/v1/invoices/regenerate-v1-invoices.d.ts +16 -3
- package/tools/v1/invoices/regenerate-v1-invoices.d.ts.map +1 -1
- package/tools/v1/invoices/regenerate-v1-invoices.js +12 -3
- package/tools/v1/invoices/regenerate-v1-invoices.js.map +1 -1
- package/tools/v1/invoices/regenerate-v1-invoices.mjs +12 -3
- package/tools/v1/invoices/regenerate-v1-invoices.mjs.map +1 -1
- package/tools/v1/invoices/void-v1-invoices.d.mts +16 -3
- package/tools/v1/invoices/void-v1-invoices.d.mts.map +1 -1
- package/tools/v1/invoices/void-v1-invoices.d.ts +16 -3
- package/tools/v1/invoices/void-v1-invoices.d.ts.map +1 -1
- package/tools/v1/invoices/void-v1-invoices.js +12 -3
- package/tools/v1/invoices/void-v1-invoices.js.map +1 -1
- package/tools/v1/invoices/void-v1-invoices.mjs +12 -3
- package/tools/v1/invoices/void-v1-invoices.mjs.map +1 -1
- package/tools/v1/plans/get-details-v1-plans.d.mts +16 -3
- package/tools/v1/plans/get-details-v1-plans.d.mts.map +1 -1
- package/tools/v1/plans/get-details-v1-plans.d.ts +16 -3
- package/tools/v1/plans/get-details-v1-plans.d.ts.map +1 -1
- package/tools/v1/plans/get-details-v1-plans.js +14 -3
- package/tools/v1/plans/get-details-v1-plans.js.map +1 -1
- package/tools/v1/plans/get-details-v1-plans.mjs +14 -3
- package/tools/v1/plans/get-details-v1-plans.mjs.map +1 -1
- package/tools/v1/plans/list-charges-v1-plans.d.mts +16 -3
- package/tools/v1/plans/list-charges-v1-plans.d.mts.map +1 -1
- package/tools/v1/plans/list-charges-v1-plans.d.ts +16 -3
- package/tools/v1/plans/list-charges-v1-plans.d.ts.map +1 -1
- package/tools/v1/plans/list-charges-v1-plans.js +15 -3
- package/tools/v1/plans/list-charges-v1-plans.js.map +1 -1
- package/tools/v1/plans/list-charges-v1-plans.mjs +15 -3
- package/tools/v1/plans/list-charges-v1-plans.mjs.map +1 -1
- package/tools/v1/plans/list-customers-v1-plans.d.mts +16 -3
- package/tools/v1/plans/list-customers-v1-plans.d.mts.map +1 -1
- package/tools/v1/plans/list-customers-v1-plans.d.ts +16 -3
- package/tools/v1/plans/list-customers-v1-plans.d.ts.map +1 -1
- package/tools/v1/plans/list-customers-v1-plans.js +15 -3
- package/tools/v1/plans/list-customers-v1-plans.js.map +1 -1
- package/tools/v1/plans/list-customers-v1-plans.mjs +15 -3
- package/tools/v1/plans/list-customers-v1-plans.mjs.map +1 -1
- package/tools/v1/plans/list-v1-plans.d.mts +16 -3
- package/tools/v1/plans/list-v1-plans.d.mts.map +1 -1
- package/tools/v1/plans/list-v1-plans.d.ts +16 -3
- package/tools/v1/plans/list-v1-plans.d.ts.map +1 -1
- package/tools/v1/plans/list-v1-plans.js +15 -3
- package/tools/v1/plans/list-v1-plans.js.map +1 -1
- package/tools/v1/plans/list-v1-plans.mjs +15 -3
- package/tools/v1/plans/list-v1-plans.mjs.map +1 -1
- package/tools/v1/pricing-units/list-v1-pricing-units.d.mts +16 -3
- package/tools/v1/pricing-units/list-v1-pricing-units.d.mts.map +1 -1
- package/tools/v1/pricing-units/list-v1-pricing-units.d.ts +16 -3
- package/tools/v1/pricing-units/list-v1-pricing-units.d.ts.map +1 -1
- package/tools/v1/pricing-units/list-v1-pricing-units.js +15 -3
- package/tools/v1/pricing-units/list-v1-pricing-units.js.map +1 -1
- package/tools/v1/pricing-units/list-v1-pricing-units.mjs +15 -3
- package/tools/v1/pricing-units/list-v1-pricing-units.mjs.map +1 -1
- package/tools/v1/services/list-v1-services.d.mts +16 -3
- package/tools/v1/services/list-v1-services.d.mts.map +1 -1
- package/tools/v1/services/list-v1-services.d.ts +16 -3
- package/tools/v1/services/list-v1-services.d.ts.map +1 -1
- package/tools/v1/services/list-v1-services.js +16 -4
- package/tools/v1/services/list-v1-services.js.map +1 -1
- package/tools/v1/services/list-v1-services.mjs +16 -4
- package/tools/v1/services/list-v1-services.mjs.map +1 -1
- package/tools/v1/usage/ingest-v1-usage.d.mts +16 -3
- package/tools/v1/usage/ingest-v1-usage.d.mts.map +1 -1
- package/tools/v1/usage/ingest-v1-usage.d.ts +16 -3
- package/tools/v1/usage/ingest-v1-usage.d.ts.map +1 -1
- package/tools/v1/usage/ingest-v1-usage.js +12 -3
- package/tools/v1/usage/ingest-v1-usage.js.map +1 -1
- package/tools/v1/usage/ingest-v1-usage.mjs +12 -3
- package/tools/v1/usage/ingest-v1-usage.mjs.map +1 -1
- package/tools/v1/usage/list-v1-usage.d.mts +16 -3
- package/tools/v1/usage/list-v1-usage.d.mts.map +1 -1
- package/tools/v1/usage/list-v1-usage.d.ts +16 -3
- package/tools/v1/usage/list-v1-usage.d.ts.map +1 -1
- package/tools/v1/usage/list-v1-usage.js +12 -3
- package/tools/v1/usage/list-v1-usage.js.map +1 -1
- package/tools/v1/usage/list-v1-usage.mjs +12 -3
- package/tools/v1/usage/list-v1-usage.mjs.map +1 -1
- package/tools/v1/usage/list-with-groups-v1-usage.d.mts +16 -3
- package/tools/v1/usage/list-with-groups-v1-usage.d.mts.map +1 -1
- package/tools/v1/usage/list-with-groups-v1-usage.d.ts +16 -3
- package/tools/v1/usage/list-with-groups-v1-usage.d.ts.map +1 -1
- package/tools/v1/usage/list-with-groups-v1-usage.js +13 -3
- package/tools/v1/usage/list-with-groups-v1-usage.js.map +1 -1
- package/tools/v1/usage/list-with-groups-v1-usage.mjs +13 -3
- package/tools/v1/usage/list-with-groups-v1-usage.mjs.map +1 -1
- package/tools/v1/usage/search-v1-usage.d.mts +45 -0
- package/tools/v1/usage/search-v1-usage.d.mts.map +1 -0
- package/tools/v1/usage/search-v1-usage.d.ts +45 -0
- package/tools/v1/usage/search-v1-usage.d.ts.map +1 -0
- package/tools/v1/usage/search-v1-usage.js +44 -0
- package/tools/v1/usage/search-v1-usage.js.map +1 -0
- package/tools/v1/usage/search-v1-usage.mjs +40 -0
- package/tools/v1/usage/search-v1-usage.mjs.map +1 -0
- package/tools/v2/contracts/edit-commit-v2-contracts.d.mts +16 -3
- package/tools/v2/contracts/edit-commit-v2-contracts.d.mts.map +1 -1
- package/tools/v2/contracts/edit-commit-v2-contracts.d.ts +16 -3
- package/tools/v2/contracts/edit-commit-v2-contracts.d.ts.map +1 -1
- package/tools/v2/contracts/edit-commit-v2-contracts.js +14 -8
- package/tools/v2/contracts/edit-commit-v2-contracts.js.map +1 -1
- package/tools/v2/contracts/edit-commit-v2-contracts.mjs +14 -8
- package/tools/v2/contracts/edit-commit-v2-contracts.mjs.map +1 -1
- package/tools/v2/contracts/edit-credit-v2-contracts.d.mts +16 -3
- package/tools/v2/contracts/edit-credit-v2-contracts.d.mts.map +1 -1
- package/tools/v2/contracts/edit-credit-v2-contracts.d.ts +16 -3
- package/tools/v2/contracts/edit-credit-v2-contracts.d.ts.map +1 -1
- package/tools/v2/contracts/edit-credit-v2-contracts.js +12 -5
- package/tools/v2/contracts/edit-credit-v2-contracts.js.map +1 -1
- package/tools/v2/contracts/edit-credit-v2-contracts.mjs +12 -5
- package/tools/v2/contracts/edit-credit-v2-contracts.mjs.map +1 -1
- package/tools/v2/contracts/edit-v2-contracts.d.mts +16 -3
- package/tools/v2/contracts/edit-v2-contracts.d.mts.map +1 -1
- package/tools/v2/contracts/edit-v2-contracts.d.ts +16 -3
- package/tools/v2/contracts/edit-v2-contracts.d.ts.map +1 -1
- package/tools/v2/contracts/edit-v2-contracts.js +438 -68
- package/tools/v2/contracts/edit-v2-contracts.js.map +1 -1
- package/tools/v2/contracts/edit-v2-contracts.mjs +438 -68
- package/tools/v2/contracts/edit-v2-contracts.mjs.map +1 -1
- package/tools/v2/contracts/get-edit-history-v2-contracts.d.mts +16 -3
- package/tools/v2/contracts/get-edit-history-v2-contracts.d.mts.map +1 -1
- package/tools/v2/contracts/get-edit-history-v2-contracts.d.ts +16 -3
- package/tools/v2/contracts/get-edit-history-v2-contracts.d.ts.map +1 -1
- package/tools/v2/contracts/get-edit-history-v2-contracts.js +6 -3
- package/tools/v2/contracts/get-edit-history-v2-contracts.js.map +1 -1
- package/tools/v2/contracts/get-edit-history-v2-contracts.mjs +6 -3
- package/tools/v2/contracts/get-edit-history-v2-contracts.mjs.map +1 -1
- package/tools/v2/contracts/list-v2-contracts.d.mts +16 -3
- package/tools/v2/contracts/list-v2-contracts.d.mts.map +1 -1
- package/tools/v2/contracts/list-v2-contracts.d.ts +16 -3
- package/tools/v2/contracts/list-v2-contracts.d.ts.map +1 -1
- package/tools/v2/contracts/list-v2-contracts.js +6 -3
- package/tools/v2/contracts/list-v2-contracts.js.map +1 -1
- package/tools/v2/contracts/list-v2-contracts.mjs +6 -3
- package/tools/v2/contracts/list-v2-contracts.mjs.map +1 -1
- package/tools/v2/contracts/retrieve-v2-contracts.d.mts +16 -3
- package/tools/v2/contracts/retrieve-v2-contracts.d.mts.map +1 -1
- package/tools/v2/contracts/retrieve-v2-contracts.d.ts +16 -3
- package/tools/v2/contracts/retrieve-v2-contracts.d.ts.map +1 -1
- package/tools/v2/contracts/retrieve-v2-contracts.js +6 -3
- package/tools/v2/contracts/retrieve-v2-contracts.js.map +1 -1
- package/tools/v2/contracts/retrieve-v2-contracts.mjs +6 -3
- package/tools/v2/contracts/retrieve-v2-contracts.mjs.map +1 -1
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
+
import { maybeFilter } from '@metronome/mcp/filtering';
|
|
4
|
+
import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
|
|
5
|
+
|
|
3
6
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
4
|
-
import type { Metadata } from '../../../';
|
|
5
7
|
import Metronome from '@metronome/sdk';
|
|
6
8
|
|
|
7
9
|
export const metadata: Metadata = {
|
|
@@ -16,7 +18,7 @@ export const metadata: Metadata = {
|
|
|
16
18
|
export const tool: Tool = {
|
|
17
19
|
name: 'update_end_date_customers_v1_credits',
|
|
18
20
|
description:
|
|
19
|
-
'
|
|
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\nPull forward the end date of a credit. Use the \"edit a credit\" endpoint to extend the end date of a credit, or to make other edits to the credit.\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n $ref: '#/$defs/id'\n }\n },\n required: [ 'data'\n ],\n $defs: {\n id: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n }\n },\n required: [ 'id'\n ]\n }\n }\n}\n```",
|
|
20
22
|
inputSchema: {
|
|
21
23
|
type: 'object',
|
|
22
24
|
properties: {
|
|
@@ -34,13 +36,21 @@ export const tool: Tool = {
|
|
|
34
36
|
type: 'string',
|
|
35
37
|
description: 'ID of the customer whose credit is to be updated',
|
|
36
38
|
},
|
|
39
|
+
jq_filter: {
|
|
40
|
+
type: 'string',
|
|
41
|
+
title: 'jq Filter',
|
|
42
|
+
description:
|
|
43
|
+
'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/).',
|
|
44
|
+
},
|
|
37
45
|
},
|
|
46
|
+
required: ['access_ending_before', 'credit_id', 'customer_id'],
|
|
38
47
|
},
|
|
48
|
+
annotations: {},
|
|
39
49
|
};
|
|
40
50
|
|
|
41
|
-
export const handler = (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
51
|
+
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
42
52
|
const body = args as any;
|
|
43
|
-
return client.v1.customers.credits.updateEndDate(body);
|
|
53
|
+
return asTextContentResult(await maybeFilter(args, await client.v1.customers.credits.updateEndDate(body)));
|
|
44
54
|
};
|
|
45
55
|
|
|
46
56
|
export default { metadata, tool, handler };
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
+
import { maybeFilter } from '@metronome/mcp/filtering';
|
|
4
|
+
import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
|
|
5
|
+
|
|
3
6
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
4
|
-
import type { Metadata } from '../../../';
|
|
5
7
|
import Metronome from '@metronome/sdk';
|
|
6
8
|
|
|
7
9
|
export const metadata: Metadata = {
|
|
@@ -15,7 +17,8 @@ export const metadata: Metadata = {
|
|
|
15
17
|
|
|
16
18
|
export const tool: Tool = {
|
|
17
19
|
name: 'add_charge_customers_v1_invoices',
|
|
18
|
-
description:
|
|
20
|
+
description:
|
|
21
|
+
"When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nAdd a one time charge to the specified invoice\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {}\n}\n```",
|
|
19
22
|
inputSchema: {
|
|
20
23
|
type: 'object',
|
|
21
24
|
properties: {
|
|
@@ -47,13 +50,29 @@ export const tool: Tool = {
|
|
|
47
50
|
quantity: {
|
|
48
51
|
type: 'number',
|
|
49
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
|
+
},
|
|
50
59
|
},
|
|
60
|
+
required: [
|
|
61
|
+
'customer_id',
|
|
62
|
+
'charge_id',
|
|
63
|
+
'customer_plan_id',
|
|
64
|
+
'description',
|
|
65
|
+
'invoice_start_timestamp',
|
|
66
|
+
'price',
|
|
67
|
+
'quantity',
|
|
68
|
+
],
|
|
51
69
|
},
|
|
70
|
+
annotations: {},
|
|
52
71
|
};
|
|
53
72
|
|
|
54
|
-
export const handler = (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
73
|
+
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
55
74
|
const body = args as any;
|
|
56
|
-
return client.v1.customers.invoices.addCharge(body);
|
|
75
|
+
return asTextContentResult(await maybeFilter(args, await client.v1.customers.invoices.addCharge(body)));
|
|
57
76
|
};
|
|
58
77
|
|
|
59
78
|
export default { metadata, tool, handler };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
+
import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
|
|
4
|
+
|
|
3
5
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
4
|
-
import type { Metadata } from '../../../';
|
|
5
6
|
import Metronome from '@metronome/sdk';
|
|
6
7
|
|
|
7
8
|
export const metadata: Metadata = {
|
|
@@ -16,7 +17,7 @@ export const metadata: Metadata = {
|
|
|
16
17
|
export const tool: Tool = {
|
|
17
18
|
name: 'list_breakdowns_customers_v1_invoices',
|
|
18
19
|
description:
|
|
19
|
-
'
|
|
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 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.",
|
|
20
21
|
inputSchema: {
|
|
21
22
|
type: 'object',
|
|
22
23
|
properties: {
|
|
@@ -67,12 +68,17 @@ export const tool: Tool = {
|
|
|
67
68
|
enum: ['HOUR', 'DAY'],
|
|
68
69
|
},
|
|
69
70
|
},
|
|
71
|
+
required: ['customer_id', 'ending_before', 'starting_on'],
|
|
72
|
+
},
|
|
73
|
+
annotations: {
|
|
74
|
+
readOnlyHint: true,
|
|
70
75
|
},
|
|
71
76
|
};
|
|
72
77
|
|
|
73
|
-
export const handler = (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
78
|
+
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
74
79
|
const body = args as any;
|
|
75
|
-
|
|
80
|
+
const response = await client.v1.customers.invoices.listBreakdowns(body).asResponse();
|
|
81
|
+
return asTextContentResult(await response.json());
|
|
76
82
|
};
|
|
77
83
|
|
|
78
84
|
export default { metadata, tool, handler };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
+
import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
|
|
4
|
+
|
|
3
5
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
4
|
-
import type { Metadata } from '../../../';
|
|
5
6
|
import Metronome from '@metronome/sdk';
|
|
6
7
|
|
|
7
8
|
export const metadata: Metadata = {
|
|
@@ -16,7 +17,7 @@ export const metadata: Metadata = {
|
|
|
16
17
|
export const tool: Tool = {
|
|
17
18
|
name: 'list_customers_v1_invoices',
|
|
18
19
|
description:
|
|
19
|
-
'
|
|
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 all invoices for a given customer, optionally filtered by status, date range, and/or credit type.",
|
|
20
21
|
inputSchema: {
|
|
21
22
|
type: 'object',
|
|
22
23
|
properties: {
|
|
@@ -61,12 +62,17 @@ export const tool: Tool = {
|
|
|
61
62
|
description: 'Invoice status, e.g. DRAFT, FINALIZED, or VOID',
|
|
62
63
|
},
|
|
63
64
|
},
|
|
65
|
+
required: ['customer_id'],
|
|
66
|
+
},
|
|
67
|
+
annotations: {
|
|
68
|
+
readOnlyHint: true,
|
|
64
69
|
},
|
|
65
70
|
};
|
|
66
71
|
|
|
67
|
-
export const handler = (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
72
|
+
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
68
73
|
const body = args as any;
|
|
69
|
-
|
|
74
|
+
const response = await client.v1.customers.invoices.list(body).asResponse();
|
|
75
|
+
return asTextContentResult(await response.json());
|
|
70
76
|
};
|
|
71
77
|
|
|
72
78
|
export default { metadata, tool, handler };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
+
import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
|
|
4
|
+
|
|
3
5
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
4
|
-
import type { Metadata } from '../../../';
|
|
5
6
|
import Metronome from '@metronome/sdk';
|
|
6
7
|
|
|
7
8
|
export const metadata: Metadata = {
|
|
@@ -15,7 +16,8 @@ export const metadata: Metadata = {
|
|
|
15
16
|
|
|
16
17
|
export const tool: Tool = {
|
|
17
18
|
name: 'retrieve_customers_v1_invoices',
|
|
18
|
-
description:
|
|
19
|
+
description:
|
|
20
|
+
"When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nFetch a specific invoice for a given customer.",
|
|
19
21
|
inputSchema: {
|
|
20
22
|
type: 'object',
|
|
21
23
|
properties: {
|
|
@@ -30,12 +32,16 @@ export const tool: Tool = {
|
|
|
30
32
|
description: 'If set, all zero quantity line items will be filtered out of the response',
|
|
31
33
|
},
|
|
32
34
|
},
|
|
35
|
+
required: ['customer_id', 'invoice_id'],
|
|
36
|
+
},
|
|
37
|
+
annotations: {
|
|
38
|
+
readOnlyHint: true,
|
|
33
39
|
},
|
|
34
40
|
};
|
|
35
41
|
|
|
36
|
-
export const handler = (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
42
|
+
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
37
43
|
const body = args as any;
|
|
38
|
-
return client.v1.customers.invoices.retrieve(body);
|
|
44
|
+
return asTextContentResult(await client.v1.customers.invoices.retrieve(body));
|
|
39
45
|
};
|
|
40
46
|
|
|
41
47
|
export default { metadata, tool, handler };
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
+
import { maybeFilter } from '@metronome/mcp/filtering';
|
|
4
|
+
import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
|
|
5
|
+
|
|
3
6
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
4
|
-
import type { Metadata } from '../../';
|
|
5
7
|
import Metronome from '@metronome/sdk';
|
|
6
8
|
|
|
7
9
|
export const metadata: Metadata = {
|
|
@@ -15,7 +17,8 @@ export const metadata: Metadata = {
|
|
|
15
17
|
|
|
16
18
|
export const tool: Tool = {
|
|
17
19
|
name: 'list_billable_metrics_v1_customers',
|
|
18
|
-
description:
|
|
20
|
+
description:
|
|
21
|
+
"When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nGet all billable metrics for a given customer.\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n name: {\n type: 'string'\n },\n aggregate: {\n type: 'string',\n description: '(DEPRECATED) use aggregation_type instead'\n },\n aggregate_keys: {\n type: 'array',\n description: '(DEPRECATED) use aggregation_key instead',\n items: {\n type: 'string'\n }\n },\n aggregation_key: {\n type: 'string',\n description: 'A key that specifies which property of the event is used to aggregate data. This key must be one of the property filter names and is not applicable when the aggregation type is \\'count\\'.'\n },\n aggregation_type: {\n type: 'string',\n description: 'Specifies the type of aggregation performed on matching events.',\n enum: [ 'COUNT',\n 'LATEST',\n 'MAX',\n 'SUM',\n 'UNIQUE'\n ]\n },\n archived_at: {\n type: 'string',\n description: 'RFC 3339 timestamp indicating when the billable metric was archived. If not provided, the billable metric is not archived.',\n format: 'date-time'\n },\n custom_fields: {\n type: 'object'\n },\n event_type_filter: {\n $ref: '#/$defs/event_type_filter'\n },\n filter: {\n type: 'object',\n description: '(DEPRECATED) use property_filters & event_type_filter instead'\n },\n group_by: {\n type: 'array',\n description: '(DEPRECATED) use group_keys instead',\n items: {\n type: 'string',\n description: 'A list of keys that can be used to additionally segment the values of the billable metric when making usage queries'\n }\n },\n group_keys: {\n type: 'array',\n description: 'Property names that are used to group usage costs on an invoice. Each entry represents a set of properties used to slice events into distinct buckets.',\n items: {\n type: 'array',\n items: {\n type: 'string'\n }\n }\n },\n property_filters: {\n type: 'array',\n description: 'A list of filters to match events to this billable metric. Each filter defines a rule on an event property. All rules must pass for the event to match the billable metric.',\n items: {\n $ref: '#/$defs/property_filter'\n }\n },\n sql: {\n type: 'string',\n description: 'The SQL query associated with the billable metric'\n }\n },\n required: [ 'id',\n 'name'\n ]\n }\n },\n next_page: {\n type: 'string'\n }\n },\n required: [ 'data',\n 'next_page'\n ],\n $defs: {\n event_type_filter: {\n type: 'object',\n description: 'An optional filtering rule to match the \\'event_type\\' property of an event.',\n properties: {\n in_values: {\n type: 'array',\n description: 'A list of event types that are explicitly included in the billable metric. If specified, only events of these types will match the billable metric. Must be non-empty if present.',\n items: {\n type: 'string'\n }\n },\n not_in_values: {\n type: 'array',\n description: 'A list of event types that are explicitly excluded from the billable metric. If specified, events of these types will not match the billable metric. Must be non-empty if present.',\n items: {\n type: 'string'\n }\n }\n }\n },\n property_filter: {\n type: 'object',\n properties: {\n name: {\n type: 'string',\n description: 'The name of the event property.'\n },\n exists: {\n type: 'boolean',\n description: 'Determines whether the property must exist in the event. If true, only events with this property will pass the filter. If false, only events without this property will pass the filter. If null or omitted, the existence of the property is optional.'\n },\n in_values: {\n type: 'array',\n description: 'Specifies the allowed values for the property to match an event. An event will pass the filter only if its property value is included in this list. If undefined, all property values will pass the filter. Must be non-empty if present.',\n items: {\n type: 'string'\n }\n },\n not_in_values: {\n type: 'array',\n description: 'Specifies the values that prevent an event from matching the filter. An event will not pass the filter if its property value is included in this list. If null or empty, all property values will pass the filter. Must be non-empty if present.',\n items: {\n type: 'string'\n }\n }\n },\n required: [ 'name'\n ]\n }\n }\n}\n```",
|
|
19
22
|
inputSchema: {
|
|
20
23
|
type: 'object',
|
|
21
24
|
properties: {
|
|
@@ -39,13 +42,24 @@ export const tool: Tool = {
|
|
|
39
42
|
description:
|
|
40
43
|
"If true, the list of metrics will be filtered to just ones that are on the customer's current plan",
|
|
41
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
|
+
},
|
|
42
51
|
},
|
|
52
|
+
required: ['customer_id'],
|
|
53
|
+
},
|
|
54
|
+
annotations: {
|
|
55
|
+
readOnlyHint: true,
|
|
43
56
|
},
|
|
44
57
|
};
|
|
45
58
|
|
|
46
|
-
export const handler = (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
59
|
+
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
47
60
|
const body = args as any;
|
|
48
|
-
|
|
61
|
+
const response = await client.v1.customers.listBillableMetrics(body).asResponse();
|
|
62
|
+
return asTextContentResult(await maybeFilter(args, await response.json()));
|
|
49
63
|
};
|
|
50
64
|
|
|
51
65
|
export default { metadata, tool, handler };
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
+
import { maybeFilter } from '@metronome/mcp/filtering';
|
|
4
|
+
import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
|
|
5
|
+
|
|
3
6
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
4
|
-
import type { Metadata } from '../../';
|
|
5
7
|
import Metronome from '@metronome/sdk';
|
|
6
8
|
|
|
7
9
|
export const metadata: Metadata = {
|
|
@@ -16,7 +18,7 @@ export const metadata: Metadata = {
|
|
|
16
18
|
export const tool: Tool = {
|
|
17
19
|
name: 'list_costs_v1_customers',
|
|
18
20
|
description:
|
|
19
|
-
'
|
|
21
|
+
"When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nFetch daily pending costs for the specified customer, broken down by credit type and line items. Note: this is not supported for customers whose plan includes a UNIQUE-type billable metric.\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n credit_types: {\n type: 'object'\n },\n end_timestamp: {\n type: 'string',\n format: 'date-time'\n },\n start_timestamp: {\n type: 'string',\n format: 'date-time'\n }\n },\n required: [ 'credit_types',\n 'end_timestamp',\n 'start_timestamp'\n ]\n }\n },\n next_page: {\n type: 'string'\n }\n },\n required: [ 'data',\n 'next_page'\n ]\n}\n```",
|
|
20
22
|
inputSchema: {
|
|
21
23
|
type: 'object',
|
|
22
24
|
properties: {
|
|
@@ -41,13 +43,24 @@ export const tool: Tool = {
|
|
|
41
43
|
type: 'string',
|
|
42
44
|
description: 'Cursor that indicates where the next page of results should start.',
|
|
43
45
|
},
|
|
46
|
+
jq_filter: {
|
|
47
|
+
type: 'string',
|
|
48
|
+
title: 'jq Filter',
|
|
49
|
+
description:
|
|
50
|
+
'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/).',
|
|
51
|
+
},
|
|
44
52
|
},
|
|
53
|
+
required: ['customer_id', 'ending_before', 'starting_on'],
|
|
54
|
+
},
|
|
55
|
+
annotations: {
|
|
56
|
+
readOnlyHint: true,
|
|
45
57
|
},
|
|
46
58
|
};
|
|
47
59
|
|
|
48
|
-
export const handler = (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
60
|
+
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
49
61
|
const body = args as any;
|
|
50
|
-
|
|
62
|
+
const response = await client.v1.customers.listCosts(body).asResponse();
|
|
63
|
+
return asTextContentResult(await maybeFilter(args, await response.json()));
|
|
51
64
|
};
|
|
52
65
|
|
|
53
66
|
export default { metadata, tool, handler };
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
+
import { maybeFilter } from '@metronome/mcp/filtering';
|
|
4
|
+
import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
|
|
5
|
+
|
|
3
6
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
4
|
-
import type { Metadata } from '../../';
|
|
5
7
|
import Metronome from '@metronome/sdk';
|
|
6
8
|
|
|
7
9
|
export const metadata: Metadata = {
|
|
@@ -15,7 +17,8 @@ export const metadata: Metadata = {
|
|
|
15
17
|
|
|
16
18
|
export const tool: Tool = {
|
|
17
19
|
name: 'list_v1_customers',
|
|
18
|
-
description:
|
|
20
|
+
description:
|
|
21
|
+
"When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nList all customers.\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n type: 'array',\n items: {\n $ref: '#/$defs/customer_detail'\n }\n },\n next_page: {\n type: 'string'\n }\n },\n required: [ 'data',\n 'next_page'\n ],\n $defs: {\n customer_detail: {\n type: 'object',\n properties: {\n id: {\n type: 'string',\n description: 'the Metronome ID of the customer'\n },\n created_at: {\n type: 'string',\n description: 'RFC 3339 timestamp indicating when the customer was created.',\n format: 'date-time'\n },\n custom_fields: {\n type: 'object'\n },\n customer_config: {\n type: 'object',\n properties: {\n salesforce_account_id: {\n type: 'string',\n description: 'The Salesforce account ID for the customer'\n }\n },\n required: [ 'salesforce_account_id'\n ]\n },\n external_id: {\n type: 'string',\n description: '(deprecated, use ingest_aliases instead) the first ID (Metronome or ingest alias) that can be used in usage events'\n },\n ingest_aliases: {\n type: 'array',\n description: 'aliases for this customer that can be used instead of the Metronome customer ID in usage events',\n items: {\n type: 'string'\n }\n },\n name: {\n type: 'string'\n },\n archived_at: {\n type: 'string',\n description: 'RFC 3339 timestamp indicating when the customer was archived. Null if the customer is active.',\n format: 'date-time'\n },\n current_billable_status: {\n type: 'object',\n description: 'This field\\'s availability is dependent on your client\\'s configuration.',\n properties: {\n value: {\n type: 'string',\n enum: [ 'billable',\n 'unbillable'\n ]\n },\n effective_at: {\n type: 'string',\n format: 'date-time'\n }\n },\n required: [ 'value'\n ]\n }\n },\n required: [ 'id',\n 'created_at',\n 'custom_fields',\n 'customer_config',\n 'external_id',\n 'ingest_aliases',\n 'name'\n ]\n }\n }\n}\n```",
|
|
19
22
|
inputSchema: {
|
|
20
23
|
type: 'object',
|
|
21
24
|
properties: {
|
|
@@ -50,13 +53,24 @@ export const tool: Tool = {
|
|
|
50
53
|
type: 'string',
|
|
51
54
|
},
|
|
52
55
|
},
|
|
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
|
+
},
|
|
53
62
|
},
|
|
63
|
+
required: [],
|
|
64
|
+
},
|
|
65
|
+
annotations: {
|
|
66
|
+
readOnlyHint: true,
|
|
54
67
|
},
|
|
55
68
|
};
|
|
56
69
|
|
|
57
|
-
export const handler = (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
70
|
+
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
58
71
|
const body = args as any;
|
|
59
|
-
|
|
72
|
+
const response = await client.v1.customers.list(body).asResponse();
|
|
73
|
+
return asTextContentResult(await maybeFilter(args, await response.json()));
|
|
60
74
|
};
|
|
61
75
|
|
|
62
76
|
export default { metadata, tool, handler };
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
+
import { maybeFilter } from '@metronome/mcp/filtering';
|
|
4
|
+
import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
|
|
5
|
+
|
|
3
6
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
4
|
-
import type { Metadata } from '../../../';
|
|
5
7
|
import Metronome from '@metronome/sdk';
|
|
6
8
|
|
|
7
9
|
export const metadata: Metadata = {
|
|
@@ -16,7 +18,7 @@ export const metadata: Metadata = {
|
|
|
16
18
|
export const tool: Tool = {
|
|
17
19
|
name: 'retrieve_customers_v1_named_schedules',
|
|
18
20
|
description:
|
|
19
|
-
"
|
|
21
|
+
"When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nGet a named schedule for the given customer. This endpoint's availability is dependent on your client's configuration.\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n starting_at: {\n type: 'string',\n format: 'date-time'\n },\n value: {\n type: 'object'\n },\n ending_before: {\n type: 'string',\n format: 'date-time'\n }\n },\n required: [ 'starting_at',\n 'value'\n ]\n }\n }\n },\n required: [ 'data'\n ]\n}\n```",
|
|
20
22
|
inputSchema: {
|
|
21
23
|
type: 'object',
|
|
22
24
|
properties: {
|
|
@@ -34,13 +36,23 @@ export const tool: Tool = {
|
|
|
34
36
|
'If provided, at most one schedule segment will be returned (the one that covers this date). If not provided, all segments will be returned.',
|
|
35
37
|
format: 'date-time',
|
|
36
38
|
},
|
|
39
|
+
jq_filter: {
|
|
40
|
+
type: 'string',
|
|
41
|
+
title: 'jq Filter',
|
|
42
|
+
description:
|
|
43
|
+
'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/).',
|
|
44
|
+
},
|
|
37
45
|
},
|
|
46
|
+
required: ['customer_id', 'schedule_name'],
|
|
38
47
|
},
|
|
48
|
+
annotations: {},
|
|
39
49
|
};
|
|
40
50
|
|
|
41
|
-
export const handler = (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
51
|
+
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
42
52
|
const body = args as any;
|
|
43
|
-
return
|
|
53
|
+
return asTextContentResult(
|
|
54
|
+
await maybeFilter(args, await client.v1.customers.namedSchedules.retrieve(body)),
|
|
55
|
+
);
|
|
44
56
|
};
|
|
45
57
|
|
|
46
58
|
export default { metadata, tool, handler };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
+
import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
|
|
4
|
+
|
|
3
5
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
4
|
-
import type { Metadata } from '../../../';
|
|
5
6
|
import Metronome from '@metronome/sdk';
|
|
6
7
|
|
|
7
8
|
export const metadata: Metadata = {
|
|
@@ -16,7 +17,7 @@ export const metadata: Metadata = {
|
|
|
16
17
|
export const tool: Tool = {
|
|
17
18
|
name: 'update_customers_v1_named_schedules',
|
|
18
19
|
description:
|
|
19
|
-
"
|
|
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\nUpdate a named schedule for the given customer. This endpoint's availability is dependent on your client's configuration.\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {}\n}\n```",
|
|
20
21
|
inputSchema: {
|
|
21
22
|
type: 'object',
|
|
22
23
|
properties: {
|
|
@@ -41,13 +42,22 @@ export const tool: Tool = {
|
|
|
41
42
|
type: 'string',
|
|
42
43
|
format: 'date-time',
|
|
43
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
|
+
},
|
|
44
51
|
},
|
|
52
|
+
required: ['customer_id', 'schedule_name', 'starting_at', 'value'],
|
|
45
53
|
},
|
|
54
|
+
annotations: {},
|
|
46
55
|
};
|
|
47
56
|
|
|
48
|
-
export const handler = (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
57
|
+
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
49
58
|
const body = args as any;
|
|
50
|
-
|
|
59
|
+
const response = await client.v1.customers.namedSchedules.update(body).asResponse();
|
|
60
|
+
return asTextContentResult(await response.text());
|
|
51
61
|
};
|
|
52
62
|
|
|
53
63
|
export default { metadata, tool, handler };
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
+
import { maybeFilter } from '@metronome/mcp/filtering';
|
|
4
|
+
import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
|
|
5
|
+
|
|
3
6
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
4
|
-
import type { Metadata } from '../../../';
|
|
5
7
|
import Metronome from '@metronome/sdk';
|
|
6
8
|
|
|
7
9
|
export const metadata: Metadata = {
|
|
@@ -16,7 +18,7 @@ export const metadata: Metadata = {
|
|
|
16
18
|
export const tool: Tool = {
|
|
17
19
|
name: 'add_customers_v1_plans',
|
|
18
20
|
description:
|
|
19
|
-
'
|
|
21
|
+
"When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nAssociate an existing customer with a plan for a specified date range. See the [price adjustments documentation](https://plans-docs.metronome.com/pricing/managing-plans/#price-adjustments) for details on the price adjustments.\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n $ref: '#/$defs/id'\n }\n },\n required: [ 'data'\n ],\n $defs: {\n id: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n }\n },\n required: [ 'id'\n ]\n }\n }\n}\n```",
|
|
20
22
|
inputSchema: {
|
|
21
23
|
type: 'object',
|
|
22
24
|
properties: {
|
|
@@ -126,13 +128,21 @@ export const tool: Tool = {
|
|
|
126
128
|
},
|
|
127
129
|
required: ['length_in_days'],
|
|
128
130
|
},
|
|
131
|
+
jq_filter: {
|
|
132
|
+
type: 'string',
|
|
133
|
+
title: 'jq Filter',
|
|
134
|
+
description:
|
|
135
|
+
'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/).',
|
|
136
|
+
},
|
|
129
137
|
},
|
|
138
|
+
required: ['customer_id', 'plan_id', 'starting_on'],
|
|
130
139
|
},
|
|
140
|
+
annotations: {},
|
|
131
141
|
};
|
|
132
142
|
|
|
133
|
-
export const handler = (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
143
|
+
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
134
144
|
const body = args as any;
|
|
135
|
-
return client.v1.customers.plans.add(body);
|
|
145
|
+
return asTextContentResult(await maybeFilter(args, await client.v1.customers.plans.add(body)));
|
|
136
146
|
};
|
|
137
147
|
|
|
138
148
|
export default { metadata, tool, handler };
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
+
import { maybeFilter } from '@metronome/mcp/filtering';
|
|
4
|
+
import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
|
|
5
|
+
|
|
3
6
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
4
|
-
import type { Metadata } from '../../../';
|
|
5
7
|
import Metronome from '@metronome/sdk';
|
|
6
8
|
|
|
7
9
|
export const metadata: Metadata = {
|
|
@@ -15,7 +17,8 @@ export const metadata: Metadata = {
|
|
|
15
17
|
|
|
16
18
|
export const tool: Tool = {
|
|
17
19
|
name: 'end_customers_v1_plans',
|
|
18
|
-
description:
|
|
20
|
+
description:
|
|
21
|
+
"When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nChange the end date of a customer's plan.\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {}\n}\n```",
|
|
19
22
|
inputSchema: {
|
|
20
23
|
type: 'object',
|
|
21
24
|
properties: {
|
|
@@ -41,13 +44,21 @@ export const tool: Tool = {
|
|
|
41
44
|
description:
|
|
42
45
|
'Only applicable when void_invoices is set to true. If true, for every invoice that is voided we will also attempt to void/delete the stripe invoice (if any). Stripe invoices will be voided if finalized or deleted if still in draft state.',
|
|
43
46
|
},
|
|
47
|
+
jq_filter: {
|
|
48
|
+
type: 'string',
|
|
49
|
+
title: 'jq Filter',
|
|
50
|
+
description:
|
|
51
|
+
'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/).',
|
|
52
|
+
},
|
|
44
53
|
},
|
|
54
|
+
required: ['customer_id', 'customer_plan_id'],
|
|
45
55
|
},
|
|
56
|
+
annotations: {},
|
|
46
57
|
};
|
|
47
58
|
|
|
48
|
-
export const handler = (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
59
|
+
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
49
60
|
const body = args as any;
|
|
50
|
-
return client.v1.customers.plans.end(body);
|
|
61
|
+
return asTextContentResult(await maybeFilter(args, await client.v1.customers.plans.end(body)));
|
|
51
62
|
};
|
|
52
63
|
|
|
53
64
|
export default { metadata, tool, handler };
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
+
import { maybeFilter } from '@metronome/mcp/filtering';
|
|
4
|
+
import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
|
|
5
|
+
|
|
3
6
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
4
|
-
import type { Metadata } from '../../../';
|
|
5
7
|
import Metronome from '@metronome/sdk';
|
|
6
8
|
|
|
7
9
|
export const metadata: Metadata = {
|
|
@@ -15,7 +17,8 @@ export const metadata: Metadata = {
|
|
|
15
17
|
|
|
16
18
|
export const tool: Tool = {
|
|
17
19
|
name: 'list_customers_v1_plans',
|
|
18
|
-
description:
|
|
20
|
+
description:
|
|
21
|
+
"When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nList the given customer's plans in reverse-chronological order.\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n id: {\n type: 'string',\n description: 'the ID of the customer plan'\n },\n custom_fields: {\n type: 'object'\n },\n plan_description: {\n type: 'string'\n },\n plan_id: {\n type: 'string',\n description: 'the ID of the plan'\n },\n plan_name: {\n type: 'string'\n },\n starting_on: {\n type: 'string',\n format: 'date-time'\n },\n ending_before: {\n type: 'string',\n format: 'date-time'\n },\n net_payment_terms_days: {\n type: 'number'\n },\n trial_info: {\n type: 'object',\n properties: {\n ending_before: {\n type: 'string',\n format: 'date-time'\n },\n spending_caps: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n amount: {\n type: 'number'\n },\n amount_remaining: {\n type: 'number'\n },\n credit_type: {\n $ref: '#/$defs/credit_type_data'\n }\n },\n required: [ 'amount',\n 'amount_remaining',\n 'credit_type'\n ]\n }\n }\n },\n required: [ 'ending_before',\n 'spending_caps'\n ]\n }\n },\n required: [ 'id',\n 'custom_fields',\n 'plan_description',\n 'plan_id',\n 'plan_name',\n 'starting_on'\n ]\n }\n },\n next_page: {\n type: 'string'\n }\n },\n required: [ 'data',\n 'next_page'\n ],\n $defs: {\n credit_type_data: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n name: {\n type: 'string'\n }\n },\n required: [ 'id',\n 'name'\n ]\n }\n }\n}\n```",
|
|
19
22
|
inputSchema: {
|
|
20
23
|
type: 'object',
|
|
21
24
|
properties: {
|
|
@@ -30,13 +33,24 @@ export const tool: Tool = {
|
|
|
30
33
|
type: 'string',
|
|
31
34
|
description: 'Cursor that indicates where the next page of results should start.',
|
|
32
35
|
},
|
|
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
|
+
},
|
|
33
42
|
},
|
|
43
|
+
required: ['customer_id'],
|
|
44
|
+
},
|
|
45
|
+
annotations: {
|
|
46
|
+
readOnlyHint: true,
|
|
34
47
|
},
|
|
35
48
|
};
|
|
36
49
|
|
|
37
|
-
export const handler = (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
50
|
+
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
38
51
|
const body = args as any;
|
|
39
|
-
|
|
52
|
+
const response = await client.v1.customers.plans.list(body).asResponse();
|
|
53
|
+
return asTextContentResult(await maybeFilter(args, await response.json()));
|
|
40
54
|
};
|
|
41
55
|
|
|
42
56
|
export default { metadata, tool, handler };
|