@metronome/mcp 0.1.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -0
- package/compat.d.mts.map +1 -1
- package/compat.d.ts.map +1 -1
- package/compat.js +5 -2
- package/compat.js.map +1 -1
- package/compat.mjs +5 -2
- package/compat.mjs.map +1 -1
- package/filtering.d.mts +1 -1
- package/filtering.d.mts.map +1 -1
- package/filtering.d.ts +1 -1
- package/filtering.d.ts.map +1 -1
- package/filtering.js +1 -2
- package/filtering.js.map +1 -1
- package/filtering.mjs +1 -2
- package/filtering.mjs.map +1 -1
- package/headers.d.mts +4 -0
- package/headers.d.mts.map +1 -0
- package/headers.d.ts +4 -0
- package/headers.d.ts.map +1 -0
- package/headers.js +22 -0
- package/headers.js.map +1 -0
- package/headers.mjs +18 -0
- package/headers.mjs.map +1 -0
- package/http.d.mts +6 -0
- package/http.d.mts.map +1 -0
- package/http.d.ts +6 -0
- package/http.d.ts.map +1 -0
- package/http.js +93 -0
- package/http.js.map +1 -0
- package/http.mjs +85 -0
- package/http.mjs.map +1 -0
- package/index.js +12 -7
- package/index.js.map +1 -1
- package/index.mjs +13 -8
- package/index.mjs.map +1 -1
- package/options.d.mts +3 -0
- package/options.d.mts.map +1 -1
- package/options.d.ts +3 -0
- package/options.d.ts.map +1 -1
- package/options.js +18 -0
- package/options.js.map +1 -1
- package/options.mjs +18 -0
- package/options.mjs.map +1 -1
- package/package.json +4 -3
- package/server.d.mts +1 -0
- package/server.d.mts.map +1 -1
- package/server.d.ts +1 -0
- package/server.d.ts.map +1 -1
- package/server.js +8 -6
- package/server.js.map +1 -1
- package/server.mjs +6 -5
- package/server.mjs.map +1 -1
- package/src/compat.ts +5 -2
- package/src/filtering.ts +1 -2
- package/src/headers.ts +24 -0
- package/src/http.ts +99 -0
- package/src/index.ts +15 -11
- package/src/options.ts +22 -0
- package/src/server.ts +12 -9
- package/src/stdio.ts +14 -0
- package/src/tools/v1/alerts/archive-v1-alerts.ts +2 -2
- package/src/tools/v1/alerts/create-v1-alerts.ts +15 -12
- package/src/tools/v1/audit-logs/list-v1-audit-logs.ts +2 -2
- package/src/tools/v1/billable-metrics/archive-v1-billable-metrics.ts +2 -2
- package/src/tools/v1/billable-metrics/create-v1-billable-metrics.ts +3 -2
- package/src/tools/v1/billable-metrics/list-v1-billable-metrics.ts +3 -3
- package/src/tools/v1/billable-metrics/retrieve-v1-billable-metrics.ts +3 -3
- package/src/tools/v1/contracts/add-manual-balance-entry-v1-contracts.ts +1 -8
- package/src/tools/v1/contracts/amend-v1-contracts.ts +38 -1
- package/src/tools/v1/contracts/archive-v1-contracts.ts +2 -2
- package/src/tools/v1/contracts/create-historical-invoices-v1-contracts.ts +4 -2
- package/src/tools/v1/contracts/create-v1-contracts.ts +107 -5
- package/src/tools/v1/contracts/list-balances-v1-contracts.ts +1 -2
- package/src/tools/v1/contracts/list-v1-contracts.ts +1 -1
- package/src/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.ts +3 -3
- package/src/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.ts +2 -7
- package/src/tools/v1/contracts/products/archive-contracts-v1-products.ts +2 -2
- package/src/tools/v1/contracts/products/create-contracts-v1-products.ts +6 -2
- package/src/tools/v1/contracts/products/list-contracts-v1-products.ts +3 -3
- package/src/tools/v1/contracts/products/retrieve-contracts-v1-products.ts +3 -3
- package/src/tools/v1/contracts/products/update-contracts-v1-products.ts +2 -2
- package/src/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.ts +2 -2
- package/src/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.ts +3 -2
- package/src/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.ts +4 -3
- package/src/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.ts +3 -3
- package/src/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.ts +2 -7
- package/src/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.ts +2 -2
- package/src/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.ts +2 -2
- package/src/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.ts +4 -2
- package/src/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.ts +7 -3
- package/src/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.ts +5 -3
- package/src/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.ts +5 -3
- package/src/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.ts +5 -3
- package/src/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.ts +2 -2
- package/src/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.ts +7 -3
- package/src/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.ts +2 -2
- package/src/tools/v1/contracts/retrieve-v1-contracts.ts +1 -1
- package/src/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.ts +1 -1
- package/src/tools/v1/contracts/set-usage-filter-v1-contracts.ts +1 -8
- package/src/tools/v1/contracts/update-end-date-v1-contracts.ts +2 -2
- package/src/tools/v1/credit-grants/create-v1-credit-grants.ts +3 -2
- package/src/tools/v1/credit-grants/edit-v1-credit-grants.ts +2 -2
- package/src/tools/v1/credit-grants/list-entries-v1-credit-grants.ts +2 -2
- package/src/tools/v1/credit-grants/list-v1-credit-grants.ts +3 -3
- package/src/tools/v1/credit-grants/void-v1-credit-grants.ts +2 -2
- package/src/tools/v1/custom-fields/add-key-v1-custom-fields.ts +1 -7
- package/src/tools/v1/custom-fields/delete-values-v1-custom-fields.ts +1 -8
- package/src/tools/v1/custom-fields/list-keys-v1-custom-fields.ts +2 -2
- package/src/tools/v1/custom-fields/remove-key-v1-custom-fields.ts +1 -8
- package/src/tools/v1/custom-fields/set-values-v1-custom-fields.ts +2 -7
- package/src/tools/v1/customers/alerts/list-customers-v1-alerts.ts +3 -3
- package/src/tools/v1/customers/alerts/reset-customers-v1-alerts.ts +1 -8
- package/src/tools/v1/customers/alerts/retrieve-customers-v1-alerts.ts +3 -3
- package/src/tools/v1/customers/archive-v1-customers.ts +2 -2
- package/src/tools/v1/customers/billing-config/create-customers-v1-billing-config.ts +1 -8
- package/src/tools/v1/customers/billing-config/delete-customers-v1-billing-config.ts +1 -7
- package/src/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.ts +4 -2
- package/src/tools/v1/customers/commits/create-customers-v1-commits.ts +10 -2
- package/src/tools/v1/customers/commits/list-customers-v1-commits.ts +1 -2
- package/src/tools/v1/customers/commits/update-end-date-customers-v1-commits.ts +4 -2
- package/src/tools/v1/customers/create-v1-customers.ts +5 -3
- package/src/tools/v1/customers/credits/create-customers-v1-credits.ts +5 -2
- package/src/tools/v1/customers/credits/list-customers-v1-credits.ts +1 -2
- package/src/tools/v1/customers/credits/update-end-date-customers-v1-credits.ts +4 -2
- package/src/tools/v1/customers/invoices/add-charge-customers-v1-invoices.ts +4 -2
- package/src/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.ts +1 -1
- package/src/tools/v1/customers/invoices/list-customers-v1-invoices.ts +1 -1
- package/src/tools/v1/customers/invoices/retrieve-customers-v1-invoices.ts +1 -2
- package/src/tools/v1/customers/list-billable-metrics-v1-customers.ts +3 -3
- package/src/tools/v1/customers/list-costs-v1-customers.ts +3 -3
- package/src/tools/v1/customers/list-v1-customers.ts +3 -3
- package/src/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.ts +3 -3
- package/src/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.ts +2 -7
- package/src/tools/v1/customers/plans/add-customers-v1-plans.ts +2 -2
- package/src/tools/v1/customers/plans/end-customers-v1-plans.ts +2 -2
- package/src/tools/v1/customers/plans/list-customers-v1-plans.ts +3 -3
- package/src/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.ts +2 -2
- package/src/tools/v1/customers/preview-events-v1-customers.ts +2 -1
- package/src/tools/v1/customers/retrieve-v1-customers.ts +3 -3
- package/src/tools/v1/customers/set-ingest-aliases-v1-customers.ts +1 -7
- package/src/tools/v1/customers/set-name-v1-customers.ts +3 -3
- package/src/tools/v1/customers/update-config-v1-customers.ts +1 -8
- package/src/tools/v1/dashboards/get-embeddable-url-v1-dashboards.ts +5 -2
- package/src/tools/v1/invoices/regenerate-v1-invoices.ts +2 -2
- package/src/tools/v1/invoices/void-v1-invoices.ts +2 -2
- package/src/tools/v1/plans/get-details-v1-plans.ts +3 -3
- package/src/tools/v1/plans/list-charges-v1-plans.ts +3 -3
- package/src/tools/v1/plans/list-customers-v1-plans.ts +3 -3
- package/src/tools/v1/plans/list-v1-plans.ts +3 -3
- package/src/tools/v1/pricing-units/list-v1-pricing-units.ts +2 -2
- package/src/tools/v1/services/list-v1-services.ts +2 -1
- package/src/tools/v1/usage/ingest-v1-usage.ts +2 -7
- package/src/tools/v1/usage/list-v1-usage.ts +3 -3
- package/src/tools/v1/usage/list-with-groups-v1-usage.ts +2 -2
- package/src/tools/v1/usage/search-v1-usage.ts +3 -3
- package/src/tools/v2/contracts/edit-commit-v2-contracts.ts +9 -3
- package/src/tools/v2/contracts/edit-credit-v2-contracts.ts +9 -3
- package/src/tools/v2/contracts/edit-v2-contracts.ts +129 -18
- package/src/tools/v2/contracts/get-edit-history-v2-contracts.ts +1 -1
- package/src/tools/v2/contracts/list-v2-contracts.ts +1 -1
- package/src/tools/v2/contracts/retrieve-v2-contracts.ts +1 -2
- package/stdio.d.mts +4 -0
- package/stdio.d.mts.map +1 -0
- package/stdio.d.ts +4 -0
- package/stdio.d.ts.map +1 -0
- package/stdio.js +14 -0
- package/stdio.js.map +1 -0
- package/stdio.mjs +10 -0
- package/stdio.mjs.map +1 -0
- package/tools/v1/alerts/archive-v1-alerts.js +2 -2
- package/tools/v1/alerts/archive-v1-alerts.js.map +1 -1
- package/tools/v1/alerts/archive-v1-alerts.mjs +2 -2
- package/tools/v1/alerts/archive-v1-alerts.mjs.map +1 -1
- package/tools/v1/alerts/create-v1-alerts.d.mts.map +1 -1
- package/tools/v1/alerts/create-v1-alerts.d.ts.map +1 -1
- package/tools/v1/alerts/create-v1-alerts.js +15 -12
- package/tools/v1/alerts/create-v1-alerts.js.map +1 -1
- package/tools/v1/alerts/create-v1-alerts.mjs +15 -12
- package/tools/v1/alerts/create-v1-alerts.mjs.map +1 -1
- package/tools/v1/audit-logs/list-v1-audit-logs.js +2 -2
- package/tools/v1/audit-logs/list-v1-audit-logs.js.map +1 -1
- package/tools/v1/audit-logs/list-v1-audit-logs.mjs +2 -2
- package/tools/v1/audit-logs/list-v1-audit-logs.mjs.map +1 -1
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.js +2 -2
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.js.map +1 -1
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.mjs +2 -2
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.mjs.map +1 -1
- package/tools/v1/billable-metrics/create-v1-billable-metrics.d.mts.map +1 -1
- package/tools/v1/billable-metrics/create-v1-billable-metrics.d.ts.map +1 -1
- package/tools/v1/billable-metrics/create-v1-billable-metrics.js +3 -2
- package/tools/v1/billable-metrics/create-v1-billable-metrics.js.map +1 -1
- package/tools/v1/billable-metrics/create-v1-billable-metrics.mjs +3 -2
- package/tools/v1/billable-metrics/create-v1-billable-metrics.mjs.map +1 -1
- package/tools/v1/billable-metrics/list-v1-billable-metrics.js +3 -3
- package/tools/v1/billable-metrics/list-v1-billable-metrics.js.map +1 -1
- package/tools/v1/billable-metrics/list-v1-billable-metrics.mjs +3 -3
- package/tools/v1/billable-metrics/list-v1-billable-metrics.mjs.map +1 -1
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.js +3 -3
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.js.map +1 -1
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.mjs +3 -3
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.mjs.map +1 -1
- package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.js +1 -6
- package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.mjs +1 -6
- package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/amend-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/amend-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/amend-v1-contracts.js +34 -1
- package/tools/v1/contracts/amend-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/amend-v1-contracts.mjs +34 -1
- package/tools/v1/contracts/amend-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/archive-v1-contracts.js +2 -2
- package/tools/v1/contracts/archive-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/archive-v1-contracts.mjs +2 -2
- package/tools/v1/contracts/archive-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.js +4 -1
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.mjs +4 -1
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/create-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/create-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/create-v1-contracts.js +102 -4
- package/tools/v1/contracts/create-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/create-v1-contracts.mjs +102 -4
- package/tools/v1/contracts/create-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/list-balances-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/list-balances-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/list-balances-v1-contracts.js +1 -1
- package/tools/v1/contracts/list-balances-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/list-balances-v1-contracts.mjs +1 -1
- package/tools/v1/contracts/list-balances-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/list-v1-contracts.js +1 -1
- package/tools/v1/contracts/list-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/list-v1-contracts.mjs +1 -1
- package/tools/v1/contracts/list-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.js +3 -3
- package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.js.map +1 -1
- package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.mjs +3 -3
- package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.mjs.map +1 -1
- package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.d.mts.map +1 -1
- package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.d.ts.map +1 -1
- package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.js +2 -6
- package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.js.map +1 -1
- package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.mjs +2 -6
- package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.mjs.map +1 -1
- package/tools/v1/contracts/products/archive-contracts-v1-products.js +2 -2
- package/tools/v1/contracts/products/archive-contracts-v1-products.js.map +1 -1
- package/tools/v1/contracts/products/archive-contracts-v1-products.mjs +2 -2
- package/tools/v1/contracts/products/archive-contracts-v1-products.mjs.map +1 -1
- package/tools/v1/contracts/products/create-contracts-v1-products.d.mts.map +1 -1
- package/tools/v1/contracts/products/create-contracts-v1-products.d.ts.map +1 -1
- package/tools/v1/contracts/products/create-contracts-v1-products.js +6 -2
- package/tools/v1/contracts/products/create-contracts-v1-products.js.map +1 -1
- package/tools/v1/contracts/products/create-contracts-v1-products.mjs +6 -2
- package/tools/v1/contracts/products/create-contracts-v1-products.mjs.map +1 -1
- package/tools/v1/contracts/products/list-contracts-v1-products.js +3 -3
- package/tools/v1/contracts/products/list-contracts-v1-products.js.map +1 -1
- package/tools/v1/contracts/products/list-contracts-v1-products.mjs +3 -3
- package/tools/v1/contracts/products/list-contracts-v1-products.mjs.map +1 -1
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.js +3 -3
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.js.map +1 -1
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.mjs +3 -3
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.mjs.map +1 -1
- package/tools/v1/contracts/products/update-contracts-v1-products.js +2 -2
- package/tools/v1/contracts/products/update-contracts-v1-products.js.map +1 -1
- package/tools/v1/contracts/products/update-contracts-v1-products.mjs +2 -2
- package/tools/v1/contracts/products/update-contracts-v1-products.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.js +2 -2
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.js.map +1 -1
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.mjs +2 -2
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.js +3 -2
- package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.js.map +1 -1
- package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.mjs +3 -2
- package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.js +4 -3
- package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.js.map +1 -1
- package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.mjs +4 -3
- package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.js +3 -3
- package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.js.map +1 -1
- package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.mjs +3 -3
- package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.js +2 -6
- package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.js.map +1 -1
- package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.mjs +2 -6
- package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.js +2 -2
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.js.map +1 -1
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.mjs +2 -2
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.js +2 -2
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.js.map +1 -1
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.mjs +2 -2
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.js +4 -2
- package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.js.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.mjs +4 -2
- package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.js +5 -3
- package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.js.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.mjs +5 -3
- package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.js +5 -3
- package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.js.map +1 -1
- package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.mjs +5 -3
- package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.js +3 -3
- package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.js.map +1 -1
- package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.mjs +3 -3
- package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.d.mts.map +1 -1
- package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.d.ts.map +1 -1
- package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.js +5 -3
- package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.js.map +1 -1
- package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.mjs +5 -3
- package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.mjs.map +1 -1
- package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.js +2 -2
- package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.js.map +1 -1
- package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.mjs +2 -2
- package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.mjs.map +1 -1
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.js +5 -3
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.mjs +5 -3
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.js +2 -2
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.mjs +2 -2
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/retrieve-v1-contracts.js +1 -1
- package/tools/v1/contracts/retrieve-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/retrieve-v1-contracts.mjs +1 -1
- package/tools/v1/contracts/retrieve-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.js +1 -1
- package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.mjs +1 -1
- package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/set-usage-filter-v1-contracts.d.mts.map +1 -1
- package/tools/v1/contracts/set-usage-filter-v1-contracts.d.ts.map +1 -1
- package/tools/v1/contracts/set-usage-filter-v1-contracts.js +1 -6
- package/tools/v1/contracts/set-usage-filter-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/set-usage-filter-v1-contracts.mjs +1 -6
- package/tools/v1/contracts/set-usage-filter-v1-contracts.mjs.map +1 -1
- package/tools/v1/contracts/update-end-date-v1-contracts.js +2 -2
- package/tools/v1/contracts/update-end-date-v1-contracts.js.map +1 -1
- package/tools/v1/contracts/update-end-date-v1-contracts.mjs +2 -2
- package/tools/v1/contracts/update-end-date-v1-contracts.mjs.map +1 -1
- package/tools/v1/credit-grants/create-v1-credit-grants.d.mts.map +1 -1
- package/tools/v1/credit-grants/create-v1-credit-grants.d.ts.map +1 -1
- package/tools/v1/credit-grants/create-v1-credit-grants.js +3 -2
- package/tools/v1/credit-grants/create-v1-credit-grants.js.map +1 -1
- package/tools/v1/credit-grants/create-v1-credit-grants.mjs +3 -2
- package/tools/v1/credit-grants/create-v1-credit-grants.mjs.map +1 -1
- package/tools/v1/credit-grants/edit-v1-credit-grants.js +2 -2
- package/tools/v1/credit-grants/edit-v1-credit-grants.js.map +1 -1
- package/tools/v1/credit-grants/edit-v1-credit-grants.mjs +2 -2
- package/tools/v1/credit-grants/edit-v1-credit-grants.mjs.map +1 -1
- package/tools/v1/credit-grants/list-entries-v1-credit-grants.js +2 -2
- package/tools/v1/credit-grants/list-entries-v1-credit-grants.js.map +1 -1
- package/tools/v1/credit-grants/list-entries-v1-credit-grants.mjs +2 -2
- package/tools/v1/credit-grants/list-entries-v1-credit-grants.mjs.map +1 -1
- package/tools/v1/credit-grants/list-v1-credit-grants.js +3 -3
- package/tools/v1/credit-grants/list-v1-credit-grants.js.map +1 -1
- package/tools/v1/credit-grants/list-v1-credit-grants.mjs +3 -3
- package/tools/v1/credit-grants/list-v1-credit-grants.mjs.map +1 -1
- package/tools/v1/credit-grants/void-v1-credit-grants.js +2 -2
- package/tools/v1/credit-grants/void-v1-credit-grants.js.map +1 -1
- package/tools/v1/credit-grants/void-v1-credit-grants.mjs +2 -2
- package/tools/v1/credit-grants/void-v1-credit-grants.mjs.map +1 -1
- package/tools/v1/custom-fields/add-key-v1-custom-fields.d.mts.map +1 -1
- package/tools/v1/custom-fields/add-key-v1-custom-fields.d.ts.map +1 -1
- package/tools/v1/custom-fields/add-key-v1-custom-fields.js +1 -6
- package/tools/v1/custom-fields/add-key-v1-custom-fields.js.map +1 -1
- package/tools/v1/custom-fields/add-key-v1-custom-fields.mjs +1 -6
- package/tools/v1/custom-fields/add-key-v1-custom-fields.mjs.map +1 -1
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.d.mts.map +1 -1
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.d.ts.map +1 -1
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.js +1 -6
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.js.map +1 -1
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.mjs +1 -6
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.mjs.map +1 -1
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.js +2 -2
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.js.map +1 -1
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.mjs +2 -2
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.mjs.map +1 -1
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.d.mts.map +1 -1
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.d.ts.map +1 -1
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.js +1 -6
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.js.map +1 -1
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.mjs +1 -6
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.mjs.map +1 -1
- package/tools/v1/custom-fields/set-values-v1-custom-fields.d.mts.map +1 -1
- package/tools/v1/custom-fields/set-values-v1-custom-fields.d.ts.map +1 -1
- package/tools/v1/custom-fields/set-values-v1-custom-fields.js +2 -6
- package/tools/v1/custom-fields/set-values-v1-custom-fields.js.map +1 -1
- package/tools/v1/custom-fields/set-values-v1-custom-fields.mjs +2 -6
- package/tools/v1/custom-fields/set-values-v1-custom-fields.mjs.map +1 -1
- package/tools/v1/customers/alerts/list-customers-v1-alerts.js +3 -3
- package/tools/v1/customers/alerts/list-customers-v1-alerts.js.map +1 -1
- package/tools/v1/customers/alerts/list-customers-v1-alerts.mjs +3 -3
- package/tools/v1/customers/alerts/list-customers-v1-alerts.mjs.map +1 -1
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.d.mts.map +1 -1
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.d.ts.map +1 -1
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.js +1 -6
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.js.map +1 -1
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.mjs +1 -6
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.mjs.map +1 -1
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.js +3 -3
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.js.map +1 -1
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.mjs +3 -3
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.mjs.map +1 -1
- package/tools/v1/customers/archive-v1-customers.js +2 -2
- package/tools/v1/customers/archive-v1-customers.js.map +1 -1
- package/tools/v1/customers/archive-v1-customers.mjs +2 -2
- package/tools/v1/customers/archive-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.d.mts.map +1 -1
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.d.ts.map +1 -1
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.js +1 -6
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.js.map +1 -1
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.mjs +1 -6
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.mjs.map +1 -1
- package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.d.mts.map +1 -1
- package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.d.ts.map +1 -1
- package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.js +1 -6
- package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.js.map +1 -1
- package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.mjs +1 -6
- package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.mjs.map +1 -1
- package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.d.mts.map +1 -1
- package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.d.ts.map +1 -1
- package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.js +2 -2
- package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.js.map +1 -1
- package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.mjs +2 -2
- package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.mjs.map +1 -1
- package/tools/v1/customers/commits/create-customers-v1-commits.d.mts.map +1 -1
- package/tools/v1/customers/commits/create-customers-v1-commits.d.ts.map +1 -1
- package/tools/v1/customers/commits/create-customers-v1-commits.js +9 -2
- package/tools/v1/customers/commits/create-customers-v1-commits.js.map +1 -1
- package/tools/v1/customers/commits/create-customers-v1-commits.mjs +9 -2
- package/tools/v1/customers/commits/create-customers-v1-commits.mjs.map +1 -1
- package/tools/v1/customers/commits/list-customers-v1-commits.d.mts.map +1 -1
- package/tools/v1/customers/commits/list-customers-v1-commits.d.ts.map +1 -1
- package/tools/v1/customers/commits/list-customers-v1-commits.js +1 -1
- package/tools/v1/customers/commits/list-customers-v1-commits.js.map +1 -1
- package/tools/v1/customers/commits/list-customers-v1-commits.mjs +1 -1
- package/tools/v1/customers/commits/list-customers-v1-commits.mjs.map +1 -1
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.d.mts.map +1 -1
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.d.ts.map +1 -1
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.js +2 -2
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.js.map +1 -1
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.mjs +2 -2
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.mjs.map +1 -1
- package/tools/v1/customers/create-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/create-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/create-v1-customers.js +5 -3
- package/tools/v1/customers/create-v1-customers.js.map +1 -1
- package/tools/v1/customers/create-v1-customers.mjs +5 -3
- package/tools/v1/customers/create-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/credits/create-customers-v1-credits.d.mts.map +1 -1
- package/tools/v1/customers/credits/create-customers-v1-credits.d.ts.map +1 -1
- package/tools/v1/customers/credits/create-customers-v1-credits.js +5 -2
- package/tools/v1/customers/credits/create-customers-v1-credits.js.map +1 -1
- package/tools/v1/customers/credits/create-customers-v1-credits.mjs +5 -2
- package/tools/v1/customers/credits/create-customers-v1-credits.mjs.map +1 -1
- package/tools/v1/customers/credits/list-customers-v1-credits.d.mts.map +1 -1
- package/tools/v1/customers/credits/list-customers-v1-credits.d.ts.map +1 -1
- package/tools/v1/customers/credits/list-customers-v1-credits.js +1 -1
- package/tools/v1/customers/credits/list-customers-v1-credits.js.map +1 -1
- package/tools/v1/customers/credits/list-customers-v1-credits.mjs +1 -1
- package/tools/v1/customers/credits/list-customers-v1-credits.mjs.map +1 -1
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.d.mts.map +1 -1
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.d.ts.map +1 -1
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.js +2 -2
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.js.map +1 -1
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.mjs +2 -2
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.mjs.map +1 -1
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.d.mts.map +1 -1
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.d.ts.map +1 -1
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.js +2 -2
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.js.map +1 -1
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.mjs +2 -2
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.mjs.map +1 -1
- package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.js +1 -1
- package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.js.map +1 -1
- package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.mjs +1 -1
- package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.mjs.map +1 -1
- package/tools/v1/customers/invoices/list-customers-v1-invoices.js +1 -1
- package/tools/v1/customers/invoices/list-customers-v1-invoices.js.map +1 -1
- package/tools/v1/customers/invoices/list-customers-v1-invoices.mjs +1 -1
- package/tools/v1/customers/invoices/list-customers-v1-invoices.mjs.map +1 -1
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.d.mts.map +1 -1
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.d.ts.map +1 -1
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.js +1 -1
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.js.map +1 -1
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.mjs +1 -1
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.mjs.map +1 -1
- package/tools/v1/customers/list-billable-metrics-v1-customers.js +3 -3
- package/tools/v1/customers/list-billable-metrics-v1-customers.js.map +1 -1
- package/tools/v1/customers/list-billable-metrics-v1-customers.mjs +3 -3
- package/tools/v1/customers/list-billable-metrics-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/list-costs-v1-customers.js +3 -3
- package/tools/v1/customers/list-costs-v1-customers.js.map +1 -1
- package/tools/v1/customers/list-costs-v1-customers.mjs +3 -3
- package/tools/v1/customers/list-costs-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/list-v1-customers.js +3 -3
- package/tools/v1/customers/list-v1-customers.js.map +1 -1
- package/tools/v1/customers/list-v1-customers.mjs +3 -3
- package/tools/v1/customers/list-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.js +3 -3
- package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.js.map +1 -1
- package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.mjs +3 -3
- package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.mjs.map +1 -1
- package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.d.mts.map +1 -1
- package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.d.ts.map +1 -1
- package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.js +2 -6
- package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.js.map +1 -1
- package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.mjs +2 -6
- package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.mjs.map +1 -1
- package/tools/v1/customers/plans/add-customers-v1-plans.js +2 -2
- package/tools/v1/customers/plans/add-customers-v1-plans.js.map +1 -1
- package/tools/v1/customers/plans/add-customers-v1-plans.mjs +2 -2
- package/tools/v1/customers/plans/add-customers-v1-plans.mjs.map +1 -1
- package/tools/v1/customers/plans/end-customers-v1-plans.js +2 -2
- package/tools/v1/customers/plans/end-customers-v1-plans.js.map +1 -1
- package/tools/v1/customers/plans/end-customers-v1-plans.mjs +2 -2
- package/tools/v1/customers/plans/end-customers-v1-plans.mjs.map +1 -1
- package/tools/v1/customers/plans/list-customers-v1-plans.js +3 -3
- package/tools/v1/customers/plans/list-customers-v1-plans.js.map +1 -1
- package/tools/v1/customers/plans/list-customers-v1-plans.mjs +3 -3
- package/tools/v1/customers/plans/list-customers-v1-plans.mjs.map +1 -1
- package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.js +2 -2
- package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.js.map +1 -1
- package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.mjs +2 -2
- package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.mjs.map +1 -1
- package/tools/v1/customers/preview-events-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/preview-events-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/preview-events-v1-customers.js +2 -1
- package/tools/v1/customers/preview-events-v1-customers.js.map +1 -1
- package/tools/v1/customers/preview-events-v1-customers.mjs +2 -1
- package/tools/v1/customers/preview-events-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/retrieve-v1-customers.js +3 -3
- package/tools/v1/customers/retrieve-v1-customers.js.map +1 -1
- package/tools/v1/customers/retrieve-v1-customers.mjs +3 -3
- package/tools/v1/customers/retrieve-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/set-ingest-aliases-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/set-ingest-aliases-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/set-ingest-aliases-v1-customers.js +1 -6
- package/tools/v1/customers/set-ingest-aliases-v1-customers.js.map +1 -1
- package/tools/v1/customers/set-ingest-aliases-v1-customers.mjs +1 -6
- package/tools/v1/customers/set-ingest-aliases-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/set-name-v1-customers.js +3 -3
- package/tools/v1/customers/set-name-v1-customers.js.map +1 -1
- package/tools/v1/customers/set-name-v1-customers.mjs +3 -3
- package/tools/v1/customers/set-name-v1-customers.mjs.map +1 -1
- package/tools/v1/customers/update-config-v1-customers.d.mts.map +1 -1
- package/tools/v1/customers/update-config-v1-customers.d.ts.map +1 -1
- package/tools/v1/customers/update-config-v1-customers.js +1 -6
- package/tools/v1/customers/update-config-v1-customers.js.map +1 -1
- package/tools/v1/customers/update-config-v1-customers.mjs +1 -6
- package/tools/v1/customers/update-config-v1-customers.mjs.map +1 -1
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.d.mts.map +1 -1
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.d.ts.map +1 -1
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.js +5 -2
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.js.map +1 -1
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.mjs +5 -2
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.mjs.map +1 -1
- package/tools/v1/invoices/regenerate-v1-invoices.js +2 -2
- package/tools/v1/invoices/regenerate-v1-invoices.js.map +1 -1
- package/tools/v1/invoices/regenerate-v1-invoices.mjs +2 -2
- package/tools/v1/invoices/regenerate-v1-invoices.mjs.map +1 -1
- package/tools/v1/invoices/void-v1-invoices.js +2 -2
- package/tools/v1/invoices/void-v1-invoices.js.map +1 -1
- package/tools/v1/invoices/void-v1-invoices.mjs +2 -2
- package/tools/v1/invoices/void-v1-invoices.mjs.map +1 -1
- package/tools/v1/plans/get-details-v1-plans.js +3 -3
- package/tools/v1/plans/get-details-v1-plans.js.map +1 -1
- package/tools/v1/plans/get-details-v1-plans.mjs +3 -3
- package/tools/v1/plans/get-details-v1-plans.mjs.map +1 -1
- package/tools/v1/plans/list-charges-v1-plans.js +3 -3
- package/tools/v1/plans/list-charges-v1-plans.js.map +1 -1
- package/tools/v1/plans/list-charges-v1-plans.mjs +3 -3
- package/tools/v1/plans/list-charges-v1-plans.mjs.map +1 -1
- package/tools/v1/plans/list-customers-v1-plans.js +3 -3
- package/tools/v1/plans/list-customers-v1-plans.js.map +1 -1
- package/tools/v1/plans/list-customers-v1-plans.mjs +3 -3
- package/tools/v1/plans/list-customers-v1-plans.mjs.map +1 -1
- package/tools/v1/plans/list-v1-plans.js +3 -3
- package/tools/v1/plans/list-v1-plans.js.map +1 -1
- package/tools/v1/plans/list-v1-plans.mjs +3 -3
- package/tools/v1/plans/list-v1-plans.mjs.map +1 -1
- package/tools/v1/pricing-units/list-v1-pricing-units.js +2 -2
- package/tools/v1/pricing-units/list-v1-pricing-units.js.map +1 -1
- package/tools/v1/pricing-units/list-v1-pricing-units.mjs +2 -2
- package/tools/v1/pricing-units/list-v1-pricing-units.mjs.map +1 -1
- package/tools/v1/services/list-v1-services.d.mts.map +1 -1
- package/tools/v1/services/list-v1-services.d.ts.map +1 -1
- package/tools/v1/services/list-v1-services.js +2 -1
- package/tools/v1/services/list-v1-services.js.map +1 -1
- package/tools/v1/services/list-v1-services.mjs +2 -1
- package/tools/v1/services/list-v1-services.mjs.map +1 -1
- package/tools/v1/usage/ingest-v1-usage.d.mts.map +1 -1
- package/tools/v1/usage/ingest-v1-usage.d.ts.map +1 -1
- package/tools/v1/usage/ingest-v1-usage.js +2 -6
- package/tools/v1/usage/ingest-v1-usage.js.map +1 -1
- package/tools/v1/usage/ingest-v1-usage.mjs +2 -6
- package/tools/v1/usage/ingest-v1-usage.mjs.map +1 -1
- package/tools/v1/usage/list-v1-usage.js +3 -3
- package/tools/v1/usage/list-v1-usage.js.map +1 -1
- package/tools/v1/usage/list-v1-usage.mjs +3 -3
- package/tools/v1/usage/list-v1-usage.mjs.map +1 -1
- package/tools/v1/usage/list-with-groups-v1-usage.js +2 -2
- package/tools/v1/usage/list-with-groups-v1-usage.js.map +1 -1
- package/tools/v1/usage/list-with-groups-v1-usage.mjs +2 -2
- package/tools/v1/usage/list-with-groups-v1-usage.mjs.map +1 -1
- package/tools/v1/usage/search-v1-usage.js +3 -3
- package/tools/v1/usage/search-v1-usage.js.map +1 -1
- package/tools/v1/usage/search-v1-usage.mjs +3 -3
- package/tools/v1/usage/search-v1-usage.mjs.map +1 -1
- package/tools/v2/contracts/edit-commit-v2-contracts.d.mts.map +1 -1
- package/tools/v2/contracts/edit-commit-v2-contracts.d.ts.map +1 -1
- package/tools/v2/contracts/edit-commit-v2-contracts.js +9 -3
- package/tools/v2/contracts/edit-commit-v2-contracts.js.map +1 -1
- package/tools/v2/contracts/edit-commit-v2-contracts.mjs +9 -3
- package/tools/v2/contracts/edit-commit-v2-contracts.mjs.map +1 -1
- package/tools/v2/contracts/edit-credit-v2-contracts.d.mts.map +1 -1
- package/tools/v2/contracts/edit-credit-v2-contracts.d.ts.map +1 -1
- package/tools/v2/contracts/edit-credit-v2-contracts.js +9 -3
- package/tools/v2/contracts/edit-credit-v2-contracts.js.map +1 -1
- package/tools/v2/contracts/edit-credit-v2-contracts.mjs +9 -3
- package/tools/v2/contracts/edit-credit-v2-contracts.mjs.map +1 -1
- package/tools/v2/contracts/edit-v2-contracts.d.mts.map +1 -1
- package/tools/v2/contracts/edit-v2-contracts.d.ts.map +1 -1
- package/tools/v2/contracts/edit-v2-contracts.js +124 -17
- package/tools/v2/contracts/edit-v2-contracts.js.map +1 -1
- package/tools/v2/contracts/edit-v2-contracts.mjs +124 -17
- package/tools/v2/contracts/edit-v2-contracts.mjs.map +1 -1
- package/tools/v2/contracts/get-edit-history-v2-contracts.js +1 -1
- package/tools/v2/contracts/get-edit-history-v2-contracts.js.map +1 -1
- package/tools/v2/contracts/get-edit-history-v2-contracts.mjs +1 -1
- package/tools/v2/contracts/get-edit-history-v2-contracts.mjs.map +1 -1
- package/tools/v2/contracts/list-v2-contracts.js +1 -1
- package/tools/v2/contracts/list-v2-contracts.js.map +1 -1
- package/tools/v2/contracts/list-v2-contracts.mjs +1 -1
- package/tools/v2/contracts/list-v2-contracts.mjs.map +1 -1
- package/tools/v2/contracts/retrieve-v2-contracts.d.mts.map +1 -1
- package/tools/v2/contracts/retrieve-v2-contracts.d.ts.map +1 -1
- package/tools/v2/contracts/retrieve-v2-contracts.js +1 -1
- package/tools/v2/contracts/retrieve-v2-contracts.js.map +1 -1
- package/tools/v2/contracts/retrieve-v2-contracts.mjs +1 -1
- package/tools/v2/contracts/retrieve-v2-contracts.mjs.map +1 -1
|
@@ -106,21 +106,27 @@ export const tool: Tool = {
|
|
|
106
106
|
type: 'string',
|
|
107
107
|
},
|
|
108
108
|
},
|
|
109
|
+
priority: {
|
|
110
|
+
type: 'number',
|
|
111
|
+
description: 'If multiple commits are applicable, the one with the lower priority will apply first.',
|
|
112
|
+
},
|
|
109
113
|
product_id: {
|
|
110
114
|
type: 'string',
|
|
111
115
|
},
|
|
112
116
|
specifiers: {
|
|
113
117
|
type: 'array',
|
|
114
118
|
description:
|
|
115
|
-
"List of filters that determine what kind of customer usage draws down a commit or credit. A customer's usage needs to meet the condition of at least one of the specifiers to contribute to a commit's or credit's drawdown. This field cannot be used together with `applicable_product_ids` or `applicable_product_tags`.",
|
|
119
|
+
"List of filters that determine what kind of customer usage draws down a commit or credit. A customer's usage needs to meet the condition of at least one of the specifiers to contribute to a commit's or credit's drawdown. This field cannot be used together with `applicable_product_ids` or `applicable_product_tags`. Instead, to target usage by product or product tag, pass those values in the body of `specifiers`.",
|
|
116
120
|
items: {
|
|
117
121
|
type: 'object',
|
|
118
122
|
properties: {
|
|
119
123
|
presentation_group_values: {
|
|
120
124
|
type: 'object',
|
|
125
|
+
additionalProperties: true,
|
|
121
126
|
},
|
|
122
127
|
pricing_group_values: {
|
|
123
128
|
type: 'object',
|
|
129
|
+
additionalProperties: true,
|
|
124
130
|
},
|
|
125
131
|
product_id: {
|
|
126
132
|
type: 'string',
|
|
@@ -150,8 +156,8 @@ export const tool: Tool = {
|
|
|
150
156
|
};
|
|
151
157
|
|
|
152
158
|
export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
|
|
153
|
-
const body = args as any;
|
|
154
|
-
return asTextContentResult(await maybeFilter(
|
|
159
|
+
const { jq_filter, ...body } = args as any;
|
|
160
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.v2.contracts.editCredit(body)));
|
|
155
161
|
};
|
|
156
162
|
|
|
157
163
|
export default { metadata, tool, handler };
|
|
@@ -16,8 +16,7 @@ export const metadata: Metadata = {
|
|
|
16
16
|
|
|
17
17
|
export const tool: Tool = {
|
|
18
18
|
name: 'edit_v2_contracts',
|
|
19
|
-
description:
|
|
20
|
-
"When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nEdit a contract. Contract editing must be enabled to use this endpoint.",
|
|
19
|
+
description: 'Edit a contract. Contract editing must be enabled to use this endpoint.',
|
|
21
20
|
inputSchema: {
|
|
22
21
|
type: 'object',
|
|
23
22
|
properties: {
|
|
@@ -96,6 +95,7 @@ export const tool: Tool = {
|
|
|
96
95
|
},
|
|
97
96
|
custom_fields: {
|
|
98
97
|
type: 'object',
|
|
98
|
+
additionalProperties: true,
|
|
99
99
|
},
|
|
100
100
|
description: {
|
|
101
101
|
type: 'string',
|
|
@@ -155,7 +155,12 @@ export const tool: Tool = {
|
|
|
155
155
|
properties: {
|
|
156
156
|
credit_type_id: {
|
|
157
157
|
type: 'string',
|
|
158
|
-
description: 'Defaults to USD if not passed.
|
|
158
|
+
description: 'Defaults to USD (cents) if not passed.',
|
|
159
|
+
},
|
|
160
|
+
do_not_invoice: {
|
|
161
|
+
type: 'boolean',
|
|
162
|
+
description:
|
|
163
|
+
'This field is only applicable to commit invoice schedules. If true, this schedule will not generate an invoice.',
|
|
159
164
|
},
|
|
160
165
|
recurring_schedule: {
|
|
161
166
|
type: 'object',
|
|
@@ -255,7 +260,7 @@ export const tool: Tool = {
|
|
|
255
260
|
tax_amount: {
|
|
256
261
|
type: 'number',
|
|
257
262
|
description:
|
|
258
|
-
"Amount of tax to be applied. This should be in the same currency and denomination
|
|
263
|
+
"Amount of tax to be applied. This should be in the same currency and denomination as the commit's invoice schedule",
|
|
259
264
|
},
|
|
260
265
|
tax_name: {
|
|
261
266
|
type: 'string',
|
|
@@ -278,6 +283,12 @@ export const tool: Tool = {
|
|
|
278
283
|
type: 'object',
|
|
279
284
|
description:
|
|
280
285
|
'Metadata to be added to the Stripe invoice. Only applicable if using INVOICE as your payment type.',
|
|
286
|
+
additionalProperties: true,
|
|
287
|
+
},
|
|
288
|
+
on_session_payment: {
|
|
289
|
+
type: 'boolean',
|
|
290
|
+
description:
|
|
291
|
+
'If true, the payment will be made assuming the customer is present (i.e. on session). \n\nIf false, the payment will be made assuming the customer is not present (i.e. off session). \nFor cardholders from a country with an e-mandate requirement (e.g. India), the payment may be declined.\n\nIf left blank, will default to false.',
|
|
281
292
|
},
|
|
282
293
|
},
|
|
283
294
|
required: ['payment_type'],
|
|
@@ -285,7 +296,7 @@ export const tool: Tool = {
|
|
|
285
296
|
tax_type: {
|
|
286
297
|
type: 'string',
|
|
287
298
|
description:
|
|
288
|
-
'Stripe tax is only supported for Stripe payment gateway. Select NONE if you do not wish
|
|
299
|
+
'Stripe tax is only supported for Stripe payment gateway. Select NONE if you do not wish Metronome to calculate tax on your behalf. Leaving this field blank will default to NONE.',
|
|
289
300
|
enum: ['NONE', 'STRIPE', 'ANROK', 'PRECALCULATED'],
|
|
290
301
|
},
|
|
291
302
|
},
|
|
@@ -307,15 +318,17 @@ export const tool: Tool = {
|
|
|
307
318
|
specifiers: {
|
|
308
319
|
type: 'array',
|
|
309
320
|
description:
|
|
310
|
-
"List of filters that determine what kind of customer usage draws down a commit or credit. A customer's usage needs to meet the condition of at least one of the specifiers to contribute to a commit's or credit's drawdown. This field cannot be used together with `applicable_product_ids` or `applicable_product_tags`.",
|
|
321
|
+
"List of filters that determine what kind of customer usage draws down a commit or credit. A customer's usage needs to meet the condition of at least one of the specifiers to contribute to a commit's or credit's drawdown. This field cannot be used together with `applicable_product_ids` or `applicable_product_tags`. Instead, to target usage by product or product tag, pass those values in the body of `specifiers`.",
|
|
311
322
|
items: {
|
|
312
323
|
type: 'object',
|
|
313
324
|
properties: {
|
|
314
325
|
presentation_group_values: {
|
|
315
326
|
type: 'object',
|
|
327
|
+
additionalProperties: true,
|
|
316
328
|
},
|
|
317
329
|
pricing_group_values: {
|
|
318
330
|
type: 'object',
|
|
331
|
+
additionalProperties: true,
|
|
319
332
|
},
|
|
320
333
|
product_id: {
|
|
321
334
|
type: 'string',
|
|
@@ -400,6 +413,7 @@ export const tool: Tool = {
|
|
|
400
413
|
},
|
|
401
414
|
custom_fields: {
|
|
402
415
|
type: 'object',
|
|
416
|
+
additionalProperties: true,
|
|
403
417
|
},
|
|
404
418
|
description: {
|
|
405
419
|
type: 'string',
|
|
@@ -472,15 +486,17 @@ export const tool: Tool = {
|
|
|
472
486
|
specifiers: {
|
|
473
487
|
type: 'array',
|
|
474
488
|
description:
|
|
475
|
-
"List of filters that determine what kind of customer usage draws down a commit or credit. A customer's usage needs to meet the condition of at least one of the specifiers to contribute to a commit's or credit's drawdown. This field cannot be used together with `applicable_product_ids` or `applicable_product_tags`.",
|
|
489
|
+
"List of filters that determine what kind of customer usage draws down a commit or credit. A customer's usage needs to meet the condition of at least one of the specifiers to contribute to a commit's or credit's drawdown. This field cannot be used together with `applicable_product_ids` or `applicable_product_tags`. Instead, to target usage by product or product tag, pass those values in the body of `specifiers`.",
|
|
476
490
|
items: {
|
|
477
491
|
type: 'object',
|
|
478
492
|
properties: {
|
|
479
493
|
presentation_group_values: {
|
|
480
494
|
type: 'object',
|
|
495
|
+
additionalProperties: true,
|
|
481
496
|
},
|
|
482
497
|
pricing_group_values: {
|
|
483
498
|
type: 'object',
|
|
499
|
+
additionalProperties: true,
|
|
484
500
|
},
|
|
485
501
|
product_id: {
|
|
486
502
|
type: 'string',
|
|
@@ -516,7 +532,12 @@ export const tool: Tool = {
|
|
|
516
532
|
properties: {
|
|
517
533
|
credit_type_id: {
|
|
518
534
|
type: 'string',
|
|
519
|
-
description: 'Defaults to USD if not passed.
|
|
535
|
+
description: 'Defaults to USD (cents) if not passed.',
|
|
536
|
+
},
|
|
537
|
+
do_not_invoice: {
|
|
538
|
+
type: 'boolean',
|
|
539
|
+
description:
|
|
540
|
+
'This field is only applicable to commit invoice schedules. If true, this schedule will not generate an invoice.',
|
|
520
541
|
},
|
|
521
542
|
recurring_schedule: {
|
|
522
543
|
type: 'object',
|
|
@@ -593,6 +614,7 @@ export const tool: Tool = {
|
|
|
593
614
|
},
|
|
594
615
|
custom_fields: {
|
|
595
616
|
type: 'object',
|
|
617
|
+
additionalProperties: true,
|
|
596
618
|
},
|
|
597
619
|
name: {
|
|
598
620
|
type: 'string',
|
|
@@ -663,11 +685,13 @@ export const tool: Tool = {
|
|
|
663
685
|
type: 'object',
|
|
664
686
|
description:
|
|
665
687
|
'A map of group names to values. The override will only apply to line items with the specified presentation group values. Can only be used for multiplier overrides.',
|
|
688
|
+
additionalProperties: true,
|
|
666
689
|
},
|
|
667
690
|
pricing_group_values: {
|
|
668
691
|
type: 'object',
|
|
669
692
|
description:
|
|
670
693
|
'A map of pricing group names to values. The override will only apply to products with the specified pricing group values.',
|
|
694
|
+
additionalProperties: true,
|
|
671
695
|
},
|
|
672
696
|
product_id: {
|
|
673
697
|
type: 'string',
|
|
@@ -716,6 +740,7 @@ export const tool: Tool = {
|
|
|
716
740
|
type: 'object',
|
|
717
741
|
description:
|
|
718
742
|
'Only set for CUSTOM rate_type. This field is interpreted by custom rate processors.',
|
|
743
|
+
additionalProperties: true,
|
|
719
744
|
},
|
|
720
745
|
is_prorated: {
|
|
721
746
|
type: 'boolean',
|
|
@@ -819,15 +844,17 @@ export const tool: Tool = {
|
|
|
819
844
|
specifiers: {
|
|
820
845
|
type: 'array',
|
|
821
846
|
description:
|
|
822
|
-
"List of filters that determine what kind of customer usage draws down a commit or credit. A customer's usage needs to meet the condition of at least one of the specifiers to contribute to a commit's or credit's drawdown. This field cannot be used together with `applicable_product_ids` or `applicable_product_tags`.",
|
|
847
|
+
"List of filters that determine what kind of customer usage draws down a commit or credit. A customer's usage needs to meet the condition of at least one of the specifiers to contribute to a commit's or credit's drawdown. This field cannot be used together with `applicable_product_ids` or `applicable_product_tags`. Instead, to target usage by product or product tag, pass those values in the body of `specifiers`.",
|
|
823
848
|
items: {
|
|
824
849
|
type: 'object',
|
|
825
850
|
properties: {
|
|
826
851
|
presentation_group_values: {
|
|
827
852
|
type: 'object',
|
|
853
|
+
additionalProperties: true,
|
|
828
854
|
},
|
|
829
855
|
pricing_group_values: {
|
|
830
856
|
type: 'object',
|
|
857
|
+
additionalProperties: true,
|
|
831
858
|
},
|
|
832
859
|
product_id: {
|
|
833
860
|
type: 'string',
|
|
@@ -892,6 +919,7 @@ export const tool: Tool = {
|
|
|
892
919
|
type: 'object',
|
|
893
920
|
description:
|
|
894
921
|
'Metadata to be added to the Stripe invoice. Only applicable if using INVOICE as your payment type.',
|
|
922
|
+
additionalProperties: true,
|
|
895
923
|
},
|
|
896
924
|
},
|
|
897
925
|
required: ['payment_type'],
|
|
@@ -947,6 +975,7 @@ export const tool: Tool = {
|
|
|
947
975
|
},
|
|
948
976
|
custom_fields: {
|
|
949
977
|
type: 'object',
|
|
978
|
+
additionalProperties: true,
|
|
950
979
|
},
|
|
951
980
|
description: {
|
|
952
981
|
type: 'string',
|
|
@@ -977,7 +1006,7 @@ export const tool: Tool = {
|
|
|
977
1006
|
quantity: {
|
|
978
1007
|
type: 'number',
|
|
979
1008
|
description:
|
|
980
|
-
'This field is
|
|
1009
|
+
'This field is required unless a subscription is attached via `subscription_config`.',
|
|
981
1010
|
},
|
|
982
1011
|
},
|
|
983
1012
|
required: ['credit_type_id', 'unit_price'],
|
|
@@ -1034,7 +1063,7 @@ export const tool: Tool = {
|
|
|
1034
1063
|
},
|
|
1035
1064
|
hierarchy_configuration: {
|
|
1036
1065
|
type: 'object',
|
|
1037
|
-
description: 'Optional configuration for recurring
|
|
1066
|
+
description: 'Optional configuration for recurring credit hierarchy access control',
|
|
1038
1067
|
properties: {
|
|
1039
1068
|
child_access: {
|
|
1040
1069
|
anyOf: [
|
|
@@ -1128,15 +1157,17 @@ export const tool: Tool = {
|
|
|
1128
1157
|
specifiers: {
|
|
1129
1158
|
type: 'array',
|
|
1130
1159
|
description:
|
|
1131
|
-
"List of filters that determine what kind of customer usage draws down a commit or credit. A customer's usage needs to meet the condition of at least one of the specifiers to contribute to a commit's or credit's drawdown. This field cannot be used together with `applicable_product_ids` or `applicable_product_tags`.",
|
|
1160
|
+
"List of filters that determine what kind of customer usage draws down a commit or credit. A customer's usage needs to meet the condition of at least one of the specifiers to contribute to a commit's or credit's drawdown. This field cannot be used together with `applicable_product_ids` or `applicable_product_tags`. Instead, to target usage by product or product tag, pass those values in the body of `specifiers`.",
|
|
1132
1161
|
items: {
|
|
1133
1162
|
type: 'object',
|
|
1134
1163
|
properties: {
|
|
1135
1164
|
presentation_group_values: {
|
|
1136
1165
|
type: 'object',
|
|
1166
|
+
additionalProperties: true,
|
|
1137
1167
|
},
|
|
1138
1168
|
pricing_group_values: {
|
|
1139
1169
|
type: 'object',
|
|
1170
|
+
additionalProperties: true,
|
|
1140
1171
|
},
|
|
1141
1172
|
product_id: {
|
|
1142
1173
|
type: 'string',
|
|
@@ -1154,6 +1185,32 @@ export const tool: Tool = {
|
|
|
1154
1185
|
},
|
|
1155
1186
|
},
|
|
1156
1187
|
},
|
|
1188
|
+
subscription_config: {
|
|
1189
|
+
type: 'object',
|
|
1190
|
+
description: 'Attach a subscription to the recurring commit/credit.',
|
|
1191
|
+
properties: {
|
|
1192
|
+
apply_seat_increase_config: {
|
|
1193
|
+
type: 'object',
|
|
1194
|
+
properties: {
|
|
1195
|
+
is_prorated: {
|
|
1196
|
+
type: 'boolean',
|
|
1197
|
+
description: 'Indicates whether a mid-period seat increase should be prorated.',
|
|
1198
|
+
},
|
|
1199
|
+
},
|
|
1200
|
+
required: ['is_prorated'],
|
|
1201
|
+
},
|
|
1202
|
+
subscription_id: {
|
|
1203
|
+
type: 'string',
|
|
1204
|
+
description: 'ID of the subscription to configure on the recurring commit/credit.',
|
|
1205
|
+
},
|
|
1206
|
+
allocation: {
|
|
1207
|
+
type: 'string',
|
|
1208
|
+
description: 'If set to POOLED, allocation added per seat is pooled across the account.',
|
|
1209
|
+
enum: ['POOLED'],
|
|
1210
|
+
},
|
|
1211
|
+
},
|
|
1212
|
+
required: ['apply_seat_increase_config', 'subscription_id'],
|
|
1213
|
+
},
|
|
1157
1214
|
temporary_id: {
|
|
1158
1215
|
type: 'string',
|
|
1159
1216
|
description:
|
|
@@ -1181,7 +1238,7 @@ export const tool: Tool = {
|
|
|
1181
1238
|
quantity: {
|
|
1182
1239
|
type: 'number',
|
|
1183
1240
|
description:
|
|
1184
|
-
'This field is
|
|
1241
|
+
'This field is required unless a subscription is attached via `subscription_config`.',
|
|
1185
1242
|
},
|
|
1186
1243
|
},
|
|
1187
1244
|
required: ['credit_type_id', 'unit_price'],
|
|
@@ -1238,7 +1295,7 @@ export const tool: Tool = {
|
|
|
1238
1295
|
},
|
|
1239
1296
|
hierarchy_configuration: {
|
|
1240
1297
|
type: 'object',
|
|
1241
|
-
description: 'Optional configuration for recurring
|
|
1298
|
+
description: 'Optional configuration for recurring credit hierarchy access control',
|
|
1242
1299
|
properties: {
|
|
1243
1300
|
child_access: {
|
|
1244
1301
|
anyOf: [
|
|
@@ -1316,15 +1373,17 @@ export const tool: Tool = {
|
|
|
1316
1373
|
specifiers: {
|
|
1317
1374
|
type: 'array',
|
|
1318
1375
|
description:
|
|
1319
|
-
"List of filters that determine what kind of customer usage draws down a commit or credit. A customer's usage needs to meet the condition of at least one of the specifiers to contribute to a commit's or credit's drawdown. This field cannot be used together with `applicable_product_ids` or `applicable_product_tags`.",
|
|
1376
|
+
"List of filters that determine what kind of customer usage draws down a commit or credit. A customer's usage needs to meet the condition of at least one of the specifiers to contribute to a commit's or credit's drawdown. This field cannot be used together with `applicable_product_ids` or `applicable_product_tags`. Instead, to target usage by product or product tag, pass those values in the body of `specifiers`.",
|
|
1320
1377
|
items: {
|
|
1321
1378
|
type: 'object',
|
|
1322
1379
|
properties: {
|
|
1323
1380
|
presentation_group_values: {
|
|
1324
1381
|
type: 'object',
|
|
1382
|
+
additionalProperties: true,
|
|
1325
1383
|
},
|
|
1326
1384
|
pricing_group_values: {
|
|
1327
1385
|
type: 'object',
|
|
1386
|
+
additionalProperties: true,
|
|
1328
1387
|
},
|
|
1329
1388
|
product_id: {
|
|
1330
1389
|
type: 'string',
|
|
@@ -1342,6 +1401,32 @@ export const tool: Tool = {
|
|
|
1342
1401
|
},
|
|
1343
1402
|
},
|
|
1344
1403
|
},
|
|
1404
|
+
subscription_config: {
|
|
1405
|
+
type: 'object',
|
|
1406
|
+
description: 'Attach a subscription to the recurring commit/credit.',
|
|
1407
|
+
properties: {
|
|
1408
|
+
apply_seat_increase_config: {
|
|
1409
|
+
type: 'object',
|
|
1410
|
+
properties: {
|
|
1411
|
+
is_prorated: {
|
|
1412
|
+
type: 'boolean',
|
|
1413
|
+
description: 'Indicates whether a mid-period seat increase should be prorated.',
|
|
1414
|
+
},
|
|
1415
|
+
},
|
|
1416
|
+
required: ['is_prorated'],
|
|
1417
|
+
},
|
|
1418
|
+
subscription_id: {
|
|
1419
|
+
type: 'string',
|
|
1420
|
+
description: 'ID of the subscription to configure on the recurring commit/credit.',
|
|
1421
|
+
},
|
|
1422
|
+
allocation: {
|
|
1423
|
+
type: 'string',
|
|
1424
|
+
description: 'If set to POOLED, allocation added per seat is pooled across the account.',
|
|
1425
|
+
enum: ['POOLED'],
|
|
1426
|
+
},
|
|
1427
|
+
},
|
|
1428
|
+
required: ['apply_seat_increase_config', 'subscription_id'],
|
|
1429
|
+
},
|
|
1345
1430
|
temporary_id: {
|
|
1346
1431
|
type: 'string',
|
|
1347
1432
|
description:
|
|
@@ -1435,7 +1520,12 @@ export const tool: Tool = {
|
|
|
1435
1520
|
properties: {
|
|
1436
1521
|
credit_type_id: {
|
|
1437
1522
|
type: 'string',
|
|
1438
|
-
description: 'Defaults to USD if not passed.
|
|
1523
|
+
description: 'Defaults to USD (cents) if not passed.',
|
|
1524
|
+
},
|
|
1525
|
+
do_not_invoice: {
|
|
1526
|
+
type: 'boolean',
|
|
1527
|
+
description:
|
|
1528
|
+
'This field is only applicable to commit invoice schedules. If true, this schedule will not generate an invoice.',
|
|
1439
1529
|
},
|
|
1440
1530
|
recurring_schedule: {
|
|
1441
1531
|
type: 'object',
|
|
@@ -1510,6 +1600,10 @@ export const tool: Tool = {
|
|
|
1510
1600
|
},
|
|
1511
1601
|
},
|
|
1512
1602
|
},
|
|
1603
|
+
custom_fields: {
|
|
1604
|
+
type: 'object',
|
|
1605
|
+
additionalProperties: true,
|
|
1606
|
+
},
|
|
1513
1607
|
name: {
|
|
1514
1608
|
type: 'string',
|
|
1515
1609
|
description: 'displayed on invoices',
|
|
@@ -1588,6 +1682,7 @@ export const tool: Tool = {
|
|
|
1588
1682
|
type: 'object',
|
|
1589
1683
|
description:
|
|
1590
1684
|
'Metadata to be added to the Stripe invoice. Only applicable if using INVOICE as your payment type.',
|
|
1685
|
+
additionalProperties: true,
|
|
1591
1686
|
},
|
|
1592
1687
|
},
|
|
1593
1688
|
required: ['payment_type'],
|
|
@@ -1629,7 +1724,7 @@ export const tool: Tool = {
|
|
|
1629
1724
|
invoice_behavior: {
|
|
1630
1725
|
type: 'string',
|
|
1631
1726
|
description:
|
|
1632
|
-
'Indicates how mid-period quantity adjustments are invoiced.
|
|
1727
|
+
'Indicates how mid-period quantity adjustments are invoiced. \n**BILL_IMMEDIATELY**: Only available when collection schedule is `ADVANCE`. The quantity increase will be billed immediately on the scheduled date.\n**BILL_ON_NEXT_COLLECTION_DATE**: The quantity increase will be billed for in-arrears at the end of the period.',
|
|
1633
1728
|
enum: ['BILL_IMMEDIATELY', 'BILL_ON_NEXT_COLLECTION_DATE'],
|
|
1634
1729
|
},
|
|
1635
1730
|
is_prorated: {
|
|
@@ -1656,6 +1751,7 @@ export const tool: Tool = {
|
|
|
1656
1751
|
},
|
|
1657
1752
|
custom_fields: {
|
|
1658
1753
|
type: 'object',
|
|
1754
|
+
additionalProperties: true,
|
|
1659
1755
|
},
|
|
1660
1756
|
description: {
|
|
1661
1757
|
type: 'string',
|
|
@@ -1675,6 +1771,11 @@ export const tool: Tool = {
|
|
|
1675
1771
|
'Inclusive start time for the subscription. If not provided, defaults to contract start date',
|
|
1676
1772
|
format: 'date-time',
|
|
1677
1773
|
},
|
|
1774
|
+
temporary_id: {
|
|
1775
|
+
type: 'string',
|
|
1776
|
+
description:
|
|
1777
|
+
'A temporary ID used to reference the subscription in recurring commit/credit subscription configs created within the same payload.',
|
|
1778
|
+
},
|
|
1678
1779
|
},
|
|
1679
1780
|
required: ['collection_schedule', 'initial_quantity', 'proration', 'subscription_rate'],
|
|
1680
1781
|
},
|
|
@@ -1934,6 +2035,9 @@ export const tool: Tool = {
|
|
|
1934
2035
|
netsuite_sales_order_id: {
|
|
1935
2036
|
type: 'string',
|
|
1936
2037
|
},
|
|
2038
|
+
priority: {
|
|
2039
|
+
type: 'number',
|
|
2040
|
+
},
|
|
1937
2041
|
product_id: {
|
|
1938
2042
|
type: 'string',
|
|
1939
2043
|
},
|
|
@@ -2088,6 +2192,9 @@ export const tool: Tool = {
|
|
|
2088
2192
|
netsuite_sales_order_id: {
|
|
2089
2193
|
type: 'string',
|
|
2090
2194
|
},
|
|
2195
|
+
priority: {
|
|
2196
|
+
type: 'number',
|
|
2197
|
+
},
|
|
2091
2198
|
product_id: {
|
|
2092
2199
|
type: 'string',
|
|
2093
2200
|
},
|
|
@@ -2133,15 +2240,17 @@ export const tool: Tool = {
|
|
|
2133
2240
|
specifiers: {
|
|
2134
2241
|
type: 'array',
|
|
2135
2242
|
description:
|
|
2136
|
-
"List of filters that determine what kind of customer usage draws down a commit or credit. A customer's usage needs to meet the condition of at least one of the specifiers to contribute to a commit's or credit's drawdown. This field cannot be used together with `applicable_product_ids` or `applicable_product_tags`.",
|
|
2243
|
+
"List of filters that determine what kind of customer usage draws down a commit or credit. A customer's usage needs to meet the condition of at least one of the specifiers to contribute to a commit's or credit's drawdown. This field cannot be used together with `applicable_product_ids` or `applicable_product_tags`. Instead, to target usage by product or product tag, pass those values in the body of `specifiers`.",
|
|
2137
2244
|
items: {
|
|
2138
2245
|
type: 'object',
|
|
2139
2246
|
properties: {
|
|
2140
2247
|
presentation_group_values: {
|
|
2141
2248
|
type: 'object',
|
|
2249
|
+
additionalProperties: true,
|
|
2142
2250
|
},
|
|
2143
2251
|
pricing_group_values: {
|
|
2144
2252
|
type: 'object',
|
|
2253
|
+
additionalProperties: true,
|
|
2145
2254
|
},
|
|
2146
2255
|
product_id: {
|
|
2147
2256
|
type: 'string',
|
|
@@ -2210,6 +2319,7 @@ export const tool: Tool = {
|
|
|
2210
2319
|
type: 'object',
|
|
2211
2320
|
description:
|
|
2212
2321
|
'Metadata to be added to the Stripe invoice. Only applicable if using INVOICE as your payment type.',
|
|
2322
|
+
additionalProperties: true,
|
|
2213
2323
|
},
|
|
2214
2324
|
},
|
|
2215
2325
|
required: ['payment_type'],
|
|
@@ -2447,6 +2557,7 @@ export const tool: Tool = {
|
|
|
2447
2557
|
type: 'object',
|
|
2448
2558
|
description:
|
|
2449
2559
|
'Metadata to be added to the Stripe invoice. Only applicable if using INVOICE as your payment type.',
|
|
2560
|
+
additionalProperties: true,
|
|
2450
2561
|
},
|
|
2451
2562
|
},
|
|
2452
2563
|
required: ['payment_type'],
|
|
@@ -17,7 +17,7 @@ export const metadata: Metadata = {
|
|
|
17
17
|
export const tool: Tool = {
|
|
18
18
|
name: 'get_edit_history_v2_contracts',
|
|
19
19
|
description:
|
|
20
|
-
|
|
20
|
+
'Get the edit history of a specific contract. Contract editing must be enabled to use this endpoint.',
|
|
21
21
|
inputSchema: {
|
|
22
22
|
type: 'object',
|
|
23
23
|
properties: {
|
|
@@ -17,7 +17,7 @@ export const metadata: Metadata = {
|
|
|
17
17
|
export const tool: Tool = {
|
|
18
18
|
name: 'list_v2_contracts',
|
|
19
19
|
description:
|
|
20
|
-
|
|
20
|
+
'List all contracts for a customer in chronological order. New clients should use this endpoint rather than the v1 endpoint.',
|
|
21
21
|
inputSchema: {
|
|
22
22
|
type: 'object',
|
|
23
23
|
properties: {
|
|
@@ -16,8 +16,7 @@ export const metadata: Metadata = {
|
|
|
16
16
|
|
|
17
17
|
export const tool: Tool = {
|
|
18
18
|
name: 'retrieve_v2_contracts',
|
|
19
|
-
description:
|
|
20
|
-
"When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nGet a specific contract. New clients should use this endpoint rather than the v1 endpoint.\n",
|
|
19
|
+
description: 'Get a specific contract. New clients should use this endpoint rather than the v1 endpoint.\n',
|
|
21
20
|
inputSchema: {
|
|
22
21
|
type: 'object',
|
|
23
22
|
properties: {
|
package/stdio.d.mts
ADDED
package/stdio.d.mts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stdio.d.mts","sourceRoot":"","sources":["src/stdio.ts"],"names":[],"mappings":"OAEO,EAAE,QAAQ,EAAE;OACZ,EAAE,UAAU,EAAE;AAErB,eAAO,MAAM,iBAAiB,GAAU,SAAS,UAAU,EAAE,WAAW,QAAQ,EAAE,kBAQjF,CAAC"}
|
package/stdio.d.ts
ADDED
package/stdio.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stdio.d.ts","sourceRoot":"","sources":["src/stdio.ts"],"names":[],"mappings":"OAEO,EAAE,QAAQ,EAAE;OACZ,EAAE,UAAU,EAAE;AAErB,eAAO,MAAM,iBAAiB,GAAU,SAAS,UAAU,EAAE,WAAW,QAAQ,EAAE,kBAQjF,CAAC"}
|
package/stdio.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.launchStdioServer = void 0;
|
|
4
|
+
const stdio_js_1 = require("@modelcontextprotocol/sdk/server/stdio.js");
|
|
5
|
+
const server_1 = require("./server.js");
|
|
6
|
+
const launchStdioServer = async (options, endpoints) => {
|
|
7
|
+
const server = (0, server_1.newMcpServer)();
|
|
8
|
+
(0, server_1.init)({ server, endpoints });
|
|
9
|
+
const transport = new stdio_js_1.StdioServerTransport();
|
|
10
|
+
await server.connect(transport);
|
|
11
|
+
console.error('MCP Server running on stdio');
|
|
12
|
+
};
|
|
13
|
+
exports.launchStdioServer = launchStdioServer;
|
|
14
|
+
//# sourceMappingURL=stdio.js.map
|
package/stdio.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stdio.js","sourceRoot":"","sources":["src/stdio.ts"],"names":[],"mappings":";;;AAAA,wEAAiF;AACjF,wCAA8C;AAIvC,MAAM,iBAAiB,GAAG,KAAK,EAAE,OAAmB,EAAE,SAAqB,EAAE,EAAE;IACpF,MAAM,MAAM,GAAG,IAAA,qBAAY,GAAE,CAAC;IAE9B,IAAA,aAAI,EAAC,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC,CAAC;IAE5B,MAAM,SAAS,GAAG,IAAI,+BAAoB,EAAE,CAAC;IAC7C,MAAM,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;IAChC,OAAO,CAAC,KAAK,CAAC,6BAA6B,CAAC,CAAC;AAC/C,CAAC,CAAC;AARW,QAAA,iBAAiB,qBAQ5B"}
|
package/stdio.mjs
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
|
|
2
|
+
import { init, newMcpServer } from "./server.mjs";
|
|
3
|
+
export const launchStdioServer = async (options, endpoints) => {
|
|
4
|
+
const server = newMcpServer();
|
|
5
|
+
init({ server, endpoints });
|
|
6
|
+
const transport = new StdioServerTransport();
|
|
7
|
+
await server.connect(transport);
|
|
8
|
+
console.error('MCP Server running on stdio');
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=stdio.mjs.map
|
package/stdio.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stdio.mjs","sourceRoot":"","sources":["src/stdio.ts"],"names":[],"mappings":"OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C;OACzE,EAAE,IAAI,EAAE,YAAY,EAAE;AAI7B,MAAM,CAAC,MAAM,iBAAiB,GAAG,KAAK,EAAE,OAAmB,EAAE,SAAqB,EAAE,EAAE;IACpF,MAAM,MAAM,GAAG,YAAY,EAAE,CAAC;IAE9B,IAAI,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC,CAAC;IAE5B,MAAM,SAAS,GAAG,IAAI,oBAAoB,EAAE,CAAC;IAC7C,MAAM,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;IAChC,OAAO,CAAC,KAAK,CAAC,6BAA6B,CAAC,CAAC;AAC/C,CAAC,CAAC"}
|
|
@@ -37,8 +37,8 @@ exports.tool = {
|
|
|
37
37
|
annotations: {},
|
|
38
38
|
};
|
|
39
39
|
const handler = async (client, args) => {
|
|
40
|
-
const body = args;
|
|
41
|
-
return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(
|
|
40
|
+
const { jq_filter, ...body } = args;
|
|
41
|
+
return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(jq_filter, await client.v1.alerts.archive(body)));
|
|
42
42
|
};
|
|
43
43
|
exports.handler = handler;
|
|
44
44
|
exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"archive-v1-alerts.js","sourceRoot":"","sources":["../../../src/tools/v1/alerts/archive-v1-alerts.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAuD;AACvD,sDAA2E;AAK9D,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,WAAW;IACrB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,oBAAoB;IAC9B,WAAW,EAAE,iBAAiB;CAC/B,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,mBAAmB;IACzB,WAAW,EACT,whBAAwhB;IAC1hB,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,EAAE,EAAE;gBACF,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,+BAA+B;aAC7C;YACD,sBAAsB,EAAE;gBACtB,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,uEAAuE;aACrF;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,IAAI,CAAC;KACjB;IACD,WAAW,EAAE,EAAE;CAChB,CAAC;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,MAAiB,EAAE,IAAyC,EAAE,EAAE;IAC5F,MAAM,IAAI,GAAG,IAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"archive-v1-alerts.js","sourceRoot":"","sources":["../../../src/tools/v1/alerts/archive-v1-alerts.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAuD;AACvD,sDAA2E;AAK9D,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,WAAW;IACrB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,oBAAoB;IAC9B,WAAW,EAAE,iBAAiB;CAC/B,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,mBAAmB;IACzB,WAAW,EACT,whBAAwhB;IAC1hB,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,EAAE,EAAE;gBACF,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,+BAA+B;aAC7C;YACD,sBAAsB,EAAE;gBACtB,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,uEAAuE;aACrF;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,IAAI,CAAC;KACjB;IACD,WAAW,EAAE,EAAE;CAChB,CAAC;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,MAAiB,EAAE,IAAyC,EAAE,EAAE;IAC5F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IAC3C,OAAO,IAAA,2BAAmB,EAAC,MAAM,IAAA,uBAAW,EAAC,SAAS,EAAE,MAAM,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACjG,CAAC,CAAC;AAHW,QAAA,OAAO,WAGlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
|
|
@@ -34,8 +34,8 @@ export const tool = {
|
|
|
34
34
|
annotations: {},
|
|
35
35
|
};
|
|
36
36
|
export const handler = async (client, args) => {
|
|
37
|
-
const body = args;
|
|
38
|
-
return asTextContentResult(await maybeFilter(
|
|
37
|
+
const { jq_filter, ...body } = args;
|
|
38
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.v1.alerts.archive(body)));
|
|
39
39
|
};
|
|
40
40
|
export default { metadata, tool, handler };
|
|
41
41
|
//# sourceMappingURL=archive-v1-alerts.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"archive-v1-alerts.mjs","sourceRoot":"","sources":["../../../src/tools/v1/alerts/archive-v1-alerts.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE,MAAM,0BAA0B;OAC/C,EAAY,mBAAmB,EAAE,MAAM,4BAA4B;AAK1E,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,WAAW;IACrB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,oBAAoB;IAC9B,WAAW,EAAE,iBAAiB;CAC/B,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,mBAAmB;IACzB,WAAW,EACT,whBAAwhB;IAC1hB,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,EAAE,EAAE;gBACF,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,+BAA+B;aAC7C;YACD,sBAAsB,EAAE;gBACtB,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,uEAAuE;aACrF;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,IAAI,CAAC;KACjB;IACD,WAAW,EAAE,EAAE;CAChB,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,MAAiB,EAAE,IAAyC,EAAE,EAAE;IAC5F,MAAM,IAAI,GAAG,IAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"archive-v1-alerts.mjs","sourceRoot":"","sources":["../../../src/tools/v1/alerts/archive-v1-alerts.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE,MAAM,0BAA0B;OAC/C,EAAY,mBAAmB,EAAE,MAAM,4BAA4B;AAK1E,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,WAAW;IACrB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,oBAAoB;IAC9B,WAAW,EAAE,iBAAiB;CAC/B,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,mBAAmB;IACzB,WAAW,EACT,whBAAwhB;IAC1hB,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,EAAE,EAAE;gBACF,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,+BAA+B;aAC7C;YACD,sBAAsB,EAAE;gBACtB,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,uEAAuE;aACrF;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,IAAI,CAAC;KACjB;IACD,WAAW,EAAE,EAAE;CAChB,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,MAAiB,EAAE,IAAyC,EAAE,EAAE;IAC5F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IAC3C,OAAO,mBAAmB,CAAC,MAAM,WAAW,CAAC,SAAS,EAAE,MAAM,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACjG,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-v1-alerts.d.mts","sourceRoot":"","sources":["../../../src/tools/v1/alerts/create-v1-alerts.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAuB,MAAM,4BAA4B;OAEnE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,SAAS,MAAM,gBAAgB;AAEtC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"create-v1-alerts.d.mts","sourceRoot":"","sources":["../../../src/tools/v1/alerts/create-v1-alerts.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAuB,MAAM,4BAA4B;OAEnE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,SAAS,MAAM,gBAAgB;AAEtC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAiIlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAGzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAK1F,wBAA2C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-v1-alerts.d.ts","sourceRoot":"","sources":["../../../src/tools/v1/alerts/create-v1-alerts.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAuB,MAAM,4BAA4B;OAEnE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,SAAS,MAAM,gBAAgB;AAEtC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"create-v1-alerts.d.ts","sourceRoot":"","sources":["../../../src/tools/v1/alerts/create-v1-alerts.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAuB,MAAM,4BAA4B;OAEnE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,SAAS,MAAM,gBAAgB;AAEtC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAiIlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAGzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAK1F,wBAA2C"}
|