@metronome/mcp 0.1.0-beta.12 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (716) hide show
  1. package/compat.d.mts.map +1 -1
  2. package/compat.d.ts.map +1 -1
  3. package/compat.js +5 -2
  4. package/compat.js.map +1 -1
  5. package/compat.mjs +5 -2
  6. package/compat.mjs.map +1 -1
  7. package/package.json +2 -2
  8. package/server.js +2 -2
  9. package/server.js.map +1 -1
  10. package/server.mjs +2 -2
  11. package/server.mjs.map +1 -1
  12. package/src/compat.ts +5 -2
  13. package/src/server.ts +2 -2
  14. package/src/tools/v1/alerts/archive-v1-alerts.ts +3 -2
  15. package/src/tools/v1/alerts/create-v1-alerts.ts +16 -12
  16. package/src/tools/v1/audit-logs/list-v1-audit-logs.ts +5 -2
  17. package/src/tools/v1/billable-metrics/archive-v1-billable-metrics.ts +3 -2
  18. package/src/tools/v1/billable-metrics/create-v1-billable-metrics.ts +3 -2
  19. package/src/tools/v1/billable-metrics/list-v1-billable-metrics.ts +5 -2
  20. package/src/tools/v1/billable-metrics/retrieve-v1-billable-metrics.ts +5 -2
  21. package/src/tools/v1/contracts/add-manual-balance-entry-v1-contracts.ts +2 -8
  22. package/src/tools/v1/contracts/amend-v1-contracts.ts +2 -1
  23. package/src/tools/v1/contracts/archive-v1-contracts.ts +3 -2
  24. package/src/tools/v1/contracts/create-historical-invoices-v1-contracts.ts +2 -2
  25. package/src/tools/v1/contracts/create-v1-contracts.ts +154 -3
  26. package/src/tools/v1/contracts/list-balances-v1-contracts.ts +6 -2
  27. package/src/tools/v1/contracts/list-v1-contracts.ts +2 -1
  28. package/src/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.ts +3 -2
  29. package/src/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.ts +2 -7
  30. package/src/tools/v1/contracts/products/archive-contracts-v1-products.ts +3 -2
  31. package/src/tools/v1/contracts/products/create-contracts-v1-products.ts +3 -2
  32. package/src/tools/v1/contracts/products/list-contracts-v1-products.ts +3 -2
  33. package/src/tools/v1/contracts/products/retrieve-contracts-v1-products.ts +3 -2
  34. package/src/tools/v1/contracts/products/update-contracts-v1-products.ts +3 -2
  35. package/src/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.ts +3 -2
  36. package/src/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.ts +3 -2
  37. package/src/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.ts +3 -2
  38. package/src/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.ts +3 -2
  39. package/src/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.ts +2 -7
  40. package/src/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.ts +3 -2
  41. package/src/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.ts +3 -2
  42. package/src/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.ts +3 -2
  43. package/src/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.ts +5 -2
  44. package/src/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.ts +3 -2
  45. package/src/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.ts +5 -2
  46. package/src/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.ts +3 -2
  47. package/src/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.ts +3 -2
  48. package/src/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.ts +5 -2
  49. package/src/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.ts +3 -2
  50. package/src/tools/v1/contracts/retrieve-v1-contracts.ts +2 -1
  51. package/src/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.ts +2 -1
  52. package/src/tools/v1/contracts/set-usage-filter-v1-contracts.ts +2 -8
  53. package/src/tools/v1/contracts/update-end-date-v1-contracts.ts +3 -2
  54. package/src/tools/v1/credit-grants/create-v1-credit-grants.ts +3 -2
  55. package/src/tools/v1/credit-grants/edit-v1-credit-grants.ts +3 -2
  56. package/src/tools/v1/credit-grants/list-entries-v1-credit-grants.ts +3 -2
  57. package/src/tools/v1/credit-grants/list-v1-credit-grants.ts +3 -2
  58. package/src/tools/v1/credit-grants/void-v1-credit-grants.ts +3 -2
  59. package/src/tools/v1/custom-fields/add-key-v1-custom-fields.ts +2 -7
  60. package/src/tools/v1/custom-fields/delete-values-v1-custom-fields.ts +2 -8
  61. package/src/tools/v1/custom-fields/list-keys-v1-custom-fields.ts +3 -2
  62. package/src/tools/v1/custom-fields/remove-key-v1-custom-fields.ts +2 -8
  63. package/src/tools/v1/custom-fields/set-values-v1-custom-fields.ts +2 -7
  64. package/src/tools/v1/customers/alerts/list-customers-v1-alerts.ts +4 -3
  65. package/src/tools/v1/customers/alerts/reset-customers-v1-alerts.ts +2 -8
  66. package/src/tools/v1/customers/alerts/retrieve-customers-v1-alerts.ts +4 -3
  67. package/src/tools/v1/customers/archive-v1-customers.ts +3 -2
  68. package/src/tools/v1/customers/billing-config/create-customers-v1-billing-config.ts +2 -8
  69. package/src/tools/v1/customers/billing-config/delete-customers-v1-billing-config.ts +4 -7
  70. package/src/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.ts +7 -2
  71. package/src/tools/v1/customers/commits/create-customers-v1-commits.ts +3 -2
  72. package/src/tools/v1/customers/commits/list-customers-v1-commits.ts +6 -2
  73. package/src/tools/v1/customers/commits/update-end-date-customers-v1-commits.ts +5 -2
  74. package/src/tools/v1/customers/create-v1-customers.ts +3 -2
  75. package/src/tools/v1/customers/credits/create-customers-v1-credits.ts +3 -2
  76. package/src/tools/v1/customers/credits/list-customers-v1-credits.ts +6 -2
  77. package/src/tools/v1/customers/credits/update-end-date-customers-v1-credits.ts +5 -2
  78. package/src/tools/v1/customers/invoices/add-charge-customers-v1-invoices.ts +5 -2
  79. package/src/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.ts +4 -1
  80. package/src/tools/v1/customers/invoices/list-customers-v1-invoices.ts +4 -1
  81. package/src/tools/v1/customers/invoices/retrieve-customers-v1-invoices.ts +4 -2
  82. package/src/tools/v1/customers/list-billable-metrics-v1-customers.ts +5 -2
  83. package/src/tools/v1/customers/list-costs-v1-customers.ts +5 -2
  84. package/src/tools/v1/customers/list-v1-customers.ts +5 -2
  85. package/src/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.ts +3 -2
  86. package/src/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.ts +2 -7
  87. package/src/tools/v1/customers/plans/add-customers-v1-plans.ts +3 -2
  88. package/src/tools/v1/customers/plans/end-customers-v1-plans.ts +3 -2
  89. package/src/tools/v1/customers/plans/list-customers-v1-plans.ts +5 -2
  90. package/src/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.ts +5 -2
  91. package/src/tools/v1/customers/preview-events-v1-customers.ts +2 -1
  92. package/src/tools/v1/customers/retrieve-v1-customers.ts +5 -2
  93. package/src/tools/v1/customers/set-ingest-aliases-v1-customers.ts +2 -7
  94. package/src/tools/v1/customers/set-name-v1-customers.ts +3 -2
  95. package/src/tools/v1/customers/update-config-v1-customers.ts +2 -8
  96. package/src/tools/v1/dashboards/get-embeddable-url-v1-dashboards.ts +5 -2
  97. package/src/tools/v1/invoices/regenerate-v1-invoices.ts +3 -2
  98. package/src/tools/v1/invoices/void-v1-invoices.ts +3 -2
  99. package/src/tools/v1/plans/get-details-v1-plans.ts +5 -2
  100. package/src/tools/v1/plans/list-charges-v1-plans.ts +5 -2
  101. package/src/tools/v1/plans/list-customers-v1-plans.ts +5 -2
  102. package/src/tools/v1/plans/list-v1-plans.ts +5 -2
  103. package/src/tools/v1/pricing-units/list-v1-pricing-units.ts +5 -2
  104. package/src/tools/v1/services/list-v1-services.ts +5 -1
  105. package/src/tools/v1/usage/ingest-v1-usage.ts +2 -7
  106. package/src/tools/v1/usage/list-v1-usage.ts +3 -2
  107. package/src/tools/v1/usage/list-with-groups-v1-usage.ts +3 -2
  108. package/src/tools/v1/usage/search-v1-usage.ts +3 -2
  109. package/src/tools/v2/contracts/edit-commit-v2-contracts.ts +4 -3
  110. package/src/tools/v2/contracts/edit-credit-v2-contracts.ts +4 -3
  111. package/src/tools/v2/contracts/edit-v2-contracts.ts +163 -12
  112. package/src/tools/v2/contracts/get-edit-history-v2-contracts.ts +2 -1
  113. package/src/tools/v2/contracts/list-v2-contracts.ts +2 -1
  114. package/src/tools/v2/contracts/retrieve-v2-contracts.ts +2 -2
  115. package/tools/v1/alerts/archive-v1-alerts.d.mts.map +1 -1
  116. package/tools/v1/alerts/archive-v1-alerts.d.ts.map +1 -1
  117. package/tools/v1/alerts/archive-v1-alerts.js +3 -2
  118. package/tools/v1/alerts/archive-v1-alerts.js.map +1 -1
  119. package/tools/v1/alerts/archive-v1-alerts.mjs +3 -2
  120. package/tools/v1/alerts/archive-v1-alerts.mjs.map +1 -1
  121. package/tools/v1/alerts/create-v1-alerts.d.mts.map +1 -1
  122. package/tools/v1/alerts/create-v1-alerts.d.ts.map +1 -1
  123. package/tools/v1/alerts/create-v1-alerts.js +16 -12
  124. package/tools/v1/alerts/create-v1-alerts.js.map +1 -1
  125. package/tools/v1/alerts/create-v1-alerts.mjs +16 -12
  126. package/tools/v1/alerts/create-v1-alerts.mjs.map +1 -1
  127. package/tools/v1/audit-logs/list-v1-audit-logs.d.mts.map +1 -1
  128. package/tools/v1/audit-logs/list-v1-audit-logs.d.ts.map +1 -1
  129. package/tools/v1/audit-logs/list-v1-audit-logs.js +5 -2
  130. package/tools/v1/audit-logs/list-v1-audit-logs.js.map +1 -1
  131. package/tools/v1/audit-logs/list-v1-audit-logs.mjs +5 -2
  132. package/tools/v1/audit-logs/list-v1-audit-logs.mjs.map +1 -1
  133. package/tools/v1/billable-metrics/archive-v1-billable-metrics.d.mts.map +1 -1
  134. package/tools/v1/billable-metrics/archive-v1-billable-metrics.d.ts.map +1 -1
  135. package/tools/v1/billable-metrics/archive-v1-billable-metrics.js +3 -2
  136. package/tools/v1/billable-metrics/archive-v1-billable-metrics.js.map +1 -1
  137. package/tools/v1/billable-metrics/archive-v1-billable-metrics.mjs +3 -2
  138. package/tools/v1/billable-metrics/archive-v1-billable-metrics.mjs.map +1 -1
  139. package/tools/v1/billable-metrics/create-v1-billable-metrics.d.mts.map +1 -1
  140. package/tools/v1/billable-metrics/create-v1-billable-metrics.d.ts.map +1 -1
  141. package/tools/v1/billable-metrics/create-v1-billable-metrics.js +3 -2
  142. package/tools/v1/billable-metrics/create-v1-billable-metrics.js.map +1 -1
  143. package/tools/v1/billable-metrics/create-v1-billable-metrics.mjs +3 -2
  144. package/tools/v1/billable-metrics/create-v1-billable-metrics.mjs.map +1 -1
  145. package/tools/v1/billable-metrics/list-v1-billable-metrics.d.mts.map +1 -1
  146. package/tools/v1/billable-metrics/list-v1-billable-metrics.d.ts.map +1 -1
  147. package/tools/v1/billable-metrics/list-v1-billable-metrics.js +5 -2
  148. package/tools/v1/billable-metrics/list-v1-billable-metrics.js.map +1 -1
  149. package/tools/v1/billable-metrics/list-v1-billable-metrics.mjs +5 -2
  150. package/tools/v1/billable-metrics/list-v1-billable-metrics.mjs.map +1 -1
  151. package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.d.mts.map +1 -1
  152. package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.d.ts.map +1 -1
  153. package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.js +5 -2
  154. package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.js.map +1 -1
  155. package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.mjs +5 -2
  156. package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.mjs.map +1 -1
  157. package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.d.mts.map +1 -1
  158. package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.d.ts.map +1 -1
  159. package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.js +2 -6
  160. package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.js.map +1 -1
  161. package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.mjs +2 -6
  162. package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.mjs.map +1 -1
  163. package/tools/v1/contracts/amend-v1-contracts.d.mts.map +1 -1
  164. package/tools/v1/contracts/amend-v1-contracts.d.ts.map +1 -1
  165. package/tools/v1/contracts/amend-v1-contracts.js +2 -1
  166. package/tools/v1/contracts/amend-v1-contracts.js.map +1 -1
  167. package/tools/v1/contracts/amend-v1-contracts.mjs +2 -1
  168. package/tools/v1/contracts/amend-v1-contracts.mjs.map +1 -1
  169. package/tools/v1/contracts/archive-v1-contracts.d.mts.map +1 -1
  170. package/tools/v1/contracts/archive-v1-contracts.d.ts.map +1 -1
  171. package/tools/v1/contracts/archive-v1-contracts.js +3 -2
  172. package/tools/v1/contracts/archive-v1-contracts.js.map +1 -1
  173. package/tools/v1/contracts/archive-v1-contracts.mjs +3 -2
  174. package/tools/v1/contracts/archive-v1-contracts.mjs.map +1 -1
  175. package/tools/v1/contracts/create-historical-invoices-v1-contracts.js +2 -1
  176. package/tools/v1/contracts/create-historical-invoices-v1-contracts.js.map +1 -1
  177. package/tools/v1/contracts/create-historical-invoices-v1-contracts.mjs +2 -1
  178. package/tools/v1/contracts/create-historical-invoices-v1-contracts.mjs.map +1 -1
  179. package/tools/v1/contracts/create-v1-contracts.d.mts.map +1 -1
  180. package/tools/v1/contracts/create-v1-contracts.d.ts.map +1 -1
  181. package/tools/v1/contracts/create-v1-contracts.js +153 -2
  182. package/tools/v1/contracts/create-v1-contracts.js.map +1 -1
  183. package/tools/v1/contracts/create-v1-contracts.mjs +153 -2
  184. package/tools/v1/contracts/create-v1-contracts.mjs.map +1 -1
  185. package/tools/v1/contracts/list-balances-v1-contracts.d.mts.map +1 -1
  186. package/tools/v1/contracts/list-balances-v1-contracts.d.ts.map +1 -1
  187. package/tools/v1/contracts/list-balances-v1-contracts.js +6 -1
  188. package/tools/v1/contracts/list-balances-v1-contracts.js.map +1 -1
  189. package/tools/v1/contracts/list-balances-v1-contracts.mjs +6 -1
  190. package/tools/v1/contracts/list-balances-v1-contracts.mjs.map +1 -1
  191. package/tools/v1/contracts/list-v1-contracts.d.mts.map +1 -1
  192. package/tools/v1/contracts/list-v1-contracts.d.ts.map +1 -1
  193. package/tools/v1/contracts/list-v1-contracts.js +2 -1
  194. package/tools/v1/contracts/list-v1-contracts.js.map +1 -1
  195. package/tools/v1/contracts/list-v1-contracts.mjs +2 -1
  196. package/tools/v1/contracts/list-v1-contracts.mjs.map +1 -1
  197. package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.d.mts.map +1 -1
  198. package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.d.ts.map +1 -1
  199. package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.js +3 -2
  200. package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.js.map +1 -1
  201. package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.mjs +3 -2
  202. package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.mjs.map +1 -1
  203. package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.d.mts.map +1 -1
  204. package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.d.ts.map +1 -1
  205. package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.js +2 -6
  206. package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.js.map +1 -1
  207. package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.mjs +2 -6
  208. package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.mjs.map +1 -1
  209. package/tools/v1/contracts/products/archive-contracts-v1-products.d.mts.map +1 -1
  210. package/tools/v1/contracts/products/archive-contracts-v1-products.d.ts.map +1 -1
  211. package/tools/v1/contracts/products/archive-contracts-v1-products.js +3 -2
  212. package/tools/v1/contracts/products/archive-contracts-v1-products.js.map +1 -1
  213. package/tools/v1/contracts/products/archive-contracts-v1-products.mjs +3 -2
  214. package/tools/v1/contracts/products/archive-contracts-v1-products.mjs.map +1 -1
  215. package/tools/v1/contracts/products/create-contracts-v1-products.d.mts.map +1 -1
  216. package/tools/v1/contracts/products/create-contracts-v1-products.d.ts.map +1 -1
  217. package/tools/v1/contracts/products/create-contracts-v1-products.js +3 -2
  218. package/tools/v1/contracts/products/create-contracts-v1-products.js.map +1 -1
  219. package/tools/v1/contracts/products/create-contracts-v1-products.mjs +3 -2
  220. package/tools/v1/contracts/products/create-contracts-v1-products.mjs.map +1 -1
  221. package/tools/v1/contracts/products/list-contracts-v1-products.d.mts.map +1 -1
  222. package/tools/v1/contracts/products/list-contracts-v1-products.d.ts.map +1 -1
  223. package/tools/v1/contracts/products/list-contracts-v1-products.js +3 -2
  224. package/tools/v1/contracts/products/list-contracts-v1-products.js.map +1 -1
  225. package/tools/v1/contracts/products/list-contracts-v1-products.mjs +3 -2
  226. package/tools/v1/contracts/products/list-contracts-v1-products.mjs.map +1 -1
  227. package/tools/v1/contracts/products/retrieve-contracts-v1-products.d.mts.map +1 -1
  228. package/tools/v1/contracts/products/retrieve-contracts-v1-products.d.ts.map +1 -1
  229. package/tools/v1/contracts/products/retrieve-contracts-v1-products.js +3 -2
  230. package/tools/v1/contracts/products/retrieve-contracts-v1-products.js.map +1 -1
  231. package/tools/v1/contracts/products/retrieve-contracts-v1-products.mjs +3 -2
  232. package/tools/v1/contracts/products/retrieve-contracts-v1-products.mjs.map +1 -1
  233. package/tools/v1/contracts/products/update-contracts-v1-products.d.mts.map +1 -1
  234. package/tools/v1/contracts/products/update-contracts-v1-products.d.ts.map +1 -1
  235. package/tools/v1/contracts/products/update-contracts-v1-products.js +3 -2
  236. package/tools/v1/contracts/products/update-contracts-v1-products.js.map +1 -1
  237. package/tools/v1/contracts/products/update-contracts-v1-products.mjs +3 -2
  238. package/tools/v1/contracts/products/update-contracts-v1-products.mjs.map +1 -1
  239. package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.d.mts.map +1 -1
  240. package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.d.ts.map +1 -1
  241. package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.js +3 -2
  242. package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.js.map +1 -1
  243. package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.mjs +3 -2
  244. package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.mjs.map +1 -1
  245. package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.d.mts.map +1 -1
  246. package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.d.ts.map +1 -1
  247. package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.js +3 -2
  248. package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.js.map +1 -1
  249. package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.mjs +3 -2
  250. package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.mjs.map +1 -1
  251. package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.d.mts.map +1 -1
  252. package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.d.ts.map +1 -1
  253. package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.js +3 -2
  254. package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.js.map +1 -1
  255. package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.mjs +3 -2
  256. package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.mjs.map +1 -1
  257. package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.d.mts.map +1 -1
  258. package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.d.ts.map +1 -1
  259. package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.js +3 -2
  260. package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.js.map +1 -1
  261. package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.mjs +3 -2
  262. package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.mjs.map +1 -1
  263. package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.d.mts.map +1 -1
  264. package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.d.ts.map +1 -1
  265. package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.js +2 -6
  266. package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.js.map +1 -1
  267. package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.mjs +2 -6
  268. package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.mjs.map +1 -1
  269. package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.d.mts.map +1 -1
  270. package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.d.ts.map +1 -1
  271. package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.js +3 -2
  272. package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.js.map +1 -1
  273. package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.mjs +3 -2
  274. package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.mjs.map +1 -1
  275. package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.d.mts.map +1 -1
  276. package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.d.ts.map +1 -1
  277. package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.js +3 -2
  278. package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.js.map +1 -1
  279. package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.mjs +3 -2
  280. package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.mjs.map +1 -1
  281. package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.d.mts.map +1 -1
  282. package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.d.ts.map +1 -1
  283. package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.js +3 -2
  284. package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.js.map +1 -1
  285. package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.mjs +3 -2
  286. package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.mjs.map +1 -1
  287. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.d.mts.map +1 -1
  288. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.d.ts.map +1 -1
  289. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.js +3 -2
  290. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.js.map +1 -1
  291. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.mjs +3 -2
  292. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.mjs.map +1 -1
  293. package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.d.mts.map +1 -1
  294. package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.d.ts.map +1 -1
  295. package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.js +3 -2
  296. package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.js.map +1 -1
  297. package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.mjs +3 -2
  298. package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.mjs.map +1 -1
  299. package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.d.mts.map +1 -1
  300. package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.d.ts.map +1 -1
  301. package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.js +3 -2
  302. package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.js.map +1 -1
  303. package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.mjs +3 -2
  304. package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.mjs.map +1 -1
  305. package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.d.mts.map +1 -1
  306. package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.d.ts.map +1 -1
  307. package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.js +3 -2
  308. package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.js.map +1 -1
  309. package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.mjs +3 -2
  310. package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.mjs.map +1 -1
  311. package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.d.mts.map +1 -1
  312. package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.d.ts.map +1 -1
  313. package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.js +3 -2
  314. package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.js.map +1 -1
  315. package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.mjs +3 -2
  316. package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.mjs.map +1 -1
  317. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.d.mts.map +1 -1
  318. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.d.ts.map +1 -1
  319. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.js +3 -2
  320. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.js.map +1 -1
  321. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.mjs +3 -2
  322. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.mjs.map +1 -1
  323. package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.d.mts.map +1 -1
  324. package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.d.ts.map +1 -1
  325. package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.js +3 -2
  326. package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.js.map +1 -1
  327. package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.mjs +3 -2
  328. package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.mjs.map +1 -1
  329. package/tools/v1/contracts/retrieve-v1-contracts.d.mts.map +1 -1
  330. package/tools/v1/contracts/retrieve-v1-contracts.d.ts.map +1 -1
  331. package/tools/v1/contracts/retrieve-v1-contracts.js +2 -1
  332. package/tools/v1/contracts/retrieve-v1-contracts.js.map +1 -1
  333. package/tools/v1/contracts/retrieve-v1-contracts.mjs +2 -1
  334. package/tools/v1/contracts/retrieve-v1-contracts.mjs.map +1 -1
  335. package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.d.mts.map +1 -1
  336. package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.d.ts.map +1 -1
  337. package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.js +2 -1
  338. package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.js.map +1 -1
  339. package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.mjs +2 -1
  340. package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.mjs.map +1 -1
  341. package/tools/v1/contracts/set-usage-filter-v1-contracts.d.mts.map +1 -1
  342. package/tools/v1/contracts/set-usage-filter-v1-contracts.d.ts.map +1 -1
  343. package/tools/v1/contracts/set-usage-filter-v1-contracts.js +2 -6
  344. package/tools/v1/contracts/set-usage-filter-v1-contracts.js.map +1 -1
  345. package/tools/v1/contracts/set-usage-filter-v1-contracts.mjs +2 -6
  346. package/tools/v1/contracts/set-usage-filter-v1-contracts.mjs.map +1 -1
  347. package/tools/v1/contracts/update-end-date-v1-contracts.d.mts.map +1 -1
  348. package/tools/v1/contracts/update-end-date-v1-contracts.d.ts.map +1 -1
  349. package/tools/v1/contracts/update-end-date-v1-contracts.js +3 -2
  350. package/tools/v1/contracts/update-end-date-v1-contracts.js.map +1 -1
  351. package/tools/v1/contracts/update-end-date-v1-contracts.mjs +3 -2
  352. package/tools/v1/contracts/update-end-date-v1-contracts.mjs.map +1 -1
  353. package/tools/v1/credit-grants/create-v1-credit-grants.d.mts.map +1 -1
  354. package/tools/v1/credit-grants/create-v1-credit-grants.d.ts.map +1 -1
  355. package/tools/v1/credit-grants/create-v1-credit-grants.js +3 -2
  356. package/tools/v1/credit-grants/create-v1-credit-grants.js.map +1 -1
  357. package/tools/v1/credit-grants/create-v1-credit-grants.mjs +3 -2
  358. package/tools/v1/credit-grants/create-v1-credit-grants.mjs.map +1 -1
  359. package/tools/v1/credit-grants/edit-v1-credit-grants.d.mts.map +1 -1
  360. package/tools/v1/credit-grants/edit-v1-credit-grants.d.ts.map +1 -1
  361. package/tools/v1/credit-grants/edit-v1-credit-grants.js +3 -2
  362. package/tools/v1/credit-grants/edit-v1-credit-grants.js.map +1 -1
  363. package/tools/v1/credit-grants/edit-v1-credit-grants.mjs +3 -2
  364. package/tools/v1/credit-grants/edit-v1-credit-grants.mjs.map +1 -1
  365. package/tools/v1/credit-grants/list-entries-v1-credit-grants.d.mts.map +1 -1
  366. package/tools/v1/credit-grants/list-entries-v1-credit-grants.d.ts.map +1 -1
  367. package/tools/v1/credit-grants/list-entries-v1-credit-grants.js +3 -2
  368. package/tools/v1/credit-grants/list-entries-v1-credit-grants.js.map +1 -1
  369. package/tools/v1/credit-grants/list-entries-v1-credit-grants.mjs +3 -2
  370. package/tools/v1/credit-grants/list-entries-v1-credit-grants.mjs.map +1 -1
  371. package/tools/v1/credit-grants/list-v1-credit-grants.d.mts.map +1 -1
  372. package/tools/v1/credit-grants/list-v1-credit-grants.d.ts.map +1 -1
  373. package/tools/v1/credit-grants/list-v1-credit-grants.js +3 -2
  374. package/tools/v1/credit-grants/list-v1-credit-grants.js.map +1 -1
  375. package/tools/v1/credit-grants/list-v1-credit-grants.mjs +3 -2
  376. package/tools/v1/credit-grants/list-v1-credit-grants.mjs.map +1 -1
  377. package/tools/v1/credit-grants/void-v1-credit-grants.d.mts.map +1 -1
  378. package/tools/v1/credit-grants/void-v1-credit-grants.d.ts.map +1 -1
  379. package/tools/v1/credit-grants/void-v1-credit-grants.js +3 -2
  380. package/tools/v1/credit-grants/void-v1-credit-grants.js.map +1 -1
  381. package/tools/v1/credit-grants/void-v1-credit-grants.mjs +3 -2
  382. package/tools/v1/credit-grants/void-v1-credit-grants.mjs.map +1 -1
  383. package/tools/v1/custom-fields/add-key-v1-custom-fields.d.mts.map +1 -1
  384. package/tools/v1/custom-fields/add-key-v1-custom-fields.d.ts.map +1 -1
  385. package/tools/v1/custom-fields/add-key-v1-custom-fields.js +2 -6
  386. package/tools/v1/custom-fields/add-key-v1-custom-fields.js.map +1 -1
  387. package/tools/v1/custom-fields/add-key-v1-custom-fields.mjs +2 -6
  388. package/tools/v1/custom-fields/add-key-v1-custom-fields.mjs.map +1 -1
  389. package/tools/v1/custom-fields/delete-values-v1-custom-fields.d.mts.map +1 -1
  390. package/tools/v1/custom-fields/delete-values-v1-custom-fields.d.ts.map +1 -1
  391. package/tools/v1/custom-fields/delete-values-v1-custom-fields.js +2 -6
  392. package/tools/v1/custom-fields/delete-values-v1-custom-fields.js.map +1 -1
  393. package/tools/v1/custom-fields/delete-values-v1-custom-fields.mjs +2 -6
  394. package/tools/v1/custom-fields/delete-values-v1-custom-fields.mjs.map +1 -1
  395. package/tools/v1/custom-fields/list-keys-v1-custom-fields.d.mts.map +1 -1
  396. package/tools/v1/custom-fields/list-keys-v1-custom-fields.d.ts.map +1 -1
  397. package/tools/v1/custom-fields/list-keys-v1-custom-fields.js +3 -2
  398. package/tools/v1/custom-fields/list-keys-v1-custom-fields.js.map +1 -1
  399. package/tools/v1/custom-fields/list-keys-v1-custom-fields.mjs +3 -2
  400. package/tools/v1/custom-fields/list-keys-v1-custom-fields.mjs.map +1 -1
  401. package/tools/v1/custom-fields/remove-key-v1-custom-fields.d.mts.map +1 -1
  402. package/tools/v1/custom-fields/remove-key-v1-custom-fields.d.ts.map +1 -1
  403. package/tools/v1/custom-fields/remove-key-v1-custom-fields.js +2 -6
  404. package/tools/v1/custom-fields/remove-key-v1-custom-fields.js.map +1 -1
  405. package/tools/v1/custom-fields/remove-key-v1-custom-fields.mjs +2 -6
  406. package/tools/v1/custom-fields/remove-key-v1-custom-fields.mjs.map +1 -1
  407. package/tools/v1/custom-fields/set-values-v1-custom-fields.d.mts.map +1 -1
  408. package/tools/v1/custom-fields/set-values-v1-custom-fields.d.ts.map +1 -1
  409. package/tools/v1/custom-fields/set-values-v1-custom-fields.js +2 -6
  410. package/tools/v1/custom-fields/set-values-v1-custom-fields.js.map +1 -1
  411. package/tools/v1/custom-fields/set-values-v1-custom-fields.mjs +2 -6
  412. package/tools/v1/custom-fields/set-values-v1-custom-fields.mjs.map +1 -1
  413. package/tools/v1/customers/alerts/list-customers-v1-alerts.d.mts.map +1 -1
  414. package/tools/v1/customers/alerts/list-customers-v1-alerts.d.ts.map +1 -1
  415. package/tools/v1/customers/alerts/list-customers-v1-alerts.js +4 -3
  416. package/tools/v1/customers/alerts/list-customers-v1-alerts.js.map +1 -1
  417. package/tools/v1/customers/alerts/list-customers-v1-alerts.mjs +4 -3
  418. package/tools/v1/customers/alerts/list-customers-v1-alerts.mjs.map +1 -1
  419. package/tools/v1/customers/alerts/reset-customers-v1-alerts.d.mts.map +1 -1
  420. package/tools/v1/customers/alerts/reset-customers-v1-alerts.d.ts.map +1 -1
  421. package/tools/v1/customers/alerts/reset-customers-v1-alerts.js +2 -6
  422. package/tools/v1/customers/alerts/reset-customers-v1-alerts.js.map +1 -1
  423. package/tools/v1/customers/alerts/reset-customers-v1-alerts.mjs +2 -6
  424. package/tools/v1/customers/alerts/reset-customers-v1-alerts.mjs.map +1 -1
  425. package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.d.mts.map +1 -1
  426. package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.d.ts.map +1 -1
  427. package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.js +4 -3
  428. package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.js.map +1 -1
  429. package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.mjs +4 -3
  430. package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.mjs.map +1 -1
  431. package/tools/v1/customers/archive-v1-customers.d.mts.map +1 -1
  432. package/tools/v1/customers/archive-v1-customers.d.ts.map +1 -1
  433. package/tools/v1/customers/archive-v1-customers.js +3 -2
  434. package/tools/v1/customers/archive-v1-customers.js.map +1 -1
  435. package/tools/v1/customers/archive-v1-customers.mjs +3 -2
  436. package/tools/v1/customers/archive-v1-customers.mjs.map +1 -1
  437. package/tools/v1/customers/billing-config/create-customers-v1-billing-config.d.mts.map +1 -1
  438. package/tools/v1/customers/billing-config/create-customers-v1-billing-config.d.ts.map +1 -1
  439. package/tools/v1/customers/billing-config/create-customers-v1-billing-config.js +2 -6
  440. package/tools/v1/customers/billing-config/create-customers-v1-billing-config.js.map +1 -1
  441. package/tools/v1/customers/billing-config/create-customers-v1-billing-config.mjs +2 -6
  442. package/tools/v1/customers/billing-config/create-customers-v1-billing-config.mjs.map +1 -1
  443. package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.d.mts.map +1 -1
  444. package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.d.ts.map +1 -1
  445. package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.js +4 -6
  446. package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.js.map +1 -1
  447. package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.mjs +4 -6
  448. package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.mjs.map +1 -1
  449. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.d.mts.map +1 -1
  450. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.d.ts.map +1 -1
  451. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.js +5 -2
  452. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.js.map +1 -1
  453. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.mjs +5 -2
  454. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.mjs.map +1 -1
  455. package/tools/v1/customers/commits/create-customers-v1-commits.d.mts.map +1 -1
  456. package/tools/v1/customers/commits/create-customers-v1-commits.d.ts.map +1 -1
  457. package/tools/v1/customers/commits/create-customers-v1-commits.js +3 -2
  458. package/tools/v1/customers/commits/create-customers-v1-commits.js.map +1 -1
  459. package/tools/v1/customers/commits/create-customers-v1-commits.mjs +3 -2
  460. package/tools/v1/customers/commits/create-customers-v1-commits.mjs.map +1 -1
  461. package/tools/v1/customers/commits/list-customers-v1-commits.d.mts.map +1 -1
  462. package/tools/v1/customers/commits/list-customers-v1-commits.d.ts.map +1 -1
  463. package/tools/v1/customers/commits/list-customers-v1-commits.js +6 -1
  464. package/tools/v1/customers/commits/list-customers-v1-commits.js.map +1 -1
  465. package/tools/v1/customers/commits/list-customers-v1-commits.mjs +6 -1
  466. package/tools/v1/customers/commits/list-customers-v1-commits.mjs.map +1 -1
  467. package/tools/v1/customers/commits/update-end-date-customers-v1-commits.d.mts.map +1 -1
  468. package/tools/v1/customers/commits/update-end-date-customers-v1-commits.d.ts.map +1 -1
  469. package/tools/v1/customers/commits/update-end-date-customers-v1-commits.js +3 -2
  470. package/tools/v1/customers/commits/update-end-date-customers-v1-commits.js.map +1 -1
  471. package/tools/v1/customers/commits/update-end-date-customers-v1-commits.mjs +3 -2
  472. package/tools/v1/customers/commits/update-end-date-customers-v1-commits.mjs.map +1 -1
  473. package/tools/v1/customers/create-v1-customers.d.mts.map +1 -1
  474. package/tools/v1/customers/create-v1-customers.d.ts.map +1 -1
  475. package/tools/v1/customers/create-v1-customers.js +3 -2
  476. package/tools/v1/customers/create-v1-customers.js.map +1 -1
  477. package/tools/v1/customers/create-v1-customers.mjs +3 -2
  478. package/tools/v1/customers/create-v1-customers.mjs.map +1 -1
  479. package/tools/v1/customers/credits/create-customers-v1-credits.d.mts.map +1 -1
  480. package/tools/v1/customers/credits/create-customers-v1-credits.d.ts.map +1 -1
  481. package/tools/v1/customers/credits/create-customers-v1-credits.js +3 -2
  482. package/tools/v1/customers/credits/create-customers-v1-credits.js.map +1 -1
  483. package/tools/v1/customers/credits/create-customers-v1-credits.mjs +3 -2
  484. package/tools/v1/customers/credits/create-customers-v1-credits.mjs.map +1 -1
  485. package/tools/v1/customers/credits/list-customers-v1-credits.d.mts.map +1 -1
  486. package/tools/v1/customers/credits/list-customers-v1-credits.d.ts.map +1 -1
  487. package/tools/v1/customers/credits/list-customers-v1-credits.js +6 -1
  488. package/tools/v1/customers/credits/list-customers-v1-credits.js.map +1 -1
  489. package/tools/v1/customers/credits/list-customers-v1-credits.mjs +6 -1
  490. package/tools/v1/customers/credits/list-customers-v1-credits.mjs.map +1 -1
  491. package/tools/v1/customers/credits/update-end-date-customers-v1-credits.d.mts.map +1 -1
  492. package/tools/v1/customers/credits/update-end-date-customers-v1-credits.d.ts.map +1 -1
  493. package/tools/v1/customers/credits/update-end-date-customers-v1-credits.js +3 -2
  494. package/tools/v1/customers/credits/update-end-date-customers-v1-credits.js.map +1 -1
  495. package/tools/v1/customers/credits/update-end-date-customers-v1-credits.mjs +3 -2
  496. package/tools/v1/customers/credits/update-end-date-customers-v1-credits.mjs.map +1 -1
  497. package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.d.mts.map +1 -1
  498. package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.d.ts.map +1 -1
  499. package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.js +3 -2
  500. package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.js.map +1 -1
  501. package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.mjs +3 -2
  502. package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.mjs.map +1 -1
  503. package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.d.mts.map +1 -1
  504. package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.d.ts.map +1 -1
  505. package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.js +4 -1
  506. package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.js.map +1 -1
  507. package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.mjs +4 -1
  508. package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.mjs.map +1 -1
  509. package/tools/v1/customers/invoices/list-customers-v1-invoices.d.mts.map +1 -1
  510. package/tools/v1/customers/invoices/list-customers-v1-invoices.d.ts.map +1 -1
  511. package/tools/v1/customers/invoices/list-customers-v1-invoices.js +4 -1
  512. package/tools/v1/customers/invoices/list-customers-v1-invoices.js.map +1 -1
  513. package/tools/v1/customers/invoices/list-customers-v1-invoices.mjs +4 -1
  514. package/tools/v1/customers/invoices/list-customers-v1-invoices.mjs.map +1 -1
  515. package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.d.mts.map +1 -1
  516. package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.d.ts.map +1 -1
  517. package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.js +4 -1
  518. package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.js.map +1 -1
  519. package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.mjs +4 -1
  520. package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.mjs.map +1 -1
  521. package/tools/v1/customers/list-billable-metrics-v1-customers.d.mts.map +1 -1
  522. package/tools/v1/customers/list-billable-metrics-v1-customers.d.ts.map +1 -1
  523. package/tools/v1/customers/list-billable-metrics-v1-customers.js +5 -2
  524. package/tools/v1/customers/list-billable-metrics-v1-customers.js.map +1 -1
  525. package/tools/v1/customers/list-billable-metrics-v1-customers.mjs +5 -2
  526. package/tools/v1/customers/list-billable-metrics-v1-customers.mjs.map +1 -1
  527. package/tools/v1/customers/list-costs-v1-customers.d.mts.map +1 -1
  528. package/tools/v1/customers/list-costs-v1-customers.d.ts.map +1 -1
  529. package/tools/v1/customers/list-costs-v1-customers.js +5 -2
  530. package/tools/v1/customers/list-costs-v1-customers.js.map +1 -1
  531. package/tools/v1/customers/list-costs-v1-customers.mjs +5 -2
  532. package/tools/v1/customers/list-costs-v1-customers.mjs.map +1 -1
  533. package/tools/v1/customers/list-v1-customers.d.mts.map +1 -1
  534. package/tools/v1/customers/list-v1-customers.d.ts.map +1 -1
  535. package/tools/v1/customers/list-v1-customers.js +5 -2
  536. package/tools/v1/customers/list-v1-customers.js.map +1 -1
  537. package/tools/v1/customers/list-v1-customers.mjs +5 -2
  538. package/tools/v1/customers/list-v1-customers.mjs.map +1 -1
  539. package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.d.mts.map +1 -1
  540. package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.d.ts.map +1 -1
  541. package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.js +3 -2
  542. package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.js.map +1 -1
  543. package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.mjs +3 -2
  544. package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.mjs.map +1 -1
  545. package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.d.mts.map +1 -1
  546. package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.d.ts.map +1 -1
  547. package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.js +2 -6
  548. package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.js.map +1 -1
  549. package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.mjs +2 -6
  550. package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.mjs.map +1 -1
  551. package/tools/v1/customers/plans/add-customers-v1-plans.d.mts.map +1 -1
  552. package/tools/v1/customers/plans/add-customers-v1-plans.d.ts.map +1 -1
  553. package/tools/v1/customers/plans/add-customers-v1-plans.js +3 -2
  554. package/tools/v1/customers/plans/add-customers-v1-plans.js.map +1 -1
  555. package/tools/v1/customers/plans/add-customers-v1-plans.mjs +3 -2
  556. package/tools/v1/customers/plans/add-customers-v1-plans.mjs.map +1 -1
  557. package/tools/v1/customers/plans/end-customers-v1-plans.d.mts.map +1 -1
  558. package/tools/v1/customers/plans/end-customers-v1-plans.d.ts.map +1 -1
  559. package/tools/v1/customers/plans/end-customers-v1-plans.js +3 -2
  560. package/tools/v1/customers/plans/end-customers-v1-plans.js.map +1 -1
  561. package/tools/v1/customers/plans/end-customers-v1-plans.mjs +3 -2
  562. package/tools/v1/customers/plans/end-customers-v1-plans.mjs.map +1 -1
  563. package/tools/v1/customers/plans/list-customers-v1-plans.d.mts.map +1 -1
  564. package/tools/v1/customers/plans/list-customers-v1-plans.d.ts.map +1 -1
  565. package/tools/v1/customers/plans/list-customers-v1-plans.js +5 -2
  566. package/tools/v1/customers/plans/list-customers-v1-plans.js.map +1 -1
  567. package/tools/v1/customers/plans/list-customers-v1-plans.mjs +5 -2
  568. package/tools/v1/customers/plans/list-customers-v1-plans.mjs.map +1 -1
  569. package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.d.mts.map +1 -1
  570. package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.d.ts.map +1 -1
  571. package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.js +5 -2
  572. package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.js.map +1 -1
  573. package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.mjs +5 -2
  574. package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.mjs.map +1 -1
  575. package/tools/v1/customers/preview-events-v1-customers.d.mts.map +1 -1
  576. package/tools/v1/customers/preview-events-v1-customers.d.ts.map +1 -1
  577. package/tools/v1/customers/preview-events-v1-customers.js +2 -1
  578. package/tools/v1/customers/preview-events-v1-customers.js.map +1 -1
  579. package/tools/v1/customers/preview-events-v1-customers.mjs +2 -1
  580. package/tools/v1/customers/preview-events-v1-customers.mjs.map +1 -1
  581. package/tools/v1/customers/retrieve-v1-customers.d.mts.map +1 -1
  582. package/tools/v1/customers/retrieve-v1-customers.d.ts.map +1 -1
  583. package/tools/v1/customers/retrieve-v1-customers.js +5 -2
  584. package/tools/v1/customers/retrieve-v1-customers.js.map +1 -1
  585. package/tools/v1/customers/retrieve-v1-customers.mjs +5 -2
  586. package/tools/v1/customers/retrieve-v1-customers.mjs.map +1 -1
  587. package/tools/v1/customers/set-ingest-aliases-v1-customers.d.mts.map +1 -1
  588. package/tools/v1/customers/set-ingest-aliases-v1-customers.d.ts.map +1 -1
  589. package/tools/v1/customers/set-ingest-aliases-v1-customers.js +2 -6
  590. package/tools/v1/customers/set-ingest-aliases-v1-customers.js.map +1 -1
  591. package/tools/v1/customers/set-ingest-aliases-v1-customers.mjs +2 -6
  592. package/tools/v1/customers/set-ingest-aliases-v1-customers.mjs.map +1 -1
  593. package/tools/v1/customers/set-name-v1-customers.d.mts.map +1 -1
  594. package/tools/v1/customers/set-name-v1-customers.d.ts.map +1 -1
  595. package/tools/v1/customers/set-name-v1-customers.js +3 -2
  596. package/tools/v1/customers/set-name-v1-customers.js.map +1 -1
  597. package/tools/v1/customers/set-name-v1-customers.mjs +3 -2
  598. package/tools/v1/customers/set-name-v1-customers.mjs.map +1 -1
  599. package/tools/v1/customers/update-config-v1-customers.d.mts.map +1 -1
  600. package/tools/v1/customers/update-config-v1-customers.d.ts.map +1 -1
  601. package/tools/v1/customers/update-config-v1-customers.js +2 -6
  602. package/tools/v1/customers/update-config-v1-customers.js.map +1 -1
  603. package/tools/v1/customers/update-config-v1-customers.mjs +2 -6
  604. package/tools/v1/customers/update-config-v1-customers.mjs.map +1 -1
  605. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.d.mts.map +1 -1
  606. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.d.ts.map +1 -1
  607. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.js +5 -2
  608. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.js.map +1 -1
  609. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.mjs +5 -2
  610. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.mjs.map +1 -1
  611. package/tools/v1/invoices/regenerate-v1-invoices.d.mts.map +1 -1
  612. package/tools/v1/invoices/regenerate-v1-invoices.d.ts.map +1 -1
  613. package/tools/v1/invoices/regenerate-v1-invoices.js +3 -2
  614. package/tools/v1/invoices/regenerate-v1-invoices.js.map +1 -1
  615. package/tools/v1/invoices/regenerate-v1-invoices.mjs +3 -2
  616. package/tools/v1/invoices/regenerate-v1-invoices.mjs.map +1 -1
  617. package/tools/v1/invoices/void-v1-invoices.d.mts.map +1 -1
  618. package/tools/v1/invoices/void-v1-invoices.d.ts.map +1 -1
  619. package/tools/v1/invoices/void-v1-invoices.js +3 -2
  620. package/tools/v1/invoices/void-v1-invoices.js.map +1 -1
  621. package/tools/v1/invoices/void-v1-invoices.mjs +3 -2
  622. package/tools/v1/invoices/void-v1-invoices.mjs.map +1 -1
  623. package/tools/v1/plans/get-details-v1-plans.d.mts.map +1 -1
  624. package/tools/v1/plans/get-details-v1-plans.d.ts.map +1 -1
  625. package/tools/v1/plans/get-details-v1-plans.js +5 -2
  626. package/tools/v1/plans/get-details-v1-plans.js.map +1 -1
  627. package/tools/v1/plans/get-details-v1-plans.mjs +5 -2
  628. package/tools/v1/plans/get-details-v1-plans.mjs.map +1 -1
  629. package/tools/v1/plans/list-charges-v1-plans.d.mts.map +1 -1
  630. package/tools/v1/plans/list-charges-v1-plans.d.ts.map +1 -1
  631. package/tools/v1/plans/list-charges-v1-plans.js +5 -2
  632. package/tools/v1/plans/list-charges-v1-plans.js.map +1 -1
  633. package/tools/v1/plans/list-charges-v1-plans.mjs +5 -2
  634. package/tools/v1/plans/list-charges-v1-plans.mjs.map +1 -1
  635. package/tools/v1/plans/list-customers-v1-plans.d.mts.map +1 -1
  636. package/tools/v1/plans/list-customers-v1-plans.d.ts.map +1 -1
  637. package/tools/v1/plans/list-customers-v1-plans.js +5 -2
  638. package/tools/v1/plans/list-customers-v1-plans.js.map +1 -1
  639. package/tools/v1/plans/list-customers-v1-plans.mjs +5 -2
  640. package/tools/v1/plans/list-customers-v1-plans.mjs.map +1 -1
  641. package/tools/v1/plans/list-v1-plans.d.mts.map +1 -1
  642. package/tools/v1/plans/list-v1-plans.d.ts.map +1 -1
  643. package/tools/v1/plans/list-v1-plans.js +5 -2
  644. package/tools/v1/plans/list-v1-plans.js.map +1 -1
  645. package/tools/v1/plans/list-v1-plans.mjs +5 -2
  646. package/tools/v1/plans/list-v1-plans.mjs.map +1 -1
  647. package/tools/v1/pricing-units/list-v1-pricing-units.d.mts.map +1 -1
  648. package/tools/v1/pricing-units/list-v1-pricing-units.d.ts.map +1 -1
  649. package/tools/v1/pricing-units/list-v1-pricing-units.js +5 -2
  650. package/tools/v1/pricing-units/list-v1-pricing-units.js.map +1 -1
  651. package/tools/v1/pricing-units/list-v1-pricing-units.mjs +5 -2
  652. package/tools/v1/pricing-units/list-v1-pricing-units.mjs.map +1 -1
  653. package/tools/v1/services/list-v1-services.d.mts.map +1 -1
  654. package/tools/v1/services/list-v1-services.d.ts.map +1 -1
  655. package/tools/v1/services/list-v1-services.js +5 -1
  656. package/tools/v1/services/list-v1-services.js.map +1 -1
  657. package/tools/v1/services/list-v1-services.mjs +5 -1
  658. package/tools/v1/services/list-v1-services.mjs.map +1 -1
  659. package/tools/v1/usage/ingest-v1-usage.d.mts.map +1 -1
  660. package/tools/v1/usage/ingest-v1-usage.d.ts.map +1 -1
  661. package/tools/v1/usage/ingest-v1-usage.js +2 -6
  662. package/tools/v1/usage/ingest-v1-usage.js.map +1 -1
  663. package/tools/v1/usage/ingest-v1-usage.mjs +2 -6
  664. package/tools/v1/usage/ingest-v1-usage.mjs.map +1 -1
  665. package/tools/v1/usage/list-v1-usage.d.mts.map +1 -1
  666. package/tools/v1/usage/list-v1-usage.d.ts.map +1 -1
  667. package/tools/v1/usage/list-v1-usage.js +3 -2
  668. package/tools/v1/usage/list-v1-usage.js.map +1 -1
  669. package/tools/v1/usage/list-v1-usage.mjs +3 -2
  670. package/tools/v1/usage/list-v1-usage.mjs.map +1 -1
  671. package/tools/v1/usage/list-with-groups-v1-usage.d.mts.map +1 -1
  672. package/tools/v1/usage/list-with-groups-v1-usage.d.ts.map +1 -1
  673. package/tools/v1/usage/list-with-groups-v1-usage.js +3 -2
  674. package/tools/v1/usage/list-with-groups-v1-usage.js.map +1 -1
  675. package/tools/v1/usage/list-with-groups-v1-usage.mjs +3 -2
  676. package/tools/v1/usage/list-with-groups-v1-usage.mjs.map +1 -1
  677. package/tools/v1/usage/search-v1-usage.d.mts.map +1 -1
  678. package/tools/v1/usage/search-v1-usage.d.ts.map +1 -1
  679. package/tools/v1/usage/search-v1-usage.js +3 -2
  680. package/tools/v1/usage/search-v1-usage.js.map +1 -1
  681. package/tools/v1/usage/search-v1-usage.mjs +3 -2
  682. package/tools/v1/usage/search-v1-usage.mjs.map +1 -1
  683. package/tools/v2/contracts/edit-commit-v2-contracts.d.mts.map +1 -1
  684. package/tools/v2/contracts/edit-commit-v2-contracts.d.ts.map +1 -1
  685. package/tools/v2/contracts/edit-commit-v2-contracts.js +4 -3
  686. package/tools/v2/contracts/edit-commit-v2-contracts.js.map +1 -1
  687. package/tools/v2/contracts/edit-commit-v2-contracts.mjs +4 -3
  688. package/tools/v2/contracts/edit-commit-v2-contracts.mjs.map +1 -1
  689. package/tools/v2/contracts/edit-credit-v2-contracts.d.mts.map +1 -1
  690. package/tools/v2/contracts/edit-credit-v2-contracts.d.ts.map +1 -1
  691. package/tools/v2/contracts/edit-credit-v2-contracts.js +4 -3
  692. package/tools/v2/contracts/edit-credit-v2-contracts.js.map +1 -1
  693. package/tools/v2/contracts/edit-credit-v2-contracts.mjs +4 -3
  694. package/tools/v2/contracts/edit-credit-v2-contracts.mjs.map +1 -1
  695. package/tools/v2/contracts/edit-v2-contracts.d.mts.map +1 -1
  696. package/tools/v2/contracts/edit-v2-contracts.d.ts.map +1 -1
  697. package/tools/v2/contracts/edit-v2-contracts.js +162 -11
  698. package/tools/v2/contracts/edit-v2-contracts.js.map +1 -1
  699. package/tools/v2/contracts/edit-v2-contracts.mjs +162 -11
  700. package/tools/v2/contracts/edit-v2-contracts.mjs.map +1 -1
  701. package/tools/v2/contracts/get-edit-history-v2-contracts.d.mts.map +1 -1
  702. package/tools/v2/contracts/get-edit-history-v2-contracts.d.ts.map +1 -1
  703. package/tools/v2/contracts/get-edit-history-v2-contracts.js +2 -1
  704. package/tools/v2/contracts/get-edit-history-v2-contracts.js.map +1 -1
  705. package/tools/v2/contracts/get-edit-history-v2-contracts.mjs +2 -1
  706. package/tools/v2/contracts/get-edit-history-v2-contracts.mjs.map +1 -1
  707. package/tools/v2/contracts/list-v2-contracts.d.mts.map +1 -1
  708. package/tools/v2/contracts/list-v2-contracts.d.ts.map +1 -1
  709. package/tools/v2/contracts/list-v2-contracts.js +2 -1
  710. package/tools/v2/contracts/list-v2-contracts.js.map +1 -1
  711. package/tools/v2/contracts/list-v2-contracts.mjs +2 -1
  712. package/tools/v2/contracts/list-v2-contracts.mjs.map +1 -1
  713. package/tools/v2/contracts/retrieve-v2-contracts.js +2 -1
  714. package/tools/v2/contracts/retrieve-v2-contracts.js.map +1 -1
  715. package/tools/v2/contracts/retrieve-v2-contracts.mjs +2 -1
  716. package/tools/v2/contracts/retrieve-v2-contracts.mjs.map +1 -1
