@metronome/mcp 0.1.0 → 0.3.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 (669) hide show
  1. package/README.md +26 -0
  2. package/compat.d.mts.map +1 -1
  3. package/compat.d.ts.map +1 -1
  4. package/compat.js +5 -2
  5. package/compat.js.map +1 -1
  6. package/compat.mjs +5 -2
  7. package/compat.mjs.map +1 -1
  8. package/filtering.d.mts +1 -1
  9. package/filtering.d.mts.map +1 -1
  10. package/filtering.d.ts +1 -1
  11. package/filtering.d.ts.map +1 -1
  12. package/filtering.js +1 -2
  13. package/filtering.js.map +1 -1
  14. package/filtering.mjs +1 -2
  15. package/filtering.mjs.map +1 -1
  16. package/headers.d.mts +4 -0
  17. package/headers.d.mts.map +1 -0
  18. package/headers.d.ts +4 -0
  19. package/headers.d.ts.map +1 -0
  20. package/headers.js +22 -0
  21. package/headers.js.map +1 -0
  22. package/headers.mjs +18 -0
  23. package/headers.mjs.map +1 -0
  24. package/http.d.mts +6 -0
  25. package/http.d.mts.map +1 -0
  26. package/http.d.ts +6 -0
  27. package/http.d.ts.map +1 -0
  28. package/http.js +93 -0
  29. package/http.js.map +1 -0
  30. package/http.mjs +85 -0
  31. package/http.mjs.map +1 -0
  32. package/index.js +12 -7
  33. package/index.js.map +1 -1
  34. package/index.mjs +13 -8
  35. package/index.mjs.map +1 -1
  36. package/options.d.mts +3 -0
  37. package/options.d.mts.map +1 -1
  38. package/options.d.ts +3 -0
  39. package/options.d.ts.map +1 -1
  40. package/options.js +18 -0
  41. package/options.js.map +1 -1
  42. package/options.mjs +18 -0
  43. package/options.mjs.map +1 -1
  44. package/package.json +4 -3
  45. package/server.d.mts +1 -0
  46. package/server.d.mts.map +1 -1
  47. package/server.d.ts +1 -0
  48. package/server.d.ts.map +1 -1
  49. package/server.js +8 -6
  50. package/server.js.map +1 -1
  51. package/server.mjs +6 -5
  52. package/server.mjs.map +1 -1
  53. package/src/compat.ts +5 -2
  54. package/src/filtering.ts +1 -2
  55. package/src/headers.ts +24 -0
  56. package/src/http.ts +99 -0
  57. package/src/index.ts +15 -11
  58. package/src/options.ts +22 -0
  59. package/src/server.ts +12 -9
  60. package/src/stdio.ts +14 -0
  61. package/src/tools/v1/alerts/archive-v1-alerts.ts +2 -2
  62. package/src/tools/v1/alerts/create-v1-alerts.ts +15 -12
  63. package/src/tools/v1/audit-logs/list-v1-audit-logs.ts +2 -2
  64. package/src/tools/v1/billable-metrics/archive-v1-billable-metrics.ts +2 -2
  65. package/src/tools/v1/billable-metrics/create-v1-billable-metrics.ts +3 -2
  66. package/src/tools/v1/billable-metrics/list-v1-billable-metrics.ts +3 -3
  67. package/src/tools/v1/billable-metrics/retrieve-v1-billable-metrics.ts +3 -3
  68. package/src/tools/v1/contracts/add-manual-balance-entry-v1-contracts.ts +1 -8
  69. package/src/tools/v1/contracts/amend-v1-contracts.ts +38 -1
  70. package/src/tools/v1/contracts/archive-v1-contracts.ts +2 -2
  71. package/src/tools/v1/contracts/create-historical-invoices-v1-contracts.ts +4 -2
  72. package/src/tools/v1/contracts/create-v1-contracts.ts +107 -5
  73. package/src/tools/v1/contracts/list-balances-v1-contracts.ts +1 -2
  74. package/src/tools/v1/contracts/list-v1-contracts.ts +1 -1
  75. package/src/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.ts +3 -3
  76. package/src/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.ts +2 -7
  77. package/src/tools/v1/contracts/products/archive-contracts-v1-products.ts +2 -2
  78. package/src/tools/v1/contracts/products/create-contracts-v1-products.ts +6 -2
  79. package/src/tools/v1/contracts/products/list-contracts-v1-products.ts +3 -3
  80. package/src/tools/v1/contracts/products/retrieve-contracts-v1-products.ts +3 -3
  81. package/src/tools/v1/contracts/products/update-contracts-v1-products.ts +2 -2
  82. package/src/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.ts +2 -2
  83. package/src/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.ts +3 -2
  84. package/src/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.ts +4 -3
  85. package/src/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.ts +3 -3
  86. package/src/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.ts +2 -7
  87. package/src/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.ts +2 -2
  88. package/src/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.ts +2 -2
  89. package/src/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.ts +4 -2
  90. package/src/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.ts +7 -3
  91. package/src/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.ts +5 -3
  92. package/src/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.ts +5 -3
  93. package/src/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.ts +5 -3
  94. package/src/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.ts +2 -2
  95. package/src/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.ts +7 -3
  96. package/src/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.ts +2 -2
  97. package/src/tools/v1/contracts/retrieve-v1-contracts.ts +1 -1
  98. package/src/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.ts +1 -1
  99. package/src/tools/v1/contracts/set-usage-filter-v1-contracts.ts +1 -8
  100. package/src/tools/v1/contracts/update-end-date-v1-contracts.ts +2 -2
  101. package/src/tools/v1/credit-grants/create-v1-credit-grants.ts +3 -2
  102. package/src/tools/v1/credit-grants/edit-v1-credit-grants.ts +2 -2
  103. package/src/tools/v1/credit-grants/list-entries-v1-credit-grants.ts +2 -2
  104. package/src/tools/v1/credit-grants/list-v1-credit-grants.ts +3 -3
  105. package/src/tools/v1/credit-grants/void-v1-credit-grants.ts +2 -2
  106. package/src/tools/v1/custom-fields/add-key-v1-custom-fields.ts +1 -7
  107. package/src/tools/v1/custom-fields/delete-values-v1-custom-fields.ts +1 -8
  108. package/src/tools/v1/custom-fields/list-keys-v1-custom-fields.ts +2 -2
  109. package/src/tools/v1/custom-fields/remove-key-v1-custom-fields.ts +1 -8
  110. package/src/tools/v1/custom-fields/set-values-v1-custom-fields.ts +2 -7
  111. package/src/tools/v1/customers/alerts/list-customers-v1-alerts.ts +3 -3
  112. package/src/tools/v1/customers/alerts/reset-customers-v1-alerts.ts +1 -8
  113. package/src/tools/v1/customers/alerts/retrieve-customers-v1-alerts.ts +3 -3
  114. package/src/tools/v1/customers/archive-v1-customers.ts +2 -2
  115. package/src/tools/v1/customers/billing-config/create-customers-v1-billing-config.ts +1 -8
  116. package/src/tools/v1/customers/billing-config/delete-customers-v1-billing-config.ts +1 -7
  117. package/src/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.ts +4 -2
  118. package/src/tools/v1/customers/commits/create-customers-v1-commits.ts +10 -2
  119. package/src/tools/v1/customers/commits/list-customers-v1-commits.ts +1 -2
  120. package/src/tools/v1/customers/commits/update-end-date-customers-v1-commits.ts +4 -2
  121. package/src/tools/v1/customers/create-v1-customers.ts +5 -3
  122. package/src/tools/v1/customers/credits/create-customers-v1-credits.ts +5 -2
  123. package/src/tools/v1/customers/credits/list-customers-v1-credits.ts +1 -2
  124. package/src/tools/v1/customers/credits/update-end-date-customers-v1-credits.ts +4 -2
  125. package/src/tools/v1/customers/invoices/add-charge-customers-v1-invoices.ts +4 -2
  126. package/src/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.ts +1 -1
  127. package/src/tools/v1/customers/invoices/list-customers-v1-invoices.ts +1 -1
  128. package/src/tools/v1/customers/invoices/retrieve-customers-v1-invoices.ts +1 -2
  129. package/src/tools/v1/customers/list-billable-metrics-v1-customers.ts +3 -3
  130. package/src/tools/v1/customers/list-costs-v1-customers.ts +3 -3
  131. package/src/tools/v1/customers/list-v1-customers.ts +3 -3
  132. package/src/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.ts +3 -3
  133. package/src/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.ts +2 -7
  134. package/src/tools/v1/customers/plans/add-customers-v1-plans.ts +2 -2
  135. package/src/tools/v1/customers/plans/end-customers-v1-plans.ts +2 -2
  136. package/src/tools/v1/customers/plans/list-customers-v1-plans.ts +3 -3
  137. package/src/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.ts +2 -2
  138. package/src/tools/v1/customers/preview-events-v1-customers.ts +2 -1
  139. package/src/tools/v1/customers/retrieve-v1-customers.ts +3 -3
  140. package/src/tools/v1/customers/set-ingest-aliases-v1-customers.ts +1 -7
  141. package/src/tools/v1/customers/set-name-v1-customers.ts +3 -3
  142. package/src/tools/v1/customers/update-config-v1-customers.ts +1 -8
  143. package/src/tools/v1/dashboards/get-embeddable-url-v1-dashboards.ts +5 -2
  144. package/src/tools/v1/invoices/regenerate-v1-invoices.ts +2 -2
  145. package/src/tools/v1/invoices/void-v1-invoices.ts +2 -2
  146. package/src/tools/v1/plans/get-details-v1-plans.ts +3 -3
  147. package/src/tools/v1/plans/list-charges-v1-plans.ts +3 -3
  148. package/src/tools/v1/plans/list-customers-v1-plans.ts +3 -3
  149. package/src/tools/v1/plans/list-v1-plans.ts +3 -3
  150. package/src/tools/v1/pricing-units/list-v1-pricing-units.ts +2 -2
  151. package/src/tools/v1/services/list-v1-services.ts +2 -1
  152. package/src/tools/v1/usage/ingest-v1-usage.ts +2 -7
  153. package/src/tools/v1/usage/list-v1-usage.ts +3 -3
  154. package/src/tools/v1/usage/list-with-groups-v1-usage.ts +2 -2
  155. package/src/tools/v1/usage/search-v1-usage.ts +3 -3
  156. package/src/tools/v2/contracts/edit-commit-v2-contracts.ts +9 -3
  157. package/src/tools/v2/contracts/edit-credit-v2-contracts.ts +9 -3
  158. package/src/tools/v2/contracts/edit-v2-contracts.ts +129 -18
  159. package/src/tools/v2/contracts/get-edit-history-v2-contracts.ts +1 -1
  160. package/src/tools/v2/contracts/list-v2-contracts.ts +1 -1
  161. package/src/tools/v2/contracts/retrieve-v2-contracts.ts +1 -2
  162. package/stdio.d.mts +4 -0
  163. package/stdio.d.mts.map +1 -0
  164. package/stdio.d.ts +4 -0
  165. package/stdio.d.ts.map +1 -0
  166. package/stdio.js +14 -0
  167. package/stdio.js.map +1 -0
  168. package/stdio.mjs +10 -0
  169. package/stdio.mjs.map +1 -0
  170. package/tools/v1/alerts/archive-v1-alerts.js +2 -2
  171. package/tools/v1/alerts/archive-v1-alerts.js.map +1 -1
  172. package/tools/v1/alerts/archive-v1-alerts.mjs +2 -2
  173. package/tools/v1/alerts/archive-v1-alerts.mjs.map +1 -1
  174. package/tools/v1/alerts/create-v1-alerts.d.mts.map +1 -1
  175. package/tools/v1/alerts/create-v1-alerts.d.ts.map +1 -1
  176. package/tools/v1/alerts/create-v1-alerts.js +15 -12
  177. package/tools/v1/alerts/create-v1-alerts.js.map +1 -1
  178. package/tools/v1/alerts/create-v1-alerts.mjs +15 -12
  179. package/tools/v1/alerts/create-v1-alerts.mjs.map +1 -1
  180. package/tools/v1/audit-logs/list-v1-audit-logs.js +2 -2
  181. package/tools/v1/audit-logs/list-v1-audit-logs.js.map +1 -1
  182. package/tools/v1/audit-logs/list-v1-audit-logs.mjs +2 -2
  183. package/tools/v1/audit-logs/list-v1-audit-logs.mjs.map +1 -1
  184. package/tools/v1/billable-metrics/archive-v1-billable-metrics.js +2 -2
  185. package/tools/v1/billable-metrics/archive-v1-billable-metrics.js.map +1 -1
  186. package/tools/v1/billable-metrics/archive-v1-billable-metrics.mjs +2 -2
  187. package/tools/v1/billable-metrics/archive-v1-billable-metrics.mjs.map +1 -1
  188. package/tools/v1/billable-metrics/create-v1-billable-metrics.d.mts.map +1 -1
  189. package/tools/v1/billable-metrics/create-v1-billable-metrics.d.ts.map +1 -1
  190. package/tools/v1/billable-metrics/create-v1-billable-metrics.js +3 -2
  191. package/tools/v1/billable-metrics/create-v1-billable-metrics.js.map +1 -1
  192. package/tools/v1/billable-metrics/create-v1-billable-metrics.mjs +3 -2
  193. package/tools/v1/billable-metrics/create-v1-billable-metrics.mjs.map +1 -1
  194. package/tools/v1/billable-metrics/list-v1-billable-metrics.js +3 -3
  195. package/tools/v1/billable-metrics/list-v1-billable-metrics.js.map +1 -1
  196. package/tools/v1/billable-metrics/list-v1-billable-metrics.mjs +3 -3
  197. package/tools/v1/billable-metrics/list-v1-billable-metrics.mjs.map +1 -1
  198. package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.js +3 -3
  199. package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.js.map +1 -1
  200. package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.mjs +3 -3
  201. package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.mjs.map +1 -1
  202. package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.d.mts.map +1 -1
  203. package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.d.ts.map +1 -1
  204. package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.js +1 -6
  205. package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.js.map +1 -1
  206. package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.mjs +1 -6
  207. package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.mjs.map +1 -1
  208. package/tools/v1/contracts/amend-v1-contracts.d.mts.map +1 -1
  209. package/tools/v1/contracts/amend-v1-contracts.d.ts.map +1 -1
  210. package/tools/v1/contracts/amend-v1-contracts.js +34 -1
  211. package/tools/v1/contracts/amend-v1-contracts.js.map +1 -1
  212. package/tools/v1/contracts/amend-v1-contracts.mjs +34 -1
  213. package/tools/v1/contracts/amend-v1-contracts.mjs.map +1 -1
  214. package/tools/v1/contracts/archive-v1-contracts.js +2 -2
  215. package/tools/v1/contracts/archive-v1-contracts.js.map +1 -1
  216. package/tools/v1/contracts/archive-v1-contracts.mjs +2 -2
  217. package/tools/v1/contracts/archive-v1-contracts.mjs.map +1 -1
  218. package/tools/v1/contracts/create-historical-invoices-v1-contracts.d.mts.map +1 -1
  219. package/tools/v1/contracts/create-historical-invoices-v1-contracts.d.ts.map +1 -1
  220. package/tools/v1/contracts/create-historical-invoices-v1-contracts.js +4 -1
  221. package/tools/v1/contracts/create-historical-invoices-v1-contracts.js.map +1 -1
  222. package/tools/v1/contracts/create-historical-invoices-v1-contracts.mjs +4 -1
  223. package/tools/v1/contracts/create-historical-invoices-v1-contracts.mjs.map +1 -1
  224. package/tools/v1/contracts/create-v1-contracts.d.mts.map +1 -1
  225. package/tools/v1/contracts/create-v1-contracts.d.ts.map +1 -1
  226. package/tools/v1/contracts/create-v1-contracts.js +102 -4
  227. package/tools/v1/contracts/create-v1-contracts.js.map +1 -1
  228. package/tools/v1/contracts/create-v1-contracts.mjs +102 -4
  229. package/tools/v1/contracts/create-v1-contracts.mjs.map +1 -1
  230. package/tools/v1/contracts/list-balances-v1-contracts.d.mts.map +1 -1
  231. package/tools/v1/contracts/list-balances-v1-contracts.d.ts.map +1 -1
  232. package/tools/v1/contracts/list-balances-v1-contracts.js +1 -1
  233. package/tools/v1/contracts/list-balances-v1-contracts.js.map +1 -1
  234. package/tools/v1/contracts/list-balances-v1-contracts.mjs +1 -1
  235. package/tools/v1/contracts/list-balances-v1-contracts.mjs.map +1 -1
  236. package/tools/v1/contracts/list-v1-contracts.js +1 -1
  237. package/tools/v1/contracts/list-v1-contracts.js.map +1 -1
  238. package/tools/v1/contracts/list-v1-contracts.mjs +1 -1
  239. package/tools/v1/contracts/list-v1-contracts.mjs.map +1 -1
  240. package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.js +3 -3
  241. package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.js.map +1 -1
  242. package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.mjs +3 -3
  243. package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.mjs.map +1 -1
  244. package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.d.mts.map +1 -1
  245. package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.d.ts.map +1 -1
  246. package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.js +2 -6
  247. package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.js.map +1 -1
  248. package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.mjs +2 -6
  249. package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.mjs.map +1 -1
  250. package/tools/v1/contracts/products/archive-contracts-v1-products.js +2 -2
  251. package/tools/v1/contracts/products/archive-contracts-v1-products.js.map +1 -1
  252. package/tools/v1/contracts/products/archive-contracts-v1-products.mjs +2 -2
  253. package/tools/v1/contracts/products/archive-contracts-v1-products.mjs.map +1 -1
  254. package/tools/v1/contracts/products/create-contracts-v1-products.d.mts.map +1 -1
  255. package/tools/v1/contracts/products/create-contracts-v1-products.d.ts.map +1 -1
  256. package/tools/v1/contracts/products/create-contracts-v1-products.js +6 -2
  257. package/tools/v1/contracts/products/create-contracts-v1-products.js.map +1 -1
  258. package/tools/v1/contracts/products/create-contracts-v1-products.mjs +6 -2
  259. package/tools/v1/contracts/products/create-contracts-v1-products.mjs.map +1 -1
  260. package/tools/v1/contracts/products/list-contracts-v1-products.js +3 -3
  261. package/tools/v1/contracts/products/list-contracts-v1-products.js.map +1 -1
  262. package/tools/v1/contracts/products/list-contracts-v1-products.mjs +3 -3
  263. package/tools/v1/contracts/products/list-contracts-v1-products.mjs.map +1 -1
  264. package/tools/v1/contracts/products/retrieve-contracts-v1-products.js +3 -3
  265. package/tools/v1/contracts/products/retrieve-contracts-v1-products.js.map +1 -1
  266. package/tools/v1/contracts/products/retrieve-contracts-v1-products.mjs +3 -3
  267. package/tools/v1/contracts/products/retrieve-contracts-v1-products.mjs.map +1 -1
  268. package/tools/v1/contracts/products/update-contracts-v1-products.js +2 -2
  269. package/tools/v1/contracts/products/update-contracts-v1-products.js.map +1 -1
  270. package/tools/v1/contracts/products/update-contracts-v1-products.mjs +2 -2
  271. package/tools/v1/contracts/products/update-contracts-v1-products.mjs.map +1 -1
  272. package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.js +2 -2
  273. package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.js.map +1 -1
  274. package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.mjs +2 -2
  275. package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.mjs.map +1 -1
  276. package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.d.mts.map +1 -1
  277. package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.d.ts.map +1 -1
  278. package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.js +3 -2
  279. package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.js.map +1 -1
  280. package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.mjs +3 -2
  281. package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.mjs.map +1 -1
  282. package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.d.mts.map +1 -1
  283. package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.d.ts.map +1 -1
  284. package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.js +4 -3
  285. package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.js.map +1 -1
  286. package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.mjs +4 -3
  287. package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.mjs.map +1 -1
  288. package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.js +3 -3
  289. package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.js.map +1 -1
  290. package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.mjs +3 -3
  291. package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.mjs.map +1 -1
  292. package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.d.mts.map +1 -1
  293. package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.d.ts.map +1 -1
  294. package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.js +2 -6
  295. package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.js.map +1 -1
  296. package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.mjs +2 -6
  297. package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.mjs.map +1 -1
  298. package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.js +2 -2
  299. package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.js.map +1 -1
  300. package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.mjs +2 -2
  301. package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.mjs.map +1 -1
  302. package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.js +2 -2
  303. package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.js.map +1 -1
  304. package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.mjs +2 -2
  305. package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.mjs.map +1 -1
  306. package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.d.mts.map +1 -1
  307. package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.d.ts.map +1 -1
  308. package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.js +4 -2
  309. package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.js.map +1 -1
  310. package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.mjs +4 -2
  311. package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.mjs.map +1 -1
  312. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.d.mts.map +1 -1
  313. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.d.ts.map +1 -1
  314. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.js +5 -3
  315. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.js.map +1 -1
  316. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.mjs +5 -3
  317. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.mjs.map +1 -1
  318. package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.d.mts.map +1 -1
  319. package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.d.ts.map +1 -1
  320. package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.js +5 -3
  321. package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.js.map +1 -1
  322. package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.mjs +5 -3
  323. package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.mjs.map +1 -1
  324. package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.d.mts.map +1 -1
  325. package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.d.ts.map +1 -1
  326. package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.js +3 -3
  327. package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.js.map +1 -1
  328. package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.mjs +3 -3
  329. package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.mjs.map +1 -1
  330. package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.d.mts.map +1 -1
  331. package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.d.ts.map +1 -1
  332. package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.js +5 -3
  333. package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.js.map +1 -1
  334. package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.mjs +5 -3
  335. package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.mjs.map +1 -1
  336. package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.js +2 -2
  337. package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.js.map +1 -1
  338. package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.mjs +2 -2
  339. package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.mjs.map +1 -1
  340. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.d.mts.map +1 -1
  341. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.d.ts.map +1 -1
  342. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.js +5 -3
  343. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.js.map +1 -1
  344. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.mjs +5 -3
  345. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.mjs.map +1 -1
  346. package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.js +2 -2
  347. package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.js.map +1 -1
  348. package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.mjs +2 -2
  349. package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.mjs.map +1 -1
  350. package/tools/v1/contracts/retrieve-v1-contracts.js +1 -1
  351. package/tools/v1/contracts/retrieve-v1-contracts.js.map +1 -1
  352. package/tools/v1/contracts/retrieve-v1-contracts.mjs +1 -1
  353. package/tools/v1/contracts/retrieve-v1-contracts.mjs.map +1 -1
  354. package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.js +1 -1
  355. package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.js.map +1 -1
  356. package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.mjs +1 -1
  357. package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.mjs.map +1 -1
  358. package/tools/v1/contracts/set-usage-filter-v1-contracts.d.mts.map +1 -1
  359. package/tools/v1/contracts/set-usage-filter-v1-contracts.d.ts.map +1 -1
  360. package/tools/v1/contracts/set-usage-filter-v1-contracts.js +1 -6
  361. package/tools/v1/contracts/set-usage-filter-v1-contracts.js.map +1 -1
  362. package/tools/v1/contracts/set-usage-filter-v1-contracts.mjs +1 -6
  363. package/tools/v1/contracts/set-usage-filter-v1-contracts.mjs.map +1 -1
  364. package/tools/v1/contracts/update-end-date-v1-contracts.js +2 -2
  365. package/tools/v1/contracts/update-end-date-v1-contracts.js.map +1 -1
  366. package/tools/v1/contracts/update-end-date-v1-contracts.mjs +2 -2
  367. package/tools/v1/contracts/update-end-date-v1-contracts.mjs.map +1 -1
  368. package/tools/v1/credit-grants/create-v1-credit-grants.d.mts.map +1 -1
  369. package/tools/v1/credit-grants/create-v1-credit-grants.d.ts.map +1 -1
  370. package/tools/v1/credit-grants/create-v1-credit-grants.js +3 -2
  371. package/tools/v1/credit-grants/create-v1-credit-grants.js.map +1 -1
  372. package/tools/v1/credit-grants/create-v1-credit-grants.mjs +3 -2
  373. package/tools/v1/credit-grants/create-v1-credit-grants.mjs.map +1 -1
  374. package/tools/v1/credit-grants/edit-v1-credit-grants.js +2 -2
  375. package/tools/v1/credit-grants/edit-v1-credit-grants.js.map +1 -1
  376. package/tools/v1/credit-grants/edit-v1-credit-grants.mjs +2 -2
  377. package/tools/v1/credit-grants/edit-v1-credit-grants.mjs.map +1 -1
  378. package/tools/v1/credit-grants/list-entries-v1-credit-grants.js +2 -2
  379. package/tools/v1/credit-grants/list-entries-v1-credit-grants.js.map +1 -1
  380. package/tools/v1/credit-grants/list-entries-v1-credit-grants.mjs +2 -2
  381. package/tools/v1/credit-grants/list-entries-v1-credit-grants.mjs.map +1 -1
  382. package/tools/v1/credit-grants/list-v1-credit-grants.js +3 -3
  383. package/tools/v1/credit-grants/list-v1-credit-grants.js.map +1 -1
  384. package/tools/v1/credit-grants/list-v1-credit-grants.mjs +3 -3
  385. package/tools/v1/credit-grants/list-v1-credit-grants.mjs.map +1 -1
  386. package/tools/v1/credit-grants/void-v1-credit-grants.js +2 -2
  387. package/tools/v1/credit-grants/void-v1-credit-grants.js.map +1 -1
  388. package/tools/v1/credit-grants/void-v1-credit-grants.mjs +2 -2
  389. package/tools/v1/credit-grants/void-v1-credit-grants.mjs.map +1 -1
  390. package/tools/v1/custom-fields/add-key-v1-custom-fields.d.mts.map +1 -1
  391. package/tools/v1/custom-fields/add-key-v1-custom-fields.d.ts.map +1 -1
  392. package/tools/v1/custom-fields/add-key-v1-custom-fields.js +1 -6
  393. package/tools/v1/custom-fields/add-key-v1-custom-fields.js.map +1 -1
  394. package/tools/v1/custom-fields/add-key-v1-custom-fields.mjs +1 -6
  395. package/tools/v1/custom-fields/add-key-v1-custom-fields.mjs.map +1 -1
  396. package/tools/v1/custom-fields/delete-values-v1-custom-fields.d.mts.map +1 -1
  397. package/tools/v1/custom-fields/delete-values-v1-custom-fields.d.ts.map +1 -1
  398. package/tools/v1/custom-fields/delete-values-v1-custom-fields.js +1 -6
  399. package/tools/v1/custom-fields/delete-values-v1-custom-fields.js.map +1 -1
  400. package/tools/v1/custom-fields/delete-values-v1-custom-fields.mjs +1 -6
  401. package/tools/v1/custom-fields/delete-values-v1-custom-fields.mjs.map +1 -1
  402. package/tools/v1/custom-fields/list-keys-v1-custom-fields.js +2 -2
  403. package/tools/v1/custom-fields/list-keys-v1-custom-fields.js.map +1 -1
  404. package/tools/v1/custom-fields/list-keys-v1-custom-fields.mjs +2 -2
  405. package/tools/v1/custom-fields/list-keys-v1-custom-fields.mjs.map +1 -1
  406. package/tools/v1/custom-fields/remove-key-v1-custom-fields.d.mts.map +1 -1
  407. package/tools/v1/custom-fields/remove-key-v1-custom-fields.d.ts.map +1 -1
  408. package/tools/v1/custom-fields/remove-key-v1-custom-fields.js +1 -6
  409. package/tools/v1/custom-fields/remove-key-v1-custom-fields.js.map +1 -1
  410. package/tools/v1/custom-fields/remove-key-v1-custom-fields.mjs +1 -6
  411. package/tools/v1/custom-fields/remove-key-v1-custom-fields.mjs.map +1 -1
  412. package/tools/v1/custom-fields/set-values-v1-custom-fields.d.mts.map +1 -1
  413. package/tools/v1/custom-fields/set-values-v1-custom-fields.d.ts.map +1 -1
  414. package/tools/v1/custom-fields/set-values-v1-custom-fields.js +2 -6
  415. package/tools/v1/custom-fields/set-values-v1-custom-fields.js.map +1 -1
  416. package/tools/v1/custom-fields/set-values-v1-custom-fields.mjs +2 -6
  417. package/tools/v1/custom-fields/set-values-v1-custom-fields.mjs.map +1 -1
  418. package/tools/v1/customers/alerts/list-customers-v1-alerts.js +3 -3
  419. package/tools/v1/customers/alerts/list-customers-v1-alerts.js.map +1 -1
  420. package/tools/v1/customers/alerts/list-customers-v1-alerts.mjs +3 -3
  421. package/tools/v1/customers/alerts/list-customers-v1-alerts.mjs.map +1 -1
  422. package/tools/v1/customers/alerts/reset-customers-v1-alerts.d.mts.map +1 -1
  423. package/tools/v1/customers/alerts/reset-customers-v1-alerts.d.ts.map +1 -1
  424. package/tools/v1/customers/alerts/reset-customers-v1-alerts.js +1 -6
  425. package/tools/v1/customers/alerts/reset-customers-v1-alerts.js.map +1 -1
  426. package/tools/v1/customers/alerts/reset-customers-v1-alerts.mjs +1 -6
  427. package/tools/v1/customers/alerts/reset-customers-v1-alerts.mjs.map +1 -1
  428. package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.js +3 -3
  429. package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.js.map +1 -1
  430. package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.mjs +3 -3
  431. package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.mjs.map +1 -1
  432. package/tools/v1/customers/archive-v1-customers.js +2 -2
  433. package/tools/v1/customers/archive-v1-customers.js.map +1 -1
  434. package/tools/v1/customers/archive-v1-customers.mjs +2 -2
  435. package/tools/v1/customers/archive-v1-customers.mjs.map +1 -1
  436. package/tools/v1/customers/billing-config/create-customers-v1-billing-config.d.mts.map +1 -1
  437. package/tools/v1/customers/billing-config/create-customers-v1-billing-config.d.ts.map +1 -1
  438. package/tools/v1/customers/billing-config/create-customers-v1-billing-config.js +1 -6
  439. package/tools/v1/customers/billing-config/create-customers-v1-billing-config.js.map +1 -1
  440. package/tools/v1/customers/billing-config/create-customers-v1-billing-config.mjs +1 -6
  441. package/tools/v1/customers/billing-config/create-customers-v1-billing-config.mjs.map +1 -1
  442. package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.d.mts.map +1 -1
  443. package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.d.ts.map +1 -1
  444. package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.js +1 -6
  445. package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.js.map +1 -1
  446. package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.mjs +1 -6
  447. package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.mjs.map +1 -1
  448. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.d.mts.map +1 -1
  449. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.d.ts.map +1 -1
  450. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.js +2 -2
  451. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.js.map +1 -1
  452. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.mjs +2 -2
  453. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.mjs.map +1 -1
  454. package/tools/v1/customers/commits/create-customers-v1-commits.d.mts.map +1 -1
  455. package/tools/v1/customers/commits/create-customers-v1-commits.d.ts.map +1 -1
  456. package/tools/v1/customers/commits/create-customers-v1-commits.js +9 -2
  457. package/tools/v1/customers/commits/create-customers-v1-commits.js.map +1 -1
  458. package/tools/v1/customers/commits/create-customers-v1-commits.mjs +9 -2
  459. package/tools/v1/customers/commits/create-customers-v1-commits.mjs.map +1 -1
  460. package/tools/v1/customers/commits/list-customers-v1-commits.d.mts.map +1 -1
  461. package/tools/v1/customers/commits/list-customers-v1-commits.d.ts.map +1 -1
  462. package/tools/v1/customers/commits/list-customers-v1-commits.js +1 -1
  463. package/tools/v1/customers/commits/list-customers-v1-commits.js.map +1 -1
  464. package/tools/v1/customers/commits/list-customers-v1-commits.mjs +1 -1
  465. package/tools/v1/customers/commits/list-customers-v1-commits.mjs.map +1 -1
  466. package/tools/v1/customers/commits/update-end-date-customers-v1-commits.d.mts.map +1 -1
  467. package/tools/v1/customers/commits/update-end-date-customers-v1-commits.d.ts.map +1 -1
  468. package/tools/v1/customers/commits/update-end-date-customers-v1-commits.js +2 -2
  469. package/tools/v1/customers/commits/update-end-date-customers-v1-commits.js.map +1 -1
  470. package/tools/v1/customers/commits/update-end-date-customers-v1-commits.mjs +2 -2
  471. package/tools/v1/customers/commits/update-end-date-customers-v1-commits.mjs.map +1 -1
  472. package/tools/v1/customers/create-v1-customers.d.mts.map +1 -1
  473. package/tools/v1/customers/create-v1-customers.d.ts.map +1 -1
  474. package/tools/v1/customers/create-v1-customers.js +5 -3
  475. package/tools/v1/customers/create-v1-customers.js.map +1 -1
  476. package/tools/v1/customers/create-v1-customers.mjs +5 -3
  477. package/tools/v1/customers/create-v1-customers.mjs.map +1 -1
  478. package/tools/v1/customers/credits/create-customers-v1-credits.d.mts.map +1 -1
  479. package/tools/v1/customers/credits/create-customers-v1-credits.d.ts.map +1 -1
  480. package/tools/v1/customers/credits/create-customers-v1-credits.js +5 -2
  481. package/tools/v1/customers/credits/create-customers-v1-credits.js.map +1 -1
  482. package/tools/v1/customers/credits/create-customers-v1-credits.mjs +5 -2
  483. package/tools/v1/customers/credits/create-customers-v1-credits.mjs.map +1 -1
  484. package/tools/v1/customers/credits/list-customers-v1-credits.d.mts.map +1 -1
  485. package/tools/v1/customers/credits/list-customers-v1-credits.d.ts.map +1 -1
  486. package/tools/v1/customers/credits/list-customers-v1-credits.js +1 -1
  487. package/tools/v1/customers/credits/list-customers-v1-credits.js.map +1 -1
  488. package/tools/v1/customers/credits/list-customers-v1-credits.mjs +1 -1
  489. package/tools/v1/customers/credits/list-customers-v1-credits.mjs.map +1 -1
  490. package/tools/v1/customers/credits/update-end-date-customers-v1-credits.d.mts.map +1 -1
  491. package/tools/v1/customers/credits/update-end-date-customers-v1-credits.d.ts.map +1 -1
  492. package/tools/v1/customers/credits/update-end-date-customers-v1-credits.js +2 -2
  493. package/tools/v1/customers/credits/update-end-date-customers-v1-credits.js.map +1 -1
  494. package/tools/v1/customers/credits/update-end-date-customers-v1-credits.mjs +2 -2
  495. package/tools/v1/customers/credits/update-end-date-customers-v1-credits.mjs.map +1 -1
  496. package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.d.mts.map +1 -1
  497. package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.d.ts.map +1 -1
  498. package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.js +2 -2
  499. package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.js.map +1 -1
  500. package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.mjs +2 -2
  501. package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.mjs.map +1 -1
  502. package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.js +1 -1
  503. package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.js.map +1 -1
  504. package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.mjs +1 -1
  505. package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.mjs.map +1 -1
  506. package/tools/v1/customers/invoices/list-customers-v1-invoices.js +1 -1
  507. package/tools/v1/customers/invoices/list-customers-v1-invoices.js.map +1 -1
  508. package/tools/v1/customers/invoices/list-customers-v1-invoices.mjs +1 -1
  509. package/tools/v1/customers/invoices/list-customers-v1-invoices.mjs.map +1 -1
  510. package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.d.mts.map +1 -1
  511. package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.d.ts.map +1 -1
  512. package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.js +1 -1
  513. package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.js.map +1 -1
  514. package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.mjs +1 -1
  515. package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.mjs.map +1 -1
  516. package/tools/v1/customers/list-billable-metrics-v1-customers.js +3 -3
  517. package/tools/v1/customers/list-billable-metrics-v1-customers.js.map +1 -1
  518. package/tools/v1/customers/list-billable-metrics-v1-customers.mjs +3 -3
  519. package/tools/v1/customers/list-billable-metrics-v1-customers.mjs.map +1 -1
  520. package/tools/v1/customers/list-costs-v1-customers.js +3 -3
  521. package/tools/v1/customers/list-costs-v1-customers.js.map +1 -1
  522. package/tools/v1/customers/list-costs-v1-customers.mjs +3 -3
  523. package/tools/v1/customers/list-costs-v1-customers.mjs.map +1 -1
  524. package/tools/v1/customers/list-v1-customers.js +3 -3
  525. package/tools/v1/customers/list-v1-customers.js.map +1 -1
  526. package/tools/v1/customers/list-v1-customers.mjs +3 -3
  527. package/tools/v1/customers/list-v1-customers.mjs.map +1 -1
  528. package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.js +3 -3
  529. package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.js.map +1 -1
  530. package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.mjs +3 -3
  531. package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.mjs.map +1 -1
  532. package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.d.mts.map +1 -1
  533. package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.d.ts.map +1 -1
  534. package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.js +2 -6
  535. package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.js.map +1 -1
  536. package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.mjs +2 -6
  537. package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.mjs.map +1 -1
  538. package/tools/v1/customers/plans/add-customers-v1-plans.js +2 -2
  539. package/tools/v1/customers/plans/add-customers-v1-plans.js.map +1 -1
  540. package/tools/v1/customers/plans/add-customers-v1-plans.mjs +2 -2
  541. package/tools/v1/customers/plans/add-customers-v1-plans.mjs.map +1 -1
  542. package/tools/v1/customers/plans/end-customers-v1-plans.js +2 -2
  543. package/tools/v1/customers/plans/end-customers-v1-plans.js.map +1 -1
  544. package/tools/v1/customers/plans/end-customers-v1-plans.mjs +2 -2
  545. package/tools/v1/customers/plans/end-customers-v1-plans.mjs.map +1 -1
  546. package/tools/v1/customers/plans/list-customers-v1-plans.js +3 -3
  547. package/tools/v1/customers/plans/list-customers-v1-plans.js.map +1 -1
  548. package/tools/v1/customers/plans/list-customers-v1-plans.mjs +3 -3
  549. package/tools/v1/customers/plans/list-customers-v1-plans.mjs.map +1 -1
  550. package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.js +2 -2
  551. package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.js.map +1 -1
  552. package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.mjs +2 -2
  553. package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.mjs.map +1 -1
  554. package/tools/v1/customers/preview-events-v1-customers.d.mts.map +1 -1
  555. package/tools/v1/customers/preview-events-v1-customers.d.ts.map +1 -1
  556. package/tools/v1/customers/preview-events-v1-customers.js +2 -1
  557. package/tools/v1/customers/preview-events-v1-customers.js.map +1 -1
  558. package/tools/v1/customers/preview-events-v1-customers.mjs +2 -1
  559. package/tools/v1/customers/preview-events-v1-customers.mjs.map +1 -1
  560. package/tools/v1/customers/retrieve-v1-customers.js +3 -3
  561. package/tools/v1/customers/retrieve-v1-customers.js.map +1 -1
  562. package/tools/v1/customers/retrieve-v1-customers.mjs +3 -3
  563. package/tools/v1/customers/retrieve-v1-customers.mjs.map +1 -1
  564. package/tools/v1/customers/set-ingest-aliases-v1-customers.d.mts.map +1 -1
  565. package/tools/v1/customers/set-ingest-aliases-v1-customers.d.ts.map +1 -1
  566. package/tools/v1/customers/set-ingest-aliases-v1-customers.js +1 -6
  567. package/tools/v1/customers/set-ingest-aliases-v1-customers.js.map +1 -1
  568. package/tools/v1/customers/set-ingest-aliases-v1-customers.mjs +1 -6
  569. package/tools/v1/customers/set-ingest-aliases-v1-customers.mjs.map +1 -1
  570. package/tools/v1/customers/set-name-v1-customers.js +3 -3
  571. package/tools/v1/customers/set-name-v1-customers.js.map +1 -1
  572. package/tools/v1/customers/set-name-v1-customers.mjs +3 -3
  573. package/tools/v1/customers/set-name-v1-customers.mjs.map +1 -1
  574. package/tools/v1/customers/update-config-v1-customers.d.mts.map +1 -1
  575. package/tools/v1/customers/update-config-v1-customers.d.ts.map +1 -1
  576. package/tools/v1/customers/update-config-v1-customers.js +1 -6
  577. package/tools/v1/customers/update-config-v1-customers.js.map +1 -1
  578. package/tools/v1/customers/update-config-v1-customers.mjs +1 -6
  579. package/tools/v1/customers/update-config-v1-customers.mjs.map +1 -1
  580. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.d.mts.map +1 -1
  581. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.d.ts.map +1 -1
  582. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.js +5 -2
  583. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.js.map +1 -1
  584. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.mjs +5 -2
  585. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.mjs.map +1 -1
  586. package/tools/v1/invoices/regenerate-v1-invoices.js +2 -2
  587. package/tools/v1/invoices/regenerate-v1-invoices.js.map +1 -1
  588. package/tools/v1/invoices/regenerate-v1-invoices.mjs +2 -2
  589. package/tools/v1/invoices/regenerate-v1-invoices.mjs.map +1 -1
  590. package/tools/v1/invoices/void-v1-invoices.js +2 -2
  591. package/tools/v1/invoices/void-v1-invoices.js.map +1 -1
  592. package/tools/v1/invoices/void-v1-invoices.mjs +2 -2
  593. package/tools/v1/invoices/void-v1-invoices.mjs.map +1 -1
  594. package/tools/v1/plans/get-details-v1-plans.js +3 -3
  595. package/tools/v1/plans/get-details-v1-plans.js.map +1 -1
  596. package/tools/v1/plans/get-details-v1-plans.mjs +3 -3
  597. package/tools/v1/plans/get-details-v1-plans.mjs.map +1 -1
  598. package/tools/v1/plans/list-charges-v1-plans.js +3 -3
  599. package/tools/v1/plans/list-charges-v1-plans.js.map +1 -1
  600. package/tools/v1/plans/list-charges-v1-plans.mjs +3 -3
  601. package/tools/v1/plans/list-charges-v1-plans.mjs.map +1 -1
  602. package/tools/v1/plans/list-customers-v1-plans.js +3 -3
  603. package/tools/v1/plans/list-customers-v1-plans.js.map +1 -1
  604. package/tools/v1/plans/list-customers-v1-plans.mjs +3 -3
  605. package/tools/v1/plans/list-customers-v1-plans.mjs.map +1 -1
  606. package/tools/v1/plans/list-v1-plans.js +3 -3
  607. package/tools/v1/plans/list-v1-plans.js.map +1 -1
  608. package/tools/v1/plans/list-v1-plans.mjs +3 -3
  609. package/tools/v1/plans/list-v1-plans.mjs.map +1 -1
  610. package/tools/v1/pricing-units/list-v1-pricing-units.js +2 -2
  611. package/tools/v1/pricing-units/list-v1-pricing-units.js.map +1 -1
  612. package/tools/v1/pricing-units/list-v1-pricing-units.mjs +2 -2
  613. package/tools/v1/pricing-units/list-v1-pricing-units.mjs.map +1 -1
  614. package/tools/v1/services/list-v1-services.d.mts.map +1 -1
  615. package/tools/v1/services/list-v1-services.d.ts.map +1 -1
  616. package/tools/v1/services/list-v1-services.js +2 -1
  617. package/tools/v1/services/list-v1-services.js.map +1 -1
  618. package/tools/v1/services/list-v1-services.mjs +2 -1
  619. package/tools/v1/services/list-v1-services.mjs.map +1 -1
  620. package/tools/v1/usage/ingest-v1-usage.d.mts.map +1 -1
  621. package/tools/v1/usage/ingest-v1-usage.d.ts.map +1 -1
  622. package/tools/v1/usage/ingest-v1-usage.js +2 -6
  623. package/tools/v1/usage/ingest-v1-usage.js.map +1 -1
  624. package/tools/v1/usage/ingest-v1-usage.mjs +2 -6
  625. package/tools/v1/usage/ingest-v1-usage.mjs.map +1 -1
  626. package/tools/v1/usage/list-v1-usage.js +3 -3
  627. package/tools/v1/usage/list-v1-usage.js.map +1 -1
  628. package/tools/v1/usage/list-v1-usage.mjs +3 -3
  629. package/tools/v1/usage/list-v1-usage.mjs.map +1 -1
  630. package/tools/v1/usage/list-with-groups-v1-usage.js +2 -2
  631. package/tools/v1/usage/list-with-groups-v1-usage.js.map +1 -1
  632. package/tools/v1/usage/list-with-groups-v1-usage.mjs +2 -2
  633. package/tools/v1/usage/list-with-groups-v1-usage.mjs.map +1 -1
  634. package/tools/v1/usage/search-v1-usage.js +3 -3
  635. package/tools/v1/usage/search-v1-usage.js.map +1 -1
  636. package/tools/v1/usage/search-v1-usage.mjs +3 -3
  637. package/tools/v1/usage/search-v1-usage.mjs.map +1 -1
  638. package/tools/v2/contracts/edit-commit-v2-contracts.d.mts.map +1 -1
  639. package/tools/v2/contracts/edit-commit-v2-contracts.d.ts.map +1 -1
  640. package/tools/v2/contracts/edit-commit-v2-contracts.js +9 -3
  641. package/tools/v2/contracts/edit-commit-v2-contracts.js.map +1 -1
  642. package/tools/v2/contracts/edit-commit-v2-contracts.mjs +9 -3
  643. package/tools/v2/contracts/edit-commit-v2-contracts.mjs.map +1 -1
  644. package/tools/v2/contracts/edit-credit-v2-contracts.d.mts.map +1 -1
  645. package/tools/v2/contracts/edit-credit-v2-contracts.d.ts.map +1 -1
  646. package/tools/v2/contracts/edit-credit-v2-contracts.js +9 -3
  647. package/tools/v2/contracts/edit-credit-v2-contracts.js.map +1 -1
  648. package/tools/v2/contracts/edit-credit-v2-contracts.mjs +9 -3
  649. package/tools/v2/contracts/edit-credit-v2-contracts.mjs.map +1 -1
  650. package/tools/v2/contracts/edit-v2-contracts.d.mts.map +1 -1
  651. package/tools/v2/contracts/edit-v2-contracts.d.ts.map +1 -1
  652. package/tools/v2/contracts/edit-v2-contracts.js +124 -17
  653. package/tools/v2/contracts/edit-v2-contracts.js.map +1 -1
  654. package/tools/v2/contracts/edit-v2-contracts.mjs +124 -17
  655. package/tools/v2/contracts/edit-v2-contracts.mjs.map +1 -1
  656. package/tools/v2/contracts/get-edit-history-v2-contracts.js +1 -1
  657. package/tools/v2/contracts/get-edit-history-v2-contracts.js.map +1 -1
  658. package/tools/v2/contracts/get-edit-history-v2-contracts.mjs +1 -1
  659. package/tools/v2/contracts/get-edit-history-v2-contracts.mjs.map +1 -1
  660. package/tools/v2/contracts/list-v2-contracts.js +1 -1
  661. package/tools/v2/contracts/list-v2-contracts.js.map +1 -1
  662. package/tools/v2/contracts/list-v2-contracts.mjs +1 -1
  663. package/tools/v2/contracts/list-v2-contracts.mjs.map +1 -1
  664. package/tools/v2/contracts/retrieve-v2-contracts.d.mts.map +1 -1
  665. package/tools/v2/contracts/retrieve-v2-contracts.d.ts.map +1 -1
  666. package/tools/v2/contracts/retrieve-v2-contracts.js +1 -1
  667. package/tools/v2/contracts/retrieve-v2-contracts.js.map +1 -1
  668. package/tools/v2/contracts/retrieve-v2-contracts.mjs +1 -1
  669. package/tools/v2/contracts/retrieve-v2-contracts.mjs.map +1 -1
