@metronome/mcp 2.1.0 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1009) hide show
  1. package/README.md +37 -1
  2. package/code-tool-types.d.mts +2 -0
  3. package/code-tool-types.d.mts.map +1 -1
  4. package/code-tool-types.d.ts +2 -0
  5. package/code-tool-types.d.ts.map +1 -1
  6. package/code-tool.d.mts +45 -3
  7. package/code-tool.d.mts.map +1 -1
  8. package/code-tool.d.ts +45 -3
  9. package/code-tool.d.ts.map +1 -1
  10. package/code-tool.js +28 -133
  11. package/code-tool.js.map +1 -1
  12. package/code-tool.mjs +28 -100
  13. package/code-tool.mjs.map +1 -1
  14. package/docs-search-tool.d.mts +12 -6
  15. package/docs-search-tool.d.mts.map +1 -1
  16. package/docs-search-tool.d.ts +12 -6
  17. package/docs-search-tool.d.ts.map +1 -1
  18. package/docs-search-tool.js +10 -2
  19. package/docs-search-tool.js.map +1 -1
  20. package/docs-search-tool.mjs +10 -2
  21. package/docs-search-tool.mjs.map +1 -1
  22. package/dynamic-tools.d.mts +1 -1
  23. package/dynamic-tools.d.ts +1 -1
  24. package/dynamic-tools.js +1 -1
  25. package/dynamic-tools.mjs +1 -1
  26. package/filtering.d.mts +1 -0
  27. package/filtering.d.mts.map +1 -1
  28. package/filtering.d.ts +1 -0
  29. package/filtering.d.ts.map +1 -1
  30. package/filtering.js +4 -0
  31. package/filtering.js.map +1 -1
  32. package/filtering.mjs +3 -0
  33. package/filtering.mjs.map +1 -1
  34. package/headers.d.mts.map +1 -1
  35. package/headers.d.ts.map +1 -1
  36. package/headers.js +1 -1
  37. package/headers.js.map +1 -1
  38. package/headers.mjs +1 -1
  39. package/headers.mjs.map +1 -1
  40. package/http.js +2 -2
  41. package/http.js.map +1 -1
  42. package/http.mjs +2 -2
  43. package/http.mjs.map +1 -1
  44. package/options.d.mts.map +1 -1
  45. package/options.d.ts.map +1 -1
  46. package/options.js +6 -3
  47. package/options.js.map +1 -1
  48. package/options.mjs +6 -3
  49. package/options.mjs.map +1 -1
  50. package/package.json +6 -20
  51. package/server.js +1 -1
  52. package/server.mjs +1 -1
  53. package/src/code-tool-types.ts +5 -1
  54. package/src/code-tool.ts +38 -122
  55. package/src/docs-search-tool.ts +14 -3
  56. package/src/dynamic-tools.ts +1 -1
  57. package/src/filtering.ts +4 -0
  58. package/src/headers.ts +3 -1
  59. package/src/http.ts +2 -2
  60. package/src/options.ts +10 -3
  61. package/src/server.ts +1 -1
  62. package/src/tools/types.ts +12 -0
  63. package/src/tools/v1/alerts/archive-v1-alerts.ts +10 -3
  64. package/src/tools/v1/alerts/create-v1-alerts.ts +27 -3
  65. package/src/tools/v1/audit-logs/list-v1-audit-logs.ts +10 -3
  66. package/src/tools/v1/billable-metrics/archive-v1-billable-metrics.ts +10 -3
  67. package/src/tools/v1/billable-metrics/create-v1-billable-metrics.ts +10 -3
  68. package/src/tools/v1/billable-metrics/list-v1-billable-metrics.ts +10 -3
  69. package/src/tools/v1/billable-metrics/retrieve-v1-billable-metrics.ts +10 -3
  70. package/src/tools/v1/contracts/add-manual-balance-entry-v1-contracts.ts +6 -0
  71. package/src/tools/v1/contracts/amend-v1-contracts.ts +9 -2
  72. package/src/tools/v1/contracts/archive-v1-contracts.ts +10 -3
  73. package/src/tools/v1/contracts/create-historical-invoices-v1-contracts.ts +9 -2
  74. package/src/tools/v1/contracts/create-v1-contracts.ts +58 -5
  75. package/src/tools/v1/contracts/list-balances-v1-contracts.ts +9 -2
  76. package/src/tools/v1/contracts/list-v1-contracts.ts +9 -2
  77. package/src/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.ts +12 -5
  78. package/src/tools/v1/contracts/products/archive-contracts-v1-products.ts +12 -3
  79. package/src/tools/v1/contracts/products/create-contracts-v1-products.ts +10 -3
  80. package/src/tools/v1/contracts/products/list-contracts-v1-products.ts +10 -3
  81. package/src/tools/v1/contracts/products/retrieve-contracts-v1-products.ts +12 -3
  82. package/src/tools/v1/contracts/products/update-contracts-v1-products.ts +10 -3
  83. package/src/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.ts +12 -3
  84. package/src/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.ts +12 -3
  85. package/src/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.ts +10 -3
  86. package/src/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.ts +12 -5
  87. package/src/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.ts +12 -5
  88. package/src/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.ts +12 -5
  89. package/src/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.ts +12 -5
  90. package/src/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.ts +12 -5
  91. package/src/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.ts +10 -3
  92. package/src/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.ts +12 -5
  93. package/src/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.ts +12 -5
  94. package/src/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.ts +12 -3
  95. package/src/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.ts +12 -5
  96. package/src/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.ts +12 -5
  97. package/src/tools/v1/contracts/retrieve-v1-contracts.ts +9 -2
  98. package/src/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.ts +9 -2
  99. package/src/tools/v1/contracts/update-end-date-v1-contracts.ts +10 -3
  100. package/src/tools/v1/credit-grants/create-v1-credit-grants.ts +10 -3
  101. package/src/tools/v1/credit-grants/edit-v1-credit-grants.ts +10 -3
  102. package/src/tools/v1/credit-grants/list-entries-v1-credit-grants.ts +10 -3
  103. package/src/tools/v1/credit-grants/list-v1-credit-grants.ts +10 -3
  104. package/src/tools/v1/credit-grants/void-v1-credit-grants.ts +10 -3
  105. package/src/tools/v1/custom-fields/list-keys-v1-custom-fields.ts +10 -3
  106. package/src/tools/v1/customers/alerts/list-customers-v1-alerts.ts +11 -4
  107. package/src/tools/v1/customers/alerts/retrieve-customers-v1-alerts.ts +25 -2
  108. package/src/tools/v1/customers/archive-v1-customers.ts +10 -3
  109. package/src/tools/v1/customers/billing-config/create-customers-v1-billing-config.ts +6 -0
  110. package/src/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.ts +13 -6
  111. package/src/tools/v1/customers/commits/create-customers-v1-commits.ts +9 -2
  112. package/src/tools/v1/customers/commits/list-customers-v1-commits.ts +9 -2
  113. package/src/tools/v1/customers/commits/update-end-date-customers-v1-commits.ts +12 -5
  114. package/src/tools/v1/customers/create-v1-customers.ts +47 -3
  115. package/src/tools/v1/customers/credits/create-customers-v1-credits.ts +10 -3
  116. package/src/tools/v1/customers/credits/list-customers-v1-credits.ts +9 -2
  117. package/src/tools/v1/customers/credits/update-end-date-customers-v1-credits.ts +12 -5
  118. package/src/tools/v1/customers/invoices/add-charge-customers-v1-invoices.ts +12 -5
  119. package/src/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.ts +9 -2
  120. package/src/tools/v1/customers/invoices/list-customers-v1-invoices.ts +9 -2
  121. package/src/tools/v1/customers/invoices/retrieve-customers-v1-invoices.ts +9 -2
  122. package/src/tools/v1/customers/invoices/retrieve-pdf-customers-v1-invoices.ts +1 -1
  123. package/src/tools/v1/customers/list-billable-metrics-v1-customers.ts +10 -3
  124. package/src/tools/v1/customers/list-costs-v1-customers.ts +10 -3
  125. package/src/tools/v1/customers/list-v1-customers.ts +10 -3
  126. package/src/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.ts +12 -5
  127. package/src/tools/v1/customers/plans/add-customers-v1-plans.ts +10 -3
  128. package/src/tools/v1/customers/plans/end-customers-v1-plans.ts +10 -3
  129. package/src/tools/v1/customers/plans/list-customers-v1-plans.ts +10 -3
  130. package/src/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.ts +11 -4
  131. package/src/tools/v1/customers/preview-events-v1-customers.ts +9 -2
  132. package/src/tools/v1/customers/retrieve-billing-configurations-v1-customers.ts +12 -5
  133. package/src/tools/v1/customers/retrieve-v1-customers.ts +10 -3
  134. package/src/tools/v1/customers/set-billing-configurations-v1-customers.ts +20 -5
  135. package/src/tools/v1/customers/set-name-v1-customers.ts +10 -3
  136. package/src/tools/v1/dashboards/get-embeddable-url-v1-dashboards.ts +12 -3
  137. package/src/tools/v1/invoices/regenerate-v1-invoices.ts +10 -3
  138. package/src/tools/v1/invoices/void-v1-invoices.ts +10 -3
  139. package/src/tools/v1/payments/attempt-v1-payments.ts +10 -3
  140. package/src/tools/v1/payments/cancel-v1-payments.ts +10 -3
  141. package/src/tools/v1/payments/list-v1-payments.ts +10 -3
  142. package/src/tools/v1/plans/get-details-v1-plans.ts +10 -3
  143. package/src/tools/v1/plans/list-charges-v1-plans.ts +10 -3
  144. package/src/tools/v1/plans/list-customers-v1-plans.ts +10 -3
  145. package/src/tools/v1/plans/list-v1-plans.ts +10 -3
  146. package/src/tools/v1/pricing-units/list-v1-pricing-units.ts +10 -3
  147. package/src/tools/v1/services/list-v1-services.ts +10 -3
  148. package/src/tools/v1/settings/billing-providers/create-settings-v1-billing-providers.ts +13 -6
  149. package/src/tools/v1/settings/billing-providers/list-settings-v1-billing-providers.ts +12 -5
  150. package/src/tools/v1/settings/upsert-avalara-credentials-v1-settings.ts +17 -5
  151. package/src/tools/v1/usage/list-v1-usage.ts +10 -3
  152. package/src/tools/v1/usage/list-with-groups-v1-usage.ts +10 -3
  153. package/src/tools/v1/usage/search-v1-usage.ts +11 -4
  154. package/src/tools/v2/contracts/edit-commit-v2-contracts.ts +18 -3
  155. package/src/tools/v2/contracts/edit-credit-v2-contracts.ts +18 -3
  156. package/src/tools/v2/contracts/edit-v2-contracts.ts +158 -5
  157. package/src/tools/v2/contracts/get-edit-history-v2-contracts.ts +9 -2
  158. package/src/tools/v2/contracts/list-v2-contracts.ts +9 -2
  159. package/src/tools/v2/contracts/retrieve-v2-contracts.ts +9 -2
  160. package/tools/types.d.mts +1 -0
  161. package/tools/types.d.mts.map +1 -1
  162. package/tools/types.d.ts +1 -0
  163. package/tools/types.d.ts.map +1 -1
  164. package/tools/types.js +12 -0
  165. package/tools/types.js.map +1 -1
  166. package/tools/types.mjs +11 -0
  167. package/tools/types.mjs.map +1 -1
  168. package/tools/v1/alerts/archive-v1-alerts.d.mts +12 -6
  169. package/tools/v1/alerts/archive-v1-alerts.d.mts.map +1 -1
  170. package/tools/v1/alerts/archive-v1-alerts.d.ts +12 -6
  171. package/tools/v1/alerts/archive-v1-alerts.d.ts.map +1 -1
  172. package/tools/v1/alerts/archive-v1-alerts.js +13 -1
  173. package/tools/v1/alerts/archive-v1-alerts.js.map +1 -1
  174. package/tools/v1/alerts/archive-v1-alerts.mjs +12 -3
  175. package/tools/v1/alerts/archive-v1-alerts.mjs.map +1 -1
  176. package/tools/v1/alerts/create-v1-alerts.d.mts +12 -6
  177. package/tools/v1/alerts/create-v1-alerts.d.mts.map +1 -1
  178. package/tools/v1/alerts/create-v1-alerts.d.ts +12 -6
  179. package/tools/v1/alerts/create-v1-alerts.d.ts.map +1 -1
  180. package/tools/v1/alerts/create-v1-alerts.js +29 -1
  181. package/tools/v1/alerts/create-v1-alerts.js.map +1 -1
  182. package/tools/v1/alerts/create-v1-alerts.mjs +28 -3
  183. package/tools/v1/alerts/create-v1-alerts.mjs.map +1 -1
  184. package/tools/v1/audit-logs/list-v1-audit-logs.d.mts +12 -6
  185. package/tools/v1/audit-logs/list-v1-audit-logs.d.mts.map +1 -1
  186. package/tools/v1/audit-logs/list-v1-audit-logs.d.ts +12 -6
  187. package/tools/v1/audit-logs/list-v1-audit-logs.d.ts.map +1 -1
  188. package/tools/v1/audit-logs/list-v1-audit-logs.js +13 -1
  189. package/tools/v1/audit-logs/list-v1-audit-logs.js.map +1 -1
  190. package/tools/v1/audit-logs/list-v1-audit-logs.mjs +12 -3
  191. package/tools/v1/audit-logs/list-v1-audit-logs.mjs.map +1 -1
  192. package/tools/v1/billable-metrics/archive-v1-billable-metrics.d.mts +12 -6
  193. package/tools/v1/billable-metrics/archive-v1-billable-metrics.d.mts.map +1 -1
  194. package/tools/v1/billable-metrics/archive-v1-billable-metrics.d.ts +12 -6
  195. package/tools/v1/billable-metrics/archive-v1-billable-metrics.d.ts.map +1 -1
  196. package/tools/v1/billable-metrics/archive-v1-billable-metrics.js +13 -1
  197. package/tools/v1/billable-metrics/archive-v1-billable-metrics.js.map +1 -1
  198. package/tools/v1/billable-metrics/archive-v1-billable-metrics.mjs +12 -3
  199. package/tools/v1/billable-metrics/archive-v1-billable-metrics.mjs.map +1 -1
  200. package/tools/v1/billable-metrics/create-v1-billable-metrics.d.mts +12 -6
  201. package/tools/v1/billable-metrics/create-v1-billable-metrics.d.mts.map +1 -1
  202. package/tools/v1/billable-metrics/create-v1-billable-metrics.d.ts +12 -6
  203. package/tools/v1/billable-metrics/create-v1-billable-metrics.d.ts.map +1 -1
  204. package/tools/v1/billable-metrics/create-v1-billable-metrics.js +13 -1
  205. package/tools/v1/billable-metrics/create-v1-billable-metrics.js.map +1 -1
  206. package/tools/v1/billable-metrics/create-v1-billable-metrics.mjs +12 -3
  207. package/tools/v1/billable-metrics/create-v1-billable-metrics.mjs.map +1 -1
  208. package/tools/v1/billable-metrics/list-v1-billable-metrics.d.mts +12 -6
  209. package/tools/v1/billable-metrics/list-v1-billable-metrics.d.mts.map +1 -1
  210. package/tools/v1/billable-metrics/list-v1-billable-metrics.d.ts +12 -6
  211. package/tools/v1/billable-metrics/list-v1-billable-metrics.d.ts.map +1 -1
  212. package/tools/v1/billable-metrics/list-v1-billable-metrics.js +13 -1
  213. package/tools/v1/billable-metrics/list-v1-billable-metrics.js.map +1 -1
  214. package/tools/v1/billable-metrics/list-v1-billable-metrics.mjs +12 -3
  215. package/tools/v1/billable-metrics/list-v1-billable-metrics.mjs.map +1 -1
  216. package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.d.mts +12 -6
  217. package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.d.mts.map +1 -1
  218. package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.d.ts +12 -6
  219. package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.d.ts.map +1 -1
  220. package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.js +13 -1
  221. package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.js.map +1 -1
  222. package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.mjs +12 -3
  223. package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.mjs.map +1 -1
  224. package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.d.mts +12 -6
  225. package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.d.mts.map +1 -1
  226. package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.d.ts +12 -6
  227. package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.d.ts.map +1 -1
  228. package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.js +5 -0
  229. package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.js.map +1 -1
  230. package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.mjs +5 -0
  231. package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.mjs.map +1 -1
  232. package/tools/v1/contracts/amend-v1-contracts.d.mts +12 -6
  233. package/tools/v1/contracts/amend-v1-contracts.d.mts.map +1 -1
  234. package/tools/v1/contracts/amend-v1-contracts.d.ts +12 -6
  235. package/tools/v1/contracts/amend-v1-contracts.d.ts.map +1 -1
  236. package/tools/v1/contracts/amend-v1-contracts.js +13 -1
  237. package/tools/v1/contracts/amend-v1-contracts.js.map +1 -1
  238. package/tools/v1/contracts/amend-v1-contracts.mjs +11 -2
  239. package/tools/v1/contracts/amend-v1-contracts.mjs.map +1 -1
  240. package/tools/v1/contracts/archive-v1-contracts.d.mts +12 -6
  241. package/tools/v1/contracts/archive-v1-contracts.d.mts.map +1 -1
  242. package/tools/v1/contracts/archive-v1-contracts.d.ts +12 -6
  243. package/tools/v1/contracts/archive-v1-contracts.d.ts.map +1 -1
  244. package/tools/v1/contracts/archive-v1-contracts.js +13 -1
  245. package/tools/v1/contracts/archive-v1-contracts.js.map +1 -1
  246. package/tools/v1/contracts/archive-v1-contracts.mjs +12 -3
  247. package/tools/v1/contracts/archive-v1-contracts.mjs.map +1 -1
  248. package/tools/v1/contracts/create-historical-invoices-v1-contracts.d.mts +12 -6
  249. package/tools/v1/contracts/create-historical-invoices-v1-contracts.d.mts.map +1 -1
  250. package/tools/v1/contracts/create-historical-invoices-v1-contracts.d.ts +12 -6
  251. package/tools/v1/contracts/create-historical-invoices-v1-contracts.d.ts.map +1 -1
  252. package/tools/v1/contracts/create-historical-invoices-v1-contracts.js +13 -1
  253. package/tools/v1/contracts/create-historical-invoices-v1-contracts.js.map +1 -1
  254. package/tools/v1/contracts/create-historical-invoices-v1-contracts.mjs +11 -2
  255. package/tools/v1/contracts/create-historical-invoices-v1-contracts.mjs.map +1 -1
  256. package/tools/v1/contracts/create-v1-contracts.d.mts +12 -6
  257. package/tools/v1/contracts/create-v1-contracts.d.mts.map +1 -1
  258. package/tools/v1/contracts/create-v1-contracts.d.ts +12 -6
  259. package/tools/v1/contracts/create-v1-contracts.d.ts.map +1 -1
  260. package/tools/v1/contracts/create-v1-contracts.js +57 -4
  261. package/tools/v1/contracts/create-v1-contracts.js.map +1 -1
  262. package/tools/v1/contracts/create-v1-contracts.mjs +55 -5
  263. package/tools/v1/contracts/create-v1-contracts.mjs.map +1 -1
  264. package/tools/v1/contracts/list-balances-v1-contracts.d.mts +12 -6
  265. package/tools/v1/contracts/list-balances-v1-contracts.d.mts.map +1 -1
  266. package/tools/v1/contracts/list-balances-v1-contracts.d.ts +12 -6
  267. package/tools/v1/contracts/list-balances-v1-contracts.d.ts.map +1 -1
  268. package/tools/v1/contracts/list-balances-v1-contracts.js +13 -1
  269. package/tools/v1/contracts/list-balances-v1-contracts.js.map +1 -1
  270. package/tools/v1/contracts/list-balances-v1-contracts.mjs +11 -2
  271. package/tools/v1/contracts/list-balances-v1-contracts.mjs.map +1 -1
  272. package/tools/v1/contracts/list-v1-contracts.d.mts +12 -6
  273. package/tools/v1/contracts/list-v1-contracts.d.mts.map +1 -1
  274. package/tools/v1/contracts/list-v1-contracts.d.ts +12 -6
  275. package/tools/v1/contracts/list-v1-contracts.d.ts.map +1 -1
  276. package/tools/v1/contracts/list-v1-contracts.js +13 -1
  277. package/tools/v1/contracts/list-v1-contracts.js.map +1 -1
  278. package/tools/v1/contracts/list-v1-contracts.mjs +11 -2
  279. package/tools/v1/contracts/list-v1-contracts.mjs.map +1 -1
  280. package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.d.mts +12 -6
  281. package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.d.mts.map +1 -1
  282. package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.d.ts +12 -6
  283. package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.d.ts.map +1 -1
  284. package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.js +13 -1
  285. package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.js.map +1 -1
  286. package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.mjs +12 -3
  287. package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.mjs.map +1 -1
  288. package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.d.mts +12 -6
  289. package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.d.mts.map +1 -1
  290. package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.d.ts +12 -6
  291. package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.d.ts.map +1 -1
  292. package/tools/v1/contracts/products/archive-contracts-v1-products.d.mts +12 -6
  293. package/tools/v1/contracts/products/archive-contracts-v1-products.d.mts.map +1 -1
  294. package/tools/v1/contracts/products/archive-contracts-v1-products.d.ts +12 -6
  295. package/tools/v1/contracts/products/archive-contracts-v1-products.d.ts.map +1 -1
  296. package/tools/v1/contracts/products/archive-contracts-v1-products.js +13 -1
  297. package/tools/v1/contracts/products/archive-contracts-v1-products.js.map +1 -1
  298. package/tools/v1/contracts/products/archive-contracts-v1-products.mjs +12 -3
  299. package/tools/v1/contracts/products/archive-contracts-v1-products.mjs.map +1 -1
  300. package/tools/v1/contracts/products/create-contracts-v1-products.d.mts +12 -6
  301. package/tools/v1/contracts/products/create-contracts-v1-products.d.mts.map +1 -1
  302. package/tools/v1/contracts/products/create-contracts-v1-products.d.ts +12 -6
  303. package/tools/v1/contracts/products/create-contracts-v1-products.d.ts.map +1 -1
  304. package/tools/v1/contracts/products/create-contracts-v1-products.js +13 -1
  305. package/tools/v1/contracts/products/create-contracts-v1-products.js.map +1 -1
  306. package/tools/v1/contracts/products/create-contracts-v1-products.mjs +12 -3
  307. package/tools/v1/contracts/products/create-contracts-v1-products.mjs.map +1 -1
  308. package/tools/v1/contracts/products/list-contracts-v1-products.d.mts +12 -6
  309. package/tools/v1/contracts/products/list-contracts-v1-products.d.mts.map +1 -1
  310. package/tools/v1/contracts/products/list-contracts-v1-products.d.ts +12 -6
  311. package/tools/v1/contracts/products/list-contracts-v1-products.d.ts.map +1 -1
  312. package/tools/v1/contracts/products/list-contracts-v1-products.js +13 -1
  313. package/tools/v1/contracts/products/list-contracts-v1-products.js.map +1 -1
  314. package/tools/v1/contracts/products/list-contracts-v1-products.mjs +12 -3
  315. package/tools/v1/contracts/products/list-contracts-v1-products.mjs.map +1 -1
  316. package/tools/v1/contracts/products/retrieve-contracts-v1-products.d.mts +12 -6
  317. package/tools/v1/contracts/products/retrieve-contracts-v1-products.d.mts.map +1 -1
  318. package/tools/v1/contracts/products/retrieve-contracts-v1-products.d.ts +12 -6
  319. package/tools/v1/contracts/products/retrieve-contracts-v1-products.d.ts.map +1 -1
  320. package/tools/v1/contracts/products/retrieve-contracts-v1-products.js +13 -1
  321. package/tools/v1/contracts/products/retrieve-contracts-v1-products.js.map +1 -1
  322. package/tools/v1/contracts/products/retrieve-contracts-v1-products.mjs +12 -3
  323. package/tools/v1/contracts/products/retrieve-contracts-v1-products.mjs.map +1 -1
  324. package/tools/v1/contracts/products/update-contracts-v1-products.d.mts +12 -6
  325. package/tools/v1/contracts/products/update-contracts-v1-products.d.mts.map +1 -1
  326. package/tools/v1/contracts/products/update-contracts-v1-products.d.ts +12 -6
  327. package/tools/v1/contracts/products/update-contracts-v1-products.d.ts.map +1 -1
  328. package/tools/v1/contracts/products/update-contracts-v1-products.js +13 -1
  329. package/tools/v1/contracts/products/update-contracts-v1-products.js.map +1 -1
  330. package/tools/v1/contracts/products/update-contracts-v1-products.mjs +12 -3
  331. package/tools/v1/contracts/products/update-contracts-v1-products.mjs.map +1 -1
  332. package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.d.mts +12 -6
  333. package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.d.mts.map +1 -1
  334. package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.d.ts +12 -6
  335. package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.d.ts.map +1 -1
  336. package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.js +13 -1
  337. package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.js.map +1 -1
  338. package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.mjs +12 -3
  339. package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.mjs.map +1 -1
  340. package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.d.mts +12 -6
  341. package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.d.mts.map +1 -1
  342. package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.d.ts +12 -6
  343. package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.d.ts.map +1 -1
  344. package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.js +13 -1
  345. package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.js.map +1 -1
  346. package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.mjs +12 -3
  347. package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.mjs.map +1 -1
  348. package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.d.mts +12 -6
  349. package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.d.mts.map +1 -1
  350. package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.d.ts +12 -6
  351. package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.d.ts.map +1 -1
  352. package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.js +13 -1
  353. package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.js.map +1 -1
  354. package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.mjs +12 -3
  355. package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.mjs.map +1 -1
  356. package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.d.mts +12 -6
  357. package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.d.mts.map +1 -1
  358. package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.d.ts +12 -6
  359. package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.d.ts.map +1 -1
  360. package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.js +13 -1
  361. package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.js.map +1 -1
  362. package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.mjs +12 -3
  363. package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.mjs.map +1 -1
  364. package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.d.mts +12 -6
  365. package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.d.mts.map +1 -1
  366. package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.d.ts +12 -6
  367. package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.d.ts.map +1 -1
  368. package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.d.mts +12 -6
  369. package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.d.mts.map +1 -1
  370. package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.d.ts +12 -6
  371. package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.d.ts.map +1 -1
  372. package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.js +13 -1
  373. package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.js.map +1 -1
  374. package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.mjs +12 -3
  375. package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.mjs.map +1 -1
  376. package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.d.mts +12 -6
  377. package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.d.mts.map +1 -1
  378. package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.d.ts +12 -6
  379. package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.d.ts.map +1 -1
  380. package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.js +13 -1
  381. package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.js.map +1 -1
  382. package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.mjs +12 -3
  383. package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.mjs.map +1 -1
  384. package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.d.mts +12 -6
  385. package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.d.mts.map +1 -1
  386. package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.d.ts +12 -6
  387. package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.d.ts.map +1 -1
  388. package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.js +13 -1
  389. package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.js.map +1 -1
  390. package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.mjs +12 -3
  391. package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.mjs.map +1 -1
  392. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.d.mts +12 -6
  393. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.d.mts.map +1 -1
  394. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.d.ts +12 -6
  395. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.d.ts.map +1 -1
  396. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.js +13 -1
  397. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.js.map +1 -1
  398. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.mjs +12 -3
  399. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.mjs.map +1 -1
  400. package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.d.mts +12 -6
  401. package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.d.mts.map +1 -1
  402. package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.d.ts +12 -6
  403. package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.d.ts.map +1 -1
  404. package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.js +13 -1
  405. package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.js.map +1 -1
  406. package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.mjs +12 -3
  407. package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.mjs.map +1 -1
  408. package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.d.mts +12 -6
  409. package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.d.mts.map +1 -1
  410. package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.d.ts +12 -6
  411. package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.d.ts.map +1 -1
  412. package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.js +13 -1
  413. package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.js.map +1 -1
  414. package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.mjs +12 -3
  415. package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.mjs.map +1 -1
  416. package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.d.mts +12 -6
  417. package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.d.mts.map +1 -1
  418. package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.d.ts +12 -6
  419. package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.d.ts.map +1 -1
  420. package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.js +13 -1
  421. package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.js.map +1 -1
  422. package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.mjs +12 -3
  423. package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.mjs.map +1 -1
  424. package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.d.mts +12 -6
  425. package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.d.mts.map +1 -1
  426. package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.d.ts +12 -6
  427. package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.d.ts.map +1 -1
  428. package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.js +13 -1
  429. package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.js.map +1 -1
  430. package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.mjs +12 -3
  431. package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.mjs.map +1 -1
  432. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.d.mts +12 -6
  433. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.d.mts.map +1 -1
  434. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.d.ts +12 -6
  435. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.d.ts.map +1 -1
  436. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.js +13 -1
  437. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.js.map +1 -1
  438. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.mjs +12 -3
  439. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.mjs.map +1 -1
  440. package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.d.mts +12 -6
  441. package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.d.mts.map +1 -1
  442. package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.d.ts +12 -6
  443. package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.d.ts.map +1 -1
  444. package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.js +13 -1
  445. package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.js.map +1 -1
  446. package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.mjs +12 -3
  447. package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.mjs.map +1 -1
  448. package/tools/v1/contracts/retrieve-v1-contracts.d.mts +12 -6
  449. package/tools/v1/contracts/retrieve-v1-contracts.d.mts.map +1 -1
  450. package/tools/v1/contracts/retrieve-v1-contracts.d.ts +12 -6
  451. package/tools/v1/contracts/retrieve-v1-contracts.d.ts.map +1 -1
  452. package/tools/v1/contracts/retrieve-v1-contracts.js +13 -1
  453. package/tools/v1/contracts/retrieve-v1-contracts.js.map +1 -1
  454. package/tools/v1/contracts/retrieve-v1-contracts.mjs +11 -2
  455. package/tools/v1/contracts/retrieve-v1-contracts.mjs.map +1 -1
  456. package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.d.mts +12 -6
  457. package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.d.mts.map +1 -1
  458. package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.d.ts +12 -6
  459. package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.d.ts.map +1 -1
  460. package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.js +13 -1
  461. package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.js.map +1 -1
  462. package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.mjs +11 -2
  463. package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.mjs.map +1 -1
  464. package/tools/v1/contracts/set-usage-filter-v1-contracts.d.mts +12 -6
  465. package/tools/v1/contracts/set-usage-filter-v1-contracts.d.mts.map +1 -1
  466. package/tools/v1/contracts/set-usage-filter-v1-contracts.d.ts +12 -6
  467. package/tools/v1/contracts/set-usage-filter-v1-contracts.d.ts.map +1 -1
  468. package/tools/v1/contracts/update-end-date-v1-contracts.d.mts +12 -6
  469. package/tools/v1/contracts/update-end-date-v1-contracts.d.mts.map +1 -1
  470. package/tools/v1/contracts/update-end-date-v1-contracts.d.ts +12 -6
  471. package/tools/v1/contracts/update-end-date-v1-contracts.d.ts.map +1 -1
  472. package/tools/v1/contracts/update-end-date-v1-contracts.js +13 -1
  473. package/tools/v1/contracts/update-end-date-v1-contracts.js.map +1 -1
  474. package/tools/v1/contracts/update-end-date-v1-contracts.mjs +12 -3
  475. package/tools/v1/contracts/update-end-date-v1-contracts.mjs.map +1 -1
  476. package/tools/v1/credit-grants/create-v1-credit-grants.d.mts +12 -6
  477. package/tools/v1/credit-grants/create-v1-credit-grants.d.mts.map +1 -1
  478. package/tools/v1/credit-grants/create-v1-credit-grants.d.ts +12 -6
  479. package/tools/v1/credit-grants/create-v1-credit-grants.d.ts.map +1 -1
  480. package/tools/v1/credit-grants/create-v1-credit-grants.js +13 -1
  481. package/tools/v1/credit-grants/create-v1-credit-grants.js.map +1 -1
  482. package/tools/v1/credit-grants/create-v1-credit-grants.mjs +12 -3
  483. package/tools/v1/credit-grants/create-v1-credit-grants.mjs.map +1 -1
  484. package/tools/v1/credit-grants/edit-v1-credit-grants.d.mts +12 -6
  485. package/tools/v1/credit-grants/edit-v1-credit-grants.d.mts.map +1 -1
  486. package/tools/v1/credit-grants/edit-v1-credit-grants.d.ts +12 -6
  487. package/tools/v1/credit-grants/edit-v1-credit-grants.d.ts.map +1 -1
  488. package/tools/v1/credit-grants/edit-v1-credit-grants.js +13 -1
  489. package/tools/v1/credit-grants/edit-v1-credit-grants.js.map +1 -1
  490. package/tools/v1/credit-grants/edit-v1-credit-grants.mjs +12 -3
  491. package/tools/v1/credit-grants/edit-v1-credit-grants.mjs.map +1 -1
  492. package/tools/v1/credit-grants/list-entries-v1-credit-grants.d.mts +12 -6
  493. package/tools/v1/credit-grants/list-entries-v1-credit-grants.d.mts.map +1 -1
  494. package/tools/v1/credit-grants/list-entries-v1-credit-grants.d.ts +12 -6
  495. package/tools/v1/credit-grants/list-entries-v1-credit-grants.d.ts.map +1 -1
  496. package/tools/v1/credit-grants/list-entries-v1-credit-grants.js +13 -1
  497. package/tools/v1/credit-grants/list-entries-v1-credit-grants.js.map +1 -1
  498. package/tools/v1/credit-grants/list-entries-v1-credit-grants.mjs +12 -3
  499. package/tools/v1/credit-grants/list-entries-v1-credit-grants.mjs.map +1 -1
  500. package/tools/v1/credit-grants/list-v1-credit-grants.d.mts +12 -6
  501. package/tools/v1/credit-grants/list-v1-credit-grants.d.mts.map +1 -1
  502. package/tools/v1/credit-grants/list-v1-credit-grants.d.ts +12 -6
  503. package/tools/v1/credit-grants/list-v1-credit-grants.d.ts.map +1 -1
  504. package/tools/v1/credit-grants/list-v1-credit-grants.js +13 -1
  505. package/tools/v1/credit-grants/list-v1-credit-grants.js.map +1 -1
  506. package/tools/v1/credit-grants/list-v1-credit-grants.mjs +12 -3
  507. package/tools/v1/credit-grants/list-v1-credit-grants.mjs.map +1 -1
  508. package/tools/v1/credit-grants/void-v1-credit-grants.d.mts +12 -6
  509. package/tools/v1/credit-grants/void-v1-credit-grants.d.mts.map +1 -1
  510. package/tools/v1/credit-grants/void-v1-credit-grants.d.ts +12 -6
  511. package/tools/v1/credit-grants/void-v1-credit-grants.d.ts.map +1 -1
  512. package/tools/v1/credit-grants/void-v1-credit-grants.js +13 -1
  513. package/tools/v1/credit-grants/void-v1-credit-grants.js.map +1 -1
  514. package/tools/v1/credit-grants/void-v1-credit-grants.mjs +12 -3
  515. package/tools/v1/credit-grants/void-v1-credit-grants.mjs.map +1 -1
  516. package/tools/v1/custom-fields/add-key-v1-custom-fields.d.mts +12 -6
  517. package/tools/v1/custom-fields/add-key-v1-custom-fields.d.mts.map +1 -1
  518. package/tools/v1/custom-fields/add-key-v1-custom-fields.d.ts +12 -6
  519. package/tools/v1/custom-fields/add-key-v1-custom-fields.d.ts.map +1 -1
  520. package/tools/v1/custom-fields/delete-values-v1-custom-fields.d.mts +12 -6
  521. package/tools/v1/custom-fields/delete-values-v1-custom-fields.d.mts.map +1 -1
  522. package/tools/v1/custom-fields/delete-values-v1-custom-fields.d.ts +12 -6
  523. package/tools/v1/custom-fields/delete-values-v1-custom-fields.d.ts.map +1 -1
  524. package/tools/v1/custom-fields/list-keys-v1-custom-fields.d.mts +12 -6
  525. package/tools/v1/custom-fields/list-keys-v1-custom-fields.d.mts.map +1 -1
  526. package/tools/v1/custom-fields/list-keys-v1-custom-fields.d.ts +12 -6
  527. package/tools/v1/custom-fields/list-keys-v1-custom-fields.d.ts.map +1 -1
  528. package/tools/v1/custom-fields/list-keys-v1-custom-fields.js +13 -1
  529. package/tools/v1/custom-fields/list-keys-v1-custom-fields.js.map +1 -1
  530. package/tools/v1/custom-fields/list-keys-v1-custom-fields.mjs +12 -3
  531. package/tools/v1/custom-fields/list-keys-v1-custom-fields.mjs.map +1 -1
  532. package/tools/v1/custom-fields/remove-key-v1-custom-fields.d.mts +12 -6
  533. package/tools/v1/custom-fields/remove-key-v1-custom-fields.d.mts.map +1 -1
  534. package/tools/v1/custom-fields/remove-key-v1-custom-fields.d.ts +12 -6
  535. package/tools/v1/custom-fields/remove-key-v1-custom-fields.d.ts.map +1 -1
  536. package/tools/v1/custom-fields/set-values-v1-custom-fields.d.mts +12 -6
  537. package/tools/v1/custom-fields/set-values-v1-custom-fields.d.mts.map +1 -1
  538. package/tools/v1/custom-fields/set-values-v1-custom-fields.d.ts +12 -6
  539. package/tools/v1/custom-fields/set-values-v1-custom-fields.d.ts.map +1 -1
  540. package/tools/v1/customers/alerts/list-customers-v1-alerts.d.mts +12 -6
  541. package/tools/v1/customers/alerts/list-customers-v1-alerts.d.mts.map +1 -1
  542. package/tools/v1/customers/alerts/list-customers-v1-alerts.d.ts +12 -6
  543. package/tools/v1/customers/alerts/list-customers-v1-alerts.d.ts.map +1 -1
  544. package/tools/v1/customers/alerts/list-customers-v1-alerts.js +14 -2
  545. package/tools/v1/customers/alerts/list-customers-v1-alerts.js.map +1 -1
  546. package/tools/v1/customers/alerts/list-customers-v1-alerts.mjs +13 -4
  547. package/tools/v1/customers/alerts/list-customers-v1-alerts.mjs.map +1 -1
  548. package/tools/v1/customers/alerts/reset-customers-v1-alerts.d.mts +12 -6
  549. package/tools/v1/customers/alerts/reset-customers-v1-alerts.d.mts.map +1 -1
  550. package/tools/v1/customers/alerts/reset-customers-v1-alerts.d.ts +12 -6
  551. package/tools/v1/customers/alerts/reset-customers-v1-alerts.d.ts.map +1 -1
  552. package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.d.mts +12 -6
  553. package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.d.mts.map +1 -1
  554. package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.d.ts +12 -6
  555. package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.d.ts.map +1 -1
  556. package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.js +28 -1
  557. package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.js.map +1 -1
  558. package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.mjs +26 -2
  559. package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.mjs.map +1 -1
  560. package/tools/v1/customers/archive-v1-customers.d.mts +12 -6
  561. package/tools/v1/customers/archive-v1-customers.d.mts.map +1 -1
  562. package/tools/v1/customers/archive-v1-customers.d.ts +12 -6
  563. package/tools/v1/customers/archive-v1-customers.d.ts.map +1 -1
  564. package/tools/v1/customers/archive-v1-customers.js +13 -1
  565. package/tools/v1/customers/archive-v1-customers.js.map +1 -1
  566. package/tools/v1/customers/archive-v1-customers.mjs +12 -3
  567. package/tools/v1/customers/archive-v1-customers.mjs.map +1 -1
  568. package/tools/v1/customers/billing-config/create-customers-v1-billing-config.d.mts +12 -6
  569. package/tools/v1/customers/billing-config/create-customers-v1-billing-config.d.mts.map +1 -1
  570. package/tools/v1/customers/billing-config/create-customers-v1-billing-config.d.ts +12 -6
  571. package/tools/v1/customers/billing-config/create-customers-v1-billing-config.d.ts.map +1 -1
  572. package/tools/v1/customers/billing-config/create-customers-v1-billing-config.js +6 -0
  573. package/tools/v1/customers/billing-config/create-customers-v1-billing-config.js.map +1 -1
  574. package/tools/v1/customers/billing-config/create-customers-v1-billing-config.mjs +6 -0
  575. package/tools/v1/customers/billing-config/create-customers-v1-billing-config.mjs.map +1 -1
  576. package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.d.mts +12 -6
  577. package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.d.mts.map +1 -1
  578. package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.d.ts +12 -6
  579. package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.d.ts.map +1 -1
  580. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.d.mts +12 -6
  581. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.d.mts.map +1 -1
  582. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.d.ts +12 -6
  583. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.d.ts.map +1 -1
  584. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.js +14 -2
  585. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.js.map +1 -1
  586. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.mjs +13 -4
  587. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.mjs.map +1 -1
  588. package/tools/v1/customers/commits/create-customers-v1-commits.d.mts +12 -6
  589. package/tools/v1/customers/commits/create-customers-v1-commits.d.mts.map +1 -1
  590. package/tools/v1/customers/commits/create-customers-v1-commits.d.ts +12 -6
  591. package/tools/v1/customers/commits/create-customers-v1-commits.d.ts.map +1 -1
  592. package/tools/v1/customers/commits/create-customers-v1-commits.js +13 -1
  593. package/tools/v1/customers/commits/create-customers-v1-commits.js.map +1 -1
  594. package/tools/v1/customers/commits/create-customers-v1-commits.mjs +11 -2
  595. package/tools/v1/customers/commits/create-customers-v1-commits.mjs.map +1 -1
  596. package/tools/v1/customers/commits/list-customers-v1-commits.d.mts +12 -6
  597. package/tools/v1/customers/commits/list-customers-v1-commits.d.mts.map +1 -1
  598. package/tools/v1/customers/commits/list-customers-v1-commits.d.ts +12 -6
  599. package/tools/v1/customers/commits/list-customers-v1-commits.d.ts.map +1 -1
  600. package/tools/v1/customers/commits/list-customers-v1-commits.js +13 -1
  601. package/tools/v1/customers/commits/list-customers-v1-commits.js.map +1 -1
  602. package/tools/v1/customers/commits/list-customers-v1-commits.mjs +11 -2
  603. package/tools/v1/customers/commits/list-customers-v1-commits.mjs.map +1 -1
  604. package/tools/v1/customers/commits/update-end-date-customers-v1-commits.d.mts +12 -6
  605. package/tools/v1/customers/commits/update-end-date-customers-v1-commits.d.mts.map +1 -1
  606. package/tools/v1/customers/commits/update-end-date-customers-v1-commits.d.ts +12 -6
  607. package/tools/v1/customers/commits/update-end-date-customers-v1-commits.d.ts.map +1 -1
  608. package/tools/v1/customers/commits/update-end-date-customers-v1-commits.js +13 -1
  609. package/tools/v1/customers/commits/update-end-date-customers-v1-commits.js.map +1 -1
  610. package/tools/v1/customers/commits/update-end-date-customers-v1-commits.mjs +12 -3
  611. package/tools/v1/customers/commits/update-end-date-customers-v1-commits.mjs.map +1 -1
  612. package/tools/v1/customers/create-v1-customers.d.mts +12 -6
  613. package/tools/v1/customers/create-v1-customers.d.mts.map +1 -1
  614. package/tools/v1/customers/create-v1-customers.d.ts +12 -6
  615. package/tools/v1/customers/create-v1-customers.d.ts.map +1 -1
  616. package/tools/v1/customers/create-v1-customers.js +47 -1
  617. package/tools/v1/customers/create-v1-customers.js.map +1 -1
  618. package/tools/v1/customers/create-v1-customers.mjs +46 -3
  619. package/tools/v1/customers/create-v1-customers.mjs.map +1 -1
  620. package/tools/v1/customers/credits/create-customers-v1-credits.d.mts +12 -6
  621. package/tools/v1/customers/credits/create-customers-v1-credits.d.mts.map +1 -1
  622. package/tools/v1/customers/credits/create-customers-v1-credits.d.ts +12 -6
  623. package/tools/v1/customers/credits/create-customers-v1-credits.d.ts.map +1 -1
  624. package/tools/v1/customers/credits/create-customers-v1-credits.js +13 -1
  625. package/tools/v1/customers/credits/create-customers-v1-credits.js.map +1 -1
  626. package/tools/v1/customers/credits/create-customers-v1-credits.mjs +12 -3
  627. package/tools/v1/customers/credits/create-customers-v1-credits.mjs.map +1 -1
  628. package/tools/v1/customers/credits/list-customers-v1-credits.d.mts +12 -6
  629. package/tools/v1/customers/credits/list-customers-v1-credits.d.mts.map +1 -1
  630. package/tools/v1/customers/credits/list-customers-v1-credits.d.ts +12 -6
  631. package/tools/v1/customers/credits/list-customers-v1-credits.d.ts.map +1 -1
  632. package/tools/v1/customers/credits/list-customers-v1-credits.js +13 -1
  633. package/tools/v1/customers/credits/list-customers-v1-credits.js.map +1 -1
  634. package/tools/v1/customers/credits/list-customers-v1-credits.mjs +11 -2
  635. package/tools/v1/customers/credits/list-customers-v1-credits.mjs.map +1 -1
  636. package/tools/v1/customers/credits/update-end-date-customers-v1-credits.d.mts +12 -6
  637. package/tools/v1/customers/credits/update-end-date-customers-v1-credits.d.mts.map +1 -1
  638. package/tools/v1/customers/credits/update-end-date-customers-v1-credits.d.ts +12 -6
  639. package/tools/v1/customers/credits/update-end-date-customers-v1-credits.d.ts.map +1 -1
  640. package/tools/v1/customers/credits/update-end-date-customers-v1-credits.js +13 -1
  641. package/tools/v1/customers/credits/update-end-date-customers-v1-credits.js.map +1 -1
  642. package/tools/v1/customers/credits/update-end-date-customers-v1-credits.mjs +12 -3
  643. package/tools/v1/customers/credits/update-end-date-customers-v1-credits.mjs.map +1 -1
  644. package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.d.mts +12 -6
  645. package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.d.mts.map +1 -1
  646. package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.d.ts +12 -6
  647. package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.d.ts.map +1 -1
  648. package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.js +13 -1
  649. package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.js.map +1 -1
  650. package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.mjs +12 -3
  651. package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.mjs.map +1 -1
  652. package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.d.mts +12 -6
  653. package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.d.mts.map +1 -1
  654. package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.d.ts +12 -6
  655. package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.d.ts.map +1 -1
  656. package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.js +13 -1
  657. package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.js.map +1 -1
  658. package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.mjs +11 -2
  659. package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.mjs.map +1 -1
  660. package/tools/v1/customers/invoices/list-customers-v1-invoices.d.mts +12 -6
  661. package/tools/v1/customers/invoices/list-customers-v1-invoices.d.mts.map +1 -1
  662. package/tools/v1/customers/invoices/list-customers-v1-invoices.d.ts +12 -6
  663. package/tools/v1/customers/invoices/list-customers-v1-invoices.d.ts.map +1 -1
  664. package/tools/v1/customers/invoices/list-customers-v1-invoices.js +13 -1
  665. package/tools/v1/customers/invoices/list-customers-v1-invoices.js.map +1 -1
  666. package/tools/v1/customers/invoices/list-customers-v1-invoices.mjs +11 -2
  667. package/tools/v1/customers/invoices/list-customers-v1-invoices.mjs.map +1 -1
  668. package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.d.mts +12 -6
  669. package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.d.mts.map +1 -1
  670. package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.d.ts +12 -6
  671. package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.d.ts.map +1 -1
  672. package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.js +13 -1
  673. package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.js.map +1 -1
  674. package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.mjs +11 -2
  675. package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.mjs.map +1 -1
  676. package/tools/v1/customers/invoices/retrieve-pdf-customers-v1-invoices.d.mts +12 -6
  677. package/tools/v1/customers/invoices/retrieve-pdf-customers-v1-invoices.d.mts.map +1 -1
  678. package/tools/v1/customers/invoices/retrieve-pdf-customers-v1-invoices.d.ts +12 -6
  679. package/tools/v1/customers/invoices/retrieve-pdf-customers-v1-invoices.d.ts.map +1 -1
  680. package/tools/v1/customers/invoices/retrieve-pdf-customers-v1-invoices.js +1 -1
  681. package/tools/v1/customers/invoices/retrieve-pdf-customers-v1-invoices.js.map +1 -1
  682. package/tools/v1/customers/invoices/retrieve-pdf-customers-v1-invoices.mjs +1 -1
  683. package/tools/v1/customers/invoices/retrieve-pdf-customers-v1-invoices.mjs.map +1 -1
  684. package/tools/v1/customers/list-billable-metrics-v1-customers.d.mts +12 -6
  685. package/tools/v1/customers/list-billable-metrics-v1-customers.d.mts.map +1 -1
  686. package/tools/v1/customers/list-billable-metrics-v1-customers.d.ts +12 -6
  687. package/tools/v1/customers/list-billable-metrics-v1-customers.d.ts.map +1 -1
  688. package/tools/v1/customers/list-billable-metrics-v1-customers.js +13 -1
  689. package/tools/v1/customers/list-billable-metrics-v1-customers.js.map +1 -1
  690. package/tools/v1/customers/list-billable-metrics-v1-customers.mjs +12 -3
  691. package/tools/v1/customers/list-billable-metrics-v1-customers.mjs.map +1 -1
  692. package/tools/v1/customers/list-costs-v1-customers.d.mts +12 -6
  693. package/tools/v1/customers/list-costs-v1-customers.d.mts.map +1 -1
  694. package/tools/v1/customers/list-costs-v1-customers.d.ts +12 -6
  695. package/tools/v1/customers/list-costs-v1-customers.d.ts.map +1 -1
  696. package/tools/v1/customers/list-costs-v1-customers.js +13 -1
  697. package/tools/v1/customers/list-costs-v1-customers.js.map +1 -1
  698. package/tools/v1/customers/list-costs-v1-customers.mjs +12 -3
  699. package/tools/v1/customers/list-costs-v1-customers.mjs.map +1 -1
  700. package/tools/v1/customers/list-v1-customers.d.mts +12 -6
  701. package/tools/v1/customers/list-v1-customers.d.mts.map +1 -1
  702. package/tools/v1/customers/list-v1-customers.d.ts +12 -6
  703. package/tools/v1/customers/list-v1-customers.d.ts.map +1 -1
  704. package/tools/v1/customers/list-v1-customers.js +13 -1
  705. package/tools/v1/customers/list-v1-customers.js.map +1 -1
  706. package/tools/v1/customers/list-v1-customers.mjs +12 -3
  707. package/tools/v1/customers/list-v1-customers.mjs.map +1 -1
  708. package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.d.mts +12 -6
  709. package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.d.mts.map +1 -1
  710. package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.d.ts +12 -6
  711. package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.d.ts.map +1 -1
  712. package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.js +13 -1
  713. package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.js.map +1 -1
  714. package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.mjs +12 -3
  715. package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.mjs.map +1 -1
  716. package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.d.mts +12 -6
  717. package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.d.mts.map +1 -1
  718. package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.d.ts +12 -6
  719. package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.d.ts.map +1 -1
  720. package/tools/v1/customers/plans/add-customers-v1-plans.d.mts +12 -6
  721. package/tools/v1/customers/plans/add-customers-v1-plans.d.mts.map +1 -1
  722. package/tools/v1/customers/plans/add-customers-v1-plans.d.ts +12 -6
  723. package/tools/v1/customers/plans/add-customers-v1-plans.d.ts.map +1 -1
  724. package/tools/v1/customers/plans/add-customers-v1-plans.js +13 -1
  725. package/tools/v1/customers/plans/add-customers-v1-plans.js.map +1 -1
  726. package/tools/v1/customers/plans/add-customers-v1-plans.mjs +12 -3
  727. package/tools/v1/customers/plans/add-customers-v1-plans.mjs.map +1 -1
  728. package/tools/v1/customers/plans/end-customers-v1-plans.d.mts +12 -6
  729. package/tools/v1/customers/plans/end-customers-v1-plans.d.mts.map +1 -1
  730. package/tools/v1/customers/plans/end-customers-v1-plans.d.ts +12 -6
  731. package/tools/v1/customers/plans/end-customers-v1-plans.d.ts.map +1 -1
  732. package/tools/v1/customers/plans/end-customers-v1-plans.js +13 -1
  733. package/tools/v1/customers/plans/end-customers-v1-plans.js.map +1 -1
  734. package/tools/v1/customers/plans/end-customers-v1-plans.mjs +12 -3
  735. package/tools/v1/customers/plans/end-customers-v1-plans.mjs.map +1 -1
  736. package/tools/v1/customers/plans/list-customers-v1-plans.d.mts +12 -6
  737. package/tools/v1/customers/plans/list-customers-v1-plans.d.mts.map +1 -1
  738. package/tools/v1/customers/plans/list-customers-v1-plans.d.ts +12 -6
  739. package/tools/v1/customers/plans/list-customers-v1-plans.d.ts.map +1 -1
  740. package/tools/v1/customers/plans/list-customers-v1-plans.js +13 -1
  741. package/tools/v1/customers/plans/list-customers-v1-plans.js.map +1 -1
  742. package/tools/v1/customers/plans/list-customers-v1-plans.mjs +12 -3
  743. package/tools/v1/customers/plans/list-customers-v1-plans.mjs.map +1 -1
  744. package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.d.mts +12 -6
  745. package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.d.mts.map +1 -1
  746. package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.d.ts +12 -6
  747. package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.d.ts.map +1 -1
  748. package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.js +14 -2
  749. package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.js.map +1 -1
  750. package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.mjs +13 -4
  751. package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.mjs.map +1 -1
  752. package/tools/v1/customers/preview-events-v1-customers.d.mts +12 -6
  753. package/tools/v1/customers/preview-events-v1-customers.d.mts.map +1 -1
  754. package/tools/v1/customers/preview-events-v1-customers.d.ts +12 -6
  755. package/tools/v1/customers/preview-events-v1-customers.d.ts.map +1 -1
  756. package/tools/v1/customers/preview-events-v1-customers.js +13 -1
  757. package/tools/v1/customers/preview-events-v1-customers.js.map +1 -1
  758. package/tools/v1/customers/preview-events-v1-customers.mjs +11 -2
  759. package/tools/v1/customers/preview-events-v1-customers.mjs.map +1 -1
  760. package/tools/v1/customers/retrieve-billing-configurations-v1-customers.d.mts +12 -6
  761. package/tools/v1/customers/retrieve-billing-configurations-v1-customers.d.mts.map +1 -1
  762. package/tools/v1/customers/retrieve-billing-configurations-v1-customers.d.ts +12 -6
  763. package/tools/v1/customers/retrieve-billing-configurations-v1-customers.d.ts.map +1 -1
  764. package/tools/v1/customers/retrieve-billing-configurations-v1-customers.js +13 -1
  765. package/tools/v1/customers/retrieve-billing-configurations-v1-customers.js.map +1 -1
  766. package/tools/v1/customers/retrieve-billing-configurations-v1-customers.mjs +12 -3
  767. package/tools/v1/customers/retrieve-billing-configurations-v1-customers.mjs.map +1 -1
  768. package/tools/v1/customers/retrieve-v1-customers.d.mts +12 -6
  769. package/tools/v1/customers/retrieve-v1-customers.d.mts.map +1 -1
  770. package/tools/v1/customers/retrieve-v1-customers.d.ts +12 -6
  771. package/tools/v1/customers/retrieve-v1-customers.d.ts.map +1 -1
  772. package/tools/v1/customers/retrieve-v1-customers.js +13 -1
  773. package/tools/v1/customers/retrieve-v1-customers.js.map +1 -1
  774. package/tools/v1/customers/retrieve-v1-customers.mjs +12 -3
  775. package/tools/v1/customers/retrieve-v1-customers.mjs.map +1 -1
  776. package/tools/v1/customers/set-billing-configurations-v1-customers.d.mts +12 -6
  777. package/tools/v1/customers/set-billing-configurations-v1-customers.d.mts.map +1 -1
  778. package/tools/v1/customers/set-billing-configurations-v1-customers.d.ts +12 -6
  779. package/tools/v1/customers/set-billing-configurations-v1-customers.d.ts.map +1 -1
  780. package/tools/v1/customers/set-billing-configurations-v1-customers.js +21 -4
  781. package/tools/v1/customers/set-billing-configurations-v1-customers.js.map +1 -1
  782. package/tools/v1/customers/set-billing-configurations-v1-customers.mjs +19 -5
  783. package/tools/v1/customers/set-billing-configurations-v1-customers.mjs.map +1 -1
  784. package/tools/v1/customers/set-ingest-aliases-v1-customers.d.mts +12 -6
  785. package/tools/v1/customers/set-ingest-aliases-v1-customers.d.mts.map +1 -1
  786. package/tools/v1/customers/set-ingest-aliases-v1-customers.d.ts +12 -6
  787. package/tools/v1/customers/set-ingest-aliases-v1-customers.d.ts.map +1 -1
  788. package/tools/v1/customers/set-name-v1-customers.d.mts +12 -6
  789. package/tools/v1/customers/set-name-v1-customers.d.mts.map +1 -1
  790. package/tools/v1/customers/set-name-v1-customers.d.ts +12 -6
  791. package/tools/v1/customers/set-name-v1-customers.d.ts.map +1 -1
  792. package/tools/v1/customers/set-name-v1-customers.js +13 -1
  793. package/tools/v1/customers/set-name-v1-customers.js.map +1 -1
  794. package/tools/v1/customers/set-name-v1-customers.mjs +12 -3
  795. package/tools/v1/customers/set-name-v1-customers.mjs.map +1 -1
  796. package/tools/v1/customers/update-config-v1-customers.d.mts +12 -6
  797. package/tools/v1/customers/update-config-v1-customers.d.mts.map +1 -1
  798. package/tools/v1/customers/update-config-v1-customers.d.ts +12 -6
  799. package/tools/v1/customers/update-config-v1-customers.d.ts.map +1 -1
  800. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.d.mts +12 -6
  801. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.d.mts.map +1 -1
  802. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.d.ts +12 -6
  803. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.d.ts.map +1 -1
  804. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.js +13 -1
  805. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.js.map +1 -1
  806. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.mjs +12 -3
  807. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.mjs.map +1 -1
  808. package/tools/v1/invoices/regenerate-v1-invoices.d.mts +12 -6
  809. package/tools/v1/invoices/regenerate-v1-invoices.d.mts.map +1 -1
  810. package/tools/v1/invoices/regenerate-v1-invoices.d.ts +12 -6
  811. package/tools/v1/invoices/regenerate-v1-invoices.d.ts.map +1 -1
  812. package/tools/v1/invoices/regenerate-v1-invoices.js +13 -1
  813. package/tools/v1/invoices/regenerate-v1-invoices.js.map +1 -1
  814. package/tools/v1/invoices/regenerate-v1-invoices.mjs +12 -3
  815. package/tools/v1/invoices/regenerate-v1-invoices.mjs.map +1 -1
  816. package/tools/v1/invoices/void-v1-invoices.d.mts +12 -6
  817. package/tools/v1/invoices/void-v1-invoices.d.mts.map +1 -1
  818. package/tools/v1/invoices/void-v1-invoices.d.ts +12 -6
  819. package/tools/v1/invoices/void-v1-invoices.d.ts.map +1 -1
  820. package/tools/v1/invoices/void-v1-invoices.js +13 -1
  821. package/tools/v1/invoices/void-v1-invoices.js.map +1 -1
  822. package/tools/v1/invoices/void-v1-invoices.mjs +12 -3
  823. package/tools/v1/invoices/void-v1-invoices.mjs.map +1 -1
  824. package/tools/v1/payments/attempt-v1-payments.d.mts +12 -6
  825. package/tools/v1/payments/attempt-v1-payments.d.mts.map +1 -1
  826. package/tools/v1/payments/attempt-v1-payments.d.ts +12 -6
  827. package/tools/v1/payments/attempt-v1-payments.d.ts.map +1 -1
  828. package/tools/v1/payments/attempt-v1-payments.js +13 -1
  829. package/tools/v1/payments/attempt-v1-payments.js.map +1 -1
  830. package/tools/v1/payments/attempt-v1-payments.mjs +12 -3
  831. package/tools/v1/payments/attempt-v1-payments.mjs.map +1 -1
  832. package/tools/v1/payments/cancel-v1-payments.d.mts +12 -6
  833. package/tools/v1/payments/cancel-v1-payments.d.mts.map +1 -1
  834. package/tools/v1/payments/cancel-v1-payments.d.ts +12 -6
  835. package/tools/v1/payments/cancel-v1-payments.d.ts.map +1 -1
  836. package/tools/v1/payments/cancel-v1-payments.js +13 -1
  837. package/tools/v1/payments/cancel-v1-payments.js.map +1 -1
  838. package/tools/v1/payments/cancel-v1-payments.mjs +12 -3
  839. package/tools/v1/payments/cancel-v1-payments.mjs.map +1 -1
  840. package/tools/v1/payments/list-v1-payments.d.mts +12 -6
  841. package/tools/v1/payments/list-v1-payments.d.mts.map +1 -1
  842. package/tools/v1/payments/list-v1-payments.d.ts +12 -6
  843. package/tools/v1/payments/list-v1-payments.d.ts.map +1 -1
  844. package/tools/v1/payments/list-v1-payments.js +13 -1
  845. package/tools/v1/payments/list-v1-payments.js.map +1 -1
  846. package/tools/v1/payments/list-v1-payments.mjs +12 -3
  847. package/tools/v1/payments/list-v1-payments.mjs.map +1 -1
  848. package/tools/v1/plans/get-details-v1-plans.d.mts +12 -6
  849. package/tools/v1/plans/get-details-v1-plans.d.mts.map +1 -1
  850. package/tools/v1/plans/get-details-v1-plans.d.ts +12 -6
  851. package/tools/v1/plans/get-details-v1-plans.d.ts.map +1 -1
  852. package/tools/v1/plans/get-details-v1-plans.js +13 -1
  853. package/tools/v1/plans/get-details-v1-plans.js.map +1 -1
  854. package/tools/v1/plans/get-details-v1-plans.mjs +12 -3
  855. package/tools/v1/plans/get-details-v1-plans.mjs.map +1 -1
  856. package/tools/v1/plans/list-charges-v1-plans.d.mts +12 -6
  857. package/tools/v1/plans/list-charges-v1-plans.d.mts.map +1 -1
  858. package/tools/v1/plans/list-charges-v1-plans.d.ts +12 -6
  859. package/tools/v1/plans/list-charges-v1-plans.d.ts.map +1 -1
  860. package/tools/v1/plans/list-charges-v1-plans.js +13 -1
  861. package/tools/v1/plans/list-charges-v1-plans.js.map +1 -1
  862. package/tools/v1/plans/list-charges-v1-plans.mjs +12 -3
  863. package/tools/v1/plans/list-charges-v1-plans.mjs.map +1 -1
  864. package/tools/v1/plans/list-customers-v1-plans.d.mts +12 -6
  865. package/tools/v1/plans/list-customers-v1-plans.d.mts.map +1 -1
  866. package/tools/v1/plans/list-customers-v1-plans.d.ts +12 -6
  867. package/tools/v1/plans/list-customers-v1-plans.d.ts.map +1 -1
  868. package/tools/v1/plans/list-customers-v1-plans.js +13 -1
  869. package/tools/v1/plans/list-customers-v1-plans.js.map +1 -1
  870. package/tools/v1/plans/list-customers-v1-plans.mjs +12 -3
  871. package/tools/v1/plans/list-customers-v1-plans.mjs.map +1 -1
  872. package/tools/v1/plans/list-v1-plans.d.mts +12 -6
  873. package/tools/v1/plans/list-v1-plans.d.mts.map +1 -1
  874. package/tools/v1/plans/list-v1-plans.d.ts +12 -6
  875. package/tools/v1/plans/list-v1-plans.d.ts.map +1 -1
  876. package/tools/v1/plans/list-v1-plans.js +13 -1
  877. package/tools/v1/plans/list-v1-plans.js.map +1 -1
  878. package/tools/v1/plans/list-v1-plans.mjs +12 -3
  879. package/tools/v1/plans/list-v1-plans.mjs.map +1 -1
  880. package/tools/v1/pricing-units/list-v1-pricing-units.d.mts +12 -6
  881. package/tools/v1/pricing-units/list-v1-pricing-units.d.mts.map +1 -1
  882. package/tools/v1/pricing-units/list-v1-pricing-units.d.ts +12 -6
  883. package/tools/v1/pricing-units/list-v1-pricing-units.d.ts.map +1 -1
  884. package/tools/v1/pricing-units/list-v1-pricing-units.js +13 -1
  885. package/tools/v1/pricing-units/list-v1-pricing-units.js.map +1 -1
  886. package/tools/v1/pricing-units/list-v1-pricing-units.mjs +12 -3
  887. package/tools/v1/pricing-units/list-v1-pricing-units.mjs.map +1 -1
  888. package/tools/v1/services/list-v1-services.d.mts +12 -6
  889. package/tools/v1/services/list-v1-services.d.mts.map +1 -1
  890. package/tools/v1/services/list-v1-services.d.ts +12 -6
  891. package/tools/v1/services/list-v1-services.d.ts.map +1 -1
  892. package/tools/v1/services/list-v1-services.js +13 -1
  893. package/tools/v1/services/list-v1-services.js.map +1 -1
  894. package/tools/v1/services/list-v1-services.mjs +12 -3
  895. package/tools/v1/services/list-v1-services.mjs.map +1 -1
  896. package/tools/v1/settings/billing-providers/create-settings-v1-billing-providers.d.mts +12 -6
  897. package/tools/v1/settings/billing-providers/create-settings-v1-billing-providers.d.mts.map +1 -1
  898. package/tools/v1/settings/billing-providers/create-settings-v1-billing-providers.d.ts +12 -6
  899. package/tools/v1/settings/billing-providers/create-settings-v1-billing-providers.d.ts.map +1 -1
  900. package/tools/v1/settings/billing-providers/create-settings-v1-billing-providers.js +14 -2
  901. package/tools/v1/settings/billing-providers/create-settings-v1-billing-providers.js.map +1 -1
  902. package/tools/v1/settings/billing-providers/create-settings-v1-billing-providers.mjs +13 -4
  903. package/tools/v1/settings/billing-providers/create-settings-v1-billing-providers.mjs.map +1 -1
  904. package/tools/v1/settings/billing-providers/list-settings-v1-billing-providers.d.mts +12 -6
  905. package/tools/v1/settings/billing-providers/list-settings-v1-billing-providers.d.mts.map +1 -1
  906. package/tools/v1/settings/billing-providers/list-settings-v1-billing-providers.d.ts +12 -6
  907. package/tools/v1/settings/billing-providers/list-settings-v1-billing-providers.d.ts.map +1 -1
  908. package/tools/v1/settings/billing-providers/list-settings-v1-billing-providers.js +13 -1
  909. package/tools/v1/settings/billing-providers/list-settings-v1-billing-providers.js.map +1 -1
  910. package/tools/v1/settings/billing-providers/list-settings-v1-billing-providers.mjs +12 -3
  911. package/tools/v1/settings/billing-providers/list-settings-v1-billing-providers.mjs.map +1 -1
  912. package/tools/v1/settings/upsert-avalara-credentials-v1-settings.d.mts +12 -6
  913. package/tools/v1/settings/upsert-avalara-credentials-v1-settings.d.mts.map +1 -1
  914. package/tools/v1/settings/upsert-avalara-credentials-v1-settings.d.ts +12 -6
  915. package/tools/v1/settings/upsert-avalara-credentials-v1-settings.d.ts.map +1 -1
  916. package/tools/v1/settings/upsert-avalara-credentials-v1-settings.js +17 -1
  917. package/tools/v1/settings/upsert-avalara-credentials-v1-settings.js.map +1 -1
  918. package/tools/v1/settings/upsert-avalara-credentials-v1-settings.mjs +16 -3
  919. package/tools/v1/settings/upsert-avalara-credentials-v1-settings.mjs.map +1 -1
  920. package/tools/v1/usage/ingest-v1-usage.d.mts +12 -6
  921. package/tools/v1/usage/ingest-v1-usage.d.mts.map +1 -1
  922. package/tools/v1/usage/ingest-v1-usage.d.ts +12 -6
  923. package/tools/v1/usage/ingest-v1-usage.d.ts.map +1 -1
  924. package/tools/v1/usage/list-v1-usage.d.mts +12 -6
  925. package/tools/v1/usage/list-v1-usage.d.mts.map +1 -1
  926. package/tools/v1/usage/list-v1-usage.d.ts +12 -6
  927. package/tools/v1/usage/list-v1-usage.d.ts.map +1 -1
  928. package/tools/v1/usage/list-v1-usage.js +13 -1
  929. package/tools/v1/usage/list-v1-usage.js.map +1 -1
  930. package/tools/v1/usage/list-v1-usage.mjs +12 -3
  931. package/tools/v1/usage/list-v1-usage.mjs.map +1 -1
  932. package/tools/v1/usage/list-with-groups-v1-usage.d.mts +12 -6
  933. package/tools/v1/usage/list-with-groups-v1-usage.d.mts.map +1 -1
  934. package/tools/v1/usage/list-with-groups-v1-usage.d.ts +12 -6
  935. package/tools/v1/usage/list-with-groups-v1-usage.d.ts.map +1 -1
  936. package/tools/v1/usage/list-with-groups-v1-usage.js +13 -1
  937. package/tools/v1/usage/list-with-groups-v1-usage.js.map +1 -1
  938. package/tools/v1/usage/list-with-groups-v1-usage.mjs +12 -3
  939. package/tools/v1/usage/list-with-groups-v1-usage.mjs.map +1 -1
  940. package/tools/v1/usage/search-v1-usage.d.mts +12 -6
  941. package/tools/v1/usage/search-v1-usage.d.mts.map +1 -1
  942. package/tools/v1/usage/search-v1-usage.d.ts +12 -6
  943. package/tools/v1/usage/search-v1-usage.d.ts.map +1 -1
  944. package/tools/v1/usage/search-v1-usage.js +14 -2
  945. package/tools/v1/usage/search-v1-usage.js.map +1 -1
  946. package/tools/v1/usage/search-v1-usage.mjs +13 -4
  947. package/tools/v1/usage/search-v1-usage.mjs.map +1 -1
  948. package/tools/v2/contracts/edit-commit-v2-contracts.d.mts +12 -6
  949. package/tools/v2/contracts/edit-commit-v2-contracts.d.mts.map +1 -1
  950. package/tools/v2/contracts/edit-commit-v2-contracts.d.ts +12 -6
  951. package/tools/v2/contracts/edit-commit-v2-contracts.d.ts.map +1 -1
  952. package/tools/v2/contracts/edit-commit-v2-contracts.js +21 -1
  953. package/tools/v2/contracts/edit-commit-v2-contracts.js.map +1 -1
  954. package/tools/v2/contracts/edit-commit-v2-contracts.mjs +20 -3
  955. package/tools/v2/contracts/edit-commit-v2-contracts.mjs.map +1 -1
  956. package/tools/v2/contracts/edit-credit-v2-contracts.d.mts +12 -6
  957. package/tools/v2/contracts/edit-credit-v2-contracts.d.mts.map +1 -1
  958. package/tools/v2/contracts/edit-credit-v2-contracts.d.ts +12 -6
  959. package/tools/v2/contracts/edit-credit-v2-contracts.d.ts.map +1 -1
  960. package/tools/v2/contracts/edit-credit-v2-contracts.js +21 -1
  961. package/tools/v2/contracts/edit-credit-v2-contracts.js.map +1 -1
  962. package/tools/v2/contracts/edit-credit-v2-contracts.mjs +20 -3
  963. package/tools/v2/contracts/edit-credit-v2-contracts.mjs.map +1 -1
  964. package/tools/v2/contracts/edit-v2-contracts.d.mts +12 -6
  965. package/tools/v2/contracts/edit-v2-contracts.d.mts.map +1 -1
  966. package/tools/v2/contracts/edit-v2-contracts.d.ts +12 -6
  967. package/tools/v2/contracts/edit-v2-contracts.d.ts.map +1 -1
  968. package/tools/v2/contracts/edit-v2-contracts.js +154 -4
  969. package/tools/v2/contracts/edit-v2-contracts.js.map +1 -1
  970. package/tools/v2/contracts/edit-v2-contracts.mjs +152 -5
  971. package/tools/v2/contracts/edit-v2-contracts.mjs.map +1 -1
  972. package/tools/v2/contracts/get-edit-history-v2-contracts.d.mts +12 -6
  973. package/tools/v2/contracts/get-edit-history-v2-contracts.d.mts.map +1 -1
  974. package/tools/v2/contracts/get-edit-history-v2-contracts.d.ts +12 -6
  975. package/tools/v2/contracts/get-edit-history-v2-contracts.d.ts.map +1 -1
  976. package/tools/v2/contracts/get-edit-history-v2-contracts.js +13 -1
  977. package/tools/v2/contracts/get-edit-history-v2-contracts.js.map +1 -1
  978. package/tools/v2/contracts/get-edit-history-v2-contracts.mjs +11 -2
  979. package/tools/v2/contracts/get-edit-history-v2-contracts.mjs.map +1 -1
  980. package/tools/v2/contracts/list-v2-contracts.d.mts +12 -6
  981. package/tools/v2/contracts/list-v2-contracts.d.mts.map +1 -1
  982. package/tools/v2/contracts/list-v2-contracts.d.ts +12 -6
  983. package/tools/v2/contracts/list-v2-contracts.d.ts.map +1 -1
  984. package/tools/v2/contracts/list-v2-contracts.js +13 -1
  985. package/tools/v2/contracts/list-v2-contracts.js.map +1 -1
  986. package/tools/v2/contracts/list-v2-contracts.mjs +11 -2
  987. package/tools/v2/contracts/list-v2-contracts.mjs.map +1 -1
  988. package/tools/v2/contracts/retrieve-v2-contracts.d.mts +12 -6
  989. package/tools/v2/contracts/retrieve-v2-contracts.d.mts.map +1 -1
  990. package/tools/v2/contracts/retrieve-v2-contracts.d.ts +12 -6
  991. package/tools/v2/contracts/retrieve-v2-contracts.d.ts.map +1 -1
  992. package/tools/v2/contracts/retrieve-v2-contracts.js +13 -1
  993. package/tools/v2/contracts/retrieve-v2-contracts.js.map +1 -1
  994. package/tools/v2/contracts/retrieve-v2-contracts.mjs +11 -2
  995. package/tools/v2/contracts/retrieve-v2-contracts.mjs.map +1 -1
  996. package/code-tool-paths.cjs +0 -6
  997. package/code-tool-paths.cjs.map +0 -1
  998. package/code-tool-paths.d.cts +0 -2
  999. package/code-tool-paths.d.cts.map +0 -1
  1000. package/code-tool-worker.d.mts +0 -5
  1001. package/code-tool-worker.d.mts.map +0 -1
  1002. package/code-tool-worker.d.ts +0 -5
  1003. package/code-tool-worker.d.ts.map +0 -1
  1004. package/code-tool-worker.js +0 -45
  1005. package/code-tool-worker.js.map +0 -1
  1006. package/code-tool-worker.mjs +0 -40
  1007. package/code-tool-worker.mjs.map +0 -1
  1008. package/src/code-tool-paths.cts +0 -3
  1009. package/src/code-tool-worker.ts +0 -46
