@keystrokehq/razorpay 0.1.0 → 0.1.3

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 (343) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/cancel-invoice.cjs +6 -6
  4. package/dist/actions/cancel-invoice.cjs.map +1 -1
  5. package/dist/actions/cancel-invoice.d.cts +99 -3
  6. package/dist/actions/cancel-invoice.d.cts.map +1 -1
  7. package/dist/actions/cancel-invoice.d.mts +99 -3
  8. package/dist/actions/cancel-invoice.d.mts.map +1 -1
  9. package/dist/actions/cancel-invoice.mjs +6 -6
  10. package/dist/actions/cancel-invoice.mjs.map +1 -1
  11. package/dist/actions/cancel-payment-link.cjs +14 -14
  12. package/dist/actions/cancel-payment-link.cjs.map +1 -1
  13. package/dist/actions/cancel-payment-link.d.cts +33 -3
  14. package/dist/actions/cancel-payment-link.d.cts.map +1 -1
  15. package/dist/actions/cancel-payment-link.d.mts +33 -3
  16. package/dist/actions/cancel-payment-link.d.mts.map +1 -1
  17. package/dist/actions/cancel-payment-link.mjs +14 -14
  18. package/dist/actions/cancel-payment-link.mjs.map +1 -1
  19. package/dist/actions/create-an-order.cjs +12 -12
  20. package/dist/actions/create-an-order.cjs.map +1 -1
  21. package/dist/actions/create-an-order.d.cts +27 -3
  22. package/dist/actions/create-an-order.d.cts.map +1 -1
  23. package/dist/actions/create-an-order.d.mts +27 -3
  24. package/dist/actions/create-an-order.d.mts.map +1 -1
  25. package/dist/actions/create-an-order.mjs +12 -12
  26. package/dist/actions/create-an-order.mjs.map +1 -1
  27. package/dist/actions/create-contact.cjs +9 -9
  28. package/dist/actions/create-contact.cjs.map +1 -1
  29. package/dist/actions/create-contact.d.cts +33 -3
  30. package/dist/actions/create-contact.d.cts.map +1 -1
  31. package/dist/actions/create-contact.d.mts +33 -3
  32. package/dist/actions/create-contact.d.mts.map +1 -1
  33. package/dist/actions/create-contact.mjs +9 -9
  34. package/dist/actions/create-contact.mjs.map +1 -1
  35. package/dist/actions/create-customer.cjs +5 -5
  36. package/dist/actions/create-customer.cjs.map +1 -1
  37. package/dist/actions/create-customer.d.cts +24 -3
  38. package/dist/actions/create-customer.d.cts.map +1 -1
  39. package/dist/actions/create-customer.d.mts +24 -3
  40. package/dist/actions/create-customer.d.mts.map +1 -1
  41. package/dist/actions/create-customer.mjs +5 -5
  42. package/dist/actions/create-customer.mjs.map +1 -1
  43. package/dist/actions/create-invoice.cjs +15 -15
  44. package/dist/actions/create-invoice.cjs.map +1 -1
  45. package/dist/actions/create-invoice.d.cts +222 -3
  46. package/dist/actions/create-invoice.d.cts.map +1 -1
  47. package/dist/actions/create-invoice.d.mts +222 -3
  48. package/dist/actions/create-invoice.d.mts.map +1 -1
  49. package/dist/actions/create-invoice.mjs +15 -15
  50. package/dist/actions/create-invoice.mjs.map +1 -1
  51. package/dist/actions/create-item.cjs +7 -7
  52. package/dist/actions/create-item.cjs.map +1 -1
  53. package/dist/actions/create-item.d.cts +29 -3
  54. package/dist/actions/create-item.d.cts.map +1 -1
  55. package/dist/actions/create-item.d.mts +29 -3
  56. package/dist/actions/create-item.d.mts.map +1 -1
  57. package/dist/actions/create-item.mjs +7 -7
  58. package/dist/actions/create-item.mjs.map +1 -1
  59. package/dist/actions/create-payment-link.cjs +10 -10
  60. package/dist/actions/create-payment-link.cjs.map +1 -1
  61. package/dist/actions/create-payment-link.d.cts +76 -3
  62. package/dist/actions/create-payment-link.d.cts.map +1 -1
  63. package/dist/actions/create-payment-link.d.mts +76 -3
  64. package/dist/actions/create-payment-link.d.mts.map +1 -1
  65. package/dist/actions/create-payment-link.mjs +10 -10
  66. package/dist/actions/create-payment-link.mjs.map +1 -1
  67. package/dist/actions/delete-invoice.cjs +1 -1
  68. package/dist/actions/delete-invoice.cjs.map +1 -1
  69. package/dist/actions/delete-invoice.d.cts +9 -3
  70. package/dist/actions/delete-invoice.d.cts.map +1 -1
  71. package/dist/actions/delete-invoice.d.mts +9 -3
  72. package/dist/actions/delete-invoice.d.mts.map +1 -1
  73. package/dist/actions/delete-invoice.mjs +1 -1
  74. package/dist/actions/delete-invoice.mjs.map +1 -1
  75. package/dist/actions/delete-item.cjs +1 -1
  76. package/dist/actions/delete-item.cjs.map +1 -1
  77. package/dist/actions/delete-item.d.cts +9 -3
  78. package/dist/actions/delete-item.d.cts.map +1 -1
  79. package/dist/actions/delete-item.d.mts +9 -3
  80. package/dist/actions/delete-item.d.mts.map +1 -1
  81. package/dist/actions/delete-item.mjs +1 -1
  82. package/dist/actions/delete-item.mjs.map +1 -1
  83. package/dist/actions/fetch-a-payment-link.cjs +6 -6
  84. package/dist/actions/fetch-a-payment-link.cjs.map +1 -1
  85. package/dist/actions/fetch-a-payment-link.d.cts +43 -3
  86. package/dist/actions/fetch-a-payment-link.d.cts.map +1 -1
  87. package/dist/actions/fetch-a-payment-link.d.mts +43 -3
  88. package/dist/actions/fetch-a-payment-link.d.mts.map +1 -1
  89. package/dist/actions/fetch-a-payment-link.mjs +6 -6
  90. package/dist/actions/fetch-a-payment-link.mjs.map +1 -1
  91. package/dist/actions/fetch-all-customers.cjs +9 -9
  92. package/dist/actions/fetch-all-customers.cjs.map +1 -1
  93. package/dist/actions/fetch-all-customers.d.cts +22 -3
  94. package/dist/actions/fetch-all-customers.d.cts.map +1 -1
  95. package/dist/actions/fetch-all-customers.d.mts +22 -3
  96. package/dist/actions/fetch-all-customers.d.mts.map +1 -1
  97. package/dist/actions/fetch-all-customers.mjs +9 -9
  98. package/dist/actions/fetch-all-customers.mjs.map +1 -1
  99. package/dist/actions/fetch-all-invoices.cjs +14 -14
  100. package/dist/actions/fetch-all-invoices.cjs.map +1 -1
  101. package/dist/actions/fetch-all-invoices.d.cts +115 -3
  102. package/dist/actions/fetch-all-invoices.d.cts.map +1 -1
  103. package/dist/actions/fetch-all-invoices.d.mts +115 -3
  104. package/dist/actions/fetch-all-invoices.d.mts.map +1 -1
  105. package/dist/actions/fetch-all-invoices.mjs +14 -14
  106. package/dist/actions/fetch-all-invoices.mjs.map +1 -1
  107. package/dist/actions/fetch-all-payment-links.cjs +9 -9
  108. package/dist/actions/fetch-all-payment-links.cjs.map +1 -1
  109. package/dist/actions/fetch-all-payment-links.d.cts +45 -3
  110. package/dist/actions/fetch-all-payment-links.d.cts.map +1 -1
  111. package/dist/actions/fetch-all-payment-links.d.mts +45 -3
  112. package/dist/actions/fetch-all-payment-links.d.mts.map +1 -1
  113. package/dist/actions/fetch-all-payment-links.mjs +9 -9
  114. package/dist/actions/fetch-all-payment-links.mjs.map +1 -1
  115. package/dist/actions/fetch-all-payments.cjs +15 -15
  116. package/dist/actions/fetch-all-payments.cjs.map +1 -1
  117. package/dist/actions/fetch-all-payments.d.cts +50 -3
  118. package/dist/actions/fetch-all-payments.d.cts.map +1 -1
  119. package/dist/actions/fetch-all-payments.d.mts +50 -3
  120. package/dist/actions/fetch-all-payments.d.mts.map +1 -1
  121. package/dist/actions/fetch-all-payments.mjs +15 -15
  122. package/dist/actions/fetch-all-payments.mjs.map +1 -1
  123. package/dist/actions/fetch-all-refunds-for-a-payment.cjs +3 -3
  124. package/dist/actions/fetch-all-refunds-for-a-payment.cjs.map +1 -1
  125. package/dist/actions/fetch-all-refunds-for-a-payment.d.cts +35 -3
  126. package/dist/actions/fetch-all-refunds-for-a-payment.d.cts.map +1 -1
  127. package/dist/actions/fetch-all-refunds-for-a-payment.d.mts +35 -3
  128. package/dist/actions/fetch-all-refunds-for-a-payment.d.mts.map +1 -1
  129. package/dist/actions/fetch-all-refunds-for-a-payment.mjs +3 -3
  130. package/dist/actions/fetch-all-refunds-for-a-payment.mjs.map +1 -1
  131. package/dist/actions/fetch-invoice-by-id.cjs +12 -12
  132. package/dist/actions/fetch-invoice-by-id.cjs.map +1 -1
  133. package/dist/actions/fetch-invoice-by-id.d.cts +97 -3
  134. package/dist/actions/fetch-invoice-by-id.d.cts.map +1 -1
  135. package/dist/actions/fetch-invoice-by-id.d.mts +97 -3
  136. package/dist/actions/fetch-invoice-by-id.d.mts.map +1 -1
  137. package/dist/actions/fetch-invoice-by-id.mjs +12 -12
  138. package/dist/actions/fetch-invoice-by-id.mjs.map +1 -1
  139. package/dist/actions/fetch-orders-by-id.cjs +10 -10
  140. package/dist/actions/fetch-orders-by-id.cjs.map +1 -1
  141. package/dist/actions/fetch-orders-by-id.d.cts +20 -3
  142. package/dist/actions/fetch-orders-by-id.d.cts.map +1 -1
  143. package/dist/actions/fetch-orders-by-id.d.mts +20 -3
  144. package/dist/actions/fetch-orders-by-id.d.mts.map +1 -1
  145. package/dist/actions/fetch-orders-by-id.mjs +10 -10
  146. package/dist/actions/fetch-orders-by-id.mjs.map +1 -1
  147. package/dist/actions/fetch-orders.cjs +13 -13
  148. package/dist/actions/fetch-orders.cjs.map +1 -1
  149. package/dist/actions/fetch-orders.d.cts +34 -3
  150. package/dist/actions/fetch-orders.d.cts.map +1 -1
  151. package/dist/actions/fetch-orders.d.mts +34 -3
  152. package/dist/actions/fetch-orders.d.mts.map +1 -1
  153. package/dist/actions/fetch-orders.mjs +13 -13
  154. package/dist/actions/fetch-orders.mjs.map +1 -1
  155. package/dist/actions/fetch-payments-by-order.cjs +11 -11
  156. package/dist/actions/fetch-payments-by-order.cjs.map +1 -1
  157. package/dist/actions/fetch-payments-by-order.d.cts +43 -3
  158. package/dist/actions/fetch-payments-by-order.d.cts.map +1 -1
  159. package/dist/actions/fetch-payments-by-order.d.mts +43 -3
  160. package/dist/actions/fetch-payments-by-order.d.mts.map +1 -1
  161. package/dist/actions/fetch-payments-by-order.mjs +11 -11
  162. package/dist/actions/fetch-payments-by-order.mjs.map +1 -1
  163. package/dist/actions/fetch-refunds.cjs +3 -3
  164. package/dist/actions/fetch-refunds.cjs.map +1 -1
  165. package/dist/actions/fetch-refunds.d.cts +33 -3
  166. package/dist/actions/fetch-refunds.d.cts.map +1 -1
  167. package/dist/actions/fetch-refunds.d.mts +33 -3
  168. package/dist/actions/fetch-refunds.d.mts.map +1 -1
  169. package/dist/actions/fetch-refunds.mjs +3 -3
  170. package/dist/actions/fetch-refunds.mjs.map +1 -1
  171. package/dist/actions/get-contact.cjs +8 -8
  172. package/dist/actions/get-contact.cjs.map +1 -1
  173. package/dist/actions/get-contact.d.cts +19 -3
  174. package/dist/actions/get-contact.d.cts.map +1 -1
  175. package/dist/actions/get-contact.d.mts +19 -3
  176. package/dist/actions/get-contact.d.mts.map +1 -1
  177. package/dist/actions/get-contact.mjs +8 -8
  178. package/dist/actions/get-contact.mjs.map +1 -1
  179. package/dist/actions/get-customer.cjs +4 -4
  180. package/dist/actions/get-customer.cjs.map +1 -1
  181. package/dist/actions/get-customer.d.cts +16 -3
  182. package/dist/actions/get-customer.d.cts.map +1 -1
  183. package/dist/actions/get-customer.d.mts +16 -3
  184. package/dist/actions/get-customer.d.mts.map +1 -1
  185. package/dist/actions/get-customer.mjs +4 -4
  186. package/dist/actions/get-customer.mjs.map +1 -1
  187. package/dist/actions/get-fund-account.cjs +11 -11
  188. package/dist/actions/get-fund-account.cjs.map +1 -1
  189. package/dist/actions/get-fund-account.d.cts +32 -3
  190. package/dist/actions/get-fund-account.d.cts.map +1 -1
  191. package/dist/actions/get-fund-account.d.mts +32 -3
  192. package/dist/actions/get-fund-account.d.mts.map +1 -1
  193. package/dist/actions/get-fund-account.mjs +11 -11
  194. package/dist/actions/get-fund-account.mjs.map +1 -1
  195. package/dist/actions/get-item.cjs +10 -10
  196. package/dist/actions/get-item.cjs.map +1 -1
  197. package/dist/actions/get-item.d.cts +24 -3
  198. package/dist/actions/get-item.d.cts.map +1 -1
  199. package/dist/actions/get-item.d.mts +24 -3
  200. package/dist/actions/get-item.d.mts.map +1 -1
  201. package/dist/actions/get-item.mjs +10 -10
  202. package/dist/actions/get-item.mjs.map +1 -1
  203. package/dist/actions/get-settlement-recon.cjs +2 -2
  204. package/dist/actions/get-settlement-recon.cjs.map +1 -1
  205. package/dist/actions/get-settlement-recon.d.cts +28 -3
  206. package/dist/actions/get-settlement-recon.d.cts.map +1 -1
  207. package/dist/actions/get-settlement-recon.d.mts +28 -3
  208. package/dist/actions/get-settlement-recon.d.mts.map +1 -1
  209. package/dist/actions/get-settlement-recon.mjs +2 -2
  210. package/dist/actions/get-settlement-recon.mjs.map +1 -1
  211. package/dist/actions/get-transfer-reversals.cjs +2 -2
  212. package/dist/actions/get-transfer-reversals.cjs.map +1 -1
  213. package/dist/actions/get-transfer-reversals.d.cts +32 -3
  214. package/dist/actions/get-transfer-reversals.d.cts.map +1 -1
  215. package/dist/actions/get-transfer-reversals.d.mts +32 -3
  216. package/dist/actions/get-transfer-reversals.d.mts.map +1 -1
  217. package/dist/actions/get-transfer-reversals.mjs +2 -2
  218. package/dist/actions/get-transfer-reversals.mjs.map +1 -1
  219. package/dist/actions/issue-an-invoice.cjs +12 -12
  220. package/dist/actions/issue-an-invoice.cjs.map +1 -1
  221. package/dist/actions/issue-an-invoice.d.cts +97 -3
  222. package/dist/actions/issue-an-invoice.d.cts.map +1 -1
  223. package/dist/actions/issue-an-invoice.d.mts +97 -3
  224. package/dist/actions/issue-an-invoice.d.mts.map +1 -1
  225. package/dist/actions/issue-an-invoice.mjs +12 -12
  226. package/dist/actions/issue-an-invoice.mjs.map +1 -1
  227. package/dist/actions/list-customer-tokens.cjs +10 -10
  228. package/dist/actions/list-customer-tokens.cjs.map +1 -1
  229. package/dist/actions/list-customer-tokens.d.cts +40 -3
  230. package/dist/actions/list-customer-tokens.d.cts.map +1 -1
  231. package/dist/actions/list-customer-tokens.d.mts +40 -3
  232. package/dist/actions/list-customer-tokens.d.mts.map +1 -1
  233. package/dist/actions/list-customer-tokens.mjs +10 -10
  234. package/dist/actions/list-customer-tokens.mjs.map +1 -1
  235. package/dist/actions/list-disputes.cjs +3 -3
  236. package/dist/actions/list-disputes.cjs.map +1 -1
  237. package/dist/actions/list-disputes.d.cts +46 -3
  238. package/dist/actions/list-disputes.d.cts.map +1 -1
  239. package/dist/actions/list-disputes.d.mts +46 -3
  240. package/dist/actions/list-disputes.d.mts.map +1 -1
  241. package/dist/actions/list-disputes.mjs +3 -3
  242. package/dist/actions/list-disputes.mjs.map +1 -1
  243. package/dist/actions/list-fund-accounts.cjs +5 -5
  244. package/dist/actions/list-fund-accounts.cjs.map +1 -1
  245. package/dist/actions/list-fund-accounts.d.cts +40 -3
  246. package/dist/actions/list-fund-accounts.d.cts.map +1 -1
  247. package/dist/actions/list-fund-accounts.d.mts +40 -3
  248. package/dist/actions/list-fund-accounts.d.mts.map +1 -1
  249. package/dist/actions/list-fund-accounts.mjs +5 -5
  250. package/dist/actions/list-fund-accounts.mjs.map +1 -1
  251. package/dist/actions/list-fund-validations.cjs +6 -6
  252. package/dist/actions/list-fund-validations.cjs.map +1 -1
  253. package/dist/actions/list-fund-validations.d.cts +45 -3
  254. package/dist/actions/list-fund-validations.d.cts.map +1 -1
  255. package/dist/actions/list-fund-validations.d.mts +45 -3
  256. package/dist/actions/list-fund-validations.d.mts.map +1 -1
  257. package/dist/actions/list-fund-validations.mjs +6 -6
  258. package/dist/actions/list-fund-validations.mjs.map +1 -1
  259. package/dist/actions/list-items.cjs +2 -2
  260. package/dist/actions/list-items.cjs.map +1 -1
  261. package/dist/actions/list-items.d.cts +36 -3
  262. package/dist/actions/list-items.d.cts.map +1 -1
  263. package/dist/actions/list-items.d.mts +36 -3
  264. package/dist/actions/list-items.d.mts.map +1 -1
  265. package/dist/actions/list-items.mjs +2 -2
  266. package/dist/actions/list-items.mjs.map +1 -1
  267. package/dist/actions/list-payment-downtimes.cjs.map +1 -1
  268. package/dist/actions/list-payment-downtimes.d.cts +3 -3
  269. package/dist/actions/list-payment-downtimes.d.cts.map +1 -1
  270. package/dist/actions/list-payment-downtimes.d.mts +3 -3
  271. package/dist/actions/list-payment-downtimes.d.mts.map +1 -1
  272. package/dist/actions/list-payment-downtimes.mjs.map +1 -1
  273. package/dist/actions/notify-payment-link.cjs +1 -1
  274. package/dist/actions/notify-payment-link.cjs.map +1 -1
  275. package/dist/actions/notify-payment-link.d.cts +14 -3
  276. package/dist/actions/notify-payment-link.d.cts.map +1 -1
  277. package/dist/actions/notify-payment-link.d.mts +14 -3
  278. package/dist/actions/notify-payment-link.d.mts.map +1 -1
  279. package/dist/actions/notify-payment-link.mjs +1 -1
  280. package/dist/actions/notify-payment-link.mjs.map +1 -1
  281. package/dist/actions/send-or-resend-notification.cjs +1 -1
  282. package/dist/actions/send-or-resend-notification.cjs.map +1 -1
  283. package/dist/actions/send-or-resend-notification.d.cts +14 -3
  284. package/dist/actions/send-or-resend-notification.d.cts.map +1 -1
  285. package/dist/actions/send-or-resend-notification.d.mts +14 -3
  286. package/dist/actions/send-or-resend-notification.d.mts.map +1 -1
  287. package/dist/actions/send-or-resend-notification.mjs +1 -1
  288. package/dist/actions/send-or-resend-notification.mjs.map +1 -1
  289. package/dist/actions/update-contact.cjs +9 -9
  290. package/dist/actions/update-contact.cjs.map +1 -1
  291. package/dist/actions/update-contact.d.cts +35 -3
  292. package/dist/actions/update-contact.d.cts.map +1 -1
  293. package/dist/actions/update-contact.d.mts +35 -3
  294. package/dist/actions/update-contact.d.mts.map +1 -1
  295. package/dist/actions/update-contact.mjs +9 -9
  296. package/dist/actions/update-contact.mjs.map +1 -1
  297. package/dist/actions/update-customer.cjs +8 -8
  298. package/dist/actions/update-customer.cjs.map +1 -1
  299. package/dist/actions/update-customer.d.cts +22 -3
  300. package/dist/actions/update-customer.d.cts.map +1 -1
  301. package/dist/actions/update-customer.d.mts +22 -3
  302. package/dist/actions/update-customer.d.mts.map +1 -1
  303. package/dist/actions/update-customer.mjs +8 -8
  304. package/dist/actions/update-customer.mjs.map +1 -1
  305. package/dist/actions/update-invoice.cjs +14 -14
  306. package/dist/actions/update-invoice.cjs.map +1 -1
  307. package/dist/actions/update-invoice.d.cts +228 -3
  308. package/dist/actions/update-invoice.d.cts.map +1 -1
  309. package/dist/actions/update-invoice.d.mts +228 -3
  310. package/dist/actions/update-invoice.d.mts.map +1 -1
  311. package/dist/actions/update-invoice.mjs +14 -14
  312. package/dist/actions/update-invoice.mjs.map +1 -1
  313. package/dist/actions/update-item.cjs +10 -10
  314. package/dist/actions/update-item.cjs.map +1 -1
  315. package/dist/actions/update-item.d.cts +30 -3
  316. package/dist/actions/update-item.d.cts.map +1 -1
  317. package/dist/actions/update-item.d.mts +30 -3
  318. package/dist/actions/update-item.d.mts.map +1 -1
  319. package/dist/actions/update-item.mjs +10 -10
  320. package/dist/actions/update-item.mjs.map +1 -1
  321. package/dist/actions/update-order.cjs +12 -12
  322. package/dist/actions/update-order.cjs.map +1 -1
  323. package/dist/actions/update-order.d.cts +22 -3
  324. package/dist/actions/update-order.d.cts.map +1 -1
  325. package/dist/actions/update-order.d.mts +22 -3
  326. package/dist/actions/update-order.d.mts.map +1 -1
  327. package/dist/actions/update-order.mjs +12 -12
  328. package/dist/actions/update-order.mjs.map +1 -1
  329. package/dist/actions/update-payment-link.cjs +12 -12
  330. package/dist/actions/update-payment-link.cjs.map +1 -1
  331. package/dist/actions/update-payment-link.d.cts +52 -3
  332. package/dist/actions/update-payment-link.d.cts.map +1 -1
  333. package/dist/actions/update-payment-link.d.mts +52 -3
  334. package/dist/actions/update-payment-link.d.mts.map +1 -1
  335. package/dist/actions/update-payment-link.mjs +12 -12
  336. package/dist/actions/update-payment-link.mjs.map +1 -1
  337. package/dist/catalog.cjs +13 -1
  338. package/dist/catalog.cjs.map +1 -1
  339. package/dist/catalog.d.cts +12 -0
  340. package/dist/catalog.d.mts +12 -0
  341. package/dist/catalog.mjs +13 -1
  342. package/dist/catalog.mjs.map +1 -1
  343. package/package.json +2 -2
