@metronome/mcp 0.1.0 → 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 (584) 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 +2 -2
  15. package/src/tools/v1/alerts/create-v1-alerts.ts +15 -12
  16. package/src/tools/v1/audit-logs/list-v1-audit-logs.ts +2 -2
  17. package/src/tools/v1/billable-metrics/archive-v1-billable-metrics.ts +2 -2
  18. package/src/tools/v1/billable-metrics/create-v1-billable-metrics.ts +2 -2
  19. package/src/tools/v1/billable-metrics/list-v1-billable-metrics.ts +2 -2
  20. package/src/tools/v1/billable-metrics/retrieve-v1-billable-metrics.ts +2 -2
  21. package/src/tools/v1/contracts/add-manual-balance-entry-v1-contracts.ts +1 -8
  22. package/src/tools/v1/contracts/amend-v1-contracts.ts +1 -1
  23. package/src/tools/v1/contracts/archive-v1-contracts.ts +2 -2
  24. package/src/tools/v1/contracts/create-historical-invoices-v1-contracts.ts +1 -2
  25. package/src/tools/v1/contracts/create-v1-contracts.ts +59 -3
  26. package/src/tools/v1/contracts/list-balances-v1-contracts.ts +1 -2
  27. package/src/tools/v1/contracts/list-v1-contracts.ts +1 -1
  28. package/src/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.ts +2 -2
  29. package/src/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.ts +1 -7
  30. package/src/tools/v1/contracts/products/archive-contracts-v1-products.ts +2 -2
  31. package/src/tools/v1/contracts/products/create-contracts-v1-products.ts +2 -2
  32. package/src/tools/v1/contracts/products/list-contracts-v1-products.ts +2 -2
  33. package/src/tools/v1/contracts/products/retrieve-contracts-v1-products.ts +2 -2
  34. package/src/tools/v1/contracts/products/update-contracts-v1-products.ts +2 -2
  35. package/src/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.ts +2 -2
  36. package/src/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.ts +2 -2
  37. package/src/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.ts +2 -2
  38. package/src/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.ts +2 -2
  39. package/src/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.ts +1 -7
  40. package/src/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.ts +2 -2
  41. package/src/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.ts +2 -2
  42. package/src/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.ts +2 -2
  43. package/src/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.ts +4 -2
  44. package/src/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.ts +2 -2
  45. package/src/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.ts +4 -2
  46. package/src/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.ts +2 -2
  47. package/src/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.ts +2 -2
  48. package/src/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.ts +4 -2
  49. package/src/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.ts +2 -2
  50. package/src/tools/v1/contracts/retrieve-v1-contracts.ts +1 -1
  51. package/src/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.ts +1 -1
  52. package/src/tools/v1/contracts/set-usage-filter-v1-contracts.ts +1 -8
  53. package/src/tools/v1/contracts/update-end-date-v1-contracts.ts +2 -2
  54. package/src/tools/v1/credit-grants/create-v1-credit-grants.ts +2 -2
  55. package/src/tools/v1/credit-grants/edit-v1-credit-grants.ts +2 -2
  56. package/src/tools/v1/credit-grants/list-entries-v1-credit-grants.ts +2 -2
  57. package/src/tools/v1/credit-grants/list-v1-credit-grants.ts +2 -2
  58. package/src/tools/v1/credit-grants/void-v1-credit-grants.ts +2 -2
  59. package/src/tools/v1/custom-fields/add-key-v1-custom-fields.ts +1 -7
  60. package/src/tools/v1/custom-fields/delete-values-v1-custom-fields.ts +1 -8
  61. package/src/tools/v1/custom-fields/list-keys-v1-custom-fields.ts +2 -2
  62. package/src/tools/v1/custom-fields/remove-key-v1-custom-fields.ts +1 -8
  63. package/src/tools/v1/custom-fields/set-values-v1-custom-fields.ts +1 -7
  64. package/src/tools/v1/customers/alerts/list-customers-v1-alerts.ts +3 -3
  65. package/src/tools/v1/customers/alerts/reset-customers-v1-alerts.ts +1 -8
  66. package/src/tools/v1/customers/alerts/retrieve-customers-v1-alerts.ts +3 -3
  67. package/src/tools/v1/customers/archive-v1-customers.ts +2 -2
  68. package/src/tools/v1/customers/billing-config/create-customers-v1-billing-config.ts +1 -8
  69. package/src/tools/v1/customers/billing-config/delete-customers-v1-billing-config.ts +1 -7
  70. package/src/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.ts +4 -2
  71. package/src/tools/v1/customers/commits/create-customers-v1-commits.ts +2 -2
  72. package/src/tools/v1/customers/commits/list-customers-v1-commits.ts +1 -2
  73. package/src/tools/v1/customers/commits/update-end-date-customers-v1-commits.ts +4 -2
  74. package/src/tools/v1/customers/create-v1-customers.ts +2 -2
  75. package/src/tools/v1/customers/credits/create-customers-v1-credits.ts +2 -2
  76. package/src/tools/v1/customers/credits/list-customers-v1-credits.ts +1 -2
  77. package/src/tools/v1/customers/credits/update-end-date-customers-v1-credits.ts +4 -2
  78. package/src/tools/v1/customers/invoices/add-charge-customers-v1-invoices.ts +4 -2
  79. package/src/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.ts +1 -1
  80. package/src/tools/v1/customers/invoices/list-customers-v1-invoices.ts +1 -1
  81. package/src/tools/v1/customers/invoices/retrieve-customers-v1-invoices.ts +1 -2
  82. package/src/tools/v1/customers/list-billable-metrics-v1-customers.ts +2 -2
  83. package/src/tools/v1/customers/list-costs-v1-customers.ts +2 -2
  84. package/src/tools/v1/customers/list-v1-customers.ts +2 -2
  85. package/src/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.ts +2 -2
  86. package/src/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.ts +1 -7
  87. package/src/tools/v1/customers/plans/add-customers-v1-plans.ts +2 -2
  88. package/src/tools/v1/customers/plans/end-customers-v1-plans.ts +2 -2
  89. package/src/tools/v1/customers/plans/list-customers-v1-plans.ts +2 -2
  90. package/src/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.ts +2 -2
  91. package/src/tools/v1/customers/preview-events-v1-customers.ts +1 -1
  92. package/src/tools/v1/customers/retrieve-v1-customers.ts +2 -2
  93. package/src/tools/v1/customers/set-ingest-aliases-v1-customers.ts +1 -7
  94. package/src/tools/v1/customers/set-name-v1-customers.ts +2 -2
  95. package/src/tools/v1/customers/update-config-v1-customers.ts +1 -8
  96. package/src/tools/v1/dashboards/get-embeddable-url-v1-dashboards.ts +4 -2
  97. package/src/tools/v1/invoices/regenerate-v1-invoices.ts +2 -2
  98. package/src/tools/v1/invoices/void-v1-invoices.ts +2 -2
  99. package/src/tools/v1/plans/get-details-v1-plans.ts +2 -2
  100. package/src/tools/v1/plans/list-charges-v1-plans.ts +2 -2
  101. package/src/tools/v1/plans/list-customers-v1-plans.ts +2 -2
  102. package/src/tools/v1/plans/list-v1-plans.ts +2 -2
  103. package/src/tools/v1/pricing-units/list-v1-pricing-units.ts +2 -2
  104. package/src/tools/v1/services/list-v1-services.ts +2 -1
  105. package/src/tools/v1/usage/ingest-v1-usage.ts +1 -7
  106. package/src/tools/v1/usage/list-v1-usage.ts +2 -2
  107. package/src/tools/v1/usage/list-with-groups-v1-usage.ts +2 -2
  108. package/src/tools/v1/usage/search-v1-usage.ts +2 -2
  109. package/src/tools/v2/contracts/edit-commit-v2-contracts.ts +3 -3
  110. package/src/tools/v2/contracts/edit-credit-v2-contracts.ts +3 -3
  111. package/src/tools/v2/contracts/edit-v2-contracts.ts +70 -14
  112. package/src/tools/v2/contracts/get-edit-history-v2-contracts.ts +1 -1
  113. package/src/tools/v2/contracts/list-v2-contracts.ts +1 -1
  114. package/src/tools/v2/contracts/retrieve-v2-contracts.ts +1 -2
  115. package/tools/v1/alerts/archive-v1-alerts.js +2 -2
  116. package/tools/v1/alerts/archive-v1-alerts.js.map +1 -1
  117. package/tools/v1/alerts/archive-v1-alerts.mjs +2 -2
  118. package/tools/v1/alerts/archive-v1-alerts.mjs.map +1 -1
  119. package/tools/v1/alerts/create-v1-alerts.d.mts.map +1 -1
  120. package/tools/v1/alerts/create-v1-alerts.d.ts.map +1 -1
  121. package/tools/v1/alerts/create-v1-alerts.js +15 -12
  122. package/tools/v1/alerts/create-v1-alerts.js.map +1 -1
  123. package/tools/v1/alerts/create-v1-alerts.mjs +15 -12
  124. package/tools/v1/alerts/create-v1-alerts.mjs.map +1 -1
  125. package/tools/v1/audit-logs/list-v1-audit-logs.js +2 -2
  126. package/tools/v1/audit-logs/list-v1-audit-logs.js.map +1 -1
  127. package/tools/v1/audit-logs/list-v1-audit-logs.mjs +2 -2
  128. package/tools/v1/audit-logs/list-v1-audit-logs.mjs.map +1 -1
  129. package/tools/v1/billable-metrics/archive-v1-billable-metrics.js +2 -2
  130. package/tools/v1/billable-metrics/archive-v1-billable-metrics.js.map +1 -1
  131. package/tools/v1/billable-metrics/archive-v1-billable-metrics.mjs +2 -2
  132. package/tools/v1/billable-metrics/archive-v1-billable-metrics.mjs.map +1 -1
  133. package/tools/v1/billable-metrics/create-v1-billable-metrics.js +2 -2
  134. package/tools/v1/billable-metrics/create-v1-billable-metrics.js.map +1 -1
  135. package/tools/v1/billable-metrics/create-v1-billable-metrics.mjs +2 -2
  136. package/tools/v1/billable-metrics/create-v1-billable-metrics.mjs.map +1 -1
  137. package/tools/v1/billable-metrics/list-v1-billable-metrics.js +2 -2
  138. package/tools/v1/billable-metrics/list-v1-billable-metrics.js.map +1 -1
  139. package/tools/v1/billable-metrics/list-v1-billable-metrics.mjs +2 -2
  140. package/tools/v1/billable-metrics/list-v1-billable-metrics.mjs.map +1 -1
  141. package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.js +2 -2
  142. package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.js.map +1 -1
  143. package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.mjs +2 -2
  144. package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.mjs.map +1 -1
  145. package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.d.mts.map +1 -1
  146. package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.d.ts.map +1 -1
  147. package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.js +1 -6
  148. package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.js.map +1 -1
  149. package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.mjs +1 -6
  150. package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.mjs.map +1 -1
  151. package/tools/v1/contracts/amend-v1-contracts.js +1 -1
  152. package/tools/v1/contracts/amend-v1-contracts.js.map +1 -1
  153. package/tools/v1/contracts/amend-v1-contracts.mjs +1 -1
  154. package/tools/v1/contracts/amend-v1-contracts.mjs.map +1 -1
  155. package/tools/v1/contracts/archive-v1-contracts.js +2 -2
  156. package/tools/v1/contracts/archive-v1-contracts.js.map +1 -1
  157. package/tools/v1/contracts/archive-v1-contracts.mjs +2 -2
  158. package/tools/v1/contracts/archive-v1-contracts.mjs.map +1 -1
  159. package/tools/v1/contracts/create-historical-invoices-v1-contracts.d.mts.map +1 -1
  160. package/tools/v1/contracts/create-historical-invoices-v1-contracts.d.ts.map +1 -1
  161. package/tools/v1/contracts/create-historical-invoices-v1-contracts.js +1 -1
  162. package/tools/v1/contracts/create-historical-invoices-v1-contracts.js.map +1 -1
  163. package/tools/v1/contracts/create-historical-invoices-v1-contracts.mjs +1 -1
  164. package/tools/v1/contracts/create-historical-invoices-v1-contracts.mjs.map +1 -1
  165. package/tools/v1/contracts/create-v1-contracts.d.mts.map +1 -1
  166. package/tools/v1/contracts/create-v1-contracts.d.ts.map +1 -1
  167. package/tools/v1/contracts/create-v1-contracts.js +58 -2
  168. package/tools/v1/contracts/create-v1-contracts.js.map +1 -1
  169. package/tools/v1/contracts/create-v1-contracts.mjs +58 -2
  170. package/tools/v1/contracts/create-v1-contracts.mjs.map +1 -1
  171. package/tools/v1/contracts/list-balances-v1-contracts.d.mts.map +1 -1
  172. package/tools/v1/contracts/list-balances-v1-contracts.d.ts.map +1 -1
  173. package/tools/v1/contracts/list-balances-v1-contracts.js +1 -1
  174. package/tools/v1/contracts/list-balances-v1-contracts.js.map +1 -1
  175. package/tools/v1/contracts/list-balances-v1-contracts.mjs +1 -1
  176. package/tools/v1/contracts/list-balances-v1-contracts.mjs.map +1 -1
  177. package/tools/v1/contracts/list-v1-contracts.js +1 -1
  178. package/tools/v1/contracts/list-v1-contracts.js.map +1 -1
  179. package/tools/v1/contracts/list-v1-contracts.mjs +1 -1
  180. package/tools/v1/contracts/list-v1-contracts.mjs.map +1 -1
  181. package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.js +2 -2
  182. package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.js.map +1 -1
  183. package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.mjs +2 -2
  184. package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.mjs.map +1 -1
  185. package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.d.mts.map +1 -1
  186. package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.d.ts.map +1 -1
  187. package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.js +1 -6
  188. package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.js.map +1 -1
  189. package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.mjs +1 -6
  190. package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.mjs.map +1 -1
  191. package/tools/v1/contracts/products/archive-contracts-v1-products.js +2 -2
  192. package/tools/v1/contracts/products/archive-contracts-v1-products.js.map +1 -1
  193. package/tools/v1/contracts/products/archive-contracts-v1-products.mjs +2 -2
  194. package/tools/v1/contracts/products/archive-contracts-v1-products.mjs.map +1 -1
  195. package/tools/v1/contracts/products/create-contracts-v1-products.js +2 -2
  196. package/tools/v1/contracts/products/create-contracts-v1-products.js.map +1 -1
  197. package/tools/v1/contracts/products/create-contracts-v1-products.mjs +2 -2
  198. package/tools/v1/contracts/products/create-contracts-v1-products.mjs.map +1 -1
  199. package/tools/v1/contracts/products/list-contracts-v1-products.js +2 -2
  200. package/tools/v1/contracts/products/list-contracts-v1-products.js.map +1 -1
  201. package/tools/v1/contracts/products/list-contracts-v1-products.mjs +2 -2
  202. package/tools/v1/contracts/products/list-contracts-v1-products.mjs.map +1 -1
  203. package/tools/v1/contracts/products/retrieve-contracts-v1-products.js +2 -2
  204. package/tools/v1/contracts/products/retrieve-contracts-v1-products.js.map +1 -1
  205. package/tools/v1/contracts/products/retrieve-contracts-v1-products.mjs +2 -2
  206. package/tools/v1/contracts/products/retrieve-contracts-v1-products.mjs.map +1 -1
  207. package/tools/v1/contracts/products/update-contracts-v1-products.js +2 -2
  208. package/tools/v1/contracts/products/update-contracts-v1-products.js.map +1 -1
  209. package/tools/v1/contracts/products/update-contracts-v1-products.mjs +2 -2
  210. package/tools/v1/contracts/products/update-contracts-v1-products.mjs.map +1 -1
  211. package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.js +2 -2
  212. package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.js.map +1 -1
  213. package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.mjs +2 -2
  214. package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.mjs.map +1 -1
  215. package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.js +2 -2
  216. package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.js.map +1 -1
  217. package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.mjs +2 -2
  218. package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.mjs.map +1 -1
  219. package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.js +2 -2
  220. package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.js.map +1 -1
  221. package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.mjs +2 -2
  222. package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.mjs.map +1 -1
  223. package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.js +2 -2
  224. package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.js.map +1 -1
  225. package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.mjs +2 -2
  226. package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.mjs.map +1 -1
  227. package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.d.mts.map +1 -1
  228. package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.d.ts.map +1 -1
  229. package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.js +1 -6
  230. package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.js.map +1 -1
  231. package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.mjs +1 -6
  232. package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.mjs.map +1 -1
  233. package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.js +2 -2
  234. package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.js.map +1 -1
  235. package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.mjs +2 -2
  236. package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.mjs.map +1 -1
  237. package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.js +2 -2
  238. package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.js.map +1 -1
  239. package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.mjs +2 -2
  240. package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.mjs.map +1 -1
  241. package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.js +2 -2
  242. package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.js.map +1 -1
  243. package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.mjs +2 -2
  244. package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.mjs.map +1 -1
  245. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.d.mts.map +1 -1
  246. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.d.ts.map +1 -1
  247. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.js +2 -2
  248. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.js.map +1 -1
  249. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.mjs +2 -2
  250. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.mjs.map +1 -1
  251. package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.js +2 -2
  252. package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.js.map +1 -1
  253. package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.mjs +2 -2
  254. package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.mjs.map +1 -1
  255. package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.d.mts.map +1 -1
  256. package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.d.ts.map +1 -1
  257. package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.js +2 -2
  258. package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.js.map +1 -1
  259. package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.mjs +2 -2
  260. package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.mjs.map +1 -1
  261. package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.js +2 -2
  262. package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.js.map +1 -1
  263. package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.mjs +2 -2
  264. package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.mjs.map +1 -1
  265. package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.js +2 -2
  266. package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.js.map +1 -1
  267. package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.mjs +2 -2
  268. package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.mjs.map +1 -1
  269. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.d.mts.map +1 -1
  270. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.d.ts.map +1 -1
  271. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.js +2 -2
  272. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.js.map +1 -1
  273. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.mjs +2 -2
  274. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.mjs.map +1 -1
  275. package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.js +2 -2
  276. package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.js.map +1 -1
  277. package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.mjs +2 -2
  278. package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.mjs.map +1 -1
  279. package/tools/v1/contracts/retrieve-v1-contracts.js +1 -1
  280. package/tools/v1/contracts/retrieve-v1-contracts.js.map +1 -1
  281. package/tools/v1/contracts/retrieve-v1-contracts.mjs +1 -1
  282. package/tools/v1/contracts/retrieve-v1-contracts.mjs.map +1 -1
  283. package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.js +1 -1
  284. package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.js.map +1 -1
  285. package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.mjs +1 -1
  286. package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.mjs.map +1 -1
  287. package/tools/v1/contracts/set-usage-filter-v1-contracts.d.mts.map +1 -1
  288. package/tools/v1/contracts/set-usage-filter-v1-contracts.d.ts.map +1 -1
  289. package/tools/v1/contracts/set-usage-filter-v1-contracts.js +1 -6
  290. package/tools/v1/contracts/set-usage-filter-v1-contracts.js.map +1 -1
  291. package/tools/v1/contracts/set-usage-filter-v1-contracts.mjs +1 -6
  292. package/tools/v1/contracts/set-usage-filter-v1-contracts.mjs.map +1 -1
  293. package/tools/v1/contracts/update-end-date-v1-contracts.js +2 -2
  294. package/tools/v1/contracts/update-end-date-v1-contracts.js.map +1 -1
  295. package/tools/v1/contracts/update-end-date-v1-contracts.mjs +2 -2
  296. package/tools/v1/contracts/update-end-date-v1-contracts.mjs.map +1 -1
  297. package/tools/v1/credit-grants/create-v1-credit-grants.js +2 -2
  298. package/tools/v1/credit-grants/create-v1-credit-grants.js.map +1 -1
  299. package/tools/v1/credit-grants/create-v1-credit-grants.mjs +2 -2
  300. package/tools/v1/credit-grants/create-v1-credit-grants.mjs.map +1 -1
  301. package/tools/v1/credit-grants/edit-v1-credit-grants.js +2 -2
  302. package/tools/v1/credit-grants/edit-v1-credit-grants.js.map +1 -1
  303. package/tools/v1/credit-grants/edit-v1-credit-grants.mjs +2 -2
  304. package/tools/v1/credit-grants/edit-v1-credit-grants.mjs.map +1 -1
  305. package/tools/v1/credit-grants/list-entries-v1-credit-grants.js +2 -2
  306. package/tools/v1/credit-grants/list-entries-v1-credit-grants.js.map +1 -1
  307. package/tools/v1/credit-grants/list-entries-v1-credit-grants.mjs +2 -2
  308. package/tools/v1/credit-grants/list-entries-v1-credit-grants.mjs.map +1 -1
  309. package/tools/v1/credit-grants/list-v1-credit-grants.js +2 -2
  310. package/tools/v1/credit-grants/list-v1-credit-grants.js.map +1 -1
  311. package/tools/v1/credit-grants/list-v1-credit-grants.mjs +2 -2
  312. package/tools/v1/credit-grants/list-v1-credit-grants.mjs.map +1 -1
  313. package/tools/v1/credit-grants/void-v1-credit-grants.js +2 -2
  314. package/tools/v1/credit-grants/void-v1-credit-grants.js.map +1 -1
  315. package/tools/v1/credit-grants/void-v1-credit-grants.mjs +2 -2
  316. package/tools/v1/credit-grants/void-v1-credit-grants.mjs.map +1 -1
  317. package/tools/v1/custom-fields/add-key-v1-custom-fields.d.mts.map +1 -1
  318. package/tools/v1/custom-fields/add-key-v1-custom-fields.d.ts.map +1 -1
  319. package/tools/v1/custom-fields/add-key-v1-custom-fields.js +1 -6
  320. package/tools/v1/custom-fields/add-key-v1-custom-fields.js.map +1 -1
  321. package/tools/v1/custom-fields/add-key-v1-custom-fields.mjs +1 -6
  322. package/tools/v1/custom-fields/add-key-v1-custom-fields.mjs.map +1 -1
  323. package/tools/v1/custom-fields/delete-values-v1-custom-fields.d.mts.map +1 -1
  324. package/tools/v1/custom-fields/delete-values-v1-custom-fields.d.ts.map +1 -1
  325. package/tools/v1/custom-fields/delete-values-v1-custom-fields.js +1 -6
  326. package/tools/v1/custom-fields/delete-values-v1-custom-fields.js.map +1 -1
  327. package/tools/v1/custom-fields/delete-values-v1-custom-fields.mjs +1 -6
  328. package/tools/v1/custom-fields/delete-values-v1-custom-fields.mjs.map +1 -1
  329. package/tools/v1/custom-fields/list-keys-v1-custom-fields.js +2 -2
  330. package/tools/v1/custom-fields/list-keys-v1-custom-fields.js.map +1 -1
  331. package/tools/v1/custom-fields/list-keys-v1-custom-fields.mjs +2 -2
  332. package/tools/v1/custom-fields/list-keys-v1-custom-fields.mjs.map +1 -1
  333. package/tools/v1/custom-fields/remove-key-v1-custom-fields.d.mts.map +1 -1
  334. package/tools/v1/custom-fields/remove-key-v1-custom-fields.d.ts.map +1 -1
  335. package/tools/v1/custom-fields/remove-key-v1-custom-fields.js +1 -6
  336. package/tools/v1/custom-fields/remove-key-v1-custom-fields.js.map +1 -1
  337. package/tools/v1/custom-fields/remove-key-v1-custom-fields.mjs +1 -6
  338. package/tools/v1/custom-fields/remove-key-v1-custom-fields.mjs.map +1 -1
  339. package/tools/v1/custom-fields/set-values-v1-custom-fields.d.mts.map +1 -1
  340. package/tools/v1/custom-fields/set-values-v1-custom-fields.d.ts.map +1 -1
  341. package/tools/v1/custom-fields/set-values-v1-custom-fields.js +1 -6
  342. package/tools/v1/custom-fields/set-values-v1-custom-fields.js.map +1 -1
  343. package/tools/v1/custom-fields/set-values-v1-custom-fields.mjs +1 -6
  344. package/tools/v1/custom-fields/set-values-v1-custom-fields.mjs.map +1 -1
  345. package/tools/v1/customers/alerts/list-customers-v1-alerts.js +3 -3
  346. package/tools/v1/customers/alerts/list-customers-v1-alerts.js.map +1 -1
  347. package/tools/v1/customers/alerts/list-customers-v1-alerts.mjs +3 -3
  348. package/tools/v1/customers/alerts/list-customers-v1-alerts.mjs.map +1 -1
  349. package/tools/v1/customers/alerts/reset-customers-v1-alerts.d.mts.map +1 -1
  350. package/tools/v1/customers/alerts/reset-customers-v1-alerts.d.ts.map +1 -1
  351. package/tools/v1/customers/alerts/reset-customers-v1-alerts.js +1 -6
  352. package/tools/v1/customers/alerts/reset-customers-v1-alerts.js.map +1 -1
  353. package/tools/v1/customers/alerts/reset-customers-v1-alerts.mjs +1 -6
  354. package/tools/v1/customers/alerts/reset-customers-v1-alerts.mjs.map +1 -1
  355. package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.js +3 -3
  356. package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.js.map +1 -1
  357. package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.mjs +3 -3
  358. package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.mjs.map +1 -1
  359. package/tools/v1/customers/archive-v1-customers.js +2 -2
  360. package/tools/v1/customers/archive-v1-customers.js.map +1 -1
  361. package/tools/v1/customers/archive-v1-customers.mjs +2 -2
  362. package/tools/v1/customers/archive-v1-customers.mjs.map +1 -1
  363. package/tools/v1/customers/billing-config/create-customers-v1-billing-config.d.mts.map +1 -1
  364. package/tools/v1/customers/billing-config/create-customers-v1-billing-config.d.ts.map +1 -1
  365. package/tools/v1/customers/billing-config/create-customers-v1-billing-config.js +1 -6
  366. package/tools/v1/customers/billing-config/create-customers-v1-billing-config.js.map +1 -1
  367. package/tools/v1/customers/billing-config/create-customers-v1-billing-config.mjs +1 -6
  368. package/tools/v1/customers/billing-config/create-customers-v1-billing-config.mjs.map +1 -1
  369. package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.d.mts.map +1 -1
  370. package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.d.ts.map +1 -1
  371. package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.js +1 -6
  372. package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.js.map +1 -1
  373. package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.mjs +1 -6
  374. package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.mjs.map +1 -1
  375. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.d.mts.map +1 -1
  376. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.d.ts.map +1 -1
  377. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.js +2 -2
  378. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.js.map +1 -1
  379. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.mjs +2 -2
  380. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.mjs.map +1 -1
  381. package/tools/v1/customers/commits/create-customers-v1-commits.js +2 -2
  382. package/tools/v1/customers/commits/create-customers-v1-commits.js.map +1 -1
  383. package/tools/v1/customers/commits/create-customers-v1-commits.mjs +2 -2
  384. package/tools/v1/customers/commits/create-customers-v1-commits.mjs.map +1 -1
  385. package/tools/v1/customers/commits/list-customers-v1-commits.d.mts.map +1 -1
  386. package/tools/v1/customers/commits/list-customers-v1-commits.d.ts.map +1 -1
  387. package/tools/v1/customers/commits/list-customers-v1-commits.js +1 -1
  388. package/tools/v1/customers/commits/list-customers-v1-commits.js.map +1 -1
  389. package/tools/v1/customers/commits/list-customers-v1-commits.mjs +1 -1
  390. package/tools/v1/customers/commits/list-customers-v1-commits.mjs.map +1 -1
  391. package/tools/v1/customers/commits/update-end-date-customers-v1-commits.d.mts.map +1 -1
  392. package/tools/v1/customers/commits/update-end-date-customers-v1-commits.d.ts.map +1 -1
  393. package/tools/v1/customers/commits/update-end-date-customers-v1-commits.js +2 -2
  394. package/tools/v1/customers/commits/update-end-date-customers-v1-commits.js.map +1 -1
  395. package/tools/v1/customers/commits/update-end-date-customers-v1-commits.mjs +2 -2
  396. package/tools/v1/customers/commits/update-end-date-customers-v1-commits.mjs.map +1 -1
  397. package/tools/v1/customers/create-v1-customers.js +2 -2
  398. package/tools/v1/customers/create-v1-customers.js.map +1 -1
  399. package/tools/v1/customers/create-v1-customers.mjs +2 -2
  400. package/tools/v1/customers/create-v1-customers.mjs.map +1 -1
  401. package/tools/v1/customers/credits/create-customers-v1-credits.js +2 -2
  402. package/tools/v1/customers/credits/create-customers-v1-credits.js.map +1 -1
  403. package/tools/v1/customers/credits/create-customers-v1-credits.mjs +2 -2
  404. package/tools/v1/customers/credits/create-customers-v1-credits.mjs.map +1 -1
  405. package/tools/v1/customers/credits/list-customers-v1-credits.d.mts.map +1 -1
  406. package/tools/v1/customers/credits/list-customers-v1-credits.d.ts.map +1 -1
  407. package/tools/v1/customers/credits/list-customers-v1-credits.js +1 -1
  408. package/tools/v1/customers/credits/list-customers-v1-credits.js.map +1 -1
  409. package/tools/v1/customers/credits/list-customers-v1-credits.mjs +1 -1
  410. package/tools/v1/customers/credits/list-customers-v1-credits.mjs.map +1 -1
  411. package/tools/v1/customers/credits/update-end-date-customers-v1-credits.d.mts.map +1 -1
  412. package/tools/v1/customers/credits/update-end-date-customers-v1-credits.d.ts.map +1 -1
  413. package/tools/v1/customers/credits/update-end-date-customers-v1-credits.js +2 -2
  414. package/tools/v1/customers/credits/update-end-date-customers-v1-credits.js.map +1 -1
  415. package/tools/v1/customers/credits/update-end-date-customers-v1-credits.mjs +2 -2
  416. package/tools/v1/customers/credits/update-end-date-customers-v1-credits.mjs.map +1 -1
  417. package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.d.mts.map +1 -1
  418. package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.d.ts.map +1 -1
  419. package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.js +2 -2
  420. package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.js.map +1 -1
  421. package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.mjs +2 -2
  422. package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.mjs.map +1 -1
  423. package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.js +1 -1
  424. package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.js.map +1 -1
  425. package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.mjs +1 -1
  426. package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.mjs.map +1 -1
  427. package/tools/v1/customers/invoices/list-customers-v1-invoices.js +1 -1
  428. package/tools/v1/customers/invoices/list-customers-v1-invoices.js.map +1 -1
  429. package/tools/v1/customers/invoices/list-customers-v1-invoices.mjs +1 -1
  430. package/tools/v1/customers/invoices/list-customers-v1-invoices.mjs.map +1 -1
  431. package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.d.mts.map +1 -1
  432. package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.d.ts.map +1 -1
  433. package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.js +1 -1
  434. package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.js.map +1 -1
  435. package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.mjs +1 -1
  436. package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.mjs.map +1 -1
  437. package/tools/v1/customers/list-billable-metrics-v1-customers.js +2 -2
  438. package/tools/v1/customers/list-billable-metrics-v1-customers.js.map +1 -1
  439. package/tools/v1/customers/list-billable-metrics-v1-customers.mjs +2 -2
  440. package/tools/v1/customers/list-billable-metrics-v1-customers.mjs.map +1 -1
  441. package/tools/v1/customers/list-costs-v1-customers.js +2 -2
  442. package/tools/v1/customers/list-costs-v1-customers.js.map +1 -1
  443. package/tools/v1/customers/list-costs-v1-customers.mjs +2 -2
  444. package/tools/v1/customers/list-costs-v1-customers.mjs.map +1 -1
  445. package/tools/v1/customers/list-v1-customers.js +2 -2
  446. package/tools/v1/customers/list-v1-customers.js.map +1 -1
  447. package/tools/v1/customers/list-v1-customers.mjs +2 -2
  448. package/tools/v1/customers/list-v1-customers.mjs.map +1 -1
  449. package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.js +2 -2
  450. package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.js.map +1 -1
  451. package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.mjs +2 -2
  452. package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.mjs.map +1 -1
  453. package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.d.mts.map +1 -1
  454. package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.d.ts.map +1 -1
  455. package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.js +1 -6
  456. package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.js.map +1 -1
  457. package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.mjs +1 -6
  458. package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.mjs.map +1 -1
  459. package/tools/v1/customers/plans/add-customers-v1-plans.js +2 -2
  460. package/tools/v1/customers/plans/add-customers-v1-plans.js.map +1 -1
  461. package/tools/v1/customers/plans/add-customers-v1-plans.mjs +2 -2
  462. package/tools/v1/customers/plans/add-customers-v1-plans.mjs.map +1 -1
  463. package/tools/v1/customers/plans/end-customers-v1-plans.js +2 -2
  464. package/tools/v1/customers/plans/end-customers-v1-plans.js.map +1 -1
  465. package/tools/v1/customers/plans/end-customers-v1-plans.mjs +2 -2
  466. package/tools/v1/customers/plans/end-customers-v1-plans.mjs.map +1 -1
  467. package/tools/v1/customers/plans/list-customers-v1-plans.js +2 -2
  468. package/tools/v1/customers/plans/list-customers-v1-plans.js.map +1 -1
  469. package/tools/v1/customers/plans/list-customers-v1-plans.mjs +2 -2
  470. package/tools/v1/customers/plans/list-customers-v1-plans.mjs.map +1 -1
  471. package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.js +2 -2
  472. package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.js.map +1 -1
  473. package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.mjs +2 -2
  474. package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.mjs.map +1 -1
  475. package/tools/v1/customers/preview-events-v1-customers.js +1 -1
  476. package/tools/v1/customers/preview-events-v1-customers.js.map +1 -1
  477. package/tools/v1/customers/preview-events-v1-customers.mjs +1 -1
  478. package/tools/v1/customers/preview-events-v1-customers.mjs.map +1 -1
  479. package/tools/v1/customers/retrieve-v1-customers.js +2 -2
  480. package/tools/v1/customers/retrieve-v1-customers.js.map +1 -1
  481. package/tools/v1/customers/retrieve-v1-customers.mjs +2 -2
  482. package/tools/v1/customers/retrieve-v1-customers.mjs.map +1 -1
  483. package/tools/v1/customers/set-ingest-aliases-v1-customers.d.mts.map +1 -1
  484. package/tools/v1/customers/set-ingest-aliases-v1-customers.d.ts.map +1 -1
  485. package/tools/v1/customers/set-ingest-aliases-v1-customers.js +1 -6
  486. package/tools/v1/customers/set-ingest-aliases-v1-customers.js.map +1 -1
  487. package/tools/v1/customers/set-ingest-aliases-v1-customers.mjs +1 -6
  488. package/tools/v1/customers/set-ingest-aliases-v1-customers.mjs.map +1 -1
  489. package/tools/v1/customers/set-name-v1-customers.js +2 -2
  490. package/tools/v1/customers/set-name-v1-customers.js.map +1 -1
  491. package/tools/v1/customers/set-name-v1-customers.mjs +2 -2
  492. package/tools/v1/customers/set-name-v1-customers.mjs.map +1 -1
  493. package/tools/v1/customers/update-config-v1-customers.d.mts.map +1 -1
  494. package/tools/v1/customers/update-config-v1-customers.d.ts.map +1 -1
  495. package/tools/v1/customers/update-config-v1-customers.js +1 -6
  496. package/tools/v1/customers/update-config-v1-customers.js.map +1 -1
  497. package/tools/v1/customers/update-config-v1-customers.mjs +1 -6
  498. package/tools/v1/customers/update-config-v1-customers.mjs.map +1 -1
  499. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.d.mts.map +1 -1
  500. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.d.ts.map +1 -1
  501. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.js +4 -2
  502. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.js.map +1 -1
  503. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.mjs +4 -2
  504. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.mjs.map +1 -1
  505. package/tools/v1/invoices/regenerate-v1-invoices.js +2 -2
  506. package/tools/v1/invoices/regenerate-v1-invoices.js.map +1 -1
  507. package/tools/v1/invoices/regenerate-v1-invoices.mjs +2 -2
  508. package/tools/v1/invoices/regenerate-v1-invoices.mjs.map +1 -1
  509. package/tools/v1/invoices/void-v1-invoices.js +2 -2
  510. package/tools/v1/invoices/void-v1-invoices.js.map +1 -1
  511. package/tools/v1/invoices/void-v1-invoices.mjs +2 -2
  512. package/tools/v1/invoices/void-v1-invoices.mjs.map +1 -1
  513. package/tools/v1/plans/get-details-v1-plans.js +2 -2
  514. package/tools/v1/plans/get-details-v1-plans.js.map +1 -1
  515. package/tools/v1/plans/get-details-v1-plans.mjs +2 -2
  516. package/tools/v1/plans/get-details-v1-plans.mjs.map +1 -1
  517. package/tools/v1/plans/list-charges-v1-plans.js +2 -2
  518. package/tools/v1/plans/list-charges-v1-plans.js.map +1 -1
  519. package/tools/v1/plans/list-charges-v1-plans.mjs +2 -2
  520. package/tools/v1/plans/list-charges-v1-plans.mjs.map +1 -1
  521. package/tools/v1/plans/list-customers-v1-plans.js +2 -2
  522. package/tools/v1/plans/list-customers-v1-plans.js.map +1 -1
  523. package/tools/v1/plans/list-customers-v1-plans.mjs +2 -2
  524. package/tools/v1/plans/list-customers-v1-plans.mjs.map +1 -1
  525. package/tools/v1/plans/list-v1-plans.js +2 -2
  526. package/tools/v1/plans/list-v1-plans.js.map +1 -1
  527. package/tools/v1/plans/list-v1-plans.mjs +2 -2
  528. package/tools/v1/plans/list-v1-plans.mjs.map +1 -1
  529. package/tools/v1/pricing-units/list-v1-pricing-units.js +2 -2
  530. package/tools/v1/pricing-units/list-v1-pricing-units.js.map +1 -1
  531. package/tools/v1/pricing-units/list-v1-pricing-units.mjs +2 -2
  532. package/tools/v1/pricing-units/list-v1-pricing-units.mjs.map +1 -1
  533. package/tools/v1/services/list-v1-services.d.mts.map +1 -1
  534. package/tools/v1/services/list-v1-services.d.ts.map +1 -1
  535. package/tools/v1/services/list-v1-services.js +2 -1
  536. package/tools/v1/services/list-v1-services.js.map +1 -1
  537. package/tools/v1/services/list-v1-services.mjs +2 -1
  538. package/tools/v1/services/list-v1-services.mjs.map +1 -1
  539. package/tools/v1/usage/ingest-v1-usage.d.mts.map +1 -1
  540. package/tools/v1/usage/ingest-v1-usage.d.ts.map +1 -1
  541. package/tools/v1/usage/ingest-v1-usage.js +1 -6
  542. package/tools/v1/usage/ingest-v1-usage.js.map +1 -1
  543. package/tools/v1/usage/ingest-v1-usage.mjs +1 -6
  544. package/tools/v1/usage/ingest-v1-usage.mjs.map +1 -1
  545. package/tools/v1/usage/list-v1-usage.js +2 -2
  546. package/tools/v1/usage/list-v1-usage.js.map +1 -1
  547. package/tools/v1/usage/list-v1-usage.mjs +2 -2
  548. package/tools/v1/usage/list-v1-usage.mjs.map +1 -1
  549. package/tools/v1/usage/list-with-groups-v1-usage.js +2 -2
  550. package/tools/v1/usage/list-with-groups-v1-usage.js.map +1 -1
  551. package/tools/v1/usage/list-with-groups-v1-usage.mjs +2 -2
  552. package/tools/v1/usage/list-with-groups-v1-usage.mjs.map +1 -1
  553. package/tools/v1/usage/search-v1-usage.js +2 -2
  554. package/tools/v1/usage/search-v1-usage.js.map +1 -1
  555. package/tools/v1/usage/search-v1-usage.mjs +2 -2
  556. package/tools/v1/usage/search-v1-usage.mjs.map +1 -1
  557. package/tools/v2/contracts/edit-commit-v2-contracts.js +3 -3
  558. package/tools/v2/contracts/edit-commit-v2-contracts.js.map +1 -1
  559. package/tools/v2/contracts/edit-commit-v2-contracts.mjs +3 -3
  560. package/tools/v2/contracts/edit-commit-v2-contracts.mjs.map +1 -1
  561. package/tools/v2/contracts/edit-credit-v2-contracts.js +3 -3
  562. package/tools/v2/contracts/edit-credit-v2-contracts.js.map +1 -1
  563. package/tools/v2/contracts/edit-credit-v2-contracts.mjs +3 -3
  564. package/tools/v2/contracts/edit-credit-v2-contracts.mjs.map +1 -1
  565. package/tools/v2/contracts/edit-v2-contracts.d.mts.map +1 -1
  566. package/tools/v2/contracts/edit-v2-contracts.d.ts.map +1 -1
  567. package/tools/v2/contracts/edit-v2-contracts.js +69 -13
  568. package/tools/v2/contracts/edit-v2-contracts.js.map +1 -1
  569. package/tools/v2/contracts/edit-v2-contracts.mjs +69 -13
  570. package/tools/v2/contracts/edit-v2-contracts.mjs.map +1 -1
  571. package/tools/v2/contracts/get-edit-history-v2-contracts.js +1 -1
  572. package/tools/v2/contracts/get-edit-history-v2-contracts.js.map +1 -1
  573. package/tools/v2/contracts/get-edit-history-v2-contracts.mjs +1 -1
  574. package/tools/v2/contracts/get-edit-history-v2-contracts.mjs.map +1 -1
  575. package/tools/v2/contracts/list-v2-contracts.js +1 -1
  576. package/tools/v2/contracts/list-v2-contracts.js.map +1 -1
  577. package/tools/v2/contracts/list-v2-contracts.mjs +1 -1
  578. package/tools/v2/contracts/list-v2-contracts.mjs.map +1 -1
  579. package/tools/v2/contracts/retrieve-v2-contracts.d.mts.map +1 -1
  580. package/tools/v2/contracts/retrieve-v2-contracts.d.ts.map +1 -1
  581. package/tools/v2/contracts/retrieve-v2-contracts.js +1 -1
  582. package/tools/v2/contracts/retrieve-v2-contracts.js.map +1 -1
  583. package/tools/v2/contracts/retrieve-v2-contracts.mjs +1 -1
  584. 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: 'update_contracts_v1_named_schedules',
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\nUpdate a named schedule for the given rate card. This endpoint's availability is dependent on your client's configuration.\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {}\n}\n```",
20
+ "Update a named schedule for the given rate card. This endpoint's availability is dependent on your client's configuration.",
21
21
  inputSchema: {
22
22
  type: 'object',
23
23
  properties: {
@@ -42,12 +42,6 @@ export const tool: Tool = {
42
42
  type: 'string',
43
43
  format: 'date-time',
44
44
  },
45
- jq_filter: {
46
- type: 'string',
47
- title: 'jq Filter',
48
- description:
49
- '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/).',
50
- },
51
45
  },
52
46
  required: ['rate_card_id', 'schedule_name', 'starting_at', 'value'],
53
47
  },
@@ -39,8 +39,8 @@ export const tool: Tool = {
39
39
  };
40
40
 
41
41
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
42
- const body = args as any;
43
- return asTextContentResult(await maybeFilter(args, await client.v1.contracts.products.archive(body)));
42
+ const { jq_filter, ...body } = args as any;
43
+ return asTextContentResult(await maybeFilter(jq_filter, await client.v1.contracts.products.archive(body)));
44
44
  };
45
45
 
46
46
  export default { metadata, tool, handler };
@@ -145,8 +145,8 @@ export const tool: Tool = {
145
145
  };
146
146
 
147
147
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
148
- const body = args as any;
149
- return asTextContentResult(await maybeFilter(args, await client.v1.contracts.products.create(body)));
148
+ const { jq_filter, ...body } = args as any;
149
+ return asTextContentResult(await maybeFilter(jq_filter, await client.v1.contracts.products.create(body)));
150
150
  };
151
151
 
152
152
  export default { metadata, tool, handler };
@@ -48,9 +48,9 @@ export const tool: Tool = {
48
48
  };
49
49
 
50
50
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
51
- const body = args as any;
51
+ const { jq_filter, ...body } = args as any;
52
52
  const response = await client.v1.contracts.products.list(body).asResponse();
53
- return asTextContentResult(await maybeFilter(args, await response.json()));
53
+ return asTextContentResult(await maybeFilter(jq_filter, await response.json()));
54
54
  };
55
55
 
56
56
  export default { metadata, tool, handler };
@@ -38,8 +38,8 @@ export const tool: Tool = {
38
38
  };
39
39
 
40
40
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
41
- const body = args as any;
42
- return asTextContentResult(await maybeFilter(args, await client.v1.contracts.products.retrieve(body)));
41
+ const { jq_filter, ...body } = args as any;
42
+ return asTextContentResult(await maybeFilter(jq_filter, await client.v1.contracts.products.retrieve(body)));
43
43
  };
44
44
 
45
45
  export default { metadata, tool, handler };
@@ -157,8 +157,8 @@ export const tool: Tool = {
157
157
  };
158
158
 
159
159
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
160
- const body = args as any;
161
- return asTextContentResult(await maybeFilter(args, await client.v1.contracts.products.update(body)));
160
+ const { jq_filter, ...body } = args as any;
161
+ return asTextContentResult(await maybeFilter(jq_filter, await client.v1.contracts.products.update(body)));
162
162
  };
163
163
 
164
164
  export default { metadata, tool, handler };
@@ -38,8 +38,8 @@ export const tool: Tool = {
38
38
  };
39
39
 
40
40
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
41
- const body = args as any;
42
- return asTextContentResult(await maybeFilter(args, await client.v1.contracts.rateCards.archive(body)));
41
+ const { jq_filter, ...body } = args as any;
42
+ return asTextContentResult(await maybeFilter(jq_filter, await client.v1.contracts.rateCards.archive(body)));
43
43
  };
44
44
 
45
45
  export default { metadata, tool, handler };
@@ -88,8 +88,8 @@ export const tool: Tool = {
88
88
  };
89
89
 
90
90
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
91
- const body = args as any;
92
- return asTextContentResult(await maybeFilter(args, await client.v1.contracts.rateCards.create(body)));
91
+ const { jq_filter, ...body } = args as any;
92
+ return asTextContentResult(await maybeFilter(jq_filter, await client.v1.contracts.rateCards.create(body)));
93
93
  };
94
94
 
95
95
  export default { metadata, tool, handler };
@@ -46,9 +46,9 @@ export const tool: Tool = {
46
46
  };
47
47
 
48
48
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
49
- const body = args as any;
49
+ const { jq_filter, ...body } = args as any;
50
50
  const response = await client.v1.contracts.rateCards.list(body).asResponse();
51
- return asTextContentResult(await maybeFilter(args, await response.json()));
51
+ return asTextContentResult(await maybeFilter(jq_filter, await response.json()));
52
52
  };
53
53
 
54
54
  export default { metadata, tool, handler };
@@ -53,9 +53,9 @@ export const tool: Tool = {
53
53
  };
54
54
 
55
55
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
56
- const body = args as any;
56
+ const { jq_filter, ...body } = args as any;
57
57
  return asTextContentResult(
58
- await maybeFilter(args, await client.v1.contracts.rateCards.namedSchedules.retrieve(body)),
58
+ await maybeFilter(jq_filter, await client.v1.contracts.rateCards.namedSchedules.retrieve(body)),
59
59
  );
60
60
  };
61
61
 
@@ -17,7 +17,7 @@ export const metadata: Metadata = {
17
17
  export const tool: Tool = {
18
18
  name: 'update_rate_cards_contracts_v1_named_schedules',
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\nUpdate a named schedule for the given contract. This endpoint's availability is dependent on your client's configuration.\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {}\n}\n```",
20
+ "Update a named schedule for the given contract. This endpoint's availability is dependent on your client's configuration.",
21
21
  inputSchema: {
22
22
  type: 'object',
23
23
  properties: {
@@ -46,12 +46,6 @@ export const tool: Tool = {
46
46
  type: 'string',
47
47
  format: 'date-time',
48
48
  },
49
- jq_filter: {
50
- type: 'string',
51
- title: 'jq Filter',
52
- description:
53
- '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/).',
54
- },
55
49
  },
56
50
  required: ['contract_id', 'customer_id', 'schedule_name', 'starting_at', 'value'],
57
51
  },