@@ -1,7 +1,7 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import { maybeFilter } from '@metronome/mcp/filtering';
4
- import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
3
+ import { isJqError, maybeFilter } from '@metronome/mcp/filtering';
4
+ import { Metadata, asErrorResult, asTextContentResult } from '@metronome/mcp/tools/types';
5
5
 
6
6
  import { Tool } from '@modelcontextprotocol/sdk/types.js';
7
7
  import Metronome from '@metronome/sdk';
@@ -18,7 +18,7 @@ export const metadata: Metadata = {
18
18
  export const tool: Tool = {
19
19
  name: 'search_v1_usage',
20
20
  description:
21
- "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nThis endpoint retrieves events by transaction ID for events that occurred within the last 34 days. It is specifically designed for sampling-based testing workflows to detect revenue leakage. The Event Search API provides a critical observability tool that validates the integrity of your usage pipeline by allowing you to sample raw events and verify their matching against active billable metrics. \n\nWhy event observability matters for revenue leakage:\nSilent revenue loss occurs when events are dropped, delayed, or fail to match billable metrics due to:\n- Upstream system failures\n- Event format changes\n- Misconfigured billable metrics\n\n### Use this endpoint to:\n- Sample raw events and validate they match the expected billable metrics\n- Build custom leakage detection alerts to prevent silent revenue loss\n- Verify event processing accuracy during system changes or metric updates\n- Debug event matching issues in real-time\n\n### Key response fields:\n- Complete event details including transaction ID, customer ID, and properties\n- Matched Metronome customer (if any)\n- Matched billable metric information (if any)\n- Processing status and duplicate detection flags\n\n### Usage guidelines:\n⚠️ Important: This endpoint is heavily rate limited and designed for sampling workflows only. Do not use this endpoint to check every event in your system. Instead, implement a sampling strategy to randomly validate a subset of events for observability purposes.\n\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/usage_search_response',\n $defs: {\n usage_search_response: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n customer_id: {\n type: 'string',\n description: 'The ID of the customer in the ingest event body'\n },\n event_type: {\n type: 'string'\n },\n timestamp: {\n type: 'string',\n format: 'date-time'\n },\n transaction_id: {\n type: 'string'\n },\n is_duplicate: {\n type: 'boolean'\n },\n matched_billable_metrics: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n name: {\n type: 'string'\n },\n aggregate: {\n type: 'string',\n description: '(DEPRECATED) use aggregation_type instead'\n },\n aggregate_keys: {\n type: 'array',\n description: '(DEPRECATED) use aggregation_key instead',\n items: {\n type: 'string'\n }\n },\n aggregation_key: {\n type: 'string',\n description: 'A key that specifies which property of the event is used to aggregate data. This key must be one of the property filter names and is not applicable when the aggregation type is \\'count\\'.'\n },\n aggregation_type: {\n type: 'string',\n description: 'Specifies the type of aggregation performed on matching events.',\n enum: [ 'COUNT',\n 'LATEST',\n 'MAX',\n 'SUM',\n 'UNIQUE'\n ]\n },\n archived_at: {\n type: 'string',\n description: 'RFC 3339 timestamp indicating when the billable metric was archived. If not provided, the billable metric is not archived.',\n format: 'date-time'\n },\n custom_fields: {\n type: 'object',\n 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 filter: {\n type: 'object',\n description: '(DEPRECATED) use property_filters & event_type_filter instead',\n additionalProperties: true\n },\n group_by: {\n type: 'array',\n description: '(DEPRECATED) use group_keys instead',\n items: {\n type: 'string',\n description: 'A list of keys that can be used to additionally segment the values of the billable metric when making usage queries'\n }\n },\n group_keys: {\n type: 'array',\n description: 'Property names that are used to group usage costs on an invoice. Each entry represents a set of properties used to slice events into distinct buckets.',\n items: {\n type: 'array',\n items: {\n type: 'string'\n }\n }\n },\n property_filters: {\n type: 'array',\n description: 'A list of filters to match events to this billable metric. Each filter defines a rule on an event property. All rules must pass for the event to match the billable metric.',\n items: {\n $ref: '#/$defs/property_filter'\n }\n },\n sql: {\n type: 'string',\n description: 'The SQL query associated with the billable metric'\n }\n },\n required: [ 'id',\n 'name'\n ]\n }\n },\n matched_customer: {\n type: 'object',\n description: 'The customer the event was matched to if a match was found',\n properties: {\n id: {\n type: 'string'\n },\n name: {\n type: 'string'\n }\n }\n },\n processed_at: {\n type: 'string',\n format: 'date-time'\n },\n properties: {\n type: 'object',\n additionalProperties: true\n }\n },\n required: [ 'id',\n 'customer_id',\n 'event_type',\n 'timestamp',\n 'transaction_id'\n ]\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```",
21
+ "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nThis endpoint retrieves events by transaction ID for events that occurred within the last 34 days. It is specifically designed for sampling-based testing workflows to detect revenue leakage. The Event Search API provides a critical observability tool that validates the integrity of your usage pipeline by allowing you to sample raw events and verify their matching against active billable metrics. \n\nWhy event observability matters for revenue leakage:\nSilent revenue loss occurs when events are dropped, delayed, or fail to match billable metrics due to:\n- Upstream system failures\n- Event format changes\n- Misconfigured billable metrics\n\n### Use this endpoint to:\n- Sample raw events and validate they match the expected billable metrics\n- Build custom leakage detection alerts to prevent silent revenue loss\n- Verify event processing accuracy during system changes or metric updates\n- Debug event matching issues in real-time\n\n### Key response fields:\n- Complete event details including transaction ID, customer ID, and properties\n- Matched Metronome customer (if any)\n- Matched billable metric information (if any)\n- Processing status and duplicate detection flags\n\n### Usage guidelines:\n⚠️ Important: This endpoint is heavily rate limited and designed for sampling workflows only. Do not use this endpoint to check every event in your system. Instead, implement a sampling strategy to randomly validate a subset of events for observability purposes.\n\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/usage_search_response',\n $defs: {\n usage_search_response: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n customer_id: {\n type: 'string',\n description: 'The ID of the customer in the ingest event body'\n },\n event_type: {\n type: 'string'\n },\n timestamp: {\n type: 'string',\n format: 'date-time'\n },\n transaction_id: {\n type: 'string'\n },\n is_duplicate: {\n type: 'boolean'\n },\n matched_billable_metrics: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n name: {\n type: 'string'\n },\n aggregate: {\n type: 'string',\n description: '(DEPRECATED) use aggregation_type instead'\n },\n aggregate_keys: {\n type: 'array',\n description: '(DEPRECATED) use aggregation_key instead',\n items: {\n type: 'string'\n }\n },\n aggregation_key: {\n type: 'string',\n description: 'A key that specifies which property of the event is used to aggregate data. This key must be one of the property filter names and is not applicable when the aggregation type is \\'count\\'.'\n },\n aggregation_type: {\n type: 'string',\n description: 'Specifies the type of aggregation performed on matching events. Includes \"custom_sql\" for events search endpoint responses.',\n enum: [ 'COUNT',\n 'LATEST',\n 'MAX',\n 'SUM',\n 'UNIQUE',\n 'custom_sql'\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 filter: {\n type: 'object',\n description: '(DEPRECATED) use property_filters & event_type_filter instead',\n additionalProperties: true\n },\n group_by: {\n type: 'array',\n description: '(DEPRECATED) use group_keys instead',\n items: {\n type: 'string',\n description: 'A list of keys that can be used to additionally segment the values of the billable metric when making usage queries'\n }\n },\n group_keys: {\n type: 'array',\n description: 'Property names that are used to group usage costs on an invoice. Each entry represents a set of properties used to slice events into distinct buckets.',\n items: {\n type: 'array',\n items: {\n type: 'string'\n }\n }\n },\n property_filters: {\n type: 'array',\n description: 'A list of filters to match events to this billable metric. Each filter defines a rule on an event property. All rules must pass for the event to match the billable metric.',\n items: {\n $ref: '#/$defs/property_filter'\n }\n },\n sql: {\n type: 'string',\n description: 'The SQL query associated with the billable metric'\n }\n },\n required: [ 'id',\n 'name'\n ]\n }\n },\n matched_customer: {\n type: 'object',\n description: 'The customer the event was matched to if a match was found',\n properties: {\n id: {\n type: 'string'\n },\n name: {\n type: 'string'\n }\n }\n },\n processed_at: {\n type: 'string',\n format: 'date-time'\n },\n properties: {\n type: 'object',\n additionalProperties: true\n }\n },\n required: [ 'id',\n 'customer_id',\n 'event_type',\n 'timestamp',\n 'transaction_id'\n ]\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
22
  inputSchema: {
23
23
  type: 'object',
24
24
  properties: {
@@ -43,7 +43,14 @@ export const tool: Tool = {
43
43
 
44
44
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
45
45
  const { jq_filter, ...body } = args as any;
46
- return asTextContentResult(await maybeFilter(jq_filter, await client.v1.usage.search(body)));
46
+ try {
47
+ return asTextContentResult(await maybeFilter(jq_filter, await client.v1.usage.search(body)));
48
+ } catch (error) {
49
+ if (error instanceof Metronome.APIError || isJqError(error)) {
50
+ return asErrorResult(error.message);
51
+ }
52
+ throw error;
53
+ }
47
54
  };
48
55
 
49
56
  export default { metadata, tool, handler };
@@ -1,7 +1,7 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import { maybeFilter } from '@metronome/mcp/filtering';
4
- import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
3
+ import { isJqError, maybeFilter } from '@metronome/mcp/filtering';
4
+ import { Metadata, asErrorResult, asTextContentResult } from '@metronome/mcp/tools/types';
5
5
 
6
6
  import { Tool } from '@modelcontextprotocol/sdk/types.js';
7
7
  import Metronome from '@metronome/sdk';
@@ -106,6 +106,10 @@ export const tool: Tool = {
106
106
  type: 'string',
107
107
  },
108
108
  },
109
+ description: {
110
+ type: 'string',
111
+ description: 'Updated description for the commit',
112
+ },
109
113
  hierarchy_configuration: {
110
114
  $ref: '#/$defs/commit_hierarchy_configuration',
111
115
  },
@@ -177,6 +181,10 @@ export const tool: Tool = {
177
181
  },
178
182
  },
179
183
  },
184
+ name: {
185
+ type: 'string',
186
+ description: 'Updated name for the commit',
187
+ },
180
188
  priority: {
181
189
  type: 'number',
182
190
  description: 'If multiple commits are applicable, the one with the lower priority will apply first.',
@@ -285,7 +293,14 @@ export const tool: Tool = {
285
293
 
286
294
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
287
295
  const { jq_filter, ...body } = args as any;
288
- return asTextContentResult(await maybeFilter(jq_filter, await client.v2.contracts.editCommit(body)));
296
+ try {
297
+ return asTextContentResult(await maybeFilter(jq_filter, await client.v2.contracts.editCommit(body)));
298
+ } catch (error) {
299
+ if (error instanceof Metronome.APIError || isJqError(error)) {
300
+ return asErrorResult(error.message);
301
+ }
302
+ throw error;
303
+ }
289
304
  };
290
305
 
291
306
  export default { metadata, tool, handler };
@@ -1,7 +1,7 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import { maybeFilter } from '@metronome/mcp/filtering';
4
- import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
3
+ import { isJqError, maybeFilter } from '@metronome/mcp/filtering';
4
+ import { Metadata, asErrorResult, asTextContentResult } from '@metronome/mcp/tools/types';
5
5
 
6
6
  import { Tool } from '@modelcontextprotocol/sdk/types.js';
7
7
  import Metronome from '@metronome/sdk';
@@ -106,9 +106,17 @@ export const tool: Tool = {
106
106
  type: 'string',
107
107
  },
108
108
  },
109
+ description: {
110
+ type: 'string',
111
+ description: 'Updated description for the credit',
112
+ },
109
113
  hierarchy_configuration: {
110
114
  $ref: '#/$defs/commit_hierarchy_configuration',
111
115
  },
116
+ name: {
117
+ type: 'string',
118
+ description: 'Updated name for the credit',
119
+ },
112
120
  priority: {
113
121
  type: 'number',
114
122
  description: 'If multiple commits are applicable, the one with the lower priority will apply first.',
@@ -217,7 +225,14 @@ export const tool: Tool = {
217
225
 
218
226
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
219
227
  const { jq_filter, ...body } = args as any;
220
- return asTextContentResult(await maybeFilter(jq_filter, await client.v2.contracts.editCredit(body)));
228
+ try {
229
+ return asTextContentResult(await maybeFilter(jq_filter, await client.v2.contracts.editCredit(body)));
230
+ } catch (error) {
231
+ if (error instanceof Metronome.APIError || isJqError(error)) {
232
+ return asErrorResult(error.message);
233
+ }
234
+ throw error;
235
+ }
221
236
  };
222
237
 
223
238
  export default { metadata, tool, handler };
@@ -1,6 +1,6 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
3
+ import { Metadata, asErrorResult, asTextContentResult } from '@metronome/mcp/tools/types';
4
4
 
5
5
  import { Tool } from '@modelcontextprotocol/sdk/types.js';
6
6
  import Metronome from '@metronome/sdk';
@@ -916,7 +916,7 @@ export const tool: Tool = {
916
916
  allocation: {
917
917
  type: 'string',
918
918
  description:
919
- 'If set to POOLED, allocation added per seat is pooled across the account. (BETA) If set to INDIVIDUAL, each seat in the subscription will have its own allocation.',
919
+ 'If set to POOLED, allocation added per seat is pooled across the account. If set to INDIVIDUAL, each seat in the subscription will have its own allocation.',
920
920
  enum: ['POOLED', 'INDIVIDUAL'],
921
921
  },
922
922
  },
@@ -1066,7 +1066,7 @@ export const tool: Tool = {
1066
1066
  allocation: {
1067
1067
  type: 'string',
1068
1068
  description:
1069
- 'If set to POOLED, allocation added per seat is pooled across the account. (BETA) If set to INDIVIDUAL, each seat in the subscription will have its own allocation.',
1069
+ 'If set to POOLED, allocation added per seat is pooled across the account. If set to INDIVIDUAL, each seat in the subscription will have its own allocation.',
1070
1070
  enum: ['POOLED', 'INDIVIDUAL'],
1071
1071
  },
1072
1072
  },
@@ -1332,9 +1332,31 @@ export const tool: Tool = {
1332
1332
  quantity_management_mode: {
1333
1333
  type: 'string',
1334
1334
  description:
1335
- "Determines how the subscription's quantity is controlled. Defaults to QUANTITY_ONLY. **QUANTITY_ONLY**: The subscription quantity is specified directly on the subscription. `initial_quantity` must be provided with this option. Compatible with recurring commits/credits that use POOLED allocation. **SEAT_BASED**: (BETA) Use when you want to pass specific seat identifiers (e.g. add user_123) to increment and decrement a subscription quantity, rather than directly providing the quantity. You must use a **SEAT_BASED** subscription to use a linked recurring credit with an allocation per seat. `seat_config` must be provided with this option.",
1335
+ "Determines how the subscription's quantity is controlled. Defaults to QUANTITY_ONLY. **QUANTITY_ONLY**: The subscription quantity is specified directly on the subscription. `initial_quantity` must be provided with this option. Compatible with recurring commits/credits that use POOLED allocation. **SEAT_BASED**: Use when you want to pass specific seat identifiers (e.g. add user_123) to increment and decrement a subscription quantity, rather than directly providing the quantity. You must use a **SEAT_BASED** subscription to use a linked recurring credit with an allocation per seat. `seat_config` must be provided with this option.",
1336
1336
  enum: ['SEAT_BASED', 'QUANTITY_ONLY'],
1337
1337
  },
1338
+ seat_config: {
1339
+ type: 'object',
1340
+ properties: {
1341
+ initial_seat_ids: {
1342
+ type: 'array',
1343
+ description: 'The initial assigned seats on this subscription.',
1344
+ items: {
1345
+ type: 'string',
1346
+ },
1347
+ },
1348
+ seat_group_key: {
1349
+ type: 'string',
1350
+ description:
1351
+ "The property name, sent on usage events, that identifies the seat ID associated with the usage event. For example, the property name might be seat_id or user_id. The property must be set as a group key on billable metrics and a presentation/pricing group key on contract products. This allows linked recurring credits with an allocation per seat to be consumed by only one seat's usage.",
1352
+ },
1353
+ initial_unassigned_seats: {
1354
+ type: 'number',
1355
+ description: 'The initial amount of unassigned seats on this subscription.',
1356
+ },
1357
+ },
1358
+ required: ['initial_seat_ids', 'seat_group_key'],
1359
+ },
1338
1360
  starting_at: {
1339
1361
  type: 'string',
1340
1362
  description:
@@ -1495,6 +1517,9 @@ export const tool: Tool = {
1495
1517
  type: 'string',
1496
1518
  },
1497
1519
  },
1520
+ description: {
1521
+ type: 'string',
1522
+ },
1498
1523
  hierarchy_configuration: {
1499
1524
  $ref: '#/$defs/commit_hierarchy_configuration',
1500
1525
  },
@@ -1562,6 +1587,9 @@ export const tool: Tool = {
1562
1587
  },
1563
1588
  },
1564
1589
  },
1590
+ name: {
1591
+ type: 'string',
1592
+ },
1565
1593
  netsuite_sales_order_id: {
1566
1594
  type: 'string',
1567
1595
  },
@@ -1678,9 +1706,15 @@ export const tool: Tool = {
1678
1706
  type: 'string',
1679
1707
  },
1680
1708
  },
