dodopayments-mcp 1.42.0 → 1.43.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 (403) hide show
  1. package/package.json +2 -2
  2. package/server.d.mts.map +1 -1
  3. package/server.d.ts.map +1 -1
  4. package/server.js +2 -6
  5. package/server.js.map +1 -1
  6. package/server.mjs +2 -6
  7. package/server.mjs.map +1 -1
  8. package/src/server.ts +2 -6
  9. package/src/tools/addons/create-addons.ts +1 -0
  10. package/src/tools/addons/list-addons.ts +1 -0
  11. package/src/tools/addons/retrieve-addons.ts +1 -0
  12. package/src/tools/addons/update-addons.ts +1 -0
  13. package/src/tools/addons/update-images-addons.ts +1 -0
  14. package/src/tools/brands/create-brands.ts +2 -1
  15. package/src/tools/brands/list-brands.ts +2 -1
  16. package/src/tools/brands/retrieve-brands.ts +2 -1
  17. package/src/tools/brands/update-brands.ts +2 -1
  18. package/src/tools/brands/update-images-brands.ts +1 -0
  19. package/src/tools/customers/create-customers.ts +1 -0
  20. package/src/tools/customers/customer-portal/create-customers-customer-portal.ts +1 -0
  21. package/src/tools/customers/list-customers.ts +1 -0
  22. package/src/tools/customers/retrieve-customers.ts +1 -0
  23. package/src/tools/customers/update-customers.ts +1 -0
  24. package/src/tools/discounts/create-discounts.ts +1 -0
  25. package/src/tools/discounts/delete-discounts.ts +1 -0
  26. package/src/tools/discounts/list-discounts.ts +1 -0
  27. package/src/tools/discounts/retrieve-discounts.ts +1 -0
  28. package/src/tools/discounts/update-discounts.ts +1 -0
  29. package/src/tools/disputes/list-disputes.ts +1 -0
  30. package/src/tools/disputes/retrieve-disputes.ts +2 -1
  31. package/src/tools/invoices/payments/retrieve-invoices-payments.ts +1 -0
  32. package/src/tools/license-key-instances/list-license-key-instances.ts +1 -0
  33. package/src/tools/license-key-instances/retrieve-license-key-instances.ts +1 -0
  34. package/src/tools/license-key-instances/update-license-key-instances.ts +1 -0
  35. package/src/tools/license-keys/list-license-keys.ts +1 -0
  36. package/src/tools/license-keys/retrieve-license-keys.ts +1 -0
  37. package/src/tools/license-keys/update-license-keys.ts +1 -0
  38. package/src/tools/licenses/activate-licenses.ts +1 -0
  39. package/src/tools/licenses/deactivate-licenses.ts +1 -0
  40. package/src/tools/licenses/validate-licenses.ts +1 -0
  41. package/src/tools/misc/list-supported-countries-misc.ts +1 -0
  42. package/src/tools/payments/create-payments.ts +25 -21
  43. package/src/tools/payments/list-payments.ts +1 -0
  44. package/src/tools/payments/retrieve-line-items-payments.ts +1 -0
  45. package/src/tools/payments/retrieve-payments.ts +1 -0
  46. package/src/tools/payouts/list-payouts.ts +1 -0
  47. package/src/tools/products/create-products.ts +1 -1
  48. package/src/tools/products/delete-products.ts +1 -0
  49. package/src/tools/products/images/update-products-images.ts +1 -0
  50. package/src/tools/products/list-products.ts +1 -0
  51. package/src/tools/products/retrieve-products.ts +1 -0
  52. package/src/tools/products/unarchive-products.ts +1 -0
  53. package/src/tools/products/update-files-products.ts +1 -0
  54. package/src/tools/products/update-products.ts +1 -1
  55. package/src/tools/refunds/create-refunds.ts +1 -0
  56. package/src/tools/refunds/list-refunds.ts +1 -0
  57. package/src/tools/refunds/retrieve-refunds.ts +1 -0
  58. package/src/tools/subscriptions/change-plan-subscriptions.ts +16 -10
  59. package/src/tools/subscriptions/charge-subscriptions.ts +1 -0
  60. package/src/tools/subscriptions/create-subscriptions.ts +38 -31
  61. package/src/tools/subscriptions/list-subscriptions.ts +1 -0
  62. package/src/tools/subscriptions/retrieve-subscriptions.ts +1 -0
  63. package/src/tools/subscriptions/update-subscriptions.ts +1 -0
  64. package/src/tools/webhook-events/list-webhook-events.ts +1 -0
  65. package/src/tools/webhook-events/retrieve-webhook-events.ts +1 -0
  66. package/tools/addons/create-addons.d.mts.map +1 -1
  67. package/tools/addons/create-addons.d.ts.map +1 -1
  68. package/tools/addons/create-addons.js +1 -0
  69. package/tools/addons/create-addons.js.map +1 -1
  70. package/tools/addons/create-addons.mjs +1 -0
  71. package/tools/addons/create-addons.mjs.map +1 -1
  72. package/tools/addons/list-addons.d.mts.map +1 -1
  73. package/tools/addons/list-addons.d.ts.map +1 -1
  74. package/tools/addons/list-addons.js +1 -0
  75. package/tools/addons/list-addons.js.map +1 -1
  76. package/tools/addons/list-addons.mjs +1 -0
  77. package/tools/addons/list-addons.mjs.map +1 -1
  78. package/tools/addons/retrieve-addons.d.mts.map +1 -1
  79. package/tools/addons/retrieve-addons.d.ts.map +1 -1
  80. package/tools/addons/retrieve-addons.js +1 -0
  81. package/tools/addons/retrieve-addons.js.map +1 -1
  82. package/tools/addons/retrieve-addons.mjs +1 -0
  83. package/tools/addons/retrieve-addons.mjs.map +1 -1
  84. package/tools/addons/update-addons.d.mts.map +1 -1
  85. package/tools/addons/update-addons.d.ts.map +1 -1
  86. package/tools/addons/update-addons.js +1 -0
  87. package/tools/addons/update-addons.js.map +1 -1
  88. package/tools/addons/update-addons.mjs +1 -0
  89. package/tools/addons/update-addons.mjs.map +1 -1
  90. package/tools/addons/update-images-addons.d.mts.map +1 -1
  91. package/tools/addons/update-images-addons.d.ts.map +1 -1
  92. package/tools/addons/update-images-addons.js +1 -0
  93. package/tools/addons/update-images-addons.js.map +1 -1
  94. package/tools/addons/update-images-addons.mjs +1 -0
  95. package/tools/addons/update-images-addons.mjs.map +1 -1
  96. package/tools/brands/create-brands.d.mts.map +1 -1
  97. package/tools/brands/create-brands.d.ts.map +1 -1
  98. package/tools/brands/create-brands.js +2 -1
  99. package/tools/brands/create-brands.js.map +1 -1
  100. package/tools/brands/create-brands.mjs +2 -1
  101. package/tools/brands/create-brands.mjs.map +1 -1
  102. package/tools/brands/list-brands.d.mts.map +1 -1
  103. package/tools/brands/list-brands.d.ts.map +1 -1
  104. package/tools/brands/list-brands.js +2 -1
  105. package/tools/brands/list-brands.js.map +1 -1
  106. package/tools/brands/list-brands.mjs +2 -1
  107. package/tools/brands/list-brands.mjs.map +1 -1
  108. package/tools/brands/retrieve-brands.d.mts.map +1 -1
  109. package/tools/brands/retrieve-brands.d.ts.map +1 -1
  110. package/tools/brands/retrieve-brands.js +2 -1
  111. package/tools/brands/retrieve-brands.js.map +1 -1
  112. package/tools/brands/retrieve-brands.mjs +2 -1
  113. package/tools/brands/retrieve-brands.mjs.map +1 -1
  114. package/tools/brands/update-brands.d.mts.map +1 -1
  115. package/tools/brands/update-brands.d.ts.map +1 -1
  116. package/tools/brands/update-brands.js +2 -1
  117. package/tools/brands/update-brands.js.map +1 -1
  118. package/tools/brands/update-brands.mjs +2 -1
  119. package/tools/brands/update-brands.mjs.map +1 -1
  120. package/tools/brands/update-images-brands.d.mts.map +1 -1
  121. package/tools/brands/update-images-brands.d.ts.map +1 -1
  122. package/tools/brands/update-images-brands.js +1 -0
  123. package/tools/brands/update-images-brands.js.map +1 -1
  124. package/tools/brands/update-images-brands.mjs +1 -0
  125. package/tools/brands/update-images-brands.mjs.map +1 -1
  126. package/tools/customers/create-customers.d.mts.map +1 -1
  127. package/tools/customers/create-customers.d.ts.map +1 -1
  128. package/tools/customers/create-customers.js +1 -0
  129. package/tools/customers/create-customers.js.map +1 -1
  130. package/tools/customers/create-customers.mjs +1 -0
  131. package/tools/customers/create-customers.mjs.map +1 -1
  132. package/tools/customers/customer-portal/create-customers-customer-portal.d.mts.map +1 -1
  133. package/tools/customers/customer-portal/create-customers-customer-portal.d.ts.map +1 -1
  134. package/tools/customers/customer-portal/create-customers-customer-portal.js +1 -0
  135. package/tools/customers/customer-portal/create-customers-customer-portal.js.map +1 -1
  136. package/tools/customers/customer-portal/create-customers-customer-portal.mjs +1 -0
  137. package/tools/customers/customer-portal/create-customers-customer-portal.mjs.map +1 -1
  138. package/tools/customers/list-customers.d.mts.map +1 -1
  139. package/tools/customers/list-customers.d.ts.map +1 -1
  140. package/tools/customers/list-customers.js +1 -0
  141. package/tools/customers/list-customers.js.map +1 -1
  142. package/tools/customers/list-customers.mjs +1 -0
  143. package/tools/customers/list-customers.mjs.map +1 -1
  144. package/tools/customers/retrieve-customers.d.mts.map +1 -1
  145. package/tools/customers/retrieve-customers.d.ts.map +1 -1
  146. package/tools/customers/retrieve-customers.js +1 -0
  147. package/tools/customers/retrieve-customers.js.map +1 -1
  148. package/tools/customers/retrieve-customers.mjs +1 -0
  149. package/tools/customers/retrieve-customers.mjs.map +1 -1
  150. package/tools/customers/update-customers.d.mts.map +1 -1
  151. package/tools/customers/update-customers.d.ts.map +1 -1
  152. package/tools/customers/update-customers.js +1 -0
  153. package/tools/customers/update-customers.js.map +1 -1
  154. package/tools/customers/update-customers.mjs +1 -0
  155. package/tools/customers/update-customers.mjs.map +1 -1
  156. package/tools/discounts/create-discounts.d.mts.map +1 -1
  157. package/tools/discounts/create-discounts.d.ts.map +1 -1
  158. package/tools/discounts/create-discounts.js +1 -0
  159. package/tools/discounts/create-discounts.js.map +1 -1
  160. package/tools/discounts/create-discounts.mjs +1 -0
  161. package/tools/discounts/create-discounts.mjs.map +1 -1
  162. package/tools/discounts/delete-discounts.d.mts.map +1 -1
  163. package/tools/discounts/delete-discounts.d.ts.map +1 -1
  164. package/tools/discounts/delete-discounts.js +1 -0
  165. package/tools/discounts/delete-discounts.js.map +1 -1
  166. package/tools/discounts/delete-discounts.mjs +1 -0
  167. package/tools/discounts/delete-discounts.mjs.map +1 -1
  168. package/tools/discounts/list-discounts.d.mts.map +1 -1
  169. package/tools/discounts/list-discounts.d.ts.map +1 -1
  170. package/tools/discounts/list-discounts.js +1 -0
  171. package/tools/discounts/list-discounts.js.map +1 -1
  172. package/tools/discounts/list-discounts.mjs +1 -0
  173. package/tools/discounts/list-discounts.mjs.map +1 -1
  174. package/tools/discounts/retrieve-discounts.d.mts.map +1 -1
  175. package/tools/discounts/retrieve-discounts.d.ts.map +1 -1
  176. package/tools/discounts/retrieve-discounts.js +1 -0
  177. package/tools/discounts/retrieve-discounts.js.map +1 -1
  178. package/tools/discounts/retrieve-discounts.mjs +1 -0
  179. package/tools/discounts/retrieve-discounts.mjs.map +1 -1
  180. package/tools/discounts/update-discounts.d.mts.map +1 -1
  181. package/tools/discounts/update-discounts.d.ts.map +1 -1
  182. package/tools/discounts/update-discounts.js +1 -0
  183. package/tools/discounts/update-discounts.js.map +1 -1
  184. package/tools/discounts/update-discounts.mjs +1 -0
  185. package/tools/discounts/update-discounts.mjs.map +1 -1
  186. package/tools/disputes/list-disputes.d.mts.map +1 -1
  187. package/tools/disputes/list-disputes.d.ts.map +1 -1
  188. package/tools/disputes/list-disputes.js +1 -0
  189. package/tools/disputes/list-disputes.js.map +1 -1
  190. package/tools/disputes/list-disputes.mjs +1 -0
  191. package/tools/disputes/list-disputes.mjs.map +1 -1
  192. package/tools/disputes/retrieve-disputes.d.mts.map +1 -1
  193. package/tools/disputes/retrieve-disputes.d.ts.map +1 -1
  194. package/tools/disputes/retrieve-disputes.js +2 -1
  195. package/tools/disputes/retrieve-disputes.js.map +1 -1
  196. package/tools/disputes/retrieve-disputes.mjs +2 -1
  197. package/tools/disputes/retrieve-disputes.mjs.map +1 -1
  198. package/tools/invoices/payments/retrieve-invoices-payments.d.mts.map +1 -1
  199. package/tools/invoices/payments/retrieve-invoices-payments.d.ts.map +1 -1
  200. package/tools/invoices/payments/retrieve-invoices-payments.js +1 -0
  201. package/tools/invoices/payments/retrieve-invoices-payments.js.map +1 -1
  202. package/tools/invoices/payments/retrieve-invoices-payments.mjs +1 -0
  203. package/tools/invoices/payments/retrieve-invoices-payments.mjs.map +1 -1
  204. package/tools/license-key-instances/list-license-key-instances.d.mts.map +1 -1
  205. package/tools/license-key-instances/list-license-key-instances.d.ts.map +1 -1
  206. package/tools/license-key-instances/list-license-key-instances.js +1 -0
  207. package/tools/license-key-instances/list-license-key-instances.js.map +1 -1
  208. package/tools/license-key-instances/list-license-key-instances.mjs +1 -0
  209. package/tools/license-key-instances/list-license-key-instances.mjs.map +1 -1
  210. package/tools/license-key-instances/retrieve-license-key-instances.d.mts.map +1 -1
  211. package/tools/license-key-instances/retrieve-license-key-instances.d.ts.map +1 -1
  212. package/tools/license-key-instances/retrieve-license-key-instances.js +1 -0
  213. package/tools/license-key-instances/retrieve-license-key-instances.js.map +1 -1
  214. package/tools/license-key-instances/retrieve-license-key-instances.mjs +1 -0
  215. package/tools/license-key-instances/retrieve-license-key-instances.mjs.map +1 -1
  216. package/tools/license-key-instances/update-license-key-instances.d.mts.map +1 -1
  217. package/tools/license-key-instances/update-license-key-instances.d.ts.map +1 -1
  218. package/tools/license-key-instances/update-license-key-instances.js +1 -0
  219. package/tools/license-key-instances/update-license-key-instances.js.map +1 -1
  220. package/tools/license-key-instances/update-license-key-instances.mjs +1 -0
  221. package/tools/license-key-instances/update-license-key-instances.mjs.map +1 -1
  222. package/tools/license-keys/list-license-keys.d.mts.map +1 -1
  223. package/tools/license-keys/list-license-keys.d.ts.map +1 -1
  224. package/tools/license-keys/list-license-keys.js +1 -0
  225. package/tools/license-keys/list-license-keys.js.map +1 -1
  226. package/tools/license-keys/list-license-keys.mjs +1 -0
  227. package/tools/license-keys/list-license-keys.mjs.map +1 -1
  228. package/tools/license-keys/retrieve-license-keys.d.mts.map +1 -1
  229. package/tools/license-keys/retrieve-license-keys.d.ts.map +1 -1
  230. package/tools/license-keys/retrieve-license-keys.js +1 -0
  231. package/tools/license-keys/retrieve-license-keys.js.map +1 -1
  232. package/tools/license-keys/retrieve-license-keys.mjs +1 -0
  233. package/tools/license-keys/retrieve-license-keys.mjs.map +1 -1
  234. package/tools/license-keys/update-license-keys.d.mts.map +1 -1
  235. package/tools/license-keys/update-license-keys.d.ts.map +1 -1
  236. package/tools/license-keys/update-license-keys.js +1 -0
  237. package/tools/license-keys/update-license-keys.js.map +1 -1
  238. package/tools/license-keys/update-license-keys.mjs +1 -0
  239. package/tools/license-keys/update-license-keys.mjs.map +1 -1
  240. package/tools/licenses/activate-licenses.d.mts.map +1 -1
  241. package/tools/licenses/activate-licenses.d.ts.map +1 -1
  242. package/tools/licenses/activate-licenses.js +1 -0
  243. package/tools/licenses/activate-licenses.js.map +1 -1
  244. package/tools/licenses/activate-licenses.mjs +1 -0
  245. package/tools/licenses/activate-licenses.mjs.map +1 -1
  246. package/tools/licenses/deactivate-licenses.d.mts.map +1 -1
  247. package/tools/licenses/deactivate-licenses.d.ts.map +1 -1
  248. package/tools/licenses/deactivate-licenses.js +1 -0
  249. package/tools/licenses/deactivate-licenses.js.map +1 -1
  250. package/tools/licenses/deactivate-licenses.mjs +1 -0
  251. package/tools/licenses/deactivate-licenses.mjs.map +1 -1
  252. package/tools/licenses/validate-licenses.d.mts.map +1 -1
  253. package/tools/licenses/validate-licenses.d.ts.map +1 -1
  254. package/tools/licenses/validate-licenses.js +1 -0
  255. package/tools/licenses/validate-licenses.js.map +1 -1
  256. package/tools/licenses/validate-licenses.mjs +1 -0
  257. package/tools/licenses/validate-licenses.mjs.map +1 -1
  258. package/tools/misc/list-supported-countries-misc.d.mts.map +1 -1
  259. package/tools/misc/list-supported-countries-misc.d.ts.map +1 -1
  260. package/tools/misc/list-supported-countries-misc.js +1 -0
  261. package/tools/misc/list-supported-countries-misc.js.map +1 -1
  262. package/tools/misc/list-supported-countries-misc.mjs +1 -0
  263. package/tools/misc/list-supported-countries-misc.mjs.map +1 -1
  264. package/tools/payments/create-payments.d.mts.map +1 -1
  265. package/tools/payments/create-payments.d.ts.map +1 -1
  266. package/tools/payments/create-payments.js +25 -21
  267. package/tools/payments/create-payments.js.map +1 -1
  268. package/tools/payments/create-payments.mjs +25 -21
  269. package/tools/payments/create-payments.mjs.map +1 -1
  270. package/tools/payments/list-payments.d.mts.map +1 -1
  271. package/tools/payments/list-payments.d.ts.map +1 -1
  272. package/tools/payments/list-payments.js +1 -0
  273. package/tools/payments/list-payments.js.map +1 -1
  274. package/tools/payments/list-payments.mjs +1 -0
  275. package/tools/payments/list-payments.mjs.map +1 -1
  276. package/tools/payments/retrieve-line-items-payments.d.mts.map +1 -1
  277. package/tools/payments/retrieve-line-items-payments.d.ts.map +1 -1
  278. package/tools/payments/retrieve-line-items-payments.js +1 -0
  279. package/tools/payments/retrieve-line-items-payments.js.map +1 -1
  280. package/tools/payments/retrieve-line-items-payments.mjs +1 -0
  281. package/tools/payments/retrieve-line-items-payments.mjs.map +1 -1
  282. package/tools/payments/retrieve-payments.d.mts.map +1 -1
  283. package/tools/payments/retrieve-payments.d.ts.map +1 -1
  284. package/tools/payments/retrieve-payments.js +1 -0
  285. package/tools/payments/retrieve-payments.js.map +1 -1
  286. package/tools/payments/retrieve-payments.mjs +1 -0
  287. package/tools/payments/retrieve-payments.mjs.map +1 -1
  288. package/tools/payouts/list-payouts.d.mts.map +1 -1
  289. package/tools/payouts/list-payouts.d.ts.map +1 -1
  290. package/tools/payouts/list-payouts.js +1 -0
  291. package/tools/payouts/list-payouts.js.map +1 -1
  292. package/tools/payouts/list-payouts.mjs +1 -0
  293. package/tools/payouts/list-payouts.mjs.map +1 -1
  294. package/tools/products/create-products.js +1 -1
  295. package/tools/products/create-products.js.map +1 -1
  296. package/tools/products/create-products.mjs +1 -1
  297. package/tools/products/create-products.mjs.map +1 -1
  298. package/tools/products/delete-products.d.mts.map +1 -1
  299. package/tools/products/delete-products.d.ts.map +1 -1
  300. package/tools/products/delete-products.js +1 -0
  301. package/tools/products/delete-products.js.map +1 -1
  302. package/tools/products/delete-products.mjs +1 -0
  303. package/tools/products/delete-products.mjs.map +1 -1
  304. package/tools/products/images/update-products-images.d.mts.map +1 -1
  305. package/tools/products/images/update-products-images.d.ts.map +1 -1
  306. package/tools/products/images/update-products-images.js +1 -0
  307. package/tools/products/images/update-products-images.js.map +1 -1
  308. package/tools/products/images/update-products-images.mjs +1 -0
  309. package/tools/products/images/update-products-images.mjs.map +1 -1
  310. package/tools/products/list-products.d.mts.map +1 -1
  311. package/tools/products/list-products.d.ts.map +1 -1
  312. package/tools/products/list-products.js +1 -0
  313. package/tools/products/list-products.js.map +1 -1
  314. package/tools/products/list-products.mjs +1 -0
  315. package/tools/products/list-products.mjs.map +1 -1
  316. package/tools/products/retrieve-products.d.mts.map +1 -1
  317. package/tools/products/retrieve-products.d.ts.map +1 -1
  318. package/tools/products/retrieve-products.js +1 -0
  319. package/tools/products/retrieve-products.js.map +1 -1
  320. package/tools/products/retrieve-products.mjs +1 -0
  321. package/tools/products/retrieve-products.mjs.map +1 -1
  322. package/tools/products/unarchive-products.d.mts.map +1 -1
  323. package/tools/products/unarchive-products.d.ts.map +1 -1
  324. package/tools/products/unarchive-products.js +1 -0
  325. package/tools/products/unarchive-products.js.map +1 -1
  326. package/tools/products/unarchive-products.mjs +1 -0
  327. package/tools/products/unarchive-products.mjs.map +1 -1
  328. package/tools/products/update-files-products.d.mts.map +1 -1
  329. package/tools/products/update-files-products.d.ts.map +1 -1
  330. package/tools/products/update-files-products.js +1 -0
  331. package/tools/products/update-files-products.js.map +1 -1
  332. package/tools/products/update-files-products.mjs +1 -0
  333. package/tools/products/update-files-products.mjs.map +1 -1
  334. package/tools/products/update-products.js +1 -1
  335. package/tools/products/update-products.js.map +1 -1
  336. package/tools/products/update-products.mjs +1 -1
  337. package/tools/products/update-products.mjs.map +1 -1
  338. package/tools/refunds/create-refunds.d.mts.map +1 -1
  339. package/tools/refunds/create-refunds.d.ts.map +1 -1
  340. package/tools/refunds/create-refunds.js +1 -0
  341. package/tools/refunds/create-refunds.js.map +1 -1
  342. package/tools/refunds/create-refunds.mjs +1 -0
  343. package/tools/refunds/create-refunds.mjs.map +1 -1
  344. package/tools/refunds/list-refunds.d.mts.map +1 -1
  345. package/tools/refunds/list-refunds.d.ts.map +1 -1
  346. package/tools/refunds/list-refunds.js +1 -0
  347. package/tools/refunds/list-refunds.js.map +1 -1
  348. package/tools/refunds/list-refunds.mjs +1 -0
  349. package/tools/refunds/list-refunds.mjs.map +1 -1
  350. package/tools/refunds/retrieve-refunds.d.mts.map +1 -1
  351. package/tools/refunds/retrieve-refunds.d.ts.map +1 -1
  352. package/tools/refunds/retrieve-refunds.js +1 -0
  353. package/tools/refunds/retrieve-refunds.js.map +1 -1
  354. package/tools/refunds/retrieve-refunds.mjs +1 -0
  355. package/tools/refunds/retrieve-refunds.mjs.map +1 -1
  356. package/tools/subscriptions/change-plan-subscriptions.d.mts.map +1 -1
  357. package/tools/subscriptions/change-plan-subscriptions.d.ts.map +1 -1
  358. package/tools/subscriptions/change-plan-subscriptions.js +16 -10
  359. package/tools/subscriptions/change-plan-subscriptions.js.map +1 -1
  360. package/tools/subscriptions/change-plan-subscriptions.mjs +16 -10
  361. package/tools/subscriptions/change-plan-subscriptions.mjs.map +1 -1
  362. package/tools/subscriptions/charge-subscriptions.d.mts.map +1 -1
  363. package/tools/subscriptions/charge-subscriptions.d.ts.map +1 -1
  364. package/tools/subscriptions/charge-subscriptions.js +1 -0
  365. package/tools/subscriptions/charge-subscriptions.js.map +1 -1
  366. package/tools/subscriptions/charge-subscriptions.mjs +1 -0
  367. package/tools/subscriptions/charge-subscriptions.mjs.map +1 -1
  368. package/tools/subscriptions/create-subscriptions.d.mts.map +1 -1
  369. package/tools/subscriptions/create-subscriptions.d.ts.map +1 -1
  370. package/tools/subscriptions/create-subscriptions.js +38 -31
  371. package/tools/subscriptions/create-subscriptions.js.map +1 -1
  372. package/tools/subscriptions/create-subscriptions.mjs +38 -31
  373. package/tools/subscriptions/create-subscriptions.mjs.map +1 -1
  374. package/tools/subscriptions/list-subscriptions.d.mts.map +1 -1
  375. package/tools/subscriptions/list-subscriptions.d.ts.map +1 -1
  376. package/tools/subscriptions/list-subscriptions.js +1 -0
  377. package/tools/subscriptions/list-subscriptions.js.map +1 -1
  378. package/tools/subscriptions/list-subscriptions.mjs +1 -0
  379. package/tools/subscriptions/list-subscriptions.mjs.map +1 -1
  380. package/tools/subscriptions/retrieve-subscriptions.d.mts.map +1 -1
  381. package/tools/subscriptions/retrieve-subscriptions.d.ts.map +1 -1
  382. package/tools/subscriptions/retrieve-subscriptions.js +1 -0
  383. package/tools/subscriptions/retrieve-subscriptions.js.map +1 -1
  384. package/tools/subscriptions/retrieve-subscriptions.mjs +1 -0
  385. package/tools/subscriptions/retrieve-subscriptions.mjs.map +1 -1
  386. package/tools/subscriptions/update-subscriptions.d.mts.map +1 -1
  387. package/tools/subscriptions/update-subscriptions.d.ts.map +1 -1
  388. package/tools/subscriptions/update-subscriptions.js +1 -0
  389. package/tools/subscriptions/update-subscriptions.js.map +1 -1
  390. package/tools/subscriptions/update-subscriptions.mjs +1 -0
  391. package/tools/subscriptions/update-subscriptions.mjs.map +1 -1
  392. package/tools/webhook-events/list-webhook-events.d.mts.map +1 -1
  393. package/tools/webhook-events/list-webhook-events.d.ts.map +1 -1
  394. package/tools/webhook-events/list-webhook-events.js +1 -0
  395. package/tools/webhook-events/list-webhook-events.js.map +1 -1
  396. package/tools/webhook-events/list-webhook-events.mjs +1 -0
  397. package/tools/webhook-events/list-webhook-events.mjs.map +1 -1
  398. package/tools/webhook-events/retrieve-webhook-events.d.mts.map +1 -1
  399. package/tools/webhook-events/retrieve-webhook-events.d.ts.map +1 -1
  400. package/tools/webhook-events/retrieve-webhook-events.js +1 -0
  401. package/tools/webhook-events/retrieve-webhook-events.js.map +1 -1
  402. package/tools/webhook-events/retrieve-webhook-events.mjs +1 -0
  403. package/tools/webhook-events/retrieve-webhook-events.mjs.map +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dodopayments-mcp",