@@ -45,9 +45,9 @@ export const tool: Tool = {
45
45
  };
46
46
 
47
47
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
48
- const body = args as any;
48
+ const { jq_filter, ...body } = args as any;
49
49
  return asTextContentResult(
50
- await maybeFilter(args, await client.v1.contracts.rateCards.productOrders.set(body)),
50
+ await maybeFilter(jq_filter, await client.v1.contracts.rateCards.productOrders.set(body)),
51
51
  );
52
52
  };
53
53
 
@@ -56,9 +56,9 @@ export const tool: Tool = {
56
56
  };
57
57
 
58
58
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
59
- const body = args as any;
59
+ const { jq_filter, ...body } = args as any;
60
60
  return asTextContentResult(
61
- await maybeFilter(args, await client.v1.contracts.rateCards.productOrders.update(body)),
61
+ await maybeFilter(jq_filter, await client.v1.contracts.rateCards.productOrders.update(body)),
62
62
  );
63
63
  };
64
64
 
@@ -152,9 +152,9 @@ export const tool: Tool = {
152
152
  };
153
153
 
154
154
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
155
- const body = args as any;
155
+ const { jq_filter, ...body } = args as any;
156
156
  return asTextContentResult(
157
- await maybeFilter(args, await client.v1.contracts.rateCards.rates.addMany(body)),
157
+ await maybeFilter(jq_filter, await client.v1.contracts.rateCards.rates.addMany(body)),
158
158
  );