1709
+ description: {
1710
+ type: 'string',
1711
+ },
1681
1712
  hierarchy_configuration: {
1682
1713
  $ref: '#/$defs/commit_hierarchy_configuration',
1683
1714
  },
1715
+ name: {
1716
+ type: 'string',
1717
+ },
1684
1718
  netsuite_sales_order_id: {
1685
1719
  type: 'string',
1686
1720
  },
@@ -1928,6 +1962,27 @@ export const tool: Tool = {
1928
1962
  type: 'string',
1929
1963
  format: 'date-time',
1930
1964
  },
1965
+ quantity_management_mode_update: {
1966
+ type: 'object',
1967
+ description:
1968
+ "Update the subscription's quantity management mode from QUANTITY_ONLY to SEAT_BASED with the provided seat_group_key.",
1969
+ properties: {
1970
+ quantity_management_mode: {
1971
+ type: 'string',
1972
+ enum: ['SEAT_BASED'],
1973
+ },
1974
+ seat_config: {
1975
+ type: 'object',
1976
+ properties: {
1977
+ seat_group_key: {
1978
+ type: 'string',
1979
+ },
1980
+ },
1981
+ required: ['seat_group_key'],
1982
+ },
1983
+ },
1984
+ required: ['quantity_management_mode', 'seat_config'],
1985
+ },
1931
1986
  quantity_updates: {
1932
1987
  type: 'array',
1933
1988
  description:
@@ -1953,6 +2008,97 @@ export const tool: Tool = {
1953
2008
  required: ['starting_at'],
1954
2009
  },
1955
2010
  },