3
- "version": "1.42.0",
3
+ "version": "1.43.0",
4
4
  "description": "The official MCP Server for the Dodo Payments API",
5
5
  "author": "Dodo Payments <founders@dodopayments.com>",
6
6
  "types": "./index.d.ts",
@@ -24,7 +24,7 @@
24
24
  "fix": "eslint --fix --ext ts,js ."
25
25
  },
26
26
  "dependencies": {
27
- "dodopayments": "^1.42.0",
27
+ "dodopayments": "^1.43.0",
28
28
  "@modelcontextprotocol/sdk": "^1.11.5",
29
29
  "jq-web": "https://github.com/stainless-api/jq-web/releases/download/v0.8.2/jq-web.tar.gz",
30
30
  "yargs": "^17.7.2",
package/server.d.mts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"server.d.mts","sourceRoot":"","sources":["src/server.ts"],"names":[],"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E,MAAM,EAAE;OACV,EAAE,aAAa,EAAE,MAAM,cAAc;OACrC,EAAE,SAAS,EAAE;AAGpB,eAAO,MAAM,MAAM,WAMlB,CAAC;AAEF;;;GAGG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE;IACpC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,aAAa,EAAE,aAAa,CAAC;IAC7B,UAAU,EAAE,UAAU,CAAC;IACvB,SAAS,CAAC,EAAE;QAAE,IAAI,EAAE,IAAI,CAAC;QAAC,OAAO,EAAE,eAAe,CAAA;KAAE,EAAE,CAAC;CACxD,QAQA;AAED,wBAAgB,IAAI,CAAC,MAAM,EAAE;IAC3B,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,SAAS,CAAC,EAAE;QAAE,IAAI,EAAE,IAAI,CAAC;QAAC,OAAO,EAAE,eAAe,CAAA;KAAE,EAAE,CAAC;IACvD,YAAY,CAAC,EAAE,OAAO,CAAC,kBAAkB,CAAC,CAAC;CAC5C,QA4BA;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,SAAS,EAAE,QAAQ,EAAE,EAAE,OAAO,EAAE,UAAU,cAqBrE;AAED;;GAEG;AACH,wBAAsB,cAAc,CAClC,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,eAAe,EACxB,MAAM,EAAE,YAAY,EACpB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,EACzC,oBAAoB,CAAC,EAAE,OAAO,CAAC,kBAAkB,CAAC,mDAOnD;AAED,eAAO,MAAM,OAAO,GAAI,KAAK,MAAM,KAAG,MAAM,GAAG,SAO9C,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,KAAK,MAAM,KAAG,MAM5C,CAAC"}
package/server.js CHANGED
@@ -20,12 +20,8 @@ Object.defineProperty(exports, "endpoints", { enumerable: true, get: function ()
20
20
  // Create server instance
21
21
  exports.server = new mcp_js_1.McpServer({
22
22
  name: 'dodopayments_api',
23
- version: '1.42.0',
24
- }, {
25
- capabilities: {
26
- tools: {},
27
- },
28
- });
23
+ version: '1.43.0',
24
+ }, { capabilities: { tools: {} } });
29
25
  /**
30
26
  * Initializes the provided MCP Server with the given tools and handlers.
31
27
  * If not provided, the default client, tools and handlers will be used.
package/server.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"server.js","sourceRoot":"","sources":["src/server.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;AAyCtF,sCAaC;AAED,oBAiCC;AAKD,kCAqBC;AAKD,wCAYC;AAjID,oEAAoE;AACpE,sCAAsE;AACtE,iEAAyG;AAEzG,gEAAwC;AACxC,wCAMkB;AAClB,sDAA+C;AAO/C,oCAAoC;AAA3B,kGAAA,SAAS,OAAA;AAElB,yBAAyB;AACZ,QAAA,MAAM,GAAG,IAAI,kBAAS,CACjC;IACE,IAAI,EAAE,kBAAkB;IACxB,OAAO,EAAE,QAAQ;CAClB,EACD;IACE,YAAY,EAAE;QACZ,KAAK,EAAE,EAAE;KACV;CACF,CACF,CAAC;AAEF;;;GAGG;AACH,SAAgB,aAAa,CAAC,MAK7B;IACC,MAAM,oBAAoB,GAAG,WAAW,CAAC,iBAAS,EAAE,MAAM,CAAC,UAAU,CAAC,CAAC;IACvE,MAAM,MAAM,GAAG,IAAI,sBAAY,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;IACtD,MAAM,YAAY,GAAG;QACnB,GAAG,kCAAyB;QAC5B,GAAG,CAAC,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,qBAAY,CAAC,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC,YAAY,CAAC;KACxG,CAAC;IACF,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,oBAAoB,EAAE,YAAY,EAAE,CA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AI,QAAQ,GAAG,IAAA,eAAO,EAAC,GAAG,CAAC,CAAC;IAC5B,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;QAC3B,MAAM,IAAI,KAAK,CAAC,wBAAwB,GAAG,aAAa,CAAC,CAAC;IAC5D,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAC;AANW,QAAA,cAAc,kBAMzB"}
package/server.mjs CHANGED
@@ -9,12 +9,8 @@ export { endpoints } from "./tools.mjs";
9
9
  // Create server instance
10
10
  export const server = new McpServer({
11
11
  name: 'dodopayments_api',
12
- version: '1.42.0',
13
- }, {
14
- capabilities: {
15
- tools: {},
16
- },
17
- });
12
+ version: '1.43.0',
13
+ }, { capabilities: { tools: {} } });
18
14
  /**
19
15
  * Initializes the provided MCP Server with the given tools and handlers.
20
16
  * If not provided, the default client, tools and handlers will be used.
package/server.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"server.mjs","sourceRoot":"","sources":["src/server.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAG/E,EAAE,SAAS,EAAE,MAAM,yCAAyC;OAC5D,EAAY,SAAS,EAAmB,KAAK,EAAE;OAC/C,EAAE,qBAAqB,EAAE,sBAAsB,EAAQ,MAAM,oCAAoC;OAEjG,YAAY,MAAM,cAAc;OAChC,EACL,iCAAiC,EAEjC,yBAAyB,EACzB,YAAY,EACZ,iBAAiB,GAClB;OACM,EAAE,YAAY,EAAE;OAOhB,EAAE,SAAS,EAAE;AAEpB,yBAAyB;AACzB,MAAM,CAAC,MAAM,MAAM,GAAG,IAAI,SAAS,CACjC;IACE,IAAI,EAAE,kBAAkB;IACxB,OAAO,EAAE,QAAQ;CAClB,EACD;IACE,YAAY,EAAE;QACZ,KAAK,EAAE,EAAE;KACV;CACF,CACF,CAAC;AAEF;;;GAGG;AACH,MAAM,UAAU,aAAa,CAAC,MAK7B;IACC,MAAM,oBAAoB,GAAG,WAAW,CAAC,SAAS,EAAE,MAAM,CAAC,UAAU,CAA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,IAAI,OAAQ,UAAkB,CAAC,OAAO,KAAK,WAAW,EAAE,CAAC;QACvD,OAAQ,UAAkB,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,EAAE,IAAI,EAAE,CAAC;IACxD,CAAC;SAAM,IAAI,OAAQ,UAAkB,CAAC,IAAI,KAAK,WAAW,EAAE,CAAC;QAC3D,OAAQ,UAAkB,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,EAAE,IAAI,EAAE,CAAC;IAC1D,CAAC;IACD,OAAO;AACT,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,GAAW,EAAU,EAAE;IACpD,IAAI,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;IAC5B,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;QAC3B,MAAM,IAAI,KAAK,CAAC,wBAAwB,GAAG,aAAa,CAAC,CAAC;IAC5D,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAC"}
package/src/server.ts CHANGED
@@ -26,13 +26,9 @@ export { endpoints } from './tools';
26
26
  export const server = new McpServer(
27
27
  {
28
28
  name: 'dodopayments_api',
29
- version: '1.42.0',
30
- },
31
- {
32
- capabilities: {
33
- tools: {},
34
- },
29
+ version: '1.43.0',
35
30
  },
31
+ { capabilities: { tools: {} } },
36
32
  );
37
33
 
38
34
  /**
@@ -47,6 +47,7 @@ export const tool: Tool = {
47
47
  'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
48
48
  },
49
49
  },
50
+ required: ['currency', 'name', 'price', 'tax_category'],
50
51
  $defs: {
51
52
  currency: {
52
53
  type: 'string',
@@ -37,6 +37,7 @@ export const tool: Tool = {
37
37
  'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
38
38
  },
39
39
  },
40
+ required: [],
40
41
  },
41
42
  };
42
43
 
@@ -32,6 +32,7 @@ export const tool: Tool = {
32
32
  'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
33
33
  },
34
34
  },
35
+ required: ['id'],
35
36
  },
36
37
  };
37
38
 
@@ -54,6 +54,7 @@ export const tool: Tool = {
54
54
  'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
55
55
  },
56
56
  },
57
+ required: ['id'],
57
58
  $defs: {
58
59
  currency: {
59
60
  type: 'string',
@@ -32,6 +32,7 @@ export const tool: Tool = {
32
32
  'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
33
33
  },
34
34
  },
35
+ required: ['id'],
35
36
  },
36
37
  };
37
38
 
@@ -18,7 +18,7 @@ export const metadata: Metadata = {
18
18
  export const tool: Tool = {
19
19
  name: 'create_brands',
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\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n brand_id: {\n type: 'string'\n },\n business_id: {\n type: 'string'\n },\n enabled: {\n type: 'boolean'\n },\n statement_descriptor: {\n type: 'string'\n },\n verification_enabled: {\n type: 'boolean'\n },\n verification_status: {\n type: 'string',\n enum: [ 'Success',\n 'Fail',\n 'Review',\n 'Hold'\n ]\n },\n description: {\n type: 'string'\n },\n image: {\n type: 'string'\n },\n name: {\n type: 'string'\n },\n reason_for_hold: {\n type: 'string',\n description: 'Incase the brand verification fails or is put on hold'\n },\n support_email: {\n type: 'string'\n },\n url: {\n type: 'string'\n }\n },\n required: [ 'brand_id',\n 'business_id',\n 'enabled',\n 'statement_descriptor',\n 'verification_enabled',\n 'verification_status'\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\n\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/brand',\n $defs: {\n brand: {\n type: 'object',\n properties: {\n brand_id: {\n type: 'string'\n },\n business_id: {\n type: 'string'\n },\n enabled: {\n type: 'boolean'\n },\n statement_descriptor: {\n type: 'string'\n },\n verification_enabled: {\n type: 'boolean'\n },\n verification_status: {\n type: 'string',\n enum: [ 'Success',\n 'Fail',\n 'Review',\n 'Hold'\n ]\n },\n description: {\n type: 'string'\n },\n image: {\n type: 'string'\n },\n name: {\n type: 'string'\n },\n reason_for_hold: {\n type: 'string',\n description: 'Incase the brand verification fails or is put on hold'\n },\n support_email: {\n type: 'string'\n },\n url: {\n type: 'string'\n }\n },\n required: [ 'brand_id',\n 'business_id',\n 'enabled',\n 'statement_descriptor',\n 'verification_enabled',\n 'verification_status'\n ]\n }\n }\n}\n```",
22
22
  inputSchema: {
23
23
  type: 'object',
24
24
  properties: {
@@ -44,6 +44,7 @@ export const tool: Tool = {
44
44
  'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
45
45
  },
46
46
  },
47
+ required: [],
47
48
  },
48
49
  };
49
50
 
@@ -18,7 +18,7 @@ export const metadata: Metadata = {
18
18
  export const tool: Tool = {
19
19
  name: 'list_brands',
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\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n items: {\n type: 'array',\n description: 'List of brands for this business',\n items: {\n type: 'object',\n properties: {\n brand_id: {\n type: 'string'\n },\n business_id: {\n type: 'string'\n },\n enabled: {\n type: 'boolean'\n },\n statement_descriptor: {\n type: 'string'\n },\n verification_enabled: {\n type: 'boolean'\n },\n verification_status: {\n type: 'string',\n enum: [ 'Success',\n 'Fail',\n 'Review',\n 'Hold'\n ]\n },\n description: {\n type: 'string'\n },\n image: {\n type: 'string'\n },\n name: {\n type: 'string'\n },\n reason_for_hold: {\n type: 'string',\n description: 'Incase the brand verification fails or is put on hold'\n },\n support_email: {\n type: 'string'\n },\n url: {\n type: 'string'\n }\n },\n required: [ 'brand_id',\n 'business_id',\n 'enabled',\n 'statement_descriptor',\n 'verification_enabled',\n 'verification_status'\n ]\n }\n }\n },\n required: [ 'items'\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\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n items: {\n type: 'array',\n description: 'List of brands for this business',\n items: {\n $ref: '#/$defs/brand'\n }\n }\n },\n required: [ 'items'\n ],\n $defs: {\n brand: {\n type: 'object',\n properties: {\n brand_id: {\n type: 'string'\n },\n business_id: {\n type: 'string'\n },\n enabled: {\n type: 'boolean'\n },\n statement_descriptor: {\n type: 'string'\n },\n verification_enabled: {\n type: 'boolean'\n },\n verification_status: {\n type: 'string',\n enum: [ 'Success',\n 'Fail',\n 'Review',\n 'Hold'\n ]\n },\n description: {\n type: 'string'\n },\n image: {\n type: 'string'\n },\n name: {\n type: 'string'\n },\n reason_for_hold: {\n type: 'string',\n description: 'Incase the brand verification fails or is put on hold'\n },\n support_email: {\n type: 'string'\n },\n url: {\n type: 'string'\n }\n },\n required: [ 'brand_id',\n 'business_id',\n 'enabled',\n 'statement_descriptor',\n 'verification_enabled',\n 'verification_status'\n ]\n }\n }\n}\n```",
22
22
  inputSchema: {
23
23
  type: 'object',
24
24
  properties: {
@@ -29,6 +29,7 @@ export const tool: Tool = {
29
29
  'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
30
30
  },
31
31
  },
32
+ required: [],
32
33
  },
33
34
  };
34
35
 
@@ -18,7 +18,7 @@ export const metadata: Metadata = {
18
18
  export const tool: Tool = {
19
19
  name: 'retrieve_brands',
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\nThin handler just calls `get_brand` and wraps in `Json(...)`\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n brand_id: {\n type: 'string'\n },\n business_id: {\n type: 'string'\n },\n enabled: {\n type: 'boolean'\n },\n statement_descriptor: {\n type: 'string'\n },\n verification_enabled: {\n type: 'boolean'\n },\n verification_status: {\n type: 'string',\n enum: [ 'Success',\n 'Fail',\n 'Review',\n 'Hold'\n ]\n },\n description: {\n type: 'string'\n },\n image: {\n type: 'string'\n },\n name: {\n type: 'string'\n },\n reason_for_hold: {\n type: 'string',\n description: 'Incase the brand verification fails or is put on hold'\n },\n support_email: {\n type: 'string'\n },\n url: {\n type: 'string'\n }\n },\n required: [ 'brand_id',\n 'business_id',\n 'enabled',\n 'statement_descriptor',\n 'verification_enabled',\n 'verification_status'\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\nThin handler just calls `get_brand` and wraps in `Json(...)`\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/brand',\n $defs: {\n brand: {\n type: 'object',\n properties: {\n brand_id: {\n type: 'string'\n },\n business_id: {\n type: 'string'\n },\n enabled: {\n type: 'boolean'\n },\n statement_descriptor: {\n type: 'string'\n },\n verification_enabled: {\n type: 'boolean'\n },\n verification_status: {\n type: 'string',\n enum: [ 'Success',\n 'Fail',\n 'Review',\n 'Hold'\n ]\n },\n description: {\n type: 'string'\n },\n image: {\n type: 'string'\n },\n name: {\n type: 'string'\n },\n reason_for_hold: {\n type: 'string',\n description: 'Incase the brand verification fails or is put on hold'\n },\n support_email: {\n type: 'string'\n },\n url: {\n type: 'string'\n }\n },\n required: [ 'brand_id',\n 'business_id',\n 'enabled',\n 'statement_descriptor',\n 'verification_enabled',\n 'verification_status'\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
  'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
33
33
  },
34
34
  },
35
+ required: ['id'],
35
36
  },
36
37
  };
37
38
 
@@ -18,7 +18,7 @@ export const metadata: Metadata = {
18
18
  export const tool: Tool = {
19
19
  name: 'update_brands',
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\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n brand_id: {\n type: 'string'\n },\n business_id: {\n type: 'string'\n },\n enabled: {\n type: 'boolean'\n },\n statement_descriptor: {\n type: 'string'\n },\n verification_enabled: {\n type: 'boolean'\n },\n verification_status: {\n type: 'string',\n enum: [ 'Success',\n 'Fail',\n 'Review',\n 'Hold'\n ]\n },\n description: {\n type: 'string'\n },\n image: {\n type: 'string'\n },\n name: {\n type: 'string'\n },\n reason_for_hold: {\n type: 'string',\n description: 'Incase the brand verification fails or is put on hold'\n },\n support_email: {\n type: 'string'\n },\n url: {\n type: 'string'\n }\n },\n required: [ 'brand_id',\n 'business_id',\n 'enabled',\n 'statement_descriptor',\n 'verification_enabled',\n 'verification_status'\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\n\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/brand',\n $defs: {\n brand: {\n type: 'object',\n properties: {\n brand_id: {\n type: 'string'\n },\n business_id: {\n type: 'string'\n },\n enabled: {\n type: 'boolean'\n },\n statement_descriptor: {\n type: 'string'\n },\n verification_enabled: {\n type: 'boolean'\n },\n verification_status: {\n type: 'string',\n enum: [ 'Success',\n 'Fail',\n 'Review',\n 'Hold'\n ]\n },\n description: {\n type: 'string'\n },\n image: {\n type: 'string'\n },\n name: {\n type: 'string'\n },\n reason_for_hold: {\n type: 'string',\n description: 'Incase the brand verification fails or is put on hold'\n },\n support_email: {\n type: 'string'\n },\n url: {\n type: 'string'\n }\n },\n required: [ 'brand_id',\n 'business_id',\n 'enabled',\n 'statement_descriptor',\n 'verification_enabled',\n 'verification_status'\n ]\n }\n }\n}\n```",
22
22
  inputSchema: {
23
23
  type: 'object',
24
24
  properties: {
@@ -45,6 +45,7 @@ export const tool: Tool = {
45
45
  'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
46
46
  },
47
47
  },
48
+ required: ['id'],
48
49
  },
49
50
  };
50
51
 
@@ -32,6 +32,7 @@ export const tool: Tool = {
32
32
  'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
33
33
  },
34
34
  },
35
+ required: ['id'],
35
36
  },
36
37
  };
37
38
 
@@ -38,6 +38,7 @@ export const tool: Tool = {
38
38
  'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
39
39
  },
40
40
  },
41
+ required: ['email', 'name'],
41
42
  },
42
43
  };
43
44
 
@@ -36,6 +36,7 @@ export const tool: Tool = {
36
36
  'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
37
37
  },
38
38
  },
39
+ required: ['customer_id'],
39
40
  },
40
41
  };
41
42
 
@@ -41,6 +41,7 @@ export const tool: Tool = {
41
41
  'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
42
42
  },
43
43
  },
44
+ required: [],
44
45
  },
45
46
  };
46
47
 
@@ -32,6 +32,7 @@ export const tool: Tool = {
32
32
  'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
33
33
  },
34
34
  },
35
+ required: ['customer_id'],
35
36
  },
36
37
  };
37
38
 
@@ -38,6 +38,7 @@ export const tool: Tool = {
38
38
  'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
39
39
  },
40
40
  },
41
+ required: ['customer_id'],
41
42
  },
42
43
  };
43
44
 
@@ -61,6 +61,7 @@ export const tool: Tool = {
61
61
  'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
62
62
  },
63
63
  },
64
+ required: ['amount', 'type'],
64
65
  $defs: {
65
66
  discount_type: {
66
67
  type: 'string',
@@ -31,6 +31,7 @@ export const tool: Tool = {
31
31
  'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
32
32
  },
33
33
  },
34
+ required: ['discount_id'],
34
35
  },
35
36
  };
36
37
 
@@ -37,6 +37,7 @@ export const tool: Tool = {
37
37
  'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
38
38
  },
39
39
  },
40
+ required: [],
40
41
  },
41
42
  };
42
43
 
@@ -32,6 +32,7 @@ export const tool: Tool = {
32
32
  'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
33
33
  },
34
34
  },
35
+ required: ['discount_id'],
35
36
  },
36
37
  };
37
38
 
@@ -62,6 +62,7 @@ export const tool: Tool = {
62
62
  'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
63
63
  },
64
64
  },
65
+ required: ['discount_id'],
65
66
  $defs: {
66
67
  discount_type: {
67
68
  type: 'string',
@@ -69,6 +69,7 @@ export const tool: Tool = {
69
69
  'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
70
70
  },
71
71
  },
72
+ required: [],
72
73
  },
73
74
  };
74
75
 
@@ -18,7 +18,7 @@ export const metadata: Metadata = {
18
18
  export const tool: Tool = {
19
19
  name: 'retrieve_disputes',
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\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n amount: {\n type: 'string',\n description: 'The amount involved in the dispute, represented as a string to accommodate precision.'\n },\n business_id: {\n type: 'string',\n description: 'The unique identifier of the business involved in the dispute.'\n },\n created_at: {\n type: 'string',\n description: 'The timestamp of when the dispute was created, in UTC.',\n format: 'date-time'\n },\n currency: {\n type: 'string',\n description: 'The currency of the disputed amount, represented as an ISO 4217 currency code.'\n },\n customer: {\n $ref: '#/$defs/customer_limited_details'\n },\n dispute_id: {\n type: 'string',\n description: 'The unique identifier of the dispute.'\n },\n dispute_stage: {\n $ref: '#/$defs/dispute_stage'\n },\n dispute_status: {\n $ref: '#/$defs/dispute_status'\n },\n payment_id: {\n type: 'string',\n description: 'The unique identifier of the payment associated with the dispute.'\n },\n reason: {\n type: 'string',\n description: 'Reason for the dispute'\n },\n remarks: {\n type: 'string',\n description: 'Remarks'\n }\n },\n required: [ 'amount',\n 'business_id',\n 'created_at',\n 'currency',\n 'customer',\n 'dispute_id',\n 'dispute_stage',\n 'dispute_status',\n 'payment_id'\n ],\n $defs: {\n customer_limited_details: {\n type: 'object',\n properties: {\n customer_id: {\n type: 'string',\n description: 'Unique identifier for the customer'\n },\n email: {\n type: 'string',\n description: 'Email address of the customer'\n },\n name: {\n type: 'string',\n description: 'Full name of the customer'\n }\n },\n required: [ 'customer_id',\n 'email',\n 'name'\n ]\n },\n dispute_stage: {\n type: 'string',\n enum: [ 'pre_dispute',\n 'dispute',\n 'pre_arbitration'\n ]\n },\n dispute_status: {\n type: 'string',\n enum: [ 'dispute_opened',\n 'dispute_expired',\n 'dispute_accepted',\n 'dispute_cancelled',\n 'dispute_challenged',\n 'dispute_won',\n 'dispute_lost'\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\n\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/get_dispute',\n $defs: {\n get_dispute: {\n type: 'object',\n properties: {\n amount: {\n type: 'string',\n description: 'The amount involved in the dispute, represented as a string to accommodate precision.'\n },\n business_id: {\n type: 'string',\n description: 'The unique identifier of the business involved in the dispute.'\n },\n created_at: {\n type: 'string',\n description: 'The timestamp of when the dispute was created, in UTC.',\n format: 'date-time'\n },\n currency: {\n type: 'string',\n description: 'The currency of the disputed amount, represented as an ISO 4217 currency code.'\n },\n customer: {\n $ref: '#/$defs/customer_limited_details'\n },\n dispute_id: {\n type: 'string',\n description: 'The unique identifier of the dispute.'\n },\n dispute_stage: {\n $ref: '#/$defs/dispute_stage'\n },\n dispute_status: {\n $ref: '#/$defs/dispute_status'\n },\n payment_id: {\n type: 'string',\n description: 'The unique identifier of the payment associated with the dispute.'\n },\n reason: {\n type: 'string',\n description: 'Reason for the dispute'\n },\n remarks: {\n type: 'string',\n description: 'Remarks'\n }\n },\n required: [ 'amount',\n 'business_id',\n 'created_at',\n 'currency',\n 'customer',\n 'dispute_id',\n 'dispute_stage',\n 'dispute_status',\n 'payment_id'\n ]\n },\n customer_limited_details: {\n type: 'object',\n properties: {\n customer_id: {\n type: 'string',\n description: 'Unique identifier for the customer'\n },\n email: {\n type: 'string',\n description: 'Email address of the customer'\n },\n name: {\n type: 'string',\n description: 'Full name of the customer'\n }\n },\n required: [ 'customer_id',\n 'email',\n 'name'\n ]\n },\n dispute_stage: {\n type: 'string',\n enum: [ 'pre_dispute',\n 'dispute',\n 'pre_arbitration'\n ]\n },\n dispute_status: {\n type: 'string',\n enum: [ 'dispute_opened',\n 'dispute_expired',\n 'dispute_accepted',\n 'dispute_cancelled',\n 'dispute_challenged',\n 'dispute_won',\n 'dispute_lost'\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
  'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
33
33
  },
34
34
  },
35
+ required: ['dispute_id'],
35
36
  },
36
37
  };
37
38
 
@@ -31,6 +31,7 @@ export const tool: Tool = {
31
31
  'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
32
32
  },
33
33
  },
34
+ required: ['payment_id'],
34
35
  },
35
36
  };
36
37
 
@@ -41,6 +41,7 @@ export const tool: Tool = {
41
41
  'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
42
42
  },
43
43
  },
44
+ required: [],
44
45
  },
45
46
  };
46
47
 
@@ -32,6 +32,7 @@ export const tool: Tool = {
32
32
  'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
33
33
  },
34
34
  },
35
+ required: ['id'],
35
36
  },
36
37
  };
37
38
 
@@ -35,6 +35,7 @@ export const tool: Tool = {
35
35
  'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
36
36
  },
37
37
  },
38
+ required: ['id', 'name'],
38
39
  },
39
40
  };
40
41
 
@@ -50,6 +50,7 @@ export const tool: Tool = {
50
50
  'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
51
51
  },
52
52
  },
53
+ required: [],
53
54
  },
54
55
  };
55
56
 
@@ -32,6 +32,7 @@ export const tool: Tool = {
32
32
  'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
33
33
  },
34
34
  },
35
+ required: ['id'],
35
36
  },
36
37
  };
37
38
 
@@ -48,6 +48,7 @@ export const tool: Tool = {
48
48
  'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
49
49
  },
50
50
  },
51
+ required: ['id'],
51
52
  },
52
53
  };
53
54
 
@@ -35,6 +35,7 @@ export const tool: Tool = {
35
35
  'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
36
36
  },
37
37
  },
38
+ required: ['license_key', 'name'],
38
39
  },
39
40
  };
40
41
 
@@ -34,6 +34,7 @@ export const tool: Tool = {
34
34
  'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
35
35
  },
36
36
  },
37
+ required: ['license_key', 'license_key_instance_id'],
37
38
  },
38
39
  };
39
40
 
@@ -35,6 +35,7 @@ export const tool: Tool = {
35
35
  'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
36
36
  },
37
37
  },
38
+ required: ['license_key'],
38
39
  },
39
40
  };
40
41
 
@@ -29,6 +29,7 @@ export const tool: Tool = {
29
29
  'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
30
30
  },
31
31
  },
32
+ required: [],
32
33
  },
33
34
  };
34
35
 
@@ -39,27 +39,7 @@ export const tool: Tool = {
39
39
  description:
40
40
  'List of payment methods allowed during checkout.\n\nCustomers will **never** see payment methods that are **not** in this list.\nHowever, adding a method here **does not guarantee** customers will see it.\nAvailability still depends on other factors (e.g., customer location, merchant settings).',
41
41
  items: {
42
- type: 'string',
43
- enum: [
44
- 'credit',
45
- 'debit',
46
- 'upi_collect',
47
- 'upi_intent',
48
- 'apple_pay',
49
- 'cashapp',
50
- 'google_pay',
51
- 'multibanco',
52
- 'bancontact_card',
53
- 'eps',
54
- 'ideal',
55
- 'przelewy24',
56
- 'affirm',
57
- 'klarna',
58
- 'sepa',
59
- 'ach',
60
- 'amazon_pay',
61
- 'afterpay_clearpay',
62
- ],
42
+ $ref: '#/$defs/payment_method_types',
63
43
  },
64
44
  },
65
45
  billing_currency: {
@@ -91,6 +71,7 @@ export const tool: Tool = {
91
71
  'Tax ID in case the payment is B2B. If tax id validation fails the payment creation will fail',
92
72
  },
93
73
  },
74
+ required: ['billing', 'customer', 'product_cart'],
94
75
  $defs: {
95
76
  billing_address: {
96
77
  type: 'object',
@@ -430,6 +411,29 @@ export const tool: Tool = {
430
411
  },
431
412
  required: ['product_id', 'quantity'],
432
413
  },
414
+ payment_method_types: {
415
+ type: 'string',
416
+ enum: [
417
+ 'credit',
418
+ 'debit',
419
+ 'upi_collect',
420
+ 'upi_intent',
421
+ 'apple_pay',
422
+ 'cashapp',
423
+ 'google_pay',
424
+ 'multibanco',
425
+ 'bancontact_card',
426
+ 'eps',
427
+ 'ideal',
428
+ 'przelewy24',
429
+ 'affirm',
430
+ 'klarna',
431
+ 'sepa',
432
+ 'ach',
433
+ 'amazon_pay',
434
+ 'afterpay_clearpay',
435
+ ],
436
+ },
433
437
  currency: {
434
438
  type: 'string',
435
439
  enum: [
@@ -76,6 +76,7 @@ export const tool: Tool = {
76
76
  'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
77
77
  },
78
78
  },
79
+ required: [],
79
80
  },
80
81
  };
81
82