@metronome/mcp 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (348) hide show
  1. package/README.md +26 -0
  2. package/filtering.d.mts +1 -1
  3. package/filtering.d.mts.map +1 -1
  4. package/filtering.d.ts +1 -1
  5. package/filtering.d.ts.map +1 -1
  6. package/filtering.js +1 -2
  7. package/filtering.js.map +1 -1
  8. package/filtering.mjs +1 -2
  9. package/filtering.mjs.map +1 -1
  10. package/headers.d.mts +4 -0
  11. package/headers.d.mts.map +1 -0
  12. package/headers.d.ts +4 -0
  13. package/headers.d.ts.map +1 -0
  14. package/headers.js +22 -0
  15. package/headers.js.map +1 -0
  16. package/headers.mjs +18 -0
  17. package/headers.mjs.map +1 -0
  18. package/http.d.mts +6 -0
  19. package/http.d.mts.map +1 -0
  20. package/http.d.ts +6 -0
  21. package/http.d.ts.map +1 -0
  22. package/http.js +93 -0
  23. package/http.js.map +1 -0
  24. package/http.mjs +85 -0
  25. package/http.mjs.map +1 -0
  26. package/index.js +12 -7
  27. package/index.js.map +1 -1
  28. package/index.mjs +13 -8
  29. package/index.mjs.map +1 -1
  30. package/options.d.mts +3 -0
  31. package/options.d.mts.map +1 -1
  32. package/options.d.ts +3 -0
  33. package/options.d.ts.map +1 -1
  34. package/options.js +18 -0
  35. package/options.js.map +1 -1
  36. package/options.mjs +18 -0
  37. package/options.mjs.map +1 -1
  38. package/package.json +4 -3
  39. package/server.d.mts +1 -0
  40. package/server.d.mts.map +1 -1
  41. package/server.d.ts +1 -0
  42. package/server.d.ts.map +1 -1
  43. package/server.js +7 -5
  44. package/server.js.map +1 -1
  45. package/server.mjs +5 -4
  46. package/server.mjs.map +1 -1
  47. package/src/filtering.ts +1 -2
  48. package/src/headers.ts +24 -0
  49. package/src/http.ts +99 -0
  50. package/src/index.ts +15 -11
  51. package/src/options.ts +22 -0
  52. package/src/server.ts +11 -8
  53. package/src/stdio.ts +14 -0
  54. package/src/tools/v1/billable-metrics/create-v1-billable-metrics.ts +1 -0
  55. package/src/tools/v1/billable-metrics/list-v1-billable-metrics.ts +1 -1
  56. package/src/tools/v1/billable-metrics/retrieve-v1-billable-metrics.ts +1 -1
  57. package/src/tools/v1/contracts/amend-v1-contracts.ts +37 -0
  58. package/src/tools/v1/contracts/create-historical-invoices-v1-contracts.ts +3 -0
  59. package/src/tools/v1/contracts/create-v1-contracts.ts +48 -2
  60. package/src/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.ts +1 -1
  61. package/src/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.ts +1 -0
  62. package/src/tools/v1/contracts/products/create-contracts-v1-products.ts +4 -0
  63. package/src/tools/v1/contracts/products/list-contracts-v1-products.ts +1 -1
  64. package/src/tools/v1/contracts/products/retrieve-contracts-v1-products.ts +1 -1
  65. package/src/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.ts +1 -0
  66. package/src/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.ts +2 -1
  67. package/src/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.ts +1 -1
  68. package/src/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.ts +1 -0
  69. package/src/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.ts +2 -0
  70. package/src/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.ts +3 -1
  71. package/src/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.ts +3 -1
  72. package/src/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.ts +1 -1
  73. package/src/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.ts +3 -1
  74. package/src/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.ts +3 -1
  75. package/src/tools/v1/credit-grants/create-v1-credit-grants.ts +1 -0
  76. package/src/tools/v1/credit-grants/list-v1-credit-grants.ts +1 -1
  77. package/src/tools/v1/custom-fields/set-values-v1-custom-fields.ts +1 -0
  78. package/src/tools/v1/customers/commits/create-customers-v1-commits.ts +8 -0
  79. package/src/tools/v1/customers/create-v1-customers.ts +3 -1
  80. package/src/tools/v1/customers/credits/create-customers-v1-credits.ts +3 -0
  81. package/src/tools/v1/customers/list-billable-metrics-v1-customers.ts +1 -1
  82. package/src/tools/v1/customers/list-costs-v1-customers.ts +1 -1
  83. package/src/tools/v1/customers/list-v1-customers.ts +1 -1
  84. package/src/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.ts +1 -1
  85. package/src/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.ts +1 -0
  86. package/src/tools/v1/customers/plans/list-customers-v1-plans.ts +1 -1
  87. package/src/tools/v1/customers/preview-events-v1-customers.ts +1 -0
  88. package/src/tools/v1/customers/retrieve-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 -0
  91. package/src/tools/v1/plans/get-details-v1-plans.ts +1 -1
  92. package/src/tools/v1/plans/list-charges-v1-plans.ts +1 -1
  93. package/src/tools/v1/plans/list-customers-v1-plans.ts +1 -1
  94. package/src/tools/v1/plans/list-v1-plans.ts +1 -1
  95. package/src/tools/v1/usage/ingest-v1-usage.ts +1 -0
  96. package/src/tools/v1/usage/list-v1-usage.ts +1 -1
  97. package/src/tools/v1/usage/search-v1-usage.ts +1 -1
  98. package/src/tools/v2/contracts/edit-commit-v2-contracts.ts +6 -0
  99. package/src/tools/v2/contracts/edit-credit-v2-contracts.ts +6 -0
  100. package/src/tools/v2/contracts/edit-v2-contracts.ts +59 -4
  101. package/stdio.d.mts +4 -0
  102. package/stdio.d.mts.map +1 -0
  103. package/stdio.d.ts +4 -0
  104. package/stdio.d.ts.map +1 -0
  105. package/stdio.js +14 -0
  106. package/stdio.js.map +1 -0
  107. package/stdio.mjs +10 -0
  108. package/stdio.mjs.map +1 -0
  109. package/tools/v1/billable-metrics/create-v1-billable-metrics.d.mts.map +1 -1
  110. package/tools/v1/billable-metrics/create-v1-billable-metrics.d.ts.map +1 -1
  111. package/tools/v1/billable-metrics/create-v1-billable-metrics.js +1 -0
  112. package/tools/v1/billable-metrics/create-v1-billable-metrics.js.map +1 -1
  113. package/tools/v1/billable-metrics/create-v1-billable-metrics.mjs +1 -0
  114. package/tools/v1/billable-metrics/create-v1-billable-metrics.mjs.map +1 -1
  115. package/tools/v1/billable-metrics/list-v1-billable-metrics.js +1 -1
  116. package/tools/v1/billable-metrics/list-v1-billable-metrics.js.map +1 -1
  117. package/tools/v1/billable-metrics/list-v1-billable-metrics.mjs +1 -1
  118. package/tools/v1/billable-metrics/list-v1-billable-metrics.mjs.map +1 -1
  119. package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.js +1 -1
  120. package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.js.map +1 -1
  121. package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.mjs +1 -1
  122. package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.mjs.map +1 -1
  123. package/tools/v1/contracts/amend-v1-contracts.d.mts.map +1 -1
  124. package/tools/v1/contracts/amend-v1-contracts.d.ts.map +1 -1
  125. package/tools/v1/contracts/amend-v1-contracts.js +33 -0
  126. package/tools/v1/contracts/amend-v1-contracts.js.map +1 -1
  127. package/tools/v1/contracts/amend-v1-contracts.mjs +33 -0
  128. package/tools/v1/contracts/amend-v1-contracts.mjs.map +1 -1
  129. package/tools/v1/contracts/create-historical-invoices-v1-contracts.d.mts.map +1 -1
  130. package/tools/v1/contracts/create-historical-invoices-v1-contracts.d.ts.map +1 -1
  131. package/tools/v1/contracts/create-historical-invoices-v1-contracts.js +3 -0
  132. package/tools/v1/contracts/create-historical-invoices-v1-contracts.js.map +1 -1
  133. package/tools/v1/contracts/create-historical-invoices-v1-contracts.mjs +3 -0
  134. package/tools/v1/contracts/create-historical-invoices-v1-contracts.mjs.map +1 -1
  135. package/tools/v1/contracts/create-v1-contracts.d.mts.map +1 -1
  136. package/tools/v1/contracts/create-v1-contracts.d.ts.map +1 -1
  137. package/tools/v1/contracts/create-v1-contracts.js +44 -2
  138. package/tools/v1/contracts/create-v1-contracts.js.map +1 -1
  139. package/tools/v1/contracts/create-v1-contracts.mjs +44 -2
  140. package/tools/v1/contracts/create-v1-contracts.mjs.map +1 -1
  141. package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.js +1 -1
  142. package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.js.map +1 -1
  143. package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.mjs +1 -1
  144. package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.mjs.map +1 -1
  145. package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.d.mts.map +1 -1
  146. package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.d.ts.map +1 -1
  147. package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.js +1 -0
  148. package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.js.map +1 -1
  149. package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.mjs +1 -0
  150. package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.mjs.map +1 -1
  151. package/tools/v1/contracts/products/create-contracts-v1-products.d.mts.map +1 -1
  152. package/tools/v1/contracts/products/create-contracts-v1-products.d.ts.map +1 -1
  153. package/tools/v1/contracts/products/create-contracts-v1-products.js +4 -0
  154. package/tools/v1/contracts/products/create-contracts-v1-products.js.map +1 -1
  155. package/tools/v1/contracts/products/create-contracts-v1-products.mjs +4 -0
  156. package/tools/v1/contracts/products/create-contracts-v1-products.mjs.map +1 -1
  157. package/tools/v1/contracts/products/list-contracts-v1-products.js +1 -1
  158. package/tools/v1/contracts/products/list-contracts-v1-products.js.map +1 -1
  159. package/tools/v1/contracts/products/list-contracts-v1-products.mjs +1 -1
  160. package/tools/v1/contracts/products/list-contracts-v1-products.mjs.map +1 -1
  161. package/tools/v1/contracts/products/retrieve-contracts-v1-products.js +1 -1
  162. package/tools/v1/contracts/products/retrieve-contracts-v1-products.js.map +1 -1
  163. package/tools/v1/contracts/products/retrieve-contracts-v1-products.mjs +1 -1
  164. package/tools/v1/contracts/products/retrieve-contracts-v1-products.mjs.map +1 -1
  165. package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.d.mts.map +1 -1
  166. package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.d.ts.map +1 -1
  167. package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.js +1 -0
  168. package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.js.map +1 -1
  169. package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.mjs +1 -0
  170. package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.mjs.map +1 -1
  171. package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.d.mts.map +1 -1
  172. package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.d.ts.map +1 -1
  173. package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.js +2 -1
  174. package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.js.map +1 -1
  175. package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.mjs +2 -1
  176. package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.mjs.map +1 -1
  177. package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.js +1 -1
  178. package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.js.map +1 -1
  179. package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.mjs +1 -1
  180. package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.mjs.map +1 -1
  181. package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.d.mts.map +1 -1
  182. package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.d.ts.map +1 -1
  183. package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.js +1 -0
  184. package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.js.map +1 -1
  185. package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.mjs +1 -0
  186. package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.mjs.map +1 -1
  187. package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.d.mts.map +1 -1
  188. package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.d.ts.map +1 -1
  189. package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.js +2 -0
  190. package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.js.map +1 -1
  191. package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.mjs +2 -0
  192. package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.mjs.map +1 -1
  193. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.d.mts.map +1 -1
  194. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.d.ts.map +1 -1
  195. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.js +3 -1
  196. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.js.map +1 -1
  197. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.mjs +3 -1
  198. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.mjs.map +1 -1
  199. package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.d.mts.map +1 -1
  200. package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.d.ts.map +1 -1
  201. package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.js +3 -1
  202. package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.js.map +1 -1
  203. package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.mjs +3 -1
  204. package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.mjs.map +1 -1
  205. package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.js +1 -1
  206. package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.js.map +1 -1
  207. package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.mjs +1 -1
  208. package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.mjs.map +1 -1
  209. package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.d.mts.map +1 -1
  210. package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.d.ts.map +1 -1
  211. package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.js +3 -1
  212. package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.js.map +1 -1
  213. package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.mjs +3 -1
  214. package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.mjs.map +1 -1
  215. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.d.mts.map +1 -1
  216. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.d.ts.map +1 -1
  217. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.js +3 -1
  218. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.js.map +1 -1
  219. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.mjs +3 -1
  220. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.mjs.map +1 -1
  221. package/tools/v1/credit-grants/create-v1-credit-grants.d.mts.map +1 -1
  222. package/tools/v1/credit-grants/create-v1-credit-grants.d.ts.map +1 -1
  223. package/tools/v1/credit-grants/create-v1-credit-grants.js +1 -0
  224. package/tools/v1/credit-grants/create-v1-credit-grants.js.map +1 -1
  225. package/tools/v1/credit-grants/create-v1-credit-grants.mjs +1 -0
  226. package/tools/v1/credit-grants/create-v1-credit-grants.mjs.map +1 -1
  227. package/tools/v1/credit-grants/list-v1-credit-grants.js +1 -1
  228. package/tools/v1/credit-grants/list-v1-credit-grants.js.map +1 -1
  229. package/tools/v1/credit-grants/list-v1-credit-grants.mjs +1 -1
  230. package/tools/v1/credit-grants/list-v1-credit-grants.mjs.map +1 -1
  231. package/tools/v1/custom-fields/set-values-v1-custom-fields.d.mts.map +1 -1
  232. package/tools/v1/custom-fields/set-values-v1-custom-fields.d.ts.map +1 -1
  233. package/tools/v1/custom-fields/set-values-v1-custom-fields.js +1 -0
  234. package/tools/v1/custom-fields/set-values-v1-custom-fields.js.map +1 -1
  235. package/tools/v1/custom-fields/set-values-v1-custom-fields.mjs +1 -0
  236. package/tools/v1/custom-fields/set-values-v1-custom-fields.mjs.map +1 -1
  237. package/tools/v1/customers/commits/create-customers-v1-commits.d.mts.map +1 -1
  238. package/tools/v1/customers/commits/create-customers-v1-commits.d.ts.map +1 -1
  239. package/tools/v1/customers/commits/create-customers-v1-commits.js +7 -0
  240. package/tools/v1/customers/commits/create-customers-v1-commits.js.map +1 -1
  241. package/tools/v1/customers/commits/create-customers-v1-commits.mjs +7 -0
  242. package/tools/v1/customers/commits/create-customers-v1-commits.mjs.map +1 -1
  243. package/tools/v1/customers/create-v1-customers.d.mts.map +1 -1
  244. package/tools/v1/customers/create-v1-customers.d.ts.map +1 -1
  245. package/tools/v1/customers/create-v1-customers.js +3 -1
  246. package/tools/v1/customers/create-v1-customers.js.map +1 -1
  247. package/tools/v1/customers/create-v1-customers.mjs +3 -1
  248. package/tools/v1/customers/create-v1-customers.mjs.map +1 -1
  249. package/tools/v1/customers/credits/create-customers-v1-credits.d.mts.map +1 -1
  250. package/tools/v1/customers/credits/create-customers-v1-credits.d.ts.map +1 -1
  251. package/tools/v1/customers/credits/create-customers-v1-credits.js +3 -0
  252. package/tools/v1/customers/credits/create-customers-v1-credits.js.map +1 -1
  253. package/tools/v1/customers/credits/create-customers-v1-credits.mjs +3 -0
  254. package/tools/v1/customers/credits/create-customers-v1-credits.mjs.map +1 -1
  255. package/tools/v1/customers/list-billable-metrics-v1-customers.js +1 -1
  256. package/tools/v1/customers/list-billable-metrics-v1-customers.js.map +1 -1
  257. package/tools/v1/customers/list-billable-metrics-v1-customers.mjs +1 -1
  258. package/tools/v1/customers/list-billable-metrics-v1-customers.mjs.map +1 -1
  259. package/tools/v1/customers/list-costs-v1-customers.js +1 -1
  260. package/tools/v1/customers/list-costs-v1-customers.js.map +1 -1
  261. package/tools/v1/customers/list-costs-v1-customers.mjs +1 -1
  262. package/tools/v1/customers/list-costs-v1-customers.mjs.map +1 -1
  263. package/tools/v1/customers/list-v1-customers.js +1 -1
  264. package/tools/v1/customers/list-v1-customers.js.map +1 -1
  265. package/tools/v1/customers/list-v1-customers.mjs +1 -1
  266. package/tools/v1/customers/list-v1-customers.mjs.map +1 -1
  267. package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.js +1 -1
  268. package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.js.map +1 -1
  269. package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.mjs +1 -1
  270. package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.mjs.map +1 -1
  271. package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.d.mts.map +1 -1
  272. package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.d.ts.map +1 -1
  273. package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.js +1 -0
  274. package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.js.map +1 -1
  275. package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.mjs +1 -0
  276. package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.mjs.map +1 -1
  277. package/tools/v1/customers/plans/list-customers-v1-plans.js +1 -1
  278. package/tools/v1/customers/plans/list-customers-v1-plans.js.map +1 -1
  279. package/tools/v1/customers/plans/list-customers-v1-plans.mjs +1 -1
  280. package/tools/v1/customers/plans/list-customers-v1-plans.mjs.map +1 -1
  281. package/tools/v1/customers/preview-events-v1-customers.d.mts.map +1 -1
  282. package/tools/v1/customers/preview-events-v1-customers.d.ts.map +1 -1
  283. package/tools/v1/customers/preview-events-v1-customers.js +1 -0
  284. package/tools/v1/customers/preview-events-v1-customers.js.map +1 -1
  285. package/tools/v1/customers/preview-events-v1-customers.mjs +1 -0
  286. package/tools/v1/customers/preview-events-v1-customers.mjs.map +1 -1
  287. package/tools/v1/customers/retrieve-v1-customers.js +1 -1
  288. package/tools/v1/customers/retrieve-v1-customers.js.map +1 -1
  289. package/tools/v1/customers/retrieve-v1-customers.mjs +1 -1
  290. package/tools/v1/customers/retrieve-v1-customers.mjs.map +1 -1
  291. package/tools/v1/customers/set-name-v1-customers.js +1 -1
  292. package/tools/v1/customers/set-name-v1-customers.js.map +1 -1
  293. package/tools/v1/customers/set-name-v1-customers.mjs +1 -1
  294. package/tools/v1/customers/set-name-v1-customers.mjs.map +1 -1
  295. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.d.mts.map +1 -1
  296. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.d.ts.map +1 -1
  297. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.js +1 -0
  298. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.js.map +1 -1
  299. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.mjs +1 -0
  300. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.mjs.map +1 -1
  301. package/tools/v1/plans/get-details-v1-plans.js +1 -1
  302. package/tools/v1/plans/get-details-v1-plans.js.map +1 -1
  303. package/tools/v1/plans/get-details-v1-plans.mjs +1 -1
  304. package/tools/v1/plans/get-details-v1-plans.mjs.map +1 -1
  305. package/tools/v1/plans/list-charges-v1-plans.js +1 -1
  306. package/tools/v1/plans/list-charges-v1-plans.js.map +1 -1
  307. package/tools/v1/plans/list-charges-v1-plans.mjs +1 -1
  308. package/tools/v1/plans/list-charges-v1-plans.mjs.map +1 -1
  309. package/tools/v1/plans/list-customers-v1-plans.js +1 -1
  310. package/tools/v1/plans/list-customers-v1-plans.js.map +1 -1
  311. package/tools/v1/plans/list-customers-v1-plans.mjs +1 -1
  312. package/tools/v1/plans/list-customers-v1-plans.mjs.map +1 -1
  313. package/tools/v1/plans/list-v1-plans.js +1 -1
  314. package/tools/v1/plans/list-v1-plans.js.map +1 -1
  315. package/tools/v1/plans/list-v1-plans.mjs +1 -1
  316. package/tools/v1/plans/list-v1-plans.mjs.map +1 -1
  317. package/tools/v1/usage/ingest-v1-usage.d.mts.map +1 -1
  318. package/tools/v1/usage/ingest-v1-usage.d.ts.map +1 -1
  319. package/tools/v1/usage/ingest-v1-usage.js +1 -0
  320. package/tools/v1/usage/ingest-v1-usage.js.map +1 -1
  321. package/tools/v1/usage/ingest-v1-usage.mjs +1 -0
  322. package/tools/v1/usage/ingest-v1-usage.mjs.map +1 -1
  323. package/tools/v1/usage/list-v1-usage.js +1 -1
  324. package/tools/v1/usage/list-v1-usage.js.map +1 -1
  325. package/tools/v1/usage/list-v1-usage.mjs +1 -1
  326. package/tools/v1/usage/list-v1-usage.mjs.map +1 -1
  327. package/tools/v1/usage/search-v1-usage.js +1 -1
  328. package/tools/v1/usage/search-v1-usage.js.map +1 -1
  329. package/tools/v1/usage/search-v1-usage.mjs +1 -1
  330. package/tools/v1/usage/search-v1-usage.mjs.map +1 -1
  331. package/tools/v2/contracts/edit-commit-v2-contracts.d.mts.map +1 -1
  332. package/tools/v2/contracts/edit-commit-v2-contracts.d.ts.map +1 -1
  333. package/tools/v2/contracts/edit-commit-v2-contracts.js +6 -0
  334. package/tools/v2/contracts/edit-commit-v2-contracts.js.map +1 -1
  335. package/tools/v2/contracts/edit-commit-v2-contracts.mjs +6 -0
  336. package/tools/v2/contracts/edit-commit-v2-contracts.mjs.map +1 -1
  337. package/tools/v2/contracts/edit-credit-v2-contracts.d.mts.map +1 -1
  338. package/tools/v2/contracts/edit-credit-v2-contracts.d.ts.map +1 -1
  339. package/tools/v2/contracts/edit-credit-v2-contracts.js +6 -0
  340. package/tools/v2/contracts/edit-credit-v2-contracts.js.map +1 -1
  341. package/tools/v2/contracts/edit-credit-v2-contracts.mjs +6 -0
  342. package/tools/v2/contracts/edit-credit-v2-contracts.mjs.map +1 -1
  343. package/tools/v2/contracts/edit-v2-contracts.d.mts.map +1 -1
  344. package/tools/v2/contracts/edit-v2-contracts.d.ts.map +1 -1
  345. package/tools/v2/contracts/edit-v2-contracts.js +55 -4
  346. package/tools/v2/contracts/edit-v2-contracts.js.map +1 -1
  347. package/tools/v2/contracts/edit-v2-contracts.mjs +55 -4
  348. package/tools/v2/contracts/edit-v2-contracts.mjs.map +1 -1
