@metronome/mcp 2.2.0 → 3.0.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/LICENSE +1 -1
- package/README.md +16 -1323
- package/code-tool-types.d.mts +7 -9
- package/code-tool-types.d.mts.map +1 -1
- package/code-tool-types.d.ts +7 -9
- package/code-tool-types.d.ts.map +1 -1
- package/code-tool.d.mts +2 -44
- package/code-tool.d.mts.map +1 -1
- package/code-tool.d.ts +2 -44
- package/code-tool.d.ts.map +1 -1
- package/code-tool.js +59 -7
- package/code-tool.js.map +1 -1
- package/code-tool.mjs +60 -8
- package/code-tool.mjs.map +1 -1
- package/docs-search-tool.d.mts +4 -3
- package/docs-search-tool.d.mts.map +1 -1
- package/docs-search-tool.d.ts +4 -3
- package/docs-search-tool.d.ts.map +1 -1
- package/docs-search-tool.js +1 -1
- package/docs-search-tool.js.map +1 -1
- package/docs-search-tool.mjs +1 -1
- package/http.d.mts.map +1 -1
- package/http.d.ts.map +1 -1
- package/http.js +2 -22
- package/http.js.map +1 -1
- package/http.mjs +2 -22
- package/http.mjs.map +1 -1
- package/index.js +4 -40
- package/index.js.map +1 -1
- package/index.mjs +4 -40
- package/index.mjs.map +1 -1
- package/options.d.mts +0 -9
- package/options.d.mts.map +1 -1
- package/options.d.ts +0 -9
- package/options.d.ts.map +1 -1
- package/options.js +6 -361
- package/options.js.map +1 -1
- package/options.mjs +6 -361
- package/options.mjs.map +1 -1
- package/package.json +11 -51
- package/server.d.mts +3 -8
- package/server.d.mts.map +1 -1
- package/server.d.ts +3 -8
- package/server.d.ts.map +1 -1
- package/server.js +12 -65
- package/server.js.map +1 -1
- package/server.mjs +11 -62
- package/server.mjs.map +1 -1
- package/src/code-tool-types.ts +7 -9
- package/src/code-tool.ts +64 -11
- package/src/docs-search-tool.ts +1 -1
- package/src/http.ts +3 -24
- package/src/index.ts +5 -52
- package/src/options.ts +7 -388
- package/src/server.ts +12 -72
- package/src/stdio.ts +2 -3
- package/src/{tools/types.ts → types.ts} +1 -1
- package/stdio.d.mts +1 -2
- package/stdio.d.mts.map +1 -1
- package/stdio.d.ts +1 -2
- package/stdio.d.ts.map +1 -1
- package/stdio.js +2 -2
- package/stdio.js.map +1 -1
- package/stdio.mjs +2 -2
- package/stdio.mjs.map +1 -1
- package/{tools/types.d.mts → types.d.mts} +1 -1
- package/types.d.mts.map +1 -0
- package/{tools/types.d.ts → types.d.ts} +1 -1
- package/types.d.ts.map +1 -0
- package/types.js.map +1 -0
- package/types.mjs.map +1 -0
- package/compat.d.mts +0 -58
- package/compat.d.mts.map +0 -1
- package/compat.d.ts +0 -58
- package/compat.d.ts.map +0 -1
- package/compat.js +0 -387
- package/compat.js.map +0 -1
- package/compat.mjs +0 -378
- package/compat.mjs.map +0 -1
- package/dynamic-tools.d.mts +0 -12
- package/dynamic-tools.d.mts.map +0 -1
- package/dynamic-tools.d.ts +0 -12
- package/dynamic-tools.d.ts.map +0 -1
- package/dynamic-tools.js +0 -135
- package/dynamic-tools.js.map +0 -1
- package/dynamic-tools.mjs +0 -132
- package/dynamic-tools.mjs.map +0 -1
- package/filtering.d.mts +0 -3
- package/filtering.d.mts.map +0 -1
- package/filtering.d.ts +0 -3
- package/filtering.d.ts.map +0 -1
- package/filtering.js +0 -24
- package/filtering.js.map +0 -1
- package/filtering.mjs +0 -16
- package/filtering.mjs.map +0 -1
- package/src/compat.ts +0 -483
- package/src/dynamic-tools.ts +0 -159
- package/src/filtering.ts +0 -18
- package/src/tools/index.ts +0 -289
- package/src/tools/v1/alerts/archive-v1-alerts.ts +0 -57
- package/src/tools/v1/alerts/create-v1-alerts.ts +0 -179
- package/src/tools/v1/audit-logs/list-v1-audit-logs.ts +0 -86
- package/src/tools/v1/billable-metrics/archive-v1-billable-metrics.ts +0 -52
- package/src/tools/v1/billable-metrics/create-v1-billable-metrics.ts +0 -150
- package/src/tools/v1/billable-metrics/list-v1-billable-metrics.ts +0 -64
- package/src/tools/v1/billable-metrics/retrieve-v1-billable-metrics.ts +0 -54
- package/src/tools/v1/contracts/add-manual-balance-entry-v1-contracts.ts +0 -72
- package/src/tools/v1/contracts/amend-v1-contracts.ts +0 -1030
- package/src/tools/v1/contracts/archive-v1-contracts.ts +0 -61
- package/src/tools/v1/contracts/create-historical-invoices-v1-contracts.ts +0 -148
- package/src/tools/v1/contracts/create-v1-contracts.ts +0 -1780
- package/src/tools/v1/contracts/list-balances-v1-contracts.ts +0 -93
- package/src/tools/v1/contracts/list-v1-contracts.ts +0 -71
- package/src/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.ts +0 -65
- package/src/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.ts +0 -58
- package/src/tools/v1/contracts/products/archive-contracts-v1-products.ts +0 -55
- package/src/tools/v1/contracts/products/create-contracts-v1-products.ts +0 -164
- package/src/tools/v1/contracts/products/list-contracts-v1-products.ts +0 -63
- package/src/tools/v1/contracts/products/retrieve-contracts-v1-products.ts +0 -54
- package/src/tools/v1/contracts/products/update-contracts-v1-products.ts +0 -171
- package/src/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.ts +0 -54
- package/src/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.ts +0 -106
- package/src/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.ts +0 -62
- package/src/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.ts +0 -69
- package/src/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.ts +0 -62
- package/src/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.ts +0 -61
- package/src/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.ts +0 -72
- package/src/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.ts +0 -173
- package/src/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.ts +0 -164
- package/src/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.ts +0 -107
- package/src/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.ts +0 -54
- package/src/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.ts +0 -106
- package/src/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.ts +0 -84
- package/src/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.ts +0 -113
- package/src/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.ts +0 -60
- package/src/tools/v1/contracts/retrieve-v1-contracts.ts +0 -58
- package/src/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.ts +0 -109
- package/src/tools/v1/contracts/set-usage-filter-v1-contracts.ts +0 -55
- package/src/tools/v1/contracts/update-end-date-v1-contracts.ts +0 -68
- package/src/tools/v1/credit-grants/create-v1-credit-grants.ts +0 -188
- package/src/tools/v1/credit-grants/edit-v1-credit-grants.ts +0 -66
- package/src/tools/v1/credit-grants/list-entries-v1-credit-grants.ts +0 -86
- package/src/tools/v1/credit-grants/list-v1-credit-grants.ts +0 -92
- package/src/tools/v1/credit-grants/void-v1-credit-grants.ts +0 -60
- package/src/tools/v1/custom-fields/add-key-v1-custom-fields.ts +0 -65
- package/src/tools/v1/custom-fields/delete-values-v1-custom-fields.ts +0 -68
- package/src/tools/v1/custom-fields/list-keys-v1-custom-fields.ts +0 -81
- package/src/tools/v1/custom-fields/remove-key-v1-custom-fields.ts +0 -62
- package/src/tools/v1/custom-fields/set-values-v1-custom-fields.ts +0 -67
- package/src/tools/v1/customers/alerts/list-customers-v1-alerts.ts +0 -67
- package/src/tools/v1/customers/alerts/reset-customers-v1-alerts.ts +0 -44
- package/src/tools/v1/customers/alerts/retrieve-customers-v1-alerts.ts +0 -91
- package/src/tools/v1/customers/archive-v1-customers.ts +0 -52
- package/src/tools/v1/customers/billing-config/create-customers-v1-billing-config.ts +0 -108
- package/src/tools/v1/customers/billing-config/delete-customers-v1-billing-config.ts +0 -55
- package/src/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.ts +0 -70
- package/src/tools/v1/customers/commits/create-customers-v1-commits.ts +0 -274
- package/src/tools/v1/customers/commits/list-customers-v1-commits.ts +0 -90
- package/src/tools/v1/customers/commits/update-end-date-customers-v1-commits.ts +0 -71
- package/src/tools/v1/customers/create-v1-customers.ts +0 -215
- package/src/tools/v1/customers/credits/create-customers-v1-credits.ts +0 -182
- package/src/tools/v1/customers/credits/list-customers-v1-credits.ts +0 -90
- package/src/tools/v1/customers/credits/update-end-date-customers-v1-credits.ts +0 -65
- package/src/tools/v1/customers/invoices/add-charge-customers-v1-invoices.ts +0 -87
- package/src/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.ts +0 -91
- package/src/tools/v1/customers/invoices/list-customers-v1-invoices.ts +0 -85
- package/src/tools/v1/customers/invoices/retrieve-customers-v1-invoices.ts +0 -54
- package/src/tools/v1/customers/invoices/retrieve-pdf-customers-v1-invoices.ts +0 -43
- package/src/tools/v1/customers/list-billable-metrics-v1-customers.ts +0 -72
- package/src/tools/v1/customers/list-costs-v1-customers.ts +0 -73
- package/src/tools/v1/customers/list-v1-customers.ts +0 -83
- package/src/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.ts +0 -65
- package/src/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.ts +0 -58
- package/src/tools/v1/customers/plans/add-customers-v1-plans.ts +0 -155
- package/src/tools/v1/customers/plans/end-customers-v1-plans.ts +0 -71
- package/src/tools/v1/customers/plans/list-customers-v1-plans.ts +0 -63
- package/src/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.ts +0 -66
- package/src/tools/v1/customers/preview-events-v1-customers.ts +0 -82
- package/src/tools/v1/customers/retrieve-billing-configurations-v1-customers.ts +0 -57
- package/src/tools/v1/customers/retrieve-v1-customers.ts +0 -54
- package/src/tools/v1/customers/set-billing-configurations-v1-customers.ts +0 -101
- package/src/tools/v1/customers/set-ingest-aliases-v1-customers.ts +0 -45
- package/src/tools/v1/customers/set-name-v1-customers.ts +0 -57
- package/src/tools/v1/customers/update-config-v1-customers.ts +0 -48
- package/src/tools/v1/dashboards/get-embeddable-url-v1-dashboards.ts +0 -141
- package/src/tools/v1/invoices/regenerate-v1-invoices.ts +0 -53
- package/src/tools/v1/invoices/void-v1-invoices.ts +0 -53
- package/src/tools/v1/payments/attempt-v1-payments.ts +0 -55
- package/src/tools/v1/payments/cancel-v1-payments.ts +0 -55
- package/src/tools/v1/payments/list-v1-payments.ts +0 -76
- package/src/tools/v1/plans/get-details-v1-plans.ts +0 -54
- package/src/tools/v1/plans/list-charges-v1-plans.ts +0 -63
- package/src/tools/v1/plans/list-customers-v1-plans.ts +0 -69
- package/src/tools/v1/plans/list-v1-plans.ts +0 -60
- package/src/tools/v1/pricing-units/list-v1-pricing-units.ts +0 -60
- package/src/tools/v1/services/list-v1-services.ts +0 -51
- package/src/tools/v1/settings/billing-providers/create-settings-v1-billing-providers.ts +0 -67
- package/src/tools/v1/settings/billing-providers/list-settings-v1-billing-providers.ts +0 -55
- package/src/tools/v1/settings/upsert-avalara-credentials-v1-settings.ts +0 -77
- package/src/tools/v1/usage/ingest-v1-usage.ts +0 -62
- package/src/tools/v1/usage/list-v1-usage.ts +0 -108
- package/src/tools/v1/usage/list-with-groups-v1-usage.ts +0 -101
- package/src/tools/v1/usage/search-v1-usage.ts +0 -56
- package/src/tools/v2/contracts/edit-commit-v2-contracts.ts +0 -306
- package/src/tools/v2/contracts/edit-credit-v2-contracts.ts +0 -238
- package/src/tools/v2/contracts/edit-v2-contracts.ts +0 -2336
- package/src/tools/v2/contracts/get-edit-history-v2-contracts.ts +0 -48
- package/src/tools/v2/contracts/list-v2-contracts.ts +0 -71
- package/src/tools/v2/contracts/retrieve-v2-contracts.ts +0 -64
- package/src/tools.ts +0 -1
- package/tools/index.d.mts +0 -10
- package/tools/index.d.mts.map +0 -1
- package/tools/index.d.ts +0 -10
- package/tools/index.d.ts.map +0 -1
- package/tools/index.js +0 -273
- package/tools/index.js.map +0 -1
- package/tools/index.mjs +0 -266
- package/tools/index.mjs.map +0 -1
- package/tools/types.d.mts.map +0 -1
- package/tools/types.d.ts.map +0 -1
- package/tools/types.js.map +0 -1
- package/tools/types.mjs.map +0 -1
- package/tools/v1/alerts/archive-v1-alerts.d.mts +0 -51
- package/tools/v1/alerts/archive-v1-alerts.d.mts.map +0 -1
- package/tools/v1/alerts/archive-v1-alerts.d.ts +0 -51
- package/tools/v1/alerts/archive-v1-alerts.d.ts.map +0 -1
- package/tools/v1/alerts/archive-v1-alerts.js +0 -57
- package/tools/v1/alerts/archive-v1-alerts.js.map +0 -1
- package/tools/v1/alerts/archive-v1-alerts.mjs +0 -50
- package/tools/v1/alerts/archive-v1-alerts.mjs.map +0 -1
- package/tools/v1/alerts/create-v1-alerts.d.mts +0 -51
- package/tools/v1/alerts/create-v1-alerts.d.mts.map +0 -1
- package/tools/v1/alerts/create-v1-alerts.d.ts +0 -51
- package/tools/v1/alerts/create-v1-alerts.d.ts.map +0 -1
- package/tools/v1/alerts/create-v1-alerts.js +0 -167
- package/tools/v1/alerts/create-v1-alerts.js.map +0 -1
- package/tools/v1/alerts/create-v1-alerts.mjs +0 -160
- package/tools/v1/alerts/create-v1-alerts.mjs.map +0 -1
- package/tools/v1/audit-logs/list-v1-audit-logs.d.mts +0 -51
- package/tools/v1/audit-logs/list-v1-audit-logs.d.mts.map +0 -1
- package/tools/v1/audit-logs/list-v1-audit-logs.d.ts +0 -51
- package/tools/v1/audit-logs/list-v1-audit-logs.d.ts.map +0 -1
- package/tools/v1/audit-logs/list-v1-audit-logs.js +0 -83
- package/tools/v1/audit-logs/list-v1-audit-logs.js.map +0 -1
- package/tools/v1/audit-logs/list-v1-audit-logs.mjs +0 -76
- package/tools/v1/audit-logs/list-v1-audit-logs.mjs.map +0 -1
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.d.mts +0 -51
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.d.mts.map +0 -1
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.d.ts +0 -51
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.d.ts.map +0 -1
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.js +0 -52
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.js.map +0 -1
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.mjs +0 -45
- package/tools/v1/billable-metrics/archive-v1-billable-metrics.mjs.map +0 -1
- package/tools/v1/billable-metrics/create-v1-billable-metrics.d.mts +0 -51
- package/tools/v1/billable-metrics/create-v1-billable-metrics.d.mts.map +0 -1
- package/tools/v1/billable-metrics/create-v1-billable-metrics.d.ts +0 -51
- package/tools/v1/billable-metrics/create-v1-billable-metrics.d.ts.map +0 -1
- package/tools/v1/billable-metrics/create-v1-billable-metrics.js +0 -141
- package/tools/v1/billable-metrics/create-v1-billable-metrics.js.map +0 -1
- package/tools/v1/billable-metrics/create-v1-billable-metrics.mjs +0 -134
- package/tools/v1/billable-metrics/create-v1-billable-metrics.mjs.map +0 -1
- package/tools/v1/billable-metrics/list-v1-billable-metrics.d.mts +0 -51
- package/tools/v1/billable-metrics/list-v1-billable-metrics.d.mts.map +0 -1
- package/tools/v1/billable-metrics/list-v1-billable-metrics.d.ts +0 -51
- package/tools/v1/billable-metrics/list-v1-billable-metrics.d.ts.map +0 -1
- package/tools/v1/billable-metrics/list-v1-billable-metrics.js +0 -64
- package/tools/v1/billable-metrics/list-v1-billable-metrics.js.map +0 -1
- package/tools/v1/billable-metrics/list-v1-billable-metrics.mjs +0 -57
- package/tools/v1/billable-metrics/list-v1-billable-metrics.mjs.map +0 -1
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.d.mts +0 -51
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.d.mts.map +0 -1
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.d.ts +0 -51
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.d.ts.map +0 -1
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.js +0 -54
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.js.map +0 -1
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.mjs +0 -47
- package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.mjs.map +0 -1
- package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.d.mts +0 -51
- package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.d.mts.map +0 -1
- package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.d.ts +0 -51
- package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.d.ts.map +0 -1
- package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.js +0 -66
- package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.js.map +0 -1
- package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.mjs +0 -62
- package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.mjs.map +0 -1
- package/tools/v1/contracts/amend-v1-contracts.d.mts +0 -51
- package/tools/v1/contracts/amend-v1-contracts.d.mts.map +0 -1
- package/tools/v1/contracts/amend-v1-contracts.d.ts +0 -51
- package/tools/v1/contracts/amend-v1-contracts.d.ts.map +0 -1
- package/tools/v1/contracts/amend-v1-contracts.js +0 -971
- package/tools/v1/contracts/amend-v1-contracts.js.map +0 -1
- package/tools/v1/contracts/amend-v1-contracts.mjs +0 -964
- package/tools/v1/contracts/amend-v1-contracts.mjs.map +0 -1
- package/tools/v1/contracts/archive-v1-contracts.d.mts +0 -51
- package/tools/v1/contracts/archive-v1-contracts.d.mts.map +0 -1
- package/tools/v1/contracts/archive-v1-contracts.d.ts +0 -51
- package/tools/v1/contracts/archive-v1-contracts.d.ts.map +0 -1
- package/tools/v1/contracts/archive-v1-contracts.js +0 -61
- package/tools/v1/contracts/archive-v1-contracts.js.map +0 -1
- package/tools/v1/contracts/archive-v1-contracts.mjs +0 -54
- package/tools/v1/contracts/archive-v1-contracts.mjs.map +0 -1
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.d.mts +0 -51
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.d.mts.map +0 -1
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.d.ts +0 -51
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.d.ts.map +0 -1
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.js +0 -149
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.js.map +0 -1
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.mjs +0 -142
- package/tools/v1/contracts/create-historical-invoices-v1-contracts.mjs.map +0 -1
- package/tools/v1/contracts/create-v1-contracts.d.mts +0 -51
- package/tools/v1/contracts/create-v1-contracts.d.mts.map +0 -1
- package/tools/v1/contracts/create-v1-contracts.d.ts +0 -51
- package/tools/v1/contracts/create-v1-contracts.d.ts.map +0 -1
- package/tools/v1/contracts/create-v1-contracts.js +0 -1670
- package/tools/v1/contracts/create-v1-contracts.js.map +0 -1
- package/tools/v1/contracts/create-v1-contracts.mjs +0 -1663
- package/tools/v1/contracts/create-v1-contracts.mjs.map +0 -1
- package/tools/v1/contracts/list-balances-v1-contracts.d.mts +0 -51
- package/tools/v1/contracts/list-balances-v1-contracts.d.mts.map +0 -1
- package/tools/v1/contracts/list-balances-v1-contracts.d.ts +0 -51
- package/tools/v1/contracts/list-balances-v1-contracts.d.ts.map +0 -1
- package/tools/v1/contracts/list-balances-v1-contracts.js +0 -93
- package/tools/v1/contracts/list-balances-v1-contracts.js.map +0 -1
- package/tools/v1/contracts/list-balances-v1-contracts.mjs +0 -86
- package/tools/v1/contracts/list-balances-v1-contracts.mjs.map +0 -1
- package/tools/v1/contracts/list-v1-contracts.d.mts +0 -51
- package/tools/v1/contracts/list-v1-contracts.d.mts.map +0 -1
- package/tools/v1/contracts/list-v1-contracts.d.ts +0 -51
- package/tools/v1/contracts/list-v1-contracts.d.ts.map +0 -1
- package/tools/v1/contracts/list-v1-contracts.js +0 -68
- package/tools/v1/contracts/list-v1-contracts.js.map +0 -1
- package/tools/v1/contracts/list-v1-contracts.mjs +0 -61
- package/tools/v1/contracts/list-v1-contracts.mjs.map +0 -1
- package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.d.mts +0 -51
- package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.d.mts.map +0 -1
- package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.d.ts +0 -51
- package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.d.ts.map +0 -1
- package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.js +0 -62
- package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.js.map +0 -1
- package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.mjs +0 -55
- package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.mjs.map +0 -1
- package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.d.mts +0 -51
- package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.d.mts.map +0 -1
- package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.d.ts +0 -51
- package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.d.ts.map +0 -1
- package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.js +0 -53
- package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.js.map +0 -1
- package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.mjs +0 -49
- package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.mjs.map +0 -1
- package/tools/v1/contracts/products/archive-contracts-v1-products.d.mts +0 -51
- package/tools/v1/contracts/products/archive-contracts-v1-products.d.mts.map +0 -1
- package/tools/v1/contracts/products/archive-contracts-v1-products.d.ts +0 -51
- package/tools/v1/contracts/products/archive-contracts-v1-products.d.ts.map +0 -1
- package/tools/v1/contracts/products/archive-contracts-v1-products.js +0 -53
- package/tools/v1/contracts/products/archive-contracts-v1-products.js.map +0 -1
- package/tools/v1/contracts/products/archive-contracts-v1-products.mjs +0 -46
- package/tools/v1/contracts/products/archive-contracts-v1-products.mjs.map +0 -1
- package/tools/v1/contracts/products/create-contracts-v1-products.d.mts +0 -51
- package/tools/v1/contracts/products/create-contracts-v1-products.d.mts.map +0 -1
- package/tools/v1/contracts/products/create-contracts-v1-products.d.ts +0 -51
- package/tools/v1/contracts/products/create-contracts-v1-products.d.ts.map +0 -1
- package/tools/v1/contracts/products/create-contracts-v1-products.js +0 -158
- package/tools/v1/contracts/products/create-contracts-v1-products.js.map +0 -1
- package/tools/v1/contracts/products/create-contracts-v1-products.mjs +0 -151
- package/tools/v1/contracts/products/create-contracts-v1-products.mjs.map +0 -1
- package/tools/v1/contracts/products/list-contracts-v1-products.d.mts +0 -51
- package/tools/v1/contracts/products/list-contracts-v1-products.d.mts.map +0 -1
- package/tools/v1/contracts/products/list-contracts-v1-products.d.ts +0 -51
- package/tools/v1/contracts/products/list-contracts-v1-products.d.ts.map +0 -1
- package/tools/v1/contracts/products/list-contracts-v1-products.js +0 -63
- package/tools/v1/contracts/products/list-contracts-v1-products.js.map +0 -1
- package/tools/v1/contracts/products/list-contracts-v1-products.mjs +0 -56
- package/tools/v1/contracts/products/list-contracts-v1-products.mjs.map +0 -1
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.d.mts +0 -51
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.d.mts.map +0 -1
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.d.ts +0 -51
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.d.ts.map +0 -1
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.js +0 -52
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.js.map +0 -1
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.mjs +0 -45
- package/tools/v1/contracts/products/retrieve-contracts-v1-products.mjs.map +0 -1
- package/tools/v1/contracts/products/update-contracts-v1-products.d.mts +0 -51
- package/tools/v1/contracts/products/update-contracts-v1-products.d.mts.map +0 -1
- package/tools/v1/contracts/products/update-contracts-v1-products.d.ts +0 -51
- package/tools/v1/contracts/products/update-contracts-v1-products.d.ts.map +0 -1
- package/tools/v1/contracts/products/update-contracts-v1-products.js +0 -159
- package/tools/v1/contracts/products/update-contracts-v1-products.js.map +0 -1
- package/tools/v1/contracts/products/update-contracts-v1-products.mjs +0 -152
- package/tools/v1/contracts/products/update-contracts-v1-products.mjs.map +0 -1
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.d.mts +0 -51
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.d.mts.map +0 -1
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.d.ts +0 -51
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.d.ts.map +0 -1
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.js +0 -52
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.js.map +0 -1
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.mjs +0 -45
- package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.mjs.map +0 -1
- package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.d.mts +0 -51
- package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.d.mts.map +0 -1
- package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.d.ts +0 -51
- package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.d.ts.map +0 -1
- package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.js +0 -102
- package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.js.map +0 -1
- package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.mjs +0 -95
- package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.mjs.map +0 -1
- package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.d.mts +0 -51
- package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.d.mts.map +0 -1
- package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.d.ts +0 -51
- package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.d.ts.map +0 -1
- package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.js +0 -62
- package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.js.map +0 -1
- package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.mjs +0 -55
- package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.mjs.map +0 -1
- package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.d.mts +0 -51
- package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.d.mts.map +0 -1
- package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.d.ts +0 -51
- package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.d.ts.map +0 -1
- package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.js +0 -66
- package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.js.map +0 -1
- package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.mjs +0 -59
- package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.mjs.map +0 -1
- package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.d.mts +0 -51
- package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.d.mts.map +0 -1
- package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.d.ts +0 -51
- package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.d.ts.map +0 -1
- package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.js +0 -57
- package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.js.map +0 -1
- package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.mjs +0 -53
- package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.mjs.map +0 -1
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.d.mts +0 -51
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.d.mts.map +0 -1
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.d.ts +0 -51
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.d.ts.map +0 -1
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.js +0 -59
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.js.map +0 -1
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.mjs +0 -52
- package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.mjs.map +0 -1
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.d.mts +0 -51
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.d.mts.map +0 -1
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.d.ts +0 -51
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.d.ts.map +0 -1
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.js +0 -70
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.js.map +0 -1
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.mjs +0 -63
- package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.mjs.map +0 -1
- package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.d.mts +0 -51
- package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.d.mts.map +0 -1
- package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.d.ts +0 -51
- package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.d.ts.map +0 -1
- package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.js +0 -163
- package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.js.map +0 -1
- package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.mjs +0 -156
- package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.mjs.map +0 -1
- package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.d.mts +0 -51
- package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.d.mts.map +0 -1
- package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.d.ts +0 -51
- package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.d.ts.map +0 -1
- package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.js +0 -155
- package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.js.map +0 -1
- package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.mjs +0 -148
- package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.mjs.map +0 -1
- package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.d.mts +0 -51
- package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.d.mts.map +0 -1
- package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.d.ts +0 -51
- package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.d.ts.map +0 -1
- package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.js +0 -102
- package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.js.map +0 -1
- package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.mjs +0 -95
- package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.mjs.map +0 -1
- package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.d.mts +0 -51
- package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.d.mts.map +0 -1
- package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.d.ts +0 -51
- package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.d.ts.map +0 -1
- package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.js +0 -52
- package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.js.map +0 -1
- package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.mjs +0 -45
- package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.mjs.map +0 -1
- package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.d.mts +0 -51
- package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.d.mts.map +0 -1
- package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.d.ts +0 -51
- package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.d.ts.map +0 -1
- package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.js +0 -99
- package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.js.map +0 -1
- package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.mjs +0 -92
- package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.mjs.map +0 -1
- package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.d.mts +0 -51
- package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.d.mts.map +0 -1
- package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.d.ts +0 -51
- package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.d.ts.map +0 -1
- package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.js +0 -81
- package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.js.map +0 -1
- package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.mjs +0 -74
- package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.mjs.map +0 -1
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.d.mts +0 -51
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.d.mts.map +0 -1
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.d.ts +0 -51
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.d.ts.map +0 -1
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.js +0 -105
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.js.map +0 -1
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.mjs +0 -98
- package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.mjs.map +0 -1
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.d.mts +0 -51
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.d.mts.map +0 -1
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.d.ts +0 -51
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.d.ts.map +0 -1
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.js +0 -58
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.js.map +0 -1
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.mjs +0 -51
- package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.mjs.map +0 -1
- package/tools/v1/contracts/retrieve-v1-contracts.d.mts +0 -51
- package/tools/v1/contracts/retrieve-v1-contracts.d.mts.map +0 -1
- package/tools/v1/contracts/retrieve-v1-contracts.d.ts +0 -51
- package/tools/v1/contracts/retrieve-v1-contracts.d.ts.map +0 -1
- package/tools/v1/contracts/retrieve-v1-contracts.js +0 -57
- package/tools/v1/contracts/retrieve-v1-contracts.js.map +0 -1
- package/tools/v1/contracts/retrieve-v1-contracts.mjs +0 -50
- package/tools/v1/contracts/retrieve-v1-contracts.mjs.map +0 -1
- package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.d.mts +0 -51
- package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.d.mts.map +0 -1
- package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.d.ts +0 -51
- package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.d.ts.map +0 -1
- package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.js +0 -108
- package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.js.map +0 -1
- package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.mjs +0 -101
- package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.mjs.map +0 -1
- package/tools/v1/contracts/set-usage-filter-v1-contracts.d.mts +0 -51
- package/tools/v1/contracts/set-usage-filter-v1-contracts.d.mts.map +0 -1
- package/tools/v1/contracts/set-usage-filter-v1-contracts.d.ts +0 -51
- package/tools/v1/contracts/set-usage-filter-v1-contracts.d.ts.map +0 -1
- package/tools/v1/contracts/set-usage-filter-v1-contracts.js +0 -51
- package/tools/v1/contracts/set-usage-filter-v1-contracts.js.map +0 -1
- package/tools/v1/contracts/set-usage-filter-v1-contracts.mjs +0 -47
- package/tools/v1/contracts/set-usage-filter-v1-contracts.mjs.map +0 -1
- package/tools/v1/contracts/update-end-date-v1-contracts.d.mts +0 -51
- package/tools/v1/contracts/update-end-date-v1-contracts.d.mts.map +0 -1
- package/tools/v1/contracts/update-end-date-v1-contracts.d.ts +0 -51
- package/tools/v1/contracts/update-end-date-v1-contracts.d.ts.map +0 -1
- package/tools/v1/contracts/update-end-date-v1-contracts.js +0 -66
- package/tools/v1/contracts/update-end-date-v1-contracts.js.map +0 -1
- package/tools/v1/contracts/update-end-date-v1-contracts.mjs +0 -59
- package/tools/v1/contracts/update-end-date-v1-contracts.mjs.map +0 -1
- package/tools/v1/credit-grants/create-v1-credit-grants.d.mts +0 -51
- package/tools/v1/credit-grants/create-v1-credit-grants.d.mts.map +0 -1
- package/tools/v1/credit-grants/create-v1-credit-grants.d.ts +0 -51
- package/tools/v1/credit-grants/create-v1-credit-grants.d.ts.map +0 -1
- package/tools/v1/credit-grants/create-v1-credit-grants.js +0 -184
- package/tools/v1/credit-grants/create-v1-credit-grants.js.map +0 -1
- package/tools/v1/credit-grants/create-v1-credit-grants.mjs +0 -177
- package/tools/v1/credit-grants/create-v1-credit-grants.mjs.map +0 -1
- package/tools/v1/credit-grants/edit-v1-credit-grants.d.mts +0 -51
- package/tools/v1/credit-grants/edit-v1-credit-grants.d.mts.map +0 -1
- package/tools/v1/credit-grants/edit-v1-credit-grants.d.ts +0 -51
- package/tools/v1/credit-grants/edit-v1-credit-grants.d.ts.map +0 -1
- package/tools/v1/credit-grants/edit-v1-credit-grants.js +0 -66
- package/tools/v1/credit-grants/edit-v1-credit-grants.js.map +0 -1
- package/tools/v1/credit-grants/edit-v1-credit-grants.mjs +0 -59
- package/tools/v1/credit-grants/edit-v1-credit-grants.mjs.map +0 -1
- package/tools/v1/credit-grants/list-entries-v1-credit-grants.d.mts +0 -51
- package/tools/v1/credit-grants/list-entries-v1-credit-grants.d.mts.map +0 -1
- package/tools/v1/credit-grants/list-entries-v1-credit-grants.d.ts +0 -51
- package/tools/v1/credit-grants/list-entries-v1-credit-grants.d.ts.map +0 -1
- package/tools/v1/credit-grants/list-entries-v1-credit-grants.js +0 -83
- package/tools/v1/credit-grants/list-entries-v1-credit-grants.js.map +0 -1
- package/tools/v1/credit-grants/list-entries-v1-credit-grants.mjs +0 -76
- package/tools/v1/credit-grants/list-entries-v1-credit-grants.mjs.map +0 -1
- package/tools/v1/credit-grants/list-v1-credit-grants.d.mts +0 -51
- package/tools/v1/credit-grants/list-v1-credit-grants.d.mts.map +0 -1
- package/tools/v1/credit-grants/list-v1-credit-grants.d.ts +0 -51
- package/tools/v1/credit-grants/list-v1-credit-grants.d.ts.map +0 -1
- package/tools/v1/credit-grants/list-v1-credit-grants.js +0 -89
- package/tools/v1/credit-grants/list-v1-credit-grants.js.map +0 -1
- package/tools/v1/credit-grants/list-v1-credit-grants.mjs +0 -82
- package/tools/v1/credit-grants/list-v1-credit-grants.mjs.map +0 -1
- package/tools/v1/credit-grants/void-v1-credit-grants.d.mts +0 -51
- package/tools/v1/credit-grants/void-v1-credit-grants.d.mts.map +0 -1
- package/tools/v1/credit-grants/void-v1-credit-grants.d.ts +0 -51
- package/tools/v1/credit-grants/void-v1-credit-grants.d.ts.map +0 -1
- package/tools/v1/credit-grants/void-v1-credit-grants.js +0 -60
- package/tools/v1/credit-grants/void-v1-credit-grants.js.map +0 -1
- package/tools/v1/credit-grants/void-v1-credit-grants.mjs +0 -53
- package/tools/v1/credit-grants/void-v1-credit-grants.mjs.map +0 -1
- package/tools/v1/custom-fields/add-key-v1-custom-fields.d.mts +0 -51
- package/tools/v1/custom-fields/add-key-v1-custom-fields.d.mts.map +0 -1
- package/tools/v1/custom-fields/add-key-v1-custom-fields.d.ts +0 -51
- package/tools/v1/custom-fields/add-key-v1-custom-fields.d.ts.map +0 -1
- package/tools/v1/custom-fields/add-key-v1-custom-fields.js +0 -61
- package/tools/v1/custom-fields/add-key-v1-custom-fields.js.map +0 -1
- package/tools/v1/custom-fields/add-key-v1-custom-fields.mjs +0 -57
- package/tools/v1/custom-fields/add-key-v1-custom-fields.mjs.map +0 -1
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.d.mts +0 -51
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.d.mts.map +0 -1
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.d.ts +0 -51
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.d.ts.map +0 -1
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.js +0 -64
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.js.map +0 -1
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.mjs +0 -60
- package/tools/v1/custom-fields/delete-values-v1-custom-fields.mjs.map +0 -1
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.d.mts +0 -51
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.d.mts.map +0 -1
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.d.ts +0 -51
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.d.ts.map +0 -1
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.js +0 -81
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.js.map +0 -1
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.mjs +0 -74
- package/tools/v1/custom-fields/list-keys-v1-custom-fields.mjs.map +0 -1
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.d.mts +0 -51
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.d.mts.map +0 -1
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.d.ts +0 -51
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.d.ts.map +0 -1
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.js +0 -58
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.js.map +0 -1
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.mjs +0 -54
- package/tools/v1/custom-fields/remove-key-v1-custom-fields.mjs.map +0 -1
- package/tools/v1/custom-fields/set-values-v1-custom-fields.d.mts +0 -51
- package/tools/v1/custom-fields/set-values-v1-custom-fields.d.mts.map +0 -1
- package/tools/v1/custom-fields/set-values-v1-custom-fields.d.ts +0 -51
- package/tools/v1/custom-fields/set-values-v1-custom-fields.d.ts.map +0 -1
- package/tools/v1/custom-fields/set-values-v1-custom-fields.js +0 -63
- package/tools/v1/custom-fields/set-values-v1-custom-fields.js.map +0 -1
- package/tools/v1/custom-fields/set-values-v1-custom-fields.mjs +0 -59
- package/tools/v1/custom-fields/set-values-v1-custom-fields.mjs.map +0 -1
- package/tools/v1/customers/alerts/list-customers-v1-alerts.d.mts +0 -51
- package/tools/v1/customers/alerts/list-customers-v1-alerts.d.mts.map +0 -1
- package/tools/v1/customers/alerts/list-customers-v1-alerts.d.ts +0 -51
- package/tools/v1/customers/alerts/list-customers-v1-alerts.d.ts.map +0 -1
- package/tools/v1/customers/alerts/list-customers-v1-alerts.js +0 -66
- package/tools/v1/customers/alerts/list-customers-v1-alerts.js.map +0 -1
- package/tools/v1/customers/alerts/list-customers-v1-alerts.mjs +0 -59
- package/tools/v1/customers/alerts/list-customers-v1-alerts.mjs.map +0 -1
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.d.mts +0 -51
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.d.mts.map +0 -1
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.d.ts +0 -51
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.d.ts.map +0 -1
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.js +0 -40
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.js.map +0 -1
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.mjs +0 -36
- package/tools/v1/customers/alerts/reset-customers-v1-alerts.mjs.map +0 -1
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.d.mts +0 -51
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.d.mts.map +0 -1
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.d.ts +0 -51
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.d.ts.map +0 -1
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.js +0 -88
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.js.map +0 -1
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.mjs +0 -81
- package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.mjs.map +0 -1
- package/tools/v1/customers/archive-v1-customers.d.mts +0 -51
- package/tools/v1/customers/archive-v1-customers.d.mts.map +0 -1
- package/tools/v1/customers/archive-v1-customers.d.ts +0 -51
- package/tools/v1/customers/archive-v1-customers.d.ts.map +0 -1
- package/tools/v1/customers/archive-v1-customers.js +0 -52
- package/tools/v1/customers/archive-v1-customers.js.map +0 -1
- package/tools/v1/customers/archive-v1-customers.mjs +0 -45
- package/tools/v1/customers/archive-v1-customers.mjs.map +0 -1
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.d.mts +0 -51
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.d.mts.map +0 -1
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.d.ts +0 -51
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.d.ts.map +0 -1
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.js +0 -102
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.js.map +0 -1
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.mjs +0 -98
- package/tools/v1/customers/billing-config/create-customers-v1-billing-config.mjs.map +0 -1
- package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.d.mts +0 -51
- package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.d.mts.map +0 -1
- package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.d.ts +0 -51
- package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.d.ts.map +0 -1
- package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.js +0 -51
- package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.js.map +0 -1
- package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.mjs +0 -47
- package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.mjs.map +0 -1
- package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.d.mts +0 -51
- package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.d.mts.map +0 -1
- package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.d.ts +0 -51
- package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.d.ts.map +0 -1
- package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.js +0 -68
- package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.js.map +0 -1
- package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.mjs +0 -61
- package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.mjs.map +0 -1
- package/tools/v1/customers/commits/create-customers-v1-commits.d.mts +0 -51
- package/tools/v1/customers/commits/create-customers-v1-commits.d.mts.map +0 -1
- package/tools/v1/customers/commits/create-customers-v1-commits.d.ts +0 -51
- package/tools/v1/customers/commits/create-customers-v1-commits.d.ts.map +0 -1
- package/tools/v1/customers/commits/create-customers-v1-commits.js +0 -256
- package/tools/v1/customers/commits/create-customers-v1-commits.js.map +0 -1
- package/tools/v1/customers/commits/create-customers-v1-commits.mjs +0 -249
- package/tools/v1/customers/commits/create-customers-v1-commits.mjs.map +0 -1
- package/tools/v1/customers/commits/list-customers-v1-commits.d.mts +0 -51
- package/tools/v1/customers/commits/list-customers-v1-commits.d.mts.map +0 -1
- package/tools/v1/customers/commits/list-customers-v1-commits.d.ts +0 -51
- package/tools/v1/customers/commits/list-customers-v1-commits.d.ts.map +0 -1
- package/tools/v1/customers/commits/list-customers-v1-commits.js +0 -89
- package/tools/v1/customers/commits/list-customers-v1-commits.js.map +0 -1
- package/tools/v1/customers/commits/list-customers-v1-commits.mjs +0 -82
- package/tools/v1/customers/commits/list-customers-v1-commits.mjs.map +0 -1
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.d.mts +0 -51
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.d.mts.map +0 -1
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.d.ts +0 -51
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.d.ts.map +0 -1
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.js +0 -67
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.js.map +0 -1
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.mjs +0 -60
- package/tools/v1/customers/commits/update-end-date-customers-v1-commits.mjs.map +0 -1
- package/tools/v1/customers/create-v1-customers.d.mts +0 -51
- package/tools/v1/customers/create-v1-customers.d.mts.map +0 -1
- package/tools/v1/customers/create-v1-customers.d.ts +0 -51
- package/tools/v1/customers/create-v1-customers.d.ts.map +0 -1
- package/tools/v1/customers/create-v1-customers.js +0 -206
- package/tools/v1/customers/create-v1-customers.js.map +0 -1
- package/tools/v1/customers/create-v1-customers.mjs +0 -199
- package/tools/v1/customers/create-v1-customers.mjs.map +0 -1
- package/tools/v1/customers/credits/create-customers-v1-credits.d.mts +0 -51
- package/tools/v1/customers/credits/create-customers-v1-credits.d.mts.map +0 -1
- package/tools/v1/customers/credits/create-customers-v1-credits.d.ts +0 -51
- package/tools/v1/customers/credits/create-customers-v1-credits.d.ts.map +0 -1
- package/tools/v1/customers/credits/create-customers-v1-credits.js +0 -175
- package/tools/v1/customers/credits/create-customers-v1-credits.js.map +0 -1
- package/tools/v1/customers/credits/create-customers-v1-credits.mjs +0 -168
- package/tools/v1/customers/credits/create-customers-v1-credits.mjs.map +0 -1
- package/tools/v1/customers/credits/list-customers-v1-credits.d.mts +0 -51
- package/tools/v1/customers/credits/list-customers-v1-credits.d.mts.map +0 -1
- package/tools/v1/customers/credits/list-customers-v1-credits.d.ts +0 -51
- package/tools/v1/customers/credits/list-customers-v1-credits.d.ts.map +0 -1
- package/tools/v1/customers/credits/list-customers-v1-credits.js +0 -89
- package/tools/v1/customers/credits/list-customers-v1-credits.js.map +0 -1
- package/tools/v1/customers/credits/list-customers-v1-credits.mjs +0 -82
- package/tools/v1/customers/credits/list-customers-v1-credits.mjs.map +0 -1
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.d.mts +0 -51
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.d.mts.map +0 -1
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.d.ts +0 -51
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.d.ts.map +0 -1
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.js +0 -62
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.js.map +0 -1
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.mjs +0 -55
- package/tools/v1/customers/credits/update-end-date-customers-v1-credits.mjs.map +0 -1
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.d.mts +0 -51
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.d.mts.map +0 -1
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.d.ts +0 -51
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.d.ts.map +0 -1
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.js +0 -83
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.js.map +0 -1
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.mjs +0 -76
- package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.mjs.map +0 -1
- package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.d.mts +0 -51
- package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.d.mts.map +0 -1
- package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.d.ts +0 -51
- package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.d.ts.map +0 -1
- package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.js +0 -89
- package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.js.map +0 -1
- package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.mjs +0 -82
- package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.mjs.map +0 -1
- package/tools/v1/customers/invoices/list-customers-v1-invoices.d.mts +0 -51
- package/tools/v1/customers/invoices/list-customers-v1-invoices.d.mts.map +0 -1
- package/tools/v1/customers/invoices/list-customers-v1-invoices.d.ts +0 -51
- package/tools/v1/customers/invoices/list-customers-v1-invoices.d.ts.map +0 -1
- package/tools/v1/customers/invoices/list-customers-v1-invoices.js +0 -84
- package/tools/v1/customers/invoices/list-customers-v1-invoices.js.map +0 -1
- package/tools/v1/customers/invoices/list-customers-v1-invoices.mjs +0 -77
- package/tools/v1/customers/invoices/list-customers-v1-invoices.mjs.map +0 -1
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.d.mts +0 -51
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.d.mts.map +0 -1
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.d.ts +0 -51
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.d.ts.map +0 -1
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.js +0 -55
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.js.map +0 -1
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.mjs +0 -48
- package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.mjs.map +0 -1
- package/tools/v1/customers/invoices/retrieve-pdf-customers-v1-invoices.d.mts +0 -51
- package/tools/v1/customers/invoices/retrieve-pdf-customers-v1-invoices.d.mts.map +0 -1
- package/tools/v1/customers/invoices/retrieve-pdf-customers-v1-invoices.d.ts +0 -51
- package/tools/v1/customers/invoices/retrieve-pdf-customers-v1-invoices.d.ts.map +0 -1
- package/tools/v1/customers/invoices/retrieve-pdf-customers-v1-invoices.js +0 -39
- package/tools/v1/customers/invoices/retrieve-pdf-customers-v1-invoices.js.map +0 -1
- package/tools/v1/customers/invoices/retrieve-pdf-customers-v1-invoices.mjs +0 -35
- package/tools/v1/customers/invoices/retrieve-pdf-customers-v1-invoices.mjs.map +0 -1
- package/tools/v1/customers/list-billable-metrics-v1-customers.d.mts +0 -51
- package/tools/v1/customers/list-billable-metrics-v1-customers.d.mts.map +0 -1
- package/tools/v1/customers/list-billable-metrics-v1-customers.d.ts +0 -51
- package/tools/v1/customers/list-billable-metrics-v1-customers.d.ts.map +0 -1
- package/tools/v1/customers/list-billable-metrics-v1-customers.js +0 -71
- package/tools/v1/customers/list-billable-metrics-v1-customers.js.map +0 -1
- package/tools/v1/customers/list-billable-metrics-v1-customers.mjs +0 -64
- package/tools/v1/customers/list-billable-metrics-v1-customers.mjs.map +0 -1
- package/tools/v1/customers/list-costs-v1-customers.d.mts +0 -51
- package/tools/v1/customers/list-costs-v1-customers.d.mts.map +0 -1
- package/tools/v1/customers/list-costs-v1-customers.d.ts +0 -51
- package/tools/v1/customers/list-costs-v1-customers.d.ts.map +0 -1
- package/tools/v1/customers/list-costs-v1-customers.js +0 -73
- package/tools/v1/customers/list-costs-v1-customers.js.map +0 -1
- package/tools/v1/customers/list-costs-v1-customers.mjs +0 -66
- package/tools/v1/customers/list-costs-v1-customers.mjs.map +0 -1
- package/tools/v1/customers/list-v1-customers.d.mts +0 -51
- package/tools/v1/customers/list-v1-customers.d.mts.map +0 -1
- package/tools/v1/customers/list-v1-customers.d.ts +0 -51
- package/tools/v1/customers/list-v1-customers.d.ts.map +0 -1
- package/tools/v1/customers/list-v1-customers.js +0 -82
- package/tools/v1/customers/list-v1-customers.js.map +0 -1
- package/tools/v1/customers/list-v1-customers.mjs +0 -75
- package/tools/v1/customers/list-v1-customers.mjs.map +0 -1
- package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.d.mts +0 -51
- package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.d.mts.map +0 -1
- package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.d.ts +0 -51
- package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.d.ts.map +0 -1
- package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.js +0 -62
- package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.js.map +0 -1
- package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.mjs +0 -55
- package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.mjs.map +0 -1
- package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.d.mts +0 -51
- package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.d.mts.map +0 -1
- package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.d.ts +0 -51
- package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.d.ts.map +0 -1
- package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.js +0 -53
- package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.js.map +0 -1
- package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.mjs +0 -49
- package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.mjs.map +0 -1
- package/tools/v1/customers/plans/add-customers-v1-plans.d.mts +0 -51
- package/tools/v1/customers/plans/add-customers-v1-plans.d.mts.map +0 -1
- package/tools/v1/customers/plans/add-customers-v1-plans.d.ts +0 -51
- package/tools/v1/customers/plans/add-customers-v1-plans.d.ts.map +0 -1
- package/tools/v1/customers/plans/add-customers-v1-plans.js +0 -147
- package/tools/v1/customers/plans/add-customers-v1-plans.js.map +0 -1
- package/tools/v1/customers/plans/add-customers-v1-plans.mjs +0 -140
- package/tools/v1/customers/plans/add-customers-v1-plans.mjs.map +0 -1
- package/tools/v1/customers/plans/end-customers-v1-plans.d.mts +0 -51
- package/tools/v1/customers/plans/end-customers-v1-plans.d.mts.map +0 -1
- package/tools/v1/customers/plans/end-customers-v1-plans.d.ts +0 -51
- package/tools/v1/customers/plans/end-customers-v1-plans.d.ts.map +0 -1
- package/tools/v1/customers/plans/end-customers-v1-plans.js +0 -68
- package/tools/v1/customers/plans/end-customers-v1-plans.js.map +0 -1
- package/tools/v1/customers/plans/end-customers-v1-plans.mjs +0 -61
- package/tools/v1/customers/plans/end-customers-v1-plans.mjs.map +0 -1
- package/tools/v1/customers/plans/list-customers-v1-plans.d.mts +0 -51
- package/tools/v1/customers/plans/list-customers-v1-plans.d.mts.map +0 -1
- package/tools/v1/customers/plans/list-customers-v1-plans.d.ts +0 -51
- package/tools/v1/customers/plans/list-customers-v1-plans.d.ts.map +0 -1
- package/tools/v1/customers/plans/list-customers-v1-plans.js +0 -63
- package/tools/v1/customers/plans/list-customers-v1-plans.js.map +0 -1
- package/tools/v1/customers/plans/list-customers-v1-plans.mjs +0 -56
- package/tools/v1/customers/plans/list-customers-v1-plans.mjs.map +0 -1
- package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.d.mts +0 -51
- package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.d.mts.map +0 -1
- package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.d.ts +0 -51
- package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.d.ts.map +0 -1
- package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.js +0 -66
- package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.js.map +0 -1
- package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.mjs +0 -59
- package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.mjs.map +0 -1
- package/tools/v1/customers/preview-events-v1-customers.d.mts +0 -51
- package/tools/v1/customers/preview-events-v1-customers.d.mts.map +0 -1
- package/tools/v1/customers/preview-events-v1-customers.d.ts +0 -51
- package/tools/v1/customers/preview-events-v1-customers.d.ts.map +0 -1
- package/tools/v1/customers/preview-events-v1-customers.js +0 -80
- package/tools/v1/customers/preview-events-v1-customers.js.map +0 -1
- package/tools/v1/customers/preview-events-v1-customers.mjs +0 -73
- package/tools/v1/customers/preview-events-v1-customers.mjs.map +0 -1
- package/tools/v1/customers/retrieve-billing-configurations-v1-customers.d.mts +0 -51
- package/tools/v1/customers/retrieve-billing-configurations-v1-customers.d.mts.map +0 -1
- package/tools/v1/customers/retrieve-billing-configurations-v1-customers.d.ts +0 -51
- package/tools/v1/customers/retrieve-billing-configurations-v1-customers.d.ts.map +0 -1
- package/tools/v1/customers/retrieve-billing-configurations-v1-customers.js +0 -55
- package/tools/v1/customers/retrieve-billing-configurations-v1-customers.js.map +0 -1
- package/tools/v1/customers/retrieve-billing-configurations-v1-customers.mjs +0 -48
- package/tools/v1/customers/retrieve-billing-configurations-v1-customers.mjs.map +0 -1
- package/tools/v1/customers/retrieve-v1-customers.d.mts +0 -51
- package/tools/v1/customers/retrieve-v1-customers.d.mts.map +0 -1
- package/tools/v1/customers/retrieve-v1-customers.d.ts +0 -51
- package/tools/v1/customers/retrieve-v1-customers.d.ts.map +0 -1
- package/tools/v1/customers/retrieve-v1-customers.js +0 -54
- package/tools/v1/customers/retrieve-v1-customers.js.map +0 -1
- package/tools/v1/customers/retrieve-v1-customers.mjs +0 -47
- package/tools/v1/customers/retrieve-v1-customers.mjs.map +0 -1
- package/tools/v1/customers/set-billing-configurations-v1-customers.d.mts +0 -51
- package/tools/v1/customers/set-billing-configurations-v1-customers.d.mts.map +0 -1
- package/tools/v1/customers/set-billing-configurations-v1-customers.d.ts +0 -51
- package/tools/v1/customers/set-billing-configurations-v1-customers.d.ts.map +0 -1
- package/tools/v1/customers/set-billing-configurations-v1-customers.js +0 -95
- package/tools/v1/customers/set-billing-configurations-v1-customers.js.map +0 -1
- package/tools/v1/customers/set-billing-configurations-v1-customers.mjs +0 -88
- package/tools/v1/customers/set-billing-configurations-v1-customers.mjs.map +0 -1
- package/tools/v1/customers/set-ingest-aliases-v1-customers.d.mts +0 -51
- package/tools/v1/customers/set-ingest-aliases-v1-customers.d.mts.map +0 -1
- package/tools/v1/customers/set-ingest-aliases-v1-customers.d.ts +0 -51
- package/tools/v1/customers/set-ingest-aliases-v1-customers.d.ts.map +0 -1
- package/tools/v1/customers/set-ingest-aliases-v1-customers.js +0 -41
- package/tools/v1/customers/set-ingest-aliases-v1-customers.js.map +0 -1
- package/tools/v1/customers/set-ingest-aliases-v1-customers.mjs +0 -37
- package/tools/v1/customers/set-ingest-aliases-v1-customers.mjs.map +0 -1
- package/tools/v1/customers/set-name-v1-customers.d.mts +0 -51
- package/tools/v1/customers/set-name-v1-customers.d.mts.map +0 -1
- package/tools/v1/customers/set-name-v1-customers.d.ts +0 -51
- package/tools/v1/customers/set-name-v1-customers.d.ts.map +0 -1
- package/tools/v1/customers/set-name-v1-customers.js +0 -56
- package/tools/v1/customers/set-name-v1-customers.js.map +0 -1
- package/tools/v1/customers/set-name-v1-customers.mjs +0 -49
- package/tools/v1/customers/set-name-v1-customers.mjs.map +0 -1
- package/tools/v1/customers/update-config-v1-customers.d.mts +0 -51
- package/tools/v1/customers/update-config-v1-customers.d.mts.map +0 -1
- package/tools/v1/customers/update-config-v1-customers.d.ts +0 -51
- package/tools/v1/customers/update-config-v1-customers.d.ts.map +0 -1
- package/tools/v1/customers/update-config-v1-customers.js +0 -43
- package/tools/v1/customers/update-config-v1-customers.js.map +0 -1
- package/tools/v1/customers/update-config-v1-customers.mjs +0 -39
- package/tools/v1/customers/update-config-v1-customers.mjs.map +0 -1
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.d.mts +0 -51
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.d.mts.map +0 -1
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.d.ts +0 -51
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.d.ts.map +0 -1
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.js +0 -138
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.js.map +0 -1
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.mjs +0 -131
- package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.mjs.map +0 -1
- package/tools/v1/invoices/regenerate-v1-invoices.d.mts +0 -51
- package/tools/v1/invoices/regenerate-v1-invoices.d.mts.map +0 -1
- package/tools/v1/invoices/regenerate-v1-invoices.d.ts +0 -51
- package/tools/v1/invoices/regenerate-v1-invoices.d.ts.map +0 -1
- package/tools/v1/invoices/regenerate-v1-invoices.js +0 -53
- package/tools/v1/invoices/regenerate-v1-invoices.js.map +0 -1
- package/tools/v1/invoices/regenerate-v1-invoices.mjs +0 -46
- package/tools/v1/invoices/regenerate-v1-invoices.mjs.map +0 -1
- package/tools/v1/invoices/void-v1-invoices.d.mts +0 -51
- package/tools/v1/invoices/void-v1-invoices.d.mts.map +0 -1
- package/tools/v1/invoices/void-v1-invoices.d.ts +0 -51
- package/tools/v1/invoices/void-v1-invoices.d.ts.map +0 -1
- package/tools/v1/invoices/void-v1-invoices.js +0 -53
- package/tools/v1/invoices/void-v1-invoices.js.map +0 -1
- package/tools/v1/invoices/void-v1-invoices.mjs +0 -46
- package/tools/v1/invoices/void-v1-invoices.mjs.map +0 -1
- package/tools/v1/payments/attempt-v1-payments.d.mts +0 -51
- package/tools/v1/payments/attempt-v1-payments.d.mts.map +0 -1
- package/tools/v1/payments/attempt-v1-payments.d.ts +0 -51
- package/tools/v1/payments/attempt-v1-payments.d.ts.map +0 -1
- package/tools/v1/payments/attempt-v1-payments.js +0 -55
- package/tools/v1/payments/attempt-v1-payments.js.map +0 -1
- package/tools/v1/payments/attempt-v1-payments.mjs +0 -48
- package/tools/v1/payments/attempt-v1-payments.mjs.map +0 -1
- package/tools/v1/payments/cancel-v1-payments.d.mts +0 -51
- package/tools/v1/payments/cancel-v1-payments.d.mts.map +0 -1
- package/tools/v1/payments/cancel-v1-payments.d.ts +0 -51
- package/tools/v1/payments/cancel-v1-payments.d.ts.map +0 -1
- package/tools/v1/payments/cancel-v1-payments.js +0 -55
- package/tools/v1/payments/cancel-v1-payments.js.map +0 -1
- package/tools/v1/payments/cancel-v1-payments.mjs +0 -48
- package/tools/v1/payments/cancel-v1-payments.mjs.map +0 -1
- package/tools/v1/payments/list-v1-payments.d.mts +0 -51
- package/tools/v1/payments/list-v1-payments.d.mts.map +0 -1
- package/tools/v1/payments/list-v1-payments.d.ts +0 -51
- package/tools/v1/payments/list-v1-payments.d.ts.map +0 -1
- package/tools/v1/payments/list-v1-payments.js +0 -76
- package/tools/v1/payments/list-v1-payments.js.map +0 -1
- package/tools/v1/payments/list-v1-payments.mjs +0 -69
- package/tools/v1/payments/list-v1-payments.mjs.map +0 -1
- package/tools/v1/plans/get-details-v1-plans.d.mts +0 -51
- package/tools/v1/plans/get-details-v1-plans.d.mts.map +0 -1
- package/tools/v1/plans/get-details-v1-plans.d.ts +0 -51
- package/tools/v1/plans/get-details-v1-plans.d.ts.map +0 -1
- package/tools/v1/plans/get-details-v1-plans.js +0 -54
- package/tools/v1/plans/get-details-v1-plans.js.map +0 -1
- package/tools/v1/plans/get-details-v1-plans.mjs +0 -47
- package/tools/v1/plans/get-details-v1-plans.mjs.map +0 -1
- package/tools/v1/plans/list-charges-v1-plans.d.mts +0 -51
- package/tools/v1/plans/list-charges-v1-plans.d.mts.map +0 -1
- package/tools/v1/plans/list-charges-v1-plans.d.ts +0 -51
- package/tools/v1/plans/list-charges-v1-plans.d.ts.map +0 -1
- package/tools/v1/plans/list-charges-v1-plans.js +0 -63
- package/tools/v1/plans/list-charges-v1-plans.js.map +0 -1
- package/tools/v1/plans/list-charges-v1-plans.mjs +0 -56
- package/tools/v1/plans/list-charges-v1-plans.mjs.map +0 -1
- package/tools/v1/plans/list-customers-v1-plans.d.mts +0 -51
- package/tools/v1/plans/list-customers-v1-plans.d.mts.map +0 -1
- package/tools/v1/plans/list-customers-v1-plans.d.ts +0 -51
- package/tools/v1/plans/list-customers-v1-plans.d.ts.map +0 -1
- package/tools/v1/plans/list-customers-v1-plans.js +0 -68
- package/tools/v1/plans/list-customers-v1-plans.js.map +0 -1
- package/tools/v1/plans/list-customers-v1-plans.mjs +0 -61
- package/tools/v1/plans/list-customers-v1-plans.mjs.map +0 -1
- package/tools/v1/plans/list-v1-plans.d.mts +0 -51
- package/tools/v1/plans/list-v1-plans.d.mts.map +0 -1
- package/tools/v1/plans/list-v1-plans.d.ts +0 -51
- package/tools/v1/plans/list-v1-plans.d.ts.map +0 -1
- package/tools/v1/plans/list-v1-plans.js +0 -60
- package/tools/v1/plans/list-v1-plans.js.map +0 -1
- package/tools/v1/plans/list-v1-plans.mjs +0 -53
- package/tools/v1/plans/list-v1-plans.mjs.map +0 -1
- package/tools/v1/pricing-units/list-v1-pricing-units.d.mts +0 -51
- package/tools/v1/pricing-units/list-v1-pricing-units.d.mts.map +0 -1
- package/tools/v1/pricing-units/list-v1-pricing-units.d.ts +0 -51
- package/tools/v1/pricing-units/list-v1-pricing-units.d.ts.map +0 -1
- package/tools/v1/pricing-units/list-v1-pricing-units.js +0 -60
- package/tools/v1/pricing-units/list-v1-pricing-units.js.map +0 -1
- package/tools/v1/pricing-units/list-v1-pricing-units.mjs +0 -53
- package/tools/v1/pricing-units/list-v1-pricing-units.mjs.map +0 -1
- package/tools/v1/services/list-v1-services.d.mts +0 -51
- package/tools/v1/services/list-v1-services.d.mts.map +0 -1
- package/tools/v1/services/list-v1-services.d.ts +0 -51
- package/tools/v1/services/list-v1-services.d.ts.map +0 -1
- package/tools/v1/services/list-v1-services.js +0 -51
- package/tools/v1/services/list-v1-services.js.map +0 -1
- package/tools/v1/services/list-v1-services.mjs +0 -44
- package/tools/v1/services/list-v1-services.mjs.map +0 -1
- package/tools/v1/settings/billing-providers/create-settings-v1-billing-providers.d.mts +0 -51
- package/tools/v1/settings/billing-providers/create-settings-v1-billing-providers.d.mts.map +0 -1
- package/tools/v1/settings/billing-providers/create-settings-v1-billing-providers.d.ts +0 -51
- package/tools/v1/settings/billing-providers/create-settings-v1-billing-providers.d.ts.map +0 -1
- package/tools/v1/settings/billing-providers/create-settings-v1-billing-providers.js +0 -64
- package/tools/v1/settings/billing-providers/create-settings-v1-billing-providers.js.map +0 -1
- package/tools/v1/settings/billing-providers/create-settings-v1-billing-providers.mjs +0 -57
- package/tools/v1/settings/billing-providers/create-settings-v1-billing-providers.mjs.map +0 -1
- package/tools/v1/settings/billing-providers/list-settings-v1-billing-providers.d.mts +0 -51
- package/tools/v1/settings/billing-providers/list-settings-v1-billing-providers.d.mts.map +0 -1
- package/tools/v1/settings/billing-providers/list-settings-v1-billing-providers.d.ts +0 -51
- package/tools/v1/settings/billing-providers/list-settings-v1-billing-providers.d.ts.map +0 -1
- package/tools/v1/settings/billing-providers/list-settings-v1-billing-providers.js +0 -53
- package/tools/v1/settings/billing-providers/list-settings-v1-billing-providers.js.map +0 -1
- package/tools/v1/settings/billing-providers/list-settings-v1-billing-providers.mjs +0 -46
- package/tools/v1/settings/billing-providers/list-settings-v1-billing-providers.mjs.map +0 -1
- package/tools/v1/settings/upsert-avalara-credentials-v1-settings.d.mts +0 -51
- package/tools/v1/settings/upsert-avalara-credentials-v1-settings.d.mts.map +0 -1
- package/tools/v1/settings/upsert-avalara-credentials-v1-settings.d.ts +0 -51
- package/tools/v1/settings/upsert-avalara-credentials-v1-settings.d.ts.map +0 -1
- package/tools/v1/settings/upsert-avalara-credentials-v1-settings.js +0 -73
- package/tools/v1/settings/upsert-avalara-credentials-v1-settings.js.map +0 -1
- package/tools/v1/settings/upsert-avalara-credentials-v1-settings.mjs +0 -66
- package/tools/v1/settings/upsert-avalara-credentials-v1-settings.mjs.map +0 -1
- package/tools/v1/usage/ingest-v1-usage.d.mts +0 -51
- package/tools/v1/usage/ingest-v1-usage.d.mts.map +0 -1
- package/tools/v1/usage/ingest-v1-usage.d.ts +0 -51
- package/tools/v1/usage/ingest-v1-usage.d.ts.map +0 -1
- package/tools/v1/usage/ingest-v1-usage.js +0 -58
- package/tools/v1/usage/ingest-v1-usage.js.map +0 -1
- package/tools/v1/usage/ingest-v1-usage.mjs +0 -54
- package/tools/v1/usage/ingest-v1-usage.mjs.map +0 -1
- package/tools/v1/usage/list-v1-usage.d.mts +0 -51
- package/tools/v1/usage/list-v1-usage.d.mts.map +0 -1
- package/tools/v1/usage/list-v1-usage.d.ts +0 -51
- package/tools/v1/usage/list-v1-usage.d.ts.map +0 -1
- package/tools/v1/usage/list-v1-usage.js +0 -104
- package/tools/v1/usage/list-v1-usage.js.map +0 -1
- package/tools/v1/usage/list-v1-usage.mjs +0 -97
- package/tools/v1/usage/list-v1-usage.mjs.map +0 -1
- package/tools/v1/usage/list-with-groups-v1-usage.d.mts +0 -51
- package/tools/v1/usage/list-with-groups-v1-usage.d.mts.map +0 -1
- package/tools/v1/usage/list-with-groups-v1-usage.d.ts +0 -51
- package/tools/v1/usage/list-with-groups-v1-usage.d.ts.map +0 -1
- package/tools/v1/usage/list-with-groups-v1-usage.js +0 -98
- package/tools/v1/usage/list-with-groups-v1-usage.js.map +0 -1
- package/tools/v1/usage/list-with-groups-v1-usage.mjs +0 -91
- package/tools/v1/usage/list-with-groups-v1-usage.mjs.map +0 -1
- package/tools/v1/usage/search-v1-usage.d.mts +0 -51
- package/tools/v1/usage/search-v1-usage.d.mts.map +0 -1
- package/tools/v1/usage/search-v1-usage.d.ts +0 -51
- package/tools/v1/usage/search-v1-usage.d.ts.map +0 -1
- package/tools/v1/usage/search-v1-usage.js +0 -56
- package/tools/v1/usage/search-v1-usage.js.map +0 -1
- package/tools/v1/usage/search-v1-usage.mjs +0 -49
- package/tools/v1/usage/search-v1-usage.mjs.map +0 -1
- package/tools/v2/contracts/edit-commit-v2-contracts.d.mts +0 -51
- package/tools/v2/contracts/edit-commit-v2-contracts.d.mts.map +0 -1
- package/tools/v2/contracts/edit-commit-v2-contracts.d.ts +0 -51
- package/tools/v2/contracts/edit-commit-v2-contracts.d.ts.map +0 -1
- package/tools/v2/contracts/edit-commit-v2-contracts.js +0 -301
- package/tools/v2/contracts/edit-commit-v2-contracts.js.map +0 -1
- package/tools/v2/contracts/edit-commit-v2-contracts.mjs +0 -294
- package/tools/v2/contracts/edit-commit-v2-contracts.mjs.map +0 -1
- package/tools/v2/contracts/edit-credit-v2-contracts.d.mts +0 -51
- package/tools/v2/contracts/edit-credit-v2-contracts.d.mts.map +0 -1
- package/tools/v2/contracts/edit-credit-v2-contracts.d.ts +0 -51
- package/tools/v2/contracts/edit-credit-v2-contracts.d.ts.map +0 -1
- package/tools/v2/contracts/edit-credit-v2-contracts.js +0 -233
- package/tools/v2/contracts/edit-credit-v2-contracts.js.map +0 -1
- package/tools/v2/contracts/edit-credit-v2-contracts.mjs +0 -226
- package/tools/v2/contracts/edit-credit-v2-contracts.mjs.map +0 -1
- package/tools/v2/contracts/edit-v2-contracts.d.mts +0 -51
- package/tools/v2/contracts/edit-v2-contracts.d.mts.map +0 -1
- package/tools/v2/contracts/edit-v2-contracts.d.ts +0 -51
- package/tools/v2/contracts/edit-v2-contracts.d.ts.map +0 -1
- package/tools/v2/contracts/edit-v2-contracts.js +0 -2214
- package/tools/v2/contracts/edit-v2-contracts.js.map +0 -1
- package/tools/v2/contracts/edit-v2-contracts.mjs +0 -2207
- package/tools/v2/contracts/edit-v2-contracts.mjs.map +0 -1
- package/tools/v2/contracts/get-edit-history-v2-contracts.d.mts +0 -51
- package/tools/v2/contracts/get-edit-history-v2-contracts.d.mts.map +0 -1
- package/tools/v2/contracts/get-edit-history-v2-contracts.d.ts +0 -51
- package/tools/v2/contracts/get-edit-history-v2-contracts.d.ts.map +0 -1
- package/tools/v2/contracts/get-edit-history-v2-contracts.js +0 -49
- package/tools/v2/contracts/get-edit-history-v2-contracts.js.map +0 -1
- package/tools/v2/contracts/get-edit-history-v2-contracts.mjs +0 -42
- package/tools/v2/contracts/get-edit-history-v2-contracts.mjs.map +0 -1
- package/tools/v2/contracts/list-v2-contracts.d.mts +0 -51
- package/tools/v2/contracts/list-v2-contracts.d.mts.map +0 -1
- package/tools/v2/contracts/list-v2-contracts.d.ts +0 -51
- package/tools/v2/contracts/list-v2-contracts.d.ts.map +0 -1
- package/tools/v2/contracts/list-v2-contracts.js +0 -68
- package/tools/v2/contracts/list-v2-contracts.js.map +0 -1
- package/tools/v2/contracts/list-v2-contracts.mjs +0 -61
- package/tools/v2/contracts/list-v2-contracts.mjs.map +0 -1
- package/tools/v2/contracts/retrieve-v2-contracts.d.mts +0 -51
- package/tools/v2/contracts/retrieve-v2-contracts.d.mts.map +0 -1
- package/tools/v2/contracts/retrieve-v2-contracts.d.ts +0 -51
- package/tools/v2/contracts/retrieve-v2-contracts.d.ts.map +0 -1
- package/tools/v2/contracts/retrieve-v2-contracts.js +0 -62
- package/tools/v2/contracts/retrieve-v2-contracts.js.map +0 -1
- package/tools/v2/contracts/retrieve-v2-contracts.mjs +0 -55
- package/tools/v2/contracts/retrieve-v2-contracts.mjs.map +0 -1
- package/tools.d.mts +0 -2
- package/tools.d.mts.map +0 -1
- package/tools.d.ts +0 -2
- package/tools.d.ts.map +0 -1
- package/tools.js +0 -18
- package/tools.js.map +0 -1
- package/tools.mjs +0 -2
- package/tools.mjs.map +0 -1
- /package/{tools/types.js → types.js} +0 -0
- /package/{tools/types.mjs → types.mjs} +0 -0
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
import { isJqError, maybeFilter } from '@metronome/mcp/filtering';
|
|
3
|
-
import { asErrorResult, asTextContentResult } from '@metronome/mcp/tools/types';
|
|
4
|
-
import Metronome from '@metronome/sdk';
|
|
5
|
-
export const metadata = {
|
|
6
|
-
resource: 'v1.billable_metrics',
|
|
7
|
-
operation: 'write',
|
|
8
|
-
tags: [],
|
|
9
|
-
httpMethod: 'post',
|
|
10
|
-
httpPath: '/v1/billable-metrics/create',
|
|
11
|
-
operationId: 'createBillableMetricV1-v1',
|
|
12
|
-
};
|
|
13
|
-
export const tool = {
|
|
14
|
-
name: 'create_v1_billable_metrics',
|
|
15
|
-
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\nCreate billable metrics programmatically with this endpoint—an essential step in configuring your pricing and packaging in Metronome.\n\nA billable metric is a customizable query that filters and aggregates events from your event stream. These metrics are continuously tracked as usage data enters Metronome through the ingestion pipeline. The ingestion process transforms raw usage data into actionable pricing metrics, enabling accurate metering and billing for your products.\n\n### Use this endpoint to: \n- Create individual or multiple billable metrics as part of a setup workflow.\n- Automate the entire pricing configuration process, from metric creation to customer contract setup.\n- Define metrics using either standard filtering/aggregation or a custom SQL query.\n\n### Key response fields: \n- The ID of the billable metric that was created\n- The created billable metric will be available to be used in Products, usage endpoints, and alerts. \n\n### Usage guidelines: \n- Metrics defined using standard filtering and aggregation are Streaming billable metrics, which have been optimized for ultra low latency and high throughput workflows. \n- Use SQL billable metrics if you require more flexible aggregation options.\n\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/billable_metric_create_response',\n $defs: {\n billable_metric_create_response: {\n type: 'object',\n properties: {\n data: {\n $ref: '#/$defs/id'\n }\n },\n required: [ 'data'\n ]\n },\n id: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n }\n },\n required: [ 'id'\n ]\n }\n }\n}\n```",
|
|
16
|
-
inputSchema: {
|
|
17
|
-
type: 'object',
|
|
18
|
-
properties: {
|
|
19
|
-
name: {
|
|
20
|
-
type: 'string',
|
|
21
|
-
description: 'The display name of the billable metric.',
|
|
22
|
-
},
|
|
23
|
-
aggregation_key: {
|
|
24
|
-
type: 'string',
|
|
25
|
-
description: 'Specifies the type of aggregation performed on matching events. Required if `sql` is not provided.',
|
|
26
|
-
},
|
|
27
|
-
aggregation_type: {
|
|
28
|
-
type: 'string',
|
|
29
|
-
description: 'Specifies the type of aggregation performed on matching events.',
|
|
30
|
-
enum: ['COUNT', 'LATEST', 'MAX', 'SUM', 'UNIQUE'],
|
|
31
|
-
},
|
|
32
|
-
custom_fields: {
|
|
33
|
-
type: 'object',
|
|
34
|
-
description: 'Custom fields to attach to the billable metric.',
|
|
35
|
-
additionalProperties: true,
|
|
36
|
-
},
|
|
37
|
-
event_type_filter: {
|
|
38
|
-
$ref: '#/$defs/event_type_filter',
|
|
39
|
-
},
|
|
40
|
-
group_keys: {
|
|
41
|
-
type: 'array',
|
|
42
|
-
description: 'Property names that are used to group usage costs on an invoice. Each entry represents a set of properties used to slice events into distinct buckets.',
|
|
43
|
-
items: {
|
|
44
|
-
type: 'array',
|
|
45
|
-
items: {
|
|
46
|
-
type: 'string',
|
|
47
|
-
},
|
|
48
|
-
},
|
|
49
|
-
},
|
|
50
|
-
property_filters: {
|
|
51
|
-
type: 'array',
|
|
52
|
-
description: 'A list of filters to match events to this billable metric. Each filter defines a rule on an event property. All rules must pass for the event to match the billable metric.',
|
|
53
|
-
items: {
|
|
54
|
-
$ref: '#/$defs/property_filter',
|
|
55
|
-
},
|
|
56
|
-
},
|
|
57
|
-
sql: {
|
|
58
|
-
type: 'string',
|
|
59
|
-
description: 'The SQL query associated with the billable metric. This field is mutually exclusive with aggregation_type, event_type_filter, property_filters, aggregation_key, and group_keys. If provided, these other fields must be omitted.',
|
|
60
|
-
},
|
|
61
|
-
jq_filter: {
|
|
62
|
-
type: 'string',
|
|
63
|
-
title: 'jq Filter',
|
|
64
|
-
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/).',
|
|
65
|
-
},
|
|
66
|
-
},
|
|
67
|
-
required: ['name'],
|
|
68
|
-
$defs: {
|
|
69
|
-
event_type_filter: {
|
|
70
|
-
type: 'object',
|
|
71
|
-
description: "An optional filtering rule to match the 'event_type' property of an event.",
|
|
72
|
-
properties: {
|
|
73
|
-
in_values: {
|
|
74
|
-
type: 'array',
|
|
75
|
-
description: 'A list of event types that are explicitly included in the billable metric. If specified, only events of these types will match the billable metric. Must be non-empty if present.',
|
|
76
|
-
items: {
|
|
77
|
-
type: 'string',
|
|
78
|
-
},
|
|
79
|
-
},
|
|
80
|
-
not_in_values: {
|
|
81
|
-
type: 'array',
|
|
82
|
-
description: 'A list of event types that are explicitly excluded from the billable metric. If specified, events of these types will not match the billable metric. Must be non-empty if present.',
|
|
83
|
-
items: {
|
|
84
|
-
type: 'string',
|
|
85
|
-
},
|
|
86
|
-
},
|
|
87
|
-
},
|
|
88
|
-
},
|
|
89
|
-
property_filter: {
|
|
90
|
-
type: 'object',
|
|
91
|
-
properties: {
|
|
92
|
-
name: {
|
|
93
|
-
type: 'string',
|
|
94
|
-
description: 'The name of the event property.',
|
|
95
|
-
},
|
|
96
|
-
exists: {
|
|
97
|
-
type: 'boolean',
|
|
98
|
-
description: 'Determines whether the property must exist in the event. If true, only events with this property will pass the filter. If false, only events without this property will pass the filter. If null or omitted, the existence of the property is optional.',
|
|
99
|
-
},
|
|
100
|
-
in_values: {
|
|
101
|
-
type: 'array',
|
|
102
|
-
description: 'Specifies the allowed values for the property to match an event. An event will pass the filter only if its property value is included in this list. If undefined, all property values will pass the filter. Must be non-empty if present.',
|
|
103
|
-
items: {
|
|
104
|
-
type: 'string',
|
|
105
|
-
},
|
|
106
|
-
},
|
|
107
|
-
not_in_values: {
|
|
108
|
-
type: 'array',
|
|
109
|
-
description: 'Specifies the values that prevent an event from matching the filter. An event will not pass the filter if its property value is included in this list. If null or empty, all property values will pass the filter. Must be non-empty if present.',
|
|
110
|
-
items: {
|
|
111
|
-
type: 'string',
|
|
112
|
-
},
|
|
113
|
-
},
|
|
114
|
-
},
|
|
115
|
-
required: ['name'],
|
|
116
|
-
},
|
|
117
|
-
},
|
|
118
|
-
},
|
|
119
|
-
annotations: {},
|
|
120
|
-
};
|
|
121
|
-
export const handler = async (client, args) => {
|
|
122
|
-
const { jq_filter, ...body } = args;
|
|
123
|
-
try {
|
|
124
|
-
return asTextContentResult(await maybeFilter(jq_filter, await client.v1.billableMetrics.create(body)));
|
|
125
|
-
}
|
|
126
|
-
catch (error) {
|
|
127
|
-
if (error instanceof Metronome.APIError || isJqError(error)) {
|
|
128
|
-
return asErrorResult(error.message);
|
|
129
|
-
}
|
|
130
|
-
throw error;
|
|
131
|
-
}
|
|
132
|
-
};
|
|
133
|
-
export default { metadata, tool, handler };
|
|
134
|
-
//# sourceMappingURL=create-v1-billable-metrics.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-v1-billable-metrics.mjs","sourceRoot":"","sources":["../../../src/tools/v1/billable-metrics/create-v1-billable-metrics.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,0BAA0B;OAC1D,EAAY,aAAa,EAAE,mBAAmB,EAAE,MAAM,4BAA4B;OAGlF,SAAS,MAAM,gBAAgB;AAEtC,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,qBAAqB;IAC/B,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,6BAA6B;IACvC,WAAW,EAAE,2BAA2B;CACzC,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,4BAA4B;IAClC,WAAW,EACT,y1DAAy1D;IAC31D,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,0CAA0C;aACxD;YACD,eAAe,EAAE;gBACf,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,oGAAoG;aACvG;YACD,gBAAgB,EAAE;gBAChB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,iEAAiE;gBAC9E,IAAI,EAAE,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,CAAC;aAClD;YACD,aAAa,EAAE;gBACb,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,iDAAiD;gBAC9D,oBAAoB,EAAE,IAAI;aAC3B;YACD,iBAAiB,EAAE;gBACjB,IAAI,EAAE,2BAA2B;aAClC;YACD,UAAU,EAAE;gBACV,IAAI,EAAE,OAAO;gBACb,WAAW,EACT,wJAAwJ;gBAC1J,KAAK,EAAE;oBACL,IAAI,EAAE,OAAO;oBACb,KAAK,EAAE;wBACL,IAAI,EAAE,QAAQ;qBACf;iBACF;aACF;YACD,gBAAgB,EAAE;gBAChB,IAAI,EAAE,OAAO;gBACb,WAAW,EACT,6KAA6K;gBAC/K,KAAK,EAAE;oBACL,IAAI,EAAE,yBAAyB;iBAChC;aACF;YACD,GAAG,EAAE;gBACH,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,mOAAmO;aACtO;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,MAAM,CAAC;QAClB,KAAK,EAAE;YACL,iBAAiB,EAAE;gBACjB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,4EAA4E;gBACzF,UAAU,EAAE;oBACV,SAAS,EAAE;wBACT,IAAI,EAAE,OAAO;wBACb,WAAW,EACT,mLAAmL;wBACrL,KAAK,EAAE;4BACL,IAAI,EAAE,QAAQ;yBACf;qBACF;oBACD,aAAa,EAAE;wBACb,IAAI,EAAE,OAAO;wBACb,WAAW,EACT,oLAAoL;wBACtL,KAAK,EAAE;4BACL,IAAI,EAAE,QAAQ;yBACf;qBACF;iBACF;aACF;YACD,eAAe,EAAE;gBACf,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACV,IAAI,EAAE;wBACJ,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,iCAAiC;qBAC/C;oBACD,MAAM,EAAE;wBACN,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,yPAAyP;qBAC5P;oBACD,SAAS,EAAE;wBACT,IAAI,EAAE,OAAO;wBACb,WAAW,EACT,2OAA2O;wBAC7O,KAAK,EAAE;4BACL,IAAI,EAAE,QAAQ;yBACf;qBACF;oBACD,aAAa,EAAE;wBACb,IAAI,EAAE,OAAO;wBACb,WAAW,EACT,kPAAkP;wBACpP,KAAK,EAAE;4BACL,IAAI,EAAE,QAAQ;yBACf;qBACF;iBACF;gBACD,QAAQ,EAAE,CAAC,MAAM,CAAC;aACnB;SACF;KACF;IACD,WAAW,EAAE,EAAE;CAChB,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,MAAiB,EAAE,IAAyC,EAAE,EAAE;IAC5F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IAC3C,IAAI,CAAC;QACH,OAAO,mBAAmB,CAAC,MAAM,WAAW,CAAC,SAAS,EAAE,MAAM,MAAM,CAAC,EAAE,CAAC,eAAe,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACzG,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,KAAK,YAAY,SAAS,CAAC,QAAQ,IAAI,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC;YAC5D,OAAO,aAAa,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,CAAC;QACD,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { Metadata } from '@metronome/mcp/tools/types';
|
|
2
|
-
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
3
|
-
import Metronome from '@metronome/sdk';
|
|
4
|
-
export declare const metadata: Metadata;
|
|
5
|
-
export declare const tool: Tool;
|
|
6
|
-
export declare const handler: (client: Metronome, args: Record<string, unknown> | undefined) => Promise<import("@metronome/mcp/tools/types").ToolCallResult>;
|
|
7
|
-
declare const _default: {
|
|
8
|
-
metadata: Metadata;
|
|
9
|
-
tool: {
|
|
10
|
-
inputSchema: {
|
|
11
|
-
[x: string]: unknown;
|
|
12
|
-
type: "object";
|
|
13
|
-
properties?: {
|
|
14
|
-
[x: string]: object;
|
|
15
|
-
} | undefined;
|
|
16
|
-
required?: string[] | undefined;
|
|
17
|
-
};
|
|
18
|
-
name: string;
|
|
19
|
-
description?: string | undefined;
|
|
20
|
-
outputSchema?: {
|
|
21
|
-
[x: string]: unknown;
|
|
22
|
-
type: "object";
|
|
23
|
-
properties?: {
|
|
24
|
-
[x: string]: object;
|
|
25
|
-
} | undefined;
|
|
26
|
-
required?: string[] | undefined;
|
|
27
|
-
} | undefined;
|
|
28
|
-
annotations?: {
|
|
29
|
-
title?: string | undefined;
|
|
30
|
-
readOnlyHint?: boolean | undefined;
|
|
31
|
-
destructiveHint?: boolean | undefined;
|
|
32
|
-
idempotentHint?: boolean | undefined;
|
|
33
|
-
openWorldHint?: boolean | undefined;
|
|
34
|
-
} | undefined;
|
|
35
|
-
execution?: {
|
|
36
|
-
taskSupport?: "optional" | "required" | "forbidden" | undefined;
|
|
37
|
-
} | undefined;
|
|
38
|
-
_meta?: {
|
|
39
|
-
[x: string]: unknown;
|
|
40
|
-
} | undefined;
|
|
41
|
-
icons?: {
|
|
42
|
-
src: string;
|
|
43
|
-
mimeType?: string | undefined;
|
|
44
|
-
sizes?: string[] | undefined;
|
|
45
|
-
}[] | undefined;
|
|
46
|
-
title?: string | undefined;
|
|
47
|
-
};
|
|
48
|
-
handler: (client: Metronome, args: Record<string, unknown> | undefined) => Promise<import("@metronome/mcp/tools/types").ToolCallResult>;
|
|
49
|
-
};
|
|
50
|
-
export default _default;
|
|
51
|
-
//# sourceMappingURL=list-v1-billable-metrics.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"list-v1-billable-metrics.d.mts","sourceRoot":"","sources":["../../../src/tools/v1/billable-metrics/list-v1-billable-metrics.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAsC,MAAM,4BAA4B;OAElF,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,SAAS,MAAM,gBAAgB;AAEtC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IA+BlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAWzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAXoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAa1F,wBAA2C"}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { Metadata } from '@metronome/mcp/tools/types';
|
|
2
|
-
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
3
|
-
import Metronome from '@metronome/sdk';
|
|
4
|
-
export declare const metadata: Metadata;
|
|
5
|
-
export declare const tool: Tool;
|
|
6
|
-
export declare const handler: (client: Metronome, args: Record<string, unknown> | undefined) => Promise<import("@metronome/mcp/tools/types").ToolCallResult>;
|
|
7
|
-
declare const _default: {
|
|
8
|
-
metadata: Metadata;
|
|
9
|
-
tool: {
|
|
10
|
-
inputSchema: {
|
|
11
|
-
[x: string]: unknown;
|
|
12
|
-
type: "object";
|
|
13
|
-
properties?: {
|
|
14
|
-
[x: string]: object;
|
|
15
|
-
} | undefined;
|
|
16
|
-
required?: string[] | undefined;
|
|
17
|
-
};
|
|
18
|
-
name: string;
|
|
19
|
-
description?: string | undefined;
|
|
20
|
-
outputSchema?: {
|
|
21
|
-
[x: string]: unknown;
|
|
22
|
-
type: "object";
|
|
23
|
-
properties?: {
|
|
24
|
-
[x: string]: object;
|
|
25
|
-
} | undefined;
|
|
26
|
-
required?: string[] | undefined;
|
|
27
|
-
} | undefined;
|
|
28
|
-
annotations?: {
|
|
29
|
-
title?: string | undefined;
|
|
30
|
-
readOnlyHint?: boolean | undefined;
|
|
31
|
-
destructiveHint?: boolean | undefined;
|
|
32
|
-
idempotentHint?: boolean | undefined;
|
|
33
|
-
openWorldHint?: boolean | undefined;
|
|
34
|
-
} | undefined;
|
|
35
|
-
execution?: {
|
|
36
|
-
taskSupport?: "optional" | "required" | "forbidden" | undefined;
|
|
37
|
-
} | undefined;
|
|
38
|
-
_meta?: {
|
|
39
|
-
[x: string]: unknown;
|
|
40
|
-
} | undefined;
|
|
41
|
-
icons?: {
|
|
42
|
-
src: string;
|
|
43
|
-
mimeType?: string | undefined;
|
|
44
|
-
sizes?: string[] | undefined;
|
|
45
|
-
}[] | undefined;
|
|
46
|
-
title?: string | undefined;
|
|
47
|
-
};
|
|
48
|
-
handler: (client: Metronome, args: Record<string, unknown> | undefined) => Promise<import("@metronome/mcp/tools/types").ToolCallResult>;
|
|
49
|
-
};
|
|
50
|
-
export default _default;
|
|
51
|
-
//# sourceMappingURL=list-v1-billable-metrics.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"list-v1-billable-metrics.d.ts","sourceRoot":"","sources":["../../../src/tools/v1/billable-metrics/list-v1-billable-metrics.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAsC,MAAM,4BAA4B;OAElF,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,SAAS,MAAM,gBAAgB;AAEtC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IA+BlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAWzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAXoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAa1F,wBAA2C"}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
5
|
-
};
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.handler = exports.tool = exports.metadata = void 0;
|
|
8
|
-
const filtering_1 = require("@metronome/mcp/filtering");
|
|
9
|
-
const types_1 = require("@metronome/mcp/tools/types");
|
|
10
|
-
const sdk_1 = __importDefault(require("@metronome/sdk"));
|
|
11
|
-
exports.metadata = {
|
|
12
|
-
resource: 'v1.billable_metrics',
|
|
13
|
-
operation: 'read',
|
|
14
|
-
tags: [],
|
|
15
|
-
httpMethod: 'get',
|
|
16
|
-
httpPath: '/v1/billable-metrics',
|
|
17
|
-
operationId: 'listAllBillableMetrics-v1',
|
|
18
|
-
};
|
|
19
|
-
exports.tool = {
|
|
20
|
-
name: 'list_v1_billable_metrics',
|
|
21
|
-
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\nRetrieves all billable metrics with their complete configurations. Use this for programmatic discovery and management of billable metrics, such as associating metrics to products and auditing for orphaned or archived metrics. \nImportant: Archived metrics are excluded by default; use `include_archived`=`true` parameter to include them.\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n type: 'array',\n items: {\n $ref: '#/$defs/billable_metric_list_response'\n }\n },\n next_page: {\n type: 'string'\n }\n },\n required: [ 'data',\n 'next_page'\n ],\n $defs: {\n billable_metric_list_response: {\n type: 'object',\n properties: {\n id: {\n type: 'string',\n description: 'ID of the billable metric'\n },\n name: {\n type: 'string',\n description: 'The display name of the billable metric.'\n },\n aggregation_key: {\n type: 'string',\n description: 'A key that specifies which property of the event is used to aggregate data. This key must be one of the property filter names and is not applicable when the aggregation type is \\'count\\'.'\n },\n aggregation_type: {\n type: 'string',\n description: 'Specifies the type of aggregation performed on matching events.',\n enum: [ 'COUNT',\n 'LATEST',\n 'MAX',\n 'SUM',\n 'UNIQUE'\n ]\n },\n archived_at: {\n type: 'string',\n description: 'RFC 3339 timestamp indicating when the billable metric was archived. If not provided, the billable metric is not archived.',\n format: 'date-time'\n },\n custom_fields: {\n type: 'object',\n description: 'Custom fields to be added eg. { \"key1\": \"value1\", \"key2\": \"value2\" }',\n additionalProperties: true\n },\n event_type_filter: {\n $ref: '#/$defs/event_type_filter'\n },\n group_keys: {\n type: 'array',\n description: 'Property names that are used to group usage costs on an invoice. Each entry represents a set of properties used to slice events into distinct buckets.',\n items: {\n type: 'array',\n items: {\n type: 'string'\n }\n }\n },\n property_filters: {\n type: 'array',\n description: 'A list of filters to match events to this billable metric. Each filter defines a rule on an event property. All rules must pass for the event to match the billable metric.',\n items: {\n $ref: '#/$defs/property_filter'\n }\n },\n sql: {\n type: 'string',\n description: 'The SQL query associated with the billable metric'\n }\n },\n required: [ 'id',\n 'name'\n ]\n },\n event_type_filter: {\n type: 'object',\n description: 'An optional filtering rule to match the \\'event_type\\' property of an event.',\n properties: {\n in_values: {\n type: 'array',\n description: 'A list of event types that are explicitly included in the billable metric. If specified, only events of these types will match the billable metric. Must be non-empty if present.',\n items: {\n type: 'string'\n }\n },\n not_in_values: {\n type: 'array',\n description: 'A list of event types that are explicitly excluded from the billable metric. If specified, events of these types will not match the billable metric. Must be non-empty if present.',\n items: {\n type: 'string'\n }\n }\n }\n },\n property_filter: {\n type: 'object',\n properties: {\n name: {\n type: 'string',\n description: 'The name of the event property.'\n },\n exists: {\n type: 'boolean',\n description: 'Determines whether the property must exist in the event. If true, only events with this property will pass the filter. If false, only events without this property will pass the filter. If null or omitted, the existence of the property is optional.'\n },\n in_values: {\n type: 'array',\n description: 'Specifies the allowed values for the property to match an event. An event will pass the filter only if its property value is included in this list. If undefined, all property values will pass the filter. Must be non-empty if present.',\n items: {\n type: 'string'\n }\n },\n not_in_values: {\n type: 'array',\n description: 'Specifies the values that prevent an event from matching the filter. An event will not pass the filter if its property value is included in this list. If null or empty, all property values will pass the filter. Must be non-empty if present.',\n items: {\n type: 'string'\n }\n }\n },\n required: [ 'name'\n ]\n }\n }\n}\n```",
|
|
22
|
-
inputSchema: {
|
|
23
|
-
type: 'object',
|
|
24
|
-
properties: {
|
|
25
|
-
include_archived: {
|
|
26
|
-
type: 'boolean',
|
|
27
|
-
description: 'If true, the list of returned metrics will include archived metrics',
|
|
28
|
-
},
|
|
29
|
-
limit: {
|
|
30
|
-
type: 'integer',
|
|
31
|
-
description: 'Max number of results that should be returned',
|
|
32
|
-
},
|
|
33
|
-
next_page: {
|
|
34
|
-
type: 'string',
|
|
35
|
-
description: 'Cursor that indicates where the next page of results should start.',
|
|
36
|
-
},
|
|
37
|
-
jq_filter: {
|
|
38
|
-
type: 'string',
|
|
39
|
-
title: 'jq Filter',
|
|
40
|
-
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/).',
|
|
41
|
-
},
|
|
42
|
-
},
|
|
43
|
-
required: [],
|
|
44
|
-
},
|
|
45
|
-
annotations: {
|
|
46
|
-
readOnlyHint: true,
|
|
47
|
-
},
|
|
48
|
-
};
|
|
49
|
-
const handler = async (client, args) => {
|
|
50
|
-
const { jq_filter, ...body } = args;
|
|
51
|
-
const response = await client.v1.billableMetrics.list(body).asResponse();
|
|
52
|
-
try {
|
|
53
|
-
return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(jq_filter, await response.json()));
|
|
54
|
-
}
|
|
55
|
-
catch (error) {
|
|
56
|
-
if (error instanceof sdk_1.default.APIError || (0, filtering_1.isJqError)(error)) {
|
|
57
|
-
return (0, types_1.asErrorResult)(error.message);
|
|
58
|
-
}
|
|
59
|
-
throw error;
|
|
60
|
-
}
|
|
61
|
-
};
|
|
62
|
-
exports.handler = handler;
|
|
63
|
-
exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
|
|
64
|
-
//# sourceMappingURL=list-v1-billable-metrics.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"list-v1-billable-metrics.js","sourceRoot":"","sources":["../../../src/tools/v1/billable-metrics/list-v1-billable-metrics.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;AAEtF,wDAAkE;AAClE,sDAA0F;AAG1F,yDAAuC;AAE1B,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,qBAAqB;IAC/B,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,sBAAsB;IAChC,WAAW,EAAE,2BAA2B;CACzC,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,0BAA0B;IAChC,WAAW,EACT,qvKAAqvK;IACvvK,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,gBAAgB,EAAE;gBAChB,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,qEAAqE;aACnF;YACD,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,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,EAAE;KACb;IACD,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;KACnB;CACF,CAAC;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,MAAiB,EAAE,IAAyC,EAAE,EAAE;IAC5F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IAC3C,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,EAAE,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,CAAC;IACzE,IAAI,CAAC;QACH,OAAO,IAAA,2BAAmB,EAAC,MAAM,IAAA,uBAAW,EAAC,SAAS,EAAE,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;IAClF,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,KAAK,YAAY,aAAS,CAAC,QAAQ,IAAI,IAAA,qBAAS,EAAC,KAAK,CAAC,EAAE,CAAC;YAC5D,OAAO,IAAA,qBAAa,EAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,CAAC;QACD,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC,CAAC;AAXW,QAAA,OAAO,WAWlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
import { isJqError, maybeFilter } from '@metronome/mcp/filtering';
|
|
3
|
-
import { asErrorResult, asTextContentResult } from '@metronome/mcp/tools/types';
|
|
4
|
-
import Metronome from '@metronome/sdk';
|
|
5
|
-
export const metadata = {
|
|
6
|
-
resource: 'v1.billable_metrics',
|
|
7
|
-
operation: 'read',
|
|
8
|
-
tags: [],
|
|
9
|
-
httpMethod: 'get',
|
|
10
|
-
httpPath: '/v1/billable-metrics',
|
|
11
|
-
operationId: 'listAllBillableMetrics-v1',
|
|
12
|
-
};
|
|
13
|
-
export const tool = {
|
|
14
|
-
name: 'list_v1_billable_metrics',
|
|
15
|
-
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\nRetrieves all billable metrics with their complete configurations. Use this for programmatic discovery and management of billable metrics, such as associating metrics to products and auditing for orphaned or archived metrics. \nImportant: Archived metrics are excluded by default; use `include_archived`=`true` parameter to include them.\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n type: 'array',\n items: {\n $ref: '#/$defs/billable_metric_list_response'\n }\n },\n next_page: {\n type: 'string'\n }\n },\n required: [ 'data',\n 'next_page'\n ],\n $defs: {\n billable_metric_list_response: {\n type: 'object',\n properties: {\n id: {\n type: 'string',\n description: 'ID of the billable metric'\n },\n name: {\n type: 'string',\n description: 'The display name of the billable metric.'\n },\n aggregation_key: {\n type: 'string',\n description: 'A key that specifies which property of the event is used to aggregate data. This key must be one of the property filter names and is not applicable when the aggregation type is \\'count\\'.'\n },\n aggregation_type: {\n type: 'string',\n description: 'Specifies the type of aggregation performed on matching events.',\n enum: [ 'COUNT',\n 'LATEST',\n 'MAX',\n 'SUM',\n 'UNIQUE'\n ]\n },\n archived_at: {\n type: 'string',\n description: 'RFC 3339 timestamp indicating when the billable metric was archived. If not provided, the billable metric is not archived.',\n format: 'date-time'\n },\n custom_fields: {\n type: 'object',\n description: 'Custom fields to be added eg. { \"key1\": \"value1\", \"key2\": \"value2\" }',\n additionalProperties: true\n },\n event_type_filter: {\n $ref: '#/$defs/event_type_filter'\n },\n group_keys: {\n type: 'array',\n description: 'Property names that are used to group usage costs on an invoice. Each entry represents a set of properties used to slice events into distinct buckets.',\n items: {\n type: 'array',\n items: {\n type: 'string'\n }\n }\n },\n property_filters: {\n type: 'array',\n description: 'A list of filters to match events to this billable metric. Each filter defines a rule on an event property. All rules must pass for the event to match the billable metric.',\n items: {\n $ref: '#/$defs/property_filter'\n }\n },\n sql: {\n type: 'string',\n description: 'The SQL query associated with the billable metric'\n }\n },\n required: [ 'id',\n 'name'\n ]\n },\n event_type_filter: {\n type: 'object',\n description: 'An optional filtering rule to match the \\'event_type\\' property of an event.',\n properties: {\n in_values: {\n type: 'array',\n description: 'A list of event types that are explicitly included in the billable metric. If specified, only events of these types will match the billable metric. Must be non-empty if present.',\n items: {\n type: 'string'\n }\n },\n not_in_values: {\n type: 'array',\n description: 'A list of event types that are explicitly excluded from the billable metric. If specified, events of these types will not match the billable metric. Must be non-empty if present.',\n items: {\n type: 'string'\n }\n }\n }\n },\n property_filter: {\n type: 'object',\n properties: {\n name: {\n type: 'string',\n description: 'The name of the event property.'\n },\n exists: {\n type: 'boolean',\n description: 'Determines whether the property must exist in the event. If true, only events with this property will pass the filter. If false, only events without this property will pass the filter. If null or omitted, the existence of the property is optional.'\n },\n in_values: {\n type: 'array',\n description: 'Specifies the allowed values for the property to match an event. An event will pass the filter only if its property value is included in this list. If undefined, all property values will pass the filter. Must be non-empty if present.',\n items: {\n type: 'string'\n }\n },\n not_in_values: {\n type: 'array',\n description: 'Specifies the values that prevent an event from matching the filter. An event will not pass the filter if its property value is included in this list. If null or empty, all property values will pass the filter. Must be non-empty if present.',\n items: {\n type: 'string'\n }\n }\n },\n required: [ 'name'\n ]\n }\n }\n}\n```",
|
|
16
|
-
inputSchema: {
|
|
17
|
-
type: 'object',
|
|
18
|
-
properties: {
|
|
19
|
-
include_archived: {
|
|
20
|
-
type: 'boolean',
|
|
21
|
-
description: 'If true, the list of returned metrics will include archived metrics',
|
|
22
|
-
},
|
|
23
|
-
limit: {
|
|
24
|
-
type: 'integer',
|
|
25
|
-
description: 'Max number of results that should be returned',
|
|
26
|
-
},
|
|
27
|
-
next_page: {
|
|
28
|
-
type: 'string',
|
|
29
|
-
description: 'Cursor that indicates where the next page of results should start.',
|
|
30
|
-
},
|
|
31
|
-
jq_filter: {
|
|
32
|
-
type: 'string',
|
|
33
|
-
title: 'jq Filter',
|
|
34
|
-
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/).',
|
|
35
|
-
},
|
|
36
|
-
},
|
|
37
|
-
required: [],
|
|
38
|
-
},
|
|
39
|
-
annotations: {
|
|
40
|
-
readOnlyHint: true,
|
|
41
|
-
},
|
|
42
|
-
};
|
|
43
|
-
export const handler = async (client, args) => {
|
|
44
|
-
const { jq_filter, ...body } = args;
|
|
45
|
-
const response = await client.v1.billableMetrics.list(body).asResponse();
|
|
46
|
-
try {
|
|
47
|
-
return asTextContentResult(await maybeFilter(jq_filter, await response.json()));
|
|
48
|
-
}
|
|
49
|
-
catch (error) {
|
|
50
|
-
if (error instanceof Metronome.APIError || isJqError(error)) {
|
|
51
|
-
return asErrorResult(error.message);
|
|
52
|
-
}
|
|
53
|
-
throw error;
|
|
54
|
-
}
|
|
55
|
-
};
|
|
56
|
-
export default { metadata, tool, handler };
|
|
57
|
-
//# sourceMappingURL=list-v1-billable-metrics.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"list-v1-billable-metrics.mjs","sourceRoot":"","sources":["../../../src/tools/v1/billable-metrics/list-v1-billable-metrics.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,0BAA0B;OAC1D,EAAY,aAAa,EAAE,mBAAmB,EAAE,MAAM,4BAA4B;OAGlF,SAAS,MAAM,gBAAgB;AAEtC,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,qBAAqB;IAC/B,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,sBAAsB;IAChC,WAAW,EAAE,2BAA2B;CACzC,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,0BAA0B;IAChC,WAAW,EACT,qvKAAqvK;IACvvK,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,gBAAgB,EAAE;gBAChB,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,qEAAqE;aACnF;YACD,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,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,EAAE;KACb;IACD,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;KACnB;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,MAAiB,EAAE,IAAyC,EAAE,EAAE;IAC5F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IAC3C,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,EAAE,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,CAAC;IACzE,IAAI,CAAC;QACH,OAAO,mBAAmB,CAAC,MAAM,WAAW,CAAC,SAAS,EAAE,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;IAClF,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,KAAK,YAAY,SAAS,CAAC,QAAQ,IAAI,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC;YAC5D,OAAO,aAAa,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,CAAC;QACD,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { Metadata } from '@metronome/mcp/tools/types';
|
|
2
|
-
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
3
|
-
import Metronome from '@metronome/sdk';
|
|
4
|
-
export declare const metadata: Metadata;
|
|
5
|
-
export declare const tool: Tool;
|
|
6
|
-
export declare const handler: (client: Metronome, args: Record<string, unknown> | undefined) => Promise<import("@metronome/mcp/tools/types").ToolCallResult>;
|
|
7
|
-
declare const _default: {
|
|
8
|
-
metadata: Metadata;
|
|
9
|
-
tool: {
|
|
10
|
-
inputSchema: {
|
|
11
|
-
[x: string]: unknown;
|
|
12
|
-
type: "object";
|
|
13
|
-
properties?: {
|
|
14
|
-
[x: string]: object;
|
|
15
|
-
} | undefined;
|
|
16
|
-
required?: string[] | undefined;
|
|
17
|
-
};
|
|
18
|
-
name: string;
|
|
19
|
-
description?: string | undefined;
|
|
20
|
-
outputSchema?: {
|
|
21
|
-
[x: string]: unknown;
|
|
22
|
-
type: "object";
|
|
23
|
-
properties?: {
|
|
24
|
-
[x: string]: object;
|
|
25
|
-
} | undefined;
|
|
26
|
-
required?: string[] | undefined;
|
|
27
|
-
} | undefined;
|
|
28
|
-
annotations?: {
|
|
29
|
-
title?: string | undefined;
|
|
30
|
-
readOnlyHint?: boolean | undefined;
|
|
31
|
-
destructiveHint?: boolean | undefined;
|
|
32
|
-
idempotentHint?: boolean | undefined;
|
|
33
|
-
openWorldHint?: boolean | undefined;
|
|
34
|
-
} | undefined;
|
|
35
|
-
execution?: {
|
|
36
|
-
taskSupport?: "optional" | "required" | "forbidden" | undefined;
|
|
37
|
-
} | undefined;
|
|
38
|
-
_meta?: {
|
|
39
|
-
[x: string]: unknown;
|
|
40
|
-
} | undefined;
|
|
41
|
-
icons?: {
|
|
42
|
-
src: string;
|
|
43
|
-
mimeType?: string | undefined;
|
|
44
|
-
sizes?: string[] | undefined;
|
|
45
|
-
}[] | undefined;
|
|
46
|
-
title?: string | undefined;
|
|
47
|
-
};
|
|
48
|
-
handler: (client: Metronome, args: Record<string, unknown> | undefined) => Promise<import("@metronome/mcp/tools/types").ToolCallResult>;
|
|
49
|
-
};
|
|
50
|
-
export default _default;
|
|
51
|
-
//# sourceMappingURL=retrieve-v1-billable-metrics.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-v1-billable-metrics.d.mts","sourceRoot":"","sources":["../../../src/tools/v1/billable-metrics/retrieve-v1-billable-metrics.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAsC,MAAM,4BAA4B;OAElF,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,SAAS,MAAM,gBAAgB;AAEtC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAsBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAUzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAVoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAY1F,wBAA2C"}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { Metadata } from '@metronome/mcp/tools/types';
|
|
2
|
-
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
3
|
-
import Metronome from '@metronome/sdk';
|
|
4
|
-
export declare const metadata: Metadata;
|
|
5
|
-
export declare const tool: Tool;
|
|
6
|
-
export declare const handler: (client: Metronome, args: Record<string, unknown> | undefined) => Promise<import("@metronome/mcp/tools/types").ToolCallResult>;
|
|
7
|
-
declare const _default: {
|
|
8
|
-
metadata: Metadata;
|
|
9
|
-
tool: {
|
|
10
|
-
inputSchema: {
|
|
11
|
-
[x: string]: unknown;
|
|
12
|
-
type: "object";
|
|
13
|
-
properties?: {
|
|
14
|
-
[x: string]: object;
|
|
15
|
-
} | undefined;
|
|
16
|
-
required?: string[] | undefined;
|
|
17
|
-
};
|
|
18
|
-
name: string;
|
|
19
|
-
description?: string | undefined;
|
|
20
|
-
outputSchema?: {
|
|
21
|
-
[x: string]: unknown;
|
|
22
|
-
type: "object";
|
|
23
|
-
properties?: {
|
|
24
|
-
[x: string]: object;
|
|
25
|
-
} | undefined;
|
|
26
|
-
required?: string[] | undefined;
|
|
27
|
-
} | undefined;
|
|
28
|
-
annotations?: {
|
|
29
|
-
title?: string | undefined;
|
|
30
|
-
readOnlyHint?: boolean | undefined;
|
|
31
|
-
destructiveHint?: boolean | undefined;
|
|
32
|
-
idempotentHint?: boolean | undefined;
|
|
33
|
-
openWorldHint?: boolean | undefined;
|
|
34
|
-
} | undefined;
|
|
35
|
-
execution?: {
|
|
36
|
-
taskSupport?: "optional" | "required" | "forbidden" | undefined;
|
|
37
|
-
} | undefined;
|
|
38
|
-
_meta?: {
|
|
39
|
-
[x: string]: unknown;
|
|
40
|
-
} | undefined;
|
|
41
|
-
icons?: {
|
|
42
|
-
src: string;
|
|
43
|
-
mimeType?: string | undefined;
|
|
44
|
-
sizes?: string[] | undefined;
|
|
45
|
-
}[] | undefined;
|
|
46
|
-
title?: string | undefined;
|
|
47
|
-
};
|
|
48
|
-
handler: (client: Metronome, args: Record<string, unknown> | undefined) => Promise<import("@metronome/mcp/tools/types").ToolCallResult>;
|
|
49
|
-
};
|
|
50
|
-
export default _default;
|
|
51
|
-
//# sourceMappingURL=retrieve-v1-billable-metrics.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-v1-billable-metrics.d.ts","sourceRoot":"","sources":["../../../src/tools/v1/billable-metrics/retrieve-v1-billable-metrics.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAsC,MAAM,4BAA4B;OAElF,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,SAAS,MAAM,gBAAgB;AAEtC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAsBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAUzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAVoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAY1F,wBAA2C"}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
5
|
-
};
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.handler = exports.tool = exports.metadata = void 0;
|
|
8
|
-
const filtering_1 = require("@metronome/mcp/filtering");
|
|
9
|
-
const types_1 = require("@metronome/mcp/tools/types");
|
|
10
|
-
const sdk_1 = __importDefault(require("@metronome/sdk"));
|
|
11
|
-
exports.metadata = {
|
|
12
|
-
resource: 'v1.billable_metrics',
|
|
13
|
-
operation: 'read',
|
|
14
|
-
tags: [],
|
|
15
|
-
httpMethod: 'get',
|
|
16
|
-
httpPath: '/v1/billable-metrics/{billable_metric_id}',
|
|
17
|
-
operationId: 'getBillableMetric-v1',
|
|
18
|
-
};
|
|
19
|
-
exports.tool = {
|
|
20
|
-
name: 'retrieve_v1_billable_metrics',
|
|
21
|
-
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\nRetrieves the complete configuration for a specific billable metric by its ID. Use this to review billable metric setup before associating it with products. Returns the metric's `name`, `event_type_filter`, `property_filters`, `aggregation_type`, `aggregation_key`, `group_keys`, `custom fields`, and `SQL query` (if it's a SQL billable metric). \n\nImportant: \n- Archived billable metrics will include an `archived_at` timestamp; they no longer process new usage events but remain accessible for historical reference.\n\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/billable_metric_retrieve_response',\n $defs: {\n billable_metric_retrieve_response: {\n type: 'object',\n properties: {\n data: {\n type: 'object',\n properties: {\n id: {\n type: 'string',\n description: 'ID of the billable metric'\n },\n name: {\n type: 'string',\n description: 'The display name of the billable metric.'\n },\n aggregation_key: {\n type: 'string',\n description: 'A key that specifies which property of the event is used to aggregate data. This key must be one of the property filter names and is not applicable when the aggregation type is \\'count\\'.'\n },\n aggregation_type: {\n type: 'string',\n description: 'Specifies the type of aggregation performed on matching events.',\n enum: [ 'COUNT',\n 'LATEST',\n 'MAX',\n 'SUM',\n 'UNIQUE'\n ]\n },\n archived_at: {\n type: 'string',\n description: 'RFC 3339 timestamp indicating when the billable metric was archived. If not provided, the billable metric is not archived.',\n format: 'date-time'\n },\n custom_fields: {\n type: 'object',\n description: 'Custom fields to be added eg. { \"key1\": \"value1\", \"key2\": \"value2\" }',\n additionalProperties: true\n },\n event_type_filter: {\n $ref: '#/$defs/event_type_filter'\n },\n group_keys: {\n type: 'array',\n description: 'Property names that are used to group usage costs on an invoice. Each entry represents a set of properties used to slice events into distinct buckets.',\n items: {\n type: 'array',\n items: {\n type: 'string'\n }\n }\n },\n property_filters: {\n type: 'array',\n description: 'A list of filters to match events to this billable metric. Each filter defines a rule on an event property. All rules must pass for the event to match the billable metric.',\n items: {\n $ref: '#/$defs/property_filter'\n }\n },\n sql: {\n type: 'string',\n description: 'The SQL query associated with the billable metric'\n }\n },\n required: [ 'id',\n 'name'\n ]\n }\n },\n required: [ 'data'\n ]\n },\n event_type_filter: {\n type: 'object',\n description: 'An optional filtering rule to match the \\'event_type\\' property of an event.',\n properties: {\n in_values: {\n type: 'array',\n description: 'A list of event types that are explicitly included in the billable metric. If specified, only events of these types will match the billable metric. Must be non-empty if present.',\n items: {\n type: 'string'\n }\n },\n not_in_values: {\n type: 'array',\n description: 'A list of event types that are explicitly excluded from the billable metric. If specified, events of these types will not match the billable metric. Must be non-empty if present.',\n items: {\n type: 'string'\n }\n }\n }\n },\n property_filter: {\n type: 'object',\n properties: {\n name: {\n type: 'string',\n description: 'The name of the event property.'\n },\n exists: {\n type: 'boolean',\n description: 'Determines whether the property must exist in the event. If true, only events with this property will pass the filter. If false, only events without this property will pass the filter. If null or omitted, the existence of the property is optional.'\n },\n in_values: {\n type: 'array',\n description: 'Specifies the allowed values for the property to match an event. An event will pass the filter only if its property value is included in this list. If undefined, all property values will pass the filter. Must be non-empty if present.',\n items: {\n type: 'string'\n }\n },\n not_in_values: {\n type: 'array',\n description: 'Specifies the values that prevent an event from matching the filter. An event will not pass the filter if its property value is included in this list. If null or empty, all property values will pass the filter. Must be non-empty if present.',\n items: {\n type: 'string'\n }\n }\n },\n required: [ 'name'\n ]\n }\n }\n}\n```",
|
|
22
|
-
inputSchema: {
|
|
23
|
-
type: 'object',
|
|
24
|
-
properties: {
|
|
25
|
-
billable_metric_id: {
|
|
26
|
-
type: 'string',
|
|
27
|
-
},
|
|
28
|
-
jq_filter: {
|
|
29
|
-
type: 'string',
|
|
30
|
-
title: 'jq Filter',
|
|
31
|
-
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/).',
|
|
32
|
-
},
|
|
33
|
-
},
|
|
34
|
-
required: ['billable_metric_id'],
|
|
35
|
-
},
|
|
36
|
-
annotations: {
|
|
37
|
-
readOnlyHint: true,
|
|
38
|
-
},
|
|
39
|
-
};
|
|
40
|
-
const handler = async (client, args) => {
|
|
41
|
-
const { jq_filter, ...body } = args;
|
|
42
|
-
try {
|
|
43
|
-
return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(jq_filter, await client.v1.billableMetrics.retrieve(body)));
|
|
44
|
-
}
|
|
45
|
-
catch (error) {
|
|
46
|
-
if (error instanceof sdk_1.default.APIError || (0, filtering_1.isJqError)(error)) {
|
|
47
|
-
return (0, types_1.asErrorResult)(error.message);
|
|
48
|
-
}
|
|
49
|
-
throw error;
|
|
50
|
-
}
|
|
51
|
-
};
|
|
52
|
-
exports.handler = handler;
|
|
53
|
-
exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
|
|
54
|
-
//# sourceMappingURL=retrieve-v1-billable-metrics.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-v1-billable-metrics.js","sourceRoot":"","sources":["../../../src/tools/v1/billable-metrics/retrieve-v1-billable-metrics.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;AAEtF,wDAAkE;AAClE,sDAA0F;AAG1F,yDAAuC;AAE1B,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,qBAAqB;IAC/B,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,2CAA2C;IACrD,WAAW,EAAE,sBAAsB;CACpC,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,8BAA8B;IACpC,WAAW,EACT,4lLAA4lL;IAC9lL,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,kBAAkB,EAAE;gBAClB,IAAI,EAAE,QAAQ;aACf;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,oBAAoB,CAAC;KACjC;IACD,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;KACnB;CACF,CAAC;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,MAAiB,EAAE,IAAyC,EAAE,EAAE;IAC5F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IAC3C,IAAI,CAAC;QACH,OAAO,IAAA,2BAAmB,EAAC,MAAM,IAAA,uBAAW,EAAC,SAAS,EAAE,MAAM,MAAM,CAAC,EAAE,CAAC,eAAe,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAC3G,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,KAAK,YAAY,aAAS,CAAC,QAAQ,IAAI,IAAA,qBAAS,EAAC,KAAK,CAAC,EAAE,CAAC;YAC5D,OAAO,IAAA,qBAAa,EAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,CAAC;QACD,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC,CAAC;AAVW,QAAA,OAAO,WAUlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
|