@keystrokehq/razorpay 0.1.5 → 0.1.6

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 (349) 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 +1 -0
  4. package/dist/actions/cancel-invoice.cjs.map +1 -1
  5. package/dist/actions/cancel-invoice.d.cts +3 -17
  6. package/dist/actions/cancel-invoice.d.cts.map +1 -1
  7. package/dist/actions/cancel-invoice.d.mts +3 -17
  8. package/dist/actions/cancel-invoice.d.mts.map +1 -1
  9. package/dist/actions/cancel-invoice.mjs +1 -0
  10. package/dist/actions/cancel-invoice.mjs.map +1 -1
  11. package/dist/actions/cancel-payment-link.cjs +1 -0
  12. package/dist/actions/cancel-payment-link.cjs.map +1 -1
  13. package/dist/actions/cancel-payment-link.d.cts +3 -17
  14. package/dist/actions/cancel-payment-link.d.cts.map +1 -1
  15. package/dist/actions/cancel-payment-link.d.mts +3 -17
  16. package/dist/actions/cancel-payment-link.d.mts.map +1 -1
  17. package/dist/actions/cancel-payment-link.mjs +1 -0
  18. package/dist/actions/cancel-payment-link.mjs.map +1 -1
  19. package/dist/actions/create-an-order.cjs +1 -0
  20. package/dist/actions/create-an-order.cjs.map +1 -1
  21. package/dist/actions/create-an-order.d.cts +3 -21
  22. package/dist/actions/create-an-order.d.cts.map +1 -1
  23. package/dist/actions/create-an-order.d.mts +3 -21
  24. package/dist/actions/create-an-order.d.mts.map +1 -1
  25. package/dist/actions/create-an-order.mjs +1 -0
  26. package/dist/actions/create-an-order.mjs.map +1 -1
  27. package/dist/actions/create-contact.cjs +1 -0
  28. package/dist/actions/create-contact.cjs.map +1 -1
  29. package/dist/actions/create-contact.d.cts +3 -22
  30. package/dist/actions/create-contact.d.cts.map +1 -1
  31. package/dist/actions/create-contact.d.mts +3 -22
  32. package/dist/actions/create-contact.d.mts.map +1 -1
  33. package/dist/actions/create-contact.mjs +1 -0
  34. package/dist/actions/create-contact.mjs.map +1 -1
  35. package/dist/actions/create-customer.cjs +1 -0
  36. package/dist/actions/create-customer.cjs.map +1 -1
  37. package/dist/actions/create-customer.d.cts +3 -21
  38. package/dist/actions/create-customer.d.cts.map +1 -1
  39. package/dist/actions/create-customer.d.mts +3 -21
  40. package/dist/actions/create-customer.d.mts.map +1 -1
  41. package/dist/actions/create-customer.mjs +1 -0
  42. package/dist/actions/create-customer.mjs.map +1 -1
  43. package/dist/actions/create-invoice.cjs +1 -0
  44. package/dist/actions/create-invoice.cjs.map +1 -1
  45. package/dist/actions/create-invoice.d.cts +3 -80
  46. package/dist/actions/create-invoice.d.cts.map +1 -1
  47. package/dist/actions/create-invoice.d.mts +3 -80
  48. package/dist/actions/create-invoice.d.mts.map +1 -1
  49. package/dist/actions/create-invoice.mjs +1 -0
  50. package/dist/actions/create-invoice.mjs.map +1 -1
  51. package/dist/actions/create-item.cjs +1 -0
  52. package/dist/actions/create-item.cjs.map +1 -1
  53. package/dist/actions/create-item.d.cts +3 -20
  54. package/dist/actions/create-item.d.cts.map +1 -1
  55. package/dist/actions/create-item.d.mts +3 -20
  56. package/dist/actions/create-item.d.mts.map +1 -1
  57. package/dist/actions/create-item.mjs +1 -0
  58. package/dist/actions/create-item.mjs.map +1 -1
  59. package/dist/actions/create-payment-link.cjs +1 -0
  60. package/dist/actions/create-payment-link.cjs.map +1 -1
  61. package/dist/actions/create-payment-link.d.cts +3 -34
  62. package/dist/actions/create-payment-link.d.cts.map +1 -1
  63. package/dist/actions/create-payment-link.d.mts +3 -34
  64. package/dist/actions/create-payment-link.d.mts.map +1 -1
  65. package/dist/actions/create-payment-link.mjs +1 -0
  66. package/dist/actions/create-payment-link.mjs.map +1 -1
  67. package/dist/actions/delete-invoice.cjs +1 -0
  68. package/dist/actions/delete-invoice.cjs.map +1 -1
  69. package/dist/actions/delete-invoice.d.cts +3 -17
  70. package/dist/actions/delete-invoice.d.cts.map +1 -1
  71. package/dist/actions/delete-invoice.d.mts +3 -17
  72. package/dist/actions/delete-invoice.d.mts.map +1 -1
  73. package/dist/actions/delete-invoice.mjs +1 -0
  74. package/dist/actions/delete-invoice.mjs.map +1 -1
  75. package/dist/actions/delete-item.cjs +1 -0
  76. package/dist/actions/delete-item.cjs.map +1 -1
  77. package/dist/actions/delete-item.d.cts +3 -17
  78. package/dist/actions/delete-item.d.cts.map +1 -1
  79. package/dist/actions/delete-item.d.mts +3 -17
  80. package/dist/actions/delete-item.d.mts.map +1 -1
  81. package/dist/actions/delete-item.mjs +1 -0
  82. package/dist/actions/delete-item.mjs.map +1 -1
  83. package/dist/actions/fetch-a-payment-link.cjs +1 -0
  84. package/dist/actions/fetch-a-payment-link.cjs.map +1 -1
  85. package/dist/actions/fetch-a-payment-link.d.cts +3 -17
  86. package/dist/actions/fetch-a-payment-link.d.cts.map +1 -1
  87. package/dist/actions/fetch-a-payment-link.d.mts +3 -17
  88. package/dist/actions/fetch-a-payment-link.d.mts.map +1 -1
  89. package/dist/actions/fetch-a-payment-link.mjs +1 -0
  90. package/dist/actions/fetch-a-payment-link.mjs.map +1 -1
  91. package/dist/actions/fetch-all-customers.cjs +1 -0
  92. package/dist/actions/fetch-all-customers.cjs.map +1 -1
  93. package/dist/actions/fetch-all-customers.d.cts +3 -18
  94. package/dist/actions/fetch-all-customers.d.cts.map +1 -1
  95. package/dist/actions/fetch-all-customers.d.mts +3 -18
  96. package/dist/actions/fetch-all-customers.d.mts.map +1 -1
  97. package/dist/actions/fetch-all-customers.mjs +1 -0
  98. package/dist/actions/fetch-all-customers.mjs.map +1 -1
  99. package/dist/actions/fetch-all-invoices.cjs +1 -0
  100. package/dist/actions/fetch-all-invoices.cjs.map +1 -1
  101. package/dist/actions/fetch-all-invoices.d.cts +3 -24
  102. package/dist/actions/fetch-all-invoices.d.cts.map +1 -1
  103. package/dist/actions/fetch-all-invoices.d.mts +3 -24
  104. package/dist/actions/fetch-all-invoices.d.mts.map +1 -1
  105. package/dist/actions/fetch-all-invoices.mjs +1 -0
  106. package/dist/actions/fetch-all-invoices.mjs.map +1 -1
  107. package/dist/actions/fetch-all-payment-links.cjs +1 -0
  108. package/dist/actions/fetch-all-payment-links.cjs.map +1 -1
  109. package/dist/actions/fetch-all-payment-links.d.cts +3 -22
  110. package/dist/actions/fetch-all-payment-links.d.cts.map +1 -1
  111. package/dist/actions/fetch-all-payment-links.d.mts +3 -22
  112. package/dist/actions/fetch-all-payment-links.d.mts.map +1 -1
  113. package/dist/actions/fetch-all-payment-links.mjs +1 -0
  114. package/dist/actions/fetch-all-payment-links.mjs.map +1 -1
  115. package/dist/actions/fetch-all-payments.cjs +1 -0
  116. package/dist/actions/fetch-all-payments.cjs.map +1 -1
  117. package/dist/actions/fetch-all-payments.d.cts +3 -20
  118. package/dist/actions/fetch-all-payments.d.cts.map +1 -1
  119. package/dist/actions/fetch-all-payments.d.mts +3 -20
  120. package/dist/actions/fetch-all-payments.d.mts.map +1 -1
  121. package/dist/actions/fetch-all-payments.mjs +1 -0
  122. package/dist/actions/fetch-all-payments.mjs.map +1 -1
  123. package/dist/actions/fetch-all-refunds-for-a-payment.cjs +1 -0
  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 +3 -21
  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 +3 -21
  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 +1 -0
  130. package/dist/actions/fetch-all-refunds-for-a-payment.mjs.map +1 -1
  131. package/dist/actions/fetch-invoice-by-id.cjs +1 -0
  132. package/dist/actions/fetch-invoice-by-id.cjs.map +1 -1
  133. package/dist/actions/fetch-invoice-by-id.d.cts +3 -17
  134. package/dist/actions/fetch-invoice-by-id.d.cts.map +1 -1
  135. package/dist/actions/fetch-invoice-by-id.d.mts +3 -17
  136. package/dist/actions/fetch-invoice-by-id.d.mts.map +1 -1
  137. package/dist/actions/fetch-invoice-by-id.mjs +1 -0
  138. package/dist/actions/fetch-invoice-by-id.mjs.map +1 -1
  139. package/dist/actions/fetch-orders-by-id.cjs +1 -0
  140. package/dist/actions/fetch-orders-by-id.cjs.map +1 -1
  141. package/dist/actions/fetch-orders-by-id.d.cts +3 -17
  142. package/dist/actions/fetch-orders-by-id.d.cts.map +1 -1
  143. package/dist/actions/fetch-orders-by-id.d.mts +3 -17
  144. package/dist/actions/fetch-orders-by-id.d.mts.map +1 -1
  145. package/dist/actions/fetch-orders-by-id.mjs +1 -0
  146. package/dist/actions/fetch-orders-by-id.mjs.map +1 -1
  147. package/dist/actions/fetch-orders.cjs +1 -0
  148. package/dist/actions/fetch-orders.cjs.map +1 -1
  149. package/dist/actions/fetch-orders.d.cts +3 -22
  150. package/dist/actions/fetch-orders.d.cts.map +1 -1
  151. package/dist/actions/fetch-orders.d.mts +3 -22
  152. package/dist/actions/fetch-orders.d.mts.map +1 -1
  153. package/dist/actions/fetch-orders.mjs +1 -0
  154. package/dist/actions/fetch-orders.mjs.map +1 -1
  155. package/dist/actions/fetch-payments-by-order.cjs +1 -0
  156. package/dist/actions/fetch-payments-by-order.cjs.map +1 -1
  157. package/dist/actions/fetch-payments-by-order.d.cts +3 -17
  158. package/dist/actions/fetch-payments-by-order.d.cts.map +1 -1
  159. package/dist/actions/fetch-payments-by-order.d.mts +3 -17
  160. package/dist/actions/fetch-payments-by-order.d.mts.map +1 -1
  161. package/dist/actions/fetch-payments-by-order.mjs +1 -0
  162. package/dist/actions/fetch-payments-by-order.mjs.map +1 -1
  163. package/dist/actions/fetch-refunds.cjs +1 -0
  164. package/dist/actions/fetch-refunds.cjs.map +1 -1
  165. package/dist/actions/fetch-refunds.d.cts +3 -20
  166. package/dist/actions/fetch-refunds.d.cts.map +1 -1
  167. package/dist/actions/fetch-refunds.d.mts +3 -20
  168. package/dist/actions/fetch-refunds.d.mts.map +1 -1
  169. package/dist/actions/fetch-refunds.mjs +1 -0
  170. package/dist/actions/fetch-refunds.mjs.map +1 -1
  171. package/dist/actions/get-contact.cjs +1 -0
  172. package/dist/actions/get-contact.cjs.map +1 -1
  173. package/dist/actions/get-contact.d.cts +3 -17
  174. package/dist/actions/get-contact.d.cts.map +1 -1
  175. package/dist/actions/get-contact.d.mts +3 -17
  176. package/dist/actions/get-contact.d.mts.map +1 -1
  177. package/dist/actions/get-contact.mjs +1 -0
  178. package/dist/actions/get-contact.mjs.map +1 -1
  179. package/dist/actions/get-customer.cjs +1 -0
  180. package/dist/actions/get-customer.cjs.map +1 -1
  181. package/dist/actions/get-customer.d.cts +3 -17
  182. package/dist/actions/get-customer.d.cts.map +1 -1
  183. package/dist/actions/get-customer.d.mts +3 -17
  184. package/dist/actions/get-customer.d.mts.map +1 -1
  185. package/dist/actions/get-customer.mjs +1 -0
  186. package/dist/actions/get-customer.mjs.map +1 -1
  187. package/dist/actions/get-fund-account.cjs +1 -0
  188. package/dist/actions/get-fund-account.cjs.map +1 -1
  189. package/dist/actions/get-fund-account.d.cts +3 -17
  190. package/dist/actions/get-fund-account.d.cts.map +1 -1
  191. package/dist/actions/get-fund-account.d.mts +3 -17
  192. package/dist/actions/get-fund-account.d.mts.map +1 -1
  193. package/dist/actions/get-fund-account.mjs +1 -0
  194. package/dist/actions/get-fund-account.mjs.map +1 -1
  195. package/dist/actions/get-item.cjs +1 -0
  196. package/dist/actions/get-item.cjs.map +1 -1
  197. package/dist/actions/get-item.d.cts +3 -17
  198. package/dist/actions/get-item.d.cts.map +1 -1
  199. package/dist/actions/get-item.d.mts +3 -17
  200. package/dist/actions/get-item.d.mts.map +1 -1
  201. package/dist/actions/get-item.mjs +1 -0
  202. package/dist/actions/get-item.mjs.map +1 -1
  203. package/dist/actions/get-settlement-recon.cjs +1 -0
  204. package/dist/actions/get-settlement-recon.cjs.map +1 -1
  205. package/dist/actions/get-settlement-recon.d.cts +3 -21
  206. package/dist/actions/get-settlement-recon.d.cts.map +1 -1
  207. package/dist/actions/get-settlement-recon.d.mts +3 -21
  208. package/dist/actions/get-settlement-recon.d.mts.map +1 -1
  209. package/dist/actions/get-settlement-recon.mjs +1 -0
  210. package/dist/actions/get-settlement-recon.mjs.map +1 -1
  211. package/dist/actions/get-transfer-reversals.cjs +1 -0
  212. package/dist/actions/get-transfer-reversals.cjs.map +1 -1
  213. package/dist/actions/get-transfer-reversals.d.cts +3 -21
  214. package/dist/actions/get-transfer-reversals.d.cts.map +1 -1
  215. package/dist/actions/get-transfer-reversals.d.mts +3 -21
  216. package/dist/actions/get-transfer-reversals.d.mts.map +1 -1
  217. package/dist/actions/get-transfer-reversals.mjs +1 -0
  218. package/dist/actions/get-transfer-reversals.mjs.map +1 -1
  219. package/dist/actions/issue-an-invoice.cjs +1 -0
  220. package/dist/actions/issue-an-invoice.cjs.map +1 -1
  221. package/dist/actions/issue-an-invoice.d.cts +3 -17
  222. package/dist/actions/issue-an-invoice.d.cts.map +1 -1
  223. package/dist/actions/issue-an-invoice.d.mts +3 -17
  224. package/dist/actions/issue-an-invoice.d.mts.map +1 -1
  225. package/dist/actions/issue-an-invoice.mjs +1 -0
  226. package/dist/actions/issue-an-invoice.mjs.map +1 -1
  227. package/dist/actions/list-customer-tokens.cjs +1 -0
  228. package/dist/actions/list-customer-tokens.cjs.map +1 -1
  229. package/dist/actions/list-customer-tokens.d.cts +3 -17
  230. package/dist/actions/list-customer-tokens.d.cts.map +1 -1
  231. package/dist/actions/list-customer-tokens.d.mts +3 -17
  232. package/dist/actions/list-customer-tokens.d.mts.map +1 -1
  233. package/dist/actions/list-customer-tokens.mjs +1 -0
  234. package/dist/actions/list-customer-tokens.mjs.map +1 -1
  235. package/dist/actions/list-disputes.cjs +1 -0
  236. package/dist/actions/list-disputes.cjs.map +1 -1
  237. package/dist/actions/list-disputes.d.cts +3 -20
  238. package/dist/actions/list-disputes.d.cts.map +1 -1
  239. package/dist/actions/list-disputes.d.mts +3 -20
  240. package/dist/actions/list-disputes.d.mts.map +1 -1
  241. package/dist/actions/list-disputes.mjs +1 -0
  242. package/dist/actions/list-disputes.mjs.map +1 -1
  243. package/dist/actions/list-fund-accounts.cjs +1 -0
  244. package/dist/actions/list-fund-accounts.cjs.map +1 -1
  245. package/dist/actions/list-fund-accounts.d.cts +3 -20
  246. package/dist/actions/list-fund-accounts.d.cts.map +1 -1
  247. package/dist/actions/list-fund-accounts.d.mts +3 -20
  248. package/dist/actions/list-fund-accounts.d.mts.map +1 -1
  249. package/dist/actions/list-fund-accounts.mjs +1 -0
  250. package/dist/actions/list-fund-accounts.mjs.map +1 -1
  251. package/dist/actions/list-fund-validations.cjs +1 -0
  252. package/dist/actions/list-fund-validations.cjs.map +1 -1
  253. package/dist/actions/list-fund-validations.d.cts +3 -20
  254. package/dist/actions/list-fund-validations.d.cts.map +1 -1
  255. package/dist/actions/list-fund-validations.d.mts +3 -20
  256. package/dist/actions/list-fund-validations.d.mts.map +1 -1
  257. package/dist/actions/list-fund-validations.mjs +1 -0
  258. package/dist/actions/list-fund-validations.mjs.map +1 -1
  259. package/dist/actions/list-items.cjs +1 -0
  260. package/dist/actions/list-items.cjs.map +1 -1
  261. package/dist/actions/list-items.d.cts +3 -21
  262. package/dist/actions/list-items.d.cts.map +1 -1
  263. package/dist/actions/list-items.d.mts +3 -21
  264. package/dist/actions/list-items.d.mts.map +1 -1
  265. package/dist/actions/list-items.mjs +1 -0
  266. package/dist/actions/list-items.mjs.map +1 -1
  267. package/dist/actions/list-payment-downtimes.cjs +1 -0
  268. package/dist/actions/list-payment-downtimes.cjs.map +1 -1
  269. package/dist/actions/list-payment-downtimes.d.cts +3 -15
  270. package/dist/actions/list-payment-downtimes.d.cts.map +1 -1
  271. package/dist/actions/list-payment-downtimes.d.mts +3 -15
  272. package/dist/actions/list-payment-downtimes.d.mts.map +1 -1
  273. package/dist/actions/list-payment-downtimes.mjs +1 -0
  274. package/dist/actions/list-payment-downtimes.mjs.map +1 -1
  275. package/dist/actions/notify-payment-link.cjs +1 -0
  276. package/dist/actions/notify-payment-link.cjs.map +1 -1
  277. package/dist/actions/notify-payment-link.d.cts +3 -18
  278. package/dist/actions/notify-payment-link.d.cts.map +1 -1
  279. package/dist/actions/notify-payment-link.d.mts +3 -18
  280. package/dist/actions/notify-payment-link.d.mts.map +1 -1
  281. package/dist/actions/notify-payment-link.mjs +1 -0
  282. package/dist/actions/notify-payment-link.mjs.map +1 -1
  283. package/dist/actions/send-or-resend-notification.cjs +1 -0
  284. package/dist/actions/send-or-resend-notification.cjs.map +1 -1
  285. package/dist/actions/send-or-resend-notification.d.cts +3 -18
  286. package/dist/actions/send-or-resend-notification.d.cts.map +1 -1
  287. package/dist/actions/send-or-resend-notification.d.mts +3 -18
  288. package/dist/actions/send-or-resend-notification.d.mts.map +1 -1
  289. package/dist/actions/send-or-resend-notification.mjs +1 -0
  290. package/dist/actions/send-or-resend-notification.mjs.map +1 -1
  291. package/dist/actions/update-contact.cjs +1 -0
  292. package/dist/actions/update-contact.cjs.map +1 -1
  293. package/dist/actions/update-contact.d.cts +3 -23
  294. package/dist/actions/update-contact.d.cts.map +1 -1
  295. package/dist/actions/update-contact.d.mts +3 -23
  296. package/dist/actions/update-contact.d.mts.map +1 -1
  297. package/dist/actions/update-contact.mjs +1 -0
  298. package/dist/actions/update-contact.mjs.map +1 -1
  299. package/dist/actions/update-customer.cjs +1 -0
  300. package/dist/actions/update-customer.cjs.map +1 -1
  301. package/dist/actions/update-customer.d.cts +3 -20
  302. package/dist/actions/update-customer.d.cts.map +1 -1
  303. package/dist/actions/update-customer.d.mts +3 -20
  304. package/dist/actions/update-customer.d.mts.map +1 -1
  305. package/dist/actions/update-customer.mjs +1 -0
  306. package/dist/actions/update-customer.mjs.map +1 -1
  307. package/dist/actions/update-invoice.cjs +1 -0
  308. package/dist/actions/update-invoice.cjs.map +1 -1
  309. package/dist/actions/update-invoice.d.cts +3 -83
  310. package/dist/actions/update-invoice.d.cts.map +1 -1
  311. package/dist/actions/update-invoice.d.mts +3 -83
  312. package/dist/actions/update-invoice.d.mts.map +1 -1
  313. package/dist/actions/update-invoice.mjs +1 -0
  314. package/dist/actions/update-invoice.mjs.map +1 -1
  315. package/dist/actions/update-item.cjs +1 -0
  316. package/dist/actions/update-item.cjs.map +1 -1
  317. package/dist/actions/update-item.d.cts +3 -20
  318. package/dist/actions/update-item.d.cts.map +1 -1
  319. package/dist/actions/update-item.d.mts +3 -20
  320. package/dist/actions/update-item.d.mts.map +1 -1
  321. package/dist/actions/update-item.mjs +1 -0
  322. package/dist/actions/update-item.mjs.map +1 -1
  323. package/dist/actions/update-order.cjs +1 -0
  324. package/dist/actions/update-order.cjs.map +1 -1
  325. package/dist/actions/update-order.d.cts +3 -18
  326. package/dist/actions/update-order.d.cts.map +1 -1
  327. package/dist/actions/update-order.d.mts +3 -18
  328. package/dist/actions/update-order.d.mts.map +1 -1
  329. package/dist/actions/update-order.mjs +1 -0
  330. package/dist/actions/update-order.mjs.map +1 -1
  331. package/dist/actions/update-payment-link.cjs +1 -0
  332. package/dist/actions/update-payment-link.cjs.map +1 -1
  333. package/dist/actions/update-payment-link.d.cts +3 -22
  334. package/dist/actions/update-payment-link.d.cts.map +1 -1
  335. package/dist/actions/update-payment-link.d.mts +3 -22
  336. package/dist/actions/update-payment-link.d.mts.map +1 -1
  337. package/dist/actions/update-payment-link.mjs +1 -0
  338. package/dist/actions/update-payment-link.mjs.map +1 -1
  339. package/dist/app.cjs +5 -4
  340. package/dist/app.cjs.map +1 -1
  341. package/dist/app.d.cts +4 -6
  342. package/dist/app.d.cts.map +1 -1
  343. package/dist/app.d.mts +4 -6
  344. package/dist/app.d.mts.map +1 -1
  345. package/dist/app.mjs +0 -1
  346. package/dist/app.mjs.map +1 -1
  347. package/dist/index.d.cts +1 -1
  348. package/dist/index.d.mts +1 -1
  349. package/package.json +2 -2
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/notify-payment-link.ts
@@ -1 +1 @@
1
- {"version":3,"file":"notify-payment-link.cjs","names":["z","action"],"sources":["../../src/actions/notify-payment-link.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayNotifyPaymentLinkInput = z.object({\n medium: z.enum([\"sms\", \"email\"]).describe(\"The notification medium to use for sending the payment link notification. Choose 'sms' to send via SMS or 'email' to send via email.\"),\n plink_id: z.string().describe(\"The unique identifier of the payment link to send notification for.\"),\n}).describe(\"Request to send a notification for a payment link.\");\nexport const RazorpayNotifyPaymentLinkOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the notification was sent successfully.\").nullable(),\n}).passthrough().describe(\"Response from sending a payment link notification.\");\n\nexport const razorpayNotifyPaymentLink = action(\"RAZORPAY_NOTIFY_PAYMENT_LINK\", {\n slug: \"razorpay-notify-payment-link\",\n name: \"Notify Payment Link\",\n description: \"Tool to send or resend notification for a payment link via SMS or email. Use when you need to notify a customer about a payment link.\",\n input: RazorpayNotifyPaymentLinkInput,\n output: RazorpayNotifyPaymentLinkOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,QAAQA,IAAAA,EAAE,KAAK,CAAC,OAAO,OAAO,CAAC,CAAC,CAAC,SAAS,sIAAsI;CAChL,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;AACrG,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,EACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"notify-payment-link.cjs","names":["z","action"],"sources":["../../src/actions/notify-payment-link.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { razorpay } from \"../app\";\n\nexport const RazorpayNotifyPaymentLinkInput = z.object({\n medium: z.enum([\"sms\", \"email\"]).describe(\"The notification medium to use for sending the payment link notification. Choose 'sms' to send via SMS or 'email' to send via email.\"),\n plink_id: z.string().describe(\"The unique identifier of the payment link to send notification for.\"),\n}).describe(\"Request to send a notification for a payment link.\");\nexport const RazorpayNotifyPaymentLinkOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the notification was sent successfully.\").nullable(),\n}).passthrough().describe(\"Response from sending a payment link notification.\");\n\nexport const razorpayNotifyPaymentLink: AppAction<\n typeof RazorpayNotifyPaymentLinkInput,\n typeof RazorpayNotifyPaymentLinkOutput,\n typeof razorpay.credential\n> = action(\"RAZORPAY_NOTIFY_PAYMENT_LINK\", {\n slug: \"razorpay-notify-payment-link\",\n name: \"Notify Payment Link\",\n description: \"Tool to send or resend notification for a payment link via SMS or email. Use when you need to notify a customer about a payment link.\",\n input: RazorpayNotifyPaymentLinkInput,\n output: RazorpayNotifyPaymentLinkOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,QAAQA,IAAAA,EAAE,KAAK,CAAC,OAAO,OAAO,CAAC,CAAC,CAAC,SAAS,sIAAsI;CAChL,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;AACrG,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,EACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { razorpay } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/notify-payment-link.d.ts
@@ -11,24 +13,7 @@ declare const RazorpayNotifyPaymentLinkInput: z.ZodObject<{
11
13
  declare const RazorpayNotifyPaymentLinkOutput: z.ZodObject<{
12
14
  success: z.ZodNullable<z.ZodBoolean>;
13
15
  }, z.core.$loose>;
14
- declare const razorpayNotifyPaymentLink: import("@keystrokehq/action").WorkflowActionDefinition<{
15
- medium: "email" | "sms";
16
- plink_id: string;
17
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
18
- connectionId: z.ZodString;
19
- entityId: z.ZodString;
20
- instanceId: z.ZodString;
21
- }, z.core.$strip>, z.ZodObject<{
22
- generic_api_key: z.ZodString;
23
- generic_id: z.ZodString;
24
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
25
- connectionId: z.ZodString;
26
- entityId: z.ZodString;
27
- instanceId: z.ZodString;
28
- }, z.core.$strip>, z.ZodObject<{
29
- generic_api_key: z.ZodString;
30
- generic_id: z.ZodString;
31
- }, z.core.$strip>>]>;
16
+ declare const razorpayNotifyPaymentLink: AppAction<typeof RazorpayNotifyPaymentLinkInput, typeof RazorpayNotifyPaymentLinkOutput, typeof razorpay.credential>;
32
17
  //#endregion
33
18
  export { razorpayNotifyPaymentLink };
34
19
  //# sourceMappingURL=notify-payment-link.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"notify-payment-link.d.cts","names":[],"sources":["../../src/actions/notify-payment-link.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;cAI9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"notify-payment-link.d.cts","names":[],"sources":["../../src/actions/notify-payment-link.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;cAI9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { razorpay } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/notify-payment-link.d.ts
@@ -11,24 +13,7 @@ declare const RazorpayNotifyPaymentLinkInput: z.ZodObject<{
11
13
  declare const RazorpayNotifyPaymentLinkOutput: z.ZodObject<{
12
14
  success: z.ZodNullable<z.ZodBoolean>;
13
15
  }, z.core.$loose>;
14
- declare const razorpayNotifyPaymentLink: import("@keystrokehq/action").WorkflowActionDefinition<{
15
- medium: "email" | "sms";
16
- plink_id: string;
17
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
18
- connectionId: z.ZodString;
19
- entityId: z.ZodString;
20
- instanceId: z.ZodString;
21
- }, z.core.$strip>, z.ZodObject<{
22
- generic_api_key: z.ZodString;
23
- generic_id: z.ZodString;
24
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
25
- connectionId: z.ZodString;
26
- entityId: z.ZodString;
27
- instanceId: z.ZodString;
28
- }, z.core.$strip>, z.ZodObject<{
29
- generic_api_key: z.ZodString;
30
- generic_id: z.ZodString;
31
- }, z.core.$strip>>]>;
16
+ declare const razorpayNotifyPaymentLink: AppAction<typeof RazorpayNotifyPaymentLinkInput, typeof RazorpayNotifyPaymentLinkOutput, typeof razorpay.credential>;
32
17
  //#endregion
33
18
  export { razorpayNotifyPaymentLink };
34
19
  //# sourceMappingURL=notify-payment-link.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"notify-payment-link.d.mts","names":[],"sources":["../../src/actions/notify-payment-link.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;cAI9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"notify-payment-link.d.mts","names":[],"sources":["../../src/actions/notify-payment-link.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;cAI9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const razorpayNotifyPaymentLink = action("RAZORPAY_NOTIFY_PAYMENT_LINK", {
@@ -1 +1 @@
1
- {"version":3,"file":"notify-payment-link.mjs","names":[],"sources":["../../src/actions/notify-payment-link.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayNotifyPaymentLinkInput = z.object({\n medium: z.enum([\"sms\", \"email\"]).describe(\"The notification medium to use for sending the payment link notification. Choose 'sms' to send via SMS or 'email' to send via email.\"),\n plink_id: z.string().describe(\"The unique identifier of the payment link to send notification for.\"),\n}).describe(\"Request to send a notification for a payment link.\");\nexport const RazorpayNotifyPaymentLinkOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the notification was sent successfully.\").nullable(),\n}).passthrough().describe(\"Response from sending a payment link notification.\");\n\nexport const razorpayNotifyPaymentLink = action(\"RAZORPAY_NOTIFY_PAYMENT_LINK\", {\n slug: \"razorpay-notify-payment-link\",\n name: \"Notify Payment Link\",\n description: \"Tool to send or resend notification for a payment link via SMS or email. Use when you need to notify a customer about a payment link.\",\n input: RazorpayNotifyPaymentLinkInput,\n output: RazorpayNotifyPaymentLinkOutput,\n});\n"],"mappings":";;AAYA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ4C,EAAE,OAAO;EACrD,QAAQ,EAAE,KAAK,CAAC,OAAO,OAAO,CAAC,CAAC,CAAC,SAAS,sIAAsI;EAChL,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACrG,CAAC,CAAC,CAAC,SAAS,oDASH;CACP,QAT6C,EAAE,OAAO,EACtD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,EACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"notify-payment-link.mjs","names":[],"sources":["../../src/actions/notify-payment-link.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { razorpay } from \"../app\";\n\nexport const RazorpayNotifyPaymentLinkInput = z.object({\n medium: z.enum([\"sms\", \"email\"]).describe(\"The notification medium to use for sending the payment link notification. Choose 'sms' to send via SMS or 'email' to send via email.\"),\n plink_id: z.string().describe(\"The unique identifier of the payment link to send notification for.\"),\n}).describe(\"Request to send a notification for a payment link.\");\nexport const RazorpayNotifyPaymentLinkOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the notification was sent successfully.\").nullable(),\n}).passthrough().describe(\"Response from sending a payment link notification.\");\n\nexport const razorpayNotifyPaymentLink: AppAction<\n typeof RazorpayNotifyPaymentLinkInput,\n typeof RazorpayNotifyPaymentLinkOutput,\n typeof razorpay.credential\n> = action(\"RAZORPAY_NOTIFY_PAYMENT_LINK\", {\n slug: \"razorpay-notify-payment-link\",\n name: \"Notify Payment Link\",\n description: \"Tool to send or resend notification for a payment link via SMS or email. Use when you need to notify a customer about a payment link.\",\n input: RazorpayNotifyPaymentLinkInput,\n output: RazorpayNotifyPaymentLinkOutput,\n});\n"],"mappings":";;;AAcA,MAAa,4BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB4C,EAAE,OAAO;EACrD,QAAQ,EAAE,KAAK,CAAC,OAAO,OAAO,CAAC,CAAC,CAAC,SAAS,sIAAsI;EAChL,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACrG,CAAC,CAAC,CAAC,SAAS,oDAaH;CACP,QAb6C,EAAE,OAAO,EACtD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,EACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/send-or-resend-notification.ts
@@ -1 +1 @@
1
- {"version":3,"file":"send-or-resend-notification.cjs","names":["z","action"],"sources":["../../src/actions/send-or-resend-notification.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpaySendOrResendNotificationInput = z.object({\n medium: z.enum([\"email\", \"sms\"]).describe(\"The medium through which to send the notification (email or sms)\"),\n invoice_id: z.string().describe(\"The unique identifier of the invoice for which to send notification\"),\n}).describe(\"Request model for sending or resending invoice notifications\");\nexport const RazorpaySendOrResendNotificationOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the notification was sent successfully\").nullable(),\n}).passthrough().describe(\"Response model for send/resend notification action\");\n\nexport const razorpaySendOrResendNotification = action(\"RAZORPAY_SEND_OR_RESEND_NOTIFICATION\", {\n slug: \"razorpay-send-or-resend-notification\",\n name: \"Send/Resend Invoice Notification\",\n description: \"Tool to send or resend an invoice notification via email or SMS. Use when you need to notify customers about an invoice through their preferred communication channel.\",\n input: RazorpaySendOrResendNotificationInput,\n output: RazorpaySendOrResendNotificationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,QAAQA,IAAAA,EAAE,KAAK,CAAC,SAAS,KAAK,CAAC,CAAC,CAAC,SAAS,kEAAkE;CAC5G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;AACvG,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,EACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,mCAAmCC,eAAAA,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"send-or-resend-notification.cjs","names":["z","action"],"sources":["../../src/actions/send-or-resend-notification.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { razorpay } from \"../app\";\n\nexport const RazorpaySendOrResendNotificationInput = z.object({\n medium: z.enum([\"email\", \"sms\"]).describe(\"The medium through which to send the notification (email or sms)\"),\n invoice_id: z.string().describe(\"The unique identifier of the invoice for which to send notification\"),\n}).describe(\"Request model for sending or resending invoice notifications\");\nexport const RazorpaySendOrResendNotificationOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the notification was sent successfully\").nullable(),\n}).passthrough().describe(\"Response model for send/resend notification action\");\n\nexport const razorpaySendOrResendNotification: AppAction<\n typeof RazorpaySendOrResendNotificationInput,\n typeof RazorpaySendOrResendNotificationOutput,\n typeof razorpay.credential\n> = action(\"RAZORPAY_SEND_OR_RESEND_NOTIFICATION\", {\n slug: \"razorpay-send-or-resend-notification\",\n name: \"Send/Resend Invoice Notification\",\n description: \"Tool to send or resend an invoice notification via email or SMS. Use when you need to notify customers about an invoice through their preferred communication channel.\",\n input: RazorpaySendOrResendNotificationInput,\n output: RazorpaySendOrResendNotificationOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,QAAQA,IAAAA,EAAE,KAAK,CAAC,SAAS,KAAK,CAAC,CAAC,CAAC,SAAS,kEAAkE;CAC5G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;AACvG,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,EACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,mCAITC,eAAAA,OAAO,wCAAwC;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { razorpay } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/send-or-resend-notification.d.ts
@@ -11,24 +13,7 @@ declare const RazorpaySendOrResendNotificationInput: z.ZodObject<{
11
13
  declare const RazorpaySendOrResendNotificationOutput: z.ZodObject<{
12
14
  success: z.ZodNullable<z.ZodBoolean>;
13
15
  }, z.core.$loose>;
14
- declare const razorpaySendOrResendNotification: import("@keystrokehq/action").WorkflowActionDefinition<{
15
- medium: "email" | "sms";
16
- invoice_id: string;
17
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
18
- connectionId: z.ZodString;
19
- entityId: z.ZodString;
20
- instanceId: z.ZodString;
21
- }, z.core.$strip>, z.ZodObject<{
22
- generic_api_key: z.ZodString;
23
- generic_id: z.ZodString;
24
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
25
- connectionId: z.ZodString;
26
- entityId: z.ZodString;
27
- instanceId: z.ZodString;
28
- }, z.core.$strip>, z.ZodObject<{
29
- generic_api_key: z.ZodString;
30
- generic_id: z.ZodString;
31
- }, z.core.$strip>>]>;
16
+ declare const razorpaySendOrResendNotification: AppAction<typeof RazorpaySendOrResendNotificationInput, typeof RazorpaySendOrResendNotificationOutput, typeof razorpay.credential>;
32
17
  //#endregion
33
18
  export { razorpaySendOrResendNotification };
34
19
  //# sourceMappingURL=send-or-resend-notification.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"send-or-resend-notification.d.cts","names":[],"sources":["../../src/actions/send-or-resend-notification.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;cAIrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;cAItC,gCAAA,gCAAgC,wBAAA"}
1
+ {"version":3,"file":"send-or-resend-notification.d.cts","names":[],"sources":["../../src/actions/send-or-resend-notification.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;cAIrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;cAItC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { razorpay } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/send-or-resend-notification.d.ts
@@ -11,24 +13,7 @@ declare const RazorpaySendOrResendNotificationInput: z.ZodObject<{
11
13
  declare const RazorpaySendOrResendNotificationOutput: z.ZodObject<{
12
14
  success: z.ZodNullable<z.ZodBoolean>;
13
15
  }, z.core.$loose>;
14
- declare const razorpaySendOrResendNotification: import("@keystrokehq/action").WorkflowActionDefinition<{
15
- medium: "email" | "sms";
16
- invoice_id: string;
17
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
18
- connectionId: z.ZodString;
19
- entityId: z.ZodString;
20
- instanceId: z.ZodString;
21
- }, z.core.$strip>, z.ZodObject<{
22
- generic_api_key: z.ZodString;
23
- generic_id: z.ZodString;
24
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
25
- connectionId: z.ZodString;
26
- entityId: z.ZodString;
27
- instanceId: z.ZodString;
28
- }, z.core.$strip>, z.ZodObject<{
29
- generic_api_key: z.ZodString;
30
- generic_id: z.ZodString;
31
- }, z.core.$strip>>]>;
16
+ declare const razorpaySendOrResendNotification: AppAction<typeof RazorpaySendOrResendNotificationInput, typeof RazorpaySendOrResendNotificationOutput, typeof razorpay.credential>;
32
17
  //#endregion
33
18
  export { razorpaySendOrResendNotification };
34
19
  //# sourceMappingURL=send-or-resend-notification.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"send-or-resend-notification.d.mts","names":[],"sources":["../../src/actions/send-or-resend-notification.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;cAIrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;cAItC,gCAAA,gCAAgC,wBAAA"}
1
+ {"version":3,"file":"send-or-resend-notification.d.mts","names":[],"sources":["../../src/actions/send-or-resend-notification.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;cAIrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;cAItC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const razorpaySendOrResendNotification = action("RAZORPAY_SEND_OR_RESEND_NOTIFICATION", {
@@ -1 +1 @@
1
- {"version":3,"file":"send-or-resend-notification.mjs","names":[],"sources":["../../src/actions/send-or-resend-notification.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpaySendOrResendNotificationInput = z.object({\n medium: z.enum([\"email\", \"sms\"]).describe(\"The medium through which to send the notification (email or sms)\"),\n invoice_id: z.string().describe(\"The unique identifier of the invoice for which to send notification\"),\n}).describe(\"Request model for sending or resending invoice notifications\");\nexport const RazorpaySendOrResendNotificationOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the notification was sent successfully\").nullable(),\n}).passthrough().describe(\"Response model for send/resend notification action\");\n\nexport const razorpaySendOrResendNotification = action(\"RAZORPAY_SEND_OR_RESEND_NOTIFICATION\", {\n slug: \"razorpay-send-or-resend-notification\",\n name: \"Send/Resend Invoice Notification\",\n description: \"Tool to send or resend an invoice notification via email or SMS. Use when you need to notify customers about an invoice through their preferred communication channel.\",\n input: RazorpaySendOrResendNotificationInput,\n output: RazorpaySendOrResendNotificationOutput,\n});\n"],"mappings":";;AAYA,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZmD,EAAE,OAAO;EAC5D,QAAQ,EAAE,KAAK,CAAC,SAAS,KAAK,CAAC,CAAC,CAAC,SAAS,kEAAkE;EAC5G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACvG,CAAC,CAAC,CAAC,SAAS,8DASH;CACP,QAToD,EAAE,OAAO,EAC7D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,EACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"send-or-resend-notification.mjs","names":[],"sources":["../../src/actions/send-or-resend-notification.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { razorpay } from \"../app\";\n\nexport const RazorpaySendOrResendNotificationInput = z.object({\n medium: z.enum([\"email\", \"sms\"]).describe(\"The medium through which to send the notification (email or sms)\"),\n invoice_id: z.string().describe(\"The unique identifier of the invoice for which to send notification\"),\n}).describe(\"Request model for sending or resending invoice notifications\");\nexport const RazorpaySendOrResendNotificationOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the notification was sent successfully\").nullable(),\n}).passthrough().describe(\"Response model for send/resend notification action\");\n\nexport const razorpaySendOrResendNotification: AppAction<\n typeof RazorpaySendOrResendNotificationInput,\n typeof RazorpaySendOrResendNotificationOutput,\n typeof razorpay.credential\n> = action(\"RAZORPAY_SEND_OR_RESEND_NOTIFICATION\", {\n slug: \"razorpay-send-or-resend-notification\",\n name: \"Send/Resend Invoice Notification\",\n description: \"Tool to send or resend an invoice notification via email or SMS. Use when you need to notify customers about an invoice through their preferred communication channel.\",\n input: RazorpaySendOrResendNotificationInput,\n output: RazorpaySendOrResendNotificationOutput,\n});\n"],"mappings":";;;AAcA,MAAa,mCAIT,OAAO,wCAAwC;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBmD,EAAE,OAAO;EAC5D,QAAQ,EAAE,KAAK,CAAC,SAAS,KAAK,CAAC,CAAC,CAAC,SAAS,kEAAkE;EAC5G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACvG,CAAC,CAAC,CAAC,SAAS,8DAaH;CACP,QAboD,EAAE,OAAO,EAC7D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,EACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/update-contact.ts
@@ -1 +1 @@
1
- {"version":3,"file":"update-contact.cjs","names":["z","action"],"sources":["../../src/actions/update-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayUpdateContactInput = z.object({\n name: z.string().describe(\"Updated name of the contact. Provide this to change the contact's name.\").optional(),\n type: z.enum([\"employee\", \"vendor\", \"customer\"]).describe(\"Type of contact in RazorpayX.\").optional(),\n email: z.string().describe(\"Updated email address of the contact. Provide this to change the contact's email.\").optional(),\n notes: z.record(z.string(), z.unknown()).describe(\"Updated key-value pairs for storing additional information about the contact. Provide this to change or add notes.\").optional(),\n contact: z.string().describe(\"Updated phone number of the contact. Provide this to change the contact's phone number.\").optional(),\n contact_id: z.string().describe(\"The unique identifier of the contact to update. This is the contact ID returned from Razorpay (e.g., 'cont_SMoUIhAssfaDoy').\"),\n reference_id: z.string().describe(\"Updated reference identifier for the contact in your system. Provide this to change the reference ID.\").optional(),\n}).describe(\"Request model for updating a contact in RazorpayX.\");\nexport const RazorpayUpdateContactOutput = z.object({\n id: z.string().describe(\"Unique identifier for the contact\").nullable(),\n name: z.string().describe(\"Name of the contact\").nullable(),\n type: z.string().describe(\"Type of contact\").nullable(),\n email: z.string().describe(\"Email address of the contact\").nullable().optional(),\n notes: z.record(z.string(), z.unknown()).describe(\"Additional information about the contact\").nullable().optional(),\n active: z.boolean().describe(\"Whether the contact is active\").nullable(),\n entity: z.string().describe(\"Entity type\").nullable(),\n contact: z.string().describe(\"Phone number of the contact\").nullable().optional(),\n batch_id: z.string().describe(\"Batch identifier if the contact was created in a batch\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp of contact creation\").nullable(),\n reference_id: z.string().describe(\"Reference identifier for the contact\").nullable().optional(),\n}).passthrough().describe(\"Response model for an updated RazorpayX contact.\");\n\nexport const razorpayUpdateContact = action(\"RAZORPAY_UPDATE_CONTACT\", {\n slug: \"razorpay-update-contact\",\n name: \"Update Contact\",\n description: \"Tool to update an existing contact's details in RazorpayX. Use when you need to modify contact information such as name, email, phone number, type, reference ID, or notes.\",\n input: RazorpayUpdateContactInput,\n output: RazorpayUpdateContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC9G,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAU;CAAU,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CACzH,OAAOA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CACjL,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACjI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H;CAC9J,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CACpD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACrF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-contact.cjs","names":["z","action"],"sources":["../../src/actions/update-contact.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { razorpay } from \"../app\";\n\nexport const RazorpayUpdateContactInput = z.object({\n name: z.string().describe(\"Updated name of the contact. Provide this to change the contact's name.\").optional(),\n type: z.enum([\"employee\", \"vendor\", \"customer\"]).describe(\"Type of contact in RazorpayX.\").optional(),\n email: z.string().describe(\"Updated email address of the contact. Provide this to change the contact's email.\").optional(),\n notes: z.record(z.string(), z.unknown()).describe(\"Updated key-value pairs for storing additional information about the contact. Provide this to change or add notes.\").optional(),\n contact: z.string().describe(\"Updated phone number of the contact. Provide this to change the contact's phone number.\").optional(),\n contact_id: z.string().describe(\"The unique identifier of the contact to update. This is the contact ID returned from Razorpay (e.g., 'cont_SMoUIhAssfaDoy').\"),\n reference_id: z.string().describe(\"Updated reference identifier for the contact in your system. Provide this to change the reference ID.\").optional(),\n}).describe(\"Request model for updating a contact in RazorpayX.\");\nexport const RazorpayUpdateContactOutput = z.object({\n id: z.string().describe(\"Unique identifier for the contact\").nullable(),\n name: z.string().describe(\"Name of the contact\").nullable(),\n type: z.string().describe(\"Type of contact\").nullable(),\n email: z.string().describe(\"Email address of the contact\").nullable().optional(),\n notes: z.record(z.string(), z.unknown()).describe(\"Additional information about the contact\").nullable().optional(),\n active: z.boolean().describe(\"Whether the contact is active\").nullable(),\n entity: z.string().describe(\"Entity type\").nullable(),\n contact: z.string().describe(\"Phone number of the contact\").nullable().optional(),\n batch_id: z.string().describe(\"Batch identifier if the contact was created in a batch\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp of contact creation\").nullable(),\n reference_id: z.string().describe(\"Reference identifier for the contact\").nullable().optional(),\n}).passthrough().describe(\"Response model for an updated RazorpayX contact.\");\n\nexport const razorpayUpdateContact: AppAction<\n typeof RazorpayUpdateContactInput,\n typeof RazorpayUpdateContactOutput,\n typeof razorpay.credential\n> = action(\"RAZORPAY_UPDATE_CONTACT\", {\n slug: \"razorpay-update-contact\",\n name: \"Update Contact\",\n description: \"Tool to update an existing contact's details in RazorpayX. Use when you need to modify contact information such as name, email, phone number, type, reference ID, or notes.\",\n input: RazorpayUpdateContactInput,\n output: RazorpayUpdateContactOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC9G,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAU;CAAU,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CACzH,OAAOA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CACjL,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACjI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H;CAC9J,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CACpD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACrF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,wBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { razorpay } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-contact.d.ts
@@ -27,29 +29,7 @@ declare const RazorpayUpdateContactOutput: z.ZodObject<{
27
29
  created_at: z.ZodNullable<z.ZodNumber>;
28
30
  reference_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
31
  }, z.core.$loose>;
30
- declare const razorpayUpdateContact: import("@keystrokehq/action").WorkflowActionDefinition<{
31
- contact_id: string;
32
- name?: string | undefined;
33
- type?: "customer" | "employee" | "vendor" | undefined;
34
- email?: string | undefined;
35
- notes?: Record<string, unknown> | undefined;
36
- contact?: string | undefined;
37
- reference_id?: string | undefined;
38
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
39
- connectionId: z.ZodString;
40
- entityId: z.ZodString;
41
- instanceId: z.ZodString;
42
- }, z.core.$strip>, z.ZodObject<{
43
- generic_api_key: z.ZodString;
44
- generic_id: z.ZodString;
45
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
46
- connectionId: z.ZodString;
47
- entityId: z.ZodString;
48
- instanceId: z.ZodString;
49
- }, z.core.$strip>, z.ZodObject<{
50
- generic_api_key: z.ZodString;
51
- generic_id: z.ZodString;
52
- }, z.core.$strip>>]>;
32
+ declare const razorpayUpdateContact: AppAction<typeof RazorpayUpdateContactInput, typeof RazorpayUpdateContactOutput, typeof razorpay.credential>;
53
33
  //#endregion
54
34
  export { razorpayUpdateContact };
55
35
  //# sourceMappingURL=update-contact.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-contact.d.cts","names":[],"sources":["../../src/actions/update-contact.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAS1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAc3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"update-contact.d.cts","names":[],"sources":["../../src/actions/update-contact.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAS1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAc3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { razorpay } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-contact.d.ts
@@ -27,29 +29,7 @@ declare const RazorpayUpdateContactOutput: z.ZodObject<{
27
29
  created_at: z.ZodNullable<z.ZodNumber>;
28
30
  reference_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
31
  }, z.core.$loose>;
30
- declare const razorpayUpdateContact: import("@keystrokehq/action").WorkflowActionDefinition<{
31
- contact_id: string;
32
- name?: string | undefined;
33
- type?: "customer" | "employee" | "vendor" | undefined;
34
- email?: string | undefined;
35
- notes?: Record<string, unknown> | undefined;
36
- contact?: string | undefined;
37
- reference_id?: string | undefined;
38
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
39
- connectionId: z.ZodString;
40
- entityId: z.ZodString;
41
- instanceId: z.ZodString;
42
- }, z.core.$strip>, z.ZodObject<{
43
- generic_api_key: z.ZodString;
44
- generic_id: z.ZodString;
45
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
46
- connectionId: z.ZodString;
47
- entityId: z.ZodString;
48
- instanceId: z.ZodString;
49
- }, z.core.$strip>, z.ZodObject<{
50
- generic_api_key: z.ZodString;
51
- generic_id: z.ZodString;
52
- }, z.core.$strip>>]>;
32
+ declare const razorpayUpdateContact: AppAction<typeof RazorpayUpdateContactInput, typeof RazorpayUpdateContactOutput, typeof razorpay.credential>;
53
33
  //#endregion
54
34
  export { razorpayUpdateContact };
55
35
  //# sourceMappingURL=update-contact.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-contact.d.mts","names":[],"sources":["../../src/actions/update-contact.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAS1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAc3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"update-contact.d.mts","names":[],"sources":["../../src/actions/update-contact.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAS1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAc3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const razorpayUpdateContact = action("RAZORPAY_UPDATE_CONTACT", {
@@ -1 +1 @@
1
- {"version":3,"file":"update-contact.mjs","names":[],"sources":["../../src/actions/update-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayUpdateContactInput = z.object({\n name: z.string().describe(\"Updated name of the contact. Provide this to change the contact's name.\").optional(),\n type: z.enum([\"employee\", \"vendor\", \"customer\"]).describe(\"Type of contact in RazorpayX.\").optional(),\n email: z.string().describe(\"Updated email address of the contact. Provide this to change the contact's email.\").optional(),\n notes: z.record(z.string(), z.unknown()).describe(\"Updated key-value pairs for storing additional information about the contact. Provide this to change or add notes.\").optional(),\n contact: z.string().describe(\"Updated phone number of the contact. Provide this to change the contact's phone number.\").optional(),\n contact_id: z.string().describe(\"The unique identifier of the contact to update. This is the contact ID returned from Razorpay (e.g., 'cont_SMoUIhAssfaDoy').\"),\n reference_id: z.string().describe(\"Updated reference identifier for the contact in your system. Provide this to change the reference ID.\").optional(),\n}).describe(\"Request model for updating a contact in RazorpayX.\");\nexport const RazorpayUpdateContactOutput = z.object({\n id: z.string().describe(\"Unique identifier for the contact\").nullable(),\n name: z.string().describe(\"Name of the contact\").nullable(),\n type: z.string().describe(\"Type of contact\").nullable(),\n email: z.string().describe(\"Email address of the contact\").nullable().optional(),\n notes: z.record(z.string(), z.unknown()).describe(\"Additional information about the contact\").nullable().optional(),\n active: z.boolean().describe(\"Whether the contact is active\").nullable(),\n entity: z.string().describe(\"Entity type\").nullable(),\n contact: z.string().describe(\"Phone number of the contact\").nullable().optional(),\n batch_id: z.string().describe(\"Batch identifier if the contact was created in a batch\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp of contact creation\").nullable(),\n reference_id: z.string().describe(\"Reference identifier for the contact\").nullable().optional(),\n}).passthrough().describe(\"Response model for an updated RazorpayX contact.\");\n\nexport const razorpayUpdateContact = action(\"RAZORPAY_UPDATE_CONTACT\", {\n slug: \"razorpay-update-contact\",\n name: \"Update Contact\",\n description: \"Tool to update an existing contact's details in RazorpayX. Use when you need to modify contact information such as name, email, phone number, type, reference ID, or notes.\",\n input: RazorpayUpdateContactInput,\n output: RazorpayUpdateContactOutput,\n});\n"],"mappings":";;AA2BA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3BwC,EAAE,OAAO;EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EAC9G,MAAM,EAAE,KAAK;GAAC;GAAY;GAAU;EAAU,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACpG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EACzH,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;EACjL,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EACjI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H;EAC9J,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CACtJ,CAAC,CAAC,CAAC,SAAS,oDAmBH;CACP,QAnByC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;EACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;EACpD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACrF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"update-contact.mjs","names":[],"sources":["../../src/actions/update-contact.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { razorpay } from \"../app\";\n\nexport const RazorpayUpdateContactInput = z.object({\n name: z.string().describe(\"Updated name of the contact. Provide this to change the contact's name.\").optional(),\n type: z.enum([\"employee\", \"vendor\", \"customer\"]).describe(\"Type of contact in RazorpayX.\").optional(),\n email: z.string().describe(\"Updated email address of the contact. Provide this to change the contact's email.\").optional(),\n notes: z.record(z.string(), z.unknown()).describe(\"Updated key-value pairs for storing additional information about the contact. Provide this to change or add notes.\").optional(),\n contact: z.string().describe(\"Updated phone number of the contact. Provide this to change the contact's phone number.\").optional(),\n contact_id: z.string().describe(\"The unique identifier of the contact to update. This is the contact ID returned from Razorpay (e.g., 'cont_SMoUIhAssfaDoy').\"),\n reference_id: z.string().describe(\"Updated reference identifier for the contact in your system. Provide this to change the reference ID.\").optional(),\n}).describe(\"Request model for updating a contact in RazorpayX.\");\nexport const RazorpayUpdateContactOutput = z.object({\n id: z.string().describe(\"Unique identifier for the contact\").nullable(),\n name: z.string().describe(\"Name of the contact\").nullable(),\n type: z.string().describe(\"Type of contact\").nullable(),\n email: z.string().describe(\"Email address of the contact\").nullable().optional(),\n notes: z.record(z.string(), z.unknown()).describe(\"Additional information about the contact\").nullable().optional(),\n active: z.boolean().describe(\"Whether the contact is active\").nullable(),\n entity: z.string().describe(\"Entity type\").nullable(),\n contact: z.string().describe(\"Phone number of the contact\").nullable().optional(),\n batch_id: z.string().describe(\"Batch identifier if the contact was created in a batch\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp of contact creation\").nullable(),\n reference_id: z.string().describe(\"Reference identifier for the contact\").nullable().optional(),\n}).passthrough().describe(\"Response model for an updated RazorpayX contact.\");\n\nexport const razorpayUpdateContact: AppAction<\n typeof RazorpayUpdateContactInput,\n typeof RazorpayUpdateContactOutput,\n typeof razorpay.credential\n> = action(\"RAZORPAY_UPDATE_CONTACT\", {\n slug: \"razorpay-update-contact\",\n name: \"Update Contact\",\n description: \"Tool to update an existing contact's details in RazorpayX. Use when you need to modify contact information such as name, email, phone number, type, reference ID, or notes.\",\n input: RazorpayUpdateContactInput,\n output: RazorpayUpdateContactOutput,\n});\n"],"mappings":";;;AA6BA,MAAa,wBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA/BwC,EAAE,OAAO;EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EAC9G,MAAM,EAAE,KAAK;GAAC;GAAY;GAAU;EAAU,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACpG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EACzH,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;EACjL,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EACjI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H;EAC9J,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CACtJ,CAAC,CAAC,CAAC,SAAS,oDAuBH;CACP,QAvByC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;EACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;EACpD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACrF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/update-customer.ts
@@ -1 +1 @@
1
- {"version":3,"file":"update-customer.cjs","names":["z","action"],"sources":["../../src/actions/update-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayUpdateCustomerInput = z.object({\n name: z.string().describe(\"The updated name of the customer. Provide this to change the customer's name.\").optional(),\n email: z.string().describe(\"The updated email address of the customer. Provide this to change the customer's email.\").optional(),\n contact: z.string().describe(\"The updated contact number of the customer. Provide this to change the customer's phone number. Should be a valid phone number string.\").optional(),\n customer_id: z.string().describe(\"The unique identifier of the customer to update. This is the customer ID returned from Razorpay (e.g., 'cust_SMoQL8RbRrw4w5').\"),\n}).describe(\"Request parameters to update a customer in Razorpay.\");\nexport const RazorpayUpdateCustomerOutput = z.object({\n id: z.string().describe(\"The unique identifier of the customer in Razorpay\").nullable(),\n name: z.string().describe(\"The name of the customer\").nullable(),\n email: z.string().describe(\"The email address of the customer\").nullable(),\n gstin: z.string().describe(\"The GST identification number of the customer, if available\").nullable().optional(),\n notes: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable().optional(),\n entity: z.string().describe(\"The entity type, always 'customer' for customer objects\").nullable(),\n contact: z.string().describe(\"The contact number of the customer\").nullable(),\n created_at: z.number().int().describe(\"Unix timestamp when the customer was created\").nullable(),\n}).passthrough().describe(\"Response containing the updated customer details from Razorpay.\");\n\nexport const razorpayUpdateCustomer = action(\"RAZORPAY_UPDATE_CUSTOMER\", {\n slug: \"razorpay-update-customer\",\n name: \"Update Customer\",\n description: \"Tool to update an existing customer's details in Razorpay. Use when you need to modify customer information such as name, email, or contact number.\",\n input: RazorpayUpdateCustomerInput,\n output: RazorpayUpdateCustomerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACpH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CAC/H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CAChL,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI;AACnK,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACtF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,OAAOA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC5E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAE3F,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-customer.cjs","names":["z","action"],"sources":["../../src/actions/update-customer.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { razorpay } from \"../app\";\n\nexport const RazorpayUpdateCustomerInput = z.object({\n name: z.string().describe(\"The updated name of the customer. Provide this to change the customer's name.\").optional(),\n email: z.string().describe(\"The updated email address of the customer. Provide this to change the customer's email.\").optional(),\n contact: z.string().describe(\"The updated contact number of the customer. Provide this to change the customer's phone number. Should be a valid phone number string.\").optional(),\n customer_id: z.string().describe(\"The unique identifier of the customer to update. This is the customer ID returned from Razorpay (e.g., 'cust_SMoQL8RbRrw4w5').\"),\n}).describe(\"Request parameters to update a customer in Razorpay.\");\nexport const RazorpayUpdateCustomerOutput = z.object({\n id: z.string().describe(\"The unique identifier of the customer in Razorpay\").nullable(),\n name: z.string().describe(\"The name of the customer\").nullable(),\n email: z.string().describe(\"The email address of the customer\").nullable(),\n gstin: z.string().describe(\"The GST identification number of the customer, if available\").nullable().optional(),\n notes: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable().optional(),\n entity: z.string().describe(\"The entity type, always 'customer' for customer objects\").nullable(),\n contact: z.string().describe(\"The contact number of the customer\").nullable(),\n created_at: z.number().int().describe(\"Unix timestamp when the customer was created\").nullable(),\n}).passthrough().describe(\"Response containing the updated customer details from Razorpay.\");\n\nexport const razorpayUpdateCustomer: AppAction<\n typeof RazorpayUpdateCustomerInput,\n typeof RazorpayUpdateCustomerOutput,\n typeof razorpay.credential\n> = action(\"RAZORPAY_UPDATE_CUSTOMER\", {\n slug: \"razorpay-update-customer\",\n name: \"Update Customer\",\n description: \"Tool to update an existing customer's details in Razorpay. Use when you need to modify customer information such as name, email, or contact number.\",\n input: RazorpayUpdateCustomerInput,\n output: RazorpayUpdateCustomerOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACpH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CAC/H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CAChL,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI;AACnK,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACtF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,OAAOA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC5E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAE3F,MAAa,yBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { razorpay } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-customer.d.ts
@@ -17,26 +19,7 @@ declare const RazorpayUpdateCustomerOutput: z.ZodObject<{
17
19
  contact: z.ZodNullable<z.ZodString>;
18
20
  created_at: z.ZodNullable<z.ZodNumber>;
19
21
  }, z.core.$loose>;
20
- declare const razorpayUpdateCustomer: import("@keystrokehq/action").WorkflowActionDefinition<{
21
- customer_id: string;
22
- name?: string | undefined;
23
- email?: string | undefined;
24
- contact?: string | undefined;
25
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
26
- connectionId: z.ZodString;
27
- entityId: z.ZodString;
28
- instanceId: z.ZodString;
29
- }, z.core.$strip>, z.ZodObject<{
30
- generic_api_key: z.ZodString;
31
- generic_id: z.ZodString;
32
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
33
- connectionId: z.ZodString;
34
- entityId: z.ZodString;
35
- instanceId: z.ZodString;
36
- }, z.core.$strip>, z.ZodObject<{
37
- generic_api_key: z.ZodString;
38
- generic_id: z.ZodString;
39
- }, z.core.$strip>>]>;
22
+ declare const razorpayUpdateCustomer: AppAction<typeof RazorpayUpdateCustomerInput, typeof RazorpayUpdateCustomerOutput, typeof razorpay.credential>;
40
23
  //#endregion
41
24
  export { razorpayUpdateCustomer };
42
25
  //# sourceMappingURL=update-customer.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-customer.d.cts","names":[],"sources":["../../src/actions/update-customer.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;cAM3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;cAW5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"update-customer.d.cts","names":[],"sources":["../../src/actions/update-customer.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;cAM3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;cAW5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { razorpay } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-customer.d.ts
@@ -17,26 +19,7 @@ declare const RazorpayUpdateCustomerOutput: z.ZodObject<{
17
19
  contact: z.ZodNullable<z.ZodString>;
18
20
  created_at: z.ZodNullable<z.ZodNumber>;
19
21
  }, z.core.$loose>;
20
- declare const razorpayUpdateCustomer: import("@keystrokehq/action").WorkflowActionDefinition<{
21
- customer_id: string;
22
- name?: string | undefined;
23
- email?: string | undefined;
24
- contact?: string | undefined;
25
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
26
- connectionId: z.ZodString;
27
- entityId: z.ZodString;
28
- instanceId: z.ZodString;
29
- }, z.core.$strip>, z.ZodObject<{
30
- generic_api_key: z.ZodString;
31
- generic_id: z.ZodString;
32
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
33
- connectionId: z.ZodString;
34
- entityId: z.ZodString;
35
- instanceId: z.ZodString;
36
- }, z.core.$strip>, z.ZodObject<{
37
- generic_api_key: z.ZodString;
38
- generic_id: z.ZodString;
39
- }, z.core.$strip>>]>;
22
+ declare const razorpayUpdateCustomer: AppAction<typeof RazorpayUpdateCustomerInput, typeof RazorpayUpdateCustomerOutput, typeof razorpay.credential>;
40
23
  //#endregion
41
24
  export { razorpayUpdateCustomer };
42
25
  //# sourceMappingURL=update-customer.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-customer.d.mts","names":[],"sources":["../../src/actions/update-customer.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;cAM3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;cAW5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"update-customer.d.mts","names":[],"sources":["../../src/actions/update-customer.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;cAM3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;cAW5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const razorpayUpdateCustomer = action("RAZORPAY_UPDATE_CUSTOMER", {
@@ -1 +1 @@
1
- {"version":3,"file":"update-customer.mjs","names":[],"sources":["../../src/actions/update-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayUpdateCustomerInput = z.object({\n name: z.string().describe(\"The updated name of the customer. Provide this to change the customer's name.\").optional(),\n email: z.string().describe(\"The updated email address of the customer. Provide this to change the customer's email.\").optional(),\n contact: z.string().describe(\"The updated contact number of the customer. Provide this to change the customer's phone number. Should be a valid phone number string.\").optional(),\n customer_id: z.string().describe(\"The unique identifier of the customer to update. This is the customer ID returned from Razorpay (e.g., 'cust_SMoQL8RbRrw4w5').\"),\n}).describe(\"Request parameters to update a customer in Razorpay.\");\nexport const RazorpayUpdateCustomerOutput = z.object({\n id: z.string().describe(\"The unique identifier of the customer in Razorpay\").nullable(),\n name: z.string().describe(\"The name of the customer\").nullable(),\n email: z.string().describe(\"The email address of the customer\").nullable(),\n gstin: z.string().describe(\"The GST identification number of the customer, if available\").nullable().optional(),\n notes: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable().optional(),\n entity: z.string().describe(\"The entity type, always 'customer' for customer objects\").nullable(),\n contact: z.string().describe(\"The contact number of the customer\").nullable(),\n created_at: z.number().int().describe(\"Unix timestamp when the customer was created\").nullable(),\n}).passthrough().describe(\"Response containing the updated customer details from Razorpay.\");\n\nexport const razorpayUpdateCustomer = action(\"RAZORPAY_UPDATE_CUSTOMER\", {\n slug: \"razorpay-update-customer\",\n name: \"Update Customer\",\n description: \"Tool to update an existing customer's details in Razorpay. Use when you need to modify customer information such as name, email, or contact number.\",\n input: RazorpayUpdateCustomerInput,\n output: RazorpayUpdateCustomerOutput,\n});\n"],"mappings":";;AAqBA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArByC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EACpH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EAC/H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;EAChL,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI;CACnK,CAAC,CAAC,CAAC,SAAS,sDAgBH;CACP,QAhB0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACtF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACzE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,OAAO,EAAE,MAAM,CAAC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAChG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"update-customer.mjs","names":[],"sources":["../../src/actions/update-customer.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { razorpay } from \"../app\";\n\nexport const RazorpayUpdateCustomerInput = z.object({\n name: z.string().describe(\"The updated name of the customer. Provide this to change the customer's name.\").optional(),\n email: z.string().describe(\"The updated email address of the customer. Provide this to change the customer's email.\").optional(),\n contact: z.string().describe(\"The updated contact number of the customer. Provide this to change the customer's phone number. Should be a valid phone number string.\").optional(),\n customer_id: z.string().describe(\"The unique identifier of the customer to update. This is the customer ID returned from Razorpay (e.g., 'cust_SMoQL8RbRrw4w5').\"),\n}).describe(\"Request parameters to update a customer in Razorpay.\");\nexport const RazorpayUpdateCustomerOutput = z.object({\n id: z.string().describe(\"The unique identifier of the customer in Razorpay\").nullable(),\n name: z.string().describe(\"The name of the customer\").nullable(),\n email: z.string().describe(\"The email address of the customer\").nullable(),\n gstin: z.string().describe(\"The GST identification number of the customer, if available\").nullable().optional(),\n notes: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable().optional(),\n entity: z.string().describe(\"The entity type, always 'customer' for customer objects\").nullable(),\n contact: z.string().describe(\"The contact number of the customer\").nullable(),\n created_at: z.number().int().describe(\"Unix timestamp when the customer was created\").nullable(),\n}).passthrough().describe(\"Response containing the updated customer details from Razorpay.\");\n\nexport const razorpayUpdateCustomer: AppAction<\n typeof RazorpayUpdateCustomerInput,\n typeof RazorpayUpdateCustomerOutput,\n typeof razorpay.credential\n> = action(\"RAZORPAY_UPDATE_CUSTOMER\", {\n slug: \"razorpay-update-customer\",\n name: \"Update Customer\",\n description: \"Tool to update an existing customer's details in Razorpay. Use when you need to modify customer information such as name, email, or contact number.\",\n input: RazorpayUpdateCustomerInput,\n output: RazorpayUpdateCustomerOutput,\n});\n"],"mappings":";;;AAuBA,MAAa,yBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzByC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EACpH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EAC/H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;EAChL,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI;CACnK,CAAC,CAAC,CAAC,SAAS,sDAoBH;CACP,QApB0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACtF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACzE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,OAAO,EAAE,MAAM,CAAC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAChG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/update-invoice.ts