@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
@@ -1,9 +1,121 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/fetch-all-invoices.d.ts
4
- declare const RazorpayFetchAllInvoicesInput: z.ZodTypeAny;
5
- declare const RazorpayFetchAllInvoicesOutput: z.ZodTypeAny;
6
- declare const razorpayFetchAllInvoices: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RazorpayFetchAllInvoicesInput: z.ZodObject<{
5
+ to: z.ZodOptional<z.ZodNumber>;
6
+ from: z.ZodOptional<z.ZodNumber>;
7
+ skip: z.ZodOptional<z.ZodNumber>;
8
+ type: z.ZodOptional<z.ZodString>;
9
+ count: z.ZodOptional<z.ZodNumber>;
10
+ receipt: z.ZodOptional<z.ZodString>;
11
+ payment_id: z.ZodOptional<z.ZodString>;
12
+ customer_id: z.ZodOptional<z.ZodString>;
13
+ }, z.core.$strip>;
14
+ declare const RazorpayFetchAllInvoicesOutput: z.ZodObject<{
15
+ count: z.ZodNullable<z.ZodNumber>;
16
+ items: z.ZodArray<z.ZodObject<{
17
+ id: z.ZodNullable<z.ZodString>;
18
+ date: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ notes: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown>]>>>;
21
+ terms: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
+ entity: z.ZodNullable<z.ZodString>;
24
+ status: z.ZodNullable<z.ZodString>;
25
+ comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ paid_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
+ receipt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ currency: z.ZodNullable<z.ZodString>;
29
+ order_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ expire_by: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
31
+ issued_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32
+ short_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ view_less: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
34
+ amount_due: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
35
+ created_at: z.ZodNullable<z.ZodNumber>;
36
+ expired_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
37
+ line_items: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
38
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
+ taxes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
43
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
+ rate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
45
+ amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
46
+ tax_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
+ }, z.core.$loose>>>>;
48
+ amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
49
+ ref_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ item_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
+ currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
+ hsn_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
+ quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
54
+ ref_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
+ sac_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
+ tax_rate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
57
+ net_amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
58
+ tax_amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
59
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
+ unit_amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
61
+ gross_amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
62
+ tax_inclusive: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
63
+ taxable_amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
64
+ }, z.core.$loose>>>>;
65
+ payment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
66
+ sms_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
67
+ tax_amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
68
+ amount_paid: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
69
+ billing_end: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
70
+ customer_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
71
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72
+ cancelled_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
73
+ email_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
74
+ gross_amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
75
+ billing_start: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
76
+ invoice_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
77
+ taxable_amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
78
+ currency_symbol: z.ZodOptional<z.ZodNullable<z.ZodString>>;
79
+ idempotency_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
80
+ partial_payment: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
81
+ subscription_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
82
+ customer_details: z.ZodOptional<z.ZodNullable<z.ZodObject<{
83
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
84
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
85
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
86
+ gstin: z.ZodOptional<z.ZodNullable<z.ZodString>>;
87
+ contact: z.ZodOptional<z.ZodNullable<z.ZodString>>;
88
+ billing_address: z.ZodOptional<z.ZodNullable<z.ZodObject<{
89
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
90
+ line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
91
+ line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
92
+ state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
93
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94
+ zipcode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
95
+ }, z.core.$loose>>>;
96
+ shipping_address: z.ZodOptional<z.ZodNullable<z.ZodObject<{
97
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
98
+ line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
99
+ line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
100
+ state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
101
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102
+ zipcode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
103
+ }, z.core.$loose>>>;
104
+ }, z.core.$loose>>>;
105
+ group_taxes_discounts: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
106
+ }, z.core.$loose>>;
107
+ entity: z.ZodNullable<z.ZodString>;
108
+ }, z.core.$loose>;
109
+ declare const razorpayFetchAllInvoices: import("@keystrokehq/action").WorkflowActionDefinition<{
110
+ to?: number | undefined;
111
+ from?: number | undefined;
112
+ skip?: number | undefined;
113
+ type?: string | undefined;
114
+ count?: number | undefined;
115
+ receipt?: string | undefined;
116
+ payment_id?: string | undefined;
117
+ customer_id?: string | undefined;
118
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
119
  //#endregion
8
120
  export { razorpayFetchAllInvoices };
9
121
  //# sourceMappingURL=fetch-all-invoices.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fetch-all-invoices.d.mts","names":[],"sources":["../../src/actions/fetch-all-invoices.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAS+C;AAAA,cAyFhF,8BAAA,EAAgC,CAAA,CAAE,UAIS;AAAA,cAE3C,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"fetch-all-invoices.d.mts","names":[],"sources":["../../src/actions/fetch-all-invoices.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;cAkG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM9B,wBAAA,gCAAwB,wBAAA"}
@@ -16,7 +16,7 @@ const RazorpayFetchAllInvoices_TaxDetailSchema = z.object({
16
16
  rate: z.number().int().describe("Tax rate in basis points").nullable().optional(),
17
17
  amount: z.number().int().describe("Tax amount in currency subunit").nullable().optional(),
18
18
  tax_id: z.string().describe("Tax ID").nullable().optional()
19
- }).describe("Tax detail for a line item.");
19
+ }).passthrough().describe("Tax detail for a line item.");
20
20
  const RazorpayFetchAllInvoices_LineItemSchema = z.object({
21
21
  id: z.string().describe("Line item ID").nullable().optional(),
22
22
  name: z.string().describe("Item name").nullable().optional(),
@@ -39,7 +39,7 @@ const RazorpayFetchAllInvoices_LineItemSchema = z.object({
39
39
  gross_amount: z.number().int().describe("Gross amount before tax").nullable().optional(),
40
40
  tax_inclusive: z.boolean().describe("Whether tax is included in the amount").nullable().optional(),
41
41
  taxable_amount: z.number().int().describe("Taxable amount").nullable().optional()
42
- }).describe("Individual line item in an invoice.");
42
+ }).passthrough().describe("Individual line item in an invoice.");
43
43
  const RazorpayFetchAllInvoices_AddressSchema = z.object({
44
44
  city: z.string().describe("City").nullable().optional(),
45
45
  line1: z.string().describe("Address line 1").nullable().optional(),
@@ -47,7 +47,7 @@ const RazorpayFetchAllInvoices_AddressSchema = z.object({
47
47
  state: z.string().describe("State").nullable().optional(),
48
48
  country: z.string().describe("Country").nullable().optional(),
49
49
  zipcode: z.string().describe("Postal/ZIP code").nullable().optional()
50
- }).describe("Address details for billing or shipping.");
50
+ }).passthrough().describe("Address details for billing or shipping.");
51
51
  const RazorpayFetchAllInvoices_CustomerDetailsSchema = z.object({
52
52
  id: z.string().describe("Customer ID").nullable().optional(),
53
53
  name: z.string().describe("Customer name").nullable().optional(),
@@ -56,27 +56,27 @@ const RazorpayFetchAllInvoices_CustomerDetailsSchema = z.object({
56
56
  contact: z.string().describe("Customer contact number").nullable().optional(),
57
57
  billing_address: RazorpayFetchAllInvoices_AddressSchema.nullable().optional(),
58
58
  shipping_address: RazorpayFetchAllInvoices_AddressSchema.nullable().optional()
59
- }).describe("Customer details associated with the invoice.");
59
+ }).passthrough().describe("Customer details associated with the invoice.");
60
60
  const RazorpayFetchAllInvoices_InvoiceSchema = z.object({
61
- id: z.string().describe("Unique invoice identifier"),
61
+ id: z.string().describe("Unique invoice identifier").nullable(),
62
62
  date: z.number().int().describe("Invoice date as Unix timestamp").nullable().optional(),
63
63
  type: z.string().describe("Invoice type").nullable().optional(),
64
- notes: z.union([z.object({}), z.array(z.unknown())]).nullable().optional(),
64
+ notes: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable().optional(),
65
65
  terms: z.string().describe("Terms and conditions").nullable().optional(),
66
66
  amount: z.number().int().describe("Total invoice amount in currency subunit").nullable().optional(),
67
- entity: z.string().describe("Entity type, always 'invoice'"),
68
- status: z.string().describe("Invoice status (draft, issued, paid, etc.)"),
67
+ entity: z.string().describe("Entity type, always 'invoice'").nullable(),
68
+ status: z.string().describe("Invoice status (draft, issued, paid, etc.)").nullable(),
69
69
  comment: z.string().describe("Comment on the invoice").nullable().optional(),
70
70
  paid_at: z.number().int().describe("Unix timestamp when the invoice was paid").nullable().optional(),
71
71
  receipt: z.string().describe("Internal reference number").nullable().optional(),
72
- currency: z.string().describe("Three-letter ISO currency code"),
72
+ currency: z.string().describe("Three-letter ISO currency code").nullable(),
73
73
  order_id: z.string().describe("Associated order ID").nullable().optional(),
74
74
  expire_by: z.number().int().describe("Unix timestamp when the invoice expires").nullable().optional(),
75
75
  issued_at: z.number().int().describe("Unix timestamp when the invoice was issued").nullable().optional(),
76
76
  short_url: z.string().describe("Short URL for the invoice payment page").nullable().optional(),
77
77
  view_less: z.boolean().describe("Whether to show a compact view").nullable().optional(),
78
78
  amount_due: z.number().int().describe("Amount due in currency subunit").nullable().optional(),
79
- created_at: z.number().int().describe("Unix timestamp when the invoice was created"),
79
+ created_at: z.number().int().describe("Unix timestamp when the invoice was created").nullable(),
80
80
  expired_at: z.number().int().describe("Unix timestamp when the invoice expired").nullable().optional(),
81
81
  line_items: z.array(RazorpayFetchAllInvoices_LineItemSchema).describe("List of invoice line items").nullable().optional(),
82
82
  payment_id: z.string().describe("Associated payment ID").nullable().optional(),
@@ -98,17 +98,17 @@ const RazorpayFetchAllInvoices_InvoiceSchema = z.object({
98
98
  subscription_id: z.string().describe("Associated subscription ID").nullable().optional(),
99
99
  customer_details: RazorpayFetchAllInvoices_CustomerDetailsSchema.nullable().optional(),
100
100
  group_taxes_discounts: z.boolean().describe("Whether taxes and discounts are grouped").nullable().optional()
101
- }).describe("Represents a single invoice object.");
101
+ }).passthrough().describe("Represents a single invoice object.");
102
102
  const razorpayFetchAllInvoices = action("RAZORPAY_FETCH_ALL_INVOICES", {
103
103
  slug: "razorpay-fetch-all-invoices",
104
104
  name: "Fetch All Invoices",
105
105
  description: "Tool to fetch all invoices with pagination and filtering support. Use when you need to retrieve a list of invoices, optionally filtered by payment ID, customer ID, receipt, or date range.",
106
106
  input: RazorpayFetchAllInvoicesInput,
107
107
  output: z.object({
108
- count: z.number().int().describe("Number of invoices returned in this response."),
108
+ count: z.number().int().describe("Number of invoices returned in this response.").nullable(),
109
109
  items: z.array(RazorpayFetchAllInvoices_InvoiceSchema).describe("List of invoice objects matching the query criteria."),
110
- entity: z.string().describe("Type of entity returned, typically 'collection' for list responses.")
111
- }).describe("Response containing the list of invoices.")
110
+ entity: z.string().describe("Type of entity returned, typically 'collection' for list responses.").nullable()
111
+ }).passthrough().describe("Response containing the list of invoices.")
112
112
  });