@@ -17,7 +17,7 @@ export const metadata: Metadata = {
17
17
  export const tool: Tool = {
18
18
  name: 'retrieve_v1_contracts',
19
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\nThis is the v1 endpoint to get a contract. New clients should implement using the v2 endpoint.\n",
20
+ 'This is the v1 endpoint to get a contract. New clients should implement using the v2 endpoint.\n',
21
21
  inputSchema: {
22
22
  type: 'object',
23
23
  properties: {
@@ -40,6 +40,7 @@ export const tool: Tool = {
40
40
  },
41
41
  required: ['contract_id', 'customer_id'],
42
42
  },
43
+ annotations: {},
43
44
  };
44
45
 
45
46
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
@@ -17,7 +17,7 @@ export const metadata: Metadata = {
17
17
  export const tool: Tool = {
18
18
  name: 'schedule_pro_services_invoice_v1_contracts',
19
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\nCreate a new scheduled invoice for Professional Services terms on a contract. This endpoint's availability is dependent on your client's configuration.\n",
20
+ "Create a new scheduled invoice for Professional Services terms on a contract. This endpoint's availability is dependent on your client's configuration.\n",
21
21
  inputSchema: {
22
22
  type: 'object',
23
23
  properties: {
@@ -91,6 +91,7 @@ export const tool: Tool = {
91
91
  },
92
92
  required: ['contract_id', 'customer_id', 'issued_at', 'line_items'],
93
93
  },
94
+ annotations: {},
94
95
  };
95
96
 
96
97
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
@@ -16,8 +16,7 @@ export const metadata: Metadata = {
16
16
 
17
17
  export const tool: Tool = {
18
18
  name: 'set_usage_filter_v1_contracts',
19
- description:
20
- "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nSet usage filter for a contract\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {}\n}\n```",
19
+ description: 'Set usage filter for a contract\n',
21
20
  inputSchema: {
22
21
  type: 'object',
23
22
  properties: {
@@ -40,15 +39,10 @@ export const tool: Tool = {
40
39
  type: 'string',
41
40
  format: 'date-time',
42
41
  },
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
- },
49
42
  },
50
43
  required: ['contract_id', 'customer_id', 'group_key', 'group_values', 'starting_at'],
51
44
  },
45
+ annotations: {},
52
46
  };
53
47
 
54
48
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
@@ -50,11 +50,12 @@ export const tool: Tool = {
50
50
  },
51
51
  required: ['contract_id', 'customer_id'],
52
52
  },
53
+ annotations: {},
53
54
  };
54
55
 
55
56
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
56
- const body = args as any;
57
- return asTextContentResult(await maybeFilter(args, await client.v1.contracts.updateEndDate(body)));
57
+ const { jq_filter, ...body } = args as any;
58
+ return asTextContentResult(await maybeFilter(jq_filter, await client.v1.contracts.updateEndDate(body)));
58
59
  };
59
60
 
60
61
  export default { metadata, tool, handler };
@@ -169,11 +169,12 @@ export const tool: Tool = {
169
169
  },
170
170
  },
