@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
@@ -11,7 +11,7 @@ export const metadata = {
11
11
  };
12
12
  export const tool = {
13
13
  name: 'retrieve_v1_customers',
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\nGet a customer by Metronome ID.\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n $ref: '#/$defs/customer_detail'\n }\n },\n required: [ 'data'\n ],\n $defs: {\n customer_detail: {\n type: 'object',\n properties: {\n id: {\n type: 'string',\n description: 'the Metronome ID of the customer'\n },\n created_at: {\n type: 'string',\n description: 'RFC 3339 timestamp indicating when the customer was created.',\n format: 'date-time'\n },\n custom_fields: {\n type: 'object'\n },\n customer_config: {\n type: 'object',\n properties: {\n salesforce_account_id: {\n type: 'string',\n description: 'The Salesforce account ID for the customer'\n }\n },\n required: [ 'salesforce_account_id'\n ]\n },\n external_id: {\n type: 'string',\n description: '(deprecated, use ingest_aliases instead) the first ID (Metronome or ingest alias) that can be used in usage events'\n },\n ingest_aliases: {\n type: 'array',\n description: 'aliases for this customer that can be used instead of the Metronome customer ID in usage events',\n items: {\n type: 'string'\n }\n },\n name: {\n type: 'string'\n },\n archived_at: {\n type: 'string',\n description: 'RFC 3339 timestamp indicating when the customer was archived. Null if the customer is active.',\n format: 'date-time'\n },\n current_billable_status: {\n type: 'object',\n description: 'This field\\'s availability is dependent on your client\\'s configuration.',\n properties: {\n value: {\n type: 'string',\n enum: [ 'billable',\n 'unbillable'\n ]\n },\n effective_at: {\n type: 'string',\n format: 'date-time'\n }\n },\n required: [ 'value'\n ]\n }\n },\n required: [ 'id',\n 'created_at',\n 'custom_fields',\n 'customer_config',\n 'external_id',\n 'ingest_aliases',\n '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\nGet a customer by Metronome ID.\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n $ref: '#/$defs/customer_detail'\n }\n },\n required: [ 'data'\n ],\n $defs: {\n customer_detail: {\n type: 'object',\n properties: {\n id: {\n type: 'string',\n description: 'the Metronome ID of the customer'\n },\n created_at: {\n type: 'string',\n description: 'RFC 3339 timestamp indicating when the customer was created.',\n format: 'date-time'\n },\n custom_fields: {\n type: 'object',\n additionalProperties: true\n },\n customer_config: {\n type: 'object',\n properties: {\n salesforce_account_id: {\n type: 'string',\n description: 'The Salesforce account ID for the customer'\n }\n },\n required: [ 'salesforce_account_id'\n ]\n },\n external_id: {\n type: 'string',\n description: '(deprecated, use ingest_aliases instead) the first ID (Metronome or ingest alias) that can be used in usage events'\n },\n ingest_aliases: {\n type: 'array',\n description: 'aliases for this customer that can be used instead of the Metronome customer ID in usage events',\n items: {\n type: 'string'\n }\n },\n name: {\n type: 'string'\n },\n archived_at: {\n type: 'string',\n description: 'RFC 3339 timestamp indicating when the customer was archived. Null if the customer is active.',\n format: 'date-time'\n },\n current_billable_status: {\n type: 'object',\n description: 'This field\\'s availability is dependent on your client\\'s configuration.',\n properties: {\n value: {\n type: 'string',\n enum: [ 'billable',\n 'unbillable'\n ]\n },\n effective_at: {\n type: 'string',\n format: 'date-time'\n }\n },\n required: [ 'value'\n ]\n }\n },\n required: [ 'id',\n 'created_at',\n 'custom_fields',\n 'customer_config',\n 'external_id',\n 'ingest_aliases',\n 'name'\n ]\n }\n }\n}\n```",
15
15
  inputSchema: {
16
16
  type: 'object',
17
17
  properties: {
@@ -31,8 +31,8 @@ export const tool = {
31
31
  },
32
32
  };
33
33
  export const handler = async (client, args) => {
34
- const body = args;
35
- return asTextContentResult(await maybeFilter(args, await client.v1.customers.retrieve(body)));
34
+ const { jq_filter, ...body } = args;
35
+ return asTextContentResult(await maybeFilter(jq_filter, await client.v1.customers.retrieve(body)));
36
36
  };
37
37
  export default { metadata, tool, handler };
38
38
  //# sourceMappingURL=retrieve-v1-customers.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-v1-customers.mjs","sourceRoot":"","sources":["../../../src/tools/v1/customers/retrieve-v1-customers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE,MAAM,0BAA0B;OAC/C,EAAY,mBAAmB,EAAE,MAAM,4BAA4B;AAK1E,MAAM,CAAC,MAAM,QAA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U,EAAE,KAAK;IACjB,QAAQ,EAAE,6BAA6B;IACvC,WAAW,EAAE,gBAAgB;CAC9B,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,uBAAuB;IAC7B,WAAW,EACT,qmFAAqmF;IACvmF,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;aACf;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,aAAa,CAAC;KAC1B;IACD,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;KACnB;CACF,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,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACrG,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"set-ingest-aliases-v1-customers.d.mts","sourceRoot":"","sources":["../../../src/tools/v1/customers/set-ingest-aliases-v1-customers.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,IA0BlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAIzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAJoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAM1F,wBAA2C"}
1
+ {"version":3,"file":"set-ingest-aliases-v1-customers.d.mts","sourceRoot":"","sources":["../../../src/tools/v1/customers/set-ingest-aliases-v1-customers.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,IAoBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAIzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAJoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAM1F,wBAA2C"}
@@ -1 +1 @@
1
- {"version":3,"file":"set-ingest-aliases-v1-customers.d.ts","sourceRoot":"","sources":["../../../src/tools/v1/customers/set-ingest-aliases-v1-customers.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,IA0BlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAIzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAJoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAM1F,wBAA2C"}
1
+ {"version":3,"file":"set-ingest-aliases-v1-customers.d.ts","sourceRoot":"","sources":["../../../src/tools/v1/customers/set-ingest-aliases-v1-customers.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,IAoBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAIzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAJoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAM1F,wBAA2C"}
@@ -13,7 +13,7 @@ exports.metadata = {
13
13
  };
14
14
  exports.tool = {
15
15
  name: 'set_ingest_aliases_v1_customers',
16
- 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\nSets the ingest aliases for a customer. Ingest aliases can be used in the `customer_id` field when sending usage events to Metronome. This call is idempotent. It fully replaces the set of ingest aliases for the given customer.\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {}\n}\n```",
16
+ description: 'Sets the ingest aliases for a customer. Ingest aliases can be used in the `customer_id` field when sending usage events to Metronome. This call is idempotent. It fully replaces the set of ingest aliases for the given customer.\n',
17
17
  inputSchema: {
18
18
  type: 'object',
19
19
  properties: {
@@ -26,11 +26,6 @@ exports.tool = {
26
26
  type: 'string',
27
27
  },
28
28
  },
29
- jq_filter: {
30
- type: 'string',
31
- title: 'jq Filter',
32
- description: 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
33
- },
34
29
  },
35
30
  required: ['customer_id', 'ingest_aliases'],
36
31
  },
@@ -1 +1 @@
1
- {"version":3,"file":"set-ingest-aliases-v1-customers.js","sourceRoot":"","sources":["../../../src/tools/v1/customers/set-ingest-aliases-v1-customers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sDAA2E;AAK9D,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,cAAc;IACxB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,8CAA8C;IACxD,WAAW,EAAE,qBAAqB;CACnC,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,iCAAiC;IACvC,WAAW,EACT,4dAA4d;IAC9d,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;aACf;YACD,cAAc,EAAE;gBACd,IAAI,EAAE,OAAO;gBACb,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,aAAa,EAAE,gBAAgB,CAAC;KAC5C;IACD,WAAW,EAAE,EAAE;CAChB,CAAC;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,MAAiB,EAAE,IAAyC,EAAE,EAAE;IAC5F,MAAM,IAAI,GAAG,IAAW,CAAC;IACzB,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,EAAE,CAAC,SAAS,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,CAAC;IAC/E,OAAO,IAAA,2BAAmB,EAAC,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC;AACpD,CAAC,CAAC;AAJW,QAAA,OAAO,WAIlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"set-ingest-aliases-v1-customers.js","sourceRoot":"","sources":["../../../src/tools/v1/customers/set-ingest-aliases-v1-customers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sDAA2E;AAK9D,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,cAAc;IACxB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,8CAA8C;IACxD,WAAW,EAAE,qBAAqB;CACnC,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,iCAAiC;IACvC,WAAW,EACT,sOAAsO;IACxO,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;aACf;YACD,cAAc,EAAE;gBACd,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;QACD,QAAQ,EAAE,CAAC,aAAa,EAAE,gBAAgB,CAAC;KAC5C;IACD,WAAW,EAAE,EAAE;CAChB,CAAC;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,MAAiB,EAAE,IAAyC,EAAE,EAAE;IAC5F,MAAM,IAAI,GAAG,IAAW,CAAC;IACzB,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,EAAE,CAAC,SAAS,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,CAAC;IAC/E,OAAO,IAAA,2BAAmB,EAAC,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC;AACpD,CAAC,CAAC;AAJW,QAAA,OAAO,WAIlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
@@ -10,7 +10,7 @@ export const metadata = {
10
10
  };
11
11
  export const tool = {
12
12
  name: 'set_ingest_aliases_v1_customers',
13
- 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\nSets the ingest aliases for a customer. Ingest aliases can be used in the `customer_id` field when sending usage events to Metronome. This call is idempotent. It fully replaces the set of ingest aliases for the given customer.\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {}\n}\n```",
13
+ description: 'Sets the ingest aliases for a customer. Ingest aliases can be used in the `customer_id` field when sending usage events to Metronome. This call is idempotent. It fully replaces the set of ingest aliases for the given customer.\n',
14
14
  inputSchema: {
15
15
  type: 'object',
16
16
  properties: {
@@ -23,11 +23,6 @@ export const tool = {
23
23
  type: 'string',
24
24
  },
25
25
  },
26
- jq_filter: {
27
- type: 'string',
28
- title: 'jq Filter',
29
- description: 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
30
- },
31
26
  },
32
27
  required: ['customer_id', 'ingest_aliases'],
33
28
  },
@@ -1 +1 @@
1
- {"version":3,"file":"set-ingest-aliases-v1-customers.mjs","sourceRoot":"","sources":["../../../src/tools/v1/customers/set-ingest-aliases-v1-customers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,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,8CAA8C;IACxD,WAAW,EAAE,qBAAqB;CACnC,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,iCAAiC;IACvC,WAAW,EACT,4dAA4d;IAC9d,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;aACf;YACD,cAAc,EAAE;gBACd,IAAI,EAAE,OAAO;gBACb,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,aAAa,EAAE,gBAAgB,CAAC;KAC5C;IACD,WAAW,EAAE,EAAE;CAChB,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,MAAiB,EAAE,IAAyC,EAAE,EAAE;IAC5F,MAAM,IAAI,GAAG,IAAW,CAAC;IACzB,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,EAAE,CAAC,SAAS,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,CAAC;IAC/E,OAAO,mBAAmB,CAAC,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC;AACpD,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"set-ingest-aliases-v1-customers.mjs","sourceRoot":"","sources":["../../../src/tools/v1/customers/set-ingest-aliases-v1-customers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,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,8CAA8C;IACxD,WAAW,EAAE,qBAAqB;CACnC,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,iCAAiC;IACvC,WAAW,EACT,sOAAsO;IACxO,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;aACf;YACD,cAAc,EAAE;gBACd,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;QACD,QAAQ,EAAE,CAAC,aAAa,EAAE,gBAAgB,CAAC;KAC5C;IACD,WAAW,EAAE,EAAE;CAChB,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,MAAiB,EAAE,IAAyC,EAAE,EAAE;IAC5F,MAAM,IAAI,GAAG,IAAW,CAAC;IACzB,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,EAAE,CAAC,SAAS,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,CAAC;IAC/E,OAAO,mBAAmB,CAAC,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC;AACpD,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
@@ -14,7 +14,7 @@ exports.metadata = {
14
14
  };
15
15
  exports.tool = {
16
16
  name: 'set_name_v1_customers',
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\nUpdates the specified customer's name.\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n $ref: '#/$defs/customer'\n }\n },\n required: [ 'data'\n ],\n $defs: {\n customer: {\n type: 'object',\n properties: {\n id: {\n type: 'string',\n description: 'the Metronome ID of the customer'\n },\n external_id: {\n type: 'string',\n description: '(deprecated, use ingest_aliases instead) the first ID (Metronome or ingest alias) that can be used in usage events'\n },\n ingest_aliases: {\n type: 'array',\n description: 'aliases for this customer that can be used instead of the Metronome customer ID in usage events',\n items: {\n type: 'string'\n }\n },\n name: {\n type: 'string'\n },\n custom_fields: {\n type: 'object'\n }\n },\n required: [ 'id',\n 'external_id',\n 'ingest_aliases',\n '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\nUpdates the specified customer's name.\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n $ref: '#/$defs/customer'\n }\n },\n required: [ 'data'\n ],\n $defs: {\n customer: {\n type: 'object',\n properties: {\n id: {\n type: 'string',\n description: 'the Metronome ID of the customer'\n },\n external_id: {\n type: 'string',\n description: '(deprecated, use ingest_aliases instead) the first ID (Metronome or ingest alias) that can be used in usage events'\n },\n ingest_aliases: {\n type: 'array',\n description: 'aliases for this customer that can be used instead of the Metronome customer ID in usage events',\n items: {\n type: 'string'\n }\n },\n name: {\n type: 'string'\n },\n custom_fields: {\n type: 'object',\n additionalProperties: true\n }\n },\n required: [ 'id',\n 'external_id',\n 'ingest_aliases',\n '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.customers.setName(body)));
39
+ const { jq_filter, ...body } = args;
40
+ return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(jq_filter, await client.v1.customers.setName(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":"set-name-v1-customers.js","sourceRoot":"","sources":["../../../src/tools/v1/customers/set-name-v1-customers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAuD;AACvD,sDAA2E;AAK9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AE,cAAc;IACxB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,qCAAqC;IAC/C,WAAW,EAAE,oBAAoB;CAClC,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,uBAAuB;IAC7B,WAAW,EACT,sxCAAsxC;IACxxC,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;aACf;YACD,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,yGAAyG;aAC5G;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,aAAa,EAAE,MAAM,CAAC;KAClC;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,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACpG,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: 'set_name_v1_customers',
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\nUpdates the specified customer's name.\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n $ref: '#/$defs/customer'\n }\n },\n required: [ 'data'\n ],\n $defs: {\n customer: {\n type: 'object',\n properties: {\n id: {\n type: 'string',\n description: 'the Metronome ID of the customer'\n },\n external_id: {\n type: 'string',\n description: '(deprecated, use ingest_aliases instead) the first ID (Metronome or ingest alias) that can be used in usage events'\n },\n ingest_aliases: {\n type: 'array',\n description: 'aliases for this customer that can be used instead of the Metronome customer ID in usage events',\n items: {\n type: 'string'\n }\n },\n name: {\n type: 'string'\n },\n custom_fields: {\n type: 'object'\n }\n },\n required: [ 'id',\n 'external_id',\n 'ingest_aliases',\n '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\nUpdates the specified customer's name.\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n $ref: '#/$defs/customer'\n }\n },\n required: [ 'data'\n ],\n $defs: {\n customer: {\n type: 'object',\n properties: {\n id: {\n type: 'string',\n description: 'the Metronome ID of the customer'\n },\n external_id: {\n type: 'string',\n description: '(deprecated, use ingest_aliases instead) the first ID (Metronome or ingest alias) that can be used in usage events'\n },\n ingest_aliases: {\n type: 'array',\n description: 'aliases for this customer that can be used instead of the Metronome customer ID in usage events',\n items: {\n type: 'string'\n }\n },\n name: {\n type: 'string'\n },\n custom_fields: {\n type: 'object',\n additionalProperties: true\n }\n },\n required: [ 'id',\n 'external_id',\n 'ingest_aliases',\n '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.customers.setName(body)));
36
+ const { jq_filter, ...body } = args;
37
+ return asTextContentResult(await maybeFilter(jq_filter, await client.v1.customers.setName(body)));
38
38
  };
39
39
  export default { metadata, tool, handler };
40
40
  //# sourceMappingURL=set-name-v1-customers.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"set-name-v1-customers.mjs","sourceRoot":"","sources":["../../../src/tools/v1/customers/set-name-v1-customers.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,qCAAqC;IAC/C,WAAW,EAAE,oBAAoB;CAClC,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,uBAAuB;IAC7B,WAAW,EACT,+uCAA+uC;IACjvC,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;aACf;YACD,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,yGAAyG;aAC5G;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,aAAa,EAAE,MAAM,CAAC;KAClC;IACD,WAAW,EAAE,EAAE;CAChB,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,MAAiB,EAAE,IAAyC,EAAE,EAAE;IAC5F,MAAM,IAAI,GAAG,IAAW,CAAC;IACzB,OAAO,mBAAmB,CAAC,MAAM,WAAW,CAAC,IAAI,EAAE,MAAM,MAAM,CAAC,EAAE,CAAC,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAC/F,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI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I,EAAE,OAAO,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"update-config-v1-customers.d.mts","sourceRoot":"","sources":["../../../src/tools/v1/customers/update-config-v1-customers.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,IA6BlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAIzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAJoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAM1F,wBAA2C"}
1
+ {"version":3,"file":"update-config-v1-customers.d.mts","sourceRoot":"","sources":["../../../src/tools/v1/customers/update-config-v1-customers.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,IAsBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAIzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAJoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAM1F,wBAA2C"}
@@ -1 +1 @@
1
- {"version":3,"file":"update-config-v1-customers.d.ts","sourceRoot":"","sources":["../../../src/tools/v1/customers/update-config-v1-customers.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,IA6BlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAIzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAJoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAM1F,wBAA2C"}
1
+ {"version":3,"file":"update-config-v1-customers.d.ts","sourceRoot":"","sources":["../../../src/tools/v1/customers/update-config-v1-customers.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,IAsBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAIzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAJoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAM1F,wBAA2C"}
@@ -13,7 +13,7 @@ exports.metadata = {
13
13
  };
14
14
  exports.tool = {
15
15
  name: 'update_config_v1_customers',
16
- 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\nUpdates the specified customer's config.\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {}\n}\n```",
16
+ description: "Updates the specified customer's config.\n",
17
17
  inputSchema: {
18
18
  type: 'object',
19
19
  properties: {
@@ -28,11 +28,6 @@ exports.tool = {
28
28
  type: 'string',
29
29
  description: 'The Salesforce account ID for the customer',
30
30
  },
31
- jq_filter: {
32
- type: 'string',
33
- title: 'jq Filter',
34
- description: 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
35
- },
36
31
  },
37
32
  required: ['customer_id'],
38
33
  },
@@ -1 +1 @@
1
- {"version":3,"file":"update-config-v1-customers.js","sourceRoot":"","sources":["../../../src/tools/v1/customers/update-config-v1-customers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sDAA2E;AAK9D,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,cAAc;IACxB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,0CAA0C;IACpD,WAAW,EAAE,yBAAyB;CACvC,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,4BAA4B;IAClC,WAAW,EACT,kSAAkS;IACpS,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;aACf;YACD,8BAA8B,EAAE;gBAC9B,IAAI,EAAE,SAAS;gBACf,WAAW,EACT,oJAAoJ;aACvJ;YACD,qBAAqB,EAAE;gBACrB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,4CAA4C;aAC1D;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,aAAa,CAAC;KAC1B;IACD,WAAW,EAAE,EAAE;CAChB,CAAC;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,MAAiB,EAAE,IAAyC,EAAE,EAAE;IAC5F,MAAM,IAAI,GAAG,IAAW,CAAC;IACzB,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,EAAE,CAAC,SAAS,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,CAAC;IAC3E,OAAO,IAAA,2BAAmB,EAAC,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC;AACpD,CAAC,CAAC;AAJW,QAAA,OAAO,WAIlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"update-config-v1-customers.js","sourceRoot":"","sources":["../../../src/tools/v1/customers/update-config-v1-customers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sDAA2E;AAK9D,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,cAAc;IACxB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,0CAA0C;IACpD,WAAW,EAAE,yBAAyB;CACvC,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,4BAA4B;IAClC,WAAW,EAAE,4CAA4C;IACzD,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;aACf;YACD,8BAA8B,EAAE;gBAC9B,IAAI,EAAE,SAAS;gBACf,WAAW,EACT,oJAAoJ;aACvJ;YACD,qBAAqB,EAAE;gBACrB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,4CAA4C;aAC1D;SACF;QACD,QAAQ,EAAE,CAAC,aAAa,CAAC;KAC1B;IACD,WAAW,EAAE,EAAE;CAChB,CAAC;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,MAAiB,EAAE,IAAyC,EAAE,EAAE;IAC5F,MAAM,IAAI,GAAG,IAAW,CAAC;IACzB,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,EAAE,CAAC,SAAS,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,CAAC;IAC3E,OAAO,IAAA,2BAAmB,EAAC,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC;AACpD,CAAC,CAAC;AAJW,QAAA,OAAO,WAIlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
@@ -10,7 +10,7 @@ export const metadata = {
10
10
  };
11
11
  export const tool = {
12
12
  name: 'update_config_v1_customers',
13
- 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\nUpdates the specified customer's config.\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {}\n}\n```",
13
+ description: "Updates the specified customer's config.\n",
14
14
  inputSchema: {
15
15
  type: 'object',
16
16
  properties: {
@@ -25,11 +25,6 @@ export const tool = {
25
25
  type: 'string',
26
26
  description: 'The Salesforce account ID for the customer',
27
27
  },
28
- jq_filter: {
29
- type: 'string',
30
- title: 'jq Filter',
31
- description: 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
32
- },
33
28
  },
34
29
  required: ['customer_id'],
35
30
  },
@@ -1 +1 @@
1
- {"version":3,"file":"update-config-v1-customers.mjs","sourceRoot":"","sources":["../../../src/tools/v1/customers/update-config-v1-customers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,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,0CAA0C;IACpD,WAAW,EAAE,yBAAyB;CACvC,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,4BAA4B;IAClC,WAAW,EACT,kSAAkS;IACpS,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;aACf;YACD,8BAA8B,EAAE;gBAC9B,IAAI,EAAE,SAAS;gBACf,WAAW,EACT,oJAAoJ;aACvJ;YACD,qBAAqB,EAAE;gBACrB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,4CAA4C;aAC1D;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,aAAa,CAAC;KAC1B;IACD,WAAW,EAAE,EAAE;CAChB,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,MAAiB,EAAE,IAAyC,EAAE,EAAE;IAC5F,MAAM,IAAI,GAAG,IAAW,CAAC;IACzB,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,EAAE,CAAC,SAAS,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,CAAC;IAC3E,OAAO,mBAAmB,CAAC,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC;AACpD,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"update-config-v1-customers.mjs","sourceRoot":"","sources":["../../../src/tools/v1/customers/update-config-v1-customers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,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,0CAA0C;IACpD,WAAW,EAAE,yBAAyB;CACvC,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,4BAA4B;IAClC,WAAW,EAAE,4CAA4C;IACzD,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;aACf;YACD,8BAA8B,EAAE;gBAC9B,IAAI,EAAE,SAAS;gBACf,WAAW,EACT,oJAAoJ;aACvJ;YACD,qBAAqB,EAAE;gBACrB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,4CAA4C;aAC1D;SACF;QACD,QAAQ,EAAE,CAAC,aAAa,CAAC;KAC1B;IACD,WAAW,EAAE,EAAE;CAChB,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,MAAiB,EAAE,IAAyC,EAAE,EAAE;IAC5F,MAAM,IAAI,GAAG,IAAW,CAAC;IACzB,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,EAAE,CAAC,SAAS,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,CAAC;IAC3E,OAAO,mBAAmB,CAAC,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC;AACpD,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"get-embeddable-url-v1-dashboards.d.mts","sourceRoot":"","sources":["../../../src/tools/v1/dashboards/get-embeddable-url-v1-dashboards.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,IAwGlB,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":"get-embeddable-url-v1-dashboards.d.mts","sourceRoot":"","sources":["../../../src/tools/v1/dashboards/get-embeddable-url-v1-dashboards.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,IA2GlB,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":"get-embeddable-url-v1-dashboards.d.ts","sourceRoot":"","sources":["../../../src/tools/v1/dashboards/get-embeddable-url-v1-dashboards.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,IAwGlB,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":"get-embeddable-url-v1-dashboards.d.ts","sourceRoot":"","sources":["../../../src/tools/v1/dashboards/get-embeddable-url-v1-dashboards.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,IA2GlB,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"}
@@ -43,6 +43,7 @@ exports.tool = {
43
43
  value_display_names: {
44
44
  type: 'object',
45
45
  description: '<key, value> pairs of the billable metric group key values and their display names. e.g. {"a": "Asia", "b": "Euro"}',
46
+ additionalProperties: true,
46
47
  },
47
48
  },
48
49
  required: ['group_key_name'],
@@ -77,6 +78,8 @@ exports.tool = {
77
78
  'UsageLine_9',
78
79
  'Primary_green',
79
80
  'Primary_red',
81
+ 'Progress_bar',
82
+ 'Progress_bar_background',
80
83
  ],
81
84
  },
82
85
  value: {
@@ -115,8 +118,8 @@ exports.tool = {
115
118
  annotations: {},
116
119
  };
117
120
  const handler = async (client, args) => {
118
- const body = args;
119
- return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(args, await client.v1.dashboards.getEmbeddableURL(body)));
121
+ const { jq_filter, ...body } = args;
122
+ return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(jq_filter, await client.v1.dashboards.getEmbeddableURL(body)));
120
123
  };
121
124
  exports.handler = handler;
122
125
  exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
@@ -1 +1 @@
1
- {"version":3,"file":"get-embeddable-url-v1-dashboards.js","sourceRoot":"","sources":["../../../src/tools/v1/dashboards/get-embeddable-url-v1-dashboards.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAuD;AACvD,sDAA2E;AAK9D,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,eAAe;IACzB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,iCAAiC;IAC3C,WAAW,EAAE,wBAAwB;CACtC,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,kCAAkC;IACxC,WAAW,EACT,glBAAglB;IACllB,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;aACf;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,oCAAoC;gBACjD,IAAI,EAAE,CAAC,UAAU,EAAE,OAAO,EAAE,SAAS,EAAE,qBAAqB,CAAC;aAC9D;YACD,sBAAsB,EAAE;gBACtB,IAAI,EAAE,OAAO;gBACb,WAAW,EAAE,sDAAsD;gBACnE,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;oBACd,UAAU,EAAE;wBACV,cAAc,EAAE;4BACd,IAAI,EAAE,QAAQ;4BACd,WAAW,EAAE,4CAA4C;yBAC1D;wBACD,YAAY,EAAE;4BACZ,IAAI,EAAE,QAAQ;4BACd,WAAW,EAAE,oDAAoD;yBAClE;wBACD,mBAAmB,EAAE;4BACnB,IAAI,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AO,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,UAAU,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACzG,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":"get-embeddable-url-v1-dashboards.js","sourceRoot":"","sources":["../../../src/tools/v1/dashboards/get-embeddable-url-v1-dashboards.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAuD;AACvD,sDAA2E;AAK9D,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,eAAe;IACzB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,iCAAiC;IAC3C,WAAW,EAAE,wBAAwB;CACtC,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,kCAAkC;IACxC,WAAW,EACT,glBAAglB;IACllB,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;aACf;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,oCAAoC;gBACjD,IAAI,EAAE,CAAC,UAAU,EAAE,OAAO,EAAE,SAAS,EAAE,qBAAqB,CAAC;aAC9D;YACD,sBAAsB,EAAE;gBACtB,IAAI,EAAE,OAAO;gBACb,WAAW,EAAE,sDAAsD;gBACnE,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;oBACd,UAAU,EAAE;wBACV,cAAc,EAAE;4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O,CAAC;iBAC3B;aACF;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,aAAa,EAAE,WAAW,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,UAAU,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAC9G,CAAC,CAAC;AAHW,QAAA,OAAO,WAGlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
@@ -40,6 +40,7 @@ export const tool = {
40
40
  value_display_names: {
41
41
  type: 'object',
42
42
  description: '<key, value> pairs of the billable metric group key values and their display names. e.g. {"a": "Asia", "b": "Euro"}',
43
+ additionalProperties: true,
43
44
  },
44
45
  },
45
46
  required: ['group_key_name'],
@@ -74,6 +75,8 @@ export const tool = {
74
75
  'UsageLine_9',
75
76
  'Primary_green',
76
77
  'Primary_red',
78
+ 'Progress_bar',
79
+ 'Progress_bar_background',
77
80
  ],
78
81
  },
79
82
  value: {
@@ -112,8 +115,8 @@ export const tool = {
112
115
  annotations: {},
113
116
  };
114
117
  export const handler = async (client, args) => {
115
- const body = args;
116
- return asTextContentResult(await maybeFilter(args, await client.v1.dashboards.getEmbeddableURL(body)));
118
+ const { jq_filter, ...body } = args;
119
+ return asTextContentResult(await maybeFilter(jq_filter, await client.v1.dashboards.getEmbeddableURL(body)));
117
120
  };
118
121
  export default { metadata, tool, handler };
119
122
  //# sourceMappingURL=get-embeddable-url-v1-dashboards.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-embeddable-url-v1-dashboards.mjs","sourceRoot":"","sources":["../../../src/tools/v1/dashboards/get-embeddable-url-v1-dashboards.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,eAAe;IACzB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,iCAAiC;IAC3C,WAAW,EAAE,wBAAwB;CACtC,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,kCAAkC;IACxC,WAAW,EACT,glBAAglB;IACllB,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;aACf;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,oCAAoC;gBACjD,IAAI,EAAE,CAAC,UAAU,EAAE,OAAO,EAAE,SAAS,EAAE,qBAAqB,CAAC;aAC9D;YACD,sBAAsB,EAAE;gBACtB,IAAI,EAAE,OAAO;gBACb,WAAW,EAAE,sDAAsD;gBACnE,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;oBACd,UAAU,EAAE;wBACV,cAAc,EAAE;4BACd,IAAI,EAAE,QAAQ;4BACd,WAAW,EAAE,4CAA4C;yBAC1D;wBACD,YAAY,EAAE;4BACZ,IAAI,EAAE,QAAQ;4BACd,WAAW,EAAE,oDAAoD;yBAClE;wBACD,mBAAmB,EAAE;4BACnB,IAAI,EAAE,QAAQ;4BACd,WAAW,EACT,qHAAqH;yBACxH;qBACF;oBACD,QAAQ,EAAE,CAAC,gBAAgB,C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AAG,IAAW,CAAC;IACzB,OAAO,mBAAmB,CAAC,MAAM,WAAW,CAAC,IAAI,EAAE,MAAM,MAAM,CAAC,EAAE,CAAC,UAAU,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACzG,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"get-embeddable-url-v1-dashboards.mjs","sourceRoot":"","sources":["../../../src/tools/v1/dashboards/get-embeddable-url-v1-dashboards.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,eAAe;IACzB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,iCAAiC;IAC3C,WAAW,EAAE,wBAAwB;CACtC,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,kCAAkC;IACxC,WAAW,EACT,glBAAglB;IACllB,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;aACf;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,oCAAoC;gBACjD,IAAI,EAAE,CAAC,UAAU,EAAE,OAAO,EAAE,SAAS,EAAE,qBAAqB,CAAC;aAC9D;YACD,sBAAsB,EAAE;gBACtB,IAAI,EAAE,OAAO;gBACb,WAAW,EAAE,sDAAsD;gBACnE,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;oBACd,UAAU,EAAE;wBACV,cAAc,EAAE;4BACd,IAAI,EAAE,QAAQ;4BACd,WAAW,EAAE,4CAA4C;yBAC1D;wBACD,YAAY,EAAE;4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AE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,aAAa,EAAE,WAAW,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,UAAU,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAC9G,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
@@ -33,8 +33,8 @@ exports.tool = {
33
33
  annotations: {},
34
34
  };
35
35
  const handler = async (client, args) => {
36
- const body = args;
37
- return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(args, await client.v1.invoices.regenerate(body)));
36
+ const { jq_filter, ...body } = args;
37
+ return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(jq_filter, await client.v1.invoices.regenerate(body)));
38
38
  };
39
39
  exports.handler = handler;
40
40
  exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
@@ -1 +1 @@
1
- {"version":3,"file":"regenerate-v1-invoices.js","sourceRoot":"","sources":["../../../src/tools/v1/invoices/regenerate-v1-invoices.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAuD;AACvD,sDAA2E;AAK9D,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,aAAa;IACvB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,yBAAyB;IACnC,WAAW,EAAE,sBAAsB;CACpC,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,wBAAwB;IAC9B,WAAW,EACT,ofAAof;IACtf,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,EAAE,EAAE;gBACF,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,8BAA8B;aAC5C;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,IAAI,CAAC;KACjB;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,QAAQ,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACjG,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":"regenerate-v1-invoices.js","sourceRoot":"","sources":["../../../src/tools/v1/invoices/regenerate-v1-invoices.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAuD;AACvD,sDAA2E;AAK9D,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,aAAa;IACvB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,yBAAyB;IACnC,WAAW,EAAE,sBAAsB;CACpC,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,wBAAwB;IAC9B,WAAW,EACT,ofAAof;IACtf,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,EAAE,EAAE;gBACF,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,8BAA8B;aAC5C;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,IAAI,CAAC;KACjB;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,QAAQ,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACtG,CAAC,CAAC;AAHW,QAAA,OAAO,WAGlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
@@ -30,8 +30,8 @@ export const tool = {
30
30
  annotations: {},
31
31
  };
32
32
  export const handler = async (client, args) => {
33
- const body = args;
34
- return asTextContentResult(await maybeFilter(args, await client.v1.invoices.regenerate(body)));
33
+ const { jq_filter, ...body } = args;
34
+ return asTextContentResult(await maybeFilter(jq_filter, await client.v1.invoices.regenerate(body)));
35
35
  };
36
36
  export default { metadata, tool, handler };
37
37
  //# sourceMappingURL=regenerate-v1-invoices.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"regenerate-v1-invoices.mjs","sourceRoot":"","sources":["../../../src/tools/v1/invoices/regenerate-v1-invoices.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;I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,MAAM;IAClB,QAAQ,EAAE,yBAAyB;IACnC,WAAW,EAAE,sBAAsB;CACpC,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,wBAAwB;IAC9B,WAAW,EACT,ofAAof;IACtf,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,EAAE,EAAE;gBACF,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,8BAA8B;aAC5C;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,IAAI,CAAC;KACjB;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,QAAQ,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACtG,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
@@ -33,8 +33,8 @@ exports.tool = {
33
33
  annotations: {},
34
34
  };
35
35
  const handler = async (client, args) => {
36
- const body = args;
37
- return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(args, await client.v1.invoices.void(body)));
36
+ const { jq_filter, ...body } = args;
37
+ return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(jq_filter, await client.v1.invoices.void(body)));
38
38
  };
39
39
  exports.handler = handler;
40
40
  exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
@@ -1 +1 @@
1
- {"version":3,"file":"void-v1-invoices.js","sourceRoot":"","sources":["../../../src/tools/v1/invoices/void-v1-invoices.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAuD;AACvD,sDAA2E;AAK9D,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,aAAa;IACvB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,mBAAmB;IAC7B,WAAW,EAAE,gBAAgB;CAC9B,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,kBAAkB;IACxB,WAAW,EACT,ibAAib;IACnb,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,EAAE,EAAE;gBACF,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,wBAAwB;aACtC;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,IAAI,CAAC;KACjB;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,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAC3F,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":"void-v1-invoices.js","sourceRoot":"","sources":["../../../src/tools/v1/invoices/void-v1-invoices.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAuD;AACvD,sDAA2E;AAK9D,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,aAAa;IACvB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,mBAAmB;IAC7B,WAAW,EAAE,gBAAgB;CAC9B,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,kBAAkB;IACxB,WAAW,EACT,ibAAib;IACnb,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,EAAE,EAAE;gBACF,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,wBAAwB;aACtC;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,IAAI,CAAC;KACjB;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,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAChG,CAAC,CAAC;AAHW,QAAA,OAAO,WAGlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
@@ -30,8 +30,8 @@ export const tool = {
30
30
  annotations: {},
31
31
  };
32
32
  export const handler = async (client, args) => {
33
- const body = args;
34
- return asTextContentResult(await maybeFilter(args, await client.v1.invoices.void(body)));
33
+ const { jq_filter, ...body } = args;
34
+ return asTextContentResult(await maybeFilter(jq_filter, await client.v1.invoices.void(body)));
35
35
  };
36
36
  export default { metadata, tool, handler };
37
37
  //# sourceMappingURL=void-v1-invoices.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"void-v1-invoices.mjs","sourceRoot":"","sources":["../../../src/tools/v1/invoices/void-v1-invoices.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,aAAa;IACvB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,mBAAmB;IAC7B,WAAW,EAAE,gBAAgB;CAC9B,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,kBAAkB;IACxB,WAAW,EACT,ibAAib;IACnb,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,EAAE,EAAE;gBACF,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,wBAAwB;aACtC;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,IAAI,CAAC;KACjB;IACD,WAAW,EAAE,EAAE;CAChB,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,MAAiB,EAAE,IAAyC,EAAE,EAAE;IAC5F,MAAM,IAAI,GAAG,IAAW,CAAC;IACzB,OAAO,mBAAmB,CAAC,MAAM,WAAW,CAAC,IAAI,EAAE,MAAM,MAAM,CAAC,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAC3F,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"void-v1-invoices.mjs","sourceRoot":"","sources":["../../../src/tools/v1/invoices/void-v1-invoices.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,aAAa;IACvB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,mBAAmB;IAC7B,WAAW,EAAE,gBAAgB;CAC9B,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,kBAAkB;IACxB,WAAW,EACT,ibAAib;IACnb,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,EAAE,EAAE;gBACF,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,wBAAwB;aACtC;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,IAAI,CAAC;KACjB;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,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAChG,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
@@ -14,7 +14,7 @@ exports.metadata = {
14
14
  };
15
15
  exports.tool = {
16
16
  name: 'get_details_v1_plans',
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\nFetch high level details of a specific plan.\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n $ref: '#/$defs/plan_detail'\n }\n },\n required: [ 'data'\n ],\n $defs: {\n plan_detail: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n custom_fields: {\n type: 'object'\n },\n name: {\n type: 'string'\n },\n credit_grants: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n amount_granted: {\n type: 'number'\n },\n amount_granted_credit_type: {\n $ref: '#/$defs/credit_type_data'\n },\n amount_paid: {\n type: 'number'\n },\n amount_paid_credit_type: {\n $ref: '#/$defs/credit_type_data'\n },\n effective_duration: {\n type: 'number'\n },\n name: {\n type: 'string'\n },\n priority: {\n type: 'string'\n },\n send_invoice: {\n type: 'boolean'\n },\n reason: {\n type: 'string'\n },\n recurrence_duration: {\n type: 'number'\n },\n recurrence_interval: {\n type: 'number'\n }\n },\n required: [ 'amount_granted',\n 'amount_granted_credit_type',\n 'amount_paid',\n 'amount_paid_credit_type',\n 'effective_duration',\n 'name',\n 'priority',\n 'send_invoice'\n ]\n }\n },\n description: {\n type: 'string'\n },\n minimums: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n credit_type: {\n $ref: '#/$defs/credit_type_data'\n },\n name: {\n type: 'string'\n },\n start_period: {\n type: 'number',\n description: 'Used in price ramps. Indicates how many billing periods pass before the charge applies.'\n },\n value: {\n type: 'number'\n }\n },\n required: [ 'credit_type',\n 'name',\n 'start_period',\n 'value'\n ]\n }\n },\n overage_rates: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n credit_type: {\n $ref: '#/$defs/credit_type_data'\n },\n fiat_credit_type: {\n $ref: '#/$defs/credit_type_data'\n },\n start_period: {\n type: 'number',\n description: 'Used in price ramps. Indicates how many billing periods pass before the charge applies.'\n },\n to_fiat_conversion_factor: {\n type: 'number'\n }\n },\n required: [ 'credit_type',\n 'fiat_credit_type',\n 'start_period',\n 'to_fiat_conversion_factor'\n ]\n }\n }\n },\n required: [ 'id',\n 'custom_fields',\n 'name'\n ]\n },\n credit_type_data: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n name: {\n type: 'string'\n }\n },\n required: [ 'id',\n 'name'\n ]\n }\n }\n}\n```",
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\nFetch high level details of a specific plan.\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n $ref: '#/$defs/plan_detail'\n }\n },\n required: [ 'data'\n ],\n $defs: {\n plan_detail: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n custom_fields: {\n type: 'object',\n additionalProperties: true\n },\n name: {\n type: 'string'\n },\n credit_grants: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n amount_granted: {\n type: 'number'\n },\n amount_granted_credit_type: {\n $ref: '#/$defs/credit_type_data'\n },\n amount_paid: {\n type: 'number'\n },\n amount_paid_credit_type: {\n $ref: '#/$defs/credit_type_data'\n },\n effective_duration: {\n type: 'number'\n },\n name: {\n type: 'string'\n },\n priority: {\n type: 'string'\n },\n send_invoice: {\n type: 'boolean'\n },\n reason: {\n type: 'string'\n },\n recurrence_duration: {\n type: 'number'\n },\n recurrence_interval: {\n type: 'number'\n }\n },\n required: [ 'amount_granted',\n 'amount_granted_credit_type',\n 'amount_paid',\n 'amount_paid_credit_type',\n 'effective_duration',\n 'name',\n 'priority',\n 'send_invoice'\n ]\n }\n },\n description: {\n type: 'string'\n },\n minimums: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n credit_type: {\n $ref: '#/$defs/credit_type_data'\n },\n name: {\n type: 'string'\n },\n start_period: {\n type: 'number',\n description: 'Used in price ramps. Indicates how many billing periods pass before the charge applies.'\n },\n value: {\n type: 'number'\n }\n },\n required: [ 'credit_type',\n 'name',\n 'start_period',\n 'value'\n ]\n }\n },\n overage_rates: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n credit_type: {\n $ref: '#/$defs/credit_type_data'\n },\n fiat_credit_type: {\n $ref: '#/$defs/credit_type_data'\n },\n start_period: {\n type: 'number',\n description: 'Used in price ramps. Indicates how many billing periods pass before the charge applies.'\n },\n to_fiat_conversion_factor: {\n type: 'number'\n }\n },\n required: [ 'credit_type',\n 'fiat_credit_type',\n 'start_period',\n 'to_fiat_conversion_factor'\n ]\n }\n }\n },\n required: [ 'id',\n 'custom_fields',\n 'name'\n ]\n },\n credit_type_data: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n name: {\n type: 'string'\n }\n },\n required: [ 'id',\n 'name'\n ]\n }\n }\n}\n```",
18
18
  inputSchema: {
19
19
  type: 'object',
20
20
  properties: {
@@ -34,8 +34,8 @@ exports.tool = {
34
34
  },
35
35
  };
36
36
  const handler = async (client, args) => {
37
- const body = args;
38
- return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(args, await client.v1.plans.getDetails(body)));
37
+ const { jq_filter, ...body } = args;
38
+ return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(jq_filter, await client.v1.plans.getDetails(body)));
39
39
  };
40
40
  exports.handler = handler;
41
41
  exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
@@ -1 +1 @@
1
- {"version":3,"file":"get-details-v1-plans.js","sourceRoot":"","sources":["../../../src/tools/v1/plans/get-details-v1-plans.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAuD;AACvD,sDAA2E;AAK9D,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,2BAA2B;IACrC,WAAW,EAAE,mBAAmB;CACjC,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,sBAAsB;IAC5B,WAAW,EACT,4+HAA4+H;IAC9+H,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SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,SAAS,CAAC;KACtB;IACD,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;KACnB;CACF,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,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACnG,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: 'get_details_v1_plans',
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\nFetch high level details of a specific plan.\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n $ref: '#/$defs/plan_detail'\n }\n },\n required: [ 'data'\n ],\n $defs: {\n plan_detail: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n custom_fields: {\n type: 'object'\n },\n name: {\n type: 'string'\n },\n credit_grants: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n amount_granted: {\n type: 'number'\n },\n amount_granted_credit_type: {\n $ref: '#/$defs/credit_type_data'\n },\n amount_paid: {\n type: 'number'\n },\n amount_paid_credit_type: {\n $ref: '#/$defs/credit_type_data'\n },\n effective_duration: {\n type: 'number'\n },\n name: {\n type: 'string'\n },\n priority: {\n type: 'string'\n },\n send_invoice: {\n type: 'boolean'\n },\n reason: {\n type: 'string'\n },\n recurrence_duration: {\n type: 'number'\n },\n recurrence_interval: {\n type: 'number'\n }\n },\n required: [ 'amount_granted',\n 'amount_granted_credit_type',\n 'amount_paid',\n 'amount_paid_credit_type',\n 'effective_duration',\n 'name',\n 'priority',\n 'send_invoice'\n ]\n }\n },\n description: {\n type: 'string'\n },\n minimums: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n credit_type: {\n $ref: '#/$defs/credit_type_data'\n },\n name: {\n type: 'string'\n },\n start_period: {\n type: 'number',\n description: 'Used in price ramps. Indicates how many billing periods pass before the charge applies.'\n },\n value: {\n type: 'number'\n }\n },\n required: [ 'credit_type',\n 'name',\n 'start_period',\n 'value'\n ]\n }\n },\n overage_rates: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n credit_type: {\n $ref: '#/$defs/credit_type_data'\n },\n fiat_credit_type: {\n $ref: '#/$defs/credit_type_data'\n },\n start_period: {\n type: 'number',\n description: 'Used in price ramps. Indicates how many billing periods pass before the charge applies.'\n },\n to_fiat_conversion_factor: {\n type: 'number'\n }\n },\n required: [ 'credit_type',\n 'fiat_credit_type',\n 'start_period',\n 'to_fiat_conversion_factor'\n ]\n }\n }\n },\n required: [ 'id',\n 'custom_fields',\n 'name'\n ]\n },\n credit_type_data: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n name: {\n type: 'string'\n }\n },\n required: [ 'id',\n 'name'\n ]\n }\n }\n}\n```",
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\nFetch high level details of a specific plan.\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n $ref: '#/$defs/plan_detail'\n }\n },\n required: [ 'data'\n ],\n $defs: {\n plan_detail: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n custom_fields: {\n type: 'object',\n additionalProperties: true\n },\n name: {\n type: 'string'\n },\n credit_grants: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n amount_granted: {\n type: 'number'\n },\n amount_granted_credit_type: {\n $ref: '#/$defs/credit_type_data'\n },\n amount_paid: {\n type: 'number'\n },\n amount_paid_credit_type: {\n $ref: '#/$defs/credit_type_data'\n },\n effective_duration: {\n type: 'number'\n },\n name: {\n type: 'string'\n },\n priority: {\n type: 'string'\n },\n send_invoice: {\n type: 'boolean'\n },\n reason: {\n type: 'string'\n },\n recurrence_duration: {\n type: 'number'\n },\n recurrence_interval: {\n type: 'number'\n }\n },\n required: [ 'amount_granted',\n 'amount_granted_credit_type',\n 'amount_paid',\n 'amount_paid_credit_type',\n 'effective_duration',\n 'name',\n 'priority',\n 'send_invoice'\n ]\n }\n },\n description: {\n type: 'string'\n },\n minimums: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n credit_type: {\n $ref: '#/$defs/credit_type_data'\n },\n name: {\n type: 'string'\n },\n start_period: {\n type: 'number',\n description: 'Used in price ramps. Indicates how many billing periods pass before the charge applies.'\n },\n value: {\n type: 'number'\n }\n },\n required: [ 'credit_type',\n 'name',\n 'start_period',\n 'value'\n ]\n }\n },\n overage_rates: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n credit_type: {\n $ref: '#/$defs/credit_type_data'\n },\n fiat_credit_type: {\n $ref: '#/$defs/credit_type_data'\n },\n start_period: {\n type: 'number',\n description: 'Used in price ramps. Indicates how many billing periods pass before the charge applies.'\n },\n to_fiat_conversion_factor: {\n type: 'number'\n }\n },\n required: [ 'credit_type',\n 'fiat_credit_type',\n 'start_period',\n 'to_fiat_conversion_factor'\n ]\n }\n }\n },\n required: [ 'id',\n 'custom_fields',\n 'name'\n ]\n },\n credit_type_data: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n name: {\n type: 'string'\n }\n },\n required: [ 'id',\n 'name'\n ]\n }\n }\n}\n```",
15
15
  inputSchema: {
16
16
  type: 'object',
17
17
  properties: {
@@ -31,8 +31,8 @@ export const tool = {
31
31
  },
32
32
  };
33
33
  export const handler = async (client, args) => {
34
- const body = args;
35
- return asTextContentResult(await maybeFilter(args, await client.v1.plans.getDetails(body)));
34
+ const { jq_filter, ...body } = args;
35
+ return asTextContentResult(await maybeFilter(jq_filter, await client.v1.plans.getDetails(body)));
36
36
  };
37
37
  export default { metadata, tool, handler };
38
38
  //# sourceMappingURL=get-details-v1-plans.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-details-v1-plans.mjs","sourceRoot":"","sources":["../../../src/tools/v1/plans/get-details-v1-plans.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,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,2BAA2B;IACrC,WAAW,EAAE,mBAAmB;CACjC,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,sBAAsB;IAC5B,WAAW,EACT,4+HAA4+H;IAC9+H,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,OAAO,EAAE;gBACP,IAAI,EAAE,QAAQ;aACf;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,SAAS,CAAC;KACtB;IACD,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;KACnB;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,MAAiB,EAAE,IAAyC,EAAE,EAAE;IAC5F,MAAM,IAAI,GAAG,IAAW,CAAC;IACzB,OAAO,mBAAmB,CAAC,MAAM,WAAW,CAAC,IAAI,EAAE,MAAM,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,CAAC,CAAC;AACnG,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
@@ -14,7 +14,7 @@ exports.metadata = {
14
14
  };
15
15
  exports.tool = {
16
16
  name: 'list_charges_v1_plans',
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\nFetches a list of charges of a specific plan.\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n charge_type: {\n type: 'string',\n enum: [ 'usage',\n 'fixed',\n 'composite',\n 'minimum',\n 'seat'\n ]\n },\n credit_type: {\n $ref: '#/$defs/credit_type_data'\n },\n custom_fields: {\n type: 'object'\n },\n name: {\n type: 'string'\n },\n prices: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n tier: {\n type: 'number',\n description: 'Used in pricing tiers. Indicates at what metric value the price applies.'\n },\n value: {\n type: 'number'\n },\n collection_interval: {\n type: 'number'\n },\n collection_schedule: {\n type: 'string'\n },\n quantity: {\n type: 'number'\n }\n },\n required: [ 'tier',\n 'value'\n ]\n }\n },\n product_id: {\n type: 'string'\n },\n product_name: {\n type: 'string'\n },\n quantity: {\n type: 'number'\n },\n start_period: {\n type: 'number',\n description: 'Used in price ramps. Indicates how many billing periods pass before the charge applies.'\n },\n tier_reset_frequency: {\n type: 'number',\n description: 'Used in pricing tiers. Indicates how often the tier resets. Default is 1 - the tier count resets every billing period.'\n },\n unit_conversion: {\n type: 'object',\n description: 'Specifies how quantities for usage based charges will be converted.',\n properties: {\n division_factor: {\n type: 'number',\n description: 'The conversion factor'\n },\n rounding_behavior: {\n type: 'string',\n description: 'Whether usage should be rounded down or up to the nearest whole number. If null, quantity will be rounded to 20 decimal places.',\n enum: [ 'floor',\n 'ceiling'\n ]\n }\n },\n required: [ 'division_factor'\n ]\n }\n },\n required: [ 'id',\n 'charge_type',\n 'credit_type',\n 'custom_fields',\n 'name',\n 'prices',\n 'product_id',\n 'product_name'\n ]\n }\n },\n next_page: {\n type: 'string'\n }\n },\n required: [ 'data',\n 'next_page'\n ],\n $defs: {\n credit_type_data: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n name: {\n type: 'string'\n }\n },\n required: [ 'id',\n 'name'\n ]\n }\n }\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\nFetches a list of charges of a specific plan.\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n charge_type: {\n type: 'string',\n enum: [ 'usage',\n 'fixed',\n 'composite',\n 'minimum',\n 'seat'\n ]\n },\n credit_type: {\n $ref: '#/$defs/credit_type_data'\n },\n custom_fields: {\n type: 'object',\n additionalProperties: true\n },\n name: {\n type: 'string'\n },\n prices: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n tier: {\n type: 'number',\n description: 'Used in pricing tiers. Indicates at what metric value the price applies.'\n },\n value: {\n type: 'number'\n },\n collection_interval: {\n type: 'number'\n },\n collection_schedule: {\n type: 'string'\n },\n quantity: {\n type: 'number'\n }\n },\n required: [ 'tier',\n 'value'\n ]\n }\n },\n product_id: {\n type: 'string'\n },\n product_name: {\n type: 'string'\n },\n quantity: {\n type: 'number'\n },\n start_period: {\n type: 'number',\n description: 'Used in price ramps. Indicates how many billing periods pass before the charge applies.'\n },\n tier_reset_frequency: {\n type: 'number',\n description: 'Used in pricing tiers. Indicates how often the tier resets. Default is 1 - the tier count resets every billing period.'\n },\n unit_conversion: {\n type: 'object',\n description: 'Specifies how quantities for usage based charges will be converted.',\n properties: {\n division_factor: {\n type: 'number',\n description: 'The conversion factor'\n },\n rounding_behavior: {\n type: 'string',\n description: 'Whether usage should be rounded down or up to the nearest whole number. If null, quantity will be rounded to 20 decimal places.',\n enum: [ 'floor',\n 'ceiling'\n ]\n }\n },\n required: [ 'division_factor'\n ]\n }\n },\n required: [ 'id',\n 'charge_type',\n 'credit_type',\n 'custom_fields',\n 'name',\n 'prices',\n 'product_id',\n 'product_name'\n ]\n }\n },\n next_page: {\n type: 'string'\n }\n },\n required: [ 'data',\n 'next_page'\n ],\n $defs: {\n credit_type_data: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n name: {\n type: 'string'\n }\n },\n required: [ 'id',\n 'name'\n ]\n }\n }\n}\n```",
18
18
  inputSchema: {
19
19
  type: 'object',
20
20
  properties: {
@@ -42,9 +42,9 @@ exports.tool = {
42
42
  },
43
43
  };
44
44
  const handler = async (client, args) => {
45
- const body = args;
45
+ const { jq_filter, ...body } = args;
46
46
  const response = await client.v1.plans.listCharges(body).asResponse();
47
- return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(args, await response.json()));
47
+ return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(jq_filter, await response.json()));
48
48
  };
49
49
  exports.handler = handler;
50
50
  exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };