@metronome/mcp 0.1.0-beta.11 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (980) hide show
  1. package/README.md +4 -2
  2. package/compat.d.mts +2 -0
  3. package/compat.d.mts.map +1 -1
  4. package/compat.d.ts +2 -0
  5. package/compat.d.ts.map +1 -1
  6. package/compat.js +38 -1
  7. package/compat.js.map +1 -1
  8. package/compat.mjs +37 -0
  9. package/compat.mjs.map +1 -1
  10. package/dynamic-tools.d.mts +1 -1
  11. package/dynamic-tools.d.mts.map +1 -1
  12. package/dynamic-tools.d.ts +1 -1
  13. package/dynamic-tools.d.ts.map +1 -1
  14. package/dynamic-tools.js +5 -4
  15. package/dynamic-tools.js.map +1 -1
  16. package/dynamic-tools.mjs +5 -4
  17. package/dynamic-tools.mjs.map +1 -1
  18. package/filtering.d.mts +2 -0
  19. package/filtering.d.mts.map +1 -0
  20. package/filtering.d.ts +2 -0
  21. package/filtering.d.ts.map +1 -0
  22. package/filtering.js +21 -0
  23. package/filtering.js.map +1 -0
  24. package/filtering.mjs +14 -0
  25. package/filtering.mjs.map +1 -0
  26. package/index.d.mts +1 -0
  27. package/index.d.ts +1 -0
  28. package/index.js.map +1 -1
  29. package/index.mjs +1 -0
  30. package/index.mjs.map +1 -1
  31. package/options.d.mts +9 -6
  32. package/options.d.mts.map +1 -1
  33. package/options.d.ts +9 -6
  34. package/options.d.ts.map +1 -1
  35. package/options.js +5 -46
  36. package/options.js.map +1 -1
  37. package/options.mjs +5 -46
  38. package/options.mjs.map +1 -1
  39. package/package.json +5 -4
  40. package/server.d.mts +17 -8
  41. package/server.d.mts.map +1 -1
  42. package/server.d.ts +17 -8
  43. package/server.d.ts.map +1 -1
  44. package/server.js +31 -25
  45. package/server.js.map +1 -1
  46. package/server.mjs +31 -26
  47. package/server.mjs.map +1 -1
  48. package/src/compat.ts +40 -0
  49. package/src/dynamic-tools.ts +13 -7
  50. package/src/filtering.ts +15 -0
  51. package/src/index.ts +4 -2
  52. package/src/options.ts +12 -54
  53. package/src/server.ts +43 -30
  54. package/src/tools/index.ts +10 -22
  55. package/src/tools/types.ts +103 -0
  56. package/src/tools/v1/alerts/archive-v1-alerts.ts +15 -4
  57. package/src/tools/v1/alerts/create-v1-alerts.ts +17 -4
  58. package/src/tools/v1/audit-logs/list-v1-audit-logs.ts +17 -4
  59. package/src/tools/v1/billable-metrics/archive-v1-billable-metrics.ts +15 -4
  60. package/src/tools/v1/billable-metrics/create-v1-billable-metrics.ts +15 -5
  61. package/src/tools/v1/billable-metrics/list-v1-billable-metrics.ts +18 -4
  62. package/src/tools/v1/billable-metrics/retrieve-v1-billable-metrics.ts +17 -4
  63. package/src/tools/v1/contracts/add-manual-balance-entry-v1-contracts.ts +15 -4
  64. package/src/tools/v1/contracts/amend-v1-contracts.ts +127 -16
  65. package/src/tools/v1/contracts/archive-v1-contracts.ts +15 -4
  66. package/src/tools/v1/contracts/create-historical-invoices-v1-contracts.ts +8 -4
  67. package/src/tools/v1/contracts/create-v1-contracts.ts +328 -47
  68. package/src/tools/v1/contracts/list-balances-v1-contracts.ts +12 -4
  69. package/src/tools/v1/contracts/list-v1-contracts.ts +7 -4
  70. package/src/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.ts +16 -4
  71. package/src/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.ts +14 -4
  72. package/src/tools/v1/contracts/products/archive-contracts-v1-products.ts +15 -4
  73. package/src/tools/v1/contracts/products/create-contracts-v1-products.ts +15 -4
  74. package/src/tools/v1/contracts/products/list-contracts-v1-products.ts +16 -4
  75. package/src/tools/v1/contracts/products/retrieve-contracts-v1-products.ts +15 -4
  76. package/src/tools/v1/contracts/products/update-contracts-v1-products.ts +15 -4
  77. package/src/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.ts +15 -4
  78. package/src/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.ts +15 -4
  79. package/src/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.ts +15 -4
  80. package/src/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.ts +16 -4
  81. package/src/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.ts +14 -4
  82. package/src/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.ts +17 -4
  83. package/src/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.ts +17 -4
  84. package/src/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.ts +17 -4
  85. package/src/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.ts +15 -4
  86. package/src/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.ts +16 -5
  87. package/src/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.ts +14 -4
  88. package/src/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.ts +16 -5
  89. package/src/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.ts +15 -4
  90. package/src/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.ts +15 -5
  91. package/src/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.ts +16 -4
  92. package/src/tools/v1/contracts/retrieve-v1-contracts.ts +7 -4
  93. package/src/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.ts +7 -4
  94. package/src/tools/v1/contracts/set-usage-filter-v1-contracts.ts +15 -4
  95. package/src/tools/v1/contracts/update-end-date-v1-contracts.ts +15 -4
  96. package/src/tools/v1/credit-grants/create-v1-credit-grants.ts +15 -4
  97. package/src/tools/v1/credit-grants/edit-v1-credit-grants.ts +15 -4
  98. package/src/tools/v1/credit-grants/list-entries-v1-credit-grants.ts +19 -4
  99. package/src/tools/v1/credit-grants/list-v1-credit-grants.ts +16 -4
  100. package/src/tools/v1/credit-grants/void-v1-credit-grants.ts +15 -4
  101. package/src/tools/v1/custom-fields/add-key-v1-custom-fields.ts +14 -4
  102. package/src/tools/v1/custom-fields/delete-values-v1-custom-fields.ts +15 -4
  103. package/src/tools/v1/custom-fields/list-keys-v1-custom-fields.ts +15 -4
  104. package/src/tools/v1/custom-fields/remove-key-v1-custom-fields.ts +15 -4
  105. package/src/tools/v1/custom-fields/set-values-v1-custom-fields.ts +14 -4
  106. package/src/tools/v1/customers/alerts/list-customers-v1-alerts.ts +15 -4
  107. package/src/tools/v1/customers/alerts/reset-customers-v1-alerts.ts +15 -4
  108. package/src/tools/v1/customers/alerts/retrieve-customers-v1-alerts.ts +15 -4
  109. package/src/tools/v1/customers/archive-v1-customers.ts +15 -4
  110. package/src/tools/v1/customers/billing-config/create-customers-v1-billing-config.ts +15 -4
  111. package/src/tools/v1/customers/billing-config/delete-customers-v1-billing-config.ts +16 -4
  112. package/src/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.ts +17 -4
  113. package/src/tools/v1/customers/commits/create-customers-v1-commits.ts +17 -8
  114. package/src/tools/v1/customers/commits/list-customers-v1-commits.ts +12 -4
  115. package/src/tools/v1/customers/commits/update-end-date-customers-v1-commits.ts +14 -4
  116. package/src/tools/v1/customers/create-v1-customers.ts +15 -4
  117. package/src/tools/v1/customers/credits/create-customers-v1-credits.ts +15 -5
  118. package/src/tools/v1/customers/credits/list-customers-v1-credits.ts +12 -4
  119. package/src/tools/v1/customers/credits/update-end-date-customers-v1-credits.ts +14 -4
  120. package/src/tools/v1/customers/invoices/add-charge-customers-v1-invoices.ts +23 -4
  121. package/src/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.ts +10 -4
  122. package/src/tools/v1/customers/invoices/list-customers-v1-invoices.ts +10 -4
  123. package/src/tools/v1/customers/invoices/retrieve-customers-v1-invoices.ts +10 -4
  124. package/src/tools/v1/customers/list-billable-metrics-v1-customers.ts +18 -4
  125. package/src/tools/v1/customers/list-costs-v1-customers.ts +17 -4
  126. package/src/tools/v1/customers/list-v1-customers.ts +18 -4
  127. package/src/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.ts +16 -4
  128. package/src/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.ts +14 -4
  129. package/src/tools/v1/customers/plans/add-customers-v1-plans.ts +14 -4
  130. package/src/tools/v1/customers/plans/end-customers-v1-plans.ts +15 -4
  131. package/src/tools/v1/customers/plans/list-customers-v1-plans.ts +18 -4
  132. package/src/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.ts +17 -4
  133. package/src/tools/v1/customers/preview-events-v1-customers.ts +77 -0
  134. package/src/tools/v1/customers/retrieve-v1-customers.ts +17 -4
  135. package/src/tools/v1/customers/set-ingest-aliases-v1-customers.ts +14 -4
  136. package/src/tools/v1/customers/set-name-v1-customers.ts +15 -4
  137. package/src/tools/v1/customers/update-config-v1-customers.ts +15 -4
  138. package/src/tools/v1/dashboards/get-embeddable-url-v1-dashboards.ts +15 -6
  139. package/src/tools/v1/invoices/regenerate-v1-invoices.ts +15 -4
  140. package/src/tools/v1/invoices/void-v1-invoices.ts +15 -4
  141. package/src/tools/v1/plans/get-details-v1-plans.ts +17 -4
  142. package/src/tools/v1/plans/list-charges-v1-plans.ts +18 -4
  143. package/src/tools/v1/plans/list-customers-v1-plans.ts +17 -4
  144. package/src/tools/v1/plans/list-v1-plans.ts +18 -4
  145. package/src/tools/v1/pricing-units/list-v1-pricing-units.ts +18 -4
  146. package/src/tools/v1/services/list-v1-services.ts +18 -5
  147. package/src/tools/v1/usage/ingest-v1-usage.ts +14 -4
  148. package/src/tools/v1/usage/list-v1-usage.ts +14 -4
  149. package/src/tools/v1/usage/list-with-groups-v1-usage.ts +15 -4
  150. package/src/tools/v1/usage/search-v1-usage.ts +49 -0
  151. package/src/tools/v2/contracts/edit-commit-v2-contracts.ts +16 -9
  152. package/src/tools/v2/contracts/edit-credit-v2-contracts.ts +14 -6
  153. package/src/tools/v2/contracts/edit-v2-contracts.ts +462 -69
  154. package/src/tools/v2/contracts/get-edit-history-v2-contracts.ts +7 -4
  155. package/src/tools/v2/contracts/list-v2-contracts.ts +7 -4
  156. package/src/tools/v2/contracts/retrieve-v2-contracts.ts +8 -4
  157. package/tools/index.d.mts +2 -16
  158. package/tools/index.d.mts.map +1 -1
  159. package/tools/index.d.ts +2 -16
  160. package/tools/index.d.ts.map +1 -1
  161. package/tools/index.js +7 -2
  162. package/tools/index.js.map +1 -1
  163. package/tools/index.mjs +7 -2
  164. package/tools/index.mjs.map +1 -1
  165. package/tools/types.d.mts +51 -0
  166. package/tools/types.d.mts.map +1 -0
  167. package/tools/types.d.ts +51 -0
  168. package/tools/types.d.ts.map +1 -0
  169. package/tools/types.js +46 -0
  170. package/tools/types.js.map +1 -0
  171. package/tools/types.mjs +42 -0
  172. package/tools/types.mjs.map +1 -0
  173. package/tools/v1/alerts/archive-v1-alerts.d.mts +16 -3
  174. package/tools/v1/alerts/archive-v1-alerts.d.mts.map +1 -1
  175. package/tools/v1/alerts/archive-v1-alerts.d.ts +16 -3
  176. package/tools/v1/alerts/archive-v1-alerts.d.ts.map +1 -1
  177. package/tools/v1/alerts/archive-v1-alerts.js +12 -3
  178. package/tools/v1/alerts/archive-v1-alerts.js.map +1 -1
  179. package/tools/v1/alerts/archive-v1-alerts.mjs +12 -3
  180. package/tools/v1/alerts/archive-v1-alerts.mjs.map +1 -1
  181. package/tools/v1/alerts/create-v1-alerts.d.mts +16 -3
  182. package/tools/v1/alerts/create-v1-alerts.d.mts.map +1 -1
  183. package/tools/v1/alerts/create-v1-alerts.d.ts +16 -3
  184. package/tools/v1/alerts/create-v1-alerts.d.ts.map +1 -1
  185. package/tools/v1/alerts/create-v1-alerts.js +13 -3
  186. package/tools/v1/alerts/create-v1-alerts.js.map +1 -1
  187. package/tools/v1/alerts/create-v1-alerts.mjs +13 -3
  188. package/tools/v1/alerts/create-v1-alerts.mjs.map +1 -1
  189. package/tools/v1/audit-logs/list-v1-audit-logs.d.mts +16 -3
  190. package/tools/v1/audit-logs/list-v1-audit-logs.d.mts.map +1 -1
  191. package/tools/v1/audit-logs/list-v1-audit-logs.d.ts +16 -3
  192. package/tools/v1/audit-logs/list-v1-audit-logs.d.ts.map +1 -1
  193. package/tools/v1/audit-logs/list-v1-audit-logs.js +15 -3
  194. package/tools/v1/audit-logs/list-v1-audit-logs.js.map +1 -1
  195. package/tools/v1/audit-logs/list-v1-audit-logs.mjs +15 -3
  196. package/tools/v1/audit-logs/list-v1-audit-logs.mjs.map +1 -1
  197. package/tools/v1/billable-metrics/archive-v1-billable-metrics.d.mts +16 -3
  198. package/tools/v1/billable-metrics/archive-v1-billable-metrics.d.mts.map +1 -1
  199. package/tools/v1/billable-metrics/archive-v1-billable-metrics.d.ts +16 -3
  200. package/tools/v1/billable-metrics/archive-v1-billable-metrics.d.ts.map +1 -1
  201. package/tools/v1/billable-metrics/archive-v1-billable-metrics.js +12 -3
  202. package/tools/v1/billable-metrics/archive-v1-billable-metrics.js.map +1 -1
  203. package/tools/v1/billable-metrics/archive-v1-billable-metrics.mjs +12 -3
  204. package/tools/v1/billable-metrics/archive-v1-billable-metrics.mjs.map +1 -1
  205. package/tools/v1/billable-metrics/create-v1-billable-metrics.d.mts +16 -3
  206. package/tools/v1/billable-metrics/create-v1-billable-metrics.d.mts.map +1 -1
  207. package/tools/v1/billable-metrics/create-v1-billable-metrics.d.ts +16 -3
  208. package/tools/v1/billable-metrics/create-v1-billable-metrics.d.ts.map +1 -1
  209. package/tools/v1/billable-metrics/create-v1-billable-metrics.js +12 -4
  210. package/tools/v1/billable-metrics/create-v1-billable-metrics.js.map +1 -1
  211. package/tools/v1/billable-metrics/create-v1-billable-metrics.mjs +12 -4
  212. package/tools/v1/billable-metrics/create-v1-billable-metrics.mjs.map +1 -1
  213. package/tools/v1/billable-metrics/list-v1-billable-metrics.d.mts +16 -3
  214. package/tools/v1/billable-metrics/list-v1-billable-metrics.d.mts.map +1 -1
  215. package/tools/v1/billable-metrics/list-v1-billable-metrics.d.ts +16 -3
  216. package/tools/v1/billable-metrics/list-v1-billable-metrics.d.ts.map +1 -1
  217. package/tools/v1/billable-metrics/list-v1-billable-metrics.js +15 -3
  218. package/tools/v1/billable-metrics/list-v1-billable-metrics.js.map +1 -1
  219. package/tools/v1/billable-metrics/list-v1-billable-metrics.mjs +15 -3
  220. package/tools/v1/billable-metrics/list-v1-billable-metrics.mjs.map +1 -1
  221. package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.d.mts +16 -3
  222. package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.d.mts.map +1 -1
  223. package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.d.ts +16 -3
  224. package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.d.ts.map +1 -1
  225. package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.js +14 -3
  226. package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.js.map +1 -1
  227. package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.mjs +14 -3
  228. package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.mjs.map +1 -1
  229. package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.d.mts +16 -3
  230. package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.d.mts.map +1 -1
  231. package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.d.ts +16 -3
  232. package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.d.ts.map +1 -1
  233. package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.js +12 -3
  234. package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.js.map +1 -1
  235. package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.mjs +12 -3
  236. package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.mjs.map +1 -1
  237. package/tools/v1/contracts/amend-v1-contracts.d.mts +16 -3
  238. package/tools/v1/contracts/amend-v1-contracts.d.mts.map +1 -1
  239. package/tools/v1/contracts/amend-v1-contracts.d.ts +16 -3
  240. package/tools/v1/contracts/amend-v1-contracts.d.ts.map +1 -1
  241. package/tools/v1/contracts/amend-v1-contracts.js +123 -15
  242. package/tools/v1/contracts/amend-v1-contracts.js.map +1 -1
  243. package/tools/v1/contracts/amend-v1-contracts.mjs +123 -15
  244. package/tools/v1/contracts/amend-v1-contracts.mjs.map +1 -1
  245. package/tools/v1/contracts/archive-v1-contracts.d.mts +16 -3
  246. package/tools/v1/contracts/archive-v1-contracts.d.mts.map +1 -1
  247. package/tools/v1/contracts/archive-v1-contracts.d.ts +16 -3
  248. package/tools/v1/contracts/archive-v1-contracts.d.ts.map +1 -1
  249. package/tools/v1/contracts/archive-v1-contracts.js +12 -3
  250. package/tools/v1/contracts/archive-v1-contracts.js.map +1 -1
  251. package/tools/v1/contracts/archive-v1-contracts.mjs +12 -3
  252. package/tools/v1/contracts/archive-v1-contracts.mjs.map +1 -1
  253. package/tools/v1/contracts/create-historical-invoices-v1-contracts.d.mts +16 -3
  254. package/tools/v1/contracts/create-historical-invoices-v1-contracts.d.mts.map +1 -1
  255. package/tools/v1/contracts/create-historical-invoices-v1-contracts.d.ts +16 -3
  256. package/tools/v1/contracts/create-historical-invoices-v1-contracts.d.ts.map +1 -1
  257. package/tools/v1/contracts/create-historical-invoices-v1-contracts.js +6 -3
  258. package/tools/v1/contracts/create-historical-invoices-v1-contracts.js.map +1 -1
  259. package/tools/v1/contracts/create-historical-invoices-v1-contracts.mjs +6 -3
  260. package/tools/v1/contracts/create-historical-invoices-v1-contracts.mjs.map +1 -1
  261. package/tools/v1/contracts/create-v1-contracts.d.mts +16 -3
  262. package/tools/v1/contracts/create-v1-contracts.d.mts.map +1 -1
  263. package/tools/v1/contracts/create-v1-contracts.d.ts +16 -3
  264. package/tools/v1/contracts/create-v1-contracts.d.ts.map +1 -1
  265. package/tools/v1/contracts/create-v1-contracts.js +310 -46
  266. package/tools/v1/contracts/create-v1-contracts.js.map +1 -1
  267. package/tools/v1/contracts/create-v1-contracts.mjs +310 -46
  268. package/tools/v1/contracts/create-v1-contracts.mjs.map +1 -1
  269. package/tools/v1/contracts/list-balances-v1-contracts.d.mts +16 -3
  270. package/tools/v1/contracts/list-balances-v1-contracts.d.mts.map +1 -1
  271. package/tools/v1/contracts/list-balances-v1-contracts.d.ts +16 -3
  272. package/tools/v1/contracts/list-balances-v1-contracts.d.ts.map +1 -1
  273. package/tools/v1/contracts/list-balances-v1-contracts.js +10 -3
  274. package/tools/v1/contracts/list-balances-v1-contracts.js.map +1 -1
  275. package/tools/v1/contracts/list-balances-v1-contracts.mjs +10 -3
  276. package/tools/v1/contracts/list-balances-v1-contracts.mjs.map +1 -1
  277. package/tools/v1/contracts/list-v1-contracts.d.mts +16 -3
  278. package/tools/v1/contracts/list-v1-contracts.d.mts.map +1 -1
  279. package/tools/v1/contracts/list-v1-contracts.d.ts +16 -3
  280. package/tools/v1/contracts/list-v1-contracts.d.ts.map +1 -1
  281. package/tools/v1/contracts/list-v1-contracts.js +6 -3
  282. package/tools/v1/contracts/list-v1-contracts.js.map +1 -1
  283. package/tools/v1/contracts/list-v1-contracts.mjs +6 -3
  284. package/tools/v1/contracts/list-v1-contracts.mjs.map +1 -1
  285. package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.d.mts +16 -3
  286. package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.d.mts.map +1 -1
  287. package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.d.ts +16 -3
  288. package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.d.ts.map +1 -1
  289. package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.js +12 -3
  290. package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.js.map +1 -1
  291. package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.mjs +12 -3
  292. package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.mjs.map +1 -1
  293. package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.d.mts +16 -3
  294. package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.d.mts.map +1 -1
  295. package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.d.ts +16 -3
  296. package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.d.ts.map +1 -1
  297. package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.js +12 -3
  298. package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.js.map +1 -1
  299. package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.mjs +12 -3
  300. package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.mjs.map +1 -1
  301. package/tools/v1/contracts/products/archive-contracts-v1-products.d.mts +16 -3
  302. package/tools/v1/contracts/products/archive-contracts-v1-products.d.mts.map +1 -1
  303. package/tools/v1/contracts/products/archive-contracts-v1-products.d.ts +16 -3
  304. package/tools/v1/contracts/products/archive-contracts-v1-products.d.ts.map +1 -1
  305. package/tools/v1/contracts/products/archive-contracts-v1-products.js +12 -3
  306. package/tools/v1/contracts/products/archive-contracts-v1-products.js.map +1 -1
  307. package/tools/v1/contracts/products/archive-contracts-v1-products.mjs +12 -3
  308. package/tools/v1/contracts/products/archive-contracts-v1-products.mjs.map +1 -1
  309. package/tools/v1/contracts/products/create-contracts-v1-products.d.mts +16 -3
  310. package/tools/v1/contracts/products/create-contracts-v1-products.d.mts.map +1 -1
  311. package/tools/v1/contracts/products/create-contracts-v1-products.d.ts +16 -3
  312. package/tools/v1/contracts/products/create-contracts-v1-products.d.ts.map +1 -1
  313. package/tools/v1/contracts/products/create-contracts-v1-products.js +12 -3
  314. package/tools/v1/contracts/products/create-contracts-v1-products.js.map +1 -1
  315. package/tools/v1/contracts/products/create-contracts-v1-products.mjs +12 -3
  316. package/tools/v1/contracts/products/create-contracts-v1-products.mjs.map +1 -1
  317. package/tools/v1/contracts/products/list-contracts-v1-products.d.mts +16 -3
  318. package/tools/v1/contracts/products/list-contracts-v1-products.d.mts.map +1 -1
  319. package/tools/v1/contracts/products/list-contracts-v1-products.d.ts +16 -3
  320. package/tools/v1/contracts/products/list-contracts-v1-products.d.ts.map +1 -1
  321. package/tools/v1/contracts/products/list-contracts-v1-products.js +13 -3
  322. package/tools/v1/contracts/products/list-contracts-v1-products.js.map +1 -1
  323. package/tools/v1/contracts/products/list-contracts-v1-products.mjs +13 -3
  324. package/tools/v1/contracts/products/list-contracts-v1-products.mjs.map +1 -1
  325. package/tools/v1/contracts/products/retrieve-contracts-v1-products.d.mts +16 -3
  326. package/tools/v1/contracts/products/retrieve-contracts-v1-products.d.mts.map +1 -1
  327. package/tools/v1/contracts/products/retrieve-contracts-v1-products.d.ts +16 -3
  328. package/tools/v1/contracts/products/retrieve-contracts-v1-products.d.ts.map +1 -1
  329. package/tools/v1/contracts/products/retrieve-contracts-v1-products.js +12 -3
  330. package/tools/v1/contracts/products/retrieve-contracts-v1-products.js.map +1 -1
  331. package/tools/v1/contracts/products/retrieve-contracts-v1-products.mjs +12 -3
  332. package/tools/v1/contracts/products/retrieve-contracts-v1-products.mjs.map +1 -1
  333. package/tools/v1/contracts/products/update-contracts-v1-products.d.mts +16 -3
  334. package/tools/v1/contracts/products/update-contracts-v1-products.d.mts.map +1 -1
  335. package/tools/v1/contracts/products/update-contracts-v1-products.d.ts +16 -3
  336. package/tools/v1/contracts/products/update-contracts-v1-products.d.ts.map +1 -1
  337. package/tools/v1/contracts/products/update-contracts-v1-products.js +12 -3
  338. package/tools/v1/contracts/products/update-contracts-v1-products.js.map +1 -1
  339. package/tools/v1/contracts/products/update-contracts-v1-products.mjs +12 -3
  340. package/tools/v1/contracts/products/update-contracts-v1-products.mjs.map +1 -1
  341. package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.d.mts +16 -3
  342. package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.d.mts.map +1 -1
  343. package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.d.ts +16 -3
  344. package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.d.ts.map +1 -1
  345. package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.js +12 -3
  346. package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.js.map +1 -1
  347. package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.mjs +12 -3
  348. package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.mjs.map +1 -1
  349. package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.d.mts +16 -3
  350. package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.d.mts.map +1 -1
  351. package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.d.ts +16 -3
  352. package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.d.ts.map +1 -1
  353. package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.js +12 -3
  354. package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.js.map +1 -1
  355. package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.mjs +12 -3
  356. package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.mjs.map +1 -1
  357. package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.d.mts +16 -3
  358. package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.d.mts.map +1 -1
  359. package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.d.ts +16 -3
  360. package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.d.ts.map +1 -1
  361. package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.js +13 -3
  362. package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.js.map +1 -1
  363. package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.mjs +13 -3
  364. package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.mjs.map +1 -1
  365. package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.d.mts +16 -3
  366. package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.d.mts.map +1 -1
  367. package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.d.ts +16 -3
  368. package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.d.ts.map +1 -1
  369. package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.js +12 -3
  370. package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.js.map +1 -1
  371. package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.mjs +12 -3
  372. package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.mjs.map +1 -1
  373. package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.d.mts +16 -3
  374. package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.d.mts.map +1 -1
  375. package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.d.ts +16 -3
  376. package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.d.ts.map +1 -1
  377. package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.js +12 -3
  378. package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.js.map +1 -1
  379. package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.mjs +12 -3
  380. package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.mjs.map +1 -1
  381. package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.d.mts +16 -3
  382. package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.d.mts.map +1 -1
  383. package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.d.ts +16 -3
  384. package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.d.ts.map +1 -1
  385. package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.js +12 -3
  386. package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.js.map +1 -1
  387. package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.mjs +12 -3
  388. package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.mjs.map +1 -1
  389. package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.d.mts +16 -3
  390. package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.d.mts.map +1 -1
  391. package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.d.ts +16 -3
  392. package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.d.ts.map +1 -1
  393. package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.js +12 -3
  394. package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.js.map +1 -1
  395. package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.mjs +12 -3
  396. package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.mjs.map +1 -1
  397. package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.d.mts +16 -3
  398. package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.d.mts.map +1 -1
  399. package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.d.ts +16 -3
  400. package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.d.ts.map +1 -1
  401. package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.js +12 -3
  402. package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.js.map +1 -1
  403. package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.mjs +12 -3
  404. package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.mjs.map +1 -1
  405. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.d.mts +16 -3
  406. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.d.mts.map +1 -1
  407. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.d.ts +16 -3
  408. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.d.ts.map +1 -1
  409. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.js +12 -3
  410. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.js.map +1 -1
  411. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.mjs +12 -3
  412. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.mjs.map +1 -1
  413. package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.d.mts +16 -3
  414. package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.d.mts.map +1 -1
  415. package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.d.ts +16 -3
  416. package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.d.ts.map +1 -1
  417. package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.js +13 -4
  418. package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.js.map +1 -1
  419. package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.mjs +13 -4
  420. package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.mjs.map +1 -1
  421. package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.d.mts +16 -3
  422. package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.d.mts.map +1 -1
  423. package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.d.ts +16 -3
  424. package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.d.ts.map +1 -1
  425. package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.js +12 -3
  426. package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.js.map +1 -1
  427. package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.mjs +12 -3
  428. package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.mjs.map +1 -1
  429. package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.d.mts +16 -3
  430. package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.d.mts.map +1 -1
  431. package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.d.ts +16 -3
  432. package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.d.ts.map +1 -1
  433. package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.js +12 -4
  434. package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.js.map +1 -1
  435. package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.mjs +12 -4
  436. package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.mjs.map +1 -1
  437. package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.d.mts +16 -3
  438. package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.d.mts.map +1 -1
  439. package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.d.ts +16 -3
  440. package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.d.ts.map +1 -1
  441. package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.js +12 -3
  442. package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.js.map +1 -1
  443. package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.mjs +12 -3
  444. package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.mjs.map +1 -1
  445. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.d.mts +16 -3
  446. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.d.mts.map +1 -1
  447. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.d.ts +16 -3
  448. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.d.ts.map +1 -1
  449. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.js +12 -4
  450. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.js.map +1 -1
  451. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.mjs +12 -4
  452. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.mjs.map +1 -1
  453. package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.d.mts +16 -3
  454. package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.d.mts.map +1 -1
  455. package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.d.ts +16 -3
  456. package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.d.ts.map +1 -1
  457. package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.js +12 -3
  458. package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.js.map +1 -1
  459. package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.mjs +12 -3
  460. package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.mjs.map +1 -1
  461. package/tools/v1/contracts/retrieve-v1-contracts.d.mts +16 -3
  462. package/tools/v1/contracts/retrieve-v1-contracts.d.mts.map +1 -1
  463. package/tools/v1/contracts/retrieve-v1-contracts.d.ts +16 -3
  464. package/tools/v1/contracts/retrieve-v1-contracts.d.ts.map +1 -1
  465. package/tools/v1/contracts/retrieve-v1-contracts.js +6 -3
  466. package/tools/v1/contracts/retrieve-v1-contracts.js.map +1 -1
  467. package/tools/v1/contracts/retrieve-v1-contracts.mjs +6 -3
  468. package/tools/v1/contracts/retrieve-v1-contracts.mjs.map +1 -1
  469. package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.d.mts +16 -3
  470. package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.d.mts.map +1 -1
  471. package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.d.ts +16 -3
  472. package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.d.ts.map +1 -1
  473. package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.js +6 -3
  474. package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.js.map +1 -1
  475. package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.mjs +6 -3
  476. package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.mjs.map +1 -1
  477. package/tools/v1/contracts/set-usage-filter-v1-contracts.d.mts +16 -3
  478. package/tools/v1/contracts/set-usage-filter-v1-contracts.d.mts.map +1 -1
  479. package/tools/v1/contracts/set-usage-filter-v1-contracts.d.ts +16 -3
  480. package/tools/v1/contracts/set-usage-filter-v1-contracts.d.ts.map +1 -1
  481. package/tools/v1/contracts/set-usage-filter-v1-contracts.js +12 -3
  482. package/tools/v1/contracts/set-usage-filter-v1-contracts.js.map +1 -1
  483. package/tools/v1/contracts/set-usage-filter-v1-contracts.mjs +12 -3
  484. package/tools/v1/contracts/set-usage-filter-v1-contracts.mjs.map +1 -1
  485. package/tools/v1/contracts/update-end-date-v1-contracts.d.mts +16 -3
  486. package/tools/v1/contracts/update-end-date-v1-contracts.d.mts.map +1 -1
  487. package/tools/v1/contracts/update-end-date-v1-contracts.d.ts +16 -3
  488. package/tools/v1/contracts/update-end-date-v1-contracts.d.ts.map +1 -1
  489. package/tools/v1/contracts/update-end-date-v1-contracts.js +12 -3
  490. package/tools/v1/contracts/update-end-date-v1-contracts.js.map +1 -1
  491. package/tools/v1/contracts/update-end-date-v1-contracts.mjs +12 -3
  492. package/tools/v1/contracts/update-end-date-v1-contracts.mjs.map +1 -1
  493. package/tools/v1/credit-grants/create-v1-credit-grants.d.mts +16 -3
  494. package/tools/v1/credit-grants/create-v1-credit-grants.d.mts.map +1 -1
  495. package/tools/v1/credit-grants/create-v1-credit-grants.d.ts +16 -3
  496. package/tools/v1/credit-grants/create-v1-credit-grants.d.ts.map +1 -1
  497. package/tools/v1/credit-grants/create-v1-credit-grants.js +12 -3
  498. package/tools/v1/credit-grants/create-v1-credit-grants.js.map +1 -1
  499. package/tools/v1/credit-grants/create-v1-credit-grants.mjs +12 -3
  500. package/tools/v1/credit-grants/create-v1-credit-grants.mjs.map +1 -1
  501. package/tools/v1/credit-grants/edit-v1-credit-grants.d.mts +16 -3
  502. package/tools/v1/credit-grants/edit-v1-credit-grants.d.mts.map +1 -1
  503. package/tools/v1/credit-grants/edit-v1-credit-grants.d.ts +16 -3
  504. package/tools/v1/credit-grants/edit-v1-credit-grants.d.ts.map +1 -1
  505. package/tools/v1/credit-grants/edit-v1-credit-grants.js +12 -3
  506. package/tools/v1/credit-grants/edit-v1-credit-grants.js.map +1 -1
  507. package/tools/v1/credit-grants/edit-v1-credit-grants.mjs +12 -3
  508. package/tools/v1/credit-grants/edit-v1-credit-grants.mjs.map +1 -1
  509. package/tools/v1/credit-grants/list-entries-v1-credit-grants.d.mts +16 -3
  510. package/tools/v1/credit-grants/list-entries-v1-credit-grants.d.mts.map +1 -1
  511. package/tools/v1/credit-grants/list-entries-v1-credit-grants.d.ts +16 -3
  512. package/tools/v1/credit-grants/list-entries-v1-credit-grants.d.ts.map +1 -1
  513. package/tools/v1/credit-grants/list-entries-v1-credit-grants.js +17 -3
  514. package/tools/v1/credit-grants/list-entries-v1-credit-grants.js.map +1 -1
  515. package/tools/v1/credit-grants/list-entries-v1-credit-grants.mjs +17 -3
  516. package/tools/v1/credit-grants/list-entries-v1-credit-grants.mjs.map +1 -1
  517. package/tools/v1/credit-grants/list-v1-credit-grants.d.mts +16 -3
  518. package/tools/v1/credit-grants/list-v1-credit-grants.d.mts.map +1 -1
  519. package/tools/v1/credit-grants/list-v1-credit-grants.d.ts +16 -3
  520. package/tools/v1/credit-grants/list-v1-credit-grants.d.ts.map +1 -1
  521. package/tools/v1/credit-grants/list-v1-credit-grants.js +13 -3
  522. package/tools/v1/credit-grants/list-v1-credit-grants.js.map +1 -1
  523. package/tools/v1/credit-grants/list-v1-credit-grants.mjs +13 -3
  524. package/tools/v1/credit-grants/list-v1-credit-grants.mjs.map +1 -1
  525. package/tools/v1/credit-grants/void-v1-credit-grants.d.mts +16 -3
  526. package/tools/v1/credit-grants/void-v1-credit-grants.d.mts.map +1 -1
  527. package/tools/v1/credit-grants/void-v1-credit-grants.d.ts +16 -3
  528. package/tools/v1/credit-grants/void-v1-credit-grants.d.ts.map +1 -1
  529. package/tools/v1/credit-grants/void-v1-credit-grants.js +12 -3
  530. package/tools/v1/credit-grants/void-v1-credit-grants.js.map +1 -1
  531. package/tools/v1/credit-grants/void-v1-credit-grants.mjs +12 -3
  532. package/tools/v1/credit-grants/void-v1-credit-grants.mjs.map +1 -1
  533. package/tools/v1/custom-fields/add-key-v1-custom-fields.d.mts +16 -3
  534. package/tools/v1/custom-fields/add-key-v1-custom-fields.d.mts.map +1 -1
  535. package/tools/v1/custom-fields/add-key-v1-custom-fields.d.ts +16 -3
  536. package/tools/v1/custom-fields/add-key-v1-custom-fields.d.ts.map +1 -1
  537. package/tools/v1/custom-fields/add-key-v1-custom-fields.js +12 -3
  538. package/tools/v1/custom-fields/add-key-v1-custom-fields.js.map +1 -1
  539. package/tools/v1/custom-fields/add-key-v1-custom-fields.mjs +12 -3
  540. package/tools/v1/custom-fields/add-key-v1-custom-fields.mjs.map +1 -1
  541. package/tools/v1/custom-fields/delete-values-v1-custom-fields.d.mts +16 -3
  542. package/tools/v1/custom-fields/delete-values-v1-custom-fields.d.mts.map +1 -1
  543. package/tools/v1/custom-fields/delete-values-v1-custom-fields.d.ts +16 -3
  544. package/tools/v1/custom-fields/delete-values-v1-custom-fields.d.ts.map +1 -1
  545. package/tools/v1/custom-fields/delete-values-v1-custom-fields.js +12 -3
  546. package/tools/v1/custom-fields/delete-values-v1-custom-fields.js.map +1 -1
  547. package/tools/v1/custom-fields/delete-values-v1-custom-fields.mjs +12 -3
  548. package/tools/v1/custom-fields/delete-values-v1-custom-fields.mjs.map +1 -1
  549. package/tools/v1/custom-fields/list-keys-v1-custom-fields.d.mts +16 -3
  550. package/tools/v1/custom-fields/list-keys-v1-custom-fields.d.mts.map +1 -1
  551. package/tools/v1/custom-fields/list-keys-v1-custom-fields.d.ts +16 -3
  552. package/tools/v1/custom-fields/list-keys-v1-custom-fields.d.ts.map +1 -1
  553. package/tools/v1/custom-fields/list-keys-v1-custom-fields.js +12 -3
  554. package/tools/v1/custom-fields/list-keys-v1-custom-fields.js.map +1 -1
  555. package/tools/v1/custom-fields/list-keys-v1-custom-fields.mjs +12 -3
  556. package/tools/v1/custom-fields/list-keys-v1-custom-fields.mjs.map +1 -1
  557. package/tools/v1/custom-fields/remove-key-v1-custom-fields.d.mts +16 -3
  558. package/tools/v1/custom-fields/remove-key-v1-custom-fields.d.mts.map +1 -1
  559. package/tools/v1/custom-fields/remove-key-v1-custom-fields.d.ts +16 -3
  560. package/tools/v1/custom-fields/remove-key-v1-custom-fields.d.ts.map +1 -1
  561. package/tools/v1/custom-fields/remove-key-v1-custom-fields.js +12 -3
  562. package/tools/v1/custom-fields/remove-key-v1-custom-fields.js.map +1 -1
  563. package/tools/v1/custom-fields/remove-key-v1-custom-fields.mjs +12 -3
  564. package/tools/v1/custom-fields/remove-key-v1-custom-fields.mjs.map +1 -1
  565. package/tools/v1/custom-fields/set-values-v1-custom-fields.d.mts +16 -3
  566. package/tools/v1/custom-fields/set-values-v1-custom-fields.d.mts.map +1 -1
  567. package/tools/v1/custom-fields/set-values-v1-custom-fields.d.ts +16 -3
  568. package/tools/v1/custom-fields/set-values-v1-custom-fields.d.ts.map +1 -1
  569. package/tools/v1/custom-fields/set-values-v1-custom-fields.js +12 -3
  570. package/tools/v1/custom-fields/set-values-v1-custom-fields.js.map +1 -1
  571. package/tools/v1/custom-fields/set-values-v1-custom-fields.mjs +12 -3
  572. package/tools/v1/custom-fields/set-values-v1-custom-fields.mjs.map +1 -1
  573. package/tools/v1/customers/alerts/list-customers-v1-alerts.d.mts +16 -3
  574. package/tools/v1/customers/alerts/list-customers-v1-alerts.d.mts.map +1 -1
  575. package/tools/v1/customers/alerts/list-customers-v1-alerts.d.ts +16 -3
  576. package/tools/v1/customers/alerts/list-customers-v1-alerts.d.ts.map +1 -1
  577. package/tools/v1/customers/alerts/list-customers-v1-alerts.js +12 -3
  578. package/tools/v1/customers/alerts/list-customers-v1-alerts.js.map +1 -1
  579. package/tools/v1/customers/alerts/list-customers-v1-alerts.mjs +12 -3
  580. package/tools/v1/customers/alerts/list-customers-v1-alerts.mjs.map +1 -1
  581. package/tools/v1/customers/alerts/reset-customers-v1-alerts.d.mts +16 -3
  582. package/tools/v1/customers/alerts/reset-customers-v1-alerts.d.mts.map +1 -1
  583. package/tools/v1/customers/alerts/reset-customers-v1-alerts.d.ts +16 -3
  584. package/tools/v1/customers/alerts/reset-customers-v1-alerts.d.ts.map +1 -1
  585. package/tools/v1/customers/alerts/reset-customers-v1-alerts.js +12 -3
  586. package/tools/v1/customers/alerts/reset-customers-v1-alerts.js.map +1 -1
  587. package/tools/v1/customers/alerts/reset-customers-v1-alerts.mjs +12 -3
  588. package/tools/v1/customers/alerts/reset-customers-v1-alerts.mjs.map +1 -1
  589. package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.d.mts +16 -3
  590. package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.d.mts.map +1 -1
  591. package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.d.ts +16 -3
  592. package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.d.ts.map +1 -1
  593. package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.js +12 -3
  594. package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.js.map +1 -1
  595. package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.mjs +12 -3
  596. package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.mjs.map +1 -1
  597. package/tools/v1/customers/archive-v1-customers.d.mts +16 -3
  598. package/tools/v1/customers/archive-v1-customers.d.mts.map +1 -1
  599. package/tools/v1/customers/archive-v1-customers.d.ts +16 -3
  600. package/tools/v1/customers/archive-v1-customers.d.ts.map +1 -1
  601. package/tools/v1/customers/archive-v1-customers.js +12 -3
  602. package/tools/v1/customers/archive-v1-customers.js.map +1 -1
  603. package/tools/v1/customers/archive-v1-customers.mjs +12 -3
  604. package/tools/v1/customers/archive-v1-customers.mjs.map +1 -1
  605. package/tools/v1/customers/billing-config/create-customers-v1-billing-config.d.mts +16 -3
  606. package/tools/v1/customers/billing-config/create-customers-v1-billing-config.d.mts.map +1 -1
  607. package/tools/v1/customers/billing-config/create-customers-v1-billing-config.d.ts +16 -3
  608. package/tools/v1/customers/billing-config/create-customers-v1-billing-config.d.ts.map +1 -1
  609. package/tools/v1/customers/billing-config/create-customers-v1-billing-config.js +12 -3
  610. package/tools/v1/customers/billing-config/create-customers-v1-billing-config.js.map +1 -1
  611. package/tools/v1/customers/billing-config/create-customers-v1-billing-config.mjs +12 -3
  612. package/tools/v1/customers/billing-config/create-customers-v1-billing-config.mjs.map +1 -1
  613. package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.d.mts +16 -3
  614. package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.d.mts.map +1 -1
  615. package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.d.ts +16 -3
  616. package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.d.ts.map +1 -1
  617. package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.js +14 -3
  618. package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.js.map +1 -1
  619. package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.mjs +14 -3
  620. package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.mjs.map +1 -1
  621. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.d.mts +16 -3
  622. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.d.mts.map +1 -1
  623. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.d.ts +16 -3
  624. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.d.ts.map +1 -1
  625. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.js +14 -3
  626. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.js.map +1 -1
  627. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.mjs +14 -3
  628. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.mjs.map +1 -1
  629. package/tools/v1/customers/commits/create-customers-v1-commits.d.mts +16 -3
  630. package/tools/v1/customers/commits/create-customers-v1-commits.d.mts.map +1 -1
  631. package/tools/v1/customers/commits/create-customers-v1-commits.d.ts +16 -3
  632. package/tools/v1/customers/commits/create-customers-v1-commits.d.ts.map +1 -1
  633. package/tools/v1/customers/commits/create-customers-v1-commits.js +14 -7
  634. package/tools/v1/customers/commits/create-customers-v1-commits.js.map +1 -1
  635. package/tools/v1/customers/commits/create-customers-v1-commits.mjs +14 -7
  636. package/tools/v1/customers/commits/create-customers-v1-commits.mjs.map +1 -1
  637. package/tools/v1/customers/commits/list-customers-v1-commits.d.mts +16 -3
  638. package/tools/v1/customers/commits/list-customers-v1-commits.d.mts.map +1 -1
  639. package/tools/v1/customers/commits/list-customers-v1-commits.d.ts +16 -3
  640. package/tools/v1/customers/commits/list-customers-v1-commits.d.ts.map +1 -1
  641. package/tools/v1/customers/commits/list-customers-v1-commits.js +10 -3
  642. package/tools/v1/customers/commits/list-customers-v1-commits.js.map +1 -1
  643. package/tools/v1/customers/commits/list-customers-v1-commits.mjs +10 -3
  644. package/tools/v1/customers/commits/list-customers-v1-commits.mjs.map +1 -1
  645. package/tools/v1/customers/commits/update-end-date-customers-v1-commits.d.mts +16 -3
  646. package/tools/v1/customers/commits/update-end-date-customers-v1-commits.d.mts.map +1 -1
  647. package/tools/v1/customers/commits/update-end-date-customers-v1-commits.d.ts +16 -3
  648. package/tools/v1/customers/commits/update-end-date-customers-v1-commits.d.ts.map +1 -1
  649. package/tools/v1/customers/commits/update-end-date-customers-v1-commits.js +12 -3
  650. package/tools/v1/customers/commits/update-end-date-customers-v1-commits.js.map +1 -1
  651. package/tools/v1/customers/commits/update-end-date-customers-v1-commits.mjs +12 -3
  652. package/tools/v1/customers/commits/update-end-date-customers-v1-commits.mjs.map +1 -1
  653. package/tools/v1/customers/create-v1-customers.d.mts +16 -3
  654. package/tools/v1/customers/create-v1-customers.d.mts.map +1 -1
  655. package/tools/v1/customers/create-v1-customers.d.ts +16 -3
  656. package/tools/v1/customers/create-v1-customers.d.ts.map +1 -1
  657. package/tools/v1/customers/create-v1-customers.js +12 -3
  658. package/tools/v1/customers/create-v1-customers.js.map +1 -1
  659. package/tools/v1/customers/create-v1-customers.mjs +12 -3
  660. package/tools/v1/customers/create-v1-customers.mjs.map +1 -1
  661. package/tools/v1/customers/credits/create-customers-v1-credits.d.mts +16 -3
  662. package/tools/v1/customers/credits/create-customers-v1-credits.d.mts.map +1 -1
  663. package/tools/v1/customers/credits/create-customers-v1-credits.d.ts +16 -3
  664. package/tools/v1/customers/credits/create-customers-v1-credits.d.ts.map +1 -1
  665. package/tools/v1/customers/credits/create-customers-v1-credits.js +12 -4
  666. package/tools/v1/customers/credits/create-customers-v1-credits.js.map +1 -1
  667. package/tools/v1/customers/credits/create-customers-v1-credits.mjs +12 -4
  668. package/tools/v1/customers/credits/create-customers-v1-credits.mjs.map +1 -1
  669. package/tools/v1/customers/credits/list-customers-v1-credits.d.mts +16 -3
  670. package/tools/v1/customers/credits/list-customers-v1-credits.d.mts.map +1 -1
  671. package/tools/v1/customers/credits/list-customers-v1-credits.d.ts +16 -3
  672. package/tools/v1/customers/credits/list-customers-v1-credits.d.ts.map +1 -1
  673. package/tools/v1/customers/credits/list-customers-v1-credits.js +10 -3
  674. package/tools/v1/customers/credits/list-customers-v1-credits.js.map +1 -1
  675. package/tools/v1/customers/credits/list-customers-v1-credits.mjs +10 -3
  676. package/tools/v1/customers/credits/list-customers-v1-credits.mjs.map +1 -1
  677. package/tools/v1/customers/credits/update-end-date-customers-v1-credits.d.mts +16 -3
  678. package/tools/v1/customers/credits/update-end-date-customers-v1-credits.d.mts.map +1 -1
  679. package/tools/v1/customers/credits/update-end-date-customers-v1-credits.d.ts +16 -3
  680. package/tools/v1/customers/credits/update-end-date-customers-v1-credits.d.ts.map +1 -1
  681. package/tools/v1/customers/credits/update-end-date-customers-v1-credits.js +12 -3
  682. package/tools/v1/customers/credits/update-end-date-customers-v1-credits.js.map +1 -1
  683. package/tools/v1/customers/credits/update-end-date-customers-v1-credits.mjs +12 -3
  684. package/tools/v1/customers/credits/update-end-date-customers-v1-credits.mjs.map +1 -1
  685. package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.d.mts +16 -3
  686. package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.d.mts.map +1 -1
  687. package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.d.ts +16 -3
  688. package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.d.ts.map +1 -1
  689. package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.js +20 -3
  690. package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.js.map +1 -1
  691. package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.mjs +20 -3
  692. package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.mjs.map +1 -1
  693. package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.d.mts +16 -3
  694. package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.d.mts.map +1 -1
  695. package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.d.ts +16 -3
  696. package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.d.ts.map +1 -1
  697. package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.js +9 -3
  698. package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.js.map +1 -1
  699. package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.mjs +9 -3
  700. package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.mjs.map +1 -1
  701. package/tools/v1/customers/invoices/list-customers-v1-invoices.d.mts +16 -3
  702. package/tools/v1/customers/invoices/list-customers-v1-invoices.d.mts.map +1 -1
  703. package/tools/v1/customers/invoices/list-customers-v1-invoices.d.ts +16 -3
  704. package/tools/v1/customers/invoices/list-customers-v1-invoices.d.ts.map +1 -1
  705. package/tools/v1/customers/invoices/list-customers-v1-invoices.js +9 -3
  706. package/tools/v1/customers/invoices/list-customers-v1-invoices.js.map +1 -1
  707. package/tools/v1/customers/invoices/list-customers-v1-invoices.mjs +9 -3
  708. package/tools/v1/customers/invoices/list-customers-v1-invoices.mjs.map +1 -1
  709. package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.d.mts +16 -3
  710. package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.d.mts.map +1 -1
  711. package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.d.ts +16 -3
  712. package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.d.ts.map +1 -1
  713. package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.js +8 -3
  714. package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.js.map +1 -1
  715. package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.mjs +8 -3
  716. package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.mjs.map +1 -1
  717. package/tools/v1/customers/list-billable-metrics-v1-customers.d.mts +16 -3
  718. package/tools/v1/customers/list-billable-metrics-v1-customers.d.mts.map +1 -1
  719. package/tools/v1/customers/list-billable-metrics-v1-customers.d.ts +16 -3
  720. package/tools/v1/customers/list-billable-metrics-v1-customers.d.ts.map +1 -1
  721. package/tools/v1/customers/list-billable-metrics-v1-customers.js +15 -3
  722. package/tools/v1/customers/list-billable-metrics-v1-customers.js.map +1 -1
  723. package/tools/v1/customers/list-billable-metrics-v1-customers.mjs +15 -3
  724. package/tools/v1/customers/list-billable-metrics-v1-customers.mjs.map +1 -1
  725. package/tools/v1/customers/list-costs-v1-customers.d.mts +16 -3
  726. package/tools/v1/customers/list-costs-v1-customers.d.mts.map +1 -1
  727. package/tools/v1/customers/list-costs-v1-customers.d.ts +16 -3
  728. package/tools/v1/customers/list-costs-v1-customers.d.ts.map +1 -1
  729. package/tools/v1/customers/list-costs-v1-customers.js +15 -3
  730. package/tools/v1/customers/list-costs-v1-customers.js.map +1 -1
  731. package/tools/v1/customers/list-costs-v1-customers.mjs +15 -3
  732. package/tools/v1/customers/list-costs-v1-customers.mjs.map +1 -1
  733. package/tools/v1/customers/list-v1-customers.d.mts +16 -3
  734. package/tools/v1/customers/list-v1-customers.d.mts.map +1 -1
  735. package/tools/v1/customers/list-v1-customers.d.ts +16 -3
  736. package/tools/v1/customers/list-v1-customers.d.ts.map +1 -1
  737. package/tools/v1/customers/list-v1-customers.js +15 -3
  738. package/tools/v1/customers/list-v1-customers.js.map +1 -1
  739. package/tools/v1/customers/list-v1-customers.mjs +15 -3
  740. package/tools/v1/customers/list-v1-customers.mjs.map +1 -1
  741. package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.d.mts +16 -3
  742. package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.d.mts.map +1 -1
  743. package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.d.ts +16 -3
  744. package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.d.ts.map +1 -1
  745. package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.js +12 -3
  746. package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.js.map +1 -1
  747. package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.mjs +12 -3
  748. package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.mjs.map +1 -1
  749. package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.d.mts +16 -3
  750. package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.d.mts.map +1 -1
  751. package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.d.ts +16 -3
  752. package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.d.ts.map +1 -1
  753. package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.js +12 -3
  754. package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.js.map +1 -1
  755. package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.mjs +12 -3
  756. package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.mjs.map +1 -1
  757. package/tools/v1/customers/plans/add-customers-v1-plans.d.mts +16 -3
  758. package/tools/v1/customers/plans/add-customers-v1-plans.d.mts.map +1 -1
  759. package/tools/v1/customers/plans/add-customers-v1-plans.d.ts +16 -3
  760. package/tools/v1/customers/plans/add-customers-v1-plans.d.ts.map +1 -1
  761. package/tools/v1/customers/plans/add-customers-v1-plans.js +12 -3
  762. package/tools/v1/customers/plans/add-customers-v1-plans.js.map +1 -1
  763. package/tools/v1/customers/plans/add-customers-v1-plans.mjs +12 -3
  764. package/tools/v1/customers/plans/add-customers-v1-plans.mjs.map +1 -1
  765. package/tools/v1/customers/plans/end-customers-v1-plans.d.mts +16 -3
  766. package/tools/v1/customers/plans/end-customers-v1-plans.d.mts.map +1 -1
  767. package/tools/v1/customers/plans/end-customers-v1-plans.d.ts +16 -3
  768. package/tools/v1/customers/plans/end-customers-v1-plans.d.ts.map +1 -1
  769. package/tools/v1/customers/plans/end-customers-v1-plans.js +12 -3
  770. package/tools/v1/customers/plans/end-customers-v1-plans.js.map +1 -1
  771. package/tools/v1/customers/plans/end-customers-v1-plans.mjs +12 -3
  772. package/tools/v1/customers/plans/end-customers-v1-plans.mjs.map +1 -1
  773. package/tools/v1/customers/plans/list-customers-v1-plans.d.mts +16 -3
  774. package/tools/v1/customers/plans/list-customers-v1-plans.d.mts.map +1 -1
  775. package/tools/v1/customers/plans/list-customers-v1-plans.d.ts +16 -3
  776. package/tools/v1/customers/plans/list-customers-v1-plans.d.ts.map +1 -1
  777. package/tools/v1/customers/plans/list-customers-v1-plans.js +15 -3
  778. package/tools/v1/customers/plans/list-customers-v1-plans.js.map +1 -1
  779. package/tools/v1/customers/plans/list-customers-v1-plans.mjs +15 -3
  780. package/tools/v1/customers/plans/list-customers-v1-plans.mjs.map +1 -1
  781. package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.d.mts +16 -3
  782. package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.d.mts.map +1 -1
  783. package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.d.ts +16 -3
  784. package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.d.ts.map +1 -1
  785. package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.js +15 -3
  786. package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.js.map +1 -1
  787. package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.mjs +15 -3
  788. package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.mjs.map +1 -1
  789. package/tools/v1/customers/preview-events-v1-customers.d.mts +45 -0
  790. package/tools/v1/customers/preview-events-v1-customers.d.mts.map +1 -0
  791. package/tools/v1/customers/preview-events-v1-customers.d.ts +45 -0
  792. package/tools/v1/customers/preview-events-v1-customers.d.ts.map +1 -0
  793. package/tools/v1/customers/preview-events-v1-customers.js +70 -0
  794. package/tools/v1/customers/preview-events-v1-customers.js.map +1 -0
  795. package/tools/v1/customers/preview-events-v1-customers.mjs +66 -0
  796. package/tools/v1/customers/preview-events-v1-customers.mjs.map +1 -0
  797. package/tools/v1/customers/retrieve-v1-customers.d.mts +16 -3
  798. package/tools/v1/customers/retrieve-v1-customers.d.mts.map +1 -1
  799. package/tools/v1/customers/retrieve-v1-customers.d.ts +16 -3
  800. package/tools/v1/customers/retrieve-v1-customers.d.ts.map +1 -1
  801. package/tools/v1/customers/retrieve-v1-customers.js +14 -3
  802. package/tools/v1/customers/retrieve-v1-customers.js.map +1 -1
  803. package/tools/v1/customers/retrieve-v1-customers.mjs +14 -3
  804. package/tools/v1/customers/retrieve-v1-customers.mjs.map +1 -1
  805. package/tools/v1/customers/set-ingest-aliases-v1-customers.d.mts +16 -3
  806. package/tools/v1/customers/set-ingest-aliases-v1-customers.d.mts.map +1 -1
  807. package/tools/v1/customers/set-ingest-aliases-v1-customers.d.ts +16 -3
  808. package/tools/v1/customers/set-ingest-aliases-v1-customers.d.ts.map +1 -1
  809. package/tools/v1/customers/set-ingest-aliases-v1-customers.js +12 -3
  810. package/tools/v1/customers/set-ingest-aliases-v1-customers.js.map +1 -1
  811. package/tools/v1/customers/set-ingest-aliases-v1-customers.mjs +12 -3
  812. package/tools/v1/customers/set-ingest-aliases-v1-customers.mjs.map +1 -1
  813. package/tools/v1/customers/set-name-v1-customers.d.mts +16 -3
  814. package/tools/v1/customers/set-name-v1-customers.d.mts.map +1 -1
  815. package/tools/v1/customers/set-name-v1-customers.d.ts +16 -3
  816. package/tools/v1/customers/set-name-v1-customers.d.ts.map +1 -1
  817. package/tools/v1/customers/set-name-v1-customers.js +12 -3
  818. package/tools/v1/customers/set-name-v1-customers.js.map +1 -1
  819. package/tools/v1/customers/set-name-v1-customers.mjs +12 -3
  820. package/tools/v1/customers/set-name-v1-customers.mjs.map +1 -1
  821. package/tools/v1/customers/update-config-v1-customers.d.mts +16 -3
  822. package/tools/v1/customers/update-config-v1-customers.d.mts.map +1 -1
  823. package/tools/v1/customers/update-config-v1-customers.d.ts +16 -3
  824. package/tools/v1/customers/update-config-v1-customers.d.ts.map +1 -1
  825. package/tools/v1/customers/update-config-v1-customers.js +12 -3
  826. package/tools/v1/customers/update-config-v1-customers.js.map +1 -1
  827. package/tools/v1/customers/update-config-v1-customers.mjs +12 -3
  828. package/tools/v1/customers/update-config-v1-customers.mjs.map +1 -1
  829. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.d.mts +16 -3
  830. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.d.mts.map +1 -1
  831. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.d.ts +16 -3
  832. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.d.ts.map +1 -1
  833. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.js +13 -5
  834. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.js.map +1 -1
  835. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.mjs +13 -5
  836. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.mjs.map +1 -1
  837. package/tools/v1/invoices/regenerate-v1-invoices.d.mts +16 -3
  838. package/tools/v1/invoices/regenerate-v1-invoices.d.mts.map +1 -1
  839. package/tools/v1/invoices/regenerate-v1-invoices.d.ts +16 -3
  840. package/tools/v1/invoices/regenerate-v1-invoices.d.ts.map +1 -1
  841. package/tools/v1/invoices/regenerate-v1-invoices.js +12 -3
  842. package/tools/v1/invoices/regenerate-v1-invoices.js.map +1 -1
  843. package/tools/v1/invoices/regenerate-v1-invoices.mjs +12 -3
  844. package/tools/v1/invoices/regenerate-v1-invoices.mjs.map +1 -1
  845. package/tools/v1/invoices/void-v1-invoices.d.mts +16 -3
  846. package/tools/v1/invoices/void-v1-invoices.d.mts.map +1 -1
  847. package/tools/v1/invoices/void-v1-invoices.d.ts +16 -3
  848. package/tools/v1/invoices/void-v1-invoices.d.ts.map +1 -1
  849. package/tools/v1/invoices/void-v1-invoices.js +12 -3
  850. package/tools/v1/invoices/void-v1-invoices.js.map +1 -1
  851. package/tools/v1/invoices/void-v1-invoices.mjs +12 -3
  852. package/tools/v1/invoices/void-v1-invoices.mjs.map +1 -1
  853. package/tools/v1/plans/get-details-v1-plans.d.mts +16 -3
  854. package/tools/v1/plans/get-details-v1-plans.d.mts.map +1 -1
  855. package/tools/v1/plans/get-details-v1-plans.d.ts +16 -3
  856. package/tools/v1/plans/get-details-v1-plans.d.ts.map +1 -1
  857. package/tools/v1/plans/get-details-v1-plans.js +14 -3
  858. package/tools/v1/plans/get-details-v1-plans.js.map +1 -1
  859. package/tools/v1/plans/get-details-v1-plans.mjs +14 -3
  860. package/tools/v1/plans/get-details-v1-plans.mjs.map +1 -1
  861. package/tools/v1/plans/list-charges-v1-plans.d.mts +16 -3
  862. package/tools/v1/plans/list-charges-v1-plans.d.mts.map +1 -1
  863. package/tools/v1/plans/list-charges-v1-plans.d.ts +16 -3
  864. package/tools/v1/plans/list-charges-v1-plans.d.ts.map +1 -1
  865. package/tools/v1/plans/list-charges-v1-plans.js +15 -3
  866. package/tools/v1/plans/list-charges-v1-plans.js.map +1 -1
  867. package/tools/v1/plans/list-charges-v1-plans.mjs +15 -3
  868. package/tools/v1/plans/list-charges-v1-plans.mjs.map +1 -1
  869. package/tools/v1/plans/list-customers-v1-plans.d.mts +16 -3
  870. package/tools/v1/plans/list-customers-v1-plans.d.mts.map +1 -1
  871. package/tools/v1/plans/list-customers-v1-plans.d.ts +16 -3
  872. package/tools/v1/plans/list-customers-v1-plans.d.ts.map +1 -1
  873. package/tools/v1/plans/list-customers-v1-plans.js +15 -3
  874. package/tools/v1/plans/list-customers-v1-plans.js.map +1 -1
  875. package/tools/v1/plans/list-customers-v1-plans.mjs +15 -3
  876. package/tools/v1/plans/list-customers-v1-plans.mjs.map +1 -1
  877. package/tools/v1/plans/list-v1-plans.d.mts +16 -3
  878. package/tools/v1/plans/list-v1-plans.d.mts.map +1 -1
  879. package/tools/v1/plans/list-v1-plans.d.ts +16 -3
  880. package/tools/v1/plans/list-v1-plans.d.ts.map +1 -1
  881. package/tools/v1/plans/list-v1-plans.js +15 -3
  882. package/tools/v1/plans/list-v1-plans.js.map +1 -1
  883. package/tools/v1/plans/list-v1-plans.mjs +15 -3
  884. package/tools/v1/plans/list-v1-plans.mjs.map +1 -1
  885. package/tools/v1/pricing-units/list-v1-pricing-units.d.mts +16 -3
  886. package/tools/v1/pricing-units/list-v1-pricing-units.d.mts.map +1 -1
  887. package/tools/v1/pricing-units/list-v1-pricing-units.d.ts +16 -3
  888. package/tools/v1/pricing-units/list-v1-pricing-units.d.ts.map +1 -1
  889. package/tools/v1/pricing-units/list-v1-pricing-units.js +15 -3
  890. package/tools/v1/pricing-units/list-v1-pricing-units.js.map +1 -1
  891. package/tools/v1/pricing-units/list-v1-pricing-units.mjs +15 -3
  892. package/tools/v1/pricing-units/list-v1-pricing-units.mjs.map +1 -1
  893. package/tools/v1/services/list-v1-services.d.mts +16 -3
  894. package/tools/v1/services/list-v1-services.d.mts.map +1 -1
  895. package/tools/v1/services/list-v1-services.d.ts +16 -3
  896. package/tools/v1/services/list-v1-services.d.ts.map +1 -1
  897. package/tools/v1/services/list-v1-services.js +16 -4
  898. package/tools/v1/services/list-v1-services.js.map +1 -1
  899. package/tools/v1/services/list-v1-services.mjs +16 -4
  900. package/tools/v1/services/list-v1-services.mjs.map +1 -1
  901. package/tools/v1/usage/ingest-v1-usage.d.mts +16 -3
  902. package/tools/v1/usage/ingest-v1-usage.d.mts.map +1 -1
  903. package/tools/v1/usage/ingest-v1-usage.d.ts +16 -3
  904. package/tools/v1/usage/ingest-v1-usage.d.ts.map +1 -1
  905. package/tools/v1/usage/ingest-v1-usage.js +12 -3
  906. package/tools/v1/usage/ingest-v1-usage.js.map +1 -1
  907. package/tools/v1/usage/ingest-v1-usage.mjs +12 -3
  908. package/tools/v1/usage/ingest-v1-usage.mjs.map +1 -1
  909. package/tools/v1/usage/list-v1-usage.d.mts +16 -3
  910. package/tools/v1/usage/list-v1-usage.d.mts.map +1 -1
  911. package/tools/v1/usage/list-v1-usage.d.ts +16 -3
  912. package/tools/v1/usage/list-v1-usage.d.ts.map +1 -1
  913. package/tools/v1/usage/list-v1-usage.js +12 -3
  914. package/tools/v1/usage/list-v1-usage.js.map +1 -1
  915. package/tools/v1/usage/list-v1-usage.mjs +12 -3
  916. package/tools/v1/usage/list-v1-usage.mjs.map +1 -1
  917. package/tools/v1/usage/list-with-groups-v1-usage.d.mts +16 -3
  918. package/tools/v1/usage/list-with-groups-v1-usage.d.mts.map +1 -1
  919. package/tools/v1/usage/list-with-groups-v1-usage.d.ts +16 -3
  920. package/tools/v1/usage/list-with-groups-v1-usage.d.ts.map +1 -1
  921. package/tools/v1/usage/list-with-groups-v1-usage.js +13 -3
  922. package/tools/v1/usage/list-with-groups-v1-usage.js.map +1 -1
  923. package/tools/v1/usage/list-with-groups-v1-usage.mjs +13 -3
  924. package/tools/v1/usage/list-with-groups-v1-usage.mjs.map +1 -1
  925. package/tools/v1/usage/search-v1-usage.d.mts +45 -0
  926. package/tools/v1/usage/search-v1-usage.d.mts.map +1 -0
  927. package/tools/v1/usage/search-v1-usage.d.ts +45 -0
  928. package/tools/v1/usage/search-v1-usage.d.ts.map +1 -0
  929. package/tools/v1/usage/search-v1-usage.js +44 -0
  930. package/tools/v1/usage/search-v1-usage.js.map +1 -0
  931. package/tools/v1/usage/search-v1-usage.mjs +40 -0
  932. package/tools/v1/usage/search-v1-usage.mjs.map +1 -0
  933. package/tools/v2/contracts/edit-commit-v2-contracts.d.mts +16 -3
  934. package/tools/v2/contracts/edit-commit-v2-contracts.d.mts.map +1 -1
  935. package/tools/v2/contracts/edit-commit-v2-contracts.d.ts +16 -3
  936. package/tools/v2/contracts/edit-commit-v2-contracts.d.ts.map +1 -1
  937. package/tools/v2/contracts/edit-commit-v2-contracts.js +14 -8
  938. package/tools/v2/contracts/edit-commit-v2-contracts.js.map +1 -1
  939. package/tools/v2/contracts/edit-commit-v2-contracts.mjs +14 -8
  940. package/tools/v2/contracts/edit-commit-v2-contracts.mjs.map +1 -1
  941. package/tools/v2/contracts/edit-credit-v2-contracts.d.mts +16 -3
  942. package/tools/v2/contracts/edit-credit-v2-contracts.d.mts.map +1 -1
  943. package/tools/v2/contracts/edit-credit-v2-contracts.d.ts +16 -3
  944. package/tools/v2/contracts/edit-credit-v2-contracts.d.ts.map +1 -1
  945. package/tools/v2/contracts/edit-credit-v2-contracts.js +12 -5
  946. package/tools/v2/contracts/edit-credit-v2-contracts.js.map +1 -1
  947. package/tools/v2/contracts/edit-credit-v2-contracts.mjs +12 -5
  948. package/tools/v2/contracts/edit-credit-v2-contracts.mjs.map +1 -1
  949. package/tools/v2/contracts/edit-v2-contracts.d.mts +16 -3
  950. package/tools/v2/contracts/edit-v2-contracts.d.mts.map +1 -1
  951. package/tools/v2/contracts/edit-v2-contracts.d.ts +16 -3
  952. package/tools/v2/contracts/edit-v2-contracts.d.ts.map +1 -1
  953. package/tools/v2/contracts/edit-v2-contracts.js +438 -68
  954. package/tools/v2/contracts/edit-v2-contracts.js.map +1 -1
  955. package/tools/v2/contracts/edit-v2-contracts.mjs +438 -68
  956. package/tools/v2/contracts/edit-v2-contracts.mjs.map +1 -1
  957. package/tools/v2/contracts/get-edit-history-v2-contracts.d.mts +16 -3
  958. package/tools/v2/contracts/get-edit-history-v2-contracts.d.mts.map +1 -1
  959. package/tools/v2/contracts/get-edit-history-v2-contracts.d.ts +16 -3
  960. package/tools/v2/contracts/get-edit-history-v2-contracts.d.ts.map +1 -1
  961. package/tools/v2/contracts/get-edit-history-v2-contracts.js +6 -3
  962. package/tools/v2/contracts/get-edit-history-v2-contracts.js.map +1 -1
  963. package/tools/v2/contracts/get-edit-history-v2-contracts.mjs +6 -3
  964. package/tools/v2/contracts/get-edit-history-v2-contracts.mjs.map +1 -1
  965. package/tools/v2/contracts/list-v2-contracts.d.mts +16 -3
  966. package/tools/v2/contracts/list-v2-contracts.d.mts.map +1 -1
  967. package/tools/v2/contracts/list-v2-contracts.d.ts +16 -3
  968. package/tools/v2/contracts/list-v2-contracts.d.ts.map +1 -1
  969. package/tools/v2/contracts/list-v2-contracts.js +6 -3
  970. package/tools/v2/contracts/list-v2-contracts.js.map +1 -1
  971. package/tools/v2/contracts/list-v2-contracts.mjs +6 -3
  972. package/tools/v2/contracts/list-v2-contracts.mjs.map +1 -1
  973. package/tools/v2/contracts/retrieve-v2-contracts.d.mts +16 -3
  974. package/tools/v2/contracts/retrieve-v2-contracts.d.mts.map +1 -1
  975. package/tools/v2/contracts/retrieve-v2-contracts.d.ts +16 -3
  976. package/tools/v2/contracts/retrieve-v2-contracts.d.ts.map +1 -1
  977. package/tools/v2/contracts/retrieve-v2-contracts.js +6 -3
  978. package/tools/v2/contracts/retrieve-v2-contracts.js.map +1 -1
  979. package/tools/v2/contracts/retrieve-v2-contracts.mjs +6 -3
  980. package/tools/v2/contracts/retrieve-v2-contracts.mjs.map +1 -1