171
171
  },
172
+ annotations: {},
172
173
  };
173
174
 
174
175
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
175
- const body = args as any;
176
- return asTextContentResult(await maybeFilter(args, await client.v1.creditGrants.create(body)));
176
+ const { jq_filter, ...body } = args as any;
177
+ return asTextContentResult(await maybeFilter(jq_filter, await client.v1.creditGrants.create(body)));
177
178
  };
178
179
 
179
180
  export default { metadata, tool, handler };
@@ -48,11 +48,12 @@ export const tool: Tool = {
48
48
  },
49
49
  required: ['id'],
50
50
  },
51
+ annotations: {},
51
52
  };
52
53
 
53
54
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
54
- const body = args as any;
55
- return asTextContentResult(await maybeFilter(args, await client.v1.creditGrants.edit(body)));
55
+ const { jq_filter, ...body } = args as any;
56
+ return asTextContentResult(await maybeFilter(jq_filter, await client.v1.creditGrants.edit(body)));
56
57
  };
57
58
 
58
59
  export default { metadata, tool, handler };
@@ -67,11 +67,12 @@ export const tool: Tool = {
67
67
  },
68
68
  required: [],
69
69
  },
70
+ annotations: {},
70
71
  };
71
72
 
72
73
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
73
- const body = args as any;
74
- return asTextContentResult(await maybeFilter(args, await client.v1.creditGrants.listEntries(body)));
74
+ const { jq_filter, ...body } = args as any;
75
+ return asTextContentResult(await maybeFilter(jq_filter, await client.v1.creditGrants.listEntries(body)));
75
76
  };