159
159
  };
160
160
 
@@ -143,8 +143,10 @@ export const tool: Tool = {
143
143
  };
144
144
 
145
145
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
146
- const body = args as any;
147
- return asTextContentResult(await maybeFilter(args, await client.v1.contracts.rateCards.rates.add(body)));
146
+ const { jq_filter, ...body } = args as any;
147
+ return asTextContentResult(
148
+ await maybeFilter(jq_filter, await client.v1.contracts.rateCards.rates.add(body)),
149
+ );
148
150
  };
149
151
 
150
152
  export default { metadata, tool, handler };
@@ -90,9 +90,9 @@ export const tool: Tool = {
90
90
  };
91
91
 
92
92
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
93
- const body = args as any;
93
+ const { jq_filter, ...body } = args as any;
94
94
  const response = await client.v1.contracts.rateCards.rates.list(body).asResponse();
95
- return asTextContentResult(await maybeFilter(args, await response.json()));
95
+ return asTextContentResult(await maybeFilter(jq_filter, await response.json()));
96
96
  };
97
97
 
98
98
  export default { metadata, tool, handler };
@@ -38,8 +38,10 @@ export const tool: Tool = {
38
38
  };
39
39
 
40
40
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
41
- const body = args as any;
42
- return asTextContentResult(await maybeFilter(args, await client.v1.contracts.rateCards.retrieve(body)));
41
+ const { jq_filter, ...body } = args as any;
42
+ return asTextContentResult(
43
+ await maybeFilter(jq_filter, await client.v1.contracts.rateCards.retrieve(body)),
44
+ );
43
45
  };