@@ -1,7 +1,8 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
+ import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
4
+
3
5
  import { Tool } from '@modelcontextprotocol/sdk/types.js';
4
- import type { Metadata } from '../../';
5
6
  import Metronome from '@metronome/sdk';
6
7
 
7
8
  export const metadata: Metadata = {
@@ -15,7 +16,8 @@ export const metadata: Metadata = {
15
16
 
16
17
  export const tool: Tool = {
17
18
  name: 'set_usage_filter_v1_contracts',
18
- description: 'Set usage filter for a contract\n',
19
+ description:
20
+ "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nSet usage filter for a contract\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {}\n}\n```",
19
21
  inputSchema: {
20
22
  type: 'object',
21
23
  properties: {
@@ -38,13 +40,22 @@ export const tool: Tool = {
38
40
  type: 'string',
39
41
  format: 'date-time',
40
42
  },
43
+ jq_filter: {
44
+ type: 'string',
45
+ title: 'jq Filter',
46
+ description:
47
+ 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
48
+ },
41
49
  },
50
+ required: ['contract_id', 'customer_id', 'group_key', 'group_values', 'starting_at'],
42
51
  },
52
+ annotations: {},
43
53
  };
44
54
 
45
- export const handler = (client: Metronome, args: Record<string, unknown> | undefined) => {
55
+ export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
46
56
  const body = args as any;
47
- return client.v1.contracts.setUsageFilter(body);
57
+ const response = await client.v1.contracts.setUsageFilter(body).asResponse();
58
+ return asTextContentResult(await response.text());
48
59
  };
49
60
 
50
61
  export default { metadata, tool, handler };
@@ -1,7 +1,9 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
+ import { maybeFilter } from '@metronome/mcp/filtering';
4
+ import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
5
+
3
6
  import { Tool } from '@modelcontextprotocol/sdk/types.js';
4
- import type { Metadata } from '../../';
5
7
  import Metronome from '@metronome/sdk';
6
8
 
7
9
  export const metadata: Metadata = {
@@ -15,7 +17,8 @@ export const metadata: Metadata = {
15
17
 
16
18
  export const tool: Tool = {
17
19
  name: 'update_end_date_v1_contracts',
18
- description: 'Update the end date of a contract\n',
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\nUpdate the end date of a contract\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n $ref: '#/$defs/id'\n }\n },\n required: [ 'data'\n ],\n $defs: {\n id: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n }\n },\n required: [ 'id'\n ]\n }\n }\n}\n```",
19
22
  inputSchema: {
20
23
  type: 'object',
21
24
  properties: {
@@ -38,13 +41,21 @@ export const tool: Tool = {
38
41
  'RFC 3339 timestamp indicating when the contract will end (exclusive). If not provided, the contract will be updated to be open-ended.',
39
42
  format: 'date-time',
40
43
  },
44
+ jq_filter: {
45
+ type: 'string',
46
+ title: 'jq Filter',
47
+ description:
48
+ 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
49
+ },
41
50
  },
51
+ required: ['contract_id', 'customer_id'],
42
52
  },
53
+ annotations: {},
43
54
  };
44
55
 
45
- export const handler = (client: Metronome, args: Record<string, unknown> | undefined) => {
56
+ export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
46
57
  const body = args as any;
47
- return client.v1.contracts.updateEndDate(body);
58
+ return asTextContentResult(await maybeFilter(args, await client.v1.contracts.updateEndDate(body)));
48
59
  };
49
60
 
50
61
  export default { metadata, tool, handler };
@@ -1,7 +1,9 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
+ import { maybeFilter } from '@metronome/mcp/filtering';
4
+ import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
5
+
3
6
  import { Tool } from '@modelcontextprotocol/sdk/types.js';
4
- import type { Metadata } from '../../';
5
7
  import Metronome from '@metronome/sdk';
6
8
 
7
9
  export const metadata: Metadata = {
@@ -15,7 +17,8 @@ export const metadata: Metadata = {
15
17
 
16
18
  export const tool: Tool = {
17
19
  name: 'create_v1_credit_grants',
18
- description: 'Create a new credit grant',
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\nCreate a new credit grant\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n $ref: '#/$defs/id'\n }\n },\n required: [ 'data'\n ],\n $defs: {\n id: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n }\n },\n required: [ 'id'\n ]\n }\n }\n}\n```",
19
22
  inputSchema: {
20
23
  type: 'object',
21
24
  properties: {
@@ -125,7 +128,14 @@ export const tool: Tool = {
125
128
  description:
126
129
  'Prevents the creation of duplicates. If a request to create a record is made with a previously used uniqueness key, a new record will not be created and the request will fail with a 409 error.',
127
130
  },
131
+ jq_filter: {
132
+ type: 'string',
133
+ title: 'jq Filter',
134
+ description:
135
+ 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
136
+ },
128
137
  },
138
+ required: ['customer_id', 'expires_at', 'grant_amount', 'name', 'paid_amount', 'priority'],
129
139
  $defs: {
130
140
  rollover_amount_max_percentage: {
131
141
  type: 'object',
@@ -159,11 +169,12 @@ export const tool: Tool = {
159
169
  },
160
170
  },
161
171
  },
172
+ annotations: {},
162
173
  };