76
77
 
77
78
  export default { metadata, tool, handler };
@@ -73,12 +73,13 @@ export const tool: Tool = {
73
73
  },
74
74
  required: [],
75
75
  },
76
+ annotations: {},
76
77
  };
77
78
 
78
79
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
79
- const body = args as any;
80
+ const { jq_filter, ...body } = args as any;
80
81
  const response = await client.v1.creditGrants.list(body).asResponse();
81
- return asTextContentResult(await maybeFilter(args, await response.json()));
82
+ return asTextContentResult(await maybeFilter(jq_filter, await response.json()));
82
83
  };
83
84
 
84
85
  export default { metadata, tool, handler };
@@ -42,11 +42,12 @@ export const tool: Tool = {
42
42
  },
43
43
  required: ['id'],
44
44
  },
45
+ annotations: {},
45
46
  };
46
47
 
47
48
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
48
- const body = args as any;
49
- return asTextContentResult(await maybeFilter(args, await client.v1.creditGrants.void(body)));
49
+ const { jq_filter, ...body } = args as any;
50
+ return asTextContentResult(await maybeFilter(jq_filter, await client.v1.creditGrants.void(body)));
50
51
  };
51
52
 
52
53
  export default { metadata, tool, handler };
@@ -17,7 +17,7 @@ export const metadata: Metadata = {
17
17
  export const tool: Tool = {
18
18
  name: 'add_key_v1_custom_fields',
19
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\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
+ 'Add a key to the allow list for a given entity. There is a 100 character limit on custom field keys.\n',
21
21
  inputSchema: {
22
22
  type: 'object',
23
23
  properties: {
@@ -50,15 +50,10 @@ export const tool: Tool = {
50
50
  key: {
51
51
  type: 'string',
52
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
- },
59
53
  },
60
54
  required: ['enforce_uniqueness', 'entity', 'key'],
61
55
  },
56
+ annotations: {},
62
57
  };
63
58
 
64
59
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
@@ -16,8 +16,7 @@ export const metadata: Metadata = {
16
16
 
17
17
  export const tool: Tool = {
18
18
  name: 'delete_values_v1_custom_fields',
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
+ description: 'Deletes one or more custom fields on an instance of a Metronome entity.\n',
21
20
  inputSchema: {
22
21
  type: 'object',
23
22
  properties: {
@@ -53,15 +52,10 @@ export const tool: Tool = {
53
52
  type: 'string',
54
53
  },
55
54
  },
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
- },
62
55
  },
63
56
  required: ['entity', 'entity_id', 'keys'],
64
57
  },
58
+ annotations: {},
65
59
  };
66
60
 
67
61
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
@@ -62,11 +62,12 @@ export const tool: Tool = {
62
62
  },
63
63
  required: [],
64
64
  },