@@ -6,15 +6,15 @@ const razorpayGetCustomer = action("RAZORPAY_GET_CUSTOMER", {
6
6
  description: "Tool to retrieve details of a specific customer by their ID. Use when you need to fetch customer information including name, email, contact details, and custom notes.",
7
7
  input: z.object({ customer_id: z.string().describe("The unique identifier of the customer to retrieve. Must start with 'cust_' followed by alphanumeric characters.") }).describe("Request model for retrieving a customer."),
8
8
  output: z.object({
9
- id: z.string().describe("Unique identifier for the customer object."),
9
+ id: z.string().describe("Unique identifier for the customer object.").nullable(),
10
10
  name: z.string().describe("The name of the customer.").nullable().optional(),
11
11
  email: z.string().describe("The email address of the customer.").nullable().optional(),
12
12
  gstin: z.string().describe("The GST identification number of the customer (India-specific).").nullable().optional(),
13
- notes: z.union([z.object({}), z.array(z.unknown())]).nullable().optional(),
14
- entity: z.string().describe("String representing the object's type. Always 'customer' for this endpoint."),
13
+ notes: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable().optional(),
14
+ entity: z.string().describe("String representing the object's type. Always 'customer' for this endpoint.").nullable(),
15
15
  contact: z.string().describe("The contact number of the customer.").nullable().optional(),
16
16
  created_at: z.number().int().describe("Unix timestamp when the customer was created.").nullable().optional()
17
- }).describe("Response model containing customer details.")
17
+ }).passthrough().describe("Response model containing customer details.")
18
18
  });