2011
+ seat_updates: {
2012
+ type: 'object',
2013
+ properties: {
2014
+ add_seat_ids: {
2015
+ type: 'array',
2016
+ description:
2017
+ 'Adds seat IDs to the subscription. If there are unassigned seats, the new seat IDs will fill these unassigned seats and not increase the total subscription quantity. Otherwise, if there are more new seat IDs than unassigned seats, the total subscription quantity will increase.',
2018
+ items: {
2019
+ type: 'object',
2020
+ properties: {
2021
+ seat_ids: {
2022
+ type: 'array',
2023
+ items: {
2024
+ type: 'string',
2025
+ },
2026
+ },
2027
+ starting_at: {
2028
+ type: 'string',
2029
+ description: 'Assigned seats will be added/removed starting at this date.',
2030
+ format: 'date-time',
2031
+ },
2032
+ },
2033
+ required: ['seat_ids', 'starting_at'],
2034
+ },
2035
+ },
2036
+ add_unassigned_seats: {
2037
+ type: 'array',
2038
+ description:
2039
+ 'Adds unassigned seats to the subscription. This will increase the total subscription quantity.',
2040
+ items: {
2041
+ type: 'object',
2042
+ properties: {
2043
+ quantity: {
2044
+ type: 'number',
2045
+ description:
2046
+ 'The number of unassigned seats on the subscription will increase/decrease by this delta. Must be greater than 0.',
2047
+ },
2048
+ starting_at: {
2049
+ type: 'string',
2050
+ description: 'Unassigned seats will be updated starting at this date.',
2051
+ format: 'date-time',
2052
+ },
2053
+ },
2054
+ required: ['quantity', 'starting_at'],
2055
+ },
2056
+ },
2057
+ remove_seat_ids: {
2058
+ type: 'array',
2059
+ description:
2060
+ 'Removes seat IDs from the subscription, if possible. If a seat ID is removed, the total subscription quantity will decrease. Otherwise, if the seat ID is not found on the subscription, this is a no-op.',
2061
+ items: {
2062
+ type: 'object',
2063
+ properties: {
2064
+ seat_ids: {
2065
+ type: 'array',
2066
+ items: {
2067
+ type: 'string',
2068
+ },
2069
+ },
2070
+ starting_at: {
2071
+ type: 'string',
2072
+ description: 'Assigned seats will be added/removed starting at this date.',
2073
+ format: 'date-time',
2074
+ },
2075
+ },
2076
+ required: ['seat_ids', 'starting_at'],
2077
+ },
2078
+ },
2079
+ remove_unassigned_seats: {
2080
+ type: 'array',
2081
+ description:
2082
+ 'Removes unassigned seats from the subscription. This will decrease the total subscription quantity if there are are unassigned seats.',
2083
+ items: {
2084
+ type: 'object',
2085
+ properties: {
2086
+ quantity: {
2087
+ type: 'number',
2088
+ description:
2089
+ 'The number of unassigned seats on the subscription will increase/decrease by this delta. Must be greater than 0.',
2090
+ },
2091
+ starting_at: {
2092
+ type: 'string',
2093
+ description: 'Unassigned seats will be updated starting at this date.',
2094
+ format: 'date-time',
2095
+ },
2096
+ },
2097
+ required: ['quantity', 'starting_at'],
2098
+ },
2099
+ },
2100
+ },
2101
+ },
1956
2102
  },
