@metronome/mcp 1.0.0 → 2.0.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 (466) hide show
  1. package/README.md +97 -55
  2. package/docs-search-tool.d.mts +44 -0
  3. package/docs-search-tool.d.mts.map +1 -0
  4. package/docs-search-tool.d.ts +44 -0
  5. package/docs-search-tool.d.ts.map +1 -0
  6. package/docs-search-tool.js +43 -0
  7. package/docs-search-tool.js.map +1 -0
  8. package/docs-search-tool.mjs +39 -0
  9. package/docs-search-tool.mjs.map +1 -0
  10. package/options.d.mts +1 -0
  11. package/options.d.mts.map +1 -1
  12. package/options.d.ts +1 -0
  13. package/options.d.ts.map +1 -1
  14. package/options.js +13 -6
  15. package/options.js.map +1 -1
  16. package/options.mjs +13 -6
  17. package/options.mjs.map +1 -1
  18. package/package.json +12 -2
  19. package/server.d.mts.map +1 -1
  20. package/server.d.ts.map +1 -1
  21. package/server.js +8 -4
  22. package/server.js.map +1 -1
  23. package/server.mjs +8 -4
  24. package/server.mjs.map +1 -1
  25. package/src/docs-search-tool.ts +48 -0
  26. package/src/options.ts +17 -7
  27. package/src/server.ts +8 -5
  28. package/src/tools/index.ts +8 -0
  29. package/src/tools/v1/alerts/archive-v1-alerts.ts +3 -3
  30. package/src/tools/v1/alerts/create-v1-alerts.ts +14 -13
  31. package/src/tools/v1/audit-logs/list-v1-audit-logs.ts +1 -1
  32. package/src/tools/v1/billable-metrics/archive-v1-billable-metrics.ts +1 -1
  33. package/src/tools/v1/billable-metrics/create-v1-billable-metrics.ts +1 -1
  34. package/src/tools/v1/billable-metrics/list-v1-billable-metrics.ts +1 -1
  35. package/src/tools/v1/billable-metrics/retrieve-v1-billable-metrics.ts +1 -1
  36. package/src/tools/v1/contracts/amend-v1-contracts.ts +1 -1
  37. package/src/tools/v1/contracts/archive-v1-contracts.ts +1 -1
  38. package/src/tools/v1/contracts/create-v1-contracts.ts +24 -3
  39. package/src/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.ts +1 -1
  40. package/src/tools/v1/contracts/products/archive-contracts-v1-products.ts +1 -1
  41. package/src/tools/v1/contracts/products/create-contracts-v1-products.ts +1 -1
  42. package/src/tools/v1/contracts/products/list-contracts-v1-products.ts +1 -1
  43. package/src/tools/v1/contracts/products/retrieve-contracts-v1-products.ts +1 -1
  44. package/src/tools/v1/contracts/products/update-contracts-v1-products.ts +1 -1
  45. package/src/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.ts +1 -1
  46. package/src/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.ts +1 -1
  47. package/src/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.ts +1 -1
  48. package/src/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.ts +1 -1
  49. package/src/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.ts +1 -1
  50. package/src/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.ts +1 -1
  51. package/src/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.ts +1 -1
  52. package/src/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.ts +1 -1
  53. package/src/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.ts +1 -1
  54. package/src/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.ts +1 -1
  55. package/src/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.ts +1 -1
  56. package/src/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.ts +1 -1
  57. package/src/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.ts +1 -1
  58. package/src/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.ts +1 -1
  59. package/src/tools/v1/contracts/update-end-date-v1-contracts.ts +1 -1
  60. package/src/tools/v1/credit-grants/create-v1-credit-grants.ts +1 -1
  61. package/src/tools/v1/credit-grants/edit-v1-credit-grants.ts +1 -1
  62. package/src/tools/v1/credit-grants/list-entries-v1-credit-grants.ts +1 -1
  63. package/src/tools/v1/credit-grants/list-v1-credit-grants.ts +1 -1
  64. package/src/tools/v1/credit-grants/void-v1-credit-grants.ts +1 -1
  65. package/src/tools/v1/custom-fields/list-keys-v1-custom-fields.ts +1 -1
  66. package/src/tools/v1/customers/alerts/list-customers-v1-alerts.ts +3 -2
  67. package/src/tools/v1/customers/alerts/reset-customers-v1-alerts.ts +2 -2
  68. package/src/tools/v1/customers/alerts/retrieve-customers-v1-alerts.ts +7 -14
  69. package/src/tools/v1/customers/archive-v1-customers.ts +1 -1
  70. package/src/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.ts +1 -1
  71. package/src/tools/v1/customers/commits/update-end-date-customers-v1-commits.ts +1 -1
  72. package/src/tools/v1/customers/create-v1-customers.ts +1 -1
  73. package/src/tools/v1/customers/credits/create-customers-v1-credits.ts +1 -1
  74. package/src/tools/v1/customers/credits/update-end-date-customers-v1-credits.ts +1 -1
  75. package/src/tools/v1/customers/invoices/add-charge-customers-v1-invoices.ts +1 -1
  76. package/src/tools/v1/customers/invoices/retrieve-pdf-customers-v1-invoices.ts +43 -0
  77. package/src/tools/v1/customers/list-billable-metrics-v1-customers.ts +1 -1
  78. package/src/tools/v1/customers/list-costs-v1-customers.ts +1 -1
  79. package/src/tools/v1/customers/list-v1-customers.ts +1 -1
  80. package/src/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.ts +1 -1
  81. package/src/tools/v1/customers/plans/add-customers-v1-plans.ts +1 -1
  82. package/src/tools/v1/customers/plans/end-customers-v1-plans.ts +1 -1
  83. package/src/tools/v1/customers/plans/list-customers-v1-plans.ts +1 -1
  84. package/src/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.ts +1 -1
  85. package/src/tools/v1/customers/preview-events-v1-customers.ts +2 -7
  86. package/src/tools/v1/customers/retrieve-billing-configurations-v1-customers.ts +1 -1
  87. package/src/tools/v1/customers/retrieve-v1-customers.ts +1 -1
  88. package/src/tools/v1/customers/set-billing-configurations-v1-customers.ts +1 -1
  89. package/src/tools/v1/customers/set-name-v1-customers.ts +1 -1
  90. package/src/tools/v1/dashboards/get-embeddable-url-v1-dashboards.ts +1 -1
  91. package/src/tools/v1/invoices/regenerate-v1-invoices.ts +1 -1
  92. package/src/tools/v1/invoices/void-v1-invoices.ts +1 -1
  93. package/src/tools/v1/payments/attempt-v1-payments.ts +48 -0
  94. package/src/tools/v1/payments/cancel-v1-payments.ts +48 -0
  95. package/src/tools/v1/payments/list-v1-payments.ts +69 -0
  96. package/src/tools/v1/plans/get-details-v1-plans.ts +1 -1
  97. package/src/tools/v1/plans/list-charges-v1-plans.ts +1 -1
  98. package/src/tools/v1/plans/list-customers-v1-plans.ts +1 -1
  99. package/src/tools/v1/plans/list-v1-plans.ts +1 -1
  100. package/src/tools/v1/pricing-units/list-v1-pricing-units.ts +1 -1
  101. package/src/tools/v1/services/list-v1-services.ts +1 -1
  102. package/src/tools/v1/usage/ingest-v1-usage.ts +1 -1
  103. package/src/tools/v1/usage/list-v1-usage.ts +1 -1
  104. package/src/tools/v1/usage/list-with-groups-v1-usage.ts +1 -1
  105. package/src/tools/v1/usage/search-v1-usage.ts +1 -1
  106. package/src/tools/v2/contracts/edit-commit-v2-contracts.ts +50 -1
  107. package/src/tools/v2/contracts/edit-credit-v2-contracts.ts +50 -1
  108. package/src/tools/v2/contracts/edit-v2-contracts.ts +60 -2
  109. package/tools/index.d.mts.map +1 -1
  110. package/tools/index.d.ts.map +1 -1
  111. package/tools/index.js +8 -0
  112. package/tools/index.js.map +1 -1
  113. package/tools/index.mjs +8 -0
  114. package/tools/index.mjs.map +1 -1
  115. package/tools/v1/alerts/archive-v1-alerts.js +3 -3
  116. package/tools/v1/alerts/archive-v1-alerts.js.map +1 -1
  117. package/tools/v1/alerts/archive-v1-alerts.mjs +3 -3
  118. package/tools/v1/alerts/archive-v1-alerts.mjs.map +1 -1
  119. package/tools/v1/alerts/create-v1-alerts.d.mts.map +1 -1
  120. package/tools/v1/alerts/create-v1-alerts.d.ts.map +1 -1
  121. package/tools/v1/alerts/create-v1-alerts.js +13 -13
  122. package/tools/v1/alerts/create-v1-alerts.js.map +1 -1
  123. package/tools/v1/alerts/create-v1-alerts.mjs +13 -13
  124. package/tools/v1/alerts/create-v1-alerts.mjs.map +1 -1
  125. package/tools/v1/audit-logs/list-v1-audit-logs.js +1 -1
  126. package/tools/v1/audit-logs/list-v1-audit-logs.js.map +1 -1
  127. package/tools/v1/audit-logs/list-v1-audit-logs.mjs +1 -1
  128. package/tools/v1/audit-logs/list-v1-audit-logs.mjs.map +1 -1
  129. package/tools/v1/billable-metrics/archive-v1-billable-metrics.js +1 -1
  130. package/tools/v1/billable-metrics/archive-v1-billable-metrics.js.map +1 -1
  131. package/tools/v1/billable-metrics/archive-v1-billable-metrics.mjs +1 -1
  132. package/tools/v1/billable-metrics/archive-v1-billable-metrics.mjs.map +1 -1
  133. package/tools/v1/billable-metrics/create-v1-billable-metrics.js +1 -1
  134. package/tools/v1/billable-metrics/create-v1-billable-metrics.js.map +1 -1
  135. package/tools/v1/billable-metrics/create-v1-billable-metrics.mjs +1 -1
  136. package/tools/v1/billable-metrics/create-v1-billable-metrics.mjs.map +1 -1
  137. package/tools/v1/billable-metrics/list-v1-billable-metrics.js +1 -1
  138. package/tools/v1/billable-metrics/list-v1-billable-metrics.js.map +1 -1
  139. package/tools/v1/billable-metrics/list-v1-billable-metrics.mjs +1 -1
  140. package/tools/v1/billable-metrics/list-v1-billable-metrics.mjs.map +1 -1
  141. package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.js +1 -1
  142. package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.js.map +1 -1
  143. package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.mjs +1 -1
  144. package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.mjs.map +1 -1
  145. package/tools/v1/contracts/amend-v1-contracts.js +1 -1
  146. package/tools/v1/contracts/amend-v1-contracts.js.map +1 -1
  147. package/tools/v1/contracts/amend-v1-contracts.mjs +1 -1
  148. package/tools/v1/contracts/amend-v1-contracts.mjs.map +1 -1
  149. package/tools/v1/contracts/archive-v1-contracts.js +1 -1
  150. package/tools/v1/contracts/archive-v1-contracts.js.map +1 -1
  151. package/tools/v1/contracts/archive-v1-contracts.mjs +1 -1
  152. package/tools/v1/contracts/archive-v1-contracts.mjs.map +1 -1
  153. package/tools/v1/contracts/create-v1-contracts.d.mts.map +1 -1
  154. package/tools/v1/contracts/create-v1-contracts.d.ts.map +1 -1
  155. package/tools/v1/contracts/create-v1-contracts.js +22 -3
  156. package/tools/v1/contracts/create-v1-contracts.js.map +1 -1
  157. package/tools/v1/contracts/create-v1-contracts.mjs +22 -3
  158. package/tools/v1/contracts/create-v1-contracts.mjs.map +1 -1
  159. package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.js +1 -1
  160. package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.js.map +1 -1
  161. package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.mjs +1 -1
  162. package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.mjs.map +1 -1
  163. package/tools/v1/contracts/products/archive-contracts-v1-products.js +1 -1
  164. package/tools/v1/contracts/products/archive-contracts-v1-products.js.map +1 -1
  165. package/tools/v1/contracts/products/archive-contracts-v1-products.mjs +1 -1
  166. package/tools/v1/contracts/products/archive-contracts-v1-products.mjs.map +1 -1
  167. package/tools/v1/contracts/products/create-contracts-v1-products.js +1 -1
  168. package/tools/v1/contracts/products/create-contracts-v1-products.js.map +1 -1
  169. package/tools/v1/contracts/products/create-contracts-v1-products.mjs +1 -1
  170. package/tools/v1/contracts/products/create-contracts-v1-products.mjs.map +1 -1
  171. package/tools/v1/contracts/products/list-contracts-v1-products.js +1 -1
  172. package/tools/v1/contracts/products/list-contracts-v1-products.js.map +1 -1
  173. package/tools/v1/contracts/products/list-contracts-v1-products.mjs +1 -1
  174. package/tools/v1/contracts/products/list-contracts-v1-products.mjs.map +1 -1
  175. package/tools/v1/contracts/products/retrieve-contracts-v1-products.js +1 -1
  176. package/tools/v1/contracts/products/retrieve-contracts-v1-products.js.map +1 -1
  177. package/tools/v1/contracts/products/retrieve-contracts-v1-products.mjs +1 -1
  178. package/tools/v1/contracts/products/retrieve-contracts-v1-products.mjs.map +1 -1
  179. package/tools/v1/contracts/products/update-contracts-v1-products.js +1 -1
  180. package/tools/v1/contracts/products/update-contracts-v1-products.js.map +1 -1
  181. package/tools/v1/contracts/products/update-contracts-v1-products.mjs +1 -1
  182. package/tools/v1/contracts/products/update-contracts-v1-products.mjs.map +1 -1
  183. package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.js +1 -1
  184. package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.js.map +1 -1
  185. package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.mjs +1 -1
  186. package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.mjs.map +1 -1
  187. package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.js +1 -1
  188. package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.js.map +1 -1
  189. package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.mjs +1 -1
  190. package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.mjs.map +1 -1
  191. package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.js +1 -1
  192. package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.js.map +1 -1
  193. package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.mjs +1 -1
  194. package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.mjs.map +1 -1
  195. package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.js +1 -1
  196. package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.js.map +1 -1
  197. package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.mjs +1 -1
  198. package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.mjs.map +1 -1
  199. package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.js +1 -1
  200. package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.js.map +1 -1
  201. package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.mjs +1 -1
  202. package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.mjs.map +1 -1
  203. package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.js +1 -1
  204. package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.js.map +1 -1
  205. package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.mjs +1 -1
  206. package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.mjs.map +1 -1
  207. package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.js +1 -1
  208. package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.js.map +1 -1
  209. package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.mjs +1 -1
  210. package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.mjs.map +1 -1
  211. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.js +1 -1
  212. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.js.map +1 -1
  213. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.mjs +1 -1
  214. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.mjs.map +1 -1
  215. package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.js +1 -1
  216. package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.js.map +1 -1
  217. package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.mjs +1 -1
  218. package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.mjs.map +1 -1
  219. package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.js +1 -1
  220. package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.js.map +1 -1
  221. package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.mjs +1 -1
  222. package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.mjs.map +1 -1
  223. package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.js +1 -1
  224. package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.js.map +1 -1
  225. package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.mjs +1 -1
  226. package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.mjs.map +1 -1
  227. package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.js +1 -1
  228. package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.js.map +1 -1
  229. package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.mjs +1 -1
  230. package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.mjs.map +1 -1
  231. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.js +1 -1
  232. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.js.map +1 -1
  233. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.mjs +1 -1
  234. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.mjs.map +1 -1
  235. package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.js +1 -1
  236. package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.js.map +1 -1
  237. package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.mjs +1 -1
  238. package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.mjs.map +1 -1
  239. package/tools/v1/contracts/update-end-date-v1-contracts.js +1 -1
  240. package/tools/v1/contracts/update-end-date-v1-contracts.js.map +1 -1
  241. package/tools/v1/contracts/update-end-date-v1-contracts.mjs +1 -1
  242. package/tools/v1/contracts/update-end-date-v1-contracts.mjs.map +1 -1
  243. package/tools/v1/credit-grants/create-v1-credit-grants.js +1 -1
  244. package/tools/v1/credit-grants/create-v1-credit-grants.js.map +1 -1
  245. package/tools/v1/credit-grants/create-v1-credit-grants.mjs +1 -1
  246. package/tools/v1/credit-grants/create-v1-credit-grants.mjs.map +1 -1
  247. package/tools/v1/credit-grants/edit-v1-credit-grants.js +1 -1
  248. package/tools/v1/credit-grants/edit-v1-credit-grants.js.map +1 -1
  249. package/tools/v1/credit-grants/edit-v1-credit-grants.mjs +1 -1
  250. package/tools/v1/credit-grants/edit-v1-credit-grants.mjs.map +1 -1
  251. package/tools/v1/credit-grants/list-entries-v1-credit-grants.js +1 -1
  252. package/tools/v1/credit-grants/list-entries-v1-credit-grants.js.map +1 -1
  253. package/tools/v1/credit-grants/list-entries-v1-credit-grants.mjs +1 -1
  254. package/tools/v1/credit-grants/list-entries-v1-credit-grants.mjs.map +1 -1
  255. package/tools/v1/credit-grants/list-v1-credit-grants.js +1 -1
  256. package/tools/v1/credit-grants/list-v1-credit-grants.js.map +1 -1
  257. package/tools/v1/credit-grants/list-v1-credit-grants.mjs +1 -1
  258. package/tools/v1/credit-grants/list-v1-credit-grants.mjs.map +1 -1
  259. package/tools/v1/credit-grants/void-v1-credit-grants.js +1 -1
  260. package/tools/v1/credit-grants/void-v1-credit-grants.js.map +1 -1
  261. package/tools/v1/credit-grants/void-v1-credit-grants.mjs +1 -1
  262. package/tools/v1/credit-grants/void-v1-credit-grants.mjs.map +1 -1
  263. package/tools/v1/custom-fields/list-keys-v1-custom-fields.js +1 -1
  264. package/tools/v1/custom-fields/list-keys-v1-custom-fields.js.map +1 -1
  265. package/tools/v1/custom-fields/list-keys-v1-custom-fields.mjs +1 -1
  266. package/tools/v1/custom-fields/list-keys-v1-custom-fields.mjs.map +1 -1
  267. package/tools/v1/customers/alerts/list-customers-v1-alerts.d.mts.map +1 -1
  268. package/tools/v1/customers/alerts/list-customers-v1-alerts.d.ts.map +1 -1
  269. package/tools/v1/customers/alerts/list-customers-v1-alerts.js +2 -2
  270. package/tools/v1/customers/alerts/list-customers-v1-alerts.js.map +1 -1
  271. package/tools/v1/customers/alerts/list-customers-v1-alerts.mjs +2 -2
  272. package/tools/v1/customers/alerts/list-customers-v1-alerts.mjs.map +1 -1
  273. package/tools/v1/customers/alerts/reset-customers-v1-alerts.js +2 -2
  274. package/tools/v1/customers/alerts/reset-customers-v1-alerts.js.map +1 -1
  275. package/tools/v1/customers/alerts/reset-customers-v1-alerts.mjs +2 -2
  276. package/tools/v1/customers/alerts/reset-customers-v1-alerts.mjs.map +1 -1
  277. package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.d.mts.map +1 -1
  278. package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.d.ts.map +1 -1
  279. package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.js +7 -13
  280. package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.js.map +1 -1
  281. package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.mjs +7 -13
  282. package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.mjs.map +1 -1
  283. package/tools/v1/customers/archive-v1-customers.js +1 -1
  284. package/tools/v1/customers/archive-v1-customers.js.map +1 -1
  285. package/tools/v1/customers/archive-v1-customers.mjs +1 -1
  286. package/tools/v1/customers/archive-v1-customers.mjs.map +1 -1
  287. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.js +1 -1
  288. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.js.map +1 -1
  289. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.mjs +1 -1
  290. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.mjs.map +1 -1
  291. package/tools/v1/customers/commits/update-end-date-customers-v1-commits.js +1 -1
  292. package/tools/v1/customers/commits/update-end-date-customers-v1-commits.js.map +1 -1
  293. package/tools/v1/customers/commits/update-end-date-customers-v1-commits.mjs +1 -1
  294. package/tools/v1/customers/commits/update-end-date-customers-v1-commits.mjs.map +1 -1
  295. package/tools/v1/customers/create-v1-customers.js +1 -1
  296. package/tools/v1/customers/create-v1-customers.js.map +1 -1
  297. package/tools/v1/customers/create-v1-customers.mjs +1 -1
  298. package/tools/v1/customers/create-v1-customers.mjs.map +1 -1
  299. package/tools/v1/customers/credits/create-customers-v1-credits.js +1 -1
  300. package/tools/v1/customers/credits/create-customers-v1-credits.js.map +1 -1
  301. package/tools/v1/customers/credits/create-customers-v1-credits.mjs +1 -1
  302. package/tools/v1/customers/credits/create-customers-v1-credits.mjs.map +1 -1
  303. package/tools/v1/customers/credits/update-end-date-customers-v1-credits.js +1 -1
  304. package/tools/v1/customers/credits/update-end-date-customers-v1-credits.js.map +1 -1
  305. package/tools/v1/customers/credits/update-end-date-customers-v1-credits.mjs +1 -1
  306. package/tools/v1/customers/credits/update-end-date-customers-v1-credits.mjs.map +1 -1
  307. package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.js +1 -1
  308. package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.js.map +1 -1
  309. package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.mjs +1 -1
  310. package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.mjs.map +1 -1
  311. package/tools/v1/customers/invoices/retrieve-pdf-customers-v1-invoices.d.mts +45 -0
  312. package/tools/v1/customers/invoices/retrieve-pdf-customers-v1-invoices.d.mts.map +1 -0
  313. package/tools/v1/customers/invoices/retrieve-pdf-customers-v1-invoices.d.ts +45 -0
  314. package/tools/v1/customers/invoices/retrieve-pdf-customers-v1-invoices.d.ts.map +1 -0
  315. package/tools/v1/customers/invoices/retrieve-pdf-customers-v1-invoices.js +39 -0
  316. package/tools/v1/customers/invoices/retrieve-pdf-customers-v1-invoices.js.map +1 -0
  317. package/tools/v1/customers/invoices/retrieve-pdf-customers-v1-invoices.mjs +35 -0
  318. package/tools/v1/customers/invoices/retrieve-pdf-customers-v1-invoices.mjs.map +1 -0
  319. package/tools/v1/customers/list-billable-metrics-v1-customers.js +1 -1
  320. package/tools/v1/customers/list-billable-metrics-v1-customers.js.map +1 -1
  321. package/tools/v1/customers/list-billable-metrics-v1-customers.mjs +1 -1
  322. package/tools/v1/customers/list-billable-metrics-v1-customers.mjs.map +1 -1
  323. package/tools/v1/customers/list-costs-v1-customers.js +1 -1
  324. package/tools/v1/customers/list-costs-v1-customers.js.map +1 -1
  325. package/tools/v1/customers/list-costs-v1-customers.mjs +1 -1
  326. package/tools/v1/customers/list-costs-v1-customers.mjs.map +1 -1
  327. package/tools/v1/customers/list-v1-customers.js +1 -1
  328. package/tools/v1/customers/list-v1-customers.js.map +1 -1
  329. package/tools/v1/customers/list-v1-customers.mjs +1 -1
  330. package/tools/v1/customers/list-v1-customers.mjs.map +1 -1
  331. package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.js +1 -1
  332. package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.js.map +1 -1
  333. package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.mjs +1 -1
  334. package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.mjs.map +1 -1
  335. package/tools/v1/customers/plans/add-customers-v1-plans.js +1 -1
  336. package/tools/v1/customers/plans/add-customers-v1-plans.js.map +1 -1
  337. package/tools/v1/customers/plans/add-customers-v1-plans.mjs +1 -1
  338. package/tools/v1/customers/plans/add-customers-v1-plans.mjs.map +1 -1
  339. package/tools/v1/customers/plans/end-customers-v1-plans.js +1 -1
  340. package/tools/v1/customers/plans/end-customers-v1-plans.js.map +1 -1
  341. package/tools/v1/customers/plans/end-customers-v1-plans.mjs +1 -1
  342. package/tools/v1/customers/plans/end-customers-v1-plans.mjs.map +1 -1
  343. package/tools/v1/customers/plans/list-customers-v1-plans.js +1 -1
  344. package/tools/v1/customers/plans/list-customers-v1-plans.js.map +1 -1
  345. package/tools/v1/customers/plans/list-customers-v1-plans.mjs +1 -1
  346. package/tools/v1/customers/plans/list-customers-v1-plans.mjs.map +1 -1
  347. package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.js +1 -1
  348. package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.js.map +1 -1
  349. package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.mjs +1 -1
  350. package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.mjs.map +1 -1
  351. package/tools/v1/customers/preview-events-v1-customers.d.mts.map +1 -1
  352. package/tools/v1/customers/preview-events-v1-customers.d.ts.map +1 -1
  353. package/tools/v1/customers/preview-events-v1-customers.js +2 -6
  354. package/tools/v1/customers/preview-events-v1-customers.js.map +1 -1
  355. package/tools/v1/customers/preview-events-v1-customers.mjs +2 -6
  356. package/tools/v1/customers/preview-events-v1-customers.mjs.map +1 -1
  357. package/tools/v1/customers/retrieve-billing-configurations-v1-customers.js +1 -1
  358. package/tools/v1/customers/retrieve-billing-configurations-v1-customers.js.map +1 -1
  359. package/tools/v1/customers/retrieve-billing-configurations-v1-customers.mjs +1 -1
  360. package/tools/v1/customers/retrieve-billing-configurations-v1-customers.mjs.map +1 -1
  361. package/tools/v1/customers/retrieve-v1-customers.js +1 -1
  362. package/tools/v1/customers/retrieve-v1-customers.js.map +1 -1
  363. package/tools/v1/customers/retrieve-v1-customers.mjs +1 -1
  364. package/tools/v1/customers/retrieve-v1-customers.mjs.map +1 -1
  365. package/tools/v1/customers/set-billing-configurations-v1-customers.js +1 -1
  366. package/tools/v1/customers/set-billing-configurations-v1-customers.js.map +1 -1
  367. package/tools/v1/customers/set-billing-configurations-v1-customers.mjs +1 -1
  368. package/tools/v1/customers/set-billing-configurations-v1-customers.mjs.map +1 -1
  369. package/tools/v1/customers/set-name-v1-customers.js +1 -1
  370. package/tools/v1/customers/set-name-v1-customers.js.map +1 -1
  371. package/tools/v1/customers/set-name-v1-customers.mjs +1 -1
  372. package/tools/v1/customers/set-name-v1-customers.mjs.map +1 -1
  373. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.js +1 -1
  374. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.js.map +1 -1
  375. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.mjs +1 -1
  376. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.mjs.map +1 -1
  377. package/tools/v1/invoices/regenerate-v1-invoices.js +1 -1
  378. package/tools/v1/invoices/regenerate-v1-invoices.js.map +1 -1
  379. package/tools/v1/invoices/regenerate-v1-invoices.mjs +1 -1
  380. package/tools/v1/invoices/regenerate-v1-invoices.mjs.map +1 -1
  381. package/tools/v1/invoices/void-v1-invoices.js +1 -1
  382. package/tools/v1/invoices/void-v1-invoices.js.map +1 -1
  383. package/tools/v1/invoices/void-v1-invoices.mjs +1 -1
  384. package/tools/v1/invoices/void-v1-invoices.mjs.map +1 -1
  385. package/tools/v1/payments/attempt-v1-payments.d.mts +45 -0
  386. package/tools/v1/payments/attempt-v1-payments.d.mts.map +1 -0
  387. package/tools/v1/payments/attempt-v1-payments.d.ts +45 -0
  388. package/tools/v1/payments/attempt-v1-payments.d.ts.map +1 -0
  389. package/tools/v1/payments/attempt-v1-payments.js +43 -0
  390. package/tools/v1/payments/attempt-v1-payments.js.map +1 -0
  391. package/tools/v1/payments/attempt-v1-payments.mjs +39 -0
  392. package/tools/v1/payments/attempt-v1-payments.mjs.map +1 -0
  393. package/tools/v1/payments/cancel-v1-payments.d.mts +45 -0
  394. package/tools/v1/payments/cancel-v1-payments.d.mts.map +1 -0
  395. package/tools/v1/payments/cancel-v1-payments.d.ts +45 -0
  396. package/tools/v1/payments/cancel-v1-payments.d.ts.map +1 -0
  397. package/tools/v1/payments/cancel-v1-payments.js +43 -0
  398. package/tools/v1/payments/cancel-v1-payments.js.map +1 -0
  399. package/tools/v1/payments/cancel-v1-payments.mjs +39 -0
  400. package/tools/v1/payments/cancel-v1-payments.mjs.map +1 -0
  401. package/tools/v1/payments/list-v1-payments.d.mts +45 -0
  402. package/tools/v1/payments/list-v1-payments.d.mts.map +1 -0
  403. package/tools/v1/payments/list-v1-payments.d.ts +45 -0
  404. package/tools/v1/payments/list-v1-payments.d.ts.map +1 -0
  405. package/tools/v1/payments/list-v1-payments.js +64 -0
  406. package/tools/v1/payments/list-v1-payments.js.map +1 -0
  407. package/tools/v1/payments/list-v1-payments.mjs +60 -0
  408. package/tools/v1/payments/list-v1-payments.mjs.map +1 -0
  409. package/tools/v1/plans/get-details-v1-plans.js +1 -1
  410. package/tools/v1/plans/get-details-v1-plans.js.map +1 -1
  411. package/tools/v1/plans/get-details-v1-plans.mjs +1 -1
  412. package/tools/v1/plans/get-details-v1-plans.mjs.map +1 -1
  413. package/tools/v1/plans/list-charges-v1-plans.js +1 -1
  414. package/tools/v1/plans/list-charges-v1-plans.js.map +1 -1
  415. package/tools/v1/plans/list-charges-v1-plans.mjs +1 -1
  416. package/tools/v1/plans/list-charges-v1-plans.mjs.map +1 -1
  417. package/tools/v1/plans/list-customers-v1-plans.js +1 -1
  418. package/tools/v1/plans/list-customers-v1-plans.js.map +1 -1
  419. package/tools/v1/plans/list-customers-v1-plans.mjs +1 -1
  420. package/tools/v1/plans/list-customers-v1-plans.mjs.map +1 -1
  421. package/tools/v1/plans/list-v1-plans.js +1 -1
  422. package/tools/v1/plans/list-v1-plans.js.map +1 -1
  423. package/tools/v1/plans/list-v1-plans.mjs +1 -1
  424. package/tools/v1/plans/list-v1-plans.mjs.map +1 -1
  425. package/tools/v1/pricing-units/list-v1-pricing-units.js +1 -1
  426. package/tools/v1/pricing-units/list-v1-pricing-units.js.map +1 -1
  427. package/tools/v1/pricing-units/list-v1-pricing-units.mjs +1 -1
  428. package/tools/v1/pricing-units/list-v1-pricing-units.mjs.map +1 -1
  429. package/tools/v1/services/list-v1-services.js +1 -1
  430. package/tools/v1/services/list-v1-services.js.map +1 -1
  431. package/tools/v1/services/list-v1-services.mjs +1 -1
  432. package/tools/v1/services/list-v1-services.mjs.map +1 -1
  433. package/tools/v1/usage/ingest-v1-usage.js +1 -1
  434. package/tools/v1/usage/ingest-v1-usage.js.map +1 -1
  435. package/tools/v1/usage/ingest-v1-usage.mjs +1 -1
  436. package/tools/v1/usage/ingest-v1-usage.mjs.map +1 -1
  437. package/tools/v1/usage/list-v1-usage.js +1 -1
  438. package/tools/v1/usage/list-v1-usage.js.map +1 -1
  439. package/tools/v1/usage/list-v1-usage.mjs +1 -1
  440. package/tools/v1/usage/list-v1-usage.mjs.map +1 -1
  441. package/tools/v1/usage/list-with-groups-v1-usage.js +1 -1
  442. package/tools/v1/usage/list-with-groups-v1-usage.js.map +1 -1
  443. package/tools/v1/usage/list-with-groups-v1-usage.mjs +1 -1
  444. package/tools/v1/usage/list-with-groups-v1-usage.mjs.map +1 -1
  445. package/tools/v1/usage/search-v1-usage.js +1 -1
  446. package/tools/v1/usage/search-v1-usage.js.map +1 -1
  447. package/tools/v1/usage/search-v1-usage.mjs +1 -1
  448. package/tools/v1/usage/search-v1-usage.mjs.map +1 -1
  449. package/tools/v2/contracts/edit-commit-v2-contracts.d.mts.map +1 -1
  450. package/tools/v2/contracts/edit-commit-v2-contracts.d.ts.map +1 -1
  451. package/tools/v2/contracts/edit-commit-v2-contracts.js +50 -1
  452. package/tools/v2/contracts/edit-commit-v2-contracts.js.map +1 -1
  453. package/tools/v2/contracts/edit-commit-v2-contracts.mjs +50 -1
  454. package/tools/v2/contracts/edit-commit-v2-contracts.mjs.map +1 -1
  455. package/tools/v2/contracts/edit-credit-v2-contracts.d.mts.map +1 -1
  456. package/tools/v2/contracts/edit-credit-v2-contracts.d.ts.map +1 -1
  457. package/tools/v2/contracts/edit-credit-v2-contracts.js +50 -1
  458. package/tools/v2/contracts/edit-credit-v2-contracts.js.map +1 -1
  459. package/tools/v2/contracts/edit-credit-v2-contracts.mjs +50 -1
  460. package/tools/v2/contracts/edit-credit-v2-contracts.mjs.map +1 -1
  461. package/tools/v2/contracts/edit-v2-contracts.d.mts.map +1 -1
  462. package/tools/v2/contracts/edit-v2-contracts.d.ts.map +1 -1
  463. package/tools/v2/contracts/edit-v2-contracts.js +56 -2
  464. package/tools/v2/contracts/edit-v2-contracts.js.map +1 -1
  465. package/tools/v2/contracts/edit-v2-contracts.mjs +56 -2
  466. package/tools/v2/contracts/edit-v2-contracts.mjs.map +1 -1