163
174
 
164
- export const handler = (client: Metronome, args: Record<string, unknown> | undefined) => {
175
+ export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
165
176
  const body = args as any;
166
- return client.v1.creditGrants.create(body);
177
+ return asTextContentResult(await maybeFilter(args, await client.v1.creditGrants.create(body)));
167
178
  };
168
179
 
169
180
  export default { metadata, tool, handler };
@@ -1,7 +1,9 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
+ import { maybeFilter } from '@metronome/mcp/filtering';
4
+ import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
5
+
3
6
  import { Tool } from '@modelcontextprotocol/sdk/types.js';
4
- import type { Metadata } from '../../';
5
7
  import Metronome from '@metronome/sdk';
6
8
 
7
9
  export const metadata: Metadata = {
@@ -15,7 +17,8 @@ export const metadata: Metadata = {
15
17
 
16
18
  export const tool: Tool = {
17
19
  name: 'edit_v1_credit_grants',
18
- description: 'Edit an existing credit grant',
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\nEdit an existing credit grant\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n $ref: '#/$defs/id'\n }\n },\n required: [ 'data'\n ],\n $defs: {\n id: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n }\n },\n required: [ 'id'\n ]\n }\n }\n}\n```",
19
22
  inputSchema: {
20
23
  type: 'object',
21
24
  properties: {
@@ -36,13 +39,21 @@ export const tool: Tool = {
36
39
  type: 'string',
37
40
  description: 'the updated name for the credit grant',
38
41
  },
42
+ jq_filter: {
43
+ type: 'string',
44
+ title: 'jq Filter',
45
+ description:
46
+ 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
47
+ },
39
48
  },
49
+ required: ['id'],
40
50
  },
51
+ annotations: {},
41
52
  };
42
53
 
43
- export const handler = (client: Metronome, args: Record<string, unknown> | undefined) => {
54
+ export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
44
55
  const body = args as any;
45
- return client.v1.creditGrants.edit(body);
56
+ return asTextContentResult(await maybeFilter(args, await client.v1.creditGrants.edit(body)));
46
57
  };
47
58
 
48
59
  export default { metadata, tool, handler };
@@ -1,7 +1,9 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
+ import { maybeFilter } from '@metronome/mcp/filtering';
4
+ import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
5
+
3
6
  import { Tool } from '@modelcontextprotocol/sdk/types.js';
4
- import type { Metadata } from '../../';
5
7
  import Metronome from '@metronome/sdk';
6
8
 
7
9
  export const metadata: Metadata = {
@@ -16,7 +18,7 @@ export const metadata: Metadata = {
16
18
  export const tool: Tool = {
17
19
  name: 'list_entries_v1_credit_grants',
18
20
  description:
19
- 'Fetches a list of credit ledger entries. Returns lists of ledgers per customer. Ledger entries are returned in chronological order. Ledger entries associated with voided credit grants are not included.',
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\nFetches a list of credit ledger entries. Returns lists of ledgers per customer. Ledger entries are returned in chronological order. Ledger entries associated with voided credit grants are not included.\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n customer_id: {\n type: 'string'\n },\n ledgers: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n credit_type: {\n $ref: '#/$defs/credit_type_data'\n },\n ending_balance: {\n type: 'object',\n description: 'the effective balances at the end of the specified time window',\n properties: {\n effective_at: {\n type: 'string',\n description: 'the ending_before request parameter (if supplied) or the current billing period\\'s end date',\n format: 'date-time'\n },\n excluding_pending: {\n type: 'number',\n description: 'the ending balance, including the balance of all grants that have not expired before the effective_at date and deductions that happened before the effective_at date'\n },\n including_pending: {\n type: 'number',\n description: 'the excluding_pending balance plus any pending invoice deductions and expirations that will happen by the effective_at date'\n }\n },\n required: [ 'effective_at',\n 'excluding_pending',\n 'including_pending'\n ]\n },\n entries: {\n type: 'array',\n items: {\n $ref: '#/$defs/credit_ledger_entry'\n }\n },\n pending_entries: {\n type: 'array',\n items: {\n $ref: '#/$defs/credit_ledger_entry'\n }\n },\n starting_balance: {\n type: 'object',\n properties: {\n effective_at: {\n type: 'string',\n description: 'the starting_on request parameter (if supplied) or the first credit grant\\'s effective_at date',\n format: 'date-time'\n },\n excluding_pending: {\n type: 'number',\n description: 'the starting balance, including all posted grants, deductions, and expirations that happened at or before the effective_at timestamp'\n },\n including_pending: {\n type: 'number',\n description: 'the excluding_pending balance plus any pending activity that has not been posted at the time of the query'\n }\n },\n required: [ 'effective_at',\n 'excluding_pending',\n 'including_pending'\n ]\n }\n },\n required: [ 'credit_type',\n 'ending_balance',\n 'entries',\n 'pending_entries',\n 'starting_balance'\n ]\n }\n }\n },\n required: [ 'customer_id',\n 'ledgers'\n ]\n }\n },\n next_page: {\n type: 'string'\n }\n },\n required: [ 'data',\n 'next_page'\n ],\n $defs: {\n credit_type_data: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n name: {\n type: 'string'\n }\n },\n required: [ 'id',\n 'name'\n ]\n },\n credit_ledger_entry: {\n type: 'object',\n properties: {\n amount: {\n type: 'number',\n description: 'an amount representing the change to the customer\\'s credit balance'\n },\n created_by: {\n type: 'string'\n },\n credit_grant_id: {\n type: 'string',\n description: 'the credit grant this entry is related to'\n },\n effective_at: {\n type: 'string',\n format: 'date-time'\n },\n reason: {\n type: 'string'\n },\n running_balance: {\n type: 'number',\n description: 'the running balance for this credit type at the time of the ledger entry, including all preceding charges'\n },\n invoice_id: {\n type: 'string',\n description: 'if this entry is a deduction, the Metronome ID of the invoice where the credit deduction was consumed; if this entry is a grant, the Metronome ID of the invoice where the grant\\'s paid_amount was charged'\n }\n },\n required: [ 'amount',\n 'created_by',\n 'credit_grant_id',\n 'effective_at',\n 'reason',\n 'running_balance'\n ]\n }\n }\n}\n```",
20
22
  inputSchema: {
21
23
  type: 'object',
22
24
  properties: {
@@ -24,6 +26,11 @@ export const tool: Tool = {
24
26
  type: 'string',
25
27
  description: 'Cursor that indicates where the next page of results should start.',
26
28
  },
29
+ sort: {
30
+ type: 'string',
31
+ description: 'Ledgers sort order by date, asc or desc. Defaults to asc.',
32
+ enum: ['asc', 'desc'],
33
+ },
27
34
  credit_type_ids: {
28
35
  type: 'array',
29
36
  description:
@@ -51,13 +58,21 @@ export const tool: Tool = {
51
58
  description: 'If supplied, only ledger entries effective at or after this time will be returned.',
52
59
  format: 'date-time',
53
60
  },
61
+ jq_filter: {
62
+ type: 'string',
63
+ title: 'jq Filter',
64
+ description:
65
+ 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
66
+ },
54
67
  },
68
+ required: [],
55
69
  },
70
+ annotations: {},
56
71
  };