1957
2103
  required: ['subscription_id'],
1958
2104
  },
@@ -2177,7 +2323,14 @@ export const tool: Tool = {
2177
2323
 
2178
2324
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
2179
2325
  const body = args as any;
2180
- return asTextContentResult(await client.v2.contracts.edit(body));
2326
+ try {
2327
+ return asTextContentResult(await client.v2.contracts.edit(body));
2328
+ } catch (error) {
2329
+ if (error instanceof Metronome.APIError) {
2330
+ return asErrorResult(error.message);
2331
+ }
2332
+ throw error;
2333
+ }
2181
2334
  };
2182
2335
 
2183
2336
  export default { metadata, tool, handler };
@@ -1,6 +1,6 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
3
+ import { Metadata, asErrorResult, asTextContentResult } from '@metronome/mcp/tools/types';
4
4
 
5
5
  import { Tool } from '@modelcontextprotocol/sdk/types.js';
6
6
  import Metronome from '@metronome/sdk';
@@ -35,7 +35,14 @@ export const tool: Tool = {
35
35
 
36
36
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
37
37
  const body = args as any;
38
- return asTextContentResult(await client.v2.contracts.getEditHistory(body));
38
+ try {
39
+ return asTextContentResult(await client.v2.contracts.getEditHistory(body));
40
+ } catch (error) {
41
+ if (error instanceof Metronome.APIError) {
42
+ return asErrorResult(error.message);
43
+ }
44
+ throw error;
45
+ }
39
46
  };