@@ -14,7 +14,7 @@ exports.metadata = {
14
14
  };
15
15
  exports.tool = {
16
16
  name: 'update_contracts_v1_products',
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 a product's configuration while maintaining billing continuity for active customers. Use this endpoint to modify product names, metrics, pricing rules, and composite settings without disrupting ongoing billing cycles. Changes are scheduled using the starting_at timestamp, which must be on an hour boundary—set future dates to schedule updates ahead of time, or past dates for retroactive changes. Returns the updated product ID upon success. \n\n### Usage guidance: \n- Product type cannot be changed after creation. For incorrect product types, create a new product and archive the original instead.\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n $ref: '#/$defs/id'\n }\n },\n required: [ 'data'\n ],\n $defs: {\n id: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n }\n },\n required: [ 'id'\n ]\n }\n }\n}\n```",
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 a product's configuration while maintaining billing continuity for active customers. Use this endpoint to modify product names, metrics, pricing rules, and composite settings without disrupting ongoing billing cycles. Changes are scheduled using the starting_at timestamp, which must be on an hour boundary—set future dates to schedule updates ahead of time, or past dates for retroactive changes. Returns the updated product ID upon success. \n\n### Usage guidance: \n- Product type cannot be changed after creation. For incorrect product types, create a new product and archive the original instead.\n\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/product_update_response',\n $defs: {\n product_update_response: {\n type: 'object',\n properties: {\n data: {\n $ref: '#/$defs/id'\n }\n },\n required: [ 'data'\n ]\n },\n id: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n }\n },\n required: [ 'id'\n ]\n }\n }\n}\n```",
18
18
  inputSchema: {
19
19
  type: 'object',
20
20
  properties: {
@@ -1 +1 @@
1
- {"version":3,"file":"update-contracts-v1-products.js","sourceRoot":"","sources":["../../../../src/tools/v1/contracts/products/update-contracts-v1-products.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAuD;AACvD,sDAA2E;AAK9D,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,uBAAuB;IACjC,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,sCAAsC;IAChD,WAAW,EAAE,kBAAkB;CAChC,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,8BAA8B;IACpC,WAAW,EACT,kmCAAkmC;IACpmC,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,UAAU,EAAE;gBACV,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,6BAA6B;aAC3C;YACD,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,qHAAqH;gBACvH,MAAM,EAAE,WAAW;aACpB;YACD,kBAAkB,EAAE;gBAClB,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,oGAAoG;aACvG;YACD,qBAAqB,EAAE;gBACrB,IAAI,EAAE,OAAO;gBACb,WAAW,EACT,8GAA8G;gBAChH,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,cAAc,EAAE;gBACd,IAAI,EAAE,OAAO;gBACb,WAAW,EACT,uGAAuG;gBACzG,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACf;aACF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AAI,EAAE,QAAQ;wBACd,WAAW,EAAE,0CAA0C;wBACvD,IAAI,EAAE,CAAC,UAAU,EAAE,QAAQ,CAAC;qBAC7B;oBACD,IAAI,EAAE;wBACJ,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,oCAAoC;qBAClD;iBACF;gBACD,QAAQ,EAAE,CAAC,mBAAmB,EAAE,WAAW,CAAC;aAC7C;YACD,iBAAiB,EAAE;gBACjB,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,8QAA8Q;gBAChR,UAAU,EAAE;oBACV,cAAc,EAAE;wBACd,IAAI,EAAE,QAAQ;qBACf;oBACD,eAAe,EAAE;wBACf,IAAI,EAAE,QAAQ;wBACd,IAAI,EAAE,CAAC,UAAU,EAAE,YAAY,EAAE,eAAe,CAAC;qBAClD;iBACF;gBACD,QAAQ,EAAE,CAAC,gBAAgB,EAAE,iBAAiB,CAAC;aAChD;SACF;KACF;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,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAC5G,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":"update-contracts-v1-products.js","sourceRoot":"","sources":["../../../../src/tools/v1/contracts/products/update-contracts-v1-products.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAuD;AACvD,sDAA2E;AAK9D,QAAA,QAAQ,G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Q;wBACd,IAAI,EAAE,CAAC,UAAU,EAAE,YAAY,EAAE,eAAe,CAAC;qBAClD;iBACF;gBACD,QAAQ,EAAE,CAAC,gBAAgB,EAAE,iBAAiB,CAAC;aAChD;SACF;KACF;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,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAC5G,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: 'update_contracts_v1_products',
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 a product's configuration while maintaining billing continuity for active customers. Use this endpoint to modify product names, metrics, pricing rules, and composite settings without disrupting ongoing billing cycles. Changes are scheduled using the starting_at timestamp, which must be on an hour boundary—set future dates to schedule updates ahead of time, or past dates for retroactive changes. Returns the updated product ID upon success. \n\n### Usage guidance: \n- Product type cannot be changed after creation. For incorrect product types, create a new product and archive the original instead.\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n $ref: '#/$defs/id'\n }\n },\n required: [ 'data'\n ],\n $defs: {\n id: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n }\n },\n required: [ 'id'\n ]\n }\n }\n}\n```",
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 a product's configuration while maintaining billing continuity for active customers. Use this endpoint to modify product names, metrics, pricing rules, and composite settings without disrupting ongoing billing cycles. Changes are scheduled using the starting_at timestamp, which must be on an hour boundary—set future dates to schedule updates ahead of time, or past dates for retroactive changes. Returns the updated product ID upon success. \n\n### Usage guidance: \n- Product type cannot be changed after creation. For incorrect product types, create a new product and archive the original instead.\n\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/product_update_response',\n $defs: {\n product_update_response: {\n type: 'object',\n properties: {\n data: {\n $ref: '#/$defs/id'\n }\n },\n required: [ 'data'\n ]\n },\n id: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n }\n },\n required: [ 'id'\n ]\n }\n }\n}\n```",
15
15
  inputSchema: {
16
16
  type: 'object',
17
17
  properties: {
@@ -1 +1 @@
1
- {"version":3,"file":"update-contracts-v1-products.mjs","sourceRoot":"","sources":["../../../../src/tools/v1/contracts/products/update-contracts-v1-products.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,uBAAuB;IACjC,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,sCAAsC;IAChD,WAAW,EAAE,kBAAkB;CAChC,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,8BAA8B;IACpC,WAAW,EACT,kmCAAkmC;IACpmC,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,UAAU,EAAE;gBACV,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,6BAA6B;aAC3C;YACD,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,qHAAqH;gBACvH,M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,CAAC,CAAC,CAAC,CAAC;AAC5G,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"update-contracts-v1-products.mjs","sourceRoot":"","sources":["../../../../src/tools/v1/contracts/products/update-contracts-v1-products.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,uBAAuB;IACjC,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,sCAAsC;IAChD,WAAW,EAAE,kBAAkB;CAChC,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,8BAA8B;IACpC,WAAW,EACT,ytCAAytC;IAC3tC,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,UAAU,EAAE;gBACV,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,6BAA6B;aAC3C;YACD,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,qHAAqH;gBACvH,MAAM,EAAE,WAAW;aACpB;YACD,kBAAkB,EAAE;gBAClB,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,oGAAoG;aACvG;YACD,qBAAqB,EAAE;gBACrB,IAAI,EAAE,OAAO;gBACb,WAAW,EACT,8GAA8G;gBAChH,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,cAAc,EAAE;gBACd,IAAI,EAAE,OAAO;gBACb,WAAW,EACT,uGAAuG;gBACzG,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,kBAAkB,EAAE;gBAClB,IAAI,EAAE,SAAS;gBACf,WAAW,EACT,sJAAsJ;a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U,EAAE,QAAQ,CAAC;qBAC7B;oBACD,IAAI,EAAE;wBACJ,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,oCAAoC;qBAClD;iBACF;gBACD,QAAQ,EAAE,CAAC,mBAAmB,EAAE,WAAW,CAAC;aAC7C;YACD,iBAAiB,EAAE;gBACjB,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,8QAA8Q;gBAChR,UAAU,EAAE;oBACV,cAAc,EAAE;wBACd,IAAI,EAAE,QAAQ;qBACf;oBACD,eAAe,EAAE;wBACf,IAAI,EAAE,QAAQ;wBACd,IAAI,EAAE,CAAC,UAAU,EAAE,YAAY,EAAE,eAAe,CAAC;qBAClD;iBACF;gBACD,QAAQ,EAAE,CAAC,gBAAgB,EAAE,iBAAiB,CAAC;aAChD;SACF;KACF;IACD,WAAW,EAAE,EAAE;CAChB,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,MAAiB,EAAE,IAAyC,EAAE,EAAE;IAC5F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IAC3C,OAAO,mBAAmB,CAAC,MAAM,WAAW,CAAC,SAAS,EAAE,MAAM,MAAM,CAAC,EAAE,CAAC,SAAS,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAC5G,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: 'archive_contracts_v1_rate_cards',
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\nPermanently disable a rate card by archiving it, preventing use in new contracts while preserving existing contract pricing. Use this when retiring old pricing models, consolidating rate cards, or removing outdated pricing structures. Returns the archived rate card ID and stops the rate card from appearing in contract creation workflows.\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n $ref: '#/$defs/id'\n }\n },\n required: [ 'data'\n ],\n $defs: {\n id: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n }\n },\n required: [ 'id'\n ]\n }\n }\n}\n```",
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\nPermanently disable a rate card by archiving it, preventing use in new contracts while preserving existing contract pricing. Use this when retiring old pricing models, consolidating rate cards, or removing outdated pricing structures. Returns the archived rate card ID and stops the rate card from appearing in contract creation workflows.\n\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/rate_card_archive_response',\n $defs: {\n rate_card_archive_response: {\n type: 'object',\n properties: {\n data: {\n $ref: '#/$defs/id'\n }\n },\n required: [ 'data'\n ]\n },\n id: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n }\n },\n required: [ 'id'\n ]\n }\n }\n}\n```",
18
18
  inputSchema: {
19
19
  type: 'object',
20
20
  properties: {
@@ -1 +1 @@
1
- {"version":3,"file":"archive-contracts-v1-rate-cards.js","sourceRoot":"","sources":["../../../../src/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAuD;AACvD,sDAA2E;AAK9D,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,wBAAwB;IAClC,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,yCAAyC;IACnD,WAAW,EAAE,oBAAoB;CAClC,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,iCAAiC;IACvC,WAAW,EACT,o1BAAo1B;IACt1B,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,EAAE,EAAE;gBACF,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,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,SAAS,CAAC,SAAS,CAAC,OAAO,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"}
1
+ {"version":3,"file":"archive-contracts-v1-rate-cards.js","sourceRoot":"","sources":["../../../../src/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAuD;AACvD,sDAA2E;AAK9D,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,wBAAwB;IAClC,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,yCAAyC;IACnD,WAAW,EAAE,oBAAoB;CAClC,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,iCAAiC;IACvC,WAAW,EACT,i9BAAi9B;IACn9B,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,EAAE,EAAE;gBACF,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,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,SAAS,CAAC,SAAS,CAAC,OAAO,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"}
@@ -11,7 +11,7 @@ export const metadata = {
11
11
  };
12
12
  export const tool = {
13
13
  name: 'archive_contracts_v1_rate_cards',
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\nPermanently disable a rate card by archiving it, preventing use in new contracts while preserving existing contract pricing. Use this when retiring old pricing models, consolidating rate cards, or removing outdated pricing structures. Returns the archived rate card ID and stops the rate card from appearing in contract creation workflows.\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n $ref: '#/$defs/id'\n }\n },\n required: [ 'data'\n ],\n $defs: {\n id: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n }\n },\n required: [ 'id'\n ]\n }\n }\n}\n```",
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\nPermanently disable a rate card by archiving it, preventing use in new contracts while preserving existing contract pricing. Use this when retiring old pricing models, consolidating rate cards, or removing outdated pricing structures. Returns the archived rate card ID and stops the rate card from appearing in contract creation workflows.\n\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/rate_card_archive_response',\n $defs: {\n rate_card_archive_response: {\n type: 'object',\n properties: {\n data: {\n $ref: '#/$defs/id'\n }\n },\n required: [ 'data'\n ]\n },\n id: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n }\n },\n required: [ 'id'\n ]\n }\n }\n}\n```",
15
15
  inputSchema: {
16
16
  type: 'object',
17
17
  properties: {
@@ -1 +1 @@
1
- {"version":3,"file":"archive-contracts-v1-rate-cards.mjs","sourceRoot":"","sources":["../../../../src/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.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,wBAAwB;IAClC,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,yCAAyC;IACnD,WAAW,EAAE,oBAAoB;CAClC,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,iCAAiC;IACvC,WAAW,EACT,o1BAAo1B;IACt1B,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,EAAE,EAAE;gBACF,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,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,SAAS,CAAC,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAC9G,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"archive-contracts-v1-rate-cards.mjs","sourceRoot":"","sources":["../../../../src/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.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,wBAAwB;IAClC,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,yCAAyC;IACnD,WAAW,EAAE,oBAAoB;CAClC,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,iCAAiC;IACvC,WAAW,EACT,i9BAAi9B;IACn9B,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,EAAE,EAAE;gBACF,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,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,SAAS,CAAC,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAC9G,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: 'create_contracts_v1_rate_cards',
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\nIn Metronome, the rate card is the central location for your pricing. Rate cards were built with new product launches and pricing changes in mind - you can update your products and pricing in one place, and that change will be automatically propagated across your customer cohorts. Most clients need only maintain one or a few rate cards within Metronome.\n\n### Use this endpoint to:\n- Create a rate card with a name and description\n- Define the rate card's single underlying fiat currency, and any number of conversion rates between that fiat currency and custom pricing units. You can then add products and associated rates in the fiat currency or custom pricing unit for which you have defined a conversion rate. \n- Set aliases for the rate card. Aliases are human-readable names that you can use in the place of the id of the rate card when provisioning a customer's contract. By using an alias, you can easily create a contract and provision a customer by choosing the paygo rate card, without storing the rate card id in your internal systems. This is helpful when launching a new rate card for paygo customers, you can update the alias for paygo to be scheduled to be assigned to the new rate card without updating your code.\n\n### Key response fields:\n- The ID of the rate card you just created\n\n### Usage guidelines:\n- After creating a rate card, you can now use the addRate or addRates endpoints to add products and their prices to it\n- A rate card alias can only be used by one rate card at a time. If you create a contract with a rate card alias that is already in use by another rate card, the original rate card's alias schedule will be updated. The alias will reference the rate card to which it was most recently assigned.\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n $ref: '#/$defs/id'\n }\n },\n required: [ 'data'\n ],\n $defs: {\n id: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n }\n },\n required: [ 'id'\n ]\n }\n }\n}\n```",
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\nIn Metronome, the rate card is the central location for your pricing. Rate cards were built with new product launches and pricing changes in mind - you can update your products and pricing in one place, and that change will be automatically propagated across your customer cohorts. Most clients need only maintain one or a few rate cards within Metronome.\n\n### Use this endpoint to:\n- Create a rate card with a name and description\n- Define the rate card's single underlying fiat currency, and any number of conversion rates between that fiat currency and custom pricing units. You can then add products and associated rates in the fiat currency or custom pricing unit for which you have defined a conversion rate. \n- Set aliases for the rate card. Aliases are human-readable names that you can use in the place of the id of the rate card when provisioning a customer's contract. By using an alias, you can easily create a contract and provision a customer by choosing the paygo rate card, without storing the rate card id in your internal systems. This is helpful when launching a new rate card for paygo customers, you can update the alias for paygo to be scheduled to be assigned to the new rate card without updating your code.\n\n### Key response fields:\n- The ID of the rate card you just created\n\n### Usage guidelines:\n- After creating a rate card, you can now use the addRate or addRates endpoints to add products and their prices to it\n- A rate card alias can only be used by one rate card at a time. If you create a contract with a rate card alias that is already in use by another rate card, the original rate card's alias schedule will be updated. The alias will reference the rate card to which it was most recently assigned.\n\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/rate_card_create_response',\n $defs: {\n rate_card_create_response: {\n type: 'object',\n properties: {\n data: {\n $ref: '#/$defs/id'\n }\n },\n required: [ 'data'\n ]\n },\n id: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n }\n },\n required: [ 'id'\n ]\n }\n }\n}\n```",
18
18
  inputSchema: {
19
19
  type: 'object',
20
20
  properties: {
@@ -1 +1 @@
1
- {"version":3,"file":"create-contracts-v1-rate-cards.js","sourceRoot":"","sources":["../../../../src/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAuD;AACvD,sDAA2E;AAK9D,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,wBAAwB;IAClC,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,wCAAwC;IAClD,WAAW,EAAE,mBAAmB;CACjC,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,gCAAgC;IACtC,WAAW,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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,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAC7G,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":"create-contracts-v1-rate-cards.js","sourceRoot":"","sources":["../../../../src/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAuD;AACvD,sDAA2E;AAK9D,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,wBAAwB;IAClC,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,wCAAwC;IAClD,WAAW,EAAE,mBAAmB;CACjC,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,gCAAgC;IACtC,WAAW,EACT,g1EAAg1E;IACl1E,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,0DAA0D;aACxE;YACD,OAAO,EAAE;gBACP,IAAI,EAAE,OAAO;gBACb,WAAW,EACT,kNAAkN;gBACpN,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;oBACd,UAAU,EAAE;wBACV,IAAI,EAAE;4BACJ,IAAI,EAAE,QAAQ;yBACf;wBACD,aA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,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: 'create_contracts_v1_rate_cards',
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\nIn Metronome, the rate card is the central location for your pricing. Rate cards were built with new product launches and pricing changes in mind - you can update your products and pricing in one place, and that change will be automatically propagated across your customer cohorts. Most clients need only maintain one or a few rate cards within Metronome.\n\n### Use this endpoint to:\n- Create a rate card with a name and description\n- Define the rate card's single underlying fiat currency, and any number of conversion rates between that fiat currency and custom pricing units. You can then add products and associated rates in the fiat currency or custom pricing unit for which you have defined a conversion rate. \n- Set aliases for the rate card. Aliases are human-readable names that you can use in the place of the id of the rate card when provisioning a customer's contract. By using an alias, you can easily create a contract and provision a customer by choosing the paygo rate card, without storing the rate card id in your internal systems. This is helpful when launching a new rate card for paygo customers, you can update the alias for paygo to be scheduled to be assigned to the new rate card without updating your code.\n\n### Key response fields:\n- The ID of the rate card you just created\n\n### Usage guidelines:\n- After creating a rate card, you can now use the addRate or addRates endpoints to add products and their prices to it\n- A rate card alias can only be used by one rate card at a time. If you create a contract with a rate card alias that is already in use by another rate card, the original rate card's alias schedule will be updated. The alias will reference the rate card to which it was most recently assigned.\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n $ref: '#/$defs/id'\n }\n },\n required: [ 'data'\n ],\n $defs: {\n id: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n }\n },\n required: [ 'id'\n ]\n }\n }\n}\n```",
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\nIn Metronome, the rate card is the central location for your pricing. Rate cards were built with new product launches and pricing changes in mind - you can update your products and pricing in one place, and that change will be automatically propagated across your customer cohorts. Most clients need only maintain one or a few rate cards within Metronome.\n\n### Use this endpoint to:\n- Create a rate card with a name and description\n- Define the rate card's single underlying fiat currency, and any number of conversion rates between that fiat currency and custom pricing units. You can then add products and associated rates in the fiat currency or custom pricing unit for which you have defined a conversion rate. \n- Set aliases for the rate card. Aliases are human-readable names that you can use in the place of the id of the rate card when provisioning a customer's contract. By using an alias, you can easily create a contract and provision a customer by choosing the paygo rate card, without storing the rate card id in your internal systems. This is helpful when launching a new rate card for paygo customers, you can update the alias for paygo to be scheduled to be assigned to the new rate card without updating your code.\n\n### Key response fields:\n- The ID of the rate card you just created\n\n### Usage guidelines:\n- After creating a rate card, you can now use the addRate or addRates endpoints to add products and their prices to it\n- A rate card alias can only be used by one rate card at a time. If you create a contract with a rate card alias that is already in use by another rate card, the original rate card's alias schedule will be updated. The alias will reference the rate card to which it was most recently assigned.\n\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/rate_card_create_response',\n $defs: {\n rate_card_create_response: {\n type: 'object',\n properties: {\n data: {\n $ref: '#/$defs/id'\n }\n },\n required: [ 'data'\n ]\n },\n id: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n }\n },\n required: [ 'id'\n ]\n }\n }\n}\n```",
15
15
  inputSchema: {
16
16
  type: 'object',
17
17
  properties: {
@@ -1 +1 @@
1
- {"version":3,"file":"create-contracts-v1-rate-cards.mjs","sourceRoot":"","sources":["../../../../src/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.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,wBAAwB;IAClC,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,wCAAwC;IAClD,WAAW,EAAE,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AAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,MAAM,CAAC;KACnB;IACD,WAAW,EAAE,EAAE;CAChB,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,MAAiB,EAAE,IAAyC,EAAE,EAAE;IAC5F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IAC3C,OAAO,mBAAmB,CAAC,MAAM,WAAW,CAAC,SAAS,EAAE,MAAM,MAAM,CAAC,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAC7G,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"create-contracts-v1-rate-cards.mjs","sourceRoot":"","sources":["../../../../src/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.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,wBAAwB;IAClC,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,wCAAwC;IAClD,WAAW,EAAE,mBAAmB;CACjC,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,gCAAgC;IACtC,WAAW,EACT,g1EAAg1E;IACl1E,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,0DAA0D;aACxE;YACD,OAAO,EAAE;gBACP,IAAI,EAAE,OAAO;gBACb,WAAW,EACT,kNAAkN;gBACpN,KAAK,EAAE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MAAM,CAAC,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAC7G,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_contracts_v1_rate_cards',
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\nList all rate cards. Returns rate card IDs, names, descriptions, aliases, and other details. To view the rates associated with a given rate card, use the getRates or getRateSchedule endpoints.\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n created_at: {\n type: 'string',\n format: 'date-time'\n },\n created_by: {\n type: 'string'\n },\n name: {\n type: 'string'\n },\n aliases: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n name: {\n type: 'string'\n },\n ending_before: {\n type: 'string',\n format: 'date-time'\n },\n starting_at: {\n type: 'string',\n format: 'date-time'\n }\n },\n required: [ 'name'\n ]\n }\n },\n credit_type_conversions: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n custom_credit_type: {\n $ref: '#/$defs/credit_type_data'\n },\n fiat_per_custom_credit: {\n type: 'string'\n }\n },\n required: [ 'custom_credit_type',\n 'fiat_per_custom_credit'\n ]\n }\n },\n custom_fields: {\n type: 'object',\n description: 'Custom fields to be added eg. { \"key1\": \"value1\", \"key2\": \"value2\" }',\n additionalProperties: true\n },\n description: {\n type: 'string'\n },\n fiat_credit_type: {\n $ref: '#/$defs/credit_type_data'\n }\n },\n required: [ 'id',\n 'created_at',\n 'created_by',\n '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\nList all rate cards. Returns rate card IDs, names, descriptions, aliases, and other details. To view the rates associated with a given rate card, use the getRates or getRateSchedule endpoints.\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n type: 'array',\n items: {\n $ref: '#/$defs/rate_card_list_response'\n }\n },\n next_page: {\n type: 'string'\n }\n },\n required: [ 'data',\n 'next_page'\n ],\n $defs: {\n rate_card_list_response: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n created_at: {\n type: 'string',\n format: 'date-time'\n },\n created_by: {\n type: 'string'\n },\n name: {\n type: 'string'\n },\n aliases: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n name: {\n type: 'string'\n },\n ending_before: {\n type: 'string',\n format: 'date-time'\n },\n starting_at: {\n type: 'string',\n format: 'date-time'\n }\n },\n required: [ 'name'\n ]\n }\n },\n credit_type_conversions: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n custom_credit_type: {\n $ref: '#/$defs/credit_type_data'\n },\n fiat_per_custom_credit: {\n type: 'string'\n }\n },\n required: [ 'custom_credit_type',\n 'fiat_per_custom_credit'\n ]\n }\n },\n custom_fields: {\n type: 'object',\n description: 'Custom fields to be added eg. { \"key1\": \"value1\", \"key2\": \"value2\" }',\n additionalProperties: true\n },\n description: {\n type: 'string'\n },\n fiat_credit_type: {\n $ref: '#/$defs/credit_type_data'\n }\n },\n required: [ 'id',\n 'created_at',\n 'created_by',\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: {
@@ -1 +1 @@
1
- {"version":3,"file":"list-contracts-v1-rate-cards.js","source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ClF,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":"list-contracts-v1-rate-cards.js","sourceRoot":"","sources":["../../../../src/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAuD;AACvD,sDAA2E;AAK9D,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,wBAAwB;IAClC,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,sCAAsC;IAChD,WAAW,EAAE,kBAAkB;CAChC,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,8BAA8B;IACpC,WAAW,EACT,ysFAAysF;IAC3sF,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,KAAK,EAAE;gBACL,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,+CAA+C;aAC7D;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,oEAAoE;aAClF;YACD,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,IAAI;aAC3B;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,EAAE;KACb;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,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,CAAC;IAC7E,OAAO,IAAA,2BAAmB,EAAC,MAAM,IAAA,uBAAW,EAAC,SAAS,EAAE,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;AAClF,CAAC,CAAC;AAJW,QAAA,OAAO,WAIlB;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: 'list_contracts_v1_rate_cards',
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\nList all rate cards. Returns rate card IDs, names, descriptions, aliases, and other details. To view the rates associated with a given rate card, use the getRates or getRateSchedule endpoints.\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n created_at: {\n type: 'string',\n format: 'date-time'\n },\n created_by: {\n type: 'string'\n },\n name: {\n type: 'string'\n },\n aliases: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n name: {\n type: 'string'\n },\n ending_before: {\n type: 'string',\n format: 'date-time'\n },\n starting_at: {\n type: 'string',\n format: 'date-time'\n }\n },\n required: [ 'name'\n ]\n }\n },\n credit_type_conversions: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n custom_credit_type: {\n $ref: '#/$defs/credit_type_data'\n },\n fiat_per_custom_credit: {\n type: 'string'\n }\n },\n required: [ 'custom_credit_type',\n 'fiat_per_custom_credit'\n ]\n }\n },\n custom_fields: {\n type: 'object',\n description: 'Custom fields to be added eg. { \"key1\": \"value1\", \"key2\": \"value2\" }',\n additionalProperties: true\n },\n description: {\n type: 'string'\n },\n fiat_credit_type: {\n $ref: '#/$defs/credit_type_data'\n }\n },\n required: [ 'id',\n 'created_at',\n 'created_by',\n '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```",
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\nList all rate cards. Returns rate card IDs, names, descriptions, aliases, and other details. To view the rates associated with a given rate card, use the getRates or getRateSchedule endpoints.\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n type: 'array',\n items: {\n $ref: '#/$defs/rate_card_list_response'\n }\n },\n next_page: {\n type: 'string'\n }\n },\n required: [ 'data',\n 'next_page'\n ],\n $defs: {\n rate_card_list_response: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n created_at: {\n type: 'string',\n format: 'date-time'\n },\n created_by: {\n type: 'string'\n },\n name: {\n type: 'string'\n },\n aliases: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n name: {\n type: 'string'\n },\n ending_before: {\n type: 'string',\n format: 'date-time'\n },\n starting_at: {\n type: 'string',\n format: 'date-time'\n }\n },\n required: [ 'name'\n ]\n }\n },\n credit_type_conversions: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n custom_credit_type: {\n $ref: '#/$defs/credit_type_data'\n },\n fiat_per_custom_credit: {\n type: 'string'\n }\n },\n required: [ 'custom_credit_type',\n 'fiat_per_custom_credit'\n ]\n }\n },\n custom_fields: {\n type: 'object',\n description: 'Custom fields to be added eg. { \"key1\": \"value1\", \"key2\": \"value2\" }',\n additionalProperties: true\n },\n description: {\n type: 'string'\n },\n fiat_credit_type: {\n $ref: '#/$defs/credit_type_data'\n }\n },\n required: [ 'id',\n 'created_at',\n 'created_by',\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: {
@@ -1 +1 @@
1
- {"version":3,"file":"list-contracts-v1-rate-cards.mjs","sourceRoot":"","sources":["../../../../src/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.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,wBAAwB;IAClC,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,sCAAsC;IAChD,WAAW,EAAE,kBAAkB;CAChC,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,8BAA8B;IACpC,WAAW,EACT,kwFAAkwF;IACpwF,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,KAAK,EAAE;gBACL,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,+CAA+C;aAC7D;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,oEAAoE;aAClF;YACD,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,IAAI;aAC3B;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,EAAE;KACb;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,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,CAAC;IAC7E,OAAO,mBAAmB,CAAC,MAAM,WAAW,CAAC,SAAS,EAAE,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;AAClF,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"list-contracts-v1-rate-cards.mjs","sourceRoot":"","sources":["../../../../src/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.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,wBAAwB;IAClC,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,sCAAsC;IAChD,WAAW,EAAE,kBAAkB;CAChC,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,8BAA8B;IACpC,WAAW,EACT,ysFAAysF;IAC3sF,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,KAAK,EAAE;gBACL,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,+CAA+C;aAC7D;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,oEAAoE;aAClF;YACD,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,IAAI;aAC3B;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,EAAE;KACb;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,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,CAAC;IAC7E,OAAO,mBAAmB,CAAC,MAAM,WAAW,CAAC,SAAS,EAAE,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;AAClF,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: 'retrieve_rate_cards_contracts_v1_named_schedules',
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\nGet a named schedule for the given contract. This endpoint's availability is dependent on your client's configuration.\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n starting_at: {\n type: 'string',\n format: 'date-time'\n },\n value: {\n type: 'object',\n additionalProperties: true\n },\n ending_before: {\n type: 'string',\n format: 'date-time'\n }\n },\n required: [ 'starting_at',\n 'value'\n ]\n }\n }\n },\n required: [ 'data'\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\nGet a named schedule for the given contract. This endpoint's availability is dependent on your client's configuration.\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/named_schedule_retrieve_response',\n $defs: {\n named_schedule_retrieve_response: {\n type: 'object',\n properties: {\n data: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n starting_at: {\n type: 'string',\n format: 'date-time'\n },\n value: {\n type: 'object',\n additionalProperties: true\n },\n ending_before: {\n type: 'string',\n format: 'date-time'\n }\n },\n required: [ 'starting_at',\n 'value'\n ]\n }\n }\n },\n required: [ 'data'\n ]\n }\n }\n}\n```",
18
18
  inputSchema: {
19
19
  type: 'object',
20
20
  properties: {
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-rate-cards-contracts-v1-named-schedules.js","sourceRoot":"","sources":["../../../../../src/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAuD;AACvD,sDAA2E;AAK9D,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,wCAAwC;IAClD,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,gCAAgC;IAC1C,WAAW,EAAE,6BAA6B;CAC3C,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,kDAAkD;IACxD,WAAW,EACT,+4BAA+4B;IACj5B,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,4DAA4D;aAC1E;YACD,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,4DAA4D;aAC1E;YACD,aAAa,EAAE;gBACb,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,iDAAiD;aAC/D;YACD,aAAa,EAAE;gBACb,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,6IAA6I;gBAC/I,MAAM,EAAE,WAAW;aACpB;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,aAAa,EAAE,aAAa,EAAE,eAAe,CAAC;KAC1D;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,EACxB,MAAM,IAAA,uBAAW,EAAC,SAAS,EAAE,MAAM,MAAM,CAAC,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,cAAc,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAChG,CAAC;AACJ,CAAC,CAAC;AALW,QAAA,OAAO,WAKlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"retrieve-rate-cards-contracts-v1-named-schedules.js","sourceRoot":"","sources":["../../../../../src/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAuD;AACvD,sDAA2E;AAK9D,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,wCAAwC;IAClD,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,gCAAgC;IAC1C,WAAW,EAAE,6BAA6B;CAC3C,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,kDAAkD;IACxD,WAAW,EACT,6nCAA6nC;IAC/nC,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,4DAA4D;aAC1E;YACD,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,4DAA4D;aAC1E;YACD,aAAa,EAAE;gBACb,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,iDAAiD;aAC/D;YACD,aAAa,EAAE;gBACb,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,6IAA6I;gBAC/I,MAAM,EAAE,WAAW;aACpB;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,aAAa,EAAE,aAAa,EAAE,eAAe,CAAC;KAC1D;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,EACxB,MAAM,IAAA,uBAAW,EAAC,SAAS,EAAE,MAAM,MAAM,CAAC,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,cAAc,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAChG,CAAC;AACJ,CAAC,CAAC;AALW,QAAA,OAAO,WAKlB;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: 'retrieve_rate_cards_contracts_v1_named_schedules',
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 named schedule for the given contract. This endpoint's availability is dependent on your client's configuration.\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n starting_at: {\n type: 'string',\n format: 'date-time'\n },\n value: {\n type: 'object',\n additionalProperties: true\n },\n ending_before: {\n type: 'string',\n format: 'date-time'\n }\n },\n required: [ 'starting_at',\n 'value'\n ]\n }\n }\n },\n required: [ 'data'\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 named schedule for the given contract. This endpoint's availability is dependent on your client's configuration.\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/named_schedule_retrieve_response',\n $defs: {\n named_schedule_retrieve_response: {\n type: 'object',\n properties: {\n data: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n starting_at: {\n type: 'string',\n format: 'date-time'\n },\n value: {\n type: 'object',\n additionalProperties: true\n },\n ending_before: {\n type: 'string',\n format: 'date-time'\n }\n },\n required: [ 'starting_at',\n 'value'\n ]\n }\n }\n },\n required: [ 'data'\n ]\n }\n }\n}\n```",
15
15
  inputSchema: {
16
16
  type: 'object',
17
17
  properties: {
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-rate-cards-contracts-v1-named-schedules.mjs","sourceRoot":"","sources":["../../../../../src/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.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,wCAAwC;IAClD,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,gCAAgC;IAC1C,WAAW,EAAE,6BAA6B;CAC3C,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,kDAAkD;IACxD,WAAW,EACT,+4BAA+4B;IACj5B,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,4DAA4D;aAC1E;YACD,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,4DAA4D;aAC1E;YACD,aAAa,EAAE;gBACb,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,iDAAiD;aAC/D;YACD,aAAa,EAAE;gBACb,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,6IAA6I;gBAC/I,MAAM,EAAE,WAAW;aACpB;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,aAAa,EAAE,aAAa,EAAE,eAAe,CAAC;KAC1D;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,CACxB,MAAM,WAAW,CAAC,SAAS,EAAE,MAAM,MAAM,CAAC,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,cAAc,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAChG,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"retrieve-rate-cards-contracts-v1-named-schedules.mjs","sourceRoot":"","sources":["../../../../../src/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.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,wCAAwC;IAClD,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,gCAAgC;IAC1C,WAAW,EAAE,6BAA6B;CAC3C,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,kDAAkD;IACxD,WAAW,EACT,6nCAA6nC;IAC/nC,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,4DAA4D;aAC1E;YACD,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,4DAA4D;aAC1E;YACD,aAAa,EAAE;gBACb,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,iDAAiD;aAC/D;YACD,aAAa,EAAE;gBACb,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,6IAA6I;gBAC/I,MAAM,EAAE,WAAW;aACpB;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,aAAa,EAAE,aAAa,EAAE,eAAe,CAAC;KAC1D;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,CACxB,MAAM,WAAW,CAAC,SAAS,EAAE,MAAM,MAAM,CAAC,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,cAAc,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAChG,CAAC;AACJ,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_rate_cards_contracts_v1_product_orders',
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\nThe ordering of products on a rate card determines the order in which the products will appear on customers' invoices. Use this endpoint to set the order of products on the rate card.\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n $ref: '#/$defs/id'\n }\n },\n required: [ 'data'\n ],\n $defs: {\n id: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n }\n },\n required: [ 'id'\n ]\n }\n }\n}\n```",
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\nThe ordering of products on a rate card determines the order in which the products will appear on customers' invoices. Use this endpoint to set the order of products on the rate card.\n\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/product_order_set_response',\n $defs: {\n product_order_set_response: {\n type: 'object',\n properties: {\n data: {\n $ref: '#/$defs/id'\n }\n },\n required: [ 'data'\n ]\n },\n id: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n }\n },\n required: [ 'id'\n ]\n }\n }\n}\n```",
18
18
  inputSchema: {
19
19
  type: 'object',
20
20
  properties: {
@@ -1 +1 @@
1
- {"version":3,"file":"set-rate-cards-contracts-v1-product-orders.js","sourceRoot":"","sources":["../../../../../src/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAuD;AACvD,sDAA2E;AAK9D,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,uCAAuC;IACjD,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,0DAA0D;IACpE,WAAW,EAAE,6BAA6B;CAC3C,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,4CAA4C;IAClD,WAAW,EACT,wrBAAwrB;IAC1rB,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,aAAa,EAAE;gBACb,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,YAAY,EAAE;gBACZ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,+BAA+B;aAC7C;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,eAAe,EAAE,cAAc,CAAC;KAC5C;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,EACxB,MAAM,IAAA,uBAAW,EAAC,SAAS,EAAE,MAAM,MAAM,CAAC,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAC1F,CAAC;AACJ,CAAC,CAAC;AALW,QAAA,OAAO,WAKlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"set-rate-cards-contracts-v1-product-orders.js","sourceRoot":"","sources":["../../../../../src/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAuD;AACvD,sDAA2E;AAK9D,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,uCAAuC;IACjD,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,0DAA0D;IACpE,WAAW,EAAE,6BAA6B;CAC3C,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,4CAA4C;IAClD,WAAW,EACT,qzBAAqzB;IACvzB,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,aAAa,EAAE;gBACb,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,YAAY,EAAE;gBACZ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,+BAA+B;aAC7C;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,eAAe,EAAE,cAAc,CAAC;KAC5C;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,EACxB,MAAM,IAAA,uBAAW,EAAC,SAAS,EAAE,MAAM,MAAM,CAAC,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAC1F,CAAC;AACJ,CAAC,CAAC;AALW,QAAA,OAAO,WAKlB;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_rate_cards_contracts_v1_product_orders',
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\nThe ordering of products on a rate card determines the order in which the products will appear on customers' invoices. Use this endpoint to set the order of products on the rate card.\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n $ref: '#/$defs/id'\n }\n },\n required: [ 'data'\n ],\n $defs: {\n id: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n }\n },\n required: [ 'id'\n ]\n }\n }\n}\n```",
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\nThe ordering of products on a rate card determines the order in which the products will appear on customers' invoices. Use this endpoint to set the order of products on the rate card.\n\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/product_order_set_response',\n $defs: {\n product_order_set_response: {\n type: 'object',\n properties: {\n data: {\n $ref: '#/$defs/id'\n }\n },\n required: [ 'data'\n ]\n },\n id: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n }\n },\n required: [ 'id'\n ]\n }\n }\n}\n```",
15
15
  inputSchema: {
16
16
  type: 'object',
17
17
  properties: {
@@ -1 +1 @@
1
- {"version":3,"file":"set-rate-cards-contracts-v1-product-orders.mjs","sourceRoot":"","sources":["../../../../../src/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.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,uCAAuC;IACjD,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,0DAA0D;IACpE,WAAW,EAAE,6BAA6B;CAC3C,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,4CAA4C;IAClD,WAAW,EACT,wrBAAwrB;IAC1rB,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,aAAa,EAAE;gBACb,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,YAAY,EAAE;gBACZ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,+BAA+B;aAC7C;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,eAAe,EAAE,cAAc,CAAC;KAC5C;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,CACxB,MAAM,WAAW,CAAC,SAAS,EAAE,MAAM,MAAM,CAAC,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAC1F,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"set-rate-cards-contracts-v1-product-orders.mjs","sourceRoot":"","sources":["../../../../../src/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.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,uCAAuC;IACjD,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,0DAA0D;IACpE,WAAW,EAAE,6BAA6B;CAC3C,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,4CAA4C;IAClD,WAAW,EACT,qzBAAqzB;IACvzB,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,aAAa,EAAE;gBACb,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,YAAY,EAAE;gBACZ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,+BAA+B;aAC7C;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,eAAe,EAAE,cAAc,CAAC;KAC5C;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,CACxB,MAAM,WAAW,CAAC,SAAS,EAAE,MAAM,MAAM,CAAC,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAC1F,CAAC;AACJ,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: 'update_rate_cards_contracts_v1_product_orders',
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\nThe ordering of products on a rate card determines the order in which the products will appear on customers' invoices. Use this endpoint to set the order of specific products on the rate card by moving them relative to their current location.\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n $ref: '#/$defs/id'\n }\n },\n required: [ 'data'\n ],\n $defs: {\n id: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n }\n },\n required: [ 'id'\n ]\n }\n }\n}\n```",
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\nThe ordering of products on a rate card determines the order in which the products will appear on customers' invoices. Use this endpoint to set the order of specific products on the rate card by moving them relative to their current location.\n\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/product_order_update_response',\n $defs: {\n product_order_update_response: {\n type: 'object',\n properties: {\n data: {\n $ref: '#/$defs/id'\n }\n },\n required: [ 'data'\n ]\n },\n id: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n }\n },\n required: [ 'id'\n ]\n }\n }\n}\n```",
18
18
  inputSchema: {
19
19
  type: 'object',
20
20
  properties: {
@@ -1 +1 @@
1
- {"version":3,"file":"update-rate-cards-contracts-v1-product-orders.js","sourceRoot":"","sources":["../../../../../src/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAuD;AACvD,sDAA2E;AAK9D,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,uCAAuC;IACjD,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,sDAAsD;IAChE,WAAW,EAAE,yBAAyB;CACvC,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,+CAA+C;IACrD,WAAW,EACT,mvBAAmvB;IACrvB,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,aAAa,EAAE;gBACb,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;oBACd,UAAU,EAAE;wBACV,QAAQ,EAAE;4BACR,IAAI,EAAE,QAAQ;4BACd,WAAW,EAAE,kDAAkD;yBAChE;wBACD,UAAU,EAAE;4BACV,IAAI,EAAE,QAAQ;4BACd,WAAW,EAAE,2BAA2B;yBACzC;qBACF;oBACD,QAAQ,EAAE,CAAC,UAAU,EAAE,YAAY,CAAC;iBACrC;aACF;YACD,YAAY,EAAE;gBACZ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,+BAA+B;aAC7C;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,eAAe,EAAE,cAAc,CAAC;KAC5C;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,EACxB,MAAM,IAAA,uBAAW,EAAC,SAAS,EAAE,MAAM,MAAM,CAAC,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAC7F,CAAC;AACJ,CAAC,CAAC;AALW,QAAA,OAAO,WAKlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"update-rate-cards-contracts-v1-product-orders.js","sourceRoot":"","sources":["../../../../../src/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAuD;AACvD,sDAA2E;AAK9D,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,uCAAuC;IACjD,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,sDAAsD;IAChE,WAAW,EAAE,yBAAyB;CACvC,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,+CAA+C;IACrD,WAAW,EACT,s3BAAs3B;IACx3B,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,aAAa,EAAE;gBACb,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;oBACd,UAAU,EAAE;wBACV,QAAQ,EAAE;4BACR,IAAI,EAAE,QAAQ;4BACd,WAAW,EAAE,kDAAkD;yBAChE;wBACD,UAAU,EAAE;4BACV,IAAI,EAAE,QAAQ;4BACd,WAAW,EAAE,2BAA2B;yBACzC;qBACF;oBACD,QAAQ,EAAE,CAAC,UAAU,EAAE,YAAY,CAAC;iBACrC;aACF;YACD,YAAY,EAAE;gBACZ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,+BAA+B;aAC7C;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,eAAe,EAAE,cAAc,CAAC;KAC5C;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,EACxB,MAAM,IAAA,uBAAW,EAAC,SAAS,EAAE,MAAM,MAAM,CAAC,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAC7F,CAAC;AACJ,CAAC,CAAC;AALW,QAAA,OAAO,WAKlB;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: 'update_rate_cards_contracts_v1_product_orders',
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\nThe ordering of products on a rate card determines the order in which the products will appear on customers' invoices. Use this endpoint to set the order of specific products on the rate card by moving them relative to their current location.\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n $ref: '#/$defs/id'\n }\n },\n required: [ 'data'\n ],\n $defs: {\n id: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n }\n },\n required: [ 'id'\n ]\n }\n }\n}\n```",
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\nThe ordering of products on a rate card determines the order in which the products will appear on customers' invoices. Use this endpoint to set the order of specific products on the rate card by moving them relative to their current location.\n\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/product_order_update_response',\n $defs: {\n product_order_update_response: {\n type: 'object',\n properties: {\n data: {\n $ref: '#/$defs/id'\n }\n },\n required: [ 'data'\n ]\n },\n id: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n }\n },\n required: [ 'id'\n ]\n }\n }\n}\n```",
15
15
  inputSchema: {
16
16
  type: 'object',
17
17
  properties: {
@@ -1 +1 @@
1
- {"version":3,"file":"update-rate-cards-contracts-v1-product-orders.mjs","sourceRoot":"","sources":["../../../../../src/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.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,uCAAuC;IACjD,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,sDAAsD;IAChE,WAAW,EAAE,yBAAyB;CACvC,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,+CAA+C;IACrD,WAAW,EACT,mvBAAmvB;IACrvB,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,aAAa,EAAE;gBACb,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;oBACd,UAAU,EAAE;wBACV,QAAQ,EAAE;4BACR,IAAI,EAAE,QAAQ;4BACd,WAAW,EAAE,kDAAkD;yBAChE;wBACD,UAAU,EAAE;4BACV,IAAI,EAAE,QAAQ;4BACd,WAAW,EAAE,2BAA2B;yBACzC;qBACF;oBACD,QAAQ,EAAE,CAAC,UAAU,EAAE,YAAY,CAAC;iBACrC;aACF;YACD,YAAY,EAAE;gBACZ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,+BAA+B;aAC7C;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,eAAe,EAAE,cAAc,CAAC;KAC5C;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,CACxB,MAAM,WAAW,CAAC,SAAS,EAAE,MAAM,MAAM,CAAC,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAC7F,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"update-rate-cards-contracts-v1-product-orders.mjs","sourceRoot":"","sources":["../../../../../src/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.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,QA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AC;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: 'add_many_rate_cards_contracts_v1_rates',
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\nAdd new rates\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n $ref: '#/$defs/id'\n }\n },\n required: [ 'data'\n ],\n $defs: {\n id: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n }\n },\n required: [ 'id'\n ]\n }\n }\n}\n```",
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\nAdd new rates\n\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/rate_add_many_response',\n $defs: {\n rate_add_many_response: {\n type: 'object',\n properties: {\n data: {\n $ref: '#/$defs/id'\n }\n },\n required: [ 'data'\n ]\n },\n id: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n }\n },\n required: [ 'id'\n ]\n }\n }\n}\n```",
18
18
  inputSchema: {
19
19
  type: 'object',
20
20
  properties: {
@@ -1 +1 @@
1
- {"version":3,"file":"add-many-rate-cards-contracts-v1-rates.js","sourceRoot":"","sources":["../../../../../src/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAuD;AACvD,sDAA2E;AAK9D,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,8BAA8B;IACxC,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,0CAA0C;IACpD,WAAW,EAAE,aAAa;CAC3B,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,wCAAwC;IAC9C,WAAW,EACT,8gBAA8gB;IAChhB,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EAAE;wBACJ,IAAI,EAAE,QAAQ;qBACf;iBACF;gBACD,QAAQ,EAAE,CAAC,OAAO,CAAC;aACpB;SACF;KACF;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,EACxB,MAAM,IAAA,uBAAW,EAAC,SAAS,EAAE,MAAM,MAAM,CAAC,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CACtF,CAAC;AACJ,CAAC,CAAC;AALW,QAAA,OAAO,WAKlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"add-many-rate-cards-contracts-v1-rates.js","sourceRoot":"","sources":["../../../../../src/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAuD;AACvD,sDAA2E;AAK9D,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,8BAA8B;IACxC,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,0CAA0C;IACpD,WAAW,EAAE,aAAa;CAC3B,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,wCAAwC;IAC9C,WAAW,EACT,moBAAmoB;IACroB,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,YAAY,EAAE;gBACZ,IAAI,EAAE,QAAQ;aACf;YACD,KAAK,EAAE;gBACL,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ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AyC,EAAE,EAAE;IAC5F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IAC3C,OAAO,IAAA,2BAAmB,EACxB,MAAM,IAAA,uBAAW,EAAC,SAAS,EAAE,MAAM,MAAM,CAAC,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CACtF,CAAC;AACJ,CAAC,CAAC;AALW,QAAA,OAAO,WAKlB;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: 'add_many_rate_cards_contracts_v1_rates',
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\nAdd new rates\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n $ref: '#/$defs/id'\n }\n },\n required: [ 'data'\n ],\n $defs: {\n id: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n }\n },\n required: [ 'id'\n ]\n }\n }\n}\n```",
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\nAdd new rates\n\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/rate_add_many_response',\n $defs: {\n rate_add_many_response: {\n type: 'object',\n properties: {\n data: {\n $ref: '#/$defs/id'\n }\n },\n required: [ 'data'\n ]\n },\n id: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n }\n },\n required: [ 'id'\n ]\n }\n }\n}\n```",
15
15
  inputSchema: {
16
16
  type: 'object',
17
17
  properties: {
@@ -1 +1 @@
1
- {"version":3,"file":"add-many-rate-cards-contracts-v1-rates.mjs","sourceRoot":"","sources":["../../../../../src/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates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,EAAE,QAAQ,EAAE,QAAQ,CAAC;qBACjE;oBACD,KAAK,EAAE;wBACL,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,0DAA0D;qBACxE;oBACD,KAAK,EAAE;wBACL,IAAI,EAAE,OAAO;wBACb,WAAW,EAAE,gCAAgC;wBAC7C,KAAK,EAAE;4BACL,IAAI,EAAE,cAAc;yBACrB;qBACF;iBACF;gBACD,QAAQ,EAAE,CAAC,WAAW,CAAC;aACxB;YACD,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACV,KAAK,EAAE;wBACL,IAAI,EAAE,QAAQ;qBACf;oBACD,IAAI,EAAE;wBACJ,IAAI,EAAE,QAAQ;qBACf;iBACF;gBACD,QAAQ,EAAE,CAAC,OAAO,CAAC;aACpB;SACF;KACF;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,CACxB,MAAM,WAAW,CAAC,SAAS,EAAE,MAAM,MAAM,CAAC,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CACtF,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"add-many-rate-cards-contracts-v1-rates.mjs","sourceRoot":"","sources":["../../../../../src/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.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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AE,gCAAgC;wBAC7C,KAAK,EAAE;4BACL,IAAI,EAAE,cAAc;yBACrB;qBACF;iBACF;gBACD,QAAQ,EAAE,CAAC,WAAW,CAAC;aACxB;YACD,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACV,KAAK,EAAE;wBACL,IAAI,EAAE,QAAQ;qBACf;oBACD,IAAI,EAAE;wBACJ,IAAI,EAAE,QAAQ;qBACf;iBACF;gBACD,QAAQ,EAAE,CAAC,OAAO,CAAC;aACpB;SACF;KACF;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,CACxB,MAAM,WAAW,CAAC,SAAS,EAAE,MAAM,MAAM,CAAC,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CACtF,CAAC;AACJ,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: 'add_rate_cards_contracts_v1_rates',
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\nAdd a new rate\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n type: 'object',\n properties: {\n rate_type: {\n type: 'string',\n enum: [ 'FLAT',\n 'PERCENTAGE',\n 'SUBSCRIPTION',\n 'CUSTOM',\n 'TIERED'\n ]\n },\n commit_rate: {\n $ref: '#/$defs/commit_rate'\n },\n credit_type: {\n $ref: '#/$defs/credit_type_data'\n },\n custom_rate: {\n type: 'object',\n description: 'Only set for CUSTOM rate_type. This field is interpreted by custom rate processors.',\n additionalProperties: true\n },\n is_prorated: {\n type: 'boolean',\n description: 'Default proration configuration. Only valid for SUBSCRIPTION rate_type. Must be set to true.'\n },\n price: {\n type: 'number',\n description: 'Default price. For FLAT rate_type, this must be >=0. For PERCENTAGE rate_type, this is a decimal fraction, e.g. use 0.1 for 10%; this must be >=0 and <=1.'\n },\n pricing_group_values: {\n type: 'object',\n description: 'if pricing groups are used, this will contain the values used to calculate the price',\n additionalProperties: true\n },\n quantity: {\n type: 'number',\n description: 'Default quantity. For SUBSCRIPTION rate_type, this must be >=0.'\n },\n tiers: {\n type: 'array',\n description: 'Only set for TIERED rate_type.',\n items: {\n $ref: '#/$defs/tier'\n }\n },\n use_list_prices: {\n type: 'boolean',\n description: 'Only set for PERCENTAGE rate_type. Defaults to false. If true, rate is computed using list prices rather than the standard rates for this product on the contract.'\n }\n },\n required: [ 'rate_type'\n ]\n }\n },\n required: [ 'data'\n ],\n $defs: {\n commit_rate: {\n type: 'object',\n description: 'A distinct rate on the rate card. You can choose to use this rate rather than list rate when consuming a credit or commit.',\n properties: {\n rate_type: {\n type: 'string',\n enum: [ 'FLAT',\n 'PERCENTAGE',\n 'SUBSCRIPTION',\n 'TIERED',\n 'CUSTOM'\n ]\n },\n price: {\n type: 'number',\n description: 'Commit rate price. For FLAT rate_type, this must be >=0.'\n },\n tiers: {\n type: 'array',\n description: 'Only set for TIERED rate_type.',\n items: {\n $ref: '#/$defs/tier'\n }\n }\n },\n required: [ 'rate_type'\n ]\n },\n tier: {\n type: 'object',\n properties: {\n price: {\n type: 'number'\n },\n size: {\n type: 'number'\n }\n },\n required: [ 'price'\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\nAdd a new rate\n\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/rate_add_response',\n $defs: {\n rate_add_response: {\n type: 'object',\n properties: {\n data: {\n type: 'object',\n properties: {\n rate_type: {\n type: 'string',\n enum: [ 'FLAT',\n 'PERCENTAGE',\n 'SUBSCRIPTION',\n 'CUSTOM',\n 'TIERED'\n ]\n },\n commit_rate: {\n $ref: '#/$defs/commit_rate'\n },\n credit_type: {\n $ref: '#/$defs/credit_type_data'\n },\n custom_rate: {\n type: 'object',\n description: 'Only set for CUSTOM rate_type. This field is interpreted by custom rate processors.',\n additionalProperties: true\n },\n is_prorated: {\n type: 'boolean',\n description: 'Default proration configuration. Only valid for SUBSCRIPTION rate_type. Must be set to true.'\n },\n price: {\n type: 'number',\n description: 'Default price. For FLAT rate_type, this must be >=0. For PERCENTAGE rate_type, this is a decimal fraction, e.g. use 0.1 for 10%; this must be >=0 and <=1.'\n },\n pricing_group_values: {\n type: 'object',\n description: 'if pricing groups are used, this will contain the values used to calculate the price',\n additionalProperties: true\n },\n quantity: {\n type: 'number',\n description: 'Default quantity. For SUBSCRIPTION rate_type, this must be >=0.'\n },\n tiers: {\n type: 'array',\n description: 'Only set for TIERED rate_type.',\n items: {\n $ref: '#/$defs/tier'\n }\n },\n use_list_prices: {\n type: 'boolean',\n description: 'Only set for PERCENTAGE rate_type. Defaults to false. If true, rate is computed using list prices rather than the standard rates for this product on the contract.'\n }\n },\n required: [ 'rate_type'\n ]\n }\n },\n required: [ 'data'\n ]\n },\n commit_rate: {\n type: 'object',\n description: 'A distinct rate on the rate card. You can choose to use this rate rather than list rate when consuming a credit or commit.',\n properties: {\n rate_type: {\n type: 'string',\n enum: [ 'FLAT',\n 'PERCENTAGE',\n 'SUBSCRIPTION',\n 'TIERED',\n 'CUSTOM'\n ]\n },\n price: {\n type: 'number',\n description: 'Commit rate price. For FLAT rate_type, this must be >=0.'\n },\n tiers: {\n type: 'array',\n description: 'Only set for TIERED rate_type.',\n items: {\n $ref: '#/$defs/tier'\n }\n }\n },\n required: [ 'rate_type'\n ]\n },\n tier: {\n type: 'object',\n properties: {\n price: {\n type: 'number'\n },\n size: {\n type: 'number'\n }\n },\n required: [ 'price'\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: {
@@ -1 +1 @@
1
- {"version":3,"file":"add-rate-cards-contracts-v1-rates.js","sourceRoot":"","sources":["../../../../../src/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAuD;AACvD,sDAA2E;AAK9D,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,8BAA8B;IACxC,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,yCAAyC;IACnD,WAAW,EAAE,YAAY;CAC1B,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,mCAAmC;IACzC,WAAW,EACT,88GAA88G;IACh9G,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,QAAQ,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;YACD,UAAU,EAAE;gBACV,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,qCAAqC;aACnD;YACD,YAAY,EAAE;gBACZ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,+BAA+B;aAC7C;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,CAAC,MAAM,EAAE,YAAY,EAAE,cAAc,EAAE,QAAQ,EAAE,QAAQ,CAAC;aACjE;YACD,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,0BAA0B;gBACvC,MAAM,EAAE,WAAW;aACpB;YACD,iBAAiB,EAAE;gBACjB,IA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I,EAAE,cAAc;yBACrB;qBACF;iBACF;gBACD,QAAQ,EAAE,CAAC,WAAW,CAAC;aACxB;YACD,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACV,KAAK,EAAE;wBACL,IAAI,EAAE,QAAQ;qBACf;oBACD,IAAI,EAAE;wBACJ,IAAI,EAAE,QAAQ;qBACf;iBACF;gBACD,QAAQ,EAAE,CAAC,OAAO,CAAC;aACpB;SACF;KACF;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,EACxB,MAAM,IAAA,uBAAW,EAAC,SAAS,EAAE,MAAM,MAAM,CAAC,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAClF,CAAC;AACJ,CAAC,CAAC;AALW,QAAA,OAAO,WAKlB;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: 'add_rate_cards_contracts_v1_rates',
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\nAdd a new rate\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n type: 'object',\n properties: {\n rate_type: {\n type: 'string',\n enum: [ 'FLAT',\n 'PERCENTAGE',\n 'SUBSCRIPTION',\n 'CUSTOM',\n 'TIERED'\n ]\n },\n commit_rate: {\n $ref: '#/$defs/commit_rate'\n },\n credit_type: {\n $ref: '#/$defs/credit_type_data'\n },\n custom_rate: {\n type: 'object',\n description: 'Only set for CUSTOM rate_type. This field is interpreted by custom rate processors.',\n additionalProperties: true\n },\n is_prorated: {\n type: 'boolean',\n description: 'Default proration configuration. Only valid for SUBSCRIPTION rate_type. Must be set to true.'\n },\n price: {\n type: 'number',\n description: 'Default price. For FLAT rate_type, this must be >=0. For PERCENTAGE rate_type, this is a decimal fraction, e.g. use 0.1 for 10%; this must be >=0 and <=1.'\n },\n pricing_group_values: {\n type: 'object',\n description: 'if pricing groups are used, this will contain the values used to calculate the price',\n additionalProperties: true\n },\n quantity: {\n type: 'number',\n description: 'Default quantity. For SUBSCRIPTION rate_type, this must be >=0.'\n },\n tiers: {\n type: 'array',\n description: 'Only set for TIERED rate_type.',\n items: {\n $ref: '#/$defs/tier'\n }\n },\n use_list_prices: {\n type: 'boolean',\n description: 'Only set for PERCENTAGE rate_type. Defaults to false. If true, rate is computed using list prices rather than the standard rates for this product on the contract.'\n }\n },\n required: [ 'rate_type'\n ]\n }\n },\n required: [ 'data'\n ],\n $defs: {\n commit_rate: {\n type: 'object',\n description: 'A distinct rate on the rate card. You can choose to use this rate rather than list rate when consuming a credit or commit.',\n properties: {\n rate_type: {\n type: 'string',\n enum: [ 'FLAT',\n 'PERCENTAGE',\n 'SUBSCRIPTION',\n 'TIERED',\n 'CUSTOM'\n ]\n },\n price: {\n type: 'number',\n description: 'Commit rate price. For FLAT rate_type, this must be >=0.'\n },\n tiers: {\n type: 'array',\n description: 'Only set for TIERED rate_type.',\n items: {\n $ref: '#/$defs/tier'\n }\n }\n },\n required: [ 'rate_type'\n ]\n },\n tier: {\n type: 'object',\n properties: {\n price: {\n type: 'number'\n },\n size: {\n type: 'number'\n }\n },\n required: [ 'price'\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\nAdd a new rate\n\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/rate_add_response',\n $defs: {\n rate_add_response: {\n type: 'object',\n properties: {\n data: {\n type: 'object',\n properties: {\n rate_type: {\n type: 'string',\n enum: [ 'FLAT',\n 'PERCENTAGE',\n 'SUBSCRIPTION',\n 'CUSTOM',\n 'TIERED'\n ]\n },\n commit_rate: {\n $ref: '#/$defs/commit_rate'\n },\n credit_type: {\n $ref: '#/$defs/credit_type_data'\n },\n custom_rate: {\n type: 'object',\n description: 'Only set for CUSTOM rate_type. This field is interpreted by custom rate processors.',\n additionalProperties: true\n },\n is_prorated: {\n type: 'boolean',\n description: 'Default proration configuration. Only valid for SUBSCRIPTION rate_type. Must be set to true.'\n },\n price: {\n type: 'number',\n description: 'Default price. For FLAT rate_type, this must be >=0. For PERCENTAGE rate_type, this is a decimal fraction, e.g. use 0.1 for 10%; this must be >=0 and <=1.'\n },\n pricing_group_values: {\n type: 'object',\n description: 'if pricing groups are used, this will contain the values used to calculate the price',\n additionalProperties: true\n },\n quantity: {\n type: 'number',\n description: 'Default quantity. For SUBSCRIPTION rate_type, this must be >=0.'\n },\n tiers: {\n type: 'array',\n description: 'Only set for TIERED rate_type.',\n items: {\n $ref: '#/$defs/tier'\n }\n },\n use_list_prices: {\n type: 'boolean',\n description: 'Only set for PERCENTAGE rate_type. Defaults to false. If true, rate is computed using list prices rather than the standard rates for this product on the contract.'\n }\n },\n required: [ 'rate_type'\n ]\n }\n },\n required: [ 'data'\n ]\n },\n commit_rate: {\n type: 'object',\n description: 'A distinct rate on the rate card. You can choose to use this rate rather than list rate when consuming a credit or commit.',\n properties: {\n rate_type: {\n type: 'string',\n enum: [ 'FLAT',\n 'PERCENTAGE',\n 'SUBSCRIPTION',\n 'TIERED',\n 'CUSTOM'\n ]\n },\n price: {\n type: 'number',\n description: 'Commit rate price. For FLAT rate_type, this must be >=0.'\n },\n tiers: {\n type: 'array',\n description: 'Only set for TIERED rate_type.',\n items: {\n $ref: '#/$defs/tier'\n }\n }\n },\n required: [ 'rate_type'\n ]\n },\n tier: {\n type: 'object',\n properties: {\n price: {\n type: 'number'\n },\n size: {\n type: 'number'\n }\n },\n required: [ 'price'\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: {
@@ -1 +1 @@
1
- {"version":3,"file":"add-rate-cards-contracts-v1-rates.mjs","sourceRoot":"","sources":["../../../../../src/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.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,8BAA8B;IACxC,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,yCAAyC;IACnD,WAAW,EAAE,YAAY;CAC1B,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,mCAAmC;IACzC,WAAW,EACT,88GAA88G;IACh9G,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,QAAQ,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;YACD,UAAU,EAAE;gBACV,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,qCAAqC;aACnD;YACD,YAAY,EAAE;gBACZ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,+BAA+B;aAC7C;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,CAAC,MAAM,EAAE,YAAY,EAAE,cAAc,EAAE,QAAQ,EAAE,QAAQ,CAAC;aACjE;YACD,WAAW,EAAE;gBACX,IAAI,EA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