19
19
  //#endregion
20
20
  export { razorpayGetCustomer };
@@ -1 +1 @@
1
- {"version":3,"file":"get-customer.mjs","names":[],"sources":["../../src/actions/get-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayGetCustomerInput: z.ZodTypeAny = z.object({\n customer_id: z.string().describe(\"The unique identifier of the customer to retrieve. Must start with 'cust_' followed by alphanumeric characters.\"),\n}).describe(\"Request model for retrieving a customer.\");\nexport const RazorpayGetCustomerOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the customer object.\"),\n name: z.string().describe(\"The name of the customer.\").nullable().optional(),\n email: z.string().describe(\"The email address of the customer.\").nullable().optional(),\n gstin: z.string().describe(\"The GST identification number of the customer (India-specific).\").nullable().optional(),\n notes: z.union([z.object({}), z.array(z.unknown())]).nullable().optional(),\n entity: z.string().describe(\"String representing the object's type. Always 'customer' for this endpoint.\"),\n contact: z.string().describe(\"The contact number of the customer.\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the customer was created.\").nullable().optional(),\n}).describe(\"Response model containing customer details.\");\n\nexport const razorpayGetCustomer = action(\"RAZORPAY_GET_CUSTOMER\", {\n slug: \"razorpay-get-customer\",\n name: \"Retrieve Customer\",\n description: \"Tool to retrieve details of a specific customer by their ID. Use when you need to fetch customer information including name, email, contact details, and custom notes.\",\n input: RazorpayGetCustomerInput,\n output: RazorpayGetCustomerOutput,\n});\n"],"mappings":";;AAkBA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBoD,EAAE,OAAO,EAC7D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,EACpJ,CAAC,CAAC,CAAC,SAAS,0CAgBH;CACP,QAhBqD,EAAE,OAAO;EAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,OAAO,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;EACzG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-customer.mjs","names":[],"sources":["../../src/actions/get-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayGetCustomerInput = z.object({\n customer_id: z.string().describe(\"The unique identifier of the customer to retrieve. Must start with 'cust_' followed by alphanumeric characters.\"),\n}).describe(\"Request model for retrieving a customer.\");\nexport const RazorpayGetCustomerOutput = z.object({\n id: z.string().describe(\"Unique identifier for the customer object.\").nullable(),\n name: z.string().describe(\"The name of the customer.\").nullable().optional(),\n email: z.string().describe(\"The email address of the customer.\").nullable().optional(),\n gstin: z.string().describe(\"The GST identification number of the customer (India-specific).\").nullable().optional(),\n notes: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable().optional(),\n entity: z.string().describe(\"String representing the object's type. Always 'customer' for this endpoint.\").nullable(),\n contact: z.string().describe(\"The contact number of the customer.\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the customer was created.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing customer details.\");\n\nexport const razorpayGetCustomer = action(\"RAZORPAY_GET_CUSTOMER\", {\n slug: \"razorpay-get-customer\",\n name: \"Retrieve Customer\",\n description: \"Tool to retrieve details of a specific customer by their ID. Use when you need to fetch customer information including name, email, contact details, and custom notes.\",\n input: RazorpayGetCustomerInput,\n output: RazorpayGetCustomerOutput,\n});\n"],"mappings":";;AAkBA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBsC,EAAE,OAAO,EAC/C,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,EACpJ,CAAC,CAAC,CAAC,SAAS,0CAgBH;CACP,QAhBuC,EAAE,OAAO;EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,OAAO,EAAE,MAAM,CAAC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;EACpH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
@@ -6,31 +6,31 @@ const RazorpayGetFundAccount_VpaDetailsSchema = zod.z.object({
6
6
  handle: zod.z.string().describe("Handle part of the VPA (e.g., @paytm, @upi).").nullable().optional(),
7
7
  address: zod.z.string().describe("The VPA address (UPI ID).").nullable().optional(),
8
8
  username: zod.z.string().describe("Username part of the VPA.").nullable().optional()
9
- }).describe("VPA (Virtual Payment Address) details within a fund account.");
9
+ }).passthrough().describe("VPA (Virtual Payment Address) details within a fund account.");
10
10
  const RazorpayGetFundAccount_CardDetailsSchema = zod.z.object({
11
11
  name: zod.z.string().describe("Name of the cardholder.").nullable().optional(),
12
12
  last4: zod.z.string().describe("Last 4 digits of the card number.").nullable().optional(),
13
13
  network: zod.z.string().describe("Card network (e.g., Visa, Mastercard).").nullable().optional()
14
- }).describe("Card details within a fund account.");
14
+ }).passthrough().describe("Card details within a fund account.");
15
15
  const RazorpayGetFundAccount_BankAccountDetailsSchema = zod.z.object({
16
16
  ifsc: zod.z.string().describe("IFSC code of the bank branch.").nullable().optional(),
17
17
  name: zod.z.string().describe("Name of the account holder.").nullable().optional(),
18
- notes: zod.z.union([zod.z.object({}), zod.z.array(zod.z.unknown())]).nullable().optional(),
18
+ notes: zod.z.union([zod.z.record(zod.z.string(), zod.z.unknown()), zod.z.array(zod.z.unknown())]).nullable().optional(),
19
19
  bank_name: zod.z.string().describe("Name of the bank.").nullable().optional(),
20
20
  account_number: zod.z.string().describe("Bank account number.").nullable().optional()
21
- }).describe("Bank account details within a fund account.");
21
+ }).passthrough().describe("Bank account details within a fund account.");
22
22
  const RazorpayGetFundAccountOutput = zod.z.object({
23
- id: zod.z.string().describe("Unique identifier for the fund account object."),
23
+ id: zod.z.string().describe("Unique identifier for the fund account object.").nullable(),
24
24
  vpa: RazorpayGetFundAccount_VpaDetailsSchema.nullable().optional(),
25
25
  card: RazorpayGetFundAccount_CardDetailsSchema.nullable().optional(),
26
- active: zod.z.boolean().describe("Whether the fund account is active."),
27
- entity: zod.z.string().describe("String representing the object's type. Always 'fund_account' for this endpoint."),
26
+ active: zod.z.boolean().describe("Whether the fund account is active.").nullable(),
27
+ entity: zod.z.string().describe("String representing the object's type. Always 'fund_account' for this endpoint.").nullable(),
28
28
  batch_id: zod.z.string().describe("Batch identifier if the fund account was created in a batch.").nullable().optional(),
29
- contact_id: zod.z.string().describe("The unique identifier of the contact associated with this fund account."),
30
- created_at: zod.z.number().int().describe("Unix timestamp when the fund account was created."),
31
- account_type: zod.z.string().describe("The type of account (e.g., 'bank_account', 'vpa', 'card')."),
29
+ contact_id: zod.z.string().describe("The unique identifier of the contact associated with this fund account.").nullable(),
30
+ created_at: zod.z.number().int().describe("Unix timestamp when the fund account was created.").nullable(),
31
+ account_type: zod.z.string().describe("The type of account (e.g., 'bank_account', 'vpa', 'card').").nullable(),
32
32
  bank_account: RazorpayGetFundAccount_BankAccountDetailsSchema.nullable().optional()
33
- }).describe("Response model containing fund account details.");
33
+ }).passthrough().describe("Response model containing fund account details.");
34
34
  const razorpayGetFundAccount = require_action.action("RAZORPAY_GET_FUND_ACCOUNT", {
35
35
  slug: "razorpay-get-fund-account",
36
36
  name: "Get Fund Account",
@@ -1 +1 @@
1
- {"version":3,"file":"get-fund-account.cjs","names":["z","action"],"sources":["../../src/actions/get-fund-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayGetFundAccountInput: z.ZodTypeAny = z.object({\n fund_account_id: z.string().describe(\"The unique identifier of the fund account to retrieve. Must start with 'fa_' followed by alphanumeric characters.\"),\n}).describe(\"Request model for retrieving a fund account.\");\nconst RazorpayGetFundAccount_VpaDetailsSchema: z.ZodTypeAny = z.object({\n handle: z.string().describe(\"Handle part of the VPA (e.g., @paytm, @upi).\").nullable().optional(),\n address: z.string().describe(\"The VPA address (UPI ID).\").nullable().optional(),\n username: z.string().describe(\"Username part of the VPA.\").nullable().optional(),\n}).describe(\"VPA (Virtual Payment Address) details within a fund account.\");\nconst RazorpayGetFundAccount_CardDetailsSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the cardholder.\").nullable().optional(),\n last4: z.string().describe(\"Last 4 digits of the card number.\").nullable().optional(),\n network: z.string().describe(\"Card network (e.g., Visa, Mastercard).\").nullable().optional(),\n}).describe(\"Card details within a fund account.\");\nconst RazorpayGetFundAccount_BankAccountDetailsSchema: z.ZodTypeAny = z.object({\n ifsc: z.string().describe(\"IFSC code of the bank branch.\").nullable().optional(),\n name: z.string().describe(\"Name of the account holder.\").nullable().optional(),\n notes: z.union([z.object({}), z.array(z.unknown())]).nullable().optional(),\n bank_name: z.string().describe(\"Name of the bank.\").nullable().optional(),\n account_number: z.string().describe(\"Bank account number.\").nullable().optional(),\n}).describe(\"Bank account details within a fund account.\");\nexport const RazorpayGetFundAccountOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the fund account object.\"),\n vpa: RazorpayGetFundAccount_VpaDetailsSchema.nullable().optional(),\n card: RazorpayGetFundAccount_CardDetailsSchema.nullable().optional(),\n active: z.boolean().describe(\"Whether the fund account is active.\"),\n entity: z.string().describe(\"String representing the object's type. Always 'fund_account' for this endpoint.\"),\n batch_id: z.string().describe(\"Batch identifier if the fund account was created in a batch.\").nullable().optional(),\n contact_id: z.string().describe(\"The unique identifier of the contact associated with this fund account.\"),\n created_at: z.number().int().describe(\"Unix timestamp when the fund account was created.\"),\n account_type: z.string().describe(\"The type of account (e.g., 'bank_account', 'vpa', 'card').\"),\n bank_account: RazorpayGetFundAccount_BankAccountDetailsSchema.nullable().optional(),\n}).describe(\"Response model containing fund account details.\");\n\nexport const razorpayGetFundAccount = action(\"RAZORPAY_GET_FUND_ACCOUNT\", {\n slug: \"razorpay-get-fund-account\",\n name: \"Get Fund Account\",\n description: \"Tool to retrieve details of a specific fund account by its ID. Use when you need to fetch fund account information including associated contact, account type, and payment details.\",\n input: RazorpayGetFundAccountInput,\n output: RazorpayGetFundAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,EAC1J,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,0CAAwDA,IAAAA,EAAE,OAAO;CACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,2CAAyDA,IAAAA,EAAE,OAAO;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,kDAAgEA,IAAAA,EAAE,OAAO;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,OAAOA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CACxE,KAAK,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACjE,MAAM,yCAAyC,SAAS,CAAC,CAAC,SAAS;CACnE,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC;CAClE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;CAC7G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;CACzG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CACzF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CAC9F,cAAc,gDAAgD,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-fund-account.cjs","names":["z","action"],"sources":["../../src/actions/get-fund-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayGetFundAccountInput = z.object({\n fund_account_id: z.string().describe(\"The unique identifier of the fund account to retrieve. Must start with 'fa_' followed by alphanumeric characters.\"),\n}).describe(\"Request model for retrieving a fund account.\");\nconst RazorpayGetFundAccount_VpaDetailsSchema = z.object({\n handle: z.string().describe(\"Handle part of the VPA (e.g., @paytm, @upi).\").nullable().optional(),\n address: z.string().describe(\"The VPA address (UPI ID).\").nullable().optional(),\n username: z.string().describe(\"Username part of the VPA.\").nullable().optional(),\n}).passthrough().describe(\"VPA (Virtual Payment Address) details within a fund account.\");\nconst RazorpayGetFundAccount_CardDetailsSchema = z.object({\n name: z.string().describe(\"Name of the cardholder.\").nullable().optional(),\n last4: z.string().describe(\"Last 4 digits of the card number.\").nullable().optional(),\n network: z.string().describe(\"Card network (e.g., Visa, Mastercard).\").nullable().optional(),\n}).passthrough().describe(\"Card details within a fund account.\");\nconst RazorpayGetFundAccount_BankAccountDetailsSchema = z.object({\n ifsc: z.string().describe(\"IFSC code of the bank branch.\").nullable().optional(),\n name: z.string().describe(\"Name of the account holder.\").nullable().optional(),\n notes: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable().optional(),\n bank_name: z.string().describe(\"Name of the bank.\").nullable().optional(),\n account_number: z.string().describe(\"Bank account number.\").nullable().optional(),\n}).passthrough().describe(\"Bank account details within a fund account.\");\nexport const RazorpayGetFundAccountOutput = z.object({\n id: z.string().describe(\"Unique identifier for the fund account object.\").nullable(),\n vpa: RazorpayGetFundAccount_VpaDetailsSchema.nullable().optional(),\n card: RazorpayGetFundAccount_CardDetailsSchema.nullable().optional(),\n active: z.boolean().describe(\"Whether the fund account is active.\").nullable(),\n entity: z.string().describe(\"String representing the object's type. Always 'fund_account' for this endpoint.\").nullable(),\n batch_id: z.string().describe(\"Batch identifier if the fund account was created in a batch.\").nullable().optional(),\n contact_id: z.string().describe(\"The unique identifier of the contact associated with this fund account.\").nullable(),\n created_at: z.number().int().describe(\"Unix timestamp when the fund account was created.\").nullable(),\n account_type: z.string().describe(\"The type of account (e.g., 'bank_account', 'vpa', 'card').\").nullable(),\n bank_account: RazorpayGetFundAccount_BankAccountDetailsSchema.nullable().optional(),\n}).passthrough().describe(\"Response model containing fund account details.\");\n\nexport const razorpayGetFundAccount = action(\"RAZORPAY_GET_FUND_ACCOUNT\", {\n slug: \"razorpay-get-fund-account\",\n name: \"Get Fund Account\",\n description: \"Tool to retrieve details of a specific fund account by its ID. Use when you need to fetch fund account information including associated contact, account type, and payment details.\",\n input: RazorpayGetFundAccountInput,\n output: RazorpayGetFundAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,EAC1J,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AACxF,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,OAAOA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACnF,KAAK,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACjE,MAAM,yCAAyC,SAAS,CAAC,CAAC,SAAS;CACnE,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC7E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CACxH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACpH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACpG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACzG,cAAc,gDAAgD,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,38 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-fund-account.d.ts
4
- declare const RazorpayGetFundAccountInput: z.ZodTypeAny;
5
- declare const RazorpayGetFundAccountOutput: z.ZodTypeAny;
6
- declare const razorpayGetFundAccount: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RazorpayGetFundAccountInput: z.ZodObject<{
5
+ fund_account_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const RazorpayGetFundAccountOutput: z.ZodObject<{
8
+ id: z.ZodNullable<z.ZodString>;
9
+ vpa: z.ZodOptional<z.ZodNullable<z.ZodObject<{
10
+ handle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ }, z.core.$loose>>>;
14
+ card: z.ZodOptional<z.ZodNullable<z.ZodObject<{
15
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ last4: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ network: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ }, z.core.$loose>>>;
19
+ active: z.ZodNullable<z.ZodBoolean>;
20
+ entity: z.ZodNullable<z.ZodString>;
21
+ batch_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ contact_id: z.ZodNullable<z.ZodString>;
23
+ created_at: z.ZodNullable<z.ZodNumber>;
24
+ account_type: z.ZodNullable<z.ZodString>;
25
+ bank_account: z.ZodOptional<z.ZodNullable<z.ZodObject<{
26
+ ifsc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ notes: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown>]>>>;
29
+ bank_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ account_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ }, z.core.$loose>>>;
32
+ }, z.core.$loose>;
33
+ declare const razorpayGetFundAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
34
+ fund_account_id: string;
35
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
36
  //#endregion
8
37
  export { razorpayGetFundAccount };
9
38
  //# sourceMappingURL=get-fund-account.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-fund-account.d.cts","names":[],"sources":["../../src/actions/get-fund-account.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAEe;AAAA,cAkB9C,4BAAA,EAA8B,CAAA,CAAE,UAWiB;AAAA,cAEjD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-fund-account.d.cts","names":[],"sources":["../../src/actions/get-fund-account.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAoB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAa5B,sBAAA,gCAAsB,wBAAA"}
@@ -1,9 +1,38 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-fund-account.d.ts
4
- declare const RazorpayGetFundAccountInput: z.ZodTypeAny;
5
- declare const RazorpayGetFundAccountOutput: z.ZodTypeAny;
6
- declare const razorpayGetFundAccount: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RazorpayGetFundAccountInput: z.ZodObject<{
5
+ fund_account_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const RazorpayGetFundAccountOutput: z.ZodObject<{
8
+ id: z.ZodNullable<z.ZodString>;
9
+ vpa: z.ZodOptional<z.ZodNullable<z.ZodObject<{
10
+ handle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ }, z.core.$loose>>>;
14
+ card: z.ZodOptional<z.ZodNullable<z.ZodObject<{
15
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ last4: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ network: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ }, z.core.$loose>>>;
19
+ active: z.ZodNullable<z.ZodBoolean>;
20
+ entity: z.ZodNullable<z.ZodString>;
21
+ batch_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ contact_id: z.ZodNullable<z.ZodString>;
23
+ created_at: z.ZodNullable<z.ZodNumber>;
24
+ account_type: z.ZodNullable<z.ZodString>;
25
+ bank_account: z.ZodOptional<z.ZodNullable<z.ZodObject<{
26
+ ifsc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ notes: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown>]>>>;
29
+ bank_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ account_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ }, z.core.$loose>>>;
32
+ }, z.core.$loose>;
33
+ declare const razorpayGetFundAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
34
+ fund_account_id: string;
35
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
36
  //#endregion
8
37
  export { razorpayGetFundAccount };
9
38
  //# sourceMappingURL=get-fund-account.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-fund-account.d.mts","names":[],"sources":["../../src/actions/get-fund-account.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAEe;AAAA,cAkB9C,4BAAA,EAA8B,CAAA,CAAE,UAWiB;AAAA,cAEjD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-fund-account.d.mts","names":[],"sources":["../../src/actions/get-fund-account.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAoB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAa5B,sBAAA,gCAAsB,wBAAA"}
@@ -6,36 +6,36 @@ const RazorpayGetFundAccount_VpaDetailsSchema = z.object({
6
6
  handle: z.string().describe("Handle part of the VPA (e.g., @paytm, @upi).").nullable().optional(),
7
7
  address: z.string().describe("The VPA address (UPI ID).").nullable().optional(),
8
8
  username: z.string().describe("Username part of the VPA.").nullable().optional()
9
- }).describe("VPA (Virtual Payment Address) details within a fund account.");
9
+ }).passthrough().describe("VPA (Virtual Payment Address) details within a fund account.");
10
10
  const RazorpayGetFundAccount_CardDetailsSchema = z.object({
11
11
  name: z.string().describe("Name of the cardholder.").nullable().optional(),
12
12
  last4: z.string().describe("Last 4 digits of the card number.").nullable().optional(),
13
13
  network: z.string().describe("Card network (e.g., Visa, Mastercard).").nullable().optional()
14
- }).describe("Card details within a fund account.");
14
+ }).passthrough().describe("Card details within a fund account.");
15
15
  const RazorpayGetFundAccount_BankAccountDetailsSchema = z.object({
16
16
  ifsc: z.string().describe("IFSC code of the bank branch.").nullable().optional(),
17
17
  name: z.string().describe("Name of the account holder.").nullable().optional(),
18
- notes: z.union([z.object({}), z.array(z.unknown())]).nullable().optional(),
18
+ notes: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable().optional(),
19
19
  bank_name: z.string().describe("Name of the bank.").nullable().optional(),
20
20
  account_number: z.string().describe("Bank account number.").nullable().optional()
21
- }).describe("Bank account details within a fund account.");
21
+ }).passthrough().describe("Bank account details within a fund account.");
22
22
  const razorpayGetFundAccount = action("RAZORPAY_GET_FUND_ACCOUNT", {
23
23
  slug: "razorpay-get-fund-account",
24
24
  name: "Get Fund Account",
25
25
  description: "Tool to retrieve details of a specific fund account by its ID. Use when you need to fetch fund account information including associated contact, account type, and payment details.",
26
26
  input: RazorpayGetFundAccountInput,
27
27
  output: z.object({
28
- id: z.string().describe("Unique identifier for the fund account object."),
28
+ id: z.string().describe("Unique identifier for the fund account object.").nullable(),
29
29
  vpa: RazorpayGetFundAccount_VpaDetailsSchema.nullable().optional(),
30
30
  card: RazorpayGetFundAccount_CardDetailsSchema.nullable().optional(),
31
- active: z.boolean().describe("Whether the fund account is active."),
32
- entity: z.string().describe("String representing the object's type. Always 'fund_account' for this endpoint."),
31
+ active: z.boolean().describe("Whether the fund account is active.").nullable(),
32
+ entity: z.string().describe("String representing the object's type. Always 'fund_account' for this endpoint.").nullable(),
33
33
  batch_id: z.string().describe("Batch identifier if the fund account was created in a batch.").nullable().optional(),
34
- contact_id: z.string().describe("The unique identifier of the contact associated with this fund account."),
35
- created_at: z.number().int().describe("Unix timestamp when the fund account was created."),
36
- account_type: z.string().describe("The type of account (e.g., 'bank_account', 'vpa', 'card')."),
34
+ contact_id: z.string().describe("The unique identifier of the contact associated with this fund account.").nullable(),
35
+ created_at: z.number().int().describe("Unix timestamp when the fund account was created.").nullable(),
36
+ account_type: z.string().describe("The type of account (e.g., 'bank_account', 'vpa', 'card').").nullable(),
37
37
  bank_account: RazorpayGetFundAccount_BankAccountDetailsSchema.nullable().optional()
38
- }).describe("Response model containing fund account details.")
38
+ }).passthrough().describe("Response model containing fund account details.")
39
39
  });