57
72
 
58
- export const handler = (client: Metronome, args: Record<string, unknown> | undefined) => {
73
+ export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
59
74
  const body = args as any;
60
- return client.v1.creditGrants.listEntries(body);
75
+ return asTextContentResult(await maybeFilter(args, await client.v1.creditGrants.listEntries(body)));
61
76
  };
62
77
 
63
78
  export default { metadata, tool, handler };
@@ -1,7 +1,9 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
+ import { maybeFilter } from '@metronome/mcp/filtering';
4
+ import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
5
+
3
6
  import { Tool } from '@modelcontextprotocol/sdk/types.js';
4
- import type { Metadata } from '../../';
5
7
  import Metronome from '@metronome/sdk';
6
8
 
7
9
  export const metadata: Metadata = {
@@ -15,7 +17,8 @@ export const metadata: Metadata = {
15
17
 
16
18
  export const tool: Tool = {
17
19
  name: 'list_v1_credit_grants',
18
- description: 'List credit grants. This list does not included voided grants.',
20
+ description:
21
+ "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nList credit grants. This list does not included voided grants.\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n id: {\n type: 'string',\n description: 'the Metronome ID of the credit grant'\n },\n balance: {\n type: 'object',\n description: 'The effective balance of the grant as of the end of the customer\\'s current billing period. Expiration deductions will be included only if the grant expires before the end of the current billing period.',\n properties: {\n effective_at: {\n type: 'string',\n description: 'The end_date of the customer\\'s current billing period.',\n format: 'date-time'\n },\n excluding_pending: {\n type: 'number',\n description: 'The grant\\'s current balance including all posted deductions. If the grant has expired, this amount will be 0.'\n },\n including_pending: {\n type: 'number',\n description: 'The grant\\'s current balance including all posted and pending deductions. If the grant expires before the end of the customer\\'s current billing period, this amount will be 0.'\n }\n },\n required: [ 'effective_at',\n 'excluding_pending',\n 'including_pending'\n ]\n },\n custom_fields: {\n type: 'object'\n },\n customer_id: {\n type: 'string',\n description: 'the Metronome ID of the customer'\n },\n deductions: {\n type: 'array',\n items: {\n $ref: '#/$defs/credit_ledger_entry'\n }\n },\n effective_at: {\n type: 'string',\n format: 'date-time'\n },\n expires_at: {\n type: 'string',\n format: 'date-time'\n },\n grant_amount: {\n type: 'object',\n description: 'the amount of credits initially granted',\n properties: {\n amount: {\n type: 'number'\n },\n credit_type: {\n $ref: '#/$defs/credit_type_data'\n }\n },\n required: [ 'amount',\n 'credit_type'\n ]\n },\n name: {\n type: 'string'\n },\n paid_amount: {\n type: 'object',\n description: 'the amount paid for this credit grant',\n properties: {\n amount: {\n type: 'number'\n },\n credit_type: {\n $ref: '#/$defs/credit_type_data'\n }\n },\n required: [ 'amount',\n 'credit_type'\n ]\n },\n pending_deductions: {\n type: 'array',\n items: {\n $ref: '#/$defs/credit_ledger_entry'\n }\n },\n priority: {\n type: 'number'\n },\n credit_grant_type: {\n type: 'string'\n },\n invoice_id: {\n type: 'string',\n description: 'the Metronome ID of the invoice with the purchase charge for this credit grant, if applicable'\n },\n products: {\n type: 'array',\n description: 'The products which these credits will be applied to. (If unspecified, the credits will be applied to charges for all products.)',\n items: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n name: {\n type: 'string'\n }\n },\n required: [ 'id',\n 'name'\n ]\n }\n },\n reason: {\n type: 'string'\n },\n uniqueness_key: {\n type: 'string',\n description: 'Prevents the creation of duplicates. If a request to create a record is made with a previously used uniqueness key, a new record will not be created and the request will fail with a 409 error.'\n }\n },\n required: [ 'id',\n 'balance',\n 'custom_fields',\n 'customer_id',\n 'deductions',\n 'effective_at',\n 'expires_at',\n 'grant_amount',\n 'name',\n 'paid_amount',\n 'pending_deductions',\n 'priority'\n ]\n }\n },\n next_page: {\n type: 'string'\n }\n },\n required: [ 'data',\n 'next_page'\n ],\n $defs: {\n credit_ledger_entry: {\n type: 'object',\n properties: {\n amount: {\n type: 'number',\n description: 'an amount representing the change to the customer\\'s credit balance'\n },\n created_by: {\n type: 'string'\n },\n credit_grant_id: {\n type: 'string',\n description: 'the credit grant this entry is related to'\n },\n effective_at: {\n type: 'string',\n format: 'date-time'\n },\n reason: {\n type: 'string'\n },\n running_balance: {\n type: 'number',\n description: 'the running balance for this credit type at the time of the ledger entry, including all preceding charges'\n },\n invoice_id: {\n type: 'string',\n description: 'if this entry is a deduction, the Metronome ID of the invoice where the credit deduction was consumed; if this entry is a grant, the Metronome ID of the invoice where the grant\\'s paid_amount was charged'\n }\n },\n required: [ 'amount',\n 'created_by',\n 'credit_grant_id',\n 'effective_at',\n 'reason',\n 'running_balance'\n ]\n },\n credit_type_data: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n name: {\n type: 'string'\n }\n },\n required: [ 'id',\n 'name'\n ]\n }\n }\n}\n```",
19
22
  inputSchema: {
20
23
  type: 'object',
21
24
  properties: {
@@ -61,13 +64,22 @@ export const tool: Tool = {
61
64
  description: 'Only return credit grants that expire at or after this timestamp.',
62
65
  format: 'date-time',
63
66
  },
67
+ jq_filter: {
68
+ type: 'string',
69
+ title: 'jq Filter',
70
+ description:
71
+ 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
72
+ },
64
73
  },
74
+ required: [],
65
75
  },
76
+ annotations: {},
66
77
  };
67
78
 
68
- export const handler = (client: Metronome, args: Record<string, unknown> | undefined) => {
79
+ export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
69
80
  const body = args as any;
70
- return client.v1.creditGrants.list(body);
81
+ const response = await client.v1.creditGrants.list(body).asResponse();
82
+ return asTextContentResult(await maybeFilter(args, await response.json()));
71
83
  };
72
84
 
73
85
  export default { metadata, tool, handler };
@@ -1,7 +1,9 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
+ import { maybeFilter } from '@metronome/mcp/filtering';
4
+ import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
5
+
3
6
  import { Tool } from '@modelcontextprotocol/sdk/types.js';
4
- import type { Metadata } from '../../';
5
7
  import Metronome from '@metronome/sdk';
6
8
 
7
9
  export const metadata: Metadata = {
@@ -15,7 +17,8 @@ export const metadata: Metadata = {
15
17
 
16
18
  export const tool: Tool = {
17
19
  name: 'void_v1_credit_grants',
18
- description: 'Void a credit grant',
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\nVoid a credit grant\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n $ref: '#/$defs/id'\n }\n },\n required: [ 'data'\n ],\n $defs: {\n id: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n }\n },\n required: [ 'id'\n ]\n }\n }\n}\n```",
19
22
  inputSchema: {
20
23
  type: 'object',
21
24
  properties: {
@@ -30,13 +33,21 @@ export const tool: Tool = {
30
33
  type: 'boolean',
31
34
  description: 'If true, void the purchase invoice associated with the grant',
32
35
  },
36
+ jq_filter: {
37
+ type: 'string',
38
+ title: 'jq Filter',
39
+ description:
40
+ 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
41
+ },
33
42
  },
43
+ required: ['id'],
34
44
  },
45
+ annotations: {},
35
46
  };
36
47
 
37
- export const handler = (client: Metronome, args: Record<string, unknown> | undefined) => {
48
+ export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
38
49
  const body = args as any;
39
- return client.v1.creditGrants.void(body);
50
+ return asTextContentResult(await maybeFilter(args, await client.v1.creditGrants.void(body)));
40
51
  };
41
52
 
42
53
  export default { metadata, tool, handler };
@@ -1,7 +1,8 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
+ import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
4
+
3
5
  import { Tool } from '@modelcontextprotocol/sdk/types.js';
4
- import type { Metadata } from '../../';
5
6
  import Metronome from '@metronome/sdk';
6
7
 
7
8
  export const metadata: Metadata = {
@@ -16,7 +17,7 @@ export const metadata: Metadata = {
16
17
  export const tool: Tool = {
17
18
  name: 'add_key_v1_custom_fields',
18
19
  description:
19
- 'Add a key to the allow list for a given entity. There is a 100 character limit on custom field keys.\n',
20
+ "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nAdd a key to the allow list for a given entity. There is a 100 character limit on custom field keys.\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {}\n}\n```",
20
21
  inputSchema: {
21
22
  type: 'object',
22
23
  properties: {
@@ -49,13 +50,22 @@ export const tool: Tool = {
49
50
  key: {
50
51
  type: 'string',
51
52
  },
53
+ jq_filter: {
54
+ type: 'string',
55
+ title: 'jq Filter',
56
+ description:
57
+ 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
58
+ },
52
59
  },
60
+ required: ['enforce_uniqueness', 'entity', 'key'],
53
61
  },
62
+ annotations: {},
54
63
  };