40
47
 
41
48
  export default { metadata, tool, handler };
@@ -1,6 +1,6 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
3
+ import { Metadata, asErrorResult, asTextContentResult } from '@metronome/mcp/tools/types';
4
4
 
5
5
  import { Tool } from '@modelcontextprotocol/sdk/types.js';
6
6
  import Metronome from '@metronome/sdk';
@@ -58,7 +58,14 @@ export const tool: Tool = {
58
58
 
59
59
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
60
60
  const body = args as any;
61
- return asTextContentResult(await client.v2.contracts.list(body));
61
+ try {
62
+ return asTextContentResult(await client.v2.contracts.list(body));
63
+ } catch (error) {
64
+ if (error instanceof Metronome.APIError) {
65
+ return asErrorResult(error.message);
66
+ }
67
+ throw error;
68
+ }
62
69
  };
63
70
 
64
71
  export default { metadata, tool, handler };
@@ -1,6 +1,6 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
3
+ import { Metadata, asErrorResult, asTextContentResult } from '@metronome/mcp/tools/types';
4
4
 
5
5
  import { Tool } from '@modelcontextprotocol/sdk/types.js';
6
6
  import Metronome from '@metronome/sdk';
@@ -51,7 +51,14 @@ export const tool: Tool = {
51
51
 
52
52
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
53
53
  const body = args as any;
54
- return asTextContentResult(await client.v2.contracts.retrieve(body));
54
+ try {
55
+ return asTextContentResult(await client.v2.contracts.retrieve(body));
56
+ } catch (error) {
57
+ if (error instanceof Metronome.APIError) {
58
+ return asErrorResult(error.message);
59
+ }
60
+ throw error;
61
+ }
55
62
  };