44
46
 
45
47
  export default { metadata, tool, handler };
@@ -88,9 +88,9 @@ export const tool: Tool = {
88
88
  };
89
89
 
90
90
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
91
- const body = args as any;
91
+ const { jq_filter, ...body } = args as any;
92
92
  return asTextContentResult(
93
- await maybeFilter(args, await client.v1.contracts.rateCards.retrieveRateSchedule(body)),
93
+ await maybeFilter(jq_filter, await client.v1.contracts.rateCards.retrieveRateSchedule(body)),
94
94
  );
95
95
  };
96
96
 
@@ -68,8 +68,8 @@ export const tool: Tool = {
68
68
  };
69
69
 
70
70
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
71
- const body = args as any;
72
- return asTextContentResult(await maybeFilter(args, await client.v1.contracts.rateCards.update(body)));
71
+ const { jq_filter, ...body } = args as any;
72
+ return asTextContentResult(await maybeFilter(jq_filter, await client.v1.contracts.rateCards.update(body)));
73
73
  };
74
74
 
75
75
  export default { metadata, tool, handler };
@@ -95,8 +95,10 @@ export const tool: Tool = {
95
95
  };
96
96
 
97
97
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
98
- const body = args as any;
99
- return asTextContentResult(await maybeFilter(args, await client.v1.contracts.retrieveRateSchedule(body)));
98
+ const { jq_filter, ...body } = args as any;
99
+ return asTextContentResult(
100
+ await maybeFilter(jq_filter, await client.v1.contracts.retrieveRateSchedule(body)),
101
+ );
100
102
  };