65
+ annotations: {},
65
66
  };
66
67
 
67
68
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
68
- const body = args as any;
69
- return asTextContentResult(await maybeFilter(args, await client.v1.customFields.listKeys(body)));
69
+ const { jq_filter, ...body } = args as any;
70
+ return asTextContentResult(await maybeFilter(jq_filter, await client.v1.customFields.listKeys(body)));
70
71
  };
71
72
 
72
73
  export default { metadata, tool, handler };
@@ -16,8 +16,7 @@ export const metadata: Metadata = {
16
16
 
17
17
  export const tool: Tool = {
18
18
  name: 'remove_key_v1_custom_fields',
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
+ description: 'Remove a key from the allow list for a given entity.\n',
21
20
  inputSchema: {
22
21
  type: 'object',
23
22
  properties: {
@@ -47,15 +46,10 @@ export const tool: Tool = {
47
46
  key: {
48
47
  type: 'string',
49
48
  },
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
- },
56
49
  },
57
50
  required: ['entity', 'key'],
58
51
  },
52
+ annotations: {},
59
53
  };
60
54
 
61
55
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
@@ -17,7 +17,7 @@ export const metadata: Metadata = {
17
17
  export const tool: Tool = {
18
18
  name: 'set_values_v1_custom_fields',
19
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\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
+ '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',
21
21
  inputSchema: {
22
22
  type: 'object',
23
23
  properties: {
@@ -50,15 +50,10 @@ export const tool: Tool = {
50
50
  entity_id: {
51
51
  type: 'string',
52
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
- },
59
53
  },
60
54
  required: ['custom_fields', 'entity', 'entity_id'],
61
55
  },
56
+ annotations: {},
62
57
  };
63
58
 
64
59
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
@@ -18,7 +18,7 @@ export const metadata: Metadata = {
18
18
  export const tool: Tool = {
19
19
  name: 'list_customers_v1_alerts',
20
20
  description:
21
- "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\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```",
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 group_values: {\n type: 'array',\n description: 'Only present for `spend_threshold_reached` alerts. Scope alert to a specific group key on individual line items.',\n items: {\n type: 'object',\n properties: {\n key: {\n type: 'string'\n },\n value: {\n type: 'string'\n }\n },\n required: [ 'key',\n 'value'\n ]\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```",
22
22
  inputSchema: {
23
23
  type: 'object',
24
24
  properties: {
@@ -47,11 +47,12 @@ export const tool: Tool = {
47
47
  },
48
48
  required: ['customer_id'],
49
49
  },
50
+ annotations: {},
50
51
  };
51
52
 
52
53
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
53
- const body = args as any;
54
- return asTextContentResult(await maybeFilter(args, await client.v1.customers.alerts.list(body)));
54
+ const { jq_filter, ...body } = args as any;
55
+ return asTextContentResult(await maybeFilter(jq_filter, await client.v1.customers.alerts.list(body)));
55
56
  };
56
57
 
57
58
  export default { metadata, tool, handler };
@@ -16,8 +16,7 @@ export const metadata: Metadata = {
16
16
 
17
17
  export const tool: Tool = {
18
18
  name: 'reset_customers_v1_alerts',
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\nReset state for an alert by customer id and force re-evaluation\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {}\n}\n```",
19
+ description: 'Reset state for an alert by customer id and force re-evaluation',
21
20
  inputSchema: {
22
21
  type: 'object',
23
22
  properties: {
@@ -29,15 +28,10 @@ export const tool: Tool = {
29
28
  type: 'string',
30
29
  description: 'The Metronome ID of the customer',
31
30
  },
32
- jq_filter: {
33
- type: 'string',
34
- title: 'jq Filter',
35
- description:
36
- '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/).',
37
- },
38
31
  },
39
32
  required: ['alert_id', 'customer_id'],
40
33
  },
34
+ annotations: {},
41
35
  };
42
36
 
43
37
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
@@ -18,7 +18,7 @@ export const metadata: Metadata = {
18
18
  export const tool: Tool = {
19
19
  name: 'retrieve_customers_v1_alerts',
20
20
  description:
21
- "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nGet the customer alert status and alert information for the specified customer and alert\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n $ref: '#/$defs/customer_alert'\n }\n },\n required: [ 'data'\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```",
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\nGet the customer alert status and alert information for the specified customer and alert\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n $ref: '#/$defs/customer_alert'\n }\n },\n required: [ 'data'\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 group_values: {\n type: 'array',\n description: 'Only present for `spend_threshold_reached` alerts. Scope alert to a specific group key on individual line items.',\n items: {\n type: 'object',\n properties: {\n key: {\n type: 'string'\n },\n value: {\n type: 'string'\n }\n },\n required: [ 'key',\n 'value'\n ]\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```",
22
22
  inputSchema: {
23
23
  type: 'object',
24
24
  properties: {
@@ -45,11 +45,12 @@ export const tool: Tool = {
45
45
  },
46
46
  required: ['alert_id', 'customer_id'],
47
47
  },
48
+ annotations: {},
48
49
  };
49
50
 
50
51
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
51
- const body = args as any;
52
- return asTextContentResult(await maybeFilter(args, await client.v1.customers.alerts.retrieve(body)));
52
+ const { jq_filter, ...body } = args as any;
53
+ return asTextContentResult(await maybeFilter(jq_filter, await client.v1.customers.alerts.retrieve(body)));
53
54
  };
54
55
 
55
56
  export default { metadata, tool, handler };
@@ -34,11 +34,12 @@ export const tool: Tool = {
34
34
  },
35
35
  required: ['id'],
36
36
  },
37
+ annotations: {},
37
38
  };
38
39
 
39
40
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
40
- const body = args as any;
41
- return asTextContentResult(await maybeFilter(args, await client.v1.customers.archive(body)));
41
+ const { jq_filter, ...body } = args as any;
42
+ return asTextContentResult(await maybeFilter(jq_filter, await client.v1.customers.archive(body)));
42
43
  };
43
44
 
44
45
  export default { metadata, tool, handler };
@@ -16,8 +16,7 @@ export const metadata: Metadata = {
16
16
 
17
17
  export const tool: Tool = {
18
18
  name: 'create_customers_v1_billing_config',
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 the billing configuration for a given customer.\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {}\n}\n```",
19
+ description: 'Set the billing configuration for a given customer.',
21
20
  inputSchema: {
22
21
  type: 'object',
23
22
  properties: {
@@ -79,15 +78,10 @@ export const tool: Tool = {
79
78
  type: 'string',
80
79
  enum: ['charge_automatically', 'send_invoice'],
81
80
  },
82
- jq_filter: {
83
- type: 'string',
84
- title: 'jq Filter',
85
- description:
86
- '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/).',
87
- },
88
81
  },
89
82
  required: ['customer_id', 'billing_provider_type', 'billing_provider_customer_id'],
90
83
  },
84
+ annotations: {},
91
85
  };
92
86
 
93
87
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
@@ -17,7 +17,7 @@ export const metadata: Metadata = {
17
17
  export const tool: Tool = {
18
18
  name: 'delete_customers_v1_billing_config',
19
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\nDelete the billing configuration for a given customer. Note: this is unsupported for Azure and AWS Marketplace customers.\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {}\n}\n```",
20
+ 'Delete the billing configuration for a given customer. Note: this is unsupported for Azure and AWS Marketplace customers.\n',
21
21
  inputSchema: {
22
22
  type: 'object',
23
23
  properties: {
@@ -37,15 +37,12 @@ export const tool: Tool = {
37
37
  'gcp_marketplace',
38
38
  ],
39
39
  },
40
- jq_filter: {
41
- type: 'string',
42
- title: 'jq Filter',
43
- description:
44
- '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/).',
45
- },
46
40
  },
47
41
  required: ['customer_id', 'billing_provider_type'],
48
42
  },
43
+ annotations: {
44
+ idempotentHint: true,
45
+ },
49
46
  };
50
47
 
51
48
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
@@ -47,11 +47,16 @@ export const tool: Tool = {
47
47
  },
48
48
  required: ['customer_id', 'billing_provider_type'],
49
49
  },
50
+ annotations: {
51
+ readOnlyHint: true,
52
+ },
50
53
  };
51
54
 
52
55
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
53
- const body = args as any;
54
- return asTextContentResult(await maybeFilter(args, await client.v1.customers.billingConfig.retrieve(body)));
56
+ const { jq_filter, ...body } = args as any;
57
+ return asTextContentResult(
58
+ await maybeFilter(jq_filter, await client.v1.customers.billingConfig.retrieve(body)),
59
+ );
55
60
  };
56
61
 
57
62
  export default { metadata, tool, handler };
@@ -249,11 +249,12 @@ export const tool: Tool = {
249
249
  },
250
250
  required: ['access_schedule', 'customer_id', 'priority', 'product_id', 'type'],
251
251
  },
252
+ annotations: {},
252
253
  };
253
254
 
254
255
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
255
- const body = args as any;
256
- return asTextContentResult(await maybeFilter(args, await client.v1.customers.commits.create(body)));
256
+ const { jq_filter, ...body } = args as any;
257
+ return asTextContentResult(await maybeFilter(jq_filter, await client.v1.customers.commits.create(body)));
257
258
  };
258
259
 
259
260
  export default { metadata, tool, handler };
@@ -16,8 +16,7 @@ export const metadata: Metadata = {
16
16
 
17
17
  export const tool: Tool = {
18
18
  name: 'list_customers_v1_commits',
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\nList commits.\n",
19
+ description: 'List commits.\n',
21
20
  inputSchema: {
22
21
  type: 'object',
23
22
  properties: {
@@ -55,6 +54,10 @@ export const tool: Tool = {
55
54
  description:
56
55
  'Include commit ledgers in the response. Setting this flag may cause the query to be slower.',
57
56
  },
57
+ limit: {
58
+ type: 'integer',
59
+ description: 'The maximum number of commits to return. Defaults to 25.',
60
+ },
58
61
  next_page: {
59
62
  type: 'string',
60
63
  description: 'The next page token from a previous response.',
@@ -67,6 +70,7 @@ export const tool: Tool = {
67
70
  },
68
71
  required: ['customer_id'],
69
72
  },
73
+ annotations: {},
70
74
  };
71
75
 
72
76
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
@@ -51,11 +51,14 @@ export const tool: Tool = {
51
51
  },
52
52
  required: ['commit_id', 'customer_id'],
53
53
  },
54
+ annotations: {},
54
55
  };
55
56
 
56
57
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
57
- const body = args as any;
58
- return asTextContentResult(await maybeFilter(args, await client.v1.customers.commits.updateEndDate(body)));
58
+ const { jq_filter, ...body } = args as any;
59
+ return asTextContentResult(
60
+ await maybeFilter(jq_filter, await client.v1.customers.commits.updateEndDate(body)),
61
+ );
59
62
  };
60
63
 
61
64
  export default { metadata, tool, handler };
@@ -143,11 +143,12 @@ export const tool: Tool = {
143
143
  },
144
144
  required: ['name'],
145
145
  },
146
+ annotations: {},
146
147
  };
147
148
 
148
149
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
149
- const body = args as any;
150
- return asTextContentResult(await maybeFilter(args, await client.v1.customers.create(body)));
150
+ const { jq_filter, ...body } = args as any;
151
+ return asTextContentResult(await maybeFilter(jq_filter, await client.v1.customers.create(body)));
151
152
  };
152
153
 
153
154
  export default { metadata, tool, handler };
@@ -155,11 +155,12 @@ export const tool: Tool = {
155
155
  },
156
156
  required: ['access_schedule', 'customer_id', 'priority', 'product_id'],
157
157
  },
158
+ annotations: {},
158
159
  };
159
160
 
160
161
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
161
- const body = args as any;
162
- return asTextContentResult(await maybeFilter(args, await client.v1.customers.credits.create(body)));
162
+ const { jq_filter, ...body } = args as any;
163
+ return asTextContentResult(await maybeFilter(jq_filter, await client.v1.customers.credits.create(body)));
163
164
  };
164
165
 
165
166
  export default { metadata, tool, handler };