56
63
 
57
64
  export default { metadata, tool, handler };
package/tools/types.d.mts CHANGED
@@ -34,6 +34,7 @@ export type ToolCallResult = {
34
34
  export type HandlerFunction = (client: Metronome, args: Record<string, unknown> | undefined) => Promise<ToolCallResult>;
35
35
  export declare function asTextContentResult(result: unknown): ToolCallResult;
36
36
  export declare function asBinaryContentResult(response: Response): Promise<ToolCallResult>;
37
+ export declare function asErrorResult(message: string): ToolCallResult;
37
38
  export type Metadata = {
38
39
  resource: string;
39
40
  operation: 'read' | 'write';
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.mts","sourceRoot":"","sources":["../src/tools/types.ts"],"names":[],"mappings":"OAEO,SAAS,MAAM,gBAAgB;OAC/B,EAAE,IAAI,EAAE,MAAM,oCAAoC;AAEzD,KAAK,gBAAgB,GAAG;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,KAAK,iBAAiB,GAAG;IACvB,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,KAAK,iBAAiB,GAAG;IACvB,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,KAAK,oBAAoB,GAAG;IAC1B,IAAI,EAAE,UAAU,CAAC;IACjB,QAAQ,EACJ;QACE,GAAG,EAAE,MAAM,CAAC;QACZ,QAAQ,EAAE,MAAM,CAAC;QACjB,IAAI,EAAE,MAAM,CAAC;KACd,GACD;QACE,GAAG,EAAE,MAAM,CAAC;QACZ,QAAQ,EAAE,MAAM,CAAC;QACjB,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;CACP,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,gBAAgB,GAAG,iBAAiB,GAAG,iBAAiB,GAAG,oBAAoB,CAAC;AAE3G,MAAM,MAAM,cAAc,GAAG;IAC3B,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,CAC5B,MAAM,EAAE,SAAS,EACjB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,KACtC,OAAO,CAAC,cAAc,CAAC,CAAC;AAE7B,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,OAAO,GAAG,cAAc,CASnE;AAED,wBAAsB,qBAAqB,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAAC,cAAc,CAAC,CA2BvF;AAED,MAAM,MAAM,QAAQ,GAAG;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC;IAC5B,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG;IACrB,QAAQ,EAAE,QAAQ,CAAC;IACnB,IAAI,EAAE,IAAI,CAAC;IACX,OAAO,EAAE,eAAe,CAAC;CAC1B,CAAC"}
1
+ {"version":3,"file":"types.d.mts","sourceRoot":"","sources":["../src/tools/types.ts"],"names":[],"mappings":"OAEO,SAAS,MAAM,gBAAgB;OAC/B,EAAE,IAAI,EAAE,MAAM,oCAAoC;AAEzD,KAAK,gBAAgB,GAAG;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,KAAK,iBAAiB,GAAG;IACvB,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,KAAK,iBAAiB,GAAG;IACvB,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,KAAK,oBAAoB,GAAG;IAC1B,IAAI,EAAE,UAAU,CAAC;IACjB,QAAQ,EACJ;QACE,GAAG,EAAE,MAAM,CAAC;QACZ,QAAQ,EAAE,MAAM,CAAC;QACjB,IAAI,EAAE,MAAM,CAAC;KACd,GACD;QACE,GAAG,EAAE,MAAM,CAAC;QACZ,QAAQ,EAAE,MAAM,CAAC;QACjB,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;CACP,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,gBAAgB,GAAG,iBAAiB,GAAG,iBAAiB,GAAG,oBAAoB,CAAC;AAE3G,MAAM,MAAM,cAAc,GAAG;IAC3B,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,CAC5B,MAAM,EAAE,SAAS,EACjB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,KACtC,OAAO,CAAC,cAAc,CAAC,CAAC;AAE7B,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,OAAO,GAAG,cAAc,CASnE;AAED,wBAAsB,qBAAqB,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAAC,cAAc,CAAC,CA2BvF;AAED,wBAAgB,aAAa,CAAC,OAAO,EAAE,MAAM,GAAG,cAAc,CAU7D;AAED,MAAM,MAAM,QAAQ,GAAG;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC;IAC5B,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG;IACrB,QAAQ,EAAE,QAAQ,CAAC;IACnB,IAAI,EAAE,IAAI,CAAC;IACX,OAAO,EAAE,eAAe,CAAC;CAC1B,CAAC"}
package/tools/types.d.ts CHANGED
@@ -34,6 +34,7 @@ export type ToolCallResult = {
34
34
  export type HandlerFunction = (client: Metronome, args: Record<string, unknown> | undefined) => Promise<ToolCallResult>;
35
35
  export declare function asTextContentResult(result: unknown): ToolCallResult;
36
36
  export declare function asBinaryContentResult(response: Response): Promise<ToolCallResult>;
37
+ export declare function asErrorResult(message: string): ToolCallResult;
37
38
  export type Metadata = {
38
39
  resource: string;
39
40
  operation: 'read' | 'write';
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/tools/types.ts"],"names":[],"mappings":"OAEO,SAAS,MAAM,gBAAgB;OAC/B,EAAE,IAAI,EAAE,MAAM,oCAAoC;AAEzD,KAAK,gBAAgB,GAAG;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,KAAK,iBAAiB,GAAG;IACvB,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,KAAK,iBAAiB,GAAG;IACvB,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,KAAK,oBAAoB,GAAG;IAC1B,IAAI,EAAE,UAAU,CAAC;IACjB,QAAQ,EACJ;QACE,GAAG,EAAE,MAAM,CAAC;QACZ,QAAQ,EAAE,MAAM,CAAC;QACjB,IAAI,EAAE,MAAM,CAAC;KACd,GACD;QACE,GAAG,EAAE,MAAM,CAAC;QACZ,QAAQ,EAAE,MAAM,CAAC;QACjB,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;CACP,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,gBAAgB,GAAG,iBAAiB,GAAG,iBAAiB,GAAG,oBAAoB,CAAC;AAE3G,MAAM,MAAM,cAAc,GAAG;IAC3B,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,CAC5B,MAAM,EAAE,SAAS,EACjB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,KACtC,OAAO,CAAC,cAAc,CAAC,CAAC;AAE7B,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,OAAO,GAAG,cAAc,CASnE;AAED,wBAAsB,qBAAqB,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAAC,cAAc,CAAC,CA2BvF;AAED,MAAM,MAAM,QAAQ,GAAG;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC;IAC5B,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG;IACrB,QAAQ,EAAE,QAAQ,CAAC;IACnB,IAAI,EAAE,IAAI,CAAC;IACX,OAAO,EAAE,eAAe,CAAC;CAC1B,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/tools/types.ts"],"names":[],"mappings":"OAEO,SAAS,MAAM,gBAAgB;OAC/B,EAAE,IAAI,EAAE,MAAM,oCAAoC;AAEzD,KAAK,gBAAgB,GAAG;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,KAAK,iBAAiB,GAAG;IACvB,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,KAAK,iBAAiB,GAAG;IACvB,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,KAAK,oBAAoB,GAAG;IAC1B,IAAI,EAAE,UAAU,CAAC;IACjB,QAAQ,EACJ;QACE,GAAG,EAAE,MAAM,CAAC;QACZ,QAAQ,EAAE,MAAM,CAAC;QACjB,IAAI,EAAE,MAAM,CAAC;KACd,GACD;QACE,GAAG,EAAE,MAAM,CAAC;QACZ,QAAQ,EAAE,MAAM,CAAC;QACjB,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;CACP,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,gBAAgB,GAAG,iBAAiB,GAAG,iBAAiB,GAAG,oBAAoB,CAAC;AAE3G,MAAM,MAAM,cAAc,GAAG;IAC3B,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,CAC5B,MAAM,EAAE,SAAS,EACjB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,KACtC,OAAO,CAAC,cAAc,CAAC,CAAC;AAE7B,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,OAAO,GAAG,cAAc,CASnE;AAED,wBAAsB,qBAAqB,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAAC,cAAc,CAAC,CA2BvF;AAED,wBAAgB,aAAa,CAAC,OAAO,EAAE,MAAM,GAAG,cAAc,CAU7D;AAED,MAAM,MAAM,QAAQ,GAAG;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC;IAC5B,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG;IACrB,QAAQ,EAAE,QAAQ,CAAC;IACnB,IAAI,EAAE,IAAI,CAAC;IACX,OAAO,EAAE,eAAe,CAAC;CAC1B,CAAC"}
package/tools/types.js CHANGED
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.asTextContentResult = asTextContentResult;
5
5
  exports.asBinaryContentResult = asBinaryContentResult;
6
+ exports.asErrorResult = asErrorResult;
6
7
  function asTextContentResult(result) {
7
8
  return {
8
9
  content: [
@@ -43,4 +44,15 @@ async function asBinaryContentResult(response) {
43
44
  };
44
45
  }
45
46
  }
47
+ function asErrorResult(message) {
48
+ return {
49
+ content: [
50
+ {
51
+ type: 'text',
52
+ text: message,
53
+ },
54
+ ],
55
+ isError: true,
56
+ };
57
+ }
46
58
  //# sourceMappingURL=types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/tools/types.ts"],"names":[],"mappings":";AAAA,sFAAsF;;AAiDtF,kDASC;AAED,sDA2BC;AAtCD,SAAgB,mBAAmB,CAAC,MAAe;IACjD,OAAO;QACL,OAAO,EAAE;YACP;gBACE,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;aACtC;SACF;KACF,CAAC;AACJ,CAAC;AAEM,KAAK,UAAU,qBAAqB,CAAC,QAAkB;IAC5D,MAAM,IAAI,GAAG,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;IACnC,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC;IAC3B,MAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,MAAM,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;IACtE,IAAI,QAAQ,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE,CAAC;QAClC,OAAO;YACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;SAC7C,CAAC;IACJ,CAAC;SAAM,IAAI,QAAQ,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE,CAAC;QACzC,OAAO;YACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;SAC7C,CAAC;IACJ,CAAC;SAAM,CAAC;QACN,OAAO;YACL,OAAO,EAAE;gBACP;oBACE,IAAI,EAAE,UAAU;oBAChB,QAAQ,EAAE;wBACR,uEAAuE;wBACvE,GAAG,EAAE,0BAA0B;wBAC/B,QAAQ;wBACR,IAAI,EAAE,IAAI;qBACX;iBACF;aACF;SACF,CAAC;IACJ,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/tools/types.ts"],"names":[],"mappings":";AAAA,sFAAsF;;AAiDtF,kDASC;AAED,sDA2BC;AAED,sCAUC;AAlDD,SAAgB,mBAAmB,CAAC,MAAe;IACjD,OAAO;QACL,OAAO,EAAE;YACP;gBACE,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;aACtC;SACF;KACF,CAAC;AACJ,CAAC;AAEM,KAAK,UAAU,qBAAqB,CAAC,QAAkB;IAC5D,MAAM,IAAI,GAAG,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;IACnC,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC;IAC3B,MAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,MAAM,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;IACtE,IAAI,QAAQ,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE,CAAC;QAClC,OAAO;YACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;SAC7C,CAAC;IACJ,CAAC;SAAM,IAAI,QAAQ,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE,CAAC;QACzC,OAAO;YACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;SAC7C,CAAC;IACJ,CAAC;SAAM,CAAC;QACN,OAAO;YACL,OAAO,EAAE;gBACP;oBACE,IAAI,EAAE,UAAU;oBAChB,QAAQ,EAAE;wBACR,uEAAuE;wBACvE,GAAG,EAAE,0BAA0B;wBAC/B,QAAQ;wBACR,IAAI,EAAE,IAAI;qBACX;iBACF;aACF;SACF,CAAC;IACJ,CAAC;AACH,CAAC;AAED,SAAgB,aAAa,CAAC,OAAe;IAC3C,OAAO;QACL,OAAO,EAAE;YACP;gBACE,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,OAAO;aACd;SACF;QACD,OAAO,EAAE,IAAI;KACd,CAAC;AACJ,CAAC"}
package/tools/types.mjs CHANGED
@@ -39,4 +39,15 @@ export async function asBinaryContentResult(response) {
39
39
  };
40
40
  }
41
41
  }
42
+ export function asErrorResult(message) {
43
+ return {
44
+ content: [
45
+ {
46
+ type: 'text',
47
+ text: message,
48
+ },
49
+ ],
50
+ isError: true,
51
+ };
52
+ }
42
53
  //# sourceMappingURL=types.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.mjs","sourceRoot":"","sources":["../src/tools/types.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAiDtF,MAAM,UAAU,mBAAmB,CAAC,MAAe;IACjD,OAAO;QACL,OAAO,EAAE;YACP;gBACE,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;aACtC;SACF;KACF,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,qBAAqB,CAAC,QAAkB;IAC5D,MAAM,IAAI,GAAG,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;IACnC,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC;IAC3B,MAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,MAAM,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;IACtE,IAAI,QAAQ,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE,CAAC;QAClC,OAAO;YACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;SAC7C,CAAC;IACJ,CAAC;SAAM,IAAI,QAAQ,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE,CAAC;QACzC,OAAO;YACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;SAC7C,CAAC;IACJ,CAAC;SAAM,CAAC;QACN,OAAO;YACL,OAAO,EAAE;gBACP;oBACE,IAAI,EAAE,UAAU;oBAChB,QAAQ,EAAE;wBACR,uEAAuE;wBACvE,GAAG,EAAE,0BAA0B;wBAC/B,QAAQ;wBACR,IAAI,EAAE,IAAI;qBACX;iBACF;aACF;SACF,CAAC;IACJ,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"types.mjs","sourceRoot":"","sources":["../src/tools/types.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAiDtF,MAAM,UAAU,mBAAmB,CAAC,MAAe;IACjD,OAAO;QACL,OAAO,EAAE;YACP;gBACE,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;aACtC;SACF;KACF,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,qBAAqB,CAAC,QAAkB;IAC5D,MAAM,IAAI,GAAG,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;IACnC,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC;IAC3B,MAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,MAAM,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;IACtE,IAAI,QAAQ,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE,CAAC;QAClC,OAAO;YACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;SAC7C,CAAC;IACJ,CAAC;SAAM,IAAI,QAAQ,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE,CAAC;QACzC,OAAO;YACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;SAC7C,CAAC;IACJ,CAAC;SAAM,CAAC;QACN,OAAO;YACL,OAAO,EAAE;gBACP;oBACE,IAAI,EAAE,UAAU;oBAChB,QAAQ,EAAE;wBACR,uEAAuE;wBACvE,GAAG,EAAE,0BAA0B;wBAC/B,QAAQ;wBACR,IAAI,EAAE,IAAI;qBACX;iBACF;aACF;SACF,CAAC;IACJ,CAAC;AACH,CAAC;AAED,MAAM,UAAU,aAAa,CAAC,OAAe;IAC3C,OAAO;QACL,OAAO,EAAE;YACP;gBACE,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,OAAO;aACd;SACF;QACD,OAAO,EAAE,IAAI;KACd,CAAC;AACJ,CAAC"}
@@ -7,37 +7,43 @@ export declare const handler: (client: Metronome, args: Record<string, unknown>
7
7
  declare const _default: {
8
8
  metadata: Metadata;
9
9
  tool: {
10
- [x: string]: unknown;
11
- name: string;
12
10
  inputSchema: {
13
11
  [x: string]: unknown;
14
12
  type: "object";
15
13
  properties?: {
16
- [x: string]: unknown;
14
+ [x: string]: object;
17
15
  } | undefined;
18
16
  required?: string[] | undefined;
19
17
  };
20
- title?: string | undefined;
18
+ name: string;
21
19
  description?: string | undefined;
22
20
  outputSchema?: {
23
21
  [x: string]: unknown;
24
22
  type: "object";
25
23
  properties?: {
26
- [x: string]: unknown;
24
+ [x: string]: object;
27
25
  } | undefined;
28
26
  required?: string[] | undefined;
29
27
  } | undefined;
30
28
  annotations?: {
31
- [x: string]: unknown;
32
29
  title?: string | undefined;
33
30
  readOnlyHint?: boolean | undefined;
34
31
  destructiveHint?: boolean | undefined;
35
32
  idempotentHint?: boolean | undefined;
36
33
  openWorldHint?: boolean | undefined;
37
34
  } | undefined;
35
+ execution?: {
36
+ taskSupport?: "optional" | "required" | "forbidden" | undefined;
37
+ } | undefined;
38
38
  _meta?: {
39
39
  [x: string]: unknown;
40
40
  } | undefined;
41
+ icons?: {
42
+ src: string;
43
+ mimeType?: string | undefined;
44
+ sizes?: string[] | undefined;
45
+ }[] | undefined;
46
+ title?: string | undefined;
41
47
  };
42
48
  handler: (client: Metronome, args: Record<string, unknown> | undefined) => Promise<import("@metronome/mcp/tools/types").ToolCallResult>;
43
49
  };
@@ -1 +1 @@
1
- {"version":3,"file":"archive-v1-alerts.d.mts","sourceRoot":"","sources":["../../../src/tools/v1/alerts/archive-v1-alerts.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAuB,MAAM,4BAA4B;OAEnE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,SAAS,MAAM,gBAAgB;AAEtC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAyBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAGzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAK1F,wBAA2C"}
1
+ {"version":3,"file":"archive-v1-alerts.d.mts","sourceRoot":"","sources":["../../../src/tools/v1/alerts/archive-v1-alerts.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,IAyBlB,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"}