55
64
 
56
- export const handler = (client: Metronome, args: Record<string, unknown> | undefined) => {
65
+ export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
57
66
  const body = args as any;
58
- return client.v1.customFields.addKey(body);
67
+ const response = await client.v1.customFields.addKey(body).asResponse();
68
+ return asTextContentResult(await response.text());
59
69
  };
60
70
 
61
71
  export default { metadata, tool, handler };
@@ -1,7 +1,8 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
+ import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
4
+
3
5
  import { Tool } from '@modelcontextprotocol/sdk/types.js';
4
- import type { Metadata } from '../../';
5
6
  import Metronome from '@metronome/sdk';
6
7
 
7
8
  export const metadata: Metadata = {
@@ -15,7 +16,8 @@ export const metadata: Metadata = {
15
16
 
16
17
  export const tool: Tool = {
17
18
  name: 'delete_values_v1_custom_fields',
18
- description: 'Deletes one or more custom fields on an instance of a Metronome entity.\n',
19
+ description:
20
+ "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nDeletes one or more custom fields on an instance of a Metronome entity.\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {}\n}\n```",
19
21
  inputSchema: {
20
22
  type: 'object',
21
23
  properties: {
@@ -51,13 +53,22 @@ export const tool: Tool = {
51
53
  type: 'string',
52
54
  },
53
55
  },
56
+ jq_filter: {
57
+ type: 'string',
58
+ title: 'jq Filter',
59
+ description:
60
+ 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
61
+ },
54
62
  },
63
+ required: ['entity', 'entity_id', 'keys'],
55
64
  },
65
+ annotations: {},
56
66
  };
57
67
 
58
- export const handler = (client: Metronome, args: Record<string, unknown> | undefined) => {
68
+ export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
59
69
  const body = args as any;
60
- return client.v1.customFields.deleteValues(body);
70
+ const response = await client.v1.customFields.deleteValues(body).asResponse();
71
+ return asTextContentResult(await response.text());
61
72
  };
62
73
 
63
74
  export default { metadata, tool, handler };
@@ -1,7 +1,9 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
+ import { maybeFilter } from '@metronome/mcp/filtering';
4
+ import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
5
+
3
6
  import { Tool } from '@modelcontextprotocol/sdk/types.js';
4
- import type { Metadata } from '../../';
5
7
  import Metronome from '@metronome/sdk';
6
8
 
7
9
  export const metadata: Metadata = {
@@ -15,7 +17,8 @@ export const metadata: Metadata = {
15
17
 
16
18
  export const tool: Tool = {
17
19
  name: 'list_keys_v1_custom_fields',
18
- description: 'List all active custom field keys, optionally filtered by entity type.\n',
20
+ description:
21
+ "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nList all active custom field keys, optionally filtered by entity type.\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n enforce_uniqueness: {\n type: 'boolean'\n },\n entity: {\n type: 'string',\n enum: [ 'alert',\n 'billable_metric',\n 'charge',\n 'commit',\n 'contract_credit',\n 'contract_product',\n 'contract',\n 'credit_grant',\n 'customer_plan',\n 'customer',\n 'discount',\n 'invoice',\n 'plan',\n 'professional_service',\n 'product',\n 'rate_card',\n 'scheduled_charge',\n 'subscription'\n ]\n },\n key: {\n type: 'string'\n }\n },\n required: [ 'enforce_uniqueness',\n 'entity',\n 'key'\n ]\n }\n },\n next_page: {\n type: 'string'\n }\n },\n required: [ 'data',\n 'next_page'\n ]\n}\n```",
19
22
  inputSchema: {
20
23
  type: 'object',
21
24
  properties: {
@@ -50,13 +53,21 @@ export const tool: Tool = {
50
53
  ],
51
54
  },
52
55
  },
56
+ jq_filter: {
57
+ type: 'string',
58
+ title: 'jq Filter',
59
+ description:
60
+ 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
61
+ },
53
62
  },
63
+ required: [],
54
64
  },
65
+ annotations: {},
55
66
  };
56
67
 
57
- export const handler = (client: Metronome, args: Record<string, unknown> | undefined) => {
68
+ export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
58
69
  const body = args as any;
59
- return client.v1.customFields.listKeys(body);
70
+ return asTextContentResult(await maybeFilter(args, await client.v1.customFields.listKeys(body)));
60
71
  };
61
72
 
62
73
  export default { metadata, tool, handler };
@@ -1,7 +1,8 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
+ import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
4
+
3
5
  import { Tool } from '@modelcontextprotocol/sdk/types.js';
4
- import type { Metadata } from '../../';
5
6
  import Metronome from '@metronome/sdk';
6
7
 
7
8
  export const metadata: Metadata = {
@@ -15,7 +16,8 @@ export const metadata: Metadata = {
15
16
 
16
17
  export const tool: Tool = {
17
18
  name: 'remove_key_v1_custom_fields',
18
- description: 'Remove a key from the allow list for a given entity.\n',
19
+ description:
20
+ "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nRemove a key from the allow list for a given entity.\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {}\n}\n```",
19
21
  inputSchema: {
20
22
  type: 'object',
21
23
  properties: {
@@ -45,13 +47,22 @@ export const tool: Tool = {
45
47
  key: {
46
48
  type: 'string',
47
49
  },
50
+ jq_filter: {
51
+ type: 'string',
52
+ title: 'jq Filter',
53
+ description:
54
+ 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
55
+ },
48
56
  },
57
+ required: ['entity', 'key'],
49
58
  },
59
+ annotations: {},
50
60
  };
51
61
 
52
- export const handler = (client: Metronome, args: Record<string, unknown> | undefined) => {
62
+ export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
53
63
  const body = args as any;
54
- return client.v1.customFields.removeKey(body);
64
+ const response = await client.v1.customFields.removeKey(body).asResponse();
65
+ return asTextContentResult(await response.text());
55
66
  };
56
67
 
57
68
  export default { metadata, tool, handler };
@@ -1,7 +1,8 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
+ import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
4
+
3
5
  import { Tool } from '@modelcontextprotocol/sdk/types.js';
4
- import type { Metadata } from '../../';
5
6
  import Metronome from '@metronome/sdk';
6
7
 
7
8
  export const metadata: Metadata = {
@@ -16,7 +17,7 @@ export const metadata: Metadata = {
16
17
  export const tool: Tool = {
17
18
  name: 'set_values_v1_custom_fields',
18
19
  description:
19
- 'Sets one or more custom fields on an instance of a Metronome entity. If a key/value pair passed in this request matches one already set on the entity, its value will be overwritten. Any key/value pairs that exist on the entity that do not match those passed in this request will remain untouched. This endpoint is transactional and will update all key/value pairs or no key/value pairs. Partial updates are not supported. There is a 200 character limit on custom field values.\n',
20
+ "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nSets one or more custom fields on an instance of a Metronome entity. If a key/value pair passed in this request matches one already set on the entity, its value will be overwritten. Any key/value pairs that exist on the entity that do not match those passed in this request will remain untouched. This endpoint is transactional and will update all key/value pairs or no key/value pairs. Partial updates are not supported. There is a 200 character limit on custom field values.\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {}\n}\n```",
20
21
  inputSchema: {
21
22
  type: 'object',
22
23
  properties: {
@@ -49,13 +50,22 @@ export const tool: Tool = {
49
50
  entity_id: {
50
51
  type: 'string',
51
52
  },
53
+ jq_filter: {
54
+ type: 'string',
55
+ title: 'jq Filter',
56
+ description:
57
+ 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
58
+ },
52
59
  },
60
+ required: ['custom_fields', 'entity', 'entity_id'],
53
61
  },
62
+ annotations: {},
54
63
  };
55
64
 
56
- export const handler = (client: Metronome, args: Record<string, unknown> | undefined) => {
65
+ export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
57
66
  const body = args as any;
58
- return client.v1.customFields.setValues(body);
67
+ const response = await client.v1.customFields.setValues(body).asResponse();
68
+ return asTextContentResult(await response.text());
59
69
  };
60
70
 
61
71
  export default { metadata, tool, handler };
@@ -1,7 +1,9 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
+ import { maybeFilter } from '@metronome/mcp/filtering';
4
+ import { Metadata, asTextContentResult } from '@metronome/mcp/tools/types';
5
+
3
6
  import { Tool } from '@modelcontextprotocol/sdk/types.js';
4
- import type { Metadata } from '../../../';
5
7
  import Metronome from '@metronome/sdk';
6
8
 
7
9
  export const metadata: Metadata = {
@@ -15,7 +17,8 @@ export const metadata: Metadata = {
15
17
 
16
18
  export const tool: Tool = {
17
19
  name: 'list_customers_v1_alerts',
18
- description: 'Fetch all customer alert statuses and alert information for a customer',
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\nFetch all customer alert statuses and alert information for a customer\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n type: 'array',\n items: {\n $ref: '#/$defs/customer_alert'\n }\n },\n next_page: {\n type: 'string'\n }\n },\n required: [ 'data',\n 'next_page'\n ],\n $defs: {\n customer_alert: {\n type: 'object',\n properties: {\n alert: {\n type: 'object',\n properties: {\n id: {\n type: 'string',\n description: 'the Metronome ID of the alert'\n },\n name: {\n type: 'string',\n description: 'Name of the alert'\n },\n status: {\n type: 'string',\n description: 'Status of the alert',\n enum: [ 'enabled',\n 'archived',\n 'disabled'\n ]\n },\n threshold: {\n type: 'number',\n description: 'Threshold value of the alert policy'\n },\n type: {\n type: 'string',\n description: 'Type of the alert',\n enum: [ 'low_credit_balance_reached',\n 'spend_threshold_reached',\n 'monthly_invoice_total_spend_threshold_reached',\n 'low_remaining_days_in_plan_reached',\n 'low_remaining_credit_percentage_reached',\n 'usage_threshold_reached',\n 'low_remaining_days_for_commit_segment_reached',\n 'low_remaining_commit_balance_reached',\n 'low_remaining_commit_percentage_reached',\n 'low_remaining_days_for_contract_credit_segment_reached',\n 'low_remaining_contract_credit_balance_reached',\n 'low_remaining_contract_credit_percentage_reached',\n 'low_remaining_contract_credit_and_commit_balance_reached',\n 'invoice_total_reached'\n ]\n },\n updated_at: {\n type: 'string',\n description: 'Timestamp for when the alert was last updated',\n format: 'date-time'\n },\n credit_grant_type_filters: {\n type: 'array',\n description: 'An array of strings, representing a way to filter the credit grant this alert applies to, by looking at the credit_grant_type field on the credit grant. This field is only defined for CreditPercentage and CreditBalance alerts',\n items: {\n type: 'string'\n }\n },\n credit_type: {\n $ref: '#/$defs/credit_type_data'\n },\n custom_field_filters: {\n type: 'array',\n description: 'A list of custom field filters for alert types that support advanced filtering',\n items: {\n type: 'object',\n properties: {\n entity: {\n type: 'string',\n enum: [ 'Contract',\n 'Commit',\n 'ContractCredit'\n ]\n },\n key: {\n type: 'string'\n },\n value: {\n type: 'string'\n }\n },\n required: [ 'entity',\n 'key',\n 'value'\n ]\n }\n },\n group_key_filter: {\n type: 'object',\n description: 'Scopes alert evaluation to a specific presentation group key on individual line items. Only present for spend alerts.',\n properties: {\n key: {\n type: 'string'\n },\n value: {\n type: 'string'\n }\n },\n required: [ 'key',\n 'value'\n ]\n },\n invoice_types_filter: {\n type: 'array',\n description: 'Only supported for invoice_total_reached alerts. A list of invoice types to evaluate.',\n items: {\n type: 'string'\n }\n },\n uniqueness_key: {\n type: 'string',\n description: 'Prevents the creation of duplicates. If a request to create a record is made with a previously used uniqueness key, a new record will not be created and the request will fail with a 409 error.'\n }\n },\n required: [ 'id',\n 'name',\n 'status',\n 'threshold',\n 'type',\n 'updated_at'\n ]\n },\n customer_status: {\n type: 'string',\n description: 'The status of the customer alert. If the alert is archived, null will be returned.',\n enum: [ 'ok',\n 'in_alarm',\n 'evaluating'\n ]\n },\n triggered_by: {\n type: 'string',\n description: 'If present, indicates the reason the alert was triggered.'\n }\n },\n required: [ 'alert',\n 'customer_status'\n ]\n },\n credit_type_data: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n name: {\n type: 'string'\n }\n },\n required: [ 'id',\n 'name'\n ]\n }\n }\n}\n```",
19
22
  inputSchema: {
20
23
  type: 'object',
21
24
  properties: {
@@ -35,13 +38,21 @@ export const tool: Tool = {
35
38
  enum: ['ENABLED', 'DISABLED', 'ARCHIVED'],
36
39
  },
37
40
  },
41
+ jq_filter: {
42
+ type: 'string',
43
+ title: 'jq Filter',
44
+ description:
45
+ 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
46
+ },
38
47
  },
48
+ required: ['customer_id'],
39
49
  },
50
+ annotations: {},
40
51
  };
41
52
 
42
- export const handler = (client: Metronome, args: Record<string, unknown> | undefined) => {
53
+ export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
43
54
  const body = args as any;
44
- return client.v1.customers.alerts.list(body);
55
+ return asTextContentResult(await maybeFilter(args, await client.v1.customers.alerts.list(body)));
45
56
  };
46
57
 
47
58
  export default { metadata, tool, handler };