101
103
 
102
104
  export default { metadata, tool, handler };
@@ -44,9 +44,9 @@ export const tool: Tool = {
44
44
  };
45
45
 
46
46
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
47
- const body = args as any;
47
+ const { jq_filter, ...body } = args as any;
48
48
  return asTextContentResult(
49
- await maybeFilter(args, await client.v1.contracts.retrieveSubscriptionQuantityHistory(body)),
49
+ await maybeFilter(jq_filter, await client.v1.contracts.retrieveSubscriptionQuantityHistory(body)),
50
50
  );
51
51
  };
52
52
 
@@ -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: {
@@ -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: {
@@ -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,12 +39,6 @@ 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
  },
@@ -54,8 +54,8 @@ export const tool: Tool = {
54
54
  };
55
55
 
56
56
  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.contracts.updateEndDate(body)));
57
+ const { jq_filter, ...body } = args as any;
58
+ return asTextContentResult(await maybeFilter(jq_filter, await client.v1.contracts.updateEndDate(body)));
59
59
  };
60
60
 
61
61
  export default { metadata, tool, handler };
@@ -173,8 +173,8 @@ export const tool: Tool = {
173
173
  };
174
174
 
175
175
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
176
- const body = args as any;
177
- 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)));
178
178
  };
179
179
 