113
113
  //#endregion
114
114
  export { razorpayFetchAllInvoices };
@@ -1 +1 @@
1
- {"version":3,"file":"fetch-all-invoices.mjs","names":[],"sources":["../../src/actions/fetch-all-invoices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayFetchAllInvoicesInput: z.ZodTypeAny = z.object({\n to: z.number().int().describe(\"Unix timestamp (in seconds) before which the invoices were created. Use for date range filtering.\").optional(),\n from: z.number().int().describe(\"Unix timestamp (in seconds) after which the invoices were created. Use for date range filtering.\").optional(),\n skip: z.number().int().describe(\"Number of invoices to skip from the beginning of the result set. Use for pagination. Default is 0.\").optional(),\n type: z.string().describe(\"Entity type filter. Use 'invoice' to filter by invoice type.\").optional(),\n count: z.number().int().describe(\"Number of invoices to fetch per request. Default is 10 if not specified. Maximum is 100.\").optional(),\n receipt: z.string().describe(\"The unique receipt number that you entered for internal purposes. Use to filter invoices by receipt.\").optional(),\n payment_id: z.string().describe(\"The unique identifier of the payment made by the customer against the invoice. Use to filter invoices by specific payment.\").optional(),\n customer_id: z.string().describe(\"The unique identifier of the customer. Use to filter invoices for a specific customer.\").optional(),\n}).describe(\"Request model for fetching all invoices with pagination and filtering support.\");\nconst RazorpayFetchAllInvoices_TaxDetailSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Tax name\").nullable().optional(),\n rate: z.number().int().describe(\"Tax rate in basis points\").nullable().optional(),\n amount: z.number().int().describe(\"Tax amount in currency subunit\").nullable().optional(),\n tax_id: z.string().describe(\"Tax ID\").nullable().optional(),\n}).describe(\"Tax detail for a line item.\");\nconst RazorpayFetchAllInvoices_LineItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Line item ID\").nullable().optional(),\n name: z.string().describe(\"Item name\").nullable().optional(),\n type: z.string().describe(\"Line item type\").nullable().optional(),\n unit: z.string().describe(\"Unit of measurement\").nullable().optional(),\n taxes: z.array(RazorpayFetchAllInvoices_TaxDetailSchema).describe(\"List of tax details\").nullable().optional(),\n amount: z.number().int().describe(\"Item amount in currency subunit\").nullable().optional(),\n ref_id: z.string().describe(\"Reference ID for the item\").nullable().optional(),\n item_id: z.string().describe(\"Reference to item entity\").nullable().optional(),\n currency: z.string().describe(\"Currency code\").nullable().optional(),\n hsn_code: z.string().describe(\"HSN code for the item\").nullable().optional(),\n quantity: z.number().int().describe(\"Quantity of items\").nullable().optional(),\n ref_type: z.string().describe(\"Reference type\").nullable().optional(),\n sac_code: z.string().describe(\"SAC code for the item\").nullable().optional(),\n tax_rate: z.number().int().describe(\"Tax rate in basis points\").nullable().optional(),\n net_amount: z.number().int().describe(\"Net amount after tax\").nullable().optional(),\n tax_amount: z.number().int().describe(\"Tax amount\").nullable().optional(),\n description: z.string().describe(\"Item description\").nullable().optional(),\n unit_amount: z.number().int().describe(\"Unit price in currency subunit\").nullable().optional(),\n gross_amount: z.number().int().describe(\"Gross amount before tax\").nullable().optional(),\n tax_inclusive: z.boolean().describe(\"Whether tax is included in the amount\").nullable().optional(),\n taxable_amount: z.number().int().describe(\"Taxable amount\").nullable().optional(),\n}).describe(\"Individual line item in an invoice.\");\nconst RazorpayFetchAllInvoices_AddressSchema: z.ZodTypeAny = z.object({\n city: z.string().describe(\"City\").nullable().optional(),\n line1: z.string().describe(\"Address line 1\").nullable().optional(),\n line2: z.string().describe(\"Address line 2\").nullable().optional(),\n state: z.string().describe(\"State\").nullable().optional(),\n country: z.string().describe(\"Country\").nullable().optional(),\n zipcode: z.string().describe(\"Postal/ZIP code\").nullable().optional(),\n}).describe(\"Address details for billing or shipping.\");\nconst RazorpayFetchAllInvoices_CustomerDetailsSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Customer ID\").nullable().optional(),\n name: z.string().describe(\"Customer name\").nullable().optional(),\n email: z.string().describe(\"Customer email address\").nullable().optional(),\n gstin: z.string().describe(\"Customer GSTIN\").nullable().optional(),\n contact: z.string().describe(\"Customer contact number\").nullable().optional(),\n billing_address: RazorpayFetchAllInvoices_AddressSchema.nullable().optional(),\n shipping_address: RazorpayFetchAllInvoices_AddressSchema.nullable().optional(),\n}).describe(\"Customer details associated with the invoice.\");\nconst RazorpayFetchAllInvoices_InvoiceSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique invoice identifier\"),\n date: z.number().int().describe(\"Invoice date as Unix timestamp\").nullable().optional(),\n type: z.string().describe(\"Invoice type\").nullable().optional(),\n notes: z.union([z.object({}), z.array(z.unknown())]).nullable().optional(),\n terms: z.string().describe(\"Terms and conditions\").nullable().optional(),\n amount: z.number().int().describe(\"Total invoice amount in currency subunit\").nullable().optional(),\n entity: z.string().describe(\"Entity type, always 'invoice'\"),\n status: z.string().describe(\"Invoice status (draft, issued, paid, etc.)\"),\n comment: z.string().describe(\"Comment on the invoice\").nullable().optional(),\n paid_at: z.number().int().describe(\"Unix timestamp when the invoice was paid\").nullable().optional(),\n receipt: z.string().describe(\"Internal reference number\").nullable().optional(),\n currency: z.string().describe(\"Three-letter ISO currency code\"),\n order_id: z.string().describe(\"Associated order ID\").nullable().optional(),\n expire_by: z.number().int().describe(\"Unix timestamp when the invoice expires\").nullable().optional(),\n issued_at: z.number().int().describe(\"Unix timestamp when the invoice was issued\").nullable().optional(),\n short_url: z.string().describe(\"Short URL for the invoice payment page\").nullable().optional(),\n view_less: z.boolean().describe(\"Whether to show a compact view\").nullable().optional(),\n amount_due: z.number().int().describe(\"Amount due in currency subunit\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the invoice was created\"),\n expired_at: z.number().int().describe(\"Unix timestamp when the invoice expired\").nullable().optional(),\n line_items: z.array(RazorpayFetchAllInvoices_LineItemSchema).describe(\"List of invoice line items\").nullable().optional(),\n payment_id: z.string().describe(\"Associated payment ID\").nullable().optional(),\n sms_status: z.string().describe(\"SMS notification status\").nullable().optional(),\n tax_amount: z.number().int().describe(\"Total tax amount in currency subunit\").nullable().optional(),\n amount_paid: z.number().int().describe(\"Amount paid so far in currency subunit\").nullable().optional(),\n billing_end: z.number().int().describe(\"Billing period end as Unix timestamp\").nullable().optional(),\n customer_id: z.string().describe(\"Associated customer ID\").nullable().optional(),\n description: z.string().describe(\"Invoice description\").nullable().optional(),\n cancelled_at: z.number().int().describe(\"Unix timestamp when the invoice was cancelled\").nullable().optional(),\n email_status: z.string().describe(\"Email notification status\").nullable().optional(),\n gross_amount: z.number().int().describe(\"Gross amount before tax in currency subunit\").nullable().optional(),\n billing_start: z.number().int().describe(\"Billing period start as Unix timestamp\").nullable().optional(),\n invoice_number: z.string().describe(\"Invoice number\").nullable().optional(),\n taxable_amount: z.number().int().describe(\"Taxable amount in currency subunit\").nullable().optional(),\n currency_symbol: z.string().describe(\"Currency symbol for display\").nullable().optional(),\n idempotency_key: z.string().describe(\"Idempotency key\").nullable().optional(),\n partial_payment: z.boolean().describe(\"Whether partial payments are allowed\").nullable().optional(),\n subscription_id: z.string().describe(\"Associated subscription ID\").nullable().optional(),\n customer_details: RazorpayFetchAllInvoices_CustomerDetailsSchema.nullable().optional(),\n group_taxes_discounts: z.boolean().describe(\"Whether taxes and discounts are grouped\").nullable().optional(),\n}).describe(\"Represents a single invoice object.\");\nexport const RazorpayFetchAllInvoicesOutput: z.ZodTypeAny = z.object({\n count: z.number().int().describe(\"Number of invoices returned in this response.\"),\n items: z.array(RazorpayFetchAllInvoices_InvoiceSchema).describe(\"List of invoice objects matching the query criteria.\"),\n entity: z.string().describe(\"Type of entity returned, typically 'collection' for list responses.\"),\n}).describe(\"Response containing the list of invoices.\");\n\nexport const razorpayFetchAllInvoices = action(\"RAZORPAY_FETCH_ALL_INVOICES\", {\n slug: \"razorpay-fetch-all-invoices\",\n name: \"Fetch All Invoices\",\n description: \"Tool to fetch all invoices with pagination and filtering support. Use when you need to retrieve a list of invoices, optionally filtered by payment ID, customer ID, receipt, or date range.\",\n input: RazorpayFetchAllIn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,SAAS;CACvG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,kBAAkB,+CAA+C,SAAS,CAAC,CAAC,SAAS;CACrF,uBAAuB,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAOjD,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX0D,EAAE,OAAO;EACnE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C;EAChF,OAAO,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,sDAAsD;EACtH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACnG,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"fetch-all-invoices.mjs","names":[],"sources":["../../src/actions/fetch-all-invoices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayFetchAllInvoicesInput = z.object({\n to: z.number().int().describe(\"Unix timestamp (in seconds) before which the invoices were created. Use for date range filtering.\").optional(),\n from: z.number().int().describe(\"Unix timestamp (in seconds) after which the invoices were created. Use for date range filtering.\").optional(),\n skip: z.number().int().describe(\"Number of invoices to skip from the beginning of the result set. Use for pagination. Default is 0.\").optional(),\n type: z.string().describe(\"Entity type filter. Use 'invoice' to filter by invoice type.\").optional(),\n count: z.number().int().describe(\"Number of invoices to fetch per request. Default is 10 if not specified. Maximum is 100.\").optional(),\n receipt: z.string().describe(\"The unique receipt number that you entered for internal purposes. Use to filter invoices by receipt.\").optional(),\n payment_id: z.string().describe(\"The unique identifier of the payment made by the customer against the invoice. Use to filter invoices by specific payment.\").optional(),\n customer_id: z.string().describe(\"The unique identifier of the customer. Use to filter invoices for a specific customer.\").optional(),\n}).describe(\"Request model for fetching all invoices with pagination and filtering support.\");\nconst RazorpayFetchAllInvoices_TaxDetailSchema = z.object({\n name: z.string().describe(\"Tax name\").nullable().optional(),\n rate: z.number().int().describe(\"Tax rate in basis points\").nullable().optional(),\n amount: z.number().int().describe(\"Tax amount in currency subunit\").nullable().optional(),\n tax_id: z.string().describe(\"Tax ID\").nullable().optional(),\n}).passthrough().describe(\"Tax detail for a line item.\");\nconst RazorpayFetchAllInvoices_LineItemSchema = z.object({\n id: z.string().describe(\"Line item ID\").nullable().optional(),\n name: z.string().describe(\"Item name\").nullable().optional(),\n type: z.string().describe(\"Line item type\").nullable().optional(),\n unit: z.string().describe(\"Unit of measurement\").nullable().optional(),\n taxes: z.array(RazorpayFetchAllInvoices_TaxDetailSchema).describe(\"List of tax details\").nullable().optional(),\n amount: z.number().int().describe(\"Item amount in currency subunit\").nullable().optional(),\n ref_id: z.string().describe(\"Reference ID for the item\").nullable().optional(),\n item_id: z.string().describe(\"Reference to item entity\").nullable().optional(),\n currency: z.string().describe(\"Currency code\").nullable().optional(),\n hsn_code: z.string().describe(\"HSN code for the item\").nullable().optional(),\n quantity: z.number().int().describe(\"Quantity of items\").nullable().optional(),\n ref_type: z.string().describe(\"Reference type\").nullable().optional(),\n sac_code: z.string().describe(\"SAC code for the item\").nullable().optional(),\n tax_rate: z.number().int().describe(\"Tax rate in basis points\").nullable().optional(),\n net_amount: z.number().int().describe(\"Net amount after tax\").nullable().optional(),\n tax_amount: z.number().int().describe(\"Tax amount\").nullable().optional(),\n description: z.string().describe(\"Item description\").nullable().optional(),\n unit_amount: z.number().int().describe(\"Unit price in currency subunit\").nullable().optional(),\n gross_amount: z.number().int().describe(\"Gross amount before tax\").nullable().optional(),\n tax_inclusive: z.boolean().describe(\"Whether tax is included in the amount\").nullable().optional(),\n taxable_amount: z.number().int().describe(\"Taxable amount\").nullable().optional(),\n}).passthrough().describe(\"Individual line item in an invoice.\");\nconst RazorpayFetchAllInvoices_AddressSchema = z.object({\n city: z.string().describe(\"City\").nullable().optional(),\n line1: z.string().describe(\"Address line 1\").nullable().optional(),\n line2: z.string().describe(\"Address line 2\").nullable().optional(),\n state: z.string().describe(\"State\").nullable().optional(),\n country: z.string().describe(\"Country\").nullable().optional(),\n zipcode: z.string().describe(\"Postal/ZIP code\").nullable().optional(),\n}).passthrough().describe(\"Address details for billing or shipping.\");\nconst RazorpayFetchAllInvoices_CustomerDetailsSchema = z.object({\n id: z.string().describe(\"Customer ID\").nullable().optional(),\n name: z.string().describe(\"Customer name\").nullable().optional(),\n email: z.string().describe(\"Customer email address\").nullable().optional(),\n gstin: z.string().describe(\"Customer GSTIN\").nullable().optional(),\n contact: z.string().describe(\"Customer contact number\").nullable().optional(),\n billing_address: RazorpayFetchAllInvoices_AddressSchema.nullable().optional(),\n shipping_address: RazorpayFetchAllInvoices_AddressSchema.nullable().optional(),\n}).passthrough().describe(\"Customer details associated with the invoice.\");\nconst RazorpayFetchAllInvoices_InvoiceSchema = z.object({\n id: z.string().describe(\"Unique invoice identifier\").nullable(),\n date: z.number().int().describe(\"Invoice date as Unix timestamp\").nullable().optional(),\n type: z.string().describe(\"Invoice type\").nullable().optional(),\n notes: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable().optional(),\n terms: z.string().describe(\"Terms and conditions\").nullable().optional(),\n amount: z.number().int().describe(\"Total invoice amount in currency subunit\").nullable().optional(),\n entity: z.string().describe(\"Entity type, always 'invoice'\").nullable(),\n status: z.string().describe(\"Invoice status (draft, issued, paid, etc.)\").nullable(),\n comment: z.string().describe(\"Comment on the invoice\").nullable().optional(),\n paid_at: z.number().int().describe(\"Unix timestamp when the invoice was paid\").nullable().optional(),\n receipt: z.string().describe(\"Internal reference number\").nullable().optional(),\n currency: z.string().describe(\"Three-letter ISO currency code\").nullable(),\n order_id: z.string().describe(\"Associated order ID\").nullable().optional(),\n expire_by: z.number().int().describe(\"Unix timestamp when the invoice expires\").nullable().optional(),\n issued_at: z.number().int().describe(\"Unix timestamp when the invoice was issued\").nullable().optional(),\n short_url: z.string().describe(\"Short URL for the invoice payment page\").nullable().optional(),\n view_less: z.boolean().describe(\"Whether to show a compact view\").nullable().optional(),\n amount_due: z.number().int().describe(\"Amount due in currency subunit\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the invoice was created\").nullable(),\n expired_at: z.number().int().describe(\"Unix timestamp when the invoice expired\").nullable().optional(),\n line_items: z.array(RazorpayFetchAllInvoices_LineItemSchema).describe(\"List of invoice line items\").nullable().optional(),\n payment_id: z.string().describe(\"Associated payment ID\").nullable().optional(),\n sms_status: z.string().describe(\"SMS notification status\").nullable().optional(),\n tax_amount: z.number().int().describe(\"Total tax amount in currency subunit\").nullable().optional(),\n amount_paid: z.number().int().describe(\"Amount paid so far in currency subunit\").nullable().optional(),\n billing_end: z.number().int().describe(\"Billing period end as Unix timestamp\").nullable().optional(),\n customer_id: z.string().describe(\"Associated customer ID\").nullable().optional(),\n description: z.string().describe(\"Invoice description\").nullable().optional(),\n cancelled_at: z.number().int().describe(\"Unix timestamp when the invoice was cancelled\").nullable().optional(),\n email_status: z.string().describe(\"Email notification status\").nullable().optional(),\n gross_amount: z.number().int().describe(\"Gross amount before tax in currency subunit\").nullable().optional(),\n billing_start: z.number().int().describe(\"Billing period start as Unix timestamp\").nullable().optional(),\n invoice_number: z.string().describe(\"Invoice number\").nullable().optional(),\n taxable_amount: z.number().int().describe(\"Taxable amount in currency subunit\").nullable().optional(),\n currency_symbol: z.string().describe(\"Currency symbol for display\").nullable().optional(),\n idempotency_key: z.string().describe(\"Idempotency key\").nullable().optional(),\n partial_payment: z.boolean().describe(\"Whether partial payments are allowed\").nullable().optional(),\n subscription_id: z.string().describe(\"Associated subscription ID\").nullable().optional(),\n customer_details: RazorpayFetchAllInvoices_CustomerDetailsSchema.nullable().optional(),\n group_taxes_discounts: z.boolean().describe(\"Whether taxes and discounts are grouped\").nullable().optional(),\n}).passthrough().describe(\"Represents a single invoice object.\");\nexport const RazorpayFetchAllInvoicesOutput = z.object({\n count: z.number().int().describe(\"Number of invoices returned in this response.\").nullable(),\n items: z.array(RazorpayFetchAllInvoices_InvoiceSchema).describe(\"List of invoice objects matching the query criteria.\"),\n entity: z.string().describe(\"Type of entity returned, typically 'collection' for list responses.\").nullable(),\n}).passthrough().describe(\"Response containing the list of invoices.\");\n\nexport const razorpayFetchAllInvoices = action(\"RAZORPAY_FETCH_ALL_INVOICES\", {\n slug: \"razorpay-fetch-all-invoices\",\n name: \"Fetch All Invoices\",\n description: \"Tool to fetch all invoices with pagination and filtering support. Use when you need to retrieve a list of invoices, optionally filtered by payment ID, customer ID, receipt, or date range.\",\n input: RazorpayFetchAllInvoicesInput,\n output: RazorpayFetchAllInvoicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CAC5I,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CAC7I,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oGAA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AI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,kBAAkB,+CAA+C,SAAS,CAAC,CAAC,SAAS;CACrF,uBAAuB,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAO/D,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX4C,EAAE,OAAO;EACrD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAC3F,OAAO,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,sDAAsD;EACtH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
@@ -12,23 +12,23 @@ const RazorpayFetchAllPaymentLinksInput = zod.z.object({
12
12
  const RazorpayFetchAllPaymentLinks_NotifySchema = zod.z.object({
13
13
  sms: zod.z.boolean().describe("Whether SMS notifications are enabled.").nullable().optional(),
14
14
  email: zod.z.boolean().describe("Whether email notifications are enabled.").nullable().optional()
15
- }).describe("Notification settings for the payment link.");
15
+ }).passthrough().describe("Notification settings for the payment link.");
16
16
  const RazorpayFetchAllPaymentLinks_CustomerSchema = zod.z.object({
17
17
  name: zod.z.string().describe("Name of the customer.").nullable().optional(),
18
18
  email: zod.z.string().describe("Email address of the customer.").nullable().optional(),
19
19
  contact: zod.z.string().describe("Contact number of the customer.").nullable().optional()
20
- }).describe("Customer details associated with the payment link.");
20
+ }).passthrough().describe("Customer details associated with the payment link.");
21
21
  const RazorpayFetchAllPaymentLinks_PaymentLinkSchema = zod.z.object({
22
- id: zod.z.string().describe("Unique identifier for the payment link."),
23
- amount: zod.z.number().int().describe("Amount to be paid in the smallest currency unit (e.g., paise for INR)."),
22
+ id: zod.z.string().describe("Unique identifier for the payment link.").nullable(),
23
+ amount: zod.z.number().int().describe("Amount to be paid in the smallest currency unit (e.g., paise for INR).").nullable(),
24
24
  notify: RazorpayFetchAllPaymentLinks_NotifySchema.nullable().optional(),
25
- status: zod.z.string().describe("Current status of the payment link (e.g., created, paid, cancelled, expired)."),
25
+ status: zod.z.string().describe("Current status of the payment link (e.g., created, paid, cancelled, expired).").nullable(),
26
26
  user_id: zod.z.string().describe("Unique identifier of the user who created the payment link.").nullable().optional(),
27
- currency: zod.z.string().describe("Three-letter ISO currency code (e.g., INR, USD)."),
27
+ currency: zod.z.string().describe("Three-letter ISO currency code (e.g., INR, USD).").nullable(),
28
28
  customer: RazorpayFetchAllPaymentLinks_CustomerSchema.nullable().optional(),
29
29
  expire_by: zod.z.number().int().describe("Unix timestamp when the payment link will expire.").nullable().optional(),
30
30
  short_url: zod.z.string().describe("Short shareable URL for the payment link.").nullable().optional(),
31
- created_at: zod.z.number().int().describe("Unix timestamp when the payment link was created."),
31
+ created_at: zod.z.number().int().describe("Unix timestamp when the payment link was created.").nullable(),
32
32
  expired_at: zod.z.number().int().describe("Unix timestamp when the payment link expired.").nullable().optional(),
33
33
  amount_paid: zod.z.number().int().describe("Amount paid so far if partial payments are enabled.").nullable().optional(),
34
34
  description: zod.z.string().describe("Description of the payment link.").nullable().optional(),
@@ -37,8 +37,8 @@ const RazorpayFetchAllPaymentLinks_PaymentLinkSchema = zod.z.object({
37
37
  accept_partial: zod.z.boolean().describe("Whether partial payments are accepted.").nullable().optional(),
38
38
  reminder_enable: zod.z.boolean().describe("Whether payment reminders are enabled for this link.").nullable().optional(),
39
39
  first_min_partial_amount: zod.z.number().int().describe("Minimum amount for the first partial payment.").nullable().optional()
40
- }).describe("Represents a single payment link object.");
41
- const RazorpayFetchAllPaymentLinksOutput = zod.z.object({ payment_links: zod.z.array(RazorpayFetchAllPaymentLinks_PaymentLinkSchema).describe("List of payment link objects matching the query criteria.") }).describe("Response containing the list of payment links.");
40
+ }).passthrough().describe("Represents a single payment link object.");
41
+ const RazorpayFetchAllPaymentLinksOutput = zod.z.object({ payment_links: zod.z.array(RazorpayFetchAllPaymentLinks_PaymentLinkSchema).describe("List of payment link objects matching the query criteria.") }).passthrough().describe("Response containing the list of payment links.");
42
42
  const razorpayFetchAllPaymentLinks = require_action.action("RAZORPAY_FETCH_ALL_PAYMENT_LINKS", {
43
43
  slug: "razorpay-fetch-all-payment-links",
44
44
  name: "Fetch All Payment Links",
@@ -1 +1 @@
1
- {"version":3,"file":"fetch-all-payment-links.cjs","names":["z","action"],"sources":["../../src/actions/fetch-all-payment-links.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayFetchAllPaymentLinksInput: z.ZodTypeAny = z.object({\n to: z.number().int().describe(\"Unix timestamp (in seconds) before which the payment links were created. Use for date range filtering.\").optional(),\n from: z.number().int().describe(\"Unix timestamp (in seconds) after which the payment links were created. Use for date range filtering.\").optional(),\n skip: z.number().int().describe(\"Number of payment links to skip from the beginning of the result set. Use for pagination. Default is 0.\").optional(),\n count: z.number().int().describe(\"Number of payment links to fetch per request. Default is 10 if not specified. Maximum is typically 100.\").optional(),\n payment_id: z.string().describe(\"Unique identifier of the payment associated with the Payment Link. Use to filter payment links by payment ID.\").optional(),\n reference_id: z.string().describe(\"The unique reference number entered while creating the Payment Link. Use to filter payment links by your custom reference.\").optional(),\n}).describe(\"Request model for fetching all payment links with pagination and filtering.\");\nconst RazorpayFetchAllPaymentLinks_NotifySchema: z.ZodTypeAny = z.object({\n sms: z.boolean().describe(\"Whether SMS notifications are enabled.\").nullable().optional(),\n email: z.boolean().describe(\"Whether email notifications are enabled.\").nullable().optional(),\n}).describe(\"Notification settings for the payment link.\");\nconst RazorpayFetchAllPaymentLinks_CustomerSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the customer.\").nullable().optional(),\n email: z.string().describe(\"Email address of the customer.\").nullable().optional(),\n contact: z.string().describe(\"Contact number of the customer.\").nullable().optional(),\n}).describe(\"Customer details associated with the payment link.\");\nconst RazorpayFetchAllPaymentLinks_PaymentLinkSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the payment link.\"),\n amount: z.number().int().describe(\"Amount to be paid in the smallest currency unit (e.g., paise for INR).\"),\n notify: RazorpayFetchAllPaymentLinks_NotifySchema.nullable().optional(),\n status: z.string().describe(\"Current status of the payment link (e.g., created, paid, cancelled, expired).\"),\n user_id: z.string().describe(\"Unique identifier of the user who created the payment link.\").nullable().optional(),\n currency: z.string().describe(\"Three-letter ISO currency code (e.g., INR, USD).\"),\n customer: RazorpayFetchAllPaymentLinks_CustomerSchema.nullable().optional(),\n expire_by: z.number().int().describe(\"Unix timestamp when the payment link will expire.\").nullable().optional(),\n short_url: z.string().describe(\"Short shareable URL for the payment link.\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the payment link was created.\"),\n expired_at: z.number().int().describe(\"Unix timestamp when the payment link expired.\").nullable().optional(),\n amount_paid: z.number().int().describe(\"Amount paid so far if partial payments are enabled.\").nullable().optional(),\n description: z.string().describe(\"Description of the payment link.\").nullable().optional(),\n cancelled_at: z.number().int().describe(\"Unix timestamp when the payment link was cancelled.\").nullable().optional(),\n reference_id: z.string().describe(\"The unique reference number entered while creating the Payment Link.\").nullable().optional(),\n accept_partial: z.boolean().describe(\"Whether partial payments are accepted.\").nullable().optional(),\n reminder_enable: z.boolean().describe(\"Whether payment reminders are enabled for this link.\").nullable().optional(),\n first_min_partial_amount: z.number().int().describe(\"Minimum amount for the first partial payment.\").nullable().optional(),\n}).describe(\"Represents a single payment link object.\");\nexport const RazorpayFetchAllPaymentLinksOutput: z.ZodTypeAny = z.object({\n payment_links: z.array(RazorpayFetchAllPaymentLinks_PaymentLinkSchema).describe(\"List of payment link objects matching the query criteria.\"),\n}).describe(\"Response containing the list of payment links.\");\n\nexport const razorpayFetchAllPaymentLinks = action(\"RAZORPAY_FETCH_ALL_PAYMENT_LINKS\", {\n slug: \"razorpay-fetch-all-payment-links\",\n name: \"Fetch All Payment Links\",\n description: \"Tool to fetch all payment links with pagination and filtering support. Use when you need to retrieve a list of payment links, optionally filtered by payment ID, reference ID, or date range.\",\n input: RazorpayFetchAllPaymentLinksInput,\n output: RazorpayFetchAllPaymentLinksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CACjJ,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CAClJ,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CACpJ,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CACrJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CAC1J,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS;AAC3K,CAAC,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;AAE5D,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"fetch-all-payment-links.cjs","names":["z","action"],"sources":["../../src/actions/fetch-all-payment-links.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayFetchAllPaymentLinksInput = z.object({\n to: z.number().int().describe(\"Unix timestamp (in seconds) before which the payment links were created. Use for date range filtering.\").optional(),\n from: z.number().int().describe(\"Unix timestamp (in seconds) after which the payment links were created. Use for date range filtering.\").optional(),\n skip: z.number().int().describe(\"Number of payment links to skip from the beginning of the result set. Use for pagination. Default is 0.\").optional(),\n count: z.number().int().describe(\"Number of payment links to fetch per request. Default is 10 if not specified. Maximum is typically 100.\").optional(),\n payment_id: z.string().describe(\"Unique identifier of the payment associated with the Payment Link. Use to filter payment links by payment ID.\").optional(),\n reference_id: z.string().describe(\"The unique reference number entered while creating the Payment Link. Use to filter payment links by your custom reference.\").optional(),\n}).describe(\"Request model for fetching all payment links with pagination and filtering.\");\nconst RazorpayFetchAllPaymentLinks_NotifySchema = z.object({\n sms: z.boolean().describe(\"Whether SMS notifications are enabled.\").nullable().optional(),\n email: z.boolean().describe(\"Whether email notifications are enabled.\").nullable().optional(),\n}).passthrough().describe(\"Notification settings for the payment link.\");\nconst RazorpayFetchAllPaymentLinks_CustomerSchema = z.object({\n name: z.string().describe(\"Name of the customer.\").nullable().optional(),\n email: z.string().describe(\"Email address of the customer.\").nullable().optional(),\n contact: z.string().describe(\"Contact number of the customer.\").nullable().optional(),\n}).passthrough().describe(\"Customer details associated with the payment link.\");\nconst RazorpayFetchAllPaymentLinks_PaymentLinkSchema = z.object({\n id: z.string().describe(\"Unique identifier for the payment link.\").nullable(),\n amount: z.number().int().describe(\"Amount to be paid in the smallest currency unit (e.g., paise for INR).\").nullable(),\n notify: RazorpayFetchAllPaymentLinks_NotifySchema.nullable().optional(),\n status: z.string().describe(\"Current status of the payment link (e.g., created, paid, cancelled, expired).\").nullable(),\n user_id: z.string().describe(\"Unique identifier of the user who created the payment link.\").nullable().optional(),\n currency: z.string().describe(\"Three-letter ISO currency code (e.g., INR, USD).\").nullable(),\n customer: RazorpayFetchAllPaymentLinks_CustomerSchema.nullable().optional(),\n expire_by: z.number().int().describe(\"Unix timestamp when the payment link will expire.\").nullable().optional(),\n short_url: z.string().describe(\"Short shareable URL for the payment link.\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the payment link was created.\").nullable(),\n expired_at: z.number().int().describe(\"Unix timestamp when the payment link expired.\").nullable().optional(),\n amount_paid: z.number().int().describe(\"Amount paid so far if partial payments are enabled.\").nullable().optional(),\n description: z.string().describe(\"Description of the payment link.\").nullable().optional(),\n cancelled_at: z.number().int().describe(\"Unix timestamp when the payment link was cancelled.\").nullable().optional(),\n reference_id: z.string().describe(\"The unique reference number entered while creating the Payment Link.\").nullable().optional(),\n accept_partial: z.boolean().describe(\"Whether partial payments are accepted.\").nullable().optional(),\n reminder_enable: z.boolean().describe(\"Whether payment reminders are enabled for this link.\").nullable().optional(),\n first_min_partial_amount: z.number().int().describe(\"Minimum amount for the first partial payment.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single payment link object.\");\nexport const RazorpayFetchAllPaymentLinksOutput = z.object({\n payment_links: z.array(RazorpayFetchAllPaymentLinks_PaymentLinkSchema).describe(\"List of payment link objects matching the query criteria.\"),\n}).passthrough().describe(\"Response containing the list of payment links.\");\n\nexport const razorpayFetchAllPaymentLinks = action(\"RAZORPAY_FETCH_ALL_PAYMENT_LINKS\", {\n slug: \"razorpay-fetch-all-payment-links\",\n name: \"Fetch All Payment Links\",\n description: \"Tool to fetch all payment links with pagination and filtering support. Use when you need to retrieve a list of payment links, optionally filtered by payment ID, reference ID, or date range.\",\n input: RazorpayFetchAllPaymentLinksInput,\n output: RazorpayFetchAllPaymentLinksOutput,\n});\n"],"mappings":";;;AA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CAAC,SAAS;CACzF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,eAAeA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,2DAA2D,EAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,51 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/fetch-all-payment-links.d.ts
4
- declare const RazorpayFetchAllPaymentLinksInput: z.ZodTypeAny;
5
- declare const RazorpayFetchAllPaymentLinksOutput: z.ZodTypeAny;
6
- declare const razorpayFetchAllPaymentLinks: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RazorpayFetchAllPaymentLinksInput: z.ZodObject<{
5
+ to: z.ZodOptional<z.ZodNumber>;
6
+ from: z.ZodOptional<z.ZodNumber>;
7
+ skip: z.ZodOptional<z.ZodNumber>;
8
+ count: z.ZodOptional<z.ZodNumber>;
9
+ payment_id: z.ZodOptional<z.ZodString>;
10
+ reference_id: z.ZodOptional<z.ZodString>;
11
+ }, z.core.$strip>;
12
+ declare const RazorpayFetchAllPaymentLinksOutput: z.ZodObject<{
13
+ payment_links: z.ZodArray<z.ZodObject<{
14
+ id: z.ZodNullable<z.ZodString>;
15
+ amount: z.ZodNullable<z.ZodNumber>;
16
+ notify: z.ZodOptional<z.ZodNullable<z.ZodObject<{
17
+ sms: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
18
+ email: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
19
+ }, z.core.$loose>>>;
20
+ status: z.ZodNullable<z.ZodString>;
21
+ user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ currency: z.ZodNullable<z.ZodString>;
23
+ customer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
24
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ contact: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ }, z.core.$loose>>>;
28
+ expire_by: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
29
+ short_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ created_at: z.ZodNullable<z.ZodNumber>;
31
+ expired_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32
+ amount_paid: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
33
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ cancelled_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
35
+ reference_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ accept_partial: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
37
+ reminder_enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
38
+ first_min_partial_amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
39
+ }, z.core.$loose>>;
40
+ }, z.core.$loose>;
41
+ declare const razorpayFetchAllPaymentLinks: import("@keystrokehq/action").WorkflowActionDefinition<{
42
+ to?: number | undefined;
43
+ from?: number | undefined;
44
+ skip?: number | undefined;
45
+ count?: number | undefined;
46
+ payment_id?: string | undefined;
47
+ reference_id?: string | undefined;
48
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
49
  //#endregion
8
50
  export { razorpayFetchAllPaymentLinks };
9
51
  //# sourceMappingURL=fetch-all-payment-links.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fetch-all-payment-links.d.cts","names":[],"sources":["../../src/actions/fetch-all-payment-links.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAOwC;AAAA,cA8B7E,kCAAA,EAAoC,CAAA,CAAE,UAEU;AAAA,cAEhD,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"fetch-all-payment-links.d.cts","names":[],"sources":["../../src/actions/fetch-all-payment-links.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;cAqCjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIlC,4BAAA,gCAA4B,wBAAA"}
@@ -1,9 +1,51 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/fetch-all-payment-links.d.ts
4
- declare const RazorpayFetchAllPaymentLinksInput: z.ZodTypeAny;
5
- declare const RazorpayFetchAllPaymentLinksOutput: z.ZodTypeAny;
6
- declare const razorpayFetchAllPaymentLinks: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RazorpayFetchAllPaymentLinksInput: z.ZodObject<{
5
+ to: z.ZodOptional<z.ZodNumber>;
6
+ from: z.ZodOptional<z.ZodNumber>;
7
+ skip: z.ZodOptional<z.ZodNumber>;
8
+ count: z.ZodOptional<z.ZodNumber>;
9
+ payment_id: z.ZodOptional<z.ZodString>;
10
+ reference_id: z.ZodOptional<z.ZodString>;
11
+ }, z.core.$strip>;
12
+ declare const RazorpayFetchAllPaymentLinksOutput: z.ZodObject<{
13
+ payment_links: z.ZodArray<z.ZodObject<{
14
+ id: z.ZodNullable<z.ZodString>;
15
+ amount: z.ZodNullable<z.ZodNumber>;
16
+ notify: z.ZodOptional<z.ZodNullable<z.ZodObject<{
17
+ sms: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
18
+ email: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
19
+ }, z.core.$loose>>>;
20
+ status: z.ZodNullable<z.ZodString>;
21
+ user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ currency: z.ZodNullable<z.ZodString>;
23
+ customer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
24
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ contact: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ }, z.core.$loose>>>;
28
+ expire_by: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
29
+ short_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ created_at: z.ZodNullable<z.ZodNumber>;
31
+ expired_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32
+ amount_paid: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
33
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ cancelled_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
35
+ reference_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ accept_partial: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
37
+ reminder_enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
38
+ first_min_partial_amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
39
+ }, z.core.$loose>>;
40
+ }, z.core.$loose>;
41
+ declare const razorpayFetchAllPaymentLinks: import("@keystrokehq/action").WorkflowActionDefinition<{
42
+ to?: number | undefined;
43
+ from?: number | undefined;
44
+ skip?: number | undefined;
45
+ count?: number | undefined;
46
+ payment_id?: string | undefined;
47
+ reference_id?: string | undefined;
48
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
49
  //#endregion
8
50
  export { razorpayFetchAllPaymentLinks };
9
51
  //# sourceMappingURL=fetch-all-payment-links.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fetch-all-payment-links.d.mts","names":[],"sources":["../../src/actions/fetch-all-payment-links.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAOwC;AAAA,cA8B7E,kCAAA,EAAoC,CAAA,CAAE,UAEU;AAAA,cAEhD,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"fetch-all-payment-links.d.mts","names":[],"sources":["../../src/actions/fetch-all-payment-links.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;cAqCjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIlC,4BAAA,gCAA4B,wBAAA"}
@@ -12,23 +12,23 @@ const RazorpayFetchAllPaymentLinksInput = z.object({
12
12
  const RazorpayFetchAllPaymentLinks_NotifySchema = z.object({
13
13
  sms: z.boolean().describe("Whether SMS notifications are enabled.").nullable().optional(),
14
14
  email: z.boolean().describe("Whether email notifications are enabled.").nullable().optional()
15
- }).describe("Notification settings for the payment link.");
15
+ }).passthrough().describe("Notification settings for the payment link.");
16
16
  const RazorpayFetchAllPaymentLinks_CustomerSchema = z.object({
17
17
  name: z.string().describe("Name of the customer.").nullable().optional(),
18
18
  email: z.string().describe("Email address of the customer.").nullable().optional(),
19
19
  contact: z.string().describe("Contact number of the customer.").nullable().optional()
20
- }).describe("Customer details associated with the payment link.");
20
+ }).passthrough().describe("Customer details associated with the payment link.");
21
21
  const RazorpayFetchAllPaymentLinks_PaymentLinkSchema = z.object({
22
- id: z.string().describe("Unique identifier for the payment link."),
23
- amount: z.number().int().describe("Amount to be paid in the smallest currency unit (e.g., paise for INR)."),
22
+ id: z.string().describe("Unique identifier for the payment link.").nullable(),
23
+ amount: z.number().int().describe("Amount to be paid in the smallest currency unit (e.g., paise for INR).").nullable(),
24
24
  notify: RazorpayFetchAllPaymentLinks_NotifySchema.nullable().optional(),
25
- status: z.string().describe("Current status of the payment link (e.g., created, paid, cancelled, expired)."),
25
+ status: z.string().describe("Current status of the payment link (e.g., created, paid, cancelled, expired).").nullable(),
26
26
  user_id: z.string().describe("Unique identifier of the user who created the payment link.").nullable().optional(),
27
- currency: z.string().describe("Three-letter ISO currency code (e.g., INR, USD)."),
27
+ currency: z.string().describe("Three-letter ISO currency code (e.g., INR, USD).").nullable(),
28
28
  customer: RazorpayFetchAllPaymentLinks_CustomerSchema.nullable().optional(),
29
29
  expire_by: z.number().int().describe("Unix timestamp when the payment link will expire.").nullable().optional(),
30
30
  short_url: z.string().describe("Short shareable URL for the payment link.").nullable().optional(),
31
- created_at: z.number().int().describe("Unix timestamp when the payment link was created."),
31
+ created_at: z.number().int().describe("Unix timestamp when the payment link was created.").nullable(),
32
32
  expired_at: z.number().int().describe("Unix timestamp when the payment link expired.").nullable().optional(),
33
33
  amount_paid: z.number().int().describe("Amount paid so far if partial payments are enabled.").nullable().optional(),
34
34
  description: z.string().describe("Description of the payment link.").nullable().optional(),
@@ -37,13 +37,13 @@ const RazorpayFetchAllPaymentLinks_PaymentLinkSchema = z.object({
37
37
  accept_partial: z.boolean().describe("Whether partial payments are accepted.").nullable().optional(),
38
38
  reminder_enable: z.boolean().describe("Whether payment reminders are enabled for this link.").nullable().optional(),
39
39
  first_min_partial_amount: z.number().int().describe("Minimum amount for the first partial payment.").nullable().optional()
40
- }).describe("Represents a single payment link object.");
40
+ }).passthrough().describe("Represents a single payment link object.");
41
41
  const razorpayFetchAllPaymentLinks = action("RAZORPAY_FETCH_ALL_PAYMENT_LINKS", {
42
42
  slug: "razorpay-fetch-all-payment-links",
43
43
  name: "Fetch All Payment Links",
44
44
  description: "Tool to fetch all payment links with pagination and filtering support. Use when you need to retrieve a list of payment links, optionally filtered by payment ID, reference ID, or date range.",
45
45
  input: RazorpayFetchAllPaymentLinksInput,
46
- output: z.object({ payment_links: z.array(RazorpayFetchAllPaymentLinks_PaymentLinkSchema).describe("List of payment link objects matching the query criteria.") }).describe("Response containing the list of payment links.")
46
+ output: z.object({ payment_links: z.array(RazorpayFetchAllPaymentLinks_PaymentLinkSchema).describe("List of payment link objects matching the query criteria.") }).passthrough().describe("Response containing the list of payment links.")
47
47
  });
48
48
  //#endregion
49
49
  export { razorpayFetchAllPaymentLinks };
@@ -1 +1 @@
1
- {"version":3,"file":"fetch-all-payment-links.mjs","names":[],"sources":["../../src/actions/fetch-all-payment-links.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayFetchAllPaymentLinksInput: z.ZodTypeAny = z.object({\n to: z.number().int().describe(\"Unix timestamp (in seconds) before which the payment links were created. Use for date range filtering.\").optional(),\n from: z.number().int().describe(\"Unix timestamp (in seconds) after which the payment links were created. Use for date range filtering.\").optional(),\n skip: z.number().int().describe(\"Number of payment links to skip from the beginning of the result set. Use for pagination. Default is 0.\").optional(),\n count: z.number().int().describe(\"Number of payment links to fetch per request. Default is 10 if not specified. Maximum is typically 100.\").optional(),\n payment_id: z.string().describe(\"Unique identifier of the payment associated with the Payment Link. Use to filter payment links by payment ID.\").optional(),\n reference_id: z.string().describe(\"The unique reference number entered while creating the Payment Link. Use to filter payment links by your custom reference.\").optional(),\n}).describe(\"Request model for fetching all payment links with pagination and filtering.\");\nconst RazorpayFetchAllPaymentLinks_NotifySchema: z.ZodTypeAny = z.object({\n sms: z.boolean().describe(\"Whether SMS notifications are enabled.\").nullable().optional(),\n email: z.boolean().describe(\"Whether email notifications are enabled.\").nullable().optional(),\n}).describe(\"Notification settings for the payment link.\");\nconst RazorpayFetchAllPaymentLinks_CustomerSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the customer.\").nullable().optional(),\n email: z.string().describe(\"Email address of the customer.\").nullable().optional(),\n contact: z.string().describe(\"Contact number of the customer.\").nullable().optional(),\n}).describe(\"Customer details associated with the payment link.\");\nconst RazorpayFetchAllPaymentLinks_PaymentLinkSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the payment link.\"),\n amount: z.number().int().describe(\"Amount to be paid in the smallest currency unit (e.g., paise for INR).\"),\n notify: RazorpayFetchAllPaymentLinks_NotifySchema.nullable().optional(),\n status: z.string().describe(\"Current status of the payment link (e.g., created, paid, cancelled, expired).\"),\n user_id: z.string().describe(\"Unique identifier of the user who created the payment link.\").nullable().optional(),\n currency: z.string().describe(\"Three-letter ISO currency code (e.g., INR, USD).\"),\n customer: RazorpayFetchAllPaymentLinks_CustomerSchema.nullable().optional(),\n expire_by: z.number().int().describe(\"Unix timestamp when the payment link will expire.\").nullable().optional(),\n short_url: z.string().describe(\"Short shareable URL for the payment link.\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the payment link was created.\"),\n expired_at: z.number().int().describe(\"Unix timestamp when the payment link expired.\").nullable().optional(),\n amount_paid: z.number().int().describe(\"Amount paid so far if partial payments are enabled.\").nullable().optional(),\n description: z.string().describe(\"Description of the payment link.\").nullable().optional(),\n cancelled_at: z.number().int().describe(\"Unix timestamp when the payment link was cancelled.\").nullable().optional(),\n reference_id: z.string().describe(\"The unique reference number entered while creating the Payment Link.\").nullable().optional(),\n accept_partial: z.boolean().describe(\"Whether partial payments are accepted.\").nullable().optional(),\n reminder_enable: z.boolean().describe(\"Whether payment reminders are enabled for this link.\").nullable().optional(),\n first_min_partial_amount: z.number().int().describe(\"Minimum amount for the first partial payment.\").nullable().optional(),\n}).describe(\"Represents a single payment link object.\");\nexport const RazorpayFetchAllPaymentLinksOutput: z.ZodTypeAny = z.object({\n payment_links: z.array(RazorpayFetchAllPaymentLinks_PaymentLinkSchema).describe(\"List of payment link objects matching the query criteria.\"),\n}).describe(\"Response containing the list of payment links.\");\n\nexport const razorpayFetchAllPaymentLinks = action(\"RAZORPAY_FETCH_ALL_PAYMENT_LINKS\", {\n slug: \"razorpay-fetch-all-payment-links\",\n name: \"Fetch All Payment Links\",\n description: \"Tool to fetch all payment links with pagination and filtering support. Use when you need to retrieve a list of payment links, optionally filtered by payment ID, reference ID, or date range.\",\n input: RazorpayFetchAllPaymentLinksInput,\n output: RazorpayFetchAllPaymentLinksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkD,EAAE,OAAO;CACtE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CACjJ,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CAClJ,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CACpJ,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CACrJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CAC1J,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS;AAC3K,CAAC,CAAC,CAAC,SAAS,6EAA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AO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CACzF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,0BAA0B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAKtD,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8D,EAAE,OAAO,EACvE,eAAe,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,2DAA2D,EAC7I,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"fetch-all-payment-links.mjs","names":[],"sources":["../../src/actions/fetch-all-payment-links.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayFetchAllPaymentLinksInput = z.object({\n to: z.number().int().describe(\"Unix timestamp (in seconds) before which the payment links were created. Use for date range filtering.\").optional(),\n from: z.number().int().describe(\"Unix timestamp (in seconds) after which the payment links were created. Use for date range filtering.\").optional(),\n skip: z.number().int().describe(\"Number of payment links to skip from the beginning of the result set. Use for pagination. Default is 0.\").optional(),\n count: z.number().int().describe(\"Number of payment links to fetch per request. Default is 10 if not specified. Maximum is typically 100.\").optional(),\n payment_id: z.string().describe(\"Unique identifier of the payment associated with the Payment Link. Use to filter payment links by payment ID.\").optional(),\n reference_id: z.string().describe(\"The unique reference number entered while creating the Payment Link. Use to filter payment links by your custom reference.\").optional(),\n}).describe(\"Request model for fetching all payment links with pagination and filtering.\");\nconst RazorpayFetchAllPaymentLinks_NotifySchema = z.object({\n sms: z.boolean().describe(\"Whether SMS notifications are enabled.\").nullable().optional(),\n email: z.boolean().describe(\"Whether email notifications are enabled.\").nullable().optional(),\n}).passthrough().describe(\"Notification settings for the payment link.\");\nconst RazorpayFetchAllPaymentLinks_CustomerSchema = z.object({\n name: z.string().describe(\"Name of the customer.\").nullable().optional(),\n email: z.string().describe(\"Email address of the customer.\").nullable().optional(),\n contact: z.string().describe(\"Contact number of the customer.\").nullable().optional(),\n}).passthrough().describe(\"Customer details associated with the payment link.\");\nconst RazorpayFetchAllPaymentLinks_PaymentLinkSchema = z.object({\n id: z.string().describe(\"Unique identifier for the payment link.\").nullable(),\n amount: z.number().int().describe(\"Amount to be paid in the smallest currency unit (e.g., paise for INR).\").nullable(),\n notify: RazorpayFetchAllPaymentLinks_NotifySchema.nullable().optional(),\n status: z.string().describe(\"Current status of the payment link (e.g., created, paid, cancelled, expired).\").nullable(),\n user_id: z.string().describe(\"Unique identifier of the user who created the payment link.\").nullable().optional(),\n currency: z.string().describe(\"Three-letter ISO currency code (e.g., INR, USD).\").nullable(),\n customer: RazorpayFetchAllPaymentLinks_CustomerSchema.nullable().optional(),\n expire_by: z.number().int().describe(\"Unix timestamp when the payment link will expire.\").nullable().optional(),\n short_url: z.string().describe(\"Short shareable URL for the payment link.\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the payment link was created.\").nullable(),\n expired_at: z.number().int().describe(\"Unix timestamp when the payment link expired.\").nullable().optional(),\n amount_paid: z.number().int().describe(\"Amount paid so far if partial payments are enabled.\").nullable().optional(),\n description: z.string().describe(\"Description of the payment link.\").nullable().optional(),\n cancelled_at: z.number().int().describe(\"Unix timestamp when the payment link was cancelled.\").nullable().optional(),\n reference_id: z.string().describe(\"The unique reference number entered while creating the Payment Link.\").nullable().optional(),\n accept_partial: z.boolean().describe(\"Whether partial payments are accepted.\").nullable().optional(),\n reminder_enable: z.boolean().describe(\"Whether payment reminders are enabled for this link.\").nullable().optional(),\n first_min_partial_amount: z.number().int().describe(\"Minimum amount for the first partial payment.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single payment link object.\");\nexport const RazorpayFetchAllPaymentLinksOutput = z.object({\n payment_links: z.array(RazorpayFetchAllPaymentLinks_PaymentLinkSchema).describe(\"List of payment link objects matching the query criteria.\"),\n}).passthrough().describe(\"Response containing the list of payment links.\");\n\nexport const razorpayFetchAllPaymentLinks = action(\"RAZORPAY_FETCH_ALL_PAYMENT_LINKS\", {\n slug: \"razorpay-fetch-all-payment-links\",\n name: \"Fetch All Payment Links\",\n description: \"Tool to fetch all payment links with pagination and filtering support. Use when you need to retrieve a list of payment links, optionally filtered by payment ID, reference ID, or date range.\",\n input: RazorpayFetchAllPaymentLinksInput,\n output: RazorpayFetchAllPaymentLinksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CACjJ,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CAClJ,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yGAAy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