@@ -14,7 +14,7 @@ exports.metadata = {
14
14
  };
15
15
  exports.tool = {
16
16
  name: 'search_v1_usage',
17
- description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nFor a set of events, look up matched billable metrics and customers by transaction id. This endpoint looks at transactions that occurred in the last 34 days, and is intended for sampling-based testing workflows. It is heavily rate limited.\n\n# Response Schema\n```json\n{\n type: 'array',\n items: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n customer_id: {\n type: 'string',\n description: 'The ID of the customer in the ingest event body'\n },\n event_type: {\n type: 'string'\n },\n timestamp: {\n type: 'string',\n format: 'date-time'\n },\n transaction_id: {\n type: 'string'\n },\n is_duplicate: {\n type: 'boolean'\n },\n matched_billable_metrics: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n name: {\n type: 'string'\n },\n aggregate: {\n type: 'string',\n description: '(DEPRECATED) use aggregation_type instead'\n },\n aggregate_keys: {\n type: 'array',\n description: '(DEPRECATED) use aggregation_key instead',\n items: {\n type: 'string'\n }\n },\n aggregation_key: {\n type: 'string',\n description: 'A key that specifies which property of the event is used to aggregate data. This key must be one of the property filter names and is not applicable when the aggregation type is \\'count\\'.'\n },\n aggregation_type: {\n type: 'string',\n description: 'Specifies the type of aggregation performed on matching events.',\n enum: [ 'COUNT',\n 'LATEST',\n 'MAX',\n 'SUM',\n 'UNIQUE'\n ]\n },\n archived_at: {\n type: 'string',\n description: 'RFC 3339 timestamp indicating when the billable metric was archived. If not provided, the billable metric is not archived.',\n format: 'date-time'\n },\n custom_fields: {\n type: 'object'\n },\n event_type_filter: {\n $ref: '#/$defs/event_type_filter'\n },\n filter: {\n type: 'object',\n description: '(DEPRECATED) use property_filters & event_type_filter instead'\n },\n group_by: {\n type: 'array',\n description: '(DEPRECATED) use group_keys instead',\n items: {\n type: 'string',\n description: 'A list of keys that can be used to additionally segment the values of the billable metric when making usage queries'\n }\n },\n group_keys: {\n type: 'array',\n description: 'Property names that are used to group usage costs on an invoice. Each entry represents a set of properties used to slice events into distinct buckets.',\n items: {\n type: 'array',\n items: {\n type: 'string'\n }\n }\n },\n property_filters: {\n type: 'array',\n description: 'A list of filters to match events to this billable metric. Each filter defines a rule on an event property. All rules must pass for the event to match the billable metric.',\n items: {\n $ref: '#/$defs/property_filter'\n }\n },\n sql: {\n type: 'string',\n description: 'The SQL query associated with the billable metric'\n }\n },\n required: [ 'id',\n 'name'\n ]\n }\n },\n matched_customer: {\n type: 'object',\n description: 'The customer the event was matched to if a match was found',\n properties: {\n id: {\n type: 'string'\n },\n name: {\n type: 'string'\n }\n }\n },\n processed_at: {\n type: 'string',\n format: 'date-time'\n },\n properties: {\n type: 'object'\n }\n },\n required: [ 'id',\n 'customer_id',\n 'event_type',\n 'timestamp',\n 'transaction_id'\n ]\n },\n $defs: {\n event_type_filter: {\n type: 'object',\n description: 'An optional filtering rule to match the \\'event_type\\' property of an event.',\n properties: {\n in_values: {\n type: 'array',\n description: 'A list of event types that are explicitly included in the billable metric. If specified, only events of these types will match the billable metric. Must be non-empty if present.',\n items: {\n type: 'string'\n }\n },\n not_in_values: {\n type: 'array',\n description: 'A list of event types that are explicitly excluded from the billable metric. If specified, events of these types will not match the billable metric. Must be non-empty if present.',\n items: {\n type: 'string'\n }\n }\n }\n },\n property_filter: {\n type: 'object',\n properties: {\n name: {\n type: 'string',\n description: 'The name of the event property.'\n },\n exists: {\n type: 'boolean',\n description: 'Determines whether the property must exist in the event. If true, only events with this property will pass the filter. If false, only events without this property will pass the filter. If null or omitted, the existence of the property is optional.'\n },\n in_values: {\n type: 'array',\n description: 'Specifies the allowed values for the property to match an event. An event will pass the filter only if its property value is included in this list. If undefined, all property values will pass the filter. Must be non-empty if present.',\n items: {\n type: 'string'\n }\n },\n not_in_values: {\n type: 'array',\n description: 'Specifies the values that prevent an event from matching the filter. An event will not pass the filter if its property value is included in this list. If null or empty, all property values will pass the filter. Must be non-empty if present.',\n items: {\n type: 'string'\n }\n }\n },\n required: [ 'name'\n ]\n }\n }\n}\n```",
17
+ description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nFor a set of events, look up matched billable metrics and customers by transaction id. This endpoint looks at transactions that occurred in the last 34 days, and is intended for sampling-based testing workflows. It is heavily rate limited.\n\n# Response Schema\n```json\n{\n type: 'array',\n items: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n customer_id: {\n type: 'string',\n description: 'The ID of the customer in the ingest event body'\n },\n event_type: {\n type: 'string'\n },\n timestamp: {\n type: 'string',\n format: 'date-time'\n },\n transaction_id: {\n type: 'string'\n },\n is_duplicate: {\n type: 'boolean'\n },\n matched_billable_metrics: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n name: {\n type: 'string'\n },\n aggregate: {\n type: 'string',\n description: '(DEPRECATED) use aggregation_type instead'\n },\n aggregate_keys: {\n type: 'array',\n description: '(DEPRECATED) use aggregation_key instead',\n items: {\n type: 'string'\n }\n },\n aggregation_key: {\n type: 'string',\n description: 'A key that specifies which property of the event is used to aggregate data. This key must be one of the property filter names and is not applicable when the aggregation type is \\'count\\'.'\n },\n aggregation_type: {\n type: 'string',\n description: 'Specifies the type of aggregation performed on matching events.',\n enum: [ 'COUNT',\n 'LATEST',\n 'MAX',\n 'SUM',\n 'UNIQUE'\n ]\n },\n archived_at: {\n type: 'string',\n description: 'RFC 3339 timestamp indicating when the billable metric was archived. If not provided, the billable metric is not archived.',\n format: 'date-time'\n },\n custom_fields: {\n type: 'object',\n additionalProperties: true\n },\n event_type_filter: {\n $ref: '#/$defs/event_type_filter'\n },\n filter: {\n type: 'object',\n description: '(DEPRECATED) use property_filters & event_type_filter instead',\n additionalProperties: true\n },\n group_by: {\n type: 'array',\n description: '(DEPRECATED) use group_keys instead',\n items: {\n type: 'string',\n description: 'A list of keys that can be used to additionally segment the values of the billable metric when making usage queries'\n }\n },\n group_keys: {\n type: 'array',\n description: 'Property names that are used to group usage costs on an invoice. Each entry represents a set of properties used to slice events into distinct buckets.',\n items: {\n type: 'array',\n items: {\n type: 'string'\n }\n }\n },\n property_filters: {\n type: 'array',\n description: 'A list of filters to match events to this billable metric. Each filter defines a rule on an event property. All rules must pass for the event to match the billable metric.',\n items: {\n $ref: '#/$defs/property_filter'\n }\n },\n sql: {\n type: 'string',\n description: 'The SQL query associated with the billable metric'\n }\n },\n required: [ 'id',\n 'name'\n ]\n }\n },\n matched_customer: {\n type: 'object',\n description: 'The customer the event was matched to if a match was found',\n properties: {\n id: {\n type: 'string'\n },\n name: {\n type: 'string'\n }\n }\n },\n processed_at: {\n type: 'string',\n format: 'date-time'\n },\n properties: {\n type: 'object',\n additionalProperties: true\n }\n },\n required: [ 'id',\n 'customer_id',\n 'event_type',\n 'timestamp',\n 'transaction_id'\n ]\n },\n $defs: {\n event_type_filter: {\n type: 'object',\n description: 'An optional filtering rule to match the \\'event_type\\' property of an event.',\n properties: {\n in_values: {\n type: 'array',\n description: 'A list of event types that are explicitly included in the billable metric. If specified, only events of these types will match the billable metric. Must be non-empty if present.',\n items: {\n type: 'string'\n }\n },\n not_in_values: {\n type: 'array',\n description: 'A list of event types that are explicitly excluded from the billable metric. If specified, events of these types will not match the billable metric. Must be non-empty if present.',\n items: {\n type: 'string'\n }\n }\n }\n },\n property_filter: {\n type: 'object',\n properties: {\n name: {\n type: 'string',\n description: 'The name of the event property.'\n },\n exists: {\n type: 'boolean',\n description: 'Determines whether the property must exist in the event. If true, only events with this property will pass the filter. If false, only events without this property will pass the filter. If null or omitted, the existence of the property is optional.'\n },\n in_values: {\n type: 'array',\n description: 'Specifies the allowed values for the property to match an event. An event will pass the filter only if its property value is included in this list. If undefined, all property values will pass the filter. Must be non-empty if present.',\n items: {\n type: 'string'\n }\n },\n not_in_values: {\n type: 'array',\n description: 'Specifies the values that prevent an event from matching the filter. An event will not pass the filter if its property value is included in this list. If null or empty, all property values will pass the filter. Must be non-empty if present.',\n items: {\n type: 'string'\n }\n }\n },\n required: [ 'name'\n ]\n }\n }\n}\n```",
18
18
  inputSchema: {
19
19
  type: 'object',
20
20
  properties: {
@@ -36,8 +36,8 @@ exports.tool = {
36
36
  annotations: {},
37
37
  };
38
38
  const handler = async (client, args) => {
39
- const body = args;
40
- return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(args, await client.v1.usage.search(body)));
39
+ const { jq_filter, ...body } = args;
40
+ return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(jq_filter, await client.v1.usage.search(body)));
41
41
  };
42
42
  exports.handler = handler;
43
43
  exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
@@ -1 +1 @@
1
- {"version":3,"file":"search-v1-usage.js","sourceRoot":"","sources":["../../../src/tools/v1/usage/search-v1-usage.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAuD;AACvD,sDAA2E;AAK9D,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,mBAAmB;IAC7B,WAAW,EAAE,iBAAiB;CAC/B,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,iBAAiB;IACvB,WAAW,EACT,u1NAAu1N;IACz1N,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,cAAc,EAAE;gBACd,IAAI,EAAE,OAAO;gBACb,WAAW,EAAE,+CAA+C;gBAC5D,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,gBAAgB,CAAC;KAC7B;IACD,WAAW,EAAE,EAAE;CAChB,CAAC;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,MAAiB,EAAE,IAAyC,EAAE,EAAE;IAC5F,MAAM,IAAI,GAAG,IAAW,CAAC;IACzB,OAAO,IAAA,2BAAmB,EAAC,MAAM,IAAA,uBAAW,EAAC,IAAI,EAAE,MAAM,MAAM,CAAC,EAAE,CAA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M,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAC/F,CAAC,CAAC;AAHW,QAAA,OAAO,WAGlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
@@ -11,7 +11,7 @@ export const metadata = {
11
11
  };
12
12
  export const tool = {
13
13
  name: 'search_v1_usage',
14
- description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nFor a set of events, look up matched billable metrics and customers by transaction id. This endpoint looks at transactions that occurred in the last 34 days, and is intended for sampling-based testing workflows. It is heavily rate limited.\n\n# Response Schema\n```json\n{\n type: 'array',\n items: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n customer_id: {\n type: 'string',\n description: 'The ID of the customer in the ingest event body'\n },\n event_type: {\n type: 'string'\n },\n timestamp: {\n type: 'string',\n format: 'date-time'\n },\n transaction_id: {\n type: 'string'\n },\n is_duplicate: {\n type: 'boolean'\n },\n matched_billable_metrics: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n name: {\n type: 'string'\n },\n aggregate: {\n type: 'string',\n description: '(DEPRECATED) use aggregation_type instead'\n },\n aggregate_keys: {\n type: 'array',\n description: '(DEPRECATED) use aggregation_key instead',\n items: {\n type: 'string'\n }\n },\n aggregation_key: {\n type: 'string',\n description: 'A key that specifies which property of the event is used to aggregate data. This key must be one of the property filter names and is not applicable when the aggregation type is \\'count\\'.'\n },\n aggregation_type: {\n type: 'string',\n description: 'Specifies the type of aggregation performed on matching events.',\n enum: [ 'COUNT',\n 'LATEST',\n 'MAX',\n 'SUM',\n 'UNIQUE'\n ]\n },\n archived_at: {\n type: 'string',\n description: 'RFC 3339 timestamp indicating when the billable metric was archived. If not provided, the billable metric is not archived.',\n format: 'date-time'\n },\n custom_fields: {\n type: 'object'\n },\n event_type_filter: {\n $ref: '#/$defs/event_type_filter'\n },\n filter: {\n type: 'object',\n description: '(DEPRECATED) use property_filters & event_type_filter instead'\n },\n group_by: {\n type: 'array',\n description: '(DEPRECATED) use group_keys instead',\n items: {\n type: 'string',\n description: 'A list of keys that can be used to additionally segment the values of the billable metric when making usage queries'\n }\n },\n group_keys: {\n type: 'array',\n description: 'Property names that are used to group usage costs on an invoice. Each entry represents a set of properties used to slice events into distinct buckets.',\n items: {\n type: 'array',\n items: {\n type: 'string'\n }\n }\n },\n property_filters: {\n type: 'array',\n description: 'A list of filters to match events to this billable metric. Each filter defines a rule on an event property. All rules must pass for the event to match the billable metric.',\n items: {\n $ref: '#/$defs/property_filter'\n }\n },\n sql: {\n type: 'string',\n description: 'The SQL query associated with the billable metric'\n }\n },\n required: [ 'id',\n 'name'\n ]\n }\n },\n matched_customer: {\n type: 'object',\n description: 'The customer the event was matched to if a match was found',\n properties: {\n id: {\n type: 'string'\n },\n name: {\n type: 'string'\n }\n }\n },\n processed_at: {\n type: 'string',\n format: 'date-time'\n },\n properties: {\n type: 'object'\n }\n },\n required: [ 'id',\n 'customer_id',\n 'event_type',\n 'timestamp',\n 'transaction_id'\n ]\n },\n $defs: {\n event_type_filter: {\n type: 'object',\n description: 'An optional filtering rule to match the \\'event_type\\' property of an event.',\n properties: {\n in_values: {\n type: 'array',\n description: 'A list of event types that are explicitly included in the billable metric. If specified, only events of these types will match the billable metric. Must be non-empty if present.',\n items: {\n type: 'string'\n }\n },\n not_in_values: {\n type: 'array',\n description: 'A list of event types that are explicitly excluded from the billable metric. If specified, events of these types will not match the billable metric. Must be non-empty if present.',\n items: {\n type: 'string'\n }\n }\n }\n },\n property_filter: {\n type: 'object',\n properties: {\n name: {\n type: 'string',\n description: 'The name of the event property.'\n },\n exists: {\n type: 'boolean',\n description: 'Determines whether the property must exist in the event. If true, only events with this property will pass the filter. If false, only events without this property will pass the filter. If null or omitted, the existence of the property is optional.'\n },\n in_values: {\n type: 'array',\n description: 'Specifies the allowed values for the property to match an event. An event will pass the filter only if its property value is included in this list. If undefined, all property values will pass the filter. Must be non-empty if present.',\n items: {\n type: 'string'\n }\n },\n not_in_values: {\n type: 'array',\n description: 'Specifies the values that prevent an event from matching the filter. An event will not pass the filter if its property value is included in this list. If null or empty, all property values will pass the filter. Must be non-empty if present.',\n items: {\n type: 'string'\n }\n }\n },\n required: [ 'name'\n ]\n }\n }\n}\n```",
14
+ description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nFor a set of events, look up matched billable metrics and customers by transaction id. This endpoint looks at transactions that occurred in the last 34 days, and is intended for sampling-based testing workflows. It is heavily rate limited.\n\n# Response Schema\n```json\n{\n type: 'array',\n items: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n customer_id: {\n type: 'string',\n description: 'The ID of the customer in the ingest event body'\n },\n event_type: {\n type: 'string'\n },\n timestamp: {\n type: 'string',\n format: 'date-time'\n },\n transaction_id: {\n type: 'string'\n },\n is_duplicate: {\n type: 'boolean'\n },\n matched_billable_metrics: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n name: {\n type: 'string'\n },\n aggregate: {\n type: 'string',\n description: '(DEPRECATED) use aggregation_type instead'\n },\n aggregate_keys: {\n type: 'array',\n description: '(DEPRECATED) use aggregation_key instead',\n items: {\n type: 'string'\n }\n },\n aggregation_key: {\n type: 'string',\n description: 'A key that specifies which property of the event is used to aggregate data. This key must be one of the property filter names and is not applicable when the aggregation type is \\'count\\'.'\n },\n aggregation_type: {\n type: 'string',\n description: 'Specifies the type of aggregation performed on matching events.',\n enum: [ 'COUNT',\n 'LATEST',\n 'MAX',\n 'SUM',\n 'UNIQUE'\n ]\n },\n archived_at: {\n type: 'string',\n description: 'RFC 3339 timestamp indicating when the billable metric was archived. If not provided, the billable metric is not archived.',\n format: 'date-time'\n },\n custom_fields: {\n type: 'object',\n additionalProperties: true\n },\n event_type_filter: {\n $ref: '#/$defs/event_type_filter'\n },\n filter: {\n type: 'object',\n description: '(DEPRECATED) use property_filters & event_type_filter instead',\n additionalProperties: true\n },\n group_by: {\n type: 'array',\n description: '(DEPRECATED) use group_keys instead',\n items: {\n type: 'string',\n description: 'A list of keys that can be used to additionally segment the values of the billable metric when making usage queries'\n }\n },\n group_keys: {\n type: 'array',\n description: 'Property names that are used to group usage costs on an invoice. Each entry represents a set of properties used to slice events into distinct buckets.',\n items: {\n type: 'array',\n items: {\n type: 'string'\n }\n }\n },\n property_filters: {\n type: 'array',\n description: 'A list of filters to match events to this billable metric. Each filter defines a rule on an event property. All rules must pass for the event to match the billable metric.',\n items: {\n $ref: '#/$defs/property_filter'\n }\n },\n sql: {\n type: 'string',\n description: 'The SQL query associated with the billable metric'\n }\n },\n required: [ 'id',\n 'name'\n ]\n }\n },\n matched_customer: {\n type: 'object',\n description: 'The customer the event was matched to if a match was found',\n properties: {\n id: {\n type: 'string'\n },\n name: {\n type: 'string'\n }\n }\n },\n processed_at: {\n type: 'string',\n format: 'date-time'\n },\n properties: {\n type: 'object',\n additionalProperties: true\n }\n },\n required: [ 'id',\n 'customer_id',\n 'event_type',\n 'timestamp',\n 'transaction_id'\n ]\n },\n $defs: {\n event_type_filter: {\n type: 'object',\n description: 'An optional filtering rule to match the \\'event_type\\' property of an event.',\n properties: {\n in_values: {\n type: 'array',\n description: 'A list of event types that are explicitly included in the billable metric. If specified, only events of these types will match the billable metric. Must be non-empty if present.',\n items: {\n type: 'string'\n }\n },\n not_in_values: {\n type: 'array',\n description: 'A list of event types that are explicitly excluded from the billable metric. If specified, events of these types will not match the billable metric. Must be non-empty if present.',\n items: {\n type: 'string'\n }\n }\n }\n },\n property_filter: {\n type: 'object',\n properties: {\n name: {\n type: 'string',\n description: 'The name of the event property.'\n },\n exists: {\n type: 'boolean',\n description: 'Determines whether the property must exist in the event. If true, only events with this property will pass the filter. If false, only events without this property will pass the filter. If null or omitted, the existence of the property is optional.'\n },\n in_values: {\n type: 'array',\n description: 'Specifies the allowed values for the property to match an event. An event will pass the filter only if its property value is included in this list. If undefined, all property values will pass the filter. Must be non-empty if present.',\n items: {\n type: 'string'\n }\n },\n not_in_values: {\n type: 'array',\n description: 'Specifies the values that prevent an event from matching the filter. An event will not pass the filter if its property value is included in this list. If null or empty, all property values will pass the filter. Must be non-empty if present.',\n items: {\n type: 'string'\n }\n }\n },\n required: [ 'name'\n ]\n }\n }\n}\n```",
15
15
  inputSchema: {
16
16
  type: 'object',
17
17
  properties: {
@@ -33,8 +33,8 @@ export const tool = {
33
33
  annotations: {},
34
34
  };
35
35
  export const handler = async (client, args) => {
36
- const body = args;
37
- return asTextContentResult(await maybeFilter(args, await client.v1.usage.search(body)));
36
+ const { jq_filter, ...body } = args;
37
+ return asTextContentResult(await maybeFilter(jq_filter, await client.v1.usage.search(body)));
38
38
  };
39
39
  export default { metadata, tool, handler };
40
40
  //# sourceMappingURL=search-v1-usage.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"search-v1-usage.mjs","sourceRoot":"","sources":["../../../src/tools/v1/usage/search-v1-usage.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE,MAAM,0BAA0B;OAC/C,EAAY,mBAAmB,EAAE,MAAM,4BAA4B;AAK1E,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,mBAAmB;IAC7B,WAAW,EAAE,iBAAiB;CAC/B,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,iBAAiB;IACvB,WAAW,EACT,u1NAAu1N;IACz1N,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,cAAc,EAAE;gBACd,IAAI,EAAE,OAAO;gBACb,WAAW,EAAE,+CAA+C;gBAC5D,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACf;aAC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Q;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,gBAAgB,CAAC;KAC7B;IACD,WAAW,EAAE,EAAE;CAChB,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,MAAiB,EAAE,IAAyC,EAAE,EAAE;IAC5F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IAC3C,OAAO,mBAAmB,CAAC,MAAM,WAAW,CAAC,SAAS,EAAE,MAAM,MAAM,CAAC,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAC/F,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"edit-commit-v2-contracts.d.mts","sourceRoot":"","sources":["../../../src/tools/v2/contracts/edit-commit-v2-contracts.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAuB,MAAM,4BAA4B;OAEnE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,SAAS,MAAM,gBAAgB;AAEtC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAwMlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAGzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAK1F,wBAA2C"}
1
+ {"version":3,"file":"edit-commit-v2-contracts.d.mts","sourceRoot":"","sources":["../../../src/tools/v2/contracts/edit-commit-v2-contracts.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAuB,MAAM,4BAA4B;OAEnE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,SAAS,MAAM,gBAAgB;AAEtC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IA8MlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAGzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAK1F,wBAA2C"}
@@ -1 +1 @@
1
- {"version":3,"file":"edit-commit-v2-contracts.d.ts","sourceRoot":"","sources":["../../../src/tools/v2/contracts/edit-commit-v2-contracts.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAuB,MAAM,4BAA4B;OAEnE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,SAAS,MAAM,gBAAgB;AAEtC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAwMlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAGzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAK1F,wBAA2C"}
1
+ {"version":3,"file":"edit-commit-v2-contracts.d.ts","sourceRoot":"","sources":["../../../src/tools/v2/contracts/edit-commit-v2-contracts.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAuB,MAAM,4BAA4B;OAEnE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,SAAS,MAAM,gBAAgB;AAEtC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IA8MlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAGzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAK1F,wBAA2C"}
@@ -168,20 +168,26 @@ exports.tool = {
168
168
  },
169
169
  },
170
170
  },
171
+ priority: {
172
+ type: 'number',
173
+ description: 'If multiple commits are applicable, the one with the lower priority will apply first.',
174
+ },
171
175
  product_id: {
172
176
  type: 'string',
173
177
  },
174
178
  specifiers: {
175
179
  type: 'array',
176
- description: "List of filters that determine what kind of customer usage draws down a commit or credit. A customer's usage needs to meet the condition of at least one of the specifiers to contribute to a commit's or credit's drawdown. This field cannot be used together with `applicable_product_ids` or `applicable_product_tags`.",
180
+ description: "List of filters that determine what kind of customer usage draws down a commit or credit. A customer's usage needs to meet the condition of at least one of the specifiers to contribute to a commit's or credit's drawdown. This field cannot be used together with `applicable_product_ids` or `applicable_product_tags`. Instead, to target usage by product or product tag, pass those values in the body of `specifiers`.",
177
181
  items: {
178
182
  type: 'object',
179
183
  properties: {
180
184
  presentation_group_values: {
181
185
  type: 'object',
186
+ additionalProperties: true,
182
187
  },
183
188
  pricing_group_values: {
184
189
  type: 'object',
190
+ additionalProperties: true,
185
191
  },
186
192
  product_id: {
187
193
  type: 'string',
@@ -208,8 +214,8 @@ exports.tool = {
208
214
  annotations: {},
209
215
  };
210
216
  const handler = async (client, args) => {
211
- const body = args;
212
- return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(args, await client.v2.contracts.editCommit(body)));
217
+ const { jq_filter, ...body } = args;
218
+ return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(jq_filter, await client.v2.contracts.editCommit(body)));
213
219
  };
214
220
  exports.handler = handler;
215
221
  exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
@@ -1 +1 @@
1
- {"version":3,"file":"edit-commit-v2-contracts.js","sourceRoot":"","sources":["../../../src/tools/v2/contracts/edit-commit-v2-contracts.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAuD;AACvD,sDAA2E;AAK9D,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,cAAc;IACxB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,4BAA4B;IACtC,WAAW,EAAE,eAAe;CAC7B,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,0BAA0B;IAChC,WAAW,EACT,0nBAA0nB;IAC5nB,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,0BAA0B;aACxC;YACD,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,iDAAiD;aAC/D;YACD,eAAe,EAAE;gBACf,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACV,kBAAkB,EAAE;wBAClB,IAAI,EAAE,OAAO;wBACb,KAAK,EAAE;4BACL,IAAI,EAAE,QAAQ;4BACd,UAAU,EAAE;gCACV,MAAM,EAAE;oCACN,IAAI,EAAE,QAAQ;iCACf;gCACD,aAAa,EAAE;oCACb,IAAI,EAAE,QAAQ;oCACd,MAAM,EAAE,WAAW;iCACpB;gCACD,WAAW,EAAE;oCACX,IAAI,EAAE,QAAQ;oCACd,MAAM,EAAE,WAAW;iCACpB;6BACF;4BACD,QAAQ,EAAE,CAAC,QAAQ,EAAE,eAAe,EAAE,aAAa,CAAC;yBACrD;qBACF;oBACD,qBAAqB,EAAE;wBACrB,IAAI,EAAE,OAAO;wBACb,KAAK,EAAE;4BACL,IAAI,EAAE,QAAQ;4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;yBACF;qBACF;iBACF;aACF;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,WAAW,EAAE,aAAa,CAAC;KACvC;IACD,WAAW,EAAE,EAAE;CAChB,CAAC;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,MAAiB,EAAE,IAAyC,EAAE,EAAE;IAC5F,MAAM,IAAI,GAAG,IAAW,CAAC;IACzB,OAAO,IAAA,2BAAmB,EAAC,MAAM,IAAA,uBAAW,EAAC,IAAI,EAAE,MAAM,MAAM,CAAC,EAAE,CAAC,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClG,CAAC,CAAC;AAHW,QAAA,OAAO,WAGlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"edit-commit-v2-contracts.js","sourceRoot":"","sources":["../../../src/tools/v2/contracts/edit-commit-v2-contracts.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAuD;AACvD,sDAA2E;AAK9D,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,cAAc;IACxB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,4BAA4B;IACtC,WAAW,EAAE,eAAe;CAC7B,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,0BAA0B;IAChC,WAAW,EACT,0nBAA0nB;IAC5nB,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,0BAA0B;aACxC;YACD,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EA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AGlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
@@ -165,20 +165,26 @@ export const tool = {
165
165
  },
166
166
  },
167
167
  },
168
+ priority: {
169
+ type: 'number',
170
+ description: 'If multiple commits are applicable, the one with the lower priority will apply first.',
171
+ },
168
172
  product_id: {
169
173
  type: 'string',
170
174
  },
171
175
  specifiers: {
172
176
  type: 'array',
173
- description: "List of filters that determine what kind of customer usage draws down a commit or credit. A customer's usage needs to meet the condition of at least one of the specifiers to contribute to a commit's or credit's drawdown. This field cannot be used together with `applicable_product_ids` or `applicable_product_tags`.",
177
+ description: "List of filters that determine what kind of customer usage draws down a commit or credit. A customer's usage needs to meet the condition of at least one of the specifiers to contribute to a commit's or credit's drawdown. This field cannot be used together with `applicable_product_ids` or `applicable_product_tags`. Instead, to target usage by product or product tag, pass those values in the body of `specifiers`.",
174
178
  items: {
175
179
  type: 'object',
176
180
  properties: {
177
181
  presentation_group_values: {
178
182
  type: 'object',
183
+ additionalProperties: true,
179
184
  },
180
185
  pricing_group_values: {
181
186
  type: 'object',
187
+ additionalProperties: true,
182
188
  },
183
189
  product_id: {
184
190
  type: 'string',
@@ -205,8 +211,8 @@ export const tool = {
205
211
  annotations: {},
206
212
  };
207
213
  export const handler = async (client, args) => {
208
- const body = args;
209
- return asTextContentResult(await maybeFilter(args, await client.v2.contracts.editCommit(body)));
214
+ const { jq_filter, ...body } = args;
215
+ return asTextContentResult(await maybeFilter(jq_filter, await client.v2.contracts.editCommit(body)));
210
216
  };
211
217
  export default { metadata, tool, handler };
212
218
  //# sourceMappingURL=edit-commit-v2-contracts.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"edit-commit-v2-contracts.mjs","sourceRoot":"","sources":["../../../src/tools/v2/contracts/edit-commit-v2-contracts.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE,MAAM,0BAA0B;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FAAuF;aACrG;YACD,UAAU,EAAE;gBACV,IAAI,EAAE,QAAQ;aACf;YACD,UAAU,EAAE;gBACV,IAAI,EAAE,OAAO;gBACb,WAAW,EACT,gaAAga;gBACla,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;oBACd,UAAU,EAAE;wBACV,yBAAyB,EAAE;4BACzB,IAAI,EAAE,QAAQ;4BACd,oBAAoB,EAAE,IAAI;yBAC3B;wBACD,oBAAoB,EAAE;4BACpB,IAAI,EAAE,QAAQ;4BACd,oBAAoB,EAAE,IAAI;yBAC3B;wBACD,UAAU,EAAE;4BACV,IAAI,EAAE,QAAQ;4BACd,WAAW,EAAE,kFAAkF;yBAChG;wBACD,YAAY,EAAE;4BACZ,IAAI,EAAE,OAAO;4BACb,WAAW,EACT,qFAAqF;4BACvF,KAAK,EAAE;gCACL,IAAI,EAAE,QAAQ;6BACf;yBACF;qBACF;iBACF;aACF;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,WAAW,EAAE,aAAa,CAAC;KACvC;IACD,WAAW,EAAE,EAAE;CAChB,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,MAAiB,EAAE,IAAyC,EAAE,EAAE;IAC5F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IAC3C,OAAO,mBAAmB,CAAC,MAAM,WAAW,CAAC,SAAS,EAAE,MAAM,MAAM,CAAC,EAAE,CAAC,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACvG,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"edit-credit-v2-contracts.d.mts","sourceRoot":"","sources":["../../../src/tools/v2/contracts/edit-credit-v2-contracts.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAuB,MAAM,4BAA4B;OAEnE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,SAAS,MAAM,gBAAgB;AAEtC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAoIlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAGzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAK1F,wBAA2C"}
1
+ {"version":3,"file":"edit-credit-v2-contracts.d.mts","sourceRoot":"","sources":["../../../src/tools/v2/contracts/edit-credit-v2-contracts.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAuB,MAAM,4BAA4B;OAEnE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,SAAS,MAAM,gBAAgB;AAEtC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IA0IlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAGzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAK1F,wBAA2C"}
@@ -1 +1 @@
1
- {"version":3,"file":"edit-credit-v2-contracts.d.ts","sourceRoot":"","sources":["../../../src/tools/v2/contracts/edit-credit-v2-contracts.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAuB,MAAM,4BAA4B;OAEnE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,SAAS,MAAM,gBAAgB;AAEtC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAoIlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAGzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAK1F,wBAA2C"}
1
+ {"version":3,"file":"edit-credit-v2-contracts.d.ts","sourceRoot":"","sources":["../../../src/tools/v2/contracts/edit-credit-v2-contracts.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAuB,MAAM,4BAA4B;OAEnE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,SAAS,MAAM,gBAAgB;AAEtC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IA0IlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAGzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAK1F,wBAA2C"}
@@ -100,20 +100,26 @@ exports.tool = {
100
100
  type: 'string',
101
101
  },
102
102
  },
103
+ priority: {
104
+ type: 'number',
105
+ description: 'If multiple commits are applicable, the one with the lower priority will apply first.',
106
+ },
103
107
  product_id: {
104
108
  type: 'string',
105
109
  },
106
110
  specifiers: {
107
111
  type: 'array',
108
- description: "List of filters that determine what kind of customer usage draws down a commit or credit. A customer's usage needs to meet the condition of at least one of the specifiers to contribute to a commit's or credit's drawdown. This field cannot be used together with `applicable_product_ids` or `applicable_product_tags`.",
112
+ description: "List of filters that determine what kind of customer usage draws down a commit or credit. A customer's usage needs to meet the condition of at least one of the specifiers to contribute to a commit's or credit's drawdown. This field cannot be used together with `applicable_product_ids` or `applicable_product_tags`. Instead, to target usage by product or product tag, pass those values in the body of `specifiers`.",
109
113
  items: {
110
114
  type: 'object',
111
115
  properties: {
112
116
  presentation_group_values: {
113
117
  type: 'object',
118
+ additionalProperties: true,
114
119
  },
115
120
  pricing_group_values: {
116
121
  type: 'object',
122
+ additionalProperties: true,
117
123
  },
118
124
  product_id: {
119
125
  type: 'string',
@@ -140,8 +146,8 @@ exports.tool = {
140
146
  annotations: {},
141
147
  };
142
148
  const handler = async (client, args) => {
143
- const body = args;
144
- return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(args, await client.v2.contracts.editCredit(body)));
149
+ const { jq_filter, ...body } = args;
150
+ return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(jq_filter, await client.v2.contracts.editCredit(body)));
145
151
  };
146
152
  exports.handler = handler;
147
153
  exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
@@ -1 +1 @@
1
- {"version":3,"file":"edit-credit-v2-contracts.js","sourceRoot":"","sources":["../../../src/tools/v2/contracts/edit-credit-v2-contracts.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAuD;AACvD,sDAA2E;AAK9D,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,cAAc;IACxB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,4BAA4B;IACtC,WAAW,EAAE,eAAe;CAC7B,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,0BAA0B;IAChC,WAAW,EACT,0nBAA0nB;IAC5nB,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,0BAA0B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,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"edit-credit-v2-contracts.js","sourceRoot":"","sources":["../../../src/tools/v2/contracts/edit-credit-v2-contracts.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAuD;AACvD,sDAA2E;AAK9D,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,cAAc;IACxB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,4BAA4B;IACtC,WAAW,EAAE,eAAe;CAC7B,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,0BAA0B;IAChC,WAAW,EACT,0nBAA0nB;IAC5nB,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,0BAA0B;aACxC;YACD,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,iDAAiD;aAC/D;YACD,eAAe,EAAE;gBACf,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACV,kBAAkB,EAAE;wBAClB,IAAI,EAAE,OAAO;wBACb,KAAK,EAAE;4BACL,IAAI,EAAE,QAAQ;4BACd,UAAU,EAAE;gCACV,MAAM,EAAE;oCACN,IAAI,EAAE,QAAQ;iCACf;gCACD,aAAa,EAAE;oCACb,IAAI,EAAE,QAAQ;oCACd,MAAM,EAAE,WAAW;iCACpB;gCACD,WAAW,EAAE;oCACX,IAAI,EAAE,QAAQ;oCACd,MAAM,EAAE,WAAW;iCACpB;6BACF;4BACD,QAAQ,EAAE,CAAC,QAAQ,EAAE,eAAe,EAAE,aAAa,CAAC;yBACrD;qBACF;oBACD,qBAAqB,EAAE;wBACrB,IAAI,EAAE,OAAO;wBACb,KAAK,EAAE;4BACL,IAAI,EAAE,QAAQ;4BACd,UAA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I,EAAE,QAAQ;4BACd,WAAW,EAAE,kFAAkF;yBAChG;wBACD,YAAY,EAAE;4BACZ,IAAI,EAAE,OAAO;4BACb,WAAW,EACT,qFAAqF;4BACvF,KAAK,EAAE;gCACL,IAAI,EAAE,QAAQ;6BACf;yBACF;qBACF;iBACF;aACF;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,WAAW,EAAE,aAAa,CAAC;KACvC;IACD,WAAW,EAAE,EAAE;CAChB,CAAC;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,MAAiB,EAAE,IAAyC,EAAE,EAAE;IAC5F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IAC3C,OAAO,IAAA,2BAAmB,EAAC,MAAM,IAAA,uBAAW,EAAC,SAAS,EAAE,MAAM,MAAM,CAAC,EAAE,CAAC,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACvG,CAAC,CAAC;AAHW,QAAA,OAAO,WAGlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
@@ -97,20 +97,26 @@ export const tool = {
97
97
  type: 'string',
98
98
  },
99
99
  },
100
+ priority: {
101
+ type: 'number',
102
+ description: 'If multiple commits are applicable, the one with the lower priority will apply first.',
103
+ },
100
104
  product_id: {
101
105
  type: 'string',
102
106
  },
103
107
  specifiers: {
104
108
  type: 'array',
105
- description: "List of filters that determine what kind of customer usage draws down a commit or credit. A customer's usage needs to meet the condition of at least one of the specifiers to contribute to a commit's or credit's drawdown. This field cannot be used together with `applicable_product_ids` or `applicable_product_tags`.",
109
+ description: "List of filters that determine what kind of customer usage draws down a commit or credit. A customer's usage needs to meet the condition of at least one of the specifiers to contribute to a commit's or credit's drawdown. This field cannot be used together with `applicable_product_ids` or `applicable_product_tags`. Instead, to target usage by product or product tag, pass those values in the body of `specifiers`.",
106
110
  items: {
107
111
  type: 'object',
108
112
  properties: {
109
113
  presentation_group_values: {
110
114
  type: 'object',
115
+ additionalProperties: true,
111
116
  },
112
117
  pricing_group_values: {
113
118
  type: 'object',
119
+ additionalProperties: true,
114
120
  },
115
121
  product_id: {
116
122
  type: 'string',
@@ -137,8 +143,8 @@ export const tool = {
137
143
  annotations: {},
138
144
  };
139
145
  export const handler = async (client, args) => {
140
- const body = args;
141
- return asTextContentResult(await maybeFilter(args, await client.v2.contracts.editCredit(body)));
146
+ const { jq_filter, ...body } = args;
147
+ return asTextContentResult(await maybeFilter(jq_filter, await client.v2.contracts.editCredit(body)));
142
148
  };
143
149
  export default { metadata, tool, handler };
144
150
  //# sourceMappingURL=edit-credit-v2-contracts.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"edit-credit-v2-contracts.mjs","sourceRoot":"","sources":["../../../src/tools/v2/contracts/edit-credit-v2-contracts.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE,MAAM,0BAA0B;OAC/C,EAAY,mBAAmB,EAAE,MAAM,4BAA4B;AAK1E,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,cAAc;IACxB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,4BAA4B;IACtC,WAAW,EAAE,eAAe;CAC7B,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,0BAA0B;IAChC,WAAW,EACT,0nBAA0nB;IAC5nB,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,0BAA0B;aACxC;YACD,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBAC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,CAAC,GAAG,SAAS;;AAK1F,wBAA2C"}
1
+ {"version":3,"file":"edit-v2-contracts.d.mts","sourceRoot":"","sources":["../../../src/tools/v2/contracts/edit-v2-contracts.ts"],"names":[],"mappings":"OAEO,EAAE,QAAQ,EAAuB,MAAM,4BAA4B;OAEnE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,SAAS,MAAM,gBAAgB;AAEtC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAgkFlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAGzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAK1F,wBAA2C"}
@@ -1 +1 @@
1
- {"version":3,"file":"edit-v2-contracts.d.ts","sourceRoot":"","sources":["../../../src/tools/v2/contracts/edit-v2-contracts.ts"],"names":[],"mappings":"OAEO,EAAE,QAAQ,EAAuB,MAAM,4BAA4B;OAEnE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,SAAS,MAAM,gBAAgB;AAEtC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAi9ElB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAGzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAK1F,wBAA2C"}
1
+ {"version":3,"file":"edit-v2-contracts.d.ts","sourceRoot":"","sources":["../../../src/tools/v2/contracts/edit-v2-contracts.ts"],"names":[],"mappings":"OAEO,EAAE,QAAQ,EAAuB,MAAM,4BAA4B;OAEnE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,SAAS,MAAM,gBAAgB;AAEtC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAgkFlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAGzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAK1F,wBAA2C"}