@@ -102,6 +102,7 @@ export const tool: Tool = {
102
102
  },
103
103
  custom_fields: {
104
104
  type: 'object',
105
+ additionalProperties: true,
105
106
  },
106
107
  description: {
107
108
  type: 'string',
@@ -163,6 +164,11 @@ export const tool: Tool = {
163
164
  type: 'string',
164
165
  description: 'Defaults to USD (cents) if not passed.',
165
166
  },
167
+ do_not_invoice: {
168
+ type: 'boolean',
169
+ description:
170
+ 'This field is only applicable to commit invoice schedules. If true, this schedule will not generate an invoice.',
171
+ },
166
172
  recurring_schedule: {
167
173
  type: 'object',
168
174
  description:
@@ -284,6 +290,12 @@ export const tool: Tool = {
284
290
  type: 'object',
285
291
  description:
286
292
  'Metadata to be added to the Stripe invoice. Only applicable if using INVOICE as your payment type.',
293
+ additionalProperties: true,
294
+ },
295
+ on_session_payment: {
296
+ type: 'boolean',
297
+ description:
298
+ 'If true, the payment will be made assuming the customer is present (i.e. on session). \n\nIf false, the payment will be made assuming the customer is not present (i.e. off session). \nFor cardholders from a country with an e-mandate requirement (e.g. India), the payment may be declined.\n\nIf left blank, will default to false.',
287
299
  },
288
300
  },
289
301
  required: ['payment_type'],
@@ -319,9 +331,11 @@ export const tool: Tool = {
319
331
  properties: {
320
332
  presentation_group_values: {
321
333
  type: 'object',
334
+ additionalProperties: true,
322
335
  },
323
336
  pricing_group_values: {
324
337
  type: 'object',
338
+ additionalProperties: true,
325
339
  },
326
340
  product_id: {
327
341
  type: 'string',
@@ -407,6 +421,7 @@ export const tool: Tool = {
407
421
  },
408
422
  custom_fields: {
409
423
  type: 'object',
424
+ additionalProperties: true,
410
425
  },
411
426
  description: {
412
427
  type: 'string',
@@ -485,9 +500,11 @@ export const tool: Tool = {
485
500
  properties: {
486
501
  presentation_group_values: {
487
502
  type: 'object',
503
+ additionalProperties: true,
488
504
  },
489
505
  pricing_group_values: {
490
506
  type: 'object',
507
+ additionalProperties: true,
491
508
  },
492
509
  product_id: {
493
510
  type: 'string',
@@ -511,6 +528,7 @@ export const tool: Tool = {
511
528
  },
512
529
  custom_fields: {
513
530
  type: 'object',
531
+ additionalProperties: true,
514
532
  },
515
533
  discounts: {
516
534
  type: 'array',
@@ -529,6 +547,11 @@ export const tool: Tool = {
529
547
  type: 'string',
530
548
  description: 'Defaults to USD (cents) if not passed.',
531
549
  },
550
+ do_not_invoice: {
551
+ type: 'boolean',
552
+ description:
553
+ 'This field is only applicable to commit invoice schedules. If true, this schedule will not generate an invoice.',
554
+ },
532
555
  recurring_schedule: {
533
556
  type: 'object',
534
557
  description:
@@ -604,6 +627,7 @@ export const tool: Tool = {
604
627
  },
605
628
  custom_fields: {
606
629
  type: 'object',
630
+ additionalProperties: true,
607
631
  },
608
632
  name: {
609
633
  type: 'string',
@@ -679,11 +703,13 @@ export const tool: Tool = {
679
703
  type: 'object',
680
704
  description:
681
705
  'A map of group names to values. The override will only apply to line items with the specified presentation group values.',
706
+ additionalProperties: true,
682
707
  },
683
708
  pricing_group_values: {
684
709
  type: 'object',
685
710
  description:
686
711
  'A map of pricing group names to values. The override will only apply to products with the specified pricing group values.',
712
+ additionalProperties: true,
687
713
  },
688
714
  product_id: {
689
715
  type: 'string',
@@ -732,6 +758,7 @@ export const tool: Tool = {
732
758
  type: 'object',
733
759
  description:
734
760
  'Only set for CUSTOM rate_type. This field is interpreted by custom rate processors.',
761
+ additionalProperties: true,
735
762
  },
736
763
  is_prorated: {
737
764
  type: 'boolean',
@@ -823,6 +850,7 @@ export const tool: Tool = {
823
850
  },
824
851
  custom_fields: {
825
852
  type: 'object',
853
+ additionalProperties: true,
826
854
  },
827
855
  description: {
828
856
  type: 'string',
@@ -926,6 +954,11 @@ export const tool: Tool = {
926
954
  type: 'string',
927
955
  description: 'Defaults to USD (cents) if not passed.',
928
956
  },
957
+ do_not_invoice: {
958
+ type: 'boolean',
959
+ description:
960
+ 'This field is only applicable to commit invoice schedules. If true, this schedule will not generate an invoice.',
961
+ },
929
962
  recurring_schedule: {
930
963
  type: 'object',
931
964
  description:
@@ -999,6 +1032,10 @@ export const tool: Tool = {
999
1032
  },
1000
1033
  },
1001
1034
  },
1035
+ custom_fields: {
1036
+ type: 'object',
1037
+ additionalProperties: true,
1038
+ },
1002
1039
  name: {
1003
1040
  type: 'string',
1004
1041
  description: 'displayed on invoices',
@@ -64,9 +64,11 @@ export const tool: Tool = {
64
64
  },
65
65
  presentation_group_values: {
66
66
  type: 'object',
67
+ additionalProperties: true,
67
68
  },
68
69
  pricing_group_values: {
69
70
  type: 'object',
71
+ additionalProperties: true,
70
72
  },
71
73
  quantity: {
72
74
  type: 'number',
@@ -106,6 +108,7 @@ export const tool: Tool = {
106
108
  },
107
109
  custom_fields: {
108
110
  type: 'object',
111
+ additionalProperties: true,
109
112
  },
110
113
  },
111
114
  required: [
@@ -118,6 +118,7 @@ export const tool: Tool = {
118
118
  },
119
119
  custom_fields: {
120
120
  type: 'object',
121
+ additionalProperties: true,
121
122
  },
122
123
  description: {
123
124
  type: 'string',
@@ -179,6 +180,11 @@ export const tool: Tool = {
179
180
  type: 'string',
180
181
  description: 'Defaults to USD (cents) if not passed.',
181
182
  },
183
+ do_not_invoice: {
184
+ type: 'boolean',
185
+ description:
186
+ 'This field is only applicable to commit invoice schedules. If true, this schedule will not generate an invoice.',
187
+ },
182
188
  recurring_schedule: {
183
189
  type: 'object',
184
190
  description:
@@ -300,6 +306,12 @@ export const tool: Tool = {
300
306
  type: 'object',
301
307
  description:
302
308
  'Metadata to be added to the Stripe invoice. Only applicable if using INVOICE as your payment type.',
309
+ additionalProperties: true,
310
+ },
311
+ on_session_payment: {
312
+ type: 'boolean',
313
+ description:
314
+ 'If true, the payment will be made assuming the customer is present (i.e. on session). \n\nIf false, the payment will be made assuming the customer is not present (i.e. off session). \nFor cardholders from a country with an e-mandate requirement (e.g. India), the payment may be declined.\n\nIf left blank, will default to false.',
303
315
  },
304
316
  },
305
317
  required: ['payment_type'],
@@ -335,9 +347,11 @@ export const tool: Tool = {
335
347
  properties: {
336
348
  presentation_group_values: {
337
349
  type: 'object',
350
+ additionalProperties: true,
338
351
  },
339
352
  pricing_group_values: {
340
353
  type: 'object',
354
+ additionalProperties: true,
341
355
  },
342
356
  product_id: {
343
357
  type: 'string',
@@ -423,6 +437,7 @@ export const tool: Tool = {
423
437
  },
424
438
  custom_fields: {
425
439
  type: 'object',
440
+ additionalProperties: true,
426
441
  },
427
442
  description: {
428
443
  type: 'string',
@@ -501,9 +516,11 @@ export const tool: Tool = {
501
516
  properties: {
502
517
  presentation_group_values: {
503
518
  type: 'object',
519
+ additionalProperties: true,
504
520
  },
505
521
  pricing_group_values: {
506
522
  type: 'object',
523
+ additionalProperties: true,
507
524
  },
508
525
  product_id: {
509
526
  type: 'string',
@@ -527,6 +544,7 @@ export const tool: Tool = {
527
544
  },
528
545
  custom_fields: {
529
546
  type: 'object',
547
+ additionalProperties: true,
530
548
  },
531
549
  discounts: {
532
550
  type: 'array',
@@ -545,6 +563,11 @@ export const tool: Tool = {
545
563
  type: 'string',
546
564
  description: 'Defaults to USD (cents) if not passed.',
547
565
  },
566
+ do_not_invoice: {
567
+ type: 'boolean',
568
+ description:
569
+ 'This field is only applicable to commit invoice schedules. If true, this schedule will not generate an invoice.',
570
+ },
548
571
  recurring_schedule: {
549
572
  type: 'object',
550
573
  description:
@@ -620,6 +643,7 @@ export const tool: Tool = {
620
643
  },
621
644
  custom_fields: {
622
645
  type: 'object',
646
+ additionalProperties: true,
623
647
  },
624
648
  name: {
625
649
  type: 'string',
@@ -730,11 +754,13 @@ export const tool: Tool = {
730
754
  type: 'object',
731
755
  description:
732
756
  'A map of group names to values. The override will only apply to line items with the specified presentation group values.',
757
+ additionalProperties: true,
733
758
  },
734
759
  pricing_group_values: {
735
760
  type: 'object',
736
761
  description:
737
762
  'A map of pricing group names to values. The override will only apply to products with the specified pricing group values.',
763
+ additionalProperties: true,
738
764
  },
739
765
  product_id: {
740
766
  type: 'string',
@@ -783,6 +809,7 @@ export const tool: Tool = {
783
809
  type: 'object',
784
810
  description:
785
811
  'Only set for CUSTOM rate_type. This field is interpreted by custom rate processors.',
812
+ additionalProperties: true,
786
813
  },
787
814
  is_prorated: {
788
815
  type: 'boolean',
@@ -893,9 +920,11 @@ export const tool: Tool = {
893
920
  properties: {
894
921
  presentation_group_values: {
895
922
  type: 'object',
923
+ additionalProperties: true,
896
924
  },
897
925
  pricing_group_values: {
898
926
  type: 'object',
927
+ additionalProperties: true,
899
928
  },
900
929
  product_id: {
901
930
  type: 'string',
@@ -960,6 +989,7 @@ export const tool: Tool = {
960
989
  type: 'object',
961
990
  description:
962
991
  'Metadata to be added to the Stripe invoice. Only applicable if using INVOICE as your payment type.',
992
+ additionalProperties: true,
963
993
  },
964
994
  },
965
995
  required: ['payment_type'],
@@ -1019,6 +1049,7 @@ export const tool: Tool = {
1019
1049
  },
1020
1050
  custom_fields: {
1021
1051
  type: 'object',
1052
+ additionalProperties: true,
1022
1053
  },
1023
1054
  description: {
1024
1055
  type: 'string',
@@ -1056,7 +1087,7 @@ export const tool: Tool = {
1056
1087
  quantity: {
1057
1088
  type: 'number',
1058
1089
  description:
1059
- 'This field is currently required. Upcoming recurring commit/credit configuration options will allow it to be optional.',
1090
+ 'This field is required unless a subscription is attached via `subscription_config`.',
1060
1091
  },
1061
1092
  },
1062
1093
  required: ['credit_type_id', 'unit_price'],
@@ -1213,9 +1244,11 @@ export const tool: Tool = {
1213
1244
  properties: {
1214
1245
  presentation_group_values: {
1215
1246
  type: 'object',
1247
+ additionalProperties: true,
1216
1248
  },
1217
1249
  pricing_group_values: {
1218
1250
  type: 'object',
1251
+ additionalProperties: true,
1219
1252
  },
1220
1253
  product_id: {
1221
1254
  type: 'string',
@@ -1286,7 +1319,7 @@ export const tool: Tool = {
1286
1319
  quantity: {
1287
1320
  type: 'number',
1288
1321
  description:
1289
- 'This field is currently required. Upcoming recurring commit/credit configuration options will allow it to be optional.',
1322
+ 'This field is required unless a subscription is attached via `subscription_config`.',
1290
1323
  },
1291
1324
  },
1292
1325
  required: ['credit_type_id', 'unit_price'],
@@ -1427,9 +1460,11 @@ export const tool: Tool = {
1427
1460
  properties: {
1428
1461
  presentation_group_values: {
1429
1462
  type: 'object',
1463
+ additionalProperties: true,
1430
1464
  },
1431
1465
  pricing_group_values: {
1432
1466
  type: 'object',
1467
+ additionalProperties: true,
1433
1468
  },
1434
1469
  product_id: {
1435
1470
  type: 'string',
@@ -1572,6 +1607,11 @@ export const tool: Tool = {
1572
1607
  type: 'string',
1573
1608
  description: 'Defaults to USD (cents) if not passed.',
1574
1609
  },
1610
+ do_not_invoice: {
1611
+ type: 'boolean',
1612
+ description:
1613
+ 'This field is only applicable to commit invoice schedules. If true, this schedule will not generate an invoice.',
1614
+ },
1575
1615
  recurring_schedule: {
1576
1616
  type: 'object',
1577
1617
  description:
@@ -1645,6 +1685,10 @@ export const tool: Tool = {
1645
1685
  },
1646
1686
  },
1647
1687
  },
1688
+ custom_fields: {
1689
+ type: 'object',
1690
+ additionalProperties: true,
1691
+ },
1648
1692
  name: {
1649
1693
  type: 'string',
1650
1694
  description: 'displayed on invoices',
@@ -1729,6 +1773,7 @@ export const tool: Tool = {
1729
1773
  type: 'object',
1730
1774
  description:
1731
1775
  'Metadata to be added to the Stripe invoice. Only applicable if using INVOICE as your payment type.',
1776
+ additionalProperties: true,
1732
1777
  },
1733
1778
  },
1734
1779
  required: ['payment_type'],
@@ -1798,6 +1843,7 @@ export const tool: Tool = {
1798
1843
  },
1799
1844
  custom_fields: {
1800
1845
  type: 'object',
1846
+ additionalProperties: true,
1801
1847
  },
1802
1848
  description: {
1803
1849
  type: 'string',
@@ -18,7 +18,7 @@ export const metadata: Metadata = {
18
18
  export const tool: Tool = {
19
19
  name: 'retrieve_contracts_v1_named_schedules',
20
20
  description:
21
- "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nGet a named schedule for the given rate card. This endpoint's availability is dependent on your client's configuration.\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n 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 },\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```",
21
+ "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nGet a named schedule for the given rate card. This endpoint's availability is dependent on your client's configuration.\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n 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```",
22
22
  inputSchema: {
23
23
  type: 'object',
24
24
  properties: {
@@ -37,6 +37,7 @@ export const tool: Tool = {
37
37
  type: 'object',
38
38
  description:
39
39
  'The value to set for the named schedule. The structure of this object is specific to the named schedule.',
40
+ additionalProperties: true,
40
41
  },
41
42
  ending_before: {
42
43
  type: 'string',
@@ -48,6 +48,10 @@ export const tool: Tool = {
48
48
  type: 'string',
49
49
  },
50
50
  },
51
+ custom_fields: {
52
+ type: 'object',
53
+ additionalProperties: true,
54
+ },
51
55
  exclude_free_usage: {
52
56
  type: 'boolean',
53
57
  description:
@@ -18,7 +18,7 @@ export const metadata: Metadata = {
18
18
  export const tool: Tool = {
19
19
  name: 'list_contracts_v1_products',
20
20
  description:
21
- "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nList products\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 current: {\n $ref: '#/$defs/product_list_item_state'\n },\n initial: {\n $ref: '#/$defs/product_list_item_state'\n },\n type: {\n type: 'string',\n enum: [ 'USAGE',\n 'SUBSCRIPTION',\n 'COMPOSITE',\n 'FIXED',\n 'PRO_SERVICE'\n ]\n },\n updates: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n created_at: {\n type: 'string',\n format: 'date-time'\n },\n created_by: {\n type: 'string'\n },\n billable_metric_id: {\n type: 'string'\n },\n composite_product_ids: {\n type: 'array',\n items: {\n type: 'string'\n }\n },\n composite_tags: {\n type: 'array',\n items: {\n type: 'string'\n }\n },\n exclude_free_usage: {\n type: 'boolean'\n },\n is_refundable: {\n type: 'boolean'\n },\n name: {\n type: 'string'\n },\n netsuite_internal_item_id: {\n type: 'string',\n description: 'This field\\'s availability is dependent on your client\\'s configuration.'\n },\n netsuite_overage_item_id: {\n type: 'string',\n description: 'This field\\'s availability is dependent on your client\\'s configuration.'\n },\n presentation_group_key: {\n type: 'array',\n description: 'For USAGE products only. Groups usage line items on invoices. The superset of values in the pricing group key and presentation group key must be set as one compound group key on the billable metric.',\n items: {\n type: 'string'\n }\n },\n pricing_group_key: {\n type: 'array',\n description: 'For USAGE products only. If set, pricing for this product will be determined for each pricing_group_key value, as opposed to the product as a whole. The superset of values in the pricing group key and presentation group key must be set as one compound group key on the billable metric.',\n items: {\n type: 'string'\n }\n },\n quantity_conversion: {\n $ref: '#/$defs/quantity_conversion'\n },\n quantity_rounding: {\n $ref: '#/$defs/quantity_rounding'\n },\n starting_at: {\n type: 'string',\n format: 'date-time'\n },\n tags: {\n type: 'array',\n items: {\n type: 'string'\n }\n }\n },\n required: [ 'created_at',\n 'created_by'\n ]\n }\n },\n archived_at: {\n type: 'string',\n format: 'date-time'\n },\n custom_fields: {\n type: 'object'\n }\n },\n required: [ 'id',\n 'current',\n 'initial',\n 'type',\n 'updates'\n ]\n }\n },\n next_page: {\n type: 'string'\n }\n },\n required: [ 'data',\n 'next_page'\n ],\n $defs: {\n product_list_item_state: {\n type: 'object',\n properties: {\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 billable_metric_id: {\n type: 'string'\n },\n composite_product_ids: {\n type: 'array',\n items: {\n type: 'string'\n }\n },\n composite_tags: {\n type: 'array',\n items: {\n type: 'string'\n }\n },\n exclude_free_usage: {\n type: 'boolean'\n },\n is_refundable: {\n type: 'boolean',\n description: 'This field\\'s availability is dependent on your client\\'s configuration.'\n },\n netsuite_internal_item_id: {\n type: 'string',\n description: 'This field\\'s availability is dependent on your client\\'s configuration.'\n },\n netsuite_overage_item_id: {\n type: 'string',\n description: 'This field\\'s availability is dependent on your client\\'s configuration.'\n },\n presentation_group_key: {\n type: 'array',\n description: 'For USAGE products only. Groups usage line items on invoices. The superset of values in the pricing group key and presentation group key must be set as one compound group key on the billable metric.',\n items: {\n type: 'string'\n }\n },\n pricing_group_key: {\n type: 'array',\n description: 'For USAGE products only. If set, pricing for this product will be determined for each pricing_group_key value, as opposed to the product as a whole. The superset of values in the pricing group key and presentation group key must be set as one compound group key on the billable metric.',\n items: {\n type: 'string'\n }\n },\n quantity_conversion: {\n $ref: '#/$defs/quantity_conversion'\n },\n quantity_rounding: {\n $ref: '#/$defs/quantity_rounding'\n },\n starting_at: {\n type: 'string',\n format: 'date-time'\n },\n tags: {\n type: 'array',\n items: {\n type: 'string'\n }\n }\n },\n required: [ 'created_at',\n 'created_by',\n 'name'\n ]\n },\n quantity_conversion: {\n type: 'object',\n description: 'Optional. Only valid for USAGE products. If provided, the quantity will be converted using the provided conversion factor and operation. For example, if the operation is \"multiply\" and the conversion factor is 100, then the quantity will be multiplied by 100. This can be used in cases where data is sent in one unit and priced in another. For example, data could be sent in MB and priced in GB. In this case, the conversion factor would be 1024 and the operation would be \"divide\".',\n properties: {\n conversion_factor: {\n type: 'number',\n description: 'The factor to multiply or divide the quantity by.'\n },\n operation: {\n type: 'string',\n description: 'The operation to perform on the quantity',\n enum: [ 'MULTIPLY',\n 'DIVIDE'\n ]\n },\n name: {\n type: 'string',\n description: 'Optional name for this conversion.'\n }\n },\n required: [ 'conversion_factor',\n 'operation'\n ]\n },\n quantity_rounding: {\n type: 'object',\n description: 'Optional. Only valid for USAGE products. If provided, the quantity will be rounded using the provided rounding method and decimal places. For example, if the method is \"round up\" and the decimal places is 0, then the quantity will be rounded up to the nearest integer.',\n properties: {\n decimal_places: {\n type: 'number'\n },\n rounding_method: {\n type: 'string',\n enum: [ 'ROUND_UP',\n 'ROUND_DOWN',\n 'ROUND_HALF_UP'\n ]\n }\n },\n required: [ 'decimal_places',\n 'rounding_method'\n ]\n }\n }\n}\n```",
21
+ "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nList products\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 current: {\n $ref: '#/$defs/product_list_item_state'\n },\n initial: {\n $ref: '#/$defs/product_list_item_state'\n },\n type: {\n type: 'string',\n enum: [ 'USAGE',\n 'SUBSCRIPTION',\n 'COMPOSITE',\n 'FIXED',\n 'PRO_SERVICE'\n ]\n },\n updates: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n created_at: {\n type: 'string',\n format: 'date-time'\n },\n created_by: {\n type: 'string'\n },\n billable_metric_id: {\n type: 'string'\n },\n composite_product_ids: {\n type: 'array',\n items: {\n type: 'string'\n }\n },\n composite_tags: {\n type: 'array',\n items: {\n type: 'string'\n }\n },\n exclude_free_usage: {\n type: 'boolean'\n },\n is_refundable: {\n type: 'boolean'\n },\n name: {\n type: 'string'\n },\n netsuite_internal_item_id: {\n type: 'string',\n description: 'This field\\'s availability is dependent on your client\\'s configuration.'\n },\n netsuite_overage_item_id: {\n type: 'string',\n description: 'This field\\'s availability is dependent on your client\\'s configuration.'\n },\n presentation_group_key: {\n type: 'array',\n description: 'For USAGE products only. Groups usage line items on invoices. The superset of values in the pricing group key and presentation group key must be set as one compound group key on the billable metric.',\n items: {\n type: 'string'\n }\n },\n pricing_group_key: {\n type: 'array',\n description: 'For USAGE products only. If set, pricing for this product will be determined for each pricing_group_key value, as opposed to the product as a whole. The superset of values in the pricing group key and presentation group key must be set as one compound group key on the billable metric.',\n items: {\n type: 'string'\n }\n },\n quantity_conversion: {\n $ref: '#/$defs/quantity_conversion'\n },\n quantity_rounding: {\n $ref: '#/$defs/quantity_rounding'\n },\n starting_at: {\n type: 'string',\n format: 'date-time'\n },\n tags: {\n type: 'array',\n items: {\n type: 'string'\n }\n }\n },\n required: [ 'created_at',\n 'created_by'\n ]\n }\n },\n archived_at: {\n type: 'string',\n format: 'date-time'\n },\n custom_fields: {\n type: 'object',\n additionalProperties: true\n }\n },\n required: [ 'id',\n 'current',\n 'initial',\n 'type',\n 'updates'\n ]\n }\n },\n next_page: {\n type: 'string'\n }\n },\n required: [ 'data',\n 'next_page'\n ],\n $defs: {\n product_list_item_state: {\n type: 'object',\n properties: {\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 billable_metric_id: {\n type: 'string'\n },\n composite_product_ids: {\n type: 'array',\n items: {\n type: 'string'\n }\n },\n composite_tags: {\n type: 'array',\n items: {\n type: 'string'\n }\n },\n exclude_free_usage: {\n type: 'boolean'\n },\n is_refundable: {\n type: 'boolean',\n description: 'This field\\'s availability is dependent on your client\\'s configuration.'\n },\n netsuite_internal_item_id: {\n type: 'string',\n description: 'This field\\'s availability is dependent on your client\\'s configuration.'\n },\n netsuite_overage_item_id: {\n type: 'string',\n description: 'This field\\'s availability is dependent on your client\\'s configuration.'\n },\n presentation_group_key: {\n type: 'array',\n description: 'For USAGE products only. Groups usage line items on invoices. The superset of values in the pricing group key and presentation group key must be set as one compound group key on the billable metric.',\n items: {\n type: 'string'\n }\n },\n pricing_group_key: {\n type: 'array',\n description: 'For USAGE products only. If set, pricing for this product will be determined for each pricing_group_key value, as opposed to the product as a whole. The superset of values in the pricing group key and presentation group key must be set as one compound group key on the billable metric.',\n items: {\n type: 'string'\n }\n },\n quantity_conversion: {\n $ref: '#/$defs/quantity_conversion'\n },\n quantity_rounding: {\n $ref: '#/$defs/quantity_rounding'\n },\n starting_at: {\n type: 'string',\n format: 'date-time'\n },\n tags: {\n type: 'array',\n items: {\n type: 'string'\n }\n }\n },\n required: [ 'created_at',\n 'created_by',\n 'name'\n ]\n },\n quantity_conversion: {\n type: 'object',\n description: 'Optional. Only valid for USAGE products. If provided, the quantity will be converted using the provided conversion factor and operation. For example, if the operation is \"multiply\" and the conversion factor is 100, then the quantity will be multiplied by 100. This can be used in cases where data is sent in one unit and priced in another. For example, data could be sent in MB and priced in GB. In this case, the conversion factor would be 1024 and the operation would be \"divide\".',\n properties: {\n conversion_factor: {\n type: 'number',\n description: 'The factor to multiply or divide the quantity by.'\n },\n operation: {\n type: 'string',\n description: 'The operation to perform on the quantity',\n enum: [ 'MULTIPLY',\n 'DIVIDE'\n ]\n },\n name: {\n type: 'string',\n description: 'Optional name for this conversion.'\n }\n },\n required: [ 'conversion_factor',\n 'operation'\n ]\n },\n quantity_rounding: {\n type: 'object',\n description: 'Optional. Only valid for USAGE products. If provided, the quantity will be rounded using the provided rounding method and decimal places. For example, if the method is \"round up\" and the decimal places is 0, then the quantity will be rounded up to the nearest integer.',\n properties: {\n decimal_places: {\n type: 'number'\n },\n rounding_method: {\n type: 'string',\n enum: [ 'ROUND_UP',\n 'ROUND_DOWN',\n 'ROUND_HALF_UP'\n ]\n }\n },\n required: [ 'decimal_places',\n 'rounding_method'\n ]\n }\n }\n}\n```",
22
22
  inputSchema: {
23
23
  type: 'object',
24
24
  properties: {
@@ -18,7 +18,7 @@ export const metadata: Metadata = {
18
18
  export const tool: Tool = {
19
19
  name: 'retrieve_contracts_v1_products',
20
20
  description:
21
- "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nGet a specific product\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n current: {\n $ref: '#/$defs/product_list_item_state'\n },\n initial: {\n $ref: '#/$defs/product_list_item_state'\n },\n type: {\n type: 'string',\n enum: [ 'USAGE',\n 'SUBSCRIPTION',\n 'COMPOSITE',\n 'FIXED',\n 'PRO_SERVICE'\n ]\n },\n updates: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n created_at: {\n type: 'string',\n format: 'date-time'\n },\n created_by: {\n type: 'string'\n },\n billable_metric_id: {\n type: 'string'\n },\n composite_product_ids: {\n type: 'array',\n items: {\n type: 'string'\n }\n },\n composite_tags: {\n type: 'array',\n items: {\n type: 'string'\n }\n },\n exclude_free_usage: {\n type: 'boolean'\n },\n is_refundable: {\n type: 'boolean'\n },\n name: {\n type: 'string'\n },\n netsuite_internal_item_id: {\n type: 'string',\n description: 'This field\\'s availability is dependent on your client\\'s configuration.'\n },\n netsuite_overage_item_id: {\n type: 'string',\n description: 'This field\\'s availability is dependent on your client\\'s configuration.'\n },\n presentation_group_key: {\n type: 'array',\n description: 'For USAGE products only. Groups usage line items on invoices. The superset of values in the pricing group key and presentation group key must be set as one compound group key on the billable metric.',\n items: {\n type: 'string'\n }\n },\n pricing_group_key: {\n type: 'array',\n description: 'For USAGE products only. If set, pricing for this product will be determined for each pricing_group_key value, as opposed to the product as a whole. The superset of values in the pricing group key and presentation group key must be set as one compound group key on the billable metric.',\n items: {\n type: 'string'\n }\n },\n quantity_conversion: {\n $ref: '#/$defs/quantity_conversion'\n },\n quantity_rounding: {\n $ref: '#/$defs/quantity_rounding'\n },\n starting_at: {\n type: 'string',\n format: 'date-time'\n },\n tags: {\n type: 'array',\n items: {\n type: 'string'\n }\n }\n },\n required: [ 'created_at',\n 'created_by'\n ]\n }\n },\n archived_at: {\n type: 'string',\n format: 'date-time'\n },\n custom_fields: {\n type: 'object'\n }\n },\n required: [ 'id',\n 'current',\n 'initial',\n 'type',\n 'updates'\n ]\n }\n },\n required: [ 'data'\n ],\n $defs: {\n product_list_item_state: {\n type: 'object',\n properties: {\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 billable_metric_id: {\n type: 'string'\n },\n composite_product_ids: {\n type: 'array',\n items: {\n type: 'string'\n }\n },\n composite_tags: {\n type: 'array',\n items: {\n type: 'string'\n }\n },\n exclude_free_usage: {\n type: 'boolean'\n },\n is_refundable: {\n type: 'boolean',\n description: 'This field\\'s availability is dependent on your client\\'s configuration.'\n },\n netsuite_internal_item_id: {\n type: 'string',\n description: 'This field\\'s availability is dependent on your client\\'s configuration.'\n },\n netsuite_overage_item_id: {\n type: 'string',\n description: 'This field\\'s availability is dependent on your client\\'s configuration.'\n },\n presentation_group_key: {\n type: 'array',\n description: 'For USAGE products only. Groups usage line items on invoices. The superset of values in the pricing group key and presentation group key must be set as one compound group key on the billable metric.',\n items: {\n type: 'string'\n }\n },\n pricing_group_key: {\n type: 'array',\n description: 'For USAGE products only. If set, pricing for this product will be determined for each pricing_group_key value, as opposed to the product as a whole. The superset of values in the pricing group key and presentation group key must be set as one compound group key on the billable metric.',\n items: {\n type: 'string'\n }\n },\n quantity_conversion: {\n $ref: '#/$defs/quantity_conversion'\n },\n quantity_rounding: {\n $ref: '#/$defs/quantity_rounding'\n },\n starting_at: {\n type: 'string',\n format: 'date-time'\n },\n tags: {\n type: 'array',\n items: {\n type: 'string'\n }\n }\n },\n required: [ 'created_at',\n 'created_by',\n 'name'\n ]\n },\n quantity_conversion: {\n type: 'object',\n description: 'Optional. Only valid for USAGE products. If provided, the quantity will be converted using the provided conversion factor and operation. For example, if the operation is \"multiply\" and the conversion factor is 100, then the quantity will be multiplied by 100. This can be used in cases where data is sent in one unit and priced in another. For example, data could be sent in MB and priced in GB. In this case, the conversion factor would be 1024 and the operation would be \"divide\".',\n properties: {\n conversion_factor: {\n type: 'number',\n description: 'The factor to multiply or divide the quantity by.'\n },\n operation: {\n type: 'string',\n description: 'The operation to perform on the quantity',\n enum: [ 'MULTIPLY',\n 'DIVIDE'\n ]\n },\n name: {\n type: 'string',\n description: 'Optional name for this conversion.'\n }\n },\n required: [ 'conversion_factor',\n 'operation'\n ]\n },\n quantity_rounding: {\n type: 'object',\n description: 'Optional. Only valid for USAGE products. If provided, the quantity will be rounded using the provided rounding method and decimal places. For example, if the method is \"round up\" and the decimal places is 0, then the quantity will be rounded up to the nearest integer.',\n properties: {\n decimal_places: {\n type: 'number'\n },\n rounding_method: {\n type: 'string',\n enum: [ 'ROUND_UP',\n 'ROUND_DOWN',\n 'ROUND_HALF_UP'\n ]\n }\n },\n required: [ 'decimal_places',\n 'rounding_method'\n ]\n }\n }\n}\n```",
21
+ "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nGet a specific product\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n data: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n current: {\n $ref: '#/$defs/product_list_item_state'\n },\n initial: {\n $ref: '#/$defs/product_list_item_state'\n },\n type: {\n type: 'string',\n enum: [ 'USAGE',\n 'SUBSCRIPTION',\n 'COMPOSITE',\n 'FIXED',\n 'PRO_SERVICE'\n ]\n },\n updates: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n created_at: {\n type: 'string',\n format: 'date-time'\n },\n created_by: {\n type: 'string'\n },\n billable_metric_id: {\n type: 'string'\n },\n composite_product_ids: {\n type: 'array',\n items: {\n type: 'string'\n }\n },\n composite_tags: {\n type: 'array',\n items: {\n type: 'string'\n }\n },\n exclude_free_usage: {\n type: 'boolean'\n },\n is_refundable: {\n type: 'boolean'\n },\n name: {\n type: 'string'\n },\n netsuite_internal_item_id: {\n type: 'string',\n description: 'This field\\'s availability is dependent on your client\\'s configuration.'\n },\n netsuite_overage_item_id: {\n type: 'string',\n description: 'This field\\'s availability is dependent on your client\\'s configuration.'\n },\n presentation_group_key: {\n type: 'array',\n description: 'For USAGE products only. Groups usage line items on invoices. The superset of values in the pricing group key and presentation group key must be set as one compound group key on the billable metric.',\n items: {\n type: 'string'\n }\n },\n pricing_group_key: {\n type: 'array',\n description: 'For USAGE products only. If set, pricing for this product will be determined for each pricing_group_key value, as opposed to the product as a whole. The superset of values in the pricing group key and presentation group key must be set as one compound group key on the billable metric.',\n items: {\n type: 'string'\n }\n },\n quantity_conversion: {\n $ref: '#/$defs/quantity_conversion'\n },\n quantity_rounding: {\n $ref: '#/$defs/quantity_rounding'\n },\n starting_at: {\n type: 'string',\n format: 'date-time'\n },\n tags: {\n type: 'array',\n items: {\n type: 'string'\n }\n }\n },\n required: [ 'created_at',\n 'created_by'\n ]\n }\n },\n archived_at: {\n type: 'string',\n format: 'date-time'\n },\n custom_fields: {\n type: 'object',\n additionalProperties: true\n }\n },\n required: [ 'id',\n 'current',\n 'initial',\n 'type',\n 'updates'\n ]\n }\n },\n required: [ 'data'\n ],\n $defs: {\n product_list_item_state: {\n type: 'object',\n properties: {\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 billable_metric_id: {\n type: 'string'\n },\n composite_product_ids: {\n type: 'array',\n items: {\n type: 'string'\n }\n },\n composite_tags: {\n type: 'array',\n items: {\n type: 'string'\n }\n },\n exclude_free_usage: {\n type: 'boolean'\n },\n is_refundable: {\n type: 'boolean',\n description: 'This field\\'s availability is dependent on your client\\'s configuration.'\n },\n netsuite_internal_item_id: {\n type: 'string',\n description: 'This field\\'s availability is dependent on your client\\'s configuration.'\n },\n netsuite_overage_item_id: {\n type: 'string',\n description: 'This field\\'s availability is dependent on your client\\'s configuration.'\n },\n presentation_group_key: {\n type: 'array',\n description: 'For USAGE products only. Groups usage line items on invoices. The superset of values in the pricing group key and presentation group key must be set as one compound group key on the billable metric.',\n items: {\n type: 'string'\n }\n },\n pricing_group_key: {\n type: 'array',\n description: 'For USAGE products only. If set, pricing for this product will be determined for each pricing_group_key value, as opposed to the product as a whole. The superset of values in the pricing group key and presentation group key must be set as one compound group key on the billable metric.',\n items: {\n type: 'string'\n }\n },\n quantity_conversion: {\n $ref: '#/$defs/quantity_conversion'\n },\n quantity_rounding: {\n $ref: '#/$defs/quantity_rounding'\n },\n starting_at: {\n type: 'string',\n format: 'date-time'\n },\n tags: {\n type: 'array',\n items: {\n type: 'string'\n }\n }\n },\n required: [ 'created_at',\n 'created_by',\n 'name'\n ]\n },\n quantity_conversion: {\n type: 'object',\n description: 'Optional. Only valid for USAGE products. If provided, the quantity will be converted using the provided conversion factor and operation. For example, if the operation is \"multiply\" and the conversion factor is 100, then the quantity will be multiplied by 100. This can be used in cases where data is sent in one unit and priced in another. For example, data could be sent in MB and priced in GB. In this case, the conversion factor would be 1024 and the operation would be \"divide\".',\n properties: {\n conversion_factor: {\n type: 'number',\n description: 'The factor to multiply or divide the quantity by.'\n },\n operation: {\n type: 'string',\n description: 'The operation to perform on the quantity',\n enum: [ 'MULTIPLY',\n 'DIVIDE'\n ]\n },\n name: {\n type: 'string',\n description: 'Optional name for this conversion.'\n }\n },\n required: [ 'conversion_factor',\n 'operation'\n ]\n },\n quantity_rounding: {\n type: 'object',\n description: 'Optional. Only valid for USAGE products. If provided, the quantity will be rounded using the provided rounding method and decimal places. For example, if the method is \"round up\" and the decimal places is 0, then the quantity will be rounded up to the nearest integer.',\n properties: {\n decimal_places: {\n type: 'number'\n },\n rounding_method: {\n type: 'string',\n enum: [ 'ROUND_UP',\n 'ROUND_DOWN',\n 'ROUND_HALF_UP'\n ]\n }\n },\n required: [ 'decimal_places',\n 'rounding_method'\n ]\n }\n }\n}\n```",
22
22
  inputSchema: {
23
23
  type: 'object',
24
24
  properties: {
@@ -66,6 +66,7 @@ export const tool: Tool = {
66
66
  },
67
67
  custom_fields: {
68
68
  type: 'object',
69
+ additionalProperties: true,
69
70
  },
70
71
  description: {
71
72
  type: 'string',
@@ -18,7 +18,7 @@ export const metadata: Metadata = {
18
18
  export const tool: Tool = {
19
19
  name: 'list_contracts_v1_rate_cards',
20
20
  description:
21
- "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nList rate cards NOTE: Use `/contract-pricing/rate-cards/getRates` to retrieve rate card rates.\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 },\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```",
21
+ "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nList rate cards NOTE: Use `/contract-pricing/rate-cards/getRates` to retrieve rate card rates.\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 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```",
22
22
  inputSchema: {
23
23
  type: 'object',
24
24
  properties: {
@@ -32,6 +32,7 @@ export const tool: Tool = {
32
32
  },
33
33
  body: {
34
34
  type: 'object',
35
+ additionalProperties: true,
35
36
  },
36
37
  jq_filter: {
37
38
  type: 'string',
@@ -18,7 +18,7 @@ export const metadata: Metadata = {
18
18
  export const tool: Tool = {
19
19
  name: 'retrieve_rate_cards_contracts_v1_named_schedules',
20
20
  description:
21
- "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nGet 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 },\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```",
21
+ "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nGet 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```",
22
22
  inputSchema: {
23
23
  type: 'object',
24
24
  properties: {
@@ -41,6 +41,7 @@ export const tool: Tool = {
41
41
  type: 'object',
42
42
  description:
43
43
  'The value to set for the named schedule. The structure of this object is specific to the named schedule.',
44
+ additionalProperties: true,
44
45
  },
45
46
  ending_before: {
46
47
  type: 'string',
@@ -84,6 +84,7 @@ export const tool: Tool = {
84
84
  type: 'object',
85
85
  description:
86
86
  'Only set for CUSTOM rate_type. This field is interpreted by custom rate processors.',
87
+ additionalProperties: true,
87
88
  },
88
89
  ending_before: {
89
90
  type: 'string',
@@ -104,6 +105,7 @@ export const tool: Tool = {
104
105
  type: 'object',
105
106
  description:
106
107
  'Optional. List of pricing group key value pairs which will be used to calculate the price.',
108
+ additionalProperties: true,
107
109
  },
108
110
  quantity: {
109
111
  type: 'number',
@@ -18,7 +18,7 @@ export const metadata: Metadata = {
18
18
  export const tool: Tool = {
19
19
  name: 'add_rate_cards_contracts_v1_rates',
20
20
  description:
21
- "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\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 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 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 },\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 },\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 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```",
21
+ "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\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 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 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 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```",
22
22
  inputSchema: {
23
23
  type: 'object',
24
24
  properties: {
@@ -79,6 +79,7 @@ export const tool: Tool = {
79
79
  custom_rate: {
80
80
  type: 'object',
81
81
  description: 'Only set for CUSTOM rate_type. This field is interpreted by custom rate processors.',
82
+ additionalProperties: true,
82
83
  },
83
84
  ending_before: {
84
85
  type: 'string',
@@ -99,6 +100,7 @@ export const tool: Tool = {
99
100
  type: 'object',
100
101
  description:
101
102
  'Optional. List of pricing group key value pairs which will be used to calculate the price.',
103
+ additionalProperties: true,
102
104
  },
103
105
  quantity: {
104
106
  type: 'number',