180
180
  export default { metadata, tool, handler };
@@ -52,8 +52,8 @@ export const tool: Tool = {
52
52
  };
53
53
 
54
54
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
55
- const body = args as any;
56
- 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)));
57
57
  };
58
58
 
59
59
  export default { metadata, tool, handler };
@@ -71,8 +71,8 @@ export const tool: Tool = {
71
71
  };
72
72
 
73
73
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
74
- const body = args as any;
75
- 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)));
76
76
  };
77
77
 
78
78
  export default { metadata, tool, handler };
@@ -77,9 +77,9 @@ export const tool: Tool = {
77
77
  };
78
78
 
79
79
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
80
- const body = args as any;
80
+ const { jq_filter, ...body } = args as any;
81
81
  const response = await client.v1.creditGrants.list(body).asResponse();
82
- return asTextContentResult(await maybeFilter(args, await response.json()));
82
+ return asTextContentResult(await maybeFilter(jq_filter, await response.json()));
83
83
  };
84
84
 
85
85
  export default { metadata, tool, handler };
@@ -46,8 +46,8 @@ export const tool: Tool = {
46
46
  };
47
47
 
48
48
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
49
- const body = args as any;
50
- 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)));
51
51
  };
52
52
 
53
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,12 +50,6 @@ 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
  },
@@ -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,12 +52,6 @@ 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
  },
@@ -66,8 +66,8 @@ export const tool: Tool = {
66
66
  };
67
67
 
68
68
  export const handler = async (client: Metronome, args: Record<string, unknown> | undefined) => {
69
- const body = args as any;
70
- 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)));
71
71
  };
72
72
 
73
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,12 +46,6 @@ 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
  },
@@ -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,12 +50,6 @@ 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
  },
@@ -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: {
@@ -51,8 +51,8 @@ export const tool: Tool = {
51
51
  };
52
52
 
53
53
  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.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)));
56
56
  };
57
57
 
58
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,12 +28,6 @@ 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
  },