@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,4 +1,6 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { maybeFilter } from '@metronome/mcp/filtering';
|
|
3
|
+
import { asTextContentResult } from '@metronome/mcp/tools/types';
|
|
2
4
|
export const metadata = {
|
|
3
5
|
resource: 'v1.credit_grants',
|
|
4
6
|
operation: 'write',
|
|
@@ -9,7 +11,7 @@ export const metadata = {
|
|
|
9
11
|
};
|
|
10
12
|
export const tool = {
|
|
11
13
|
name: 'list_entries_v1_credit_grants',
|
|
12
|
-
description: '
|
|
14
|
+
description: "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\nFetches a list of credit ledger entries. Returns lists of ledgers per customer. Ledger entries are returned in chronological order. Ledger entries associated with voided credit grants are not included.\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 customer_id: {\n type: 'string'\n },\n ledgers: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n credit_type: {\n $ref: '#/$defs/credit_type_data'\n },\n ending_balance: {\n type: 'object',\n description: 'the effective balances at the end of the specified time window',\n properties: {\n effective_at: {\n type: 'string',\n description: 'the ending_before request parameter (if supplied) or the current billing period\\'s end date',\n format: 'date-time'\n },\n excluding_pending: {\n type: 'number',\n description: 'the ending balance, including the balance of all grants that have not expired before the effective_at date and deductions that happened before the effective_at date'\n },\n including_pending: {\n type: 'number',\n description: 'the excluding_pending balance plus any pending invoice deductions and expirations that will happen by the effective_at date'\n }\n },\n required: [ 'effective_at',\n 'excluding_pending',\n 'including_pending'\n ]\n },\n entries: {\n type: 'array',\n items: {\n $ref: '#/$defs/credit_ledger_entry'\n }\n },\n pending_entries: {\n type: 'array',\n items: {\n $ref: '#/$defs/credit_ledger_entry'\n }\n },\n starting_balance: {\n type: 'object',\n properties: {\n effective_at: {\n type: 'string',\n description: 'the starting_on request parameter (if supplied) or the first credit grant\\'s effective_at date',\n format: 'date-time'\n },\n excluding_pending: {\n type: 'number',\n description: 'the starting balance, including all posted grants, deductions, and expirations that happened at or before the effective_at timestamp'\n },\n including_pending: {\n type: 'number',\n description: 'the excluding_pending balance plus any pending activity that has not been posted at the time of the query'\n }\n },\n required: [ 'effective_at',\n 'excluding_pending',\n 'including_pending'\n ]\n }\n },\n required: [ 'credit_type',\n 'ending_balance',\n 'entries',\n 'pending_entries',\n 'starting_balance'\n ]\n }\n }\n },\n required: [ 'customer_id',\n 'ledgers'\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 credit_ledger_entry: {\n type: 'object',\n properties: {\n amount: {\n type: 'number',\n description: 'an amount representing the change to the customer\\'s credit balance'\n },\n created_by: {\n type: 'string'\n },\n credit_grant_id: {\n type: 'string',\n description: 'the credit grant this entry is related to'\n },\n effective_at: {\n type: 'string',\n format: 'date-time'\n },\n reason: {\n type: 'string'\n },\n running_balance: {\n type: 'number',\n description: 'the running balance for this credit type at the time of the ledger entry, including all preceding charges'\n },\n invoice_id: {\n type: 'string',\n description: 'if this entry is a deduction, the Metronome ID of the invoice where the credit deduction was consumed; if this entry is a grant, the Metronome ID of the invoice where the grant\\'s paid_amount was charged'\n }\n },\n required: [ 'amount',\n 'created_by',\n 'credit_grant_id',\n 'effective_at',\n 'reason',\n 'running_balance'\n ]\n }\n }\n}\n```",
|
|
13
15
|
inputSchema: {
|
|
14
16
|
type: 'object',
|
|
15
17
|
properties: {
|
|
@@ -17,6 +19,11 @@ export const tool = {
|
|
|
17
19
|
type: 'string',
|
|
18
20
|
description: 'Cursor that indicates where the next page of results should start.',
|
|
19
21
|
},
|
|
22
|
+
sort: {
|
|
23
|
+
type: 'string',
|
|
24
|
+
description: 'Ledgers sort order by date, asc or desc. Defaults to asc.',
|
|
25
|
+
enum: ['asc', 'desc'],
|
|
26
|
+
},
|
|
20
27
|
credit_type_ids: {
|
|
21
28
|
type: 'array',
|
|
22
29
|
description: 'A list of Metronome credit type IDs to fetch ledger entries for. If absent, ledger entries for all credit types will be returned.',
|
|
@@ -41,12 +48,19 @@ export const tool = {
|
|
|
41
48
|
description: 'If supplied, only ledger entries effective at or after this time will be returned.',
|
|
42
49
|
format: 'date-time',
|
|
43
50
|
},
|
|
51
|
+
jq_filter: {
|
|
52
|
+
type: 'string',
|
|
53
|
+
title: 'jq Filter',
|
|
54
|
+
description: 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
55
|
+
},
|
|
44
56
|
},
|
|
57
|
+
required: [],
|
|
45
58
|
},
|
|
59
|
+
annotations: {},
|
|
46
60
|
};
|
|
47
|
-
export const handler = (client, args) => {
|
|
61
|
+
export const handler = async (client, args) => {
|
|
48
62
|
const body = args;
|
|
49
|
-
return client.v1.creditGrants.listEntries(body);
|
|
63
|
+
return asTextContentResult(await maybeFilter(args, await client.v1.creditGrants.listEntries(body)));
|
|
50
64
|
};
|
|
51
65
|
export default { metadata, tool, handler };
|
|
52
66
|
//# sourceMappingURL=list-entries-v1-credit-grants.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-entries-v1-credit-grants.mjs","sourceRoot":"","sources":["../../../src/tools/v1/credit-grants/list-entries-v1-credit-grants.ts"],"names":[],"mappings":"AAAA,sFAAsF;
|
|
1
|
+
{"version":3,"file":"list-entries-v1-credit-grants.mjs","sourceRoot":"","sources":["../../../src/tools/v1/credit-grants/list-entries-v1-credit-grants.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,kBAAkB;IAC5B,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,yBAAyB;IACnC,WAAW,EAAE,4BAA4B;CAC1C,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,+BAA+B;IACrC,WAAW,EACT,09KAA09K;IAC59K,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,oEAAoE;aAClF;YACD,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,2DAA2D;gBACxE,IAAI,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC;aACtB;YACD,eAAe,EAAE;gBACf,IAAI,EAAE,OAAO;gBACb,WAAW,EACT,mIAAmI;gBACrI,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,YAAY,EAAE;gBACZ,IAAI,EAAE,OAAO;gBACb,WAAW,EACT,6HAA6H;gBAC/H,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,aAAa,EAAE;gBACb,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,qPAAqP;gBACvP,MAAM,EAAE,WAAW;aACpB;YACD,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,oFAAoF;gBACjG,MAAM,EAAE,WAAW;aACpB;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,EAAE;KACb;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;IACzB,OAAO,mBAAmB,CAAC,MAAM,WAAW,CAAC,IAAI,EAAE,MAAM,MAAM,CAAC,EAAE,CAAC,YAAY,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACtG,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { Metadata } from '@metronome/mcp/tools/types';
|
|
1
2
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
2
|
-
import type { Metadata } from "../..//index.mjs";
|
|
3
3
|
import Metronome from '@metronome/sdk';
|
|
4
4
|
export declare const metadata: Metadata;
|
|
5
5
|
export declare const tool: Tool;
|
|
6
|
-
export declare const handler: (client: Metronome, args: Record<string, unknown> | undefined) => import("@metronome/
|
|
6
|
+
export declare const handler: (client: Metronome, args: Record<string, unknown> | undefined) => Promise<import("@metronome/mcp/tools/types").ToolCallResult>;
|
|
7
7
|
declare const _default: {
|
|
8
8
|
metadata: Metadata;
|
|
9
9
|
tool: {
|
|
@@ -15,8 +15,18 @@ declare const _default: {
|
|
|
15
15
|
properties?: {
|
|
16
16
|
[x: string]: unknown;
|
|
17
17
|
} | undefined;
|
|
18
|
+
required?: string[] | undefined;
|
|
18
19
|
};
|
|
20
|
+
title?: string | undefined;
|
|
19
21
|
description?: string | undefined;
|
|
22
|
+
outputSchema?: {
|
|
23
|
+
[x: string]: unknown;
|
|
24
|
+
type: "object";
|
|
25
|
+
properties?: {
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
} | undefined;
|
|
28
|
+
required?: string[] | undefined;
|
|
29
|
+
} | undefined;
|
|
20
30
|
annotations?: {
|
|
21
31
|
[x: string]: unknown;
|
|
22
32
|
title?: string | undefined;
|
|
@@ -25,8 +35,11 @@ declare const _default: {
|
|
|
25
35
|
idempotentHint?: boolean | undefined;
|
|
26
36
|
openWorldHint?: boolean | undefined;
|
|
27
37
|
} | undefined;
|
|
38
|
+
_meta?: {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
} | undefined;
|
|
28
41
|
};
|
|
29
|
-
handler: (client: Metronome, args: Record<string, unknown> | undefined) => import("@metronome/
|
|
42
|
+
handler: (client: Metronome, args: Record<string, unknown> | undefined) => Promise<import("@metronome/mcp/tools/types").ToolCallResult>;
|
|
30
43
|
};
|
|
31
44
|
export default _default;
|
|
32
45
|
//# sourceMappingURL=list-v1-credit-grants.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-v1-credit-grants.d.mts","sourceRoot":"","sources":["../../../src/tools/v1/credit-grants/list-v1-credit-grants.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-v1-credit-grants.d.mts","sourceRoot":"","sources":["../../../src/tools/v1/credit-grants/list-v1-credit-grants.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,IA2DlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAIzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAJoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAM1F,wBAA2C"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { Metadata } from '@metronome/mcp/tools/types';
|
|
1
2
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
2
|
-
import type { Metadata } from "../..//index.js";
|
|
3
3
|
import Metronome from '@metronome/sdk';
|
|
4
4
|
export declare const metadata: Metadata;
|
|
5
5
|
export declare const tool: Tool;
|
|
6
|
-
export declare const handler: (client: Metronome, args: Record<string, unknown> | undefined) => import("@metronome/
|
|
6
|
+
export declare const handler: (client: Metronome, args: Record<string, unknown> | undefined) => Promise<import("@metronome/mcp/tools/types").ToolCallResult>;
|
|
7
7
|
declare const _default: {
|
|
8
8
|
metadata: Metadata;
|
|
9
9
|
tool: {
|
|
@@ -15,8 +15,18 @@ declare const _default: {
|
|
|
15
15
|
properties?: {
|
|
16
16
|
[x: string]: unknown;
|
|
17
17
|
} | undefined;
|
|
18
|
+
required?: string[] | undefined;
|
|
18
19
|
};
|
|
20
|
+
title?: string | undefined;
|
|
19
21
|
description?: string | undefined;
|
|
22
|
+
outputSchema?: {
|
|
23
|
+
[x: string]: unknown;
|
|
24
|
+
type: "object";
|
|
25
|
+
properties?: {
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
} | undefined;
|
|
28
|
+
required?: string[] | undefined;
|
|
29
|
+
} | undefined;
|
|
20
30
|
annotations?: {
|
|
21
31
|
[x: string]: unknown;
|
|
22
32
|
title?: string | undefined;
|
|
@@ -25,8 +35,11 @@ declare const _default: {
|
|
|
25
35
|
idempotentHint?: boolean | undefined;
|
|
26
36
|
openWorldHint?: boolean | undefined;
|
|
27
37
|
} | undefined;
|
|
38
|
+
_meta?: {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
} | undefined;
|
|
28
41
|
};
|
|
29
|
-
handler: (client: Metronome, args: Record<string, unknown> | undefined) => import("@metronome/
|
|
42
|
+
handler: (client: Metronome, args: Record<string, unknown> | undefined) => Promise<import("@metronome/mcp/tools/types").ToolCallResult>;
|
|
30
43
|
};
|
|
31
44
|
export default _default;
|
|
32
45
|
//# sourceMappingURL=list-v1-credit-grants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-v1-credit-grants.d.ts","sourceRoot":"","sources":["../../../src/tools/v1/credit-grants/list-v1-credit-grants.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-v1-credit-grants.d.ts","sourceRoot":"","sources":["../../../src/tools/v1/credit-grants/list-v1-credit-grants.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,IA2DlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAIzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAJoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAM1F,wBAA2C"}
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.handler = exports.tool = exports.metadata = void 0;
|
|
5
|
+
const filtering_1 = require("@metronome/mcp/filtering");
|
|
6
|
+
const types_1 = require("@metronome/mcp/tools/types");
|
|
5
7
|
exports.metadata = {
|
|
6
8
|
resource: 'v1.credit_grants',
|
|
7
9
|
operation: 'write',
|
|
@@ -12,7 +14,7 @@ exports.metadata = {
|
|
|
12
14
|
};
|
|
13
15
|
exports.tool = {
|
|
14
16
|
name: 'list_v1_credit_grants',
|
|
15
|
-
description: '
|
|
17
|
+
description: "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 credit grants. This list does not included voided grants.\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 Metronome ID of the credit grant'\n },\n balance: {\n type: 'object',\n description: 'The effective balance of the grant as of the end of the customer\\'s current billing period. Expiration deductions will be included only if the grant expires before the end of the current billing period.',\n properties: {\n effective_at: {\n type: 'string',\n description: 'The end_date of the customer\\'s current billing period.',\n format: 'date-time'\n },\n excluding_pending: {\n type: 'number',\n description: 'The grant\\'s current balance including all posted deductions. If the grant has expired, this amount will be 0.'\n },\n including_pending: {\n type: 'number',\n description: 'The grant\\'s current balance including all posted and pending deductions. If the grant expires before the end of the customer\\'s current billing period, this amount will be 0.'\n }\n },\n required: [ 'effective_at',\n 'excluding_pending',\n 'including_pending'\n ]\n },\n custom_fields: {\n type: 'object'\n },\n customer_id: {\n type: 'string',\n description: 'the Metronome ID of the customer'\n },\n deductions: {\n type: 'array',\n items: {\n $ref: '#/$defs/credit_ledger_entry'\n }\n },\n effective_at: {\n type: 'string',\n format: 'date-time'\n },\n expires_at: {\n type: 'string',\n format: 'date-time'\n },\n grant_amount: {\n type: 'object',\n description: 'the amount of credits initially granted',\n properties: {\n amount: {\n type: 'number'\n },\n credit_type: {\n $ref: '#/$defs/credit_type_data'\n }\n },\n required: [ 'amount',\n 'credit_type'\n ]\n },\n name: {\n type: 'string'\n },\n paid_amount: {\n type: 'object',\n description: 'the amount paid for this credit grant',\n properties: {\n amount: {\n type: 'number'\n },\n credit_type: {\n $ref: '#/$defs/credit_type_data'\n }\n },\n required: [ 'amount',\n 'credit_type'\n ]\n },\n pending_deductions: {\n type: 'array',\n items: {\n $ref: '#/$defs/credit_ledger_entry'\n }\n },\n priority: {\n type: 'number'\n },\n credit_grant_type: {\n type: 'string'\n },\n invoice_id: {\n type: 'string',\n description: 'the Metronome ID of the invoice with the purchase charge for this credit grant, if applicable'\n },\n products: {\n type: 'array',\n description: 'The products which these credits will be applied to. (If unspecified, the credits will be applied to charges for all products.)',\n items: {\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 reason: {\n type: 'string'\n },\n uniqueness_key: {\n type: 'string',\n description: 'Prevents the creation of duplicates. If a request to create a record is made with a previously used uniqueness key, a new record will not be created and the request will fail with a 409 error.'\n }\n },\n required: [ 'id',\n 'balance',\n 'custom_fields',\n 'customer_id',\n 'deductions',\n 'effective_at',\n 'expires_at',\n 'grant_amount',\n 'name',\n 'paid_amount',\n 'pending_deductions',\n 'priority'\n ]\n }\n },\n next_page: {\n type: 'string'\n }\n },\n required: [ 'data',\n 'next_page'\n ],\n $defs: {\n credit_ledger_entry: {\n type: 'object',\n properties: {\n amount: {\n type: 'number',\n description: 'an amount representing the change to the customer\\'s credit balance'\n },\n created_by: {\n type: 'string'\n },\n credit_grant_id: {\n type: 'string',\n description: 'the credit grant this entry is related to'\n },\n effective_at: {\n type: 'string',\n format: 'date-time'\n },\n reason: {\n type: 'string'\n },\n running_balance: {\n type: 'number',\n description: 'the running balance for this credit type at the time of the ledger entry, including all preceding charges'\n },\n invoice_id: {\n type: 'string',\n description: 'if this entry is a deduction, the Metronome ID of the invoice where the credit deduction was consumed; if this entry is a grant, the Metronome ID of the invoice where the grant\\'s paid_amount was charged'\n }\n },\n required: [ 'amount',\n 'created_by',\n 'credit_grant_id',\n 'effective_at',\n 'reason',\n 'running_balance'\n ]\n },\n credit_type_data: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n name: {\n type: 'string'\n }\n },\n required: [ 'id',\n 'name'\n ]\n }\n }\n}\n```",
|
|
16
18
|
inputSchema: {
|
|
17
19
|
type: 'object',
|
|
18
20
|
properties: {
|
|
@@ -55,12 +57,20 @@ exports.tool = {
|
|
|
55
57
|
description: 'Only return credit grants that expire at or after this timestamp.',
|
|
56
58
|
format: 'date-time',
|
|
57
59
|
},
|
|
60
|
+
jq_filter: {
|
|
61
|
+
type: 'string',
|
|
62
|
+
title: 'jq Filter',
|
|
63
|
+
description: '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/).',
|
|
64
|
+
},
|
|
58
65
|
},
|
|
66
|
+
required: [],
|
|
59
67
|
},
|
|
68
|
+
annotations: {},
|
|
60
69
|
};
|
|
61
|
-
const handler = (client, args) => {
|
|
70
|
+
const handler = async (client, args) => {
|
|
62
71
|
const body = args;
|
|
63
|
-
|
|
72
|
+
const response = await client.v1.creditGrants.list(body).asResponse();
|
|
73
|
+
return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(args, await response.json()));
|
|
64
74
|
};
|
|
65
75
|
exports.handler = handler;
|
|
66
76
|
exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-v1-credit-grants.js","sourceRoot":"","sources":["../../../src/tools/v1/credit-grants/list-v1-credit-grants.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;
|
|
1
|
+
{"version":3,"file":"list-v1-credit-grants.js","sourceRoot":"","sources":["../../../src/tools/v1/credit-grants/list-v1-credit-grants.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAuD;AACvD,sDAA2E;AAK9D,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,kBAAkB;IAC5B,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,wBAAwB;IAClC,WAAW,EAAE,eAAe;CAC7B,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,uBAAuB;IAC7B,WAAW,EACT,qgNAAqgN;IACvgN,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,KAAK,EAAE;gBACL,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,+CAA+C;aAC7D;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,oEAAoE;aAClF;YACD,gBAAgB,EAAE;gBAChB,IAAI,EAAE,OAAO;gBACb,WAAW,EACT,gHAAgH;gBAClH,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,eAAe,EAAE;gBACf,IAAI,EAAE,OAAO;gBACb,WAAW,EACT,2FAA2F;gBAC7F,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,YAAY,EAAE;gBACZ,IAAI,EAAE,OAAO;gBACb,WAAW,EACT,kGAAkG;gBACpG,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,gBAAgB,EAAE;gBAChB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,iFAAiF;gBAC9F,MAAM,EAAE,WAAW;aACpB;YACD,mBAAmB,EAAE;gBACnB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,mEAAmE;gBAChF,MAAM,EAAE,WAAW;aACpB;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,EAAE;KACb;IACD,WAAW,EAAE,EAAE;CAChB,CAAC;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,MAAiB,EAAE,IAAyC,EAAE,EAAE;IAC5F,MAAM,IAAI,GAAG,IAAW,CAAC;IACzB,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,CAAC;IACtE,OAAO,IAAA,2BAAmB,EAAC,MAAM,IAAA,uBAAW,EAAC,IAAI,EAAE,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;AAC7E,CAAC,CAAC;AAJW,QAAA,OAAO,WAIlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { maybeFilter } from '@metronome/mcp/filtering';
|
|
3
|
+
import { asTextContentResult } from '@metronome/mcp/tools/types';
|
|
2
4
|
export const metadata = {
|
|
3
5
|
resource: 'v1.credit_grants',
|
|
4
6
|
operation: 'write',
|
|
@@ -9,7 +11,7 @@ export const metadata = {
|
|
|
9
11
|
};
|
|
10
12
|
export const tool = {
|
|
11
13
|
name: 'list_v1_credit_grants',
|
|
12
|
-
description: '
|
|
14
|
+
description: "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 credit grants. This list does not included voided grants.\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 Metronome ID of the credit grant'\n },\n balance: {\n type: 'object',\n description: 'The effective balance of the grant as of the end of the customer\\'s current billing period. Expiration deductions will be included only if the grant expires before the end of the current billing period.',\n properties: {\n effective_at: {\n type: 'string',\n description: 'The end_date of the customer\\'s current billing period.',\n format: 'date-time'\n },\n excluding_pending: {\n type: 'number',\n description: 'The grant\\'s current balance including all posted deductions. If the grant has expired, this amount will be 0.'\n },\n including_pending: {\n type: 'number',\n description: 'The grant\\'s current balance including all posted and pending deductions. If the grant expires before the end of the customer\\'s current billing period, this amount will be 0.'\n }\n },\n required: [ 'effective_at',\n 'excluding_pending',\n 'including_pending'\n ]\n },\n custom_fields: {\n type: 'object'\n },\n customer_id: {\n type: 'string',\n description: 'the Metronome ID of the customer'\n },\n deductions: {\n type: 'array',\n items: {\n $ref: '#/$defs/credit_ledger_entry'\n }\n },\n effective_at: {\n type: 'string',\n format: 'date-time'\n },\n expires_at: {\n type: 'string',\n format: 'date-time'\n },\n grant_amount: {\n type: 'object',\n description: 'the amount of credits initially granted',\n properties: {\n amount: {\n type: 'number'\n },\n credit_type: {\n $ref: '#/$defs/credit_type_data'\n }\n },\n required: [ 'amount',\n 'credit_type'\n ]\n },\n name: {\n type: 'string'\n },\n paid_amount: {\n type: 'object',\n description: 'the amount paid for this credit grant',\n properties: {\n amount: {\n type: 'number'\n },\n credit_type: {\n $ref: '#/$defs/credit_type_data'\n }\n },\n required: [ 'amount',\n 'credit_type'\n ]\n },\n pending_deductions: {\n type: 'array',\n items: {\n $ref: '#/$defs/credit_ledger_entry'\n }\n },\n priority: {\n type: 'number'\n },\n credit_grant_type: {\n type: 'string'\n },\n invoice_id: {\n type: 'string',\n description: 'the Metronome ID of the invoice with the purchase charge for this credit grant, if applicable'\n },\n products: {\n type: 'array',\n description: 'The products which these credits will be applied to. (If unspecified, the credits will be applied to charges for all products.)',\n items: {\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 reason: {\n type: 'string'\n },\n uniqueness_key: {\n type: 'string',\n description: 'Prevents the creation of duplicates. If a request to create a record is made with a previously used uniqueness key, a new record will not be created and the request will fail with a 409 error.'\n }\n },\n required: [ 'id',\n 'balance',\n 'custom_fields',\n 'customer_id',\n 'deductions',\n 'effective_at',\n 'expires_at',\n 'grant_amount',\n 'name',\n 'paid_amount',\n 'pending_deductions',\n 'priority'\n ]\n }\n },\n next_page: {\n type: 'string'\n }\n },\n required: [ 'data',\n 'next_page'\n ],\n $defs: {\n credit_ledger_entry: {\n type: 'object',\n properties: {\n amount: {\n type: 'number',\n description: 'an amount representing the change to the customer\\'s credit balance'\n },\n created_by: {\n type: 'string'\n },\n credit_grant_id: {\n type: 'string',\n description: 'the credit grant this entry is related to'\n },\n effective_at: {\n type: 'string',\n format: 'date-time'\n },\n reason: {\n type: 'string'\n },\n running_balance: {\n type: 'number',\n description: 'the running balance for this credit type at the time of the ledger entry, including all preceding charges'\n },\n invoice_id: {\n type: 'string',\n description: 'if this entry is a deduction, the Metronome ID of the invoice where the credit deduction was consumed; if this entry is a grant, the Metronome ID of the invoice where the grant\\'s paid_amount was charged'\n }\n },\n required: [ 'amount',\n 'created_by',\n 'credit_grant_id',\n 'effective_at',\n 'reason',\n 'running_balance'\n ]\n },\n credit_type_data: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n name: {\n type: 'string'\n }\n },\n required: [ 'id',\n 'name'\n ]\n }\n }\n}\n```",
|
|
13
15
|
inputSchema: {
|
|
14
16
|
type: 'object',
|
|
15
17
|
properties: {
|
|
@@ -52,12 +54,20 @@ export const tool = {
|
|
|
52
54
|
description: 'Only return credit grants that expire at or after this timestamp.',
|
|
53
55
|
format: 'date-time',
|
|
54
56
|
},
|
|
57
|
+
jq_filter: {
|
|
58
|
+
type: 'string',
|
|
59
|
+
title: 'jq Filter',
|
|
60
|
+
description: '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
|
+
},
|
|
55
62
|
},
|
|
63
|
+
required: [],
|
|
56
64
|
},
|
|
65
|
+
annotations: {},
|
|
57
66
|
};
|
|
58
|
-
export const handler = (client, args) => {
|
|
67
|
+
export const handler = async (client, args) => {
|
|
59
68
|
const body = args;
|
|
60
|
-
|
|
69
|
+
const response = await client.v1.creditGrants.list(body).asResponse();
|
|
70
|
+
return asTextContentResult(await maybeFilter(args, await response.json()));
|
|
61
71
|
};
|
|
62
72
|
export default { metadata, tool, handler };
|
|
63
73
|
//# sourceMappingURL=list-v1-credit-grants.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-v1-credit-grants.mjs","sourceRoot":"","sources":["../../../src/tools/v1/credit-grants/list-v1-credit-grants.ts"],"names":[],"mappings":"AAAA,sFAAsF;
|
|
1
|
+
{"version":3,"file":"list-v1-credit-grants.mjs","sourceRoot":"","sources":["../../../src/tools/v1/credit-grants/list-v1-credit-grants.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,kBAAkB;IAC5B,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,wBAAwB;IAClC,WAAW,EAAE,eAAe;CAC7B,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,uBAAuB;IAC7B,WAAW,EACT,qgNAAqgN;IACvgN,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,KAAK,EAAE;gBACL,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,+CAA+C;aAC7D;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,oEAAoE;aAClF;YACD,gBAAgB,EAAE;gBAChB,IAAI,EAAE,OAAO;gBACb,WAAW,EACT,gHAAgH;gBAClH,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,eAAe,EAAE;gBACf,IAAI,EAAE,OAAO;gBACb,WAAW,EACT,2FAA2F;gBAC7F,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,YAAY,EAAE;gBACZ,IAAI,EAAE,OAAO;gBACb,WAAW,EACT,kGAAkG;gBACpG,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,gBAAgB,EAAE;gBAChB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,iFAAiF;gBAC9F,MAAM,EAAE,WAAW;aACpB;YACD,mBAAmB,EAAE;gBACnB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,mEAAmE;gBAChF,MAAM,EAAE,WAAW;aACpB;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,EAAE;KACb;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;IACzB,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,CAAC;IACtE,OAAO,mBAAmB,CAAC,MAAM,WAAW,CAAC,IAAI,EAAE,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;AAC7E,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { Metadata } from '@metronome/mcp/tools/types';
|
|
1
2
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
2
|
-
import type { Metadata } from "../..//index.mjs";
|
|
3
3
|
import Metronome from '@metronome/sdk';
|
|
4
4
|
export declare const metadata: Metadata;
|
|
5
5
|
export declare const tool: Tool;
|
|
6
|
-
export declare const handler: (client: Metronome, args: Record<string, unknown> | undefined) => import("@metronome/
|
|
6
|
+
export declare const handler: (client: Metronome, args: Record<string, unknown> | undefined) => Promise<import("@metronome/mcp/tools/types").ToolCallResult>;
|
|
7
7
|
declare const _default: {
|
|
8
8
|
metadata: Metadata;
|
|
9
9
|
tool: {
|
|
@@ -15,8 +15,18 @@ declare const _default: {
|
|
|
15
15
|
properties?: {
|
|
16
16
|
[x: string]: unknown;
|
|
17
17
|
} | undefined;
|
|
18
|
+
required?: string[] | undefined;
|
|
18
19
|
};
|
|
20
|
+
title?: string | undefined;
|
|
19
21
|
description?: string | undefined;
|
|
22
|
+
outputSchema?: {
|
|
23
|
+
[x: string]: unknown;
|
|
24
|
+
type: "object";
|
|
25
|
+
properties?: {
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
} | undefined;
|
|
28
|
+
required?: string[] | undefined;
|
|
29
|
+
} | undefined;
|
|
20
30
|
annotations?: {
|
|
21
31
|
[x: string]: unknown;
|
|
22
32
|
title?: string | undefined;
|
|
@@ -25,8 +35,11 @@ declare const _default: {
|
|
|
25
35
|
idempotentHint?: boolean | undefined;
|
|
26
36
|
openWorldHint?: boolean | undefined;
|
|
27
37
|
} | undefined;
|
|
38
|
+
_meta?: {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
} | undefined;
|
|
28
41
|
};
|
|
29
|
-
handler: (client: Metronome, args: Record<string, unknown> | undefined) => import("@metronome/
|
|
42
|
+
handler: (client: Metronome, args: Record<string, unknown> | undefined) => Promise<import("@metronome/mcp/tools/types").ToolCallResult>;
|
|
30
43
|
};
|
|
31
44
|
export default _default;
|
|
32
45
|
//# sourceMappingURL=void-v1-credit-grants.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"void-v1-credit-grants.d.mts","sourceRoot":"","sources":["../../../src/tools/v1/credit-grants/void-v1-credit-grants.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"void-v1-credit-grants.d.mts","sourceRoot":"","sources":["../../../src/tools/v1/credit-grants/void-v1-credit-grants.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,IA4BlB,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,9 +1,9 @@
|
|
|
1
|
+
import { Metadata } from '@metronome/mcp/tools/types';
|
|
1
2
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
2
|
-
import type { Metadata } from "../..//index.js";
|
|
3
3
|
import Metronome from '@metronome/sdk';
|
|
4
4
|
export declare const metadata: Metadata;
|
|
5
5
|
export declare const tool: Tool;
|
|
6
|
-
export declare const handler: (client: Metronome, args: Record<string, unknown> | undefined) => import("@metronome/
|
|
6
|
+
export declare const handler: (client: Metronome, args: Record<string, unknown> | undefined) => Promise<import("@metronome/mcp/tools/types").ToolCallResult>;
|
|
7
7
|
declare const _default: {
|
|
8
8
|
metadata: Metadata;
|
|
9
9
|
tool: {
|
|
@@ -15,8 +15,18 @@ declare const _default: {
|
|
|
15
15
|
properties?: {
|
|
16
16
|
[x: string]: unknown;
|
|
17
17
|
} | undefined;
|
|
18
|
+
required?: string[] | undefined;
|
|
18
19
|
};
|
|
20
|
+
title?: string | undefined;
|
|
19
21
|
description?: string | undefined;
|
|
22
|
+
outputSchema?: {
|
|
23
|
+
[x: string]: unknown;
|
|
24
|
+
type: "object";
|
|
25
|
+
properties?: {
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
} | undefined;
|
|
28
|
+
required?: string[] | undefined;
|
|
29
|
+
} | undefined;
|
|
20
30
|
annotations?: {
|
|
21
31
|
[x: string]: unknown;
|
|
22
32
|
title?: string | undefined;
|
|
@@ -25,8 +35,11 @@ declare const _default: {
|
|
|
25
35
|
idempotentHint?: boolean | undefined;
|
|
26
36
|
openWorldHint?: boolean | undefined;
|
|
27
37
|
} | undefined;
|
|
38
|
+
_meta?: {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
} | undefined;
|
|
28
41
|
};
|
|
29
|
-
handler: (client: Metronome, args: Record<string, unknown> | undefined) => import("@metronome/
|
|
42
|
+
handler: (client: Metronome, args: Record<string, unknown> | undefined) => Promise<import("@metronome/mcp/tools/types").ToolCallResult>;
|
|
30
43
|
};
|
|
31
44
|
export default _default;
|
|
32
45
|
//# sourceMappingURL=void-v1-credit-grants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"void-v1-credit-grants.d.ts","sourceRoot":"","sources":["../../../src/tools/v1/credit-grants/void-v1-credit-grants.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"void-v1-credit-grants.d.ts","sourceRoot":"","sources":["../../../src/tools/v1/credit-grants/void-v1-credit-grants.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,IA4BlB,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"}
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.handler = exports.tool = exports.metadata = void 0;
|
|
5
|
+
const filtering_1 = require("@metronome/mcp/filtering");
|
|
6
|
+
const types_1 = require("@metronome/mcp/tools/types");
|
|
5
7
|
exports.metadata = {
|
|
6
8
|
resource: 'v1.credit_grants',
|
|
7
9
|
operation: 'write',
|
|
@@ -12,7 +14,7 @@ exports.metadata = {
|
|
|
12
14
|
};
|
|
13
15
|
exports.tool = {
|
|
14
16
|
name: 'void_v1_credit_grants',
|
|
15
|
-
description: '
|
|
17
|
+
description: "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\nVoid a credit grant\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```",
|
|
16
18
|
inputSchema: {
|
|
17
19
|
type: 'object',
|
|
18
20
|
properties: {
|
|
@@ -27,12 +29,19 @@ exports.tool = {
|
|
|
27
29
|
type: 'boolean',
|
|
28
30
|
description: 'If true, void the purchase invoice associated with the grant',
|
|
29
31
|
},
|
|
32
|
+
jq_filter: {
|
|
33
|
+
type: 'string',
|
|
34
|
+
title: 'jq Filter',
|
|
35
|
+
description: '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/).',
|
|
36
|
+
},
|
|
30
37
|
},
|
|
38
|
+
required: ['id'],
|
|
31
39
|
},
|
|
40
|
+
annotations: {},
|
|
32
41
|
};
|
|
33
|
-
const handler = (client, args) => {
|
|
42
|
+
const handler = async (client, args) => {
|
|
34
43
|
const body = args;
|
|
35
|
-
return client.v1.creditGrants.void(body);
|
|
44
|
+
return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(args, await client.v1.creditGrants.void(body)));
|
|
36
45
|
};
|
|
37
46
|
exports.handler = handler;
|
|
38
47
|
exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"void-v1-credit-grants.js","sourceRoot":"","sources":["../../../src/tools/v1/credit-grants/void-v1-credit-grants.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;
|
|
1
|
+
{"version":3,"file":"void-v1-credit-grants.js","sourceRoot":"","sources":["../../../src/tools/v1/credit-grants/void-v1-credit-grants.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAuD;AACvD,sDAA2E;AAK9D,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,kBAAkB;IAC5B,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,uBAAuB;IACjC,WAAW,EAAE,cAAc;CAC5B,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,uBAAuB;IAC7B,WAAW,EACT,khBAAkhB;IACphB,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,EAAE,EAAE;gBACF,IAAI,EAAE,QAAQ;aACf;YACD,sBAAsB,EAAE;gBACtB,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,uEAAuE;aACrF;YACD,4BAA4B,EAAE;gBAC5B,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,8DAA8D;aAC5E;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;IACzB,OAAO,IAAA,2BAAmB,EAAC,MAAM,IAAA,uBAAW,EAAC,IAAI,EAAE,MAAM,MAAM,CAAC,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAC/F,CAAC,CAAC;AAHW,QAAA,OAAO,WAGlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { maybeFilter } from '@metronome/mcp/filtering';
|
|
3
|
+
import { asTextContentResult } from '@metronome/mcp/tools/types';
|
|
2
4
|
export const metadata = {
|
|
3
5
|
resource: 'v1.credit_grants',
|
|
4
6
|
operation: 'write',
|
|
@@ -9,7 +11,7 @@ export const metadata = {
|
|
|
9
11
|
};
|
|
10
12
|
export const tool = {
|
|
11
13
|
name: 'void_v1_credit_grants',
|
|
12
|
-
description: '
|
|
14
|
+
description: "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\nVoid a credit grant\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```",
|
|
13
15
|
inputSchema: {
|
|
14
16
|
type: 'object',
|
|
15
17
|
properties: {
|
|
@@ -24,12 +26,19 @@ export const tool = {
|
|
|
24
26
|
type: 'boolean',
|
|
25
27
|
description: 'If true, void the purchase invoice associated with the grant',
|
|
26
28
|
},
|
|
29
|
+
jq_filter: {
|
|
30
|
+
type: 'string',
|
|
31
|
+
title: 'jq Filter',
|
|
32
|
+
description: '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/).',
|
|
33
|
+
},
|
|
27
34
|
},
|
|
35
|
+
required: ['id'],
|
|
28
36
|
},
|
|
37
|
+
annotations: {},
|
|
29
38
|
};
|
|
30
|
-
export const handler = (client, args) => {
|
|
39
|
+
export const handler = async (client, args) => {
|
|
31
40
|
const body = args;
|
|
32
|
-
return client.v1.creditGrants.void(body);
|
|
41
|
+
return asTextContentResult(await maybeFilter(args, await client.v1.creditGrants.void(body)));
|
|
33
42
|
};
|
|
34
43
|
export default { metadata, tool, handler };
|
|
35
44
|
//# sourceMappingURL=void-v1-credit-grants.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"void-v1-credit-grants.mjs","sourceRoot":"","sources":["../../../src/tools/v1/credit-grants/void-v1-credit-grants.ts"],"names":[],"mappings":"AAAA,sFAAsF;
|
|
1
|
+
{"version":3,"file":"void-v1-credit-grants.mjs","sourceRoot":"","sources":["../../../src/tools/v1/credit-grants/void-v1-credit-grants.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,kBAAkB;IAC5B,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,uBAAuB;IACjC,WAAW,EAAE,cAAc;CAC5B,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,uBAAuB;IAC7B,WAAW,EACT,khBAAkhB;IACphB,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,EAAE,EAAE;gBACF,IAAI,EAAE,QAAQ;aACf;YACD,sBAAsB,EAAE;gBACtB,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,uEAAuE;aACrF;YACD,4BAA4B,EAAE;gBAC5B,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,8DAA8D;aAC5E;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;IACzB,OAAO,mBAAmB,CAAC,MAAM,WAAW,CAAC,IAAI,EAAE,MAAM,MAAM,CAAC,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAC/F,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { Metadata } from '@metronome/mcp/tools/types';
|
|
1
2
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
2
|
-
import type { Metadata } from "../..//index.mjs";
|
|
3
3
|
import Metronome from '@metronome/sdk';
|
|
4
4
|
export declare const metadata: Metadata;
|
|
5
5
|
export declare const tool: Tool;
|
|
6
|
-
export declare const handler: (client: Metronome, args: Record<string, unknown> | undefined) => import("@metronome/
|
|
6
|
+
export declare const handler: (client: Metronome, args: Record<string, unknown> | undefined) => Promise<import("@metronome/mcp/tools/types").ToolCallResult>;
|
|
7
7
|
declare const _default: {
|
|
8
8
|
metadata: Metadata;
|
|
9
9
|
tool: {
|
|
@@ -15,8 +15,18 @@ declare const _default: {
|
|
|
15
15
|
properties?: {
|
|
16
16
|
[x: string]: unknown;
|
|
17
17
|
} | undefined;
|
|
18
|
+
required?: string[] | undefined;
|
|
18
19
|
};
|
|
20
|
+
title?: string | undefined;
|
|
19
21
|
description?: string | undefined;
|
|
22
|
+
outputSchema?: {
|
|
23
|
+
[x: string]: unknown;
|
|
24
|
+
type: "object";
|
|
25
|
+
properties?: {
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
} | undefined;
|
|
28
|
+
required?: string[] | undefined;
|
|
29
|
+
} | undefined;
|
|
20
30
|
annotations?: {
|
|
21
31
|
[x: string]: unknown;
|
|
22
32
|
title?: string | undefined;
|
|
@@ -25,8 +35,11 @@ declare const _default: {
|
|
|
25
35
|
idempotentHint?: boolean | undefined;
|
|
26
36
|
openWorldHint?: boolean | undefined;
|
|
27
37
|
} | undefined;
|
|
38
|
+
_meta?: {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
} | undefined;
|
|
28
41
|
};
|
|
29
|
-
handler: (client: Metronome, args: Record<string, unknown> | undefined) => import("@metronome/
|
|
42
|
+
handler: (client: Metronome, args: Record<string, unknown> | undefined) => Promise<import("@metronome/mcp/tools/types").ToolCallResult>;
|
|
30
43
|
};
|
|
31
44
|
export default _default;
|
|
32
45
|
//# sourceMappingURL=add-key-v1-custom-fields.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-key-v1-custom-fields.d.mts","sourceRoot":"","sources":["../../../src/tools/v1/custom-fields/add-key-v1-custom-fields.ts"],"names":[],"mappings":"OAEO,EAAE,
|
|
1
|
+
{"version":3,"file":"add-key-v1-custom-fields.d.mts","sourceRoot":"","sources":["../../../src/tools/v1/custom-fields/add-key-v1-custom-fields.ts"],"names":[],"mappings":"OAEO,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,IA8ClB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAIzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAJoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAM1F,wBAA2C"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { Metadata } from '@metronome/mcp/tools/types';
|
|
1
2
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
2
|
-
import type { Metadata } from "../..//index.js";
|
|
3
3
|
import Metronome from '@metronome/sdk';
|
|
4
4
|
export declare const metadata: Metadata;
|
|
5
5
|
export declare const tool: Tool;
|
|
6
|
-
export declare const handler: (client: Metronome, args: Record<string, unknown> | undefined) => import("@metronome/
|
|
6
|
+
export declare const handler: (client: Metronome, args: Record<string, unknown> | undefined) => Promise<import("@metronome/mcp/tools/types").ToolCallResult>;
|
|
7
7
|
declare const _default: {
|
|
8
8
|
metadata: Metadata;
|
|
9
9
|
tool: {
|
|
@@ -15,8 +15,18 @@ declare const _default: {
|
|
|
15
15
|
properties?: {
|
|
16
16
|
[x: string]: unknown;
|
|
17
17
|
} | undefined;
|
|
18
|
+
required?: string[] | undefined;
|
|
18
19
|
};
|
|
20
|
+
title?: string | undefined;
|
|
19
21
|
description?: string | undefined;
|
|
22
|
+
outputSchema?: {
|
|
23
|
+
[x: string]: unknown;
|
|
24
|
+
type: "object";
|
|
25
|
+
properties?: {
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
} | undefined;
|
|
28
|
+
required?: string[] | undefined;
|
|
29
|
+
} | undefined;
|
|
20
30
|
annotations?: {
|
|
21
31
|
[x: string]: unknown;
|
|
22
32
|
title?: string | undefined;
|
|
@@ -25,8 +35,11 @@ declare const _default: {
|
|
|
25
35
|
idempotentHint?: boolean | undefined;
|
|
26
36
|
openWorldHint?: boolean | undefined;
|
|
27
37
|
} | undefined;
|
|
38
|
+
_meta?: {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
} | undefined;
|
|
28
41
|
};
|
|
29
|
-
handler: (client: Metronome, args: Record<string, unknown> | undefined) => import("@metronome/
|
|
42
|
+
handler: (client: Metronome, args: Record<string, unknown> | undefined) => Promise<import("@metronome/mcp/tools/types").ToolCallResult>;
|
|
30
43
|
};
|
|
31
44
|
export default _default;
|
|
32
45
|
//# sourceMappingURL=add-key-v1-custom-fields.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-key-v1-custom-fields.d.ts","sourceRoot":"","sources":["../../../src/tools/v1/custom-fields/add-key-v1-custom-fields.ts"],"names":[],"mappings":"OAEO,EAAE,
|
|
1
|
+
{"version":3,"file":"add-key-v1-custom-fields.d.ts","sourceRoot":"","sources":["../../../src/tools/v1/custom-fields/add-key-v1-custom-fields.ts"],"names":[],"mappings":"OAEO,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,IA8ClB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAIzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAJoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAM1F,wBAA2C"}
|