40
40
  //#endregion
41
41
  export { razorpayGetFundAccount };
@@ -1 +1 @@
1
- {"version":3,"file":"get-fund-account.mjs","names":[],"sources":["../../src/actions/get-fund-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayGetFundAccountInput: z.ZodTypeAny = z.object({\n fund_account_id: z.string().describe(\"The unique identifier of the fund account to retrieve. Must start with 'fa_' followed by alphanumeric characters.\"),\n}).describe(\"Request model for retrieving a fund account.\");\nconst RazorpayGetFundAccount_VpaDetailsSchema: z.ZodTypeAny = z.object({\n handle: z.string().describe(\"Handle part of the VPA (e.g., @paytm, @upi).\").nullable().optional(),\n address: z.string().describe(\"The VPA address (UPI ID).\").nullable().optional(),\n username: z.string().describe(\"Username part of the VPA.\").nullable().optional(),\n}).describe(\"VPA (Virtual Payment Address) details within a fund account.\");\nconst RazorpayGetFundAccount_CardDetailsSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the cardholder.\").nullable().optional(),\n last4: z.string().describe(\"Last 4 digits of the card number.\").nullable().optional(),\n network: z.string().describe(\"Card network (e.g., Visa, Mastercard).\").nullable().optional(),\n}).describe(\"Card details within a fund account.\");\nconst RazorpayGetFundAccount_BankAccountDetailsSchema: z.ZodTypeAny = z.object({\n ifsc: z.string().describe(\"IFSC code of the bank branch.\").nullable().optional(),\n name: z.string().describe(\"Name of the account holder.\").nullable().optional(),\n notes: z.union([z.object({}), z.array(z.unknown())]).nullable().optional(),\n bank_name: z.string().describe(\"Name of the bank.\").nullable().optional(),\n account_number: z.string().describe(\"Bank account number.\").nullable().optional(),\n}).describe(\"Bank account details within a fund account.\");\nexport const RazorpayGetFundAccountOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the fund account object.\"),\n vpa: RazorpayGetFundAccount_VpaDetailsSchema.nullable().optional(),\n card: RazorpayGetFundAccount_CardDetailsSchema.nullable().optional(),\n active: z.boolean().describe(\"Whether the fund account is active.\"),\n entity: z.string().describe(\"String representing the object's type. Always 'fund_account' for this endpoint.\"),\n batch_id: z.string().describe(\"Batch identifier if the fund account was created in a batch.\").nullable().optional(),\n contact_id: z.string().describe(\"The unique identifier of the contact associated with this fund account.\"),\n created_at: z.number().int().describe(\"Unix timestamp when the fund account was created.\"),\n account_type: z.string().describe(\"The type of account (e.g., 'bank_account', 'vpa', 'card').\"),\n bank_account: RazorpayGetFundAccount_BankAccountDetailsSchema.nullable().optional(),\n}).describe(\"Response model containing fund account details.\");\n\nexport const razorpayGetFundAccount = action(\"RAZORPAY_GET_FUND_ACCOUNT\", {\n slug: \"razorpay-get-fund-account\",\n name: \"Get Fund Account\",\n description: \"Tool to retrieve details of a specific fund account by its ID. Use when you need to fetch fund account information including associated contact, account type, and payment details.\",\n input: RazorpayGetFundAccountInput,\n output: RazorpayGetFundAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4C,EAAE,OAAO,EAChE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,EAC1J,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,0CAAwD,EAAE,OAAO;CACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,2CAAyD,EAAE,OAAO;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,kDAAgE,EAAE,OAAO;CAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,OAAO,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAczD,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlBwD,EAAE,OAAO;EACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;EACxE,KAAK,wCAAwC,SAAS,CAAC,CAAC,SAAS;EACjE,MAAM,yCAAyC,SAAS,CAAC,CAAC,SAAS;EACnE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC;EAClE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;EAC7G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;EACzG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;EACzF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;EAC9F,cAAc,gDAAgD,SAAS,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-fund-account.mjs","names":[],"sources":["../../src/actions/get-fund-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayGetFundAccountInput = z.object({\n fund_account_id: z.string().describe(\"The unique identifier of the fund account to retrieve. Must start with 'fa_' followed by alphanumeric characters.\"),\n}).describe(\"Request model for retrieving a fund account.\");\nconst RazorpayGetFundAccount_VpaDetailsSchema = z.object({\n handle: z.string().describe(\"Handle part of the VPA (e.g., @paytm, @upi).\").nullable().optional(),\n address: z.string().describe(\"The VPA address (UPI ID).\").nullable().optional(),\n username: z.string().describe(\"Username part of the VPA.\").nullable().optional(),\n}).passthrough().describe(\"VPA (Virtual Payment Address) details within a fund account.\");\nconst RazorpayGetFundAccount_CardDetailsSchema = z.object({\n name: z.string().describe(\"Name of the cardholder.\").nullable().optional(),\n last4: z.string().describe(\"Last 4 digits of the card number.\").nullable().optional(),\n network: z.string().describe(\"Card network (e.g., Visa, Mastercard).\").nullable().optional(),\n}).passthrough().describe(\"Card details within a fund account.\");\nconst RazorpayGetFundAccount_BankAccountDetailsSchema = z.object({\n ifsc: z.string().describe(\"IFSC code of the bank branch.\").nullable().optional(),\n name: z.string().describe(\"Name of the account holder.\").nullable().optional(),\n notes: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable().optional(),\n bank_name: z.string().describe(\"Name of the bank.\").nullable().optional(),\n account_number: z.string().describe(\"Bank account number.\").nullable().optional(),\n}).passthrough().describe(\"Bank account details within a fund account.\");\nexport const RazorpayGetFundAccountOutput = z.object({\n id: z.string().describe(\"Unique identifier for the fund account object.\").nullable(),\n vpa: RazorpayGetFundAccount_VpaDetailsSchema.nullable().optional(),\n card: RazorpayGetFundAccount_CardDetailsSchema.nullable().optional(),\n active: z.boolean().describe(\"Whether the fund account is active.\").nullable(),\n entity: z.string().describe(\"String representing the object's type. Always 'fund_account' for this endpoint.\").nullable(),\n batch_id: z.string().describe(\"Batch identifier if the fund account was created in a batch.\").nullable().optional(),\n contact_id: z.string().describe(\"The unique identifier of the contact associated with this fund account.\").nullable(),\n created_at: z.number().int().describe(\"Unix timestamp when the fund account was created.\").nullable(),\n account_type: z.string().describe(\"The type of account (e.g., 'bank_account', 'vpa', 'card').\").nullable(),\n bank_account: RazorpayGetFundAccount_BankAccountDetailsSchema.nullable().optional(),\n}).passthrough().describe(\"Response model containing fund account details.\");\n\nexport const razorpayGetFundAccount = action(\"RAZORPAY_GET_FUND_ACCOUNT\", {\n slug: \"razorpay-get-fund-account\",\n name: \"Get Fund Account\",\n description: \"Tool to retrieve details of a specific fund account by its ID. Use when you need to fetch fund account information including associated contact, account type, and payment details.\",\n input: RazorpayGetFundAccountInput,\n output: RazorpayGetFundAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,EAClD,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,EAC1J,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,0CAA0C,EAAE,OAAO;CACvD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AACxF,MAAM,2CAA2C,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAM,kDAAkD,EAAE,OAAO;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,OAAO,EAAE,MAAM,CAAC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAcvE,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlB0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACnF,KAAK,wCAAwC,SAAS,CAAC,CAAC,SAAS;EACjE,MAAM,yCAAyC,SAAS,CAAC,CAAC,SAAS;EACnE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC7E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EACxH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EACpH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACpG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACzG,cAAc,gDAAgD,SAAS,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
@@ -3,23 +3,23 @@ let zod = require("zod");
3
3
  //#region src/actions/get-item.ts
4
4
  const RazorpayGetItemInput = zod.z.object({ item_id: zod.z.string().describe("The unique identifier of the item to retrieve") });
5
5
  const RazorpayGetItemOutput = zod.z.object({
6
- id: zod.z.string().describe("Unique identifier of the item"),
7
- name: zod.z.string().describe("Name of the item"),
8
- type: zod.z.string().describe("Type of the item (e.g., 'invoice', 'plan')"),
6
+ id: zod.z.string().describe("Unique identifier of the item").nullable(),
7
+ name: zod.z.string().describe("Name of the item").nullable(),
8
+ type: zod.z.string().describe("Type of the item (e.g., 'invoice', 'plan')").nullable(),
9
9
  unit: zod.z.string().describe("Unit of measurement for the item if applicable").nullable().optional(),
10
- active: zod.z.boolean().describe("Whether the item is currently active"),
11
- amount: zod.z.number().int().describe("Amount in currency subunits (e.g., paise for INR)"),
10
+ active: zod.z.boolean().describe("Whether the item is currently active").nullable(),
11
+ amount: zod.z.number().int().describe("Amount in currency subunits (e.g., paise for INR)").nullable(),
12
12
  tax_id: zod.z.string().describe("ID of the associated tax entity").nullable().optional(),
13
- currency: zod.z.string().describe("Three-letter ISO currency code (e.g., INR, USD)"),
13
+ currency: zod.z.string().describe("Three-letter ISO currency code (e.g., INR, USD)").nullable(),
14
14
  hsn_code: zod.z.string().describe("HSN (Harmonized System of Nomenclature) code for taxation").nullable().optional(),
15
15
  sac_code: zod.z.string().describe("SAC (Service Accounting Code) for taxation").nullable().optional(),
16
16
  tax_rate: zod.z.number().describe("Tax rate percentage if applicable").nullable().optional(),
17
- created_at: zod.z.number().int().describe("Unix timestamp when the item was created"),
17
+ created_at: zod.z.number().int().describe("Unix timestamp when the item was created").nullable(),
18
18
  description: zod.z.string().describe("Description of the item").nullable().optional(),
19
- unit_amount: zod.z.number().int().describe("Unit amount in currency subunits, same as amount for simple items"),
19
+ unit_amount: zod.z.number().int().describe("Unit amount in currency subunits, same as amount for simple items").nullable(),
20
20
  tax_group_id: zod.z.string().describe("ID of the tax group this item belongs to").nullable().optional(),
21
- tax_inclusive: zod.z.boolean().describe("Whether the amount includes tax")
22
- });
21
+ tax_inclusive: zod.z.boolean().describe("Whether the amount includes tax").nullable()
22
+ }).passthrough();
23
23
  const razorpayGetItem = require_action.action("RAZORPAY_GET_ITEM", {
24
24
  slug: "razorpay-get-item",
25
25
  name: "Get Item",
@@ -1 +1 @@
1
- {"version":3,"file":"get-item.cjs","names":["z","action"],"sources":["../../src/actions/get-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayGetItemInput: z.ZodTypeAny = z.object({\n item_id: z.string().describe(\"The unique identifier of the item to retrieve\"),\n});\nexport const RazorpayGetItemOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the item\"),\n name: z.string().describe(\"Name of the item\"),\n type: z.string().describe(\"Type of the item (e.g., 'invoice', 'plan')\"),\n unit: z.string().describe(\"Unit of measurement for the item if applicable\").nullable().optional(),\n active: z.boolean().describe(\"Whether the item is currently active\"),\n amount: z.number().int().describe(\"Amount in currency subunits (e.g., paise for INR)\"),\n tax_id: z.string().describe(\"ID of the associated tax entity\").nullable().optional(),\n currency: z.string().describe(\"Three-letter ISO currency code (e.g., INR, USD)\"),\n hsn_code: z.string().describe(\"HSN (Harmonized System of Nomenclature) code for taxation\").nullable().optional(),\n sac_code: z.string().describe(\"SAC (Service Accounting Code) for taxation\").nullable().optional(),\n tax_rate: z.number().describe(\"Tax rate percentage if applicable\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the item was created\"),\n description: z.string().describe(\"Description of the item\").nullable().optional(),\n unit_amount: z.number().int().describe(\"Unit amount in currency subunits, same as amount for simple items\"),\n tax_group_id: z.string().describe(\"ID of the tax group this item belongs to\").nullable().optional(),\n tax_inclusive: z.boolean().describe(\"Whether the amount includes tax\"),\n});\n\nexport const razorpayGetItem = action(\"RAZORPAY_GET_ITEM\", {\n slug: \"razorpay-get-item\",\n name: \"Get Item\",\n description: \"Tool to retrieve complete details of a specific Razorpay item by its ID. Use when you need to fetch information about an item including its name, description, amount, tax details, and other metadata.\",\n input: RazorpayGetItemInput,\n output: RazorpayGetItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAqCA,IAAAA,EAAE,OAAO,EACzD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,EAC9E,CAAC;AACD,MAAa,wBAAsCA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC;CACnE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CACrF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC/E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C;CAChF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE;CAC1G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC;AACvE,CAAC;AAED,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-item.cjs","names":["z","action"],"sources":["../../src/actions/get-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayGetItemInput = z.object({\n item_id: z.string().describe(\"The unique identifier of the item to retrieve\"),\n});\nexport const RazorpayGetItemOutput = z.object({\n id: z.string().describe(\"Unique identifier of the item\").nullable(),\n name: z.string().describe(\"Name of the item\").nullable(),\n type: z.string().describe(\"Type of the item (e.g., 'invoice', 'plan')\").nullable(),\n unit: z.string().describe(\"Unit of measurement for the item if applicable\").nullable().optional(),\n active: z.boolean().describe(\"Whether the item is currently active\").nullable(),\n amount: z.number().int().describe(\"Amount in currency subunits (e.g., paise for INR)\").nullable(),\n tax_id: z.string().describe(\"ID of the associated tax entity\").nullable().optional(),\n currency: z.string().describe(\"Three-letter ISO currency code (e.g., INR, USD)\").nullable(),\n hsn_code: z.string().describe(\"HSN (Harmonized System of Nomenclature) code for taxation\").nullable().optional(),\n sac_code: z.string().describe(\"SAC (Service Accounting Code) for taxation\").nullable().optional(),\n tax_rate: z.number().describe(\"Tax rate percentage if applicable\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the item was created\").nullable(),\n description: z.string().describe(\"Description of the item\").nullable().optional(),\n unit_amount: z.number().int().describe(\"Unit amount in currency subunits, same as amount for simple items\").nullable(),\n tax_group_id: z.string().describe(\"ID of the tax group this item belongs to\").nullable().optional(),\n tax_inclusive: z.boolean().describe(\"Whether the amount includes tax\").nullable(),\n}).passthrough();\n\nexport const razorpayGetItem = action(\"RAZORPAY_GET_ITEM\", {\n slug: \"razorpay-get-item\",\n name: \"Get Item\",\n description: \"Tool to retrieve complete details of a specific Razorpay item by its ID. Use when you need to fetch information about an item including its name, description, amount, tax details, and other metadata.\",\n input: RazorpayGetItemInput,\n output: RazorpayGetItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,EAC9E,CAAC;AACD,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAChG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC1F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC3F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACrH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,30 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-item.d.ts
4
- declare const RazorpayGetItemInput: z.ZodTypeAny;
5
- declare const RazorpayGetItemOutput: z.ZodTypeAny;
6
- declare const razorpayGetItem: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RazorpayGetItemInput: z.ZodObject<{
5
+ item_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const RazorpayGetItemOutput: z.ZodObject<{
8
+ id: z.ZodNullable<z.ZodString>;
9
+ name: z.ZodNullable<z.ZodString>;
10
+ type: z.ZodNullable<z.ZodString>;
11
+ unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ active: z.ZodNullable<z.ZodBoolean>;
13
+ amount: z.ZodNullable<z.ZodNumber>;
14
+ tax_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ currency: z.ZodNullable<z.ZodString>;
16
+ hsn_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ sac_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ tax_rate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
+ created_at: z.ZodNullable<z.ZodNumber>;
20
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ unit_amount: z.ZodNullable<z.ZodNumber>;
22
+ tax_group_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ tax_inclusive: z.ZodNullable<z.ZodBoolean>;
24
+ }, z.core.$loose>;
25
+ declare const razorpayGetItem: import("@keystrokehq/action").WorkflowActionDefinition<{
26
+ item_id: string;
27
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
28
  //#endregion
8
29
  export { razorpayGetItem };
9
30
  //# sourceMappingURL=get-item.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-item.d.cts","names":[],"sources":["../../src/actions/get-item.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAEnC;AAAA,cACW,qBAAA,EAAuB,CAAA,CAAE,UAiBpC;AAAA,cAEW,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-item.d.cts","names":[],"sources":["../../src/actions/get-item.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAGpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAmBrB,eAAA,gCAAe,wBAAA"}
@@ -1,9 +1,30 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-item.d.ts
4
- declare const RazorpayGetItemInput: z.ZodTypeAny;
5
- declare const RazorpayGetItemOutput: z.ZodTypeAny;
6
- declare const razorpayGetItem: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RazorpayGetItemInput: z.ZodObject<{
5
+ item_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const RazorpayGetItemOutput: z.ZodObject<{
8
+ id: z.ZodNullable<z.ZodString>;
9
+ name: z.ZodNullable<z.ZodString>;
10
+ type: z.ZodNullable<z.ZodString>;
11
+ unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ active: z.ZodNullable<z.ZodBoolean>;
13
+ amount: z.ZodNullable<z.ZodNumber>;
14
+ tax_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ currency: z.ZodNullable<z.ZodString>;
16
+ hsn_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ sac_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ tax_rate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
+ created_at: z.ZodNullable<z.ZodNumber>;
20
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ unit_amount: z.ZodNullable<z.ZodNumber>;
22
+ tax_group_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ tax_inclusive: z.ZodNullable<z.ZodBoolean>;
24
+ }, z.core.$loose>;
25
+ declare const razorpayGetItem: import("@keystrokehq/action").WorkflowActionDefinition<{
26
+ item_id: string;
27
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
28
  //#endregion
8
29
  export { razorpayGetItem };
9
30
  //# sourceMappingURL=get-item.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-item.d.mts","names":[],"sources":["../../src/actions/get-item.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAEnC;AAAA,cACW,qBAAA,EAAuB,CAAA,CAAE,UAiBpC;AAAA,cAEW,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-item.d.mts","names":[],"sources":["../../src/actions/get-item.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAGpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAmBrB,eAAA,gCAAe,wBAAA"}
@@ -6,23 +6,23 @@ const razorpayGetItem = action("RAZORPAY_GET_ITEM", {
6
6
  description: "Tool to retrieve complete details of a specific Razorpay item by its ID. Use when you need to fetch information about an item including its name, description, amount, tax details, and other metadata.",
7
7
  input: z.object({ item_id: z.string().describe("The unique identifier of the item to retrieve") }),
8
8
  output: z.object({
9
- id: z.string().describe("Unique identifier of the item"),
10
- name: z.string().describe("Name of the item"),
11
- type: z.string().describe("Type of the item (e.g., 'invoice', 'plan')"),
9
+ id: z.string().describe("Unique identifier of the item").nullable(),
10
+ name: z.string().describe("Name of the item").nullable(),
11
+ type: z.string().describe("Type of the item (e.g., 'invoice', 'plan')").nullable(),
12
12
  unit: z.string().describe("Unit of measurement for the item if applicable").nullable().optional(),
13
- active: z.boolean().describe("Whether the item is currently active"),
14
- amount: z.number().int().describe("Amount in currency subunits (e.g., paise for INR)"),
13
+ active: z.boolean().describe("Whether the item is currently active").nullable(),
14
+ amount: z.number().int().describe("Amount in currency subunits (e.g., paise for INR)").nullable(),
15
15
  tax_id: z.string().describe("ID of the associated tax entity").nullable().optional(),
16
- currency: z.string().describe("Three-letter ISO currency code (e.g., INR, USD)"),
16
+ currency: z.string().describe("Three-letter ISO currency code (e.g., INR, USD)").nullable(),
17
17
  hsn_code: z.string().describe("HSN (Harmonized System of Nomenclature) code for taxation").nullable().optional(),
18
18
  sac_code: z.string().describe("SAC (Service Accounting Code) for taxation").nullable().optional(),
19
19
  tax_rate: z.number().describe("Tax rate percentage if applicable").nullable().optional(),
20
- created_at: z.number().int().describe("Unix timestamp when the item was created"),
20
+ created_at: z.number().int().describe("Unix timestamp when the item was created").nullable(),
21
21
  description: z.string().describe("Description of the item").nullable().optional(),
22
- unit_amount: z.number().int().describe("Unit amount in currency subunits, same as amount for simple items"),
22
+ unit_amount: z.number().int().describe("Unit amount in currency subunits, same as amount for simple items").nullable(),
23
23
  tax_group_id: z.string().describe("ID of the tax group this item belongs to").nullable().optional(),
24
- tax_inclusive: z.boolean().describe("Whether the amount includes tax")
25
- })
24
+ tax_inclusive: z.boolean().describe("Whether the amount includes tax").nullable()
25
+ }).passthrough()
26
26
  });
27
27
  //#endregion
28
28
  export { razorpayGetItem };
@@ -1 +1 @@
1
- {"version":3,"file":"get-item.mjs","names":[],"sources":["../../src/actions/get-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayGetItemInput: z.ZodTypeAny = z.object({\n item_id: z.string().describe(\"The unique identifier of the item to retrieve\"),\n});\nexport const RazorpayGetItemOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the item\"),\n name: z.string().describe(\"Name of the item\"),\n type: z.string().describe(\"Type of the item (e.g., 'invoice', 'plan')\"),\n unit: z.string().describe(\"Unit of measurement for the item if applicable\").nullable().optional(),\n active: z.boolean().describe(\"Whether the item is currently active\"),\n amount: z.number().int().describe(\"Amount in currency subunits (e.g., paise for INR)\"),\n tax_id: z.string().describe(\"ID of the associated tax entity\").nullable().optional(),\n currency: z.string().describe(\"Three-letter ISO currency code (e.g., INR, USD)\"),\n hsn_code: z.string().describe(\"HSN (Harmonized System of Nomenclature) code for taxation\").nullable().optional(),\n sac_code: z.string().describe(\"SAC (Service Accounting Code) for taxation\").nullable().optional(),\n tax_rate: z.number().describe(\"Tax rate percentage if applicable\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the item was created\"),\n description: z.string().describe(\"Description of the item\").nullable().optional(),\n unit_amount: z.number().int().describe(\"Unit amount in currency subunits, same as amount for simple items\"),\n tax_group_id: z.string().describe(\"ID of the tax group this item belongs to\").nullable().optional(),\n tax_inclusive: z.boolean().describe(\"Whether the amount includes tax\"),\n});\n\nexport const razorpayGetItem = action(\"RAZORPAY_GET_ITEM\", {\n slug: \"razorpay-get-item\",\n name: \"Get Item\",\n description: \"Tool to retrieve complete details of a specific Razorpay item by its ID. Use when you need to fetch information about an item including its name, description, amount, tax details, and other metadata.\",\n input: RazorpayGetItemInput,\n output: RazorpayGetItemOutput,\n});\n"],"mappings":";;AA0BA,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1BgD,EAAE,OAAO,EACzD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,EAC9E,CAwBS;CACP,QAxBiD,EAAE,OAAO;EAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;EAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC;EACnE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;EACrF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EAC/E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C;EAChF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE;EAC1G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC;CACvE,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"get-item.mjs","names":[],"sources":["../../src/actions/get-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayGetItemInput = z.object({\n item_id: z.string().describe(\"The unique identifier of the item to retrieve\"),\n});\nexport const RazorpayGetItemOutput = z.object({\n id: z.string().describe(\"Unique identifier of the item\").nullable(),\n name: z.string().describe(\"Name of the item\").nullable(),\n type: z.string().describe(\"Type of the item (e.g., 'invoice', 'plan')\").nullable(),\n unit: z.string().describe(\"Unit of measurement for the item if applicable\").nullable().optional(),\n active: z.boolean().describe(\"Whether the item is currently active\").nullable(),\n amount: z.number().int().describe(\"Amount in currency subunits (e.g., paise for INR)\").nullable(),\n tax_id: z.string().describe(\"ID of the associated tax entity\").nullable().optional(),\n currency: z.string().describe(\"Three-letter ISO currency code (e.g., INR, USD)\").nullable(),\n hsn_code: z.string().describe(\"HSN (Harmonized System of Nomenclature) code for taxation\").nullable().optional(),\n sac_code: z.string().describe(\"SAC (Service Accounting Code) for taxation\").nullable().optional(),\n tax_rate: z.number().describe(\"Tax rate percentage if applicable\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the item was created\").nullable(),\n description: z.string().describe(\"Description of the item\").nullable().optional(),\n unit_amount: z.number().int().describe(\"Unit amount in currency subunits, same as amount for simple items\").nullable(),\n tax_group_id: z.string().describe(\"ID of the tax group this item belongs to\").nullable().optional(),\n tax_inclusive: z.boolean().describe(\"Whether the amount includes tax\").nullable(),\n}).passthrough();\n\nexport const razorpayGetItem = action(\"RAZORPAY_GET_ITEM\", {\n slug: \"razorpay-get-item\",\n name: \"Get Item\",\n description: \"Tool to retrieve complete details of a specific Razorpay item by its ID. Use when you need to fetch information about an item including its name, description, amount, tax details, and other metadata.\",\n input: RazorpayGetItemInput,\n output: RazorpayGetItemOutput,\n});\n"],"mappings":";;AA0BA,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1BkC,EAAE,OAAO,EAC3C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,EAC9E,CAwBS;CACP,QAxBmC,EAAE,OAAO;EAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAChG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC1F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAC3F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EACrH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAClF,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -17,12 +17,12 @@ const RazorpayGetSettlementRecon_SettlementReconItemSchema = zod.z.object({
17
17
  entity: zod.z.string().describe("Entity type (e.g., 'settlement')").nullable().optional(),
18
18
  status: zod.z.string().describe("Status of the settlement (e.g., 'processed', 'failed')").nullable().optional(),
19
19
  created_at: zod.z.number().int().describe("Timestamp when the settlement was created (Unix timestamp)").nullable().optional()
20
- }).describe("Represents a single settlement reconciliation record.");
20
+ }).passthrough().describe("Represents a single settlement reconciliation record.");
21
21
  const RazorpayGetSettlementReconOutput = zod.z.object({
22
22
  count: zod.z.number().int().describe("Number of items in the response").nullable().optional(),
23
23
  items: zod.z.array(RazorpayGetSettlementRecon_SettlementReconItemSchema).describe("List of settlement reconciliation records with detailed transaction information").nullable().optional(),
24
24
  entity: zod.z.string().describe("Entity type of the response (e.g., 'collection')").nullable().optional()
25
- }).describe("Response model for settlement reconciliation report.\nContains the reconciliation data for settlements in the specified time period.");
25
+ }).passthrough().describe("Response model for settlement reconciliation report.\nContains the reconciliation data for settlements in the specified time period.");
26
26
  const razorpayGetSettlementRecon = require_action.action("RAZORPAY_GET_SETTLEMENT_RECON", {
27
27
  slug: "razorpay-get-settlement-recon",
28
28
  name: "Get Settlement Reconciliation Report",
@@ -1 +1 @@
1
- {"version":3,"file":"get-settlement-recon.cjs","names":["z","action"],"sources":["../../src/actions/get-settlement-recon.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayGetSettlementReconInput: z.ZodTypeAny = z.object({\n day: z.number().int().describe(\"Optional day for the reconciliation report (1-31). If not provided, fetches data for the entire month.\").optional(),\n skip: z.number().int().default(0).describe(\"Number of settlement records to skip for pagination (default: 0)\").optional(),\n year: z.number().int().describe(\"Year for the reconciliation report (e.g., 2024)\"),\n count: z.number().int().default(10).describe(\"Number of settlement records to fetch (default: 10, max: 100)\").optional(),\n month: z.number().int().describe(\"Month for the reconciliation report (1-12)\"),\n}).describe(\"Request model for fetching settlement reconciliation report.\");\nconst RazorpayGetSettlementRecon_SettlementReconItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the settlement transaction\").nullable().optional(),\n tax: z.number().int().describe(\"Tax amount charged\").nullable().optional(),\n utr: z.string().describe(\"Unique Transaction Reference number\").nullable().optional(),\n fees: z.number().int().describe(\"Fees charged for the settlement\").nullable().optional(),\n amount: z.number().int().describe(\"Settlement amount in the smallest currency unit (e.g., paise for INR)\").nullable().optional(),\n entity: z.string().describe(\"Entity type (e.g., 'settlement')\").nullable().optional(),\n status: z.string().describe(\"Status of the settlement (e.g., 'processed', 'failed')\").nullable().optional(),\n created_at: z.number().int().describe(\"Timestamp when the settlement was created (Unix timestamp)\").nullable().optional(),\n}).describe(\"Represents a single settlement reconciliation record.\");\nexport const RazorpayGetSettlementReconOutput: z.ZodTypeAny = z.object({\n count: z.number().int().describe(\"Number of items in the response\").nullable().optional(),\n items: z.array(RazorpayGetSettlementRecon_SettlementReconItemSchema).describe(\"List of settlement reconciliation records with detailed transaction information\").nullable().optional(),\n entity: z.string().describe(\"Entity type of the response (e.g., 'collection')\").nullable().optional(),\n}).describe(\"Response model for settlement reconciliation report.\\nContains the reconciliation data for settlements in the specified time period.\");\n\nexport const razorpayGetSettlementRecon = action(\"RAZORPAY_GET_SETTLEMENT_RECON\", {\n slug: \"razorpay-get-settlement-recon\",\n name: \"Get Settlement Reconciliation Report\",\n description: \"Tool to fetch settlement reconciliation report for a specific date or month from Razorpay. Use when you need to retrieve detailed settlement transaction data for accounting and reconciliation purposes.\",\n input: RazorpayGetSettlementReconInput,\n output: RazorpayGetSettlementReconOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CAClJ,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACxH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CACjF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACvH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;AAC/E,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,uDAAqEA,IAAAA,EAAE,OAAO;CAClF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,OAAOA,IAAAA,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrL,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,sIAAsI;AAElJ,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-settlement-recon.cjs","names":["z","action"],"sources":["../../src/actions/get-settlement-recon.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayGetSettlementReconInput = z.object({\n day: z.number().int().describe(\"Optional day for the reconciliation report (1-31). If not provided, fetches data for the entire month.\").optional(),\n skip: z.number().int().default(0).describe(\"Number of settlement records to skip for pagination (default: 0)\").optional(),\n year: z.number().int().describe(\"Year for the reconciliation report (e.g., 2024)\"),\n count: z.number().int().default(10).describe(\"Number of settlement records to fetch (default: 10, max: 100)\").optional(),\n month: z.number().int().describe(\"Month for the reconciliation report (1-12)\"),\n}).describe(\"Request model for fetching settlement reconciliation report.\");\nconst RazorpayGetSettlementRecon_SettlementReconItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the settlement transaction\").nullable().optional(),\n tax: z.number().int().describe(\"Tax amount charged\").nullable().optional(),\n utr: z.string().describe(\"Unique Transaction Reference number\").nullable().optional(),\n fees: z.number().int().describe(\"Fees charged for the settlement\").nullable().optional(),\n amount: z.number().int().describe(\"Settlement amount in the smallest currency unit (e.g., paise for INR)\").nullable().optional(),\n entity: z.string().describe(\"Entity type (e.g., 'settlement')\").nullable().optional(),\n status: z.string().describe(\"Status of the settlement (e.g., 'processed', 'failed')\").nullable().optional(),\n created_at: z.number().int().describe(\"Timestamp when the settlement was created (Unix timestamp)\").nullable().optional(),\n}).passthrough().describe(\"Represents a single settlement reconciliation record.\");\nexport const RazorpayGetSettlementReconOutput = z.object({\n count: z.number().int().describe(\"Number of items in the response\").nullable().optional(),\n items: z.array(RazorpayGetSettlementRecon_SettlementReconItemSchema).describe(\"List of settlement reconciliation records with detailed transaction information\").nullable().optional(),\n entity: z.string().describe(\"Entity type of the response (e.g., 'collection')\").nullable().optional(),\n}).passthrough().describe(\"Response model for settlement reconciliation report.\\nContains the reconciliation data for settlements in the specified time period.\");\n\nexport const razorpayGetSettlementRecon = action(\"RAZORPAY_GET_SETTLEMENT_RECON\", {\n slug: \"razorpay-get-settlement-recon\",\n name: \"Get Settlement Reconciliation Report\",\n description: \"Tool to fetch settlement reconciliation report for a specific date or month from Razorpay. Use when you need to retrieve detailed settlement transaction data for accounting and reconciliation purposes.\",\n input: RazorpayGetSettlementReconInput,\n output: RazorpayGetSettlementReconOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CAClJ,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACxH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CACjF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACvH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;AAC/E,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,uDAAuDA,IAAAA,EAAE,OAAO;CACpE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AACjF,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,OAAOA,IAAAA,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrL,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sIAAsI;AAEhK,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,34 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-settlement-recon.d.ts
4
- declare const RazorpayGetSettlementReconInput: z.ZodTypeAny;
5
- declare const RazorpayGetSettlementReconOutput: z.ZodTypeAny;
6
- declare const razorpayGetSettlementRecon: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RazorpayGetSettlementReconInput: z.ZodObject<{
5
+ day: z.ZodOptional<z.ZodNumber>;
6
+ skip: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
7
+ year: z.ZodNumber;
8
+ count: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
9
+ month: z.ZodNumber;
10
+ }, z.core.$strip>;
11
+ declare const RazorpayGetSettlementReconOutput: z.ZodObject<{
12
+ count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
+ items: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
14
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ tax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
+ utr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ fees: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
+ amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
+ entity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
+ }, z.core.$loose>>>>;
23
+ entity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ }, z.core.$loose>;
25
+ declare const razorpayGetSettlementRecon: import("@keystrokehq/action").WorkflowActionDefinition<{
26
+ year: number;
27
+ month: number;
28
+ day?: number | undefined;
29
+ skip?: number | undefined;
30
+ count?: number | undefined;
31
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
32
  //#endregion
8
33
  export { razorpayGetSettlementRecon };
9
34
  //# sourceMappingURL=get-settlement-recon.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-settlement-recon.d.cts","names":[],"sources":["../../src/actions/get-settlement-recon.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAM2B;AAAA,cAW9D,gCAAA,EAAkC,CAAA,CAAE,UAIkG;AAAA,cAEtI,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-settlement-recon.d.cts","names":[],"sources":["../../src/actions/get-settlement-recon.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAiB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAMhC,0BAAA,gCAA0B,wBAAA"}