@keystrokehq/razorpay 0.1.0 → 0.1.2

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 (319) 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.map +1 -1
  4. package/dist/actions/cancel-invoice.d.cts +99 -3
  5. package/dist/actions/cancel-invoice.d.cts.map +1 -1
  6. package/dist/actions/cancel-invoice.d.mts +99 -3
  7. package/dist/actions/cancel-invoice.d.mts.map +1 -1
  8. package/dist/actions/cancel-invoice.mjs.map +1 -1
  9. package/dist/actions/cancel-payment-link.cjs +9 -9
  10. package/dist/actions/cancel-payment-link.cjs.map +1 -1
  11. package/dist/actions/cancel-payment-link.d.cts +33 -3
  12. package/dist/actions/cancel-payment-link.d.cts.map +1 -1
  13. package/dist/actions/cancel-payment-link.d.mts +33 -3
  14. package/dist/actions/cancel-payment-link.d.mts.map +1 -1
  15. package/dist/actions/cancel-payment-link.mjs +9 -9
  16. package/dist/actions/cancel-payment-link.mjs.map +1 -1
  17. package/dist/actions/create-an-order.cjs +9 -9
  18. package/dist/actions/create-an-order.cjs.map +1 -1
  19. package/dist/actions/create-an-order.d.cts +27 -3
  20. package/dist/actions/create-an-order.d.cts.map +1 -1
  21. package/dist/actions/create-an-order.d.mts +27 -3
  22. package/dist/actions/create-an-order.d.mts.map +1 -1
  23. package/dist/actions/create-an-order.mjs +9 -9
  24. package/dist/actions/create-an-order.mjs.map +1 -1
  25. package/dist/actions/create-contact.cjs +6 -6
  26. package/dist/actions/create-contact.cjs.map +1 -1
  27. package/dist/actions/create-contact.d.cts +33 -3
  28. package/dist/actions/create-contact.d.cts.map +1 -1
  29. package/dist/actions/create-contact.d.mts +33 -3
  30. package/dist/actions/create-contact.d.mts.map +1 -1
  31. package/dist/actions/create-contact.mjs +6 -6
  32. package/dist/actions/create-contact.mjs.map +1 -1
  33. package/dist/actions/create-customer.cjs +2 -2
  34. package/dist/actions/create-customer.cjs.map +1 -1
  35. package/dist/actions/create-customer.d.cts +24 -3
  36. package/dist/actions/create-customer.d.cts.map +1 -1
  37. package/dist/actions/create-customer.d.mts +24 -3
  38. package/dist/actions/create-customer.d.mts.map +1 -1
  39. package/dist/actions/create-customer.mjs +2 -2
  40. package/dist/actions/create-customer.mjs.map +1 -1
  41. package/dist/actions/create-invoice.cjs +6 -6
  42. package/dist/actions/create-invoice.cjs.map +1 -1
  43. package/dist/actions/create-invoice.d.cts +221 -3
  44. package/dist/actions/create-invoice.d.cts.map +1 -1
  45. package/dist/actions/create-invoice.d.mts +221 -3
  46. package/dist/actions/create-invoice.d.mts.map +1 -1
  47. package/dist/actions/create-invoice.mjs +6 -6
  48. package/dist/actions/create-invoice.mjs.map +1 -1
  49. package/dist/actions/create-item.cjs +6 -6
  50. package/dist/actions/create-item.cjs.map +1 -1
  51. package/dist/actions/create-item.d.cts +29 -3
  52. package/dist/actions/create-item.d.cts.map +1 -1
  53. package/dist/actions/create-item.d.mts +29 -3
  54. package/dist/actions/create-item.d.mts.map +1 -1
  55. package/dist/actions/create-item.mjs +6 -6
  56. package/dist/actions/create-item.mjs.map +1 -1
  57. package/dist/actions/create-payment-link.cjs +6 -6
  58. package/dist/actions/create-payment-link.cjs.map +1 -1
  59. package/dist/actions/create-payment-link.d.cts +76 -3
  60. package/dist/actions/create-payment-link.d.cts.map +1 -1
  61. package/dist/actions/create-payment-link.d.mts +76 -3
  62. package/dist/actions/create-payment-link.d.mts.map +1 -1
  63. package/dist/actions/create-payment-link.mjs +6 -6
  64. package/dist/actions/create-payment-link.mjs.map +1 -1
  65. package/dist/actions/delete-invoice.cjs.map +1 -1
  66. package/dist/actions/delete-invoice.d.cts +9 -3
  67. package/dist/actions/delete-invoice.d.cts.map +1 -1
  68. package/dist/actions/delete-invoice.d.mts +9 -3
  69. package/dist/actions/delete-invoice.d.mts.map +1 -1
  70. package/dist/actions/delete-invoice.mjs.map +1 -1
  71. package/dist/actions/delete-item.cjs.map +1 -1
  72. package/dist/actions/delete-item.d.cts +9 -3
  73. package/dist/actions/delete-item.d.cts.map +1 -1
  74. package/dist/actions/delete-item.d.mts +9 -3
  75. package/dist/actions/delete-item.d.mts.map +1 -1
  76. package/dist/actions/delete-item.mjs.map +1 -1
  77. package/dist/actions/fetch-a-payment-link.cjs.map +1 -1
  78. package/dist/actions/fetch-a-payment-link.d.cts +43 -3
  79. package/dist/actions/fetch-a-payment-link.d.cts.map +1 -1
  80. package/dist/actions/fetch-a-payment-link.d.mts +43 -3
  81. package/dist/actions/fetch-a-payment-link.d.mts.map +1 -1
  82. package/dist/actions/fetch-a-payment-link.mjs.map +1 -1
  83. package/dist/actions/fetch-all-customers.cjs +6 -6
  84. package/dist/actions/fetch-all-customers.cjs.map +1 -1
  85. package/dist/actions/fetch-all-customers.d.cts +22 -3
  86. package/dist/actions/fetch-all-customers.d.cts.map +1 -1
  87. package/dist/actions/fetch-all-customers.d.mts +22 -3
  88. package/dist/actions/fetch-all-customers.d.mts.map +1 -1
  89. package/dist/actions/fetch-all-customers.mjs +6 -6
  90. package/dist/actions/fetch-all-customers.mjs.map +1 -1
  91. package/dist/actions/fetch-all-invoices.cjs +7 -7
  92. package/dist/actions/fetch-all-invoices.cjs.map +1 -1
  93. package/dist/actions/fetch-all-invoices.d.cts +115 -3
  94. package/dist/actions/fetch-all-invoices.d.cts.map +1 -1
  95. package/dist/actions/fetch-all-invoices.d.mts +115 -3
  96. package/dist/actions/fetch-all-invoices.d.mts.map +1 -1
  97. package/dist/actions/fetch-all-invoices.mjs +7 -7
  98. package/dist/actions/fetch-all-invoices.mjs.map +1 -1
  99. package/dist/actions/fetch-all-payment-links.cjs +5 -5
  100. package/dist/actions/fetch-all-payment-links.cjs.map +1 -1
  101. package/dist/actions/fetch-all-payment-links.d.cts +45 -3
  102. package/dist/actions/fetch-all-payment-links.d.cts.map +1 -1
  103. package/dist/actions/fetch-all-payment-links.d.mts +45 -3
  104. package/dist/actions/fetch-all-payment-links.d.mts.map +1 -1
  105. package/dist/actions/fetch-all-payment-links.mjs +5 -5
  106. package/dist/actions/fetch-all-payment-links.mjs.map +1 -1
  107. package/dist/actions/fetch-all-payments.cjs +12 -12
  108. package/dist/actions/fetch-all-payments.cjs.map +1 -1
  109. package/dist/actions/fetch-all-payments.d.cts +50 -3
  110. package/dist/actions/fetch-all-payments.d.cts.map +1 -1
  111. package/dist/actions/fetch-all-payments.d.mts +50 -3
  112. package/dist/actions/fetch-all-payments.d.mts.map +1 -1
  113. package/dist/actions/fetch-all-payments.mjs +12 -12
  114. package/dist/actions/fetch-all-payments.mjs.map +1 -1
  115. package/dist/actions/fetch-all-refunds-for-a-payment.cjs.map +1 -1
  116. package/dist/actions/fetch-all-refunds-for-a-payment.d.cts +35 -3
  117. package/dist/actions/fetch-all-refunds-for-a-payment.d.cts.map +1 -1
  118. package/dist/actions/fetch-all-refunds-for-a-payment.d.mts +35 -3
  119. package/dist/actions/fetch-all-refunds-for-a-payment.d.mts.map +1 -1
  120. package/dist/actions/fetch-all-refunds-for-a-payment.mjs.map +1 -1
  121. package/dist/actions/fetch-invoice-by-id.cjs +6 -6
  122. package/dist/actions/fetch-invoice-by-id.cjs.map +1 -1
  123. package/dist/actions/fetch-invoice-by-id.d.cts +97 -3
  124. package/dist/actions/fetch-invoice-by-id.d.cts.map +1 -1
  125. package/dist/actions/fetch-invoice-by-id.d.mts +97 -3
  126. package/dist/actions/fetch-invoice-by-id.d.mts.map +1 -1
  127. package/dist/actions/fetch-invoice-by-id.mjs +6 -6
  128. package/dist/actions/fetch-invoice-by-id.mjs.map +1 -1
  129. package/dist/actions/fetch-orders-by-id.cjs +8 -8
  130. package/dist/actions/fetch-orders-by-id.cjs.map +1 -1
  131. package/dist/actions/fetch-orders-by-id.d.cts +20 -3
  132. package/dist/actions/fetch-orders-by-id.d.cts.map +1 -1
  133. package/dist/actions/fetch-orders-by-id.d.mts +20 -3
  134. package/dist/actions/fetch-orders-by-id.d.mts.map +1 -1
  135. package/dist/actions/fetch-orders-by-id.mjs +8 -8
  136. package/dist/actions/fetch-orders-by-id.mjs.map +1 -1
  137. package/dist/actions/fetch-orders.cjs +10 -10
  138. package/dist/actions/fetch-orders.cjs.map +1 -1
  139. package/dist/actions/fetch-orders.d.cts +34 -3
  140. package/dist/actions/fetch-orders.d.cts.map +1 -1
  141. package/dist/actions/fetch-orders.d.mts +34 -3
  142. package/dist/actions/fetch-orders.d.mts.map +1 -1
  143. package/dist/actions/fetch-orders.mjs +10 -10
  144. package/dist/actions/fetch-orders.mjs.map +1 -1
  145. package/dist/actions/fetch-payments-by-order.cjs +7 -7
  146. package/dist/actions/fetch-payments-by-order.cjs.map +1 -1
  147. package/dist/actions/fetch-payments-by-order.d.cts +43 -3
  148. package/dist/actions/fetch-payments-by-order.d.cts.map +1 -1
  149. package/dist/actions/fetch-payments-by-order.d.mts +43 -3
  150. package/dist/actions/fetch-payments-by-order.d.mts.map +1 -1
  151. package/dist/actions/fetch-payments-by-order.mjs +7 -7
  152. package/dist/actions/fetch-payments-by-order.mjs.map +1 -1
  153. package/dist/actions/fetch-refunds.cjs.map +1 -1
  154. package/dist/actions/fetch-refunds.d.cts +33 -3
  155. package/dist/actions/fetch-refunds.d.cts.map +1 -1
  156. package/dist/actions/fetch-refunds.d.mts +33 -3
  157. package/dist/actions/fetch-refunds.d.mts.map +1 -1
  158. package/dist/actions/fetch-refunds.mjs.map +1 -1
  159. package/dist/actions/get-contact.cjs +6 -6
  160. package/dist/actions/get-contact.cjs.map +1 -1
  161. package/dist/actions/get-contact.d.cts +19 -3
  162. package/dist/actions/get-contact.d.cts.map +1 -1
  163. package/dist/actions/get-contact.d.mts +19 -3
  164. package/dist/actions/get-contact.d.mts.map +1 -1
  165. package/dist/actions/get-contact.mjs +6 -6
  166. package/dist/actions/get-contact.mjs.map +1 -1
  167. package/dist/actions/get-customer.cjs +2 -2
  168. package/dist/actions/get-customer.cjs.map +1 -1
  169. package/dist/actions/get-customer.d.cts +16 -3
  170. package/dist/actions/get-customer.d.cts.map +1 -1
  171. package/dist/actions/get-customer.d.mts +16 -3
  172. package/dist/actions/get-customer.d.mts.map +1 -1
  173. package/dist/actions/get-customer.mjs +2 -2
  174. package/dist/actions/get-customer.mjs.map +1 -1
  175. package/dist/actions/get-fund-account.cjs +6 -6
  176. package/dist/actions/get-fund-account.cjs.map +1 -1
  177. package/dist/actions/get-fund-account.d.cts +32 -3
  178. package/dist/actions/get-fund-account.d.cts.map +1 -1
  179. package/dist/actions/get-fund-account.d.mts +32 -3
  180. package/dist/actions/get-fund-account.d.mts.map +1 -1
  181. package/dist/actions/get-fund-account.mjs +6 -6
  182. package/dist/actions/get-fund-account.mjs.map +1 -1
  183. package/dist/actions/get-item.cjs +9 -9
  184. package/dist/actions/get-item.cjs.map +1 -1
  185. package/dist/actions/get-item.d.cts +24 -3
  186. package/dist/actions/get-item.d.cts.map +1 -1
  187. package/dist/actions/get-item.d.mts +24 -3
  188. package/dist/actions/get-item.d.mts.map +1 -1
  189. package/dist/actions/get-item.mjs +9 -9
  190. package/dist/actions/get-item.mjs.map +1 -1
  191. package/dist/actions/get-settlement-recon.cjs.map +1 -1
  192. package/dist/actions/get-settlement-recon.d.cts +28 -3
  193. package/dist/actions/get-settlement-recon.d.cts.map +1 -1
  194. package/dist/actions/get-settlement-recon.d.mts +28 -3
  195. package/dist/actions/get-settlement-recon.d.mts.map +1 -1
  196. package/dist/actions/get-settlement-recon.mjs.map +1 -1
  197. package/dist/actions/get-transfer-reversals.cjs.map +1 -1
  198. package/dist/actions/get-transfer-reversals.d.cts +32 -3
  199. package/dist/actions/get-transfer-reversals.d.cts.map +1 -1
  200. package/dist/actions/get-transfer-reversals.d.mts +32 -3
  201. package/dist/actions/get-transfer-reversals.d.mts.map +1 -1
  202. package/dist/actions/get-transfer-reversals.mjs.map +1 -1
  203. package/dist/actions/issue-an-invoice.cjs +6 -6
  204. package/dist/actions/issue-an-invoice.cjs.map +1 -1
  205. package/dist/actions/issue-an-invoice.d.cts +97 -3
  206. package/dist/actions/issue-an-invoice.d.cts.map +1 -1
  207. package/dist/actions/issue-an-invoice.d.mts +97 -3
  208. package/dist/actions/issue-an-invoice.d.mts.map +1 -1
  209. package/dist/actions/issue-an-invoice.mjs +6 -6
  210. package/dist/actions/issue-an-invoice.mjs.map +1 -1
  211. package/dist/actions/list-customer-tokens.cjs +6 -6
  212. package/dist/actions/list-customer-tokens.cjs.map +1 -1
  213. package/dist/actions/list-customer-tokens.d.cts +40 -3
  214. package/dist/actions/list-customer-tokens.d.cts.map +1 -1
  215. package/dist/actions/list-customer-tokens.d.mts +40 -3
  216. package/dist/actions/list-customer-tokens.d.mts.map +1 -1
  217. package/dist/actions/list-customer-tokens.mjs +6 -6
  218. package/dist/actions/list-customer-tokens.mjs.map +1 -1
  219. package/dist/actions/list-disputes.cjs.map +1 -1
  220. package/dist/actions/list-disputes.d.cts +46 -3
  221. package/dist/actions/list-disputes.d.cts.map +1 -1
  222. package/dist/actions/list-disputes.d.mts +46 -3
  223. package/dist/actions/list-disputes.d.mts.map +1 -1
  224. package/dist/actions/list-disputes.mjs.map +1 -1
  225. package/dist/actions/list-fund-accounts.cjs.map +1 -1
  226. package/dist/actions/list-fund-accounts.d.cts +40 -3
  227. package/dist/actions/list-fund-accounts.d.cts.map +1 -1
  228. package/dist/actions/list-fund-accounts.d.mts +40 -3
  229. package/dist/actions/list-fund-accounts.d.mts.map +1 -1
  230. package/dist/actions/list-fund-accounts.mjs.map +1 -1
  231. package/dist/actions/list-fund-validations.cjs.map +1 -1
  232. package/dist/actions/list-fund-validations.d.cts +45 -3
  233. package/dist/actions/list-fund-validations.d.cts.map +1 -1
  234. package/dist/actions/list-fund-validations.d.mts +45 -3
  235. package/dist/actions/list-fund-validations.d.mts.map +1 -1
  236. package/dist/actions/list-fund-validations.mjs.map +1 -1
  237. package/dist/actions/list-items.cjs.map +1 -1
  238. package/dist/actions/list-items.d.cts +36 -3
  239. package/dist/actions/list-items.d.cts.map +1 -1
  240. package/dist/actions/list-items.d.mts +36 -3
  241. package/dist/actions/list-items.d.mts.map +1 -1
  242. package/dist/actions/list-items.mjs.map +1 -1
  243. package/dist/actions/list-payment-downtimes.cjs.map +1 -1
  244. package/dist/actions/list-payment-downtimes.d.cts +3 -3
  245. package/dist/actions/list-payment-downtimes.d.cts.map +1 -1
  246. package/dist/actions/list-payment-downtimes.d.mts +3 -3
  247. package/dist/actions/list-payment-downtimes.d.mts.map +1 -1
  248. package/dist/actions/list-payment-downtimes.mjs.map +1 -1
  249. package/dist/actions/notify-payment-link.cjs +1 -1
  250. package/dist/actions/notify-payment-link.cjs.map +1 -1
  251. package/dist/actions/notify-payment-link.d.cts +14 -3
  252. package/dist/actions/notify-payment-link.d.cts.map +1 -1
  253. package/dist/actions/notify-payment-link.d.mts +14 -3
  254. package/dist/actions/notify-payment-link.d.mts.map +1 -1
  255. package/dist/actions/notify-payment-link.mjs +1 -1
  256. package/dist/actions/notify-payment-link.mjs.map +1 -1
  257. package/dist/actions/send-or-resend-notification.cjs +1 -1
  258. package/dist/actions/send-or-resend-notification.cjs.map +1 -1
  259. package/dist/actions/send-or-resend-notification.d.cts +14 -3
  260. package/dist/actions/send-or-resend-notification.d.cts.map +1 -1
  261. package/dist/actions/send-or-resend-notification.d.mts +14 -3
  262. package/dist/actions/send-or-resend-notification.d.mts.map +1 -1
  263. package/dist/actions/send-or-resend-notification.mjs +1 -1
  264. package/dist/actions/send-or-resend-notification.mjs.map +1 -1
  265. package/dist/actions/update-contact.cjs +6 -6
  266. package/dist/actions/update-contact.cjs.map +1 -1
  267. package/dist/actions/update-contact.d.cts +35 -3
  268. package/dist/actions/update-contact.d.cts.map +1 -1
  269. package/dist/actions/update-contact.d.mts +35 -3
  270. package/dist/actions/update-contact.d.mts.map +1 -1
  271. package/dist/actions/update-contact.mjs +6 -6
  272. package/dist/actions/update-contact.mjs.map +1 -1
  273. package/dist/actions/update-customer.cjs +6 -6
  274. package/dist/actions/update-customer.cjs.map +1 -1
  275. package/dist/actions/update-customer.d.cts +22 -3
  276. package/dist/actions/update-customer.d.cts.map +1 -1
  277. package/dist/actions/update-customer.d.mts +22 -3
  278. package/dist/actions/update-customer.d.mts.map +1 -1
  279. package/dist/actions/update-customer.mjs +6 -6
  280. package/dist/actions/update-customer.mjs.map +1 -1
  281. package/dist/actions/update-invoice.cjs +5 -5
  282. package/dist/actions/update-invoice.cjs.map +1 -1
  283. package/dist/actions/update-invoice.d.cts +227 -3
  284. package/dist/actions/update-invoice.d.cts.map +1 -1
  285. package/dist/actions/update-invoice.d.mts +227 -3
  286. package/dist/actions/update-invoice.d.mts.map +1 -1
  287. package/dist/actions/update-invoice.mjs +5 -5
  288. package/dist/actions/update-invoice.mjs.map +1 -1
  289. package/dist/actions/update-item.cjs +9 -9
  290. package/dist/actions/update-item.cjs.map +1 -1
  291. package/dist/actions/update-item.d.cts +30 -3
  292. package/dist/actions/update-item.d.cts.map +1 -1
  293. package/dist/actions/update-item.d.mts +30 -3
  294. package/dist/actions/update-item.d.mts.map +1 -1
  295. package/dist/actions/update-item.mjs +9 -9
  296. package/dist/actions/update-item.mjs.map +1 -1
  297. package/dist/actions/update-order.cjs +9 -9
  298. package/dist/actions/update-order.cjs.map +1 -1
  299. package/dist/actions/update-order.d.cts +22 -3
  300. package/dist/actions/update-order.d.cts.map +1 -1
  301. package/dist/actions/update-order.d.mts +22 -3
  302. package/dist/actions/update-order.d.mts.map +1 -1
  303. package/dist/actions/update-order.mjs +9 -9
  304. package/dist/actions/update-order.mjs.map +1 -1
  305. package/dist/actions/update-payment-link.cjs +5 -5
  306. package/dist/actions/update-payment-link.cjs.map +1 -1
  307. package/dist/actions/update-payment-link.d.cts +52 -3
  308. package/dist/actions/update-payment-link.d.cts.map +1 -1
  309. package/dist/actions/update-payment-link.d.mts +52 -3
  310. package/dist/actions/update-payment-link.d.mts.map +1 -1
  311. package/dist/actions/update-payment-link.mjs +5 -5
  312. package/dist/actions/update-payment-link.mjs.map +1 -1
  313. package/dist/catalog.cjs +13 -1
  314. package/dist/catalog.cjs.map +1 -1
  315. package/dist/catalog.d.cts +12 -0
  316. package/dist/catalog.d.mts +12 -0
  317. package/dist/catalog.mjs +13 -1
  318. package/dist/catalog.mjs.map +1 -1
  319. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"send-or-resend-notification.d.cts","names":[],"sources":["../../src/actions/send-or-resend-notification.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAGqB;AAAA,cAC9D,sCAAA,EAAwC,CAAA,CAAE,UAEU;AAAA,cAEpD,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,20 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/send-or-resend-notification.d.ts
4
- declare const RazorpaySendOrResendNotificationInput: z.ZodTypeAny;
5
- declare const RazorpaySendOrResendNotificationOutput: z.ZodTypeAny;
6
- declare const razorpaySendOrResendNotification: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RazorpaySendOrResendNotificationInput: z.ZodObject<{
5
+ medium: z.ZodEnum<{
6
+ sms: "sms";
7
+ email: "email";
8
+ }>;
9
+ invoice_id: z.ZodString;
10
+ }, z.core.$strip>;
11
+ declare const RazorpaySendOrResendNotificationOutput: z.ZodObject<{
12
+ success: z.ZodNullable<z.ZodBoolean>;
13
+ }, z.core.$strip>;
14
+ declare const razorpaySendOrResendNotification: import("@keystrokehq/action").WorkflowActionDefinition<{
15
+ medium: "sms" | "email";
16
+ invoice_id: string;
17
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
18
  //#endregion
8
19
  export { razorpaySendOrResendNotification };
9
20
  //# 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,EAAuC,CAAA,CAAE,UAGqB;AAAA,cAC9D,sCAAA,EAAwC,CAAA,CAAE,UAEU;AAAA,cAEpD,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -8,7 +8,7 @@ const razorpaySendOrResendNotification = action("RAZORPAY_SEND_OR_RESEND_NOTIFIC
8
8
  medium: z.enum(["email", "sms"]).describe("The medium through which to send the notification (email or sms)"),
9
9
  invoice_id: z.string().describe("The unique identifier of the invoice for which to send notification")
10
10
  }).describe("Request model for sending or resending invoice notifications"),
11
- output: z.object({ success: z.boolean().describe("Indicates whether the notification was sent successfully") }).describe("Response model for send/resend notification action")
11
+ output: z.object({ success: z.boolean().describe("Indicates whether the notification was sent successfully").nullable() }).describe("Response model for send/resend notification action")
12
12
  });
13
13
  //#endregion
14
14
  export { razorpaySendOrResendNotification };
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Indicates whether the notification was sent successfully\"),\n}).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,OAZiE,EAAE,OAAO;EAC1E,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,QATkE,EAAE,OAAO,EAC3E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,EAC1F,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
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}).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,SAAS,oDAOF;AACV,CAAC"}
@@ -15,16 +15,16 @@ const RazorpayUpdateContactInput = zod.z.object({
15
15
  reference_id: zod.z.string().describe("Updated reference identifier for the contact in your system. Provide this to change the reference ID.").optional()
16
16
  }).describe("Request model for updating a contact in RazorpayX.");
17
17
  const RazorpayUpdateContactOutput = zod.z.object({
18
- id: zod.z.string().describe("Unique identifier for the contact"),
19
- name: zod.z.string().describe("Name of the contact"),
20
- type: zod.z.string().describe("Type of contact"),
18
+ id: zod.z.string().describe("Unique identifier for the contact").nullable(),
19
+ name: zod.z.string().describe("Name of the contact").nullable(),
20
+ type: zod.z.string().describe("Type of contact").nullable(),
21
21
  email: zod.z.string().describe("Email address of the contact").nullable().optional(),
22
22
  notes: zod.z.object({}).describe("Additional information about the contact").nullable().optional(),
23
- active: zod.z.boolean().describe("Whether the contact is active"),
24
- entity: zod.z.string().describe("Entity type"),
23
+ active: zod.z.boolean().describe("Whether the contact is active").nullable(),
24
+ entity: zod.z.string().describe("Entity type").nullable(),
25
25
  contact: zod.z.string().describe("Phone number of the contact").nullable().optional(),
26
26
  batch_id: zod.z.string().describe("Batch identifier if the contact was created in a batch").nullable().optional(),
27
- created_at: zod.z.number().int().describe("Unix timestamp of contact creation"),
27
+ created_at: zod.z.number().int().describe("Unix timestamp of contact creation").nullable(),
28
28
  reference_id: zod.z.string().describe("Reference identifier for the contact").nullable().optional()
29
29
  }).describe("Response model for an updated RazorpayX contact.");
30
30
  const razorpayUpdateContact = require_action.action("RAZORPAY_UPDATE_CONTACT", {
@@ -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.ZodTypeAny = 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.object({}).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.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the contact\"),\n name: z.string().describe(\"Name of the contact\"),\n type: z.string().describe(\"Type of contact\"),\n email: z.string().describe(\"Email address of the contact\").nullable().optional(),\n notes: z.object({}).describe(\"Additional information about the contact\").nullable().optional(),\n active: z.boolean().describe(\"Whether the contact is active\"),\n entity: z.string().describe(\"Entity type\"),\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\"),\n reference_id: z.string().describe(\"Reference identifier for the contact\").nullable().optional(),\n}).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,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,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,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CAC5J,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,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CAC3C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B;CAC5D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;CACzC,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;CAC1E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,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 { 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.object({}).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.object({}).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}).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;C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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,SAAS,kDAAkD;AAE9D,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,41 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-contact.d.ts
4
- declare const RazorpayUpdateContactInput: z.ZodTypeAny;
5
- declare const RazorpayUpdateContactOutput: z.ZodTypeAny;
6
- declare const razorpayUpdateContact: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RazorpayUpdateContactInput: z.ZodObject<{
5
+ name: z.ZodOptional<z.ZodString>;
6
+ type: z.ZodOptional<z.ZodEnum<{
7
+ customer: "customer";
8
+ employee: "employee";
9
+ vendor: "vendor";
10
+ }>>;
11
+ email: z.ZodOptional<z.ZodString>;
12
+ notes: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
13
+ contact: z.ZodOptional<z.ZodString>;
14
+ contact_id: z.ZodString;
15
+ reference_id: z.ZodOptional<z.ZodString>;
16
+ }, z.core.$strip>;
17
+ declare const RazorpayUpdateContactOutput: z.ZodObject<{
18
+ id: z.ZodNullable<z.ZodString>;
19
+ name: z.ZodNullable<z.ZodString>;
20
+ type: z.ZodNullable<z.ZodString>;
21
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ notes: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
23
+ active: z.ZodNullable<z.ZodBoolean>;
24
+ entity: z.ZodNullable<z.ZodString>;
25
+ contact: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ batch_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ created_at: z.ZodNullable<z.ZodNumber>;
28
+ reference_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ }, z.core.$strip>;
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, never> | undefined;
36
+ contact?: string | undefined;
37
+ reference_id?: string | undefined;
38
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
39
  //#endregion
8
40
  export { razorpayUpdateContact };
9
41
  //# 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,EAA4B,CAAA,CAAE,UAQsB;AAAA,cACpD,2BAAA,EAA6B,CAAA,CAAE,UAYmB;AAAA,cAElD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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;;;;;UAMhC,MAAA"}
@@ -1,9 +1,41 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-contact.d.ts
4
- declare const RazorpayUpdateContactInput: z.ZodTypeAny;
5
- declare const RazorpayUpdateContactOutput: z.ZodTypeAny;
6
- declare const razorpayUpdateContact: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RazorpayUpdateContactInput: z.ZodObject<{
5
+ name: z.ZodOptional<z.ZodString>;
6
+ type: z.ZodOptional<z.ZodEnum<{
7
+ customer: "customer";
8
+ employee: "employee";
9
+ vendor: "vendor";
10
+ }>>;
11
+ email: z.ZodOptional<z.ZodString>;
12
+ notes: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
13
+ contact: z.ZodOptional<z.ZodString>;
14
+ contact_id: z.ZodString;
15
+ reference_id: z.ZodOptional<z.ZodString>;
16
+ }, z.core.$strip>;
17
+ declare const RazorpayUpdateContactOutput: z.ZodObject<{
18
+ id: z.ZodNullable<z.ZodString>;
19
+ name: z.ZodNullable<z.ZodString>;
20
+ type: z.ZodNullable<z.ZodString>;
21
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ notes: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
23
+ active: z.ZodNullable<z.ZodBoolean>;
24
+ entity: z.ZodNullable<z.ZodString>;
25
+ contact: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ batch_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ created_at: z.ZodNullable<z.ZodNumber>;
28
+ reference_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ }, z.core.$strip>;
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, never> | undefined;
36
+ contact?: string | undefined;
37
+ reference_id?: string | undefined;
38
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
39
  //#endregion
8
40
  export { razorpayUpdateContact };
9
41
  //# 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,EAA4B,CAAA,CAAE,UAQsB;AAAA,cACpD,2BAAA,EAA6B,CAAA,CAAE,UAYmB;AAAA,cAElD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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;;;;;UAMhC,MAAA"}
@@ -18,16 +18,16 @@ const razorpayUpdateContact = action("RAZORPAY_UPDATE_CONTACT", {
18
18
  reference_id: z.string().describe("Updated reference identifier for the contact in your system. Provide this to change the reference ID.").optional()
19
19
  }).describe("Request model for updating a contact in RazorpayX."),
20
20
  output: z.object({
21
- id: z.string().describe("Unique identifier for the contact"),
22
- name: z.string().describe("Name of the contact"),
23
- type: z.string().describe("Type of contact"),
21
+ id: z.string().describe("Unique identifier for the contact").nullable(),
22
+ name: z.string().describe("Name of the contact").nullable(),
23
+ type: z.string().describe("Type of contact").nullable(),
24
24
  email: z.string().describe("Email address of the contact").nullable().optional(),
25
25
  notes: z.object({}).describe("Additional information about the contact").nullable().optional(),
26
- active: z.boolean().describe("Whether the contact is active"),
27
- entity: z.string().describe("Entity type"),
26
+ active: z.boolean().describe("Whether the contact is active").nullable(),
27
+ entity: z.string().describe("Entity type").nullable(),
28
28
  contact: z.string().describe("Phone number of the contact").nullable().optional(),
29
29
  batch_id: z.string().describe("Batch identifier if the contact was created in a batch").nullable().optional(),
30
- created_at: z.number().int().describe("Unix timestamp of contact creation"),
30
+ created_at: z.number().int().describe("Unix timestamp of contact creation").nullable(),
31
31
  reference_id: z.string().describe("Reference identifier for the contact").nullable().optional()
32
32
  }).describe("Response model for an updated RazorpayX contact.")
33
33
  });
@@ -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.ZodTypeAny = 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.object({}).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.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the contact\"),\n name: z.string().describe(\"Name of the contact\"),\n type: z.string().describe(\"Type of contact\"),\n email: z.string().describe(\"Email address of the contact\").nullable().optional(),\n notes: z.object({}).describe(\"Additional information about the contact\").nullable().optional(),\n active: z.boolean().describe(\"Whether the contact is active\"),\n entity: z.string().describe(\"Entity type\"),\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\"),\n reference_id: z.string().describe(\"Reference identifier for the contact\").nullable().optional(),\n}).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,OA3BsD,EAAE,OAAO;EAC/D,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,CAAC,CAAC,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;EAC5J,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,QAnBuD,EAAE,OAAO;EAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;EAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;EAC3C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B;EAC5D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;EACzC,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;EAC1E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
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.object({}).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.object({}).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}).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,CAAC,CAAC,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;EAC5J,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,CAAC,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,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,SAAS,kDAOF;AACV,CAAC"}
@@ -8,14 +8,14 @@ const RazorpayUpdateCustomerInput = zod.z.object({
8
8
  customer_id: zod.z.string().describe("The unique identifier of the customer to update. This is the customer ID returned from Razorpay (e.g., 'cust_SMoQL8RbRrw4w5').")
9
9
  }).describe("Request parameters to update a customer in Razorpay.");
10
10
  const RazorpayUpdateCustomerOutput = zod.z.object({
11
- id: zod.z.string().describe("The unique identifier of the customer in Razorpay"),
12
- name: zod.z.string().describe("The name of the customer"),
13
- email: zod.z.string().describe("The email address of the customer"),
11
+ id: zod.z.string().describe("The unique identifier of the customer in Razorpay").nullable(),
12
+ name: zod.z.string().describe("The name of the customer").nullable(),
13
+ email: zod.z.string().describe("The email address of the customer").nullable(),
14
14
  gstin: zod.z.string().describe("The GST identification number of the customer, if available").nullable().optional(),
15
15
  notes: zod.z.union([zod.z.object({}), zod.z.array(zod.z.unknown())]).nullable().optional(),
16
- entity: zod.z.string().describe("The entity type, always 'customer' for customer objects"),
17
- contact: zod.z.string().describe("The contact number of the customer"),
18
- created_at: zod.z.number().int().describe("Unix timestamp when the customer was created")
16
+ entity: zod.z.string().describe("The entity type, always 'customer' for customer objects").nullable(),
17
+ contact: zod.z.string().describe("The contact number of the customer").nullable(),
18
+ created_at: zod.z.number().int().describe("Unix timestamp when the customer was created").nullable()
19
19
  }).describe("Response containing the updated customer details from Razorpay.");
20
20
  const razorpayUpdateCustomer = require_action.action("RAZORPAY_UPDATE_CUSTOMER", {
21
21
  slug: "razorpay-update-customer",
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the customer in Razorpay\"),\n name: z.string().describe(\"The name of the customer\"),\n email: z.string().describe(\"The email address of the customer\"),\n gstin: z.string().describe(\"The GST identification number of the customer, if available\").nullable().optional(),\n notes: z.union([z.object({}), z.array(z.unknown())]).nullable().optional(),\n entity: z.string().describe(\"The entity type, always 'customer' for customer objects\"),\n contact: z.string().describe(\"The contact number of the customer\"),\n created_at: z.number().int().describe(\"Unix timestamp when the customer was created\"),\n}).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,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,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,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC9D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,OAAOA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACrF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACjE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C;AACtF,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAE7E,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 { 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.object({}), 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}).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,OAAO,CAAC,CAAC,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,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,SAAS,iEAAiE;AAE7E,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,28 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-customer.d.ts
4
- declare const RazorpayUpdateCustomerInput: z.ZodTypeAny;
5
- declare const RazorpayUpdateCustomerOutput: z.ZodTypeAny;
6
- declare const razorpayUpdateCustomer: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RazorpayUpdateCustomerInput: z.ZodObject<{
5
+ name: z.ZodOptional<z.ZodString>;
6
+ email: z.ZodOptional<z.ZodString>;
7
+ contact: z.ZodOptional<z.ZodString>;
8
+ customer_id: z.ZodString;
9
+ }, z.core.$strip>;
10
+ declare const RazorpayUpdateCustomerOutput: z.ZodObject<{
11
+ id: z.ZodNullable<z.ZodString>;
12
+ name: z.ZodNullable<z.ZodString>;
13
+ email: z.ZodNullable<z.ZodString>;
14
+ gstin: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ notes: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{}, z.core.$strip>, z.ZodArray<z.ZodUnknown>]>>>;
16
+ entity: z.ZodNullable<z.ZodString>;
17
+ contact: z.ZodNullable<z.ZodString>;
18
+ created_at: z.ZodNullable<z.ZodNumber>;
19
+ }, z.core.$strip>;
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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
26
  //#endregion
8
27
  export { razorpayUpdateCustomer };
9
28
  //# 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,EAA6B,CAAA,CAAE,UAKuB;AAAA,cACtD,4BAAA,EAA8B,CAAA,CAAE,UASiC;AAAA,cAEjE,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,28 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-customer.d.ts
4
- declare const RazorpayUpdateCustomerInput: z.ZodTypeAny;
5
- declare const RazorpayUpdateCustomerOutput: z.ZodTypeAny;
6
- declare const razorpayUpdateCustomer: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RazorpayUpdateCustomerInput: z.ZodObject<{
5
+ name: z.ZodOptional<z.ZodString>;
6
+ email: z.ZodOptional<z.ZodString>;
7
+ contact: z.ZodOptional<z.ZodString>;
8
+ customer_id: z.ZodString;
9
+ }, z.core.$strip>;
10
+ declare const RazorpayUpdateCustomerOutput: z.ZodObject<{
11
+ id: z.ZodNullable<z.ZodString>;
12
+ name: z.ZodNullable<z.ZodString>;
13
+ email: z.ZodNullable<z.ZodString>;
14
+ gstin: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ notes: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{}, z.core.$strip>, z.ZodArray<z.ZodUnknown>]>>>;
16
+ entity: z.ZodNullable<z.ZodString>;
17
+ contact: z.ZodNullable<z.ZodString>;
18
+ created_at: z.ZodNullable<z.ZodNumber>;
19
+ }, z.core.$strip>;
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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
26
  //#endregion
8
27
  export { razorpayUpdateCustomer };
9
28
  //# 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,EAA6B,CAAA,CAAE,UAKuB;AAAA,cACtD,4BAAA,EAA8B,CAAA,CAAE,UASiC;AAAA,cAEjE,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -11,14 +11,14 @@ const razorpayUpdateCustomer = action("RAZORPAY_UPDATE_CUSTOMER", {
11
11
  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').")
12
12
  }).describe("Request parameters to update a customer in Razorpay."),
13
13
  output: z.object({
14
- id: z.string().describe("The unique identifier of the customer in Razorpay"),
15
- name: z.string().describe("The name of the customer"),
16
- email: z.string().describe("The email address of the customer"),
14
+ id: z.string().describe("The unique identifier of the customer in Razorpay").nullable(),
15
+ name: z.string().describe("The name of the customer").nullable(),
16
+ email: z.string().describe("The email address of the customer").nullable(),
17
17
  gstin: z.string().describe("The GST identification number of the customer, if available").nullable().optional(),
18
18
  notes: z.union([z.object({}), z.array(z.unknown())]).nullable().optional(),
19
- entity: z.string().describe("The entity type, always 'customer' for customer objects"),
20
- contact: z.string().describe("The contact number of the customer"),
21
- created_at: z.number().int().describe("Unix timestamp when the customer was created")
19
+ entity: z.string().describe("The entity type, always 'customer' for customer objects").nullable(),
20
+ contact: z.string().describe("The contact number of the customer").nullable(),
21
+ created_at: z.number().int().describe("Unix timestamp when the customer was created").nullable()
22
22
  }).describe("Response containing the updated customer details from Razorpay.")
23
23
  });
24
24
  //#endregion
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the customer in Razorpay\"),\n name: z.string().describe(\"The name of the customer\"),\n email: z.string().describe(\"The email address of the customer\"),\n gstin: z.string().describe(\"The GST identification number of the customer, if available\").nullable().optional(),\n notes: z.union([z.object({}), z.array(z.unknown())]).nullable().optional(),\n entity: z.string().describe(\"The entity type, always 'customer' for customer objects\"),\n contact: z.string().describe(\"The contact number of the customer\"),\n created_at: z.number().int().describe(\"Unix timestamp when the customer was created\"),\n}).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,OArBuD,EAAE,OAAO;EAChE,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,QAhBwD,EAAE,OAAO;EACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;EAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;EACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAC9D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,OAAO,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;EACrF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EACjE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C;CACtF,CAAC,CAAC,CAAC,SAAS,iEAOF;AACV,CAAC"}
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.object({}), 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}).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,CAAC,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,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,SAAS,iEAOF;AACV,CAAC"}
@@ -116,25 +116,25 @@ const RazorpayUpdateInvoice_CustomerDetailsSchema = zod.z.object({
116
116
  shipping_address: RazorpayUpdateInvoice_AddressSchema.nullable().optional()
117
117
  }).describe("Customer details associated with the invoice.");
118
118
  const RazorpayUpdateInvoiceOutput = zod.z.object({
119
- id: zod.z.string().describe("Unique invoice identifier"),
119
+ id: zod.z.string().describe("Unique invoice identifier").nullable(),
120
120
  date: zod.z.number().int().describe("Invoice date as Unix timestamp").nullable().optional(),
121
121
  type: zod.z.string().describe("Invoice type").nullable().optional(),
122
122
  notes: zod.z.union([zod.z.object({}), zod.z.array(zod.z.unknown())]).nullable().optional(),
123
123
  terms: zod.z.string().describe("Terms and conditions").nullable().optional(),
124
124
  amount: zod.z.number().int().describe("Total invoice amount in currency subunit").nullable().optional(),
125
- entity: zod.z.string().describe("Entity type, always 'invoice'"),
126
- status: zod.z.string().describe("Invoice status (draft, issued, paid, etc.)"),
125
+ entity: zod.z.string().describe("Entity type, always 'invoice'").nullable(),
126
+ status: zod.z.string().describe("Invoice status (draft, issued, paid, etc.)").nullable(),
127
127
  comment: zod.z.string().describe("Comment on the invoice").nullable().optional(),
128
128
  paid_at: zod.z.number().int().describe("Unix timestamp when the invoice was paid").nullable().optional(),
129
129
  receipt: zod.z.string().describe("Internal reference number").nullable().optional(),
130
- currency: zod.z.string().describe("Three-letter ISO currency code"),
130
+ currency: zod.z.string().describe("Three-letter ISO currency code").nullable(),
131
131
  order_id: zod.z.string().describe("Associated order ID").nullable().optional(),
132
132
  expire_by: zod.z.number().int().describe("Unix timestamp when the invoice expires").nullable().optional(),
133
133
  issued_at: zod.z.number().int().describe("Unix timestamp when the invoice was issued").nullable().optional(),
134
134
  short_url: zod.z.string().describe("Short URL for the invoice payment page").nullable().optional(),
135
135
  view_less: zod.z.boolean().describe("Whether to show a compact view").nullable().optional(),
136
136
  amount_due: zod.z.number().int().describe("Amount due in currency subunit").nullable().optional(),
137
- created_at: zod.z.number().int().describe("Unix timestamp when the invoice was created"),
137
+ created_at: zod.z.number().int().describe("Unix timestamp when the invoice was created").nullable(),
138
138
  expired_at: zod.z.number().int().describe("Unix timestamp when the invoice expired").nullable().optional(),
139
139
  line_items: zod.z.array(RazorpayUpdateInvoice_LineItemSchema).describe("List of invoice line items").nullable().optional(),
140
140
  payment_id: zod.z.string().describe("Associated payment ID").nullable().optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"update-invoice.cjs","names":["z","action"],"sources":["../../src/actions/update-invoice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayUpdateInvoiceInput: z.ZodTypeAny = z.object({\n date: z.number().int().describe(\"Invoice date as Unix timestamp\").optional(),\n type: z.string().describe(\"Type of invoice: 'invoice' or 'link'\").optional(),\n notes: z.object({}).describe(\"Key-value pairs for additional information\").optional(),\n terms: z.string().describe(\"Terms and conditions text\").optional(),\n amount: z.number().int().describe(\"Total invoice amount in smallest currency unit. If not provided, calculated from line_items\").optional(),\n tax_id: z.string().describe(\"Tax ID for the entire invoice\").optional(),\n comment: z.string().describe(\"Comments on the invoice\").optional(),\n receipt: z.string().describe(\"Receipt/reference number (max 40 characters)\").optional(),\n currency: z.string().describe(\"Three-letter ISO currency code\").optional(),\n customer: z.object({\n name: z.string().describe(\"Name of the customer\").optional(),\n email: z.string().describe(\"Email address of the customer\").optional(),\n gstin: z.string().describe(\"GST identification number\").optional(),\n notes: z.object({}).describe(\"Key-value pairs for additional customer metadata\").optional(),\n contact: z.string().describe(\"Phone number of the customer (10 digits for India)\").optional(),\n billing_address: z.object({\n city: z.string().describe(\"City\").optional(),\n line1: z.string().describe(\"Address line 1\").optional(),\n line2: z.string().describe(\"Address line 2\").optional(),\n state: z.string().describe(\"State or province\").optional(),\n country: z.string().describe(\"Country name\").optional(),\n zipcode: z.string().describe(\"Postal or ZIP code\").optional(),\n}).describe(\"Address details for billing or shipping.\").optional(),\n shipping_address: z.object({\n city: z.string().describe(\"City\").optional(),\n line1: z.string().describe(\"Address line 1\").optional(),\n line2: z.string().describe(\"Address line 2\").optional(),\n state: z.string().describe(\"State or province\").optional(),\n country: z.string().describe(\"Country name\").optional(),\n zipcode: z.string().describe(\"Postal or ZIP code\").optional(),\n}).describe(\"Address details for billing or shipping.\").optional(),\n}).describe(\"Customer details for invoice recipient.\").optional(),\n order_id: z.string().describe(\"Associated order ID\").optional(),\n tax_rate: z.number().int().describe(\"Tax rate in basis points for the entire invoice (e.g., 1800 for 18%)\").optional(),\n expire_by: z.number().int().describe(\"Unix timestamp when invoice should expire\").optional(),\n issued_at: z.number().int().describe(\"Unix timestamp for custom invoice issue date\").optional(),\n short_url: z.boolean().describe(\"Generate and return short URL\").optional(),\n view_less: z.boolean().describe(\"Show compact view\").optional(),\n invoice_id: z.string().describe(\"The unique identifier of the invoice to update. Only draft invoices can be updated.\"),\n line_items: z.array(z.object({\n id: z.string().describe(\"Line item ID (required for updating existing line items)\").optional(),\n name: z.string().describe(\"Name of the item\").optional(),\n unit: z.string().describe(\"Unit of measurement\").optional(),\n amount: z.number().int().describe(\"Amount in smallest currency unit (paise for INR). For example, 100000 paise = ₹1000\").optional(),\n tax_id: z.string().describe(\"Tax identifier for the item\").optional(),\n item_id: z.string().describe(\"Reference to existing item entity ID\").optional(),\n currency: z.string().describe(\"Three-letter ISO currency code\").optional(),\n hsn_code: z.string().describe(\"HSN (Harmonized System of Nomenclature) code\").optional(),\n quantity: z.number().int().describe(\"Quantity of the item\").optional(),\n sac_code: z.string().describe(\"SAC (Services Accounting Code)\").optional(),\n tax_rate: z.number().int().describe(\"Tax rate in basis points (e.g., 1800 for 18%). 1 basis point = 0.01%\").optional(),\n description: z.string().describe(\"Description of the item\").optional(),\n unit_amount: z.number().int().describe(\"Unit price in smallest currency unit\").optional(),\n tax_inclusive: z.boolean().describe(\"Whether amount includes tax\").optional(),\n}).describe(\"Individual line item for invoice update.\")).describe(\"Array of line items to update or add. Include 'id' field to update existing items\").optional(),\n payment_id: z.string().describe(\"Pre-associate a payment ID\").optional(),\n sms_notify: z.number().int().describe(\"Send SMS notification (1=yes, 0=no)\").optional(),\n billing_end: z.number().int().describe(\"Billing period end as Unix timestamp\").optional(),\n customer_id: z.string().describe(\"Reference to existing customer ID\").optional(),\n description: z.string().describe(\"Brief description of the invoice\").optional(),\n email_notify: z.number().int().describe(\"Send email notification (1=yes, 0=no)\").optional(),\n billing_start: z.number().int().describe(\"Billing period start as Unix timestamp\").optional(),\n invoice_number: z.string().describe(\"Custom invoice number\").optional(),\n idempotency_key: z.string().describe(\"Unique key for idempotent requests to prevent duplicates\").optional(),\n partial_payment: z.boolean().describe(\"Whether partial payments are allowed\").optional(),\n group_taxes_discounts: z.boolean().describe(\"Group taxes and discounts together\").optional(),\n}).describe(\"Request model for updating a draft invoice. All parameters except invoice_id are optional - only provide the fields you want to update. Note: Only invoices in draft state can be updated.\");\nconst RazorpayUpdateInvoice_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 RazorpayUpdateInvoice_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(RazorpayUpdateInvoice_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 RazorpayUpdateInvoice_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 RazorpayUpdateInvoice_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: RazorpayUpdateInvoice_AddressSchema.nullable().optional(),\n shipping_address: RazorpayUpdateInvoice_AddressSchema.nullable().optional(),\n}).describe(\"Customer details associated with the invoice.\");\nexport const RazorpayUpdateInvoiceOutput: 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(RazorpayUpdateInvoice_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: RazorpayUpdateInvoice_CustomerDetailsSchema.nullable().optional(),\n group_taxes_discounts: z.boolean().describe(\"Whether taxes and discounts are grouped\").nullable().optional(),\n}).describe(\"Response model for updating an invoice.\\nReturns complete updated invoice details including customer information, line items, amounts, and payment status.\");\n\nexport const razorpayUpdateInvoice = action(\"RAZORPAY_UPDATE_INVOICE\", {\n slug: \"razorpay-update-invoice\",\n name: \"Update Invoice\",\n description: \"Tool to update an existing draft invoice in Razorpay. Use when you need to modify invoice details such as customer information, line items, description, notes, or other fields. Only invoices in draft state can be updated.\",\n input: RazorpayUpdateInvoiceInput,\n output: RazorpayUpdateInvoiceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACpF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CAC1I,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACtE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACtF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC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;CACvF,kBAAkB,4CAA4C,SAAS,CAAC,CAAC,SAAS;CAClF,uBAAuBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,4JAA4J;AAExK,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-invoice.cjs","names":["z","action"],"sources":["../../src/actions/update-invoice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayUpdateInvoiceInput = z.object({\n date: z.number().int().describe(\"Invoice date as Unix timestamp\").optional(),\n type: z.string().describe(\"Type of invoice: 'invoice' or 'link'\").optional(),\n notes: z.object({}).describe(\"Key-value pairs for additional information\").optional(),\n terms: z.string().describe(\"Terms and conditions text\").optional(),\n amount: z.number().int().describe(\"Total invoice amount in smallest currency unit. If not provided, calculated from line_items\").optional(),\n tax_id: z.string().describe(\"Tax ID for the entire invoice\").optional(),\n comment: z.string().describe(\"Comments on the invoice\").optional(),\n receipt: z.string().describe(\"Receipt/reference number (max 40 characters)\").optional(),\n currency: z.string().describe(\"Three-letter ISO currency code\").optional(),\n customer: z.object({\n name: z.string().describe(\"Name of the customer\").optional(),\n email: z.string().describe(\"Email address of the customer\").optional(),\n gstin: z.string().describe(\"GST identification number\").optional(),\n notes: z.object({}).describe(\"Key-value pairs for additional customer metadata\").optional(),\n contact: z.string().describe(\"Phone number of the customer (10 digits for India)\").optional(),\n billing_address: z.object({\n city: z.string().describe(\"City\").optional(),\n line1: z.string().describe(\"Address line 1\").optional(),\n line2: z.string().describe(\"Address line 2\").optional(),\n state: z.string().describe(\"State or province\").optional(),\n country: z.string().describe(\"Country name\").optional(),\n zipcode: z.string().describe(\"Postal or ZIP code\").optional(),\n}).describe(\"Address details for billing or shipping.\").optional(),\n shipping_address: z.object({\n city: z.string().describe(\"City\").optional(),\n line1: z.string().describe(\"Address line 1\").optional(),\n line2: z.string().describe(\"Address line 2\").optional(),\n state: z.string().describe(\"State or province\").optional(),\n country: z.string().describe(\"Country name\").optional(),\n zipcode: z.string().describe(\"Postal or ZIP code\").optional(),\n}).describe(\"Address details for billing or shipping.\").optional(),\n}).describe(\"Customer details for invoice recipient.\").optional(),\n order_id: z.string().describe(\"Associated order ID\").optional(),\n tax_rate: z.number().int().describe(\"Tax rate in basis points for the entire invoice (e.g., 1800 for 18%)\").optional(),\n expire_by: z.number().int().describe(\"Unix timestamp when invoice should expire\").optional(),\n issued_at: z.number().int().describe(\"Unix timestamp for custom invoice issue date\").optional(),\n short_url: z.boolean().describe(\"Generate and return short URL\").optional(),\n view_less: z.boolean().describe(\"Show compact view\").optional(),\n invoice_id: z.string().describe(\"The unique identifier of the invoice to update. Only draft invoices can be updated.\"),\n line_items: z.array(z.object({\n id: z.string().describe(\"Line item ID (required for updating existing line items)\").optional(),\n name: z.string().describe(\"Name of the item\").optional(),\n unit: z.string().describe(\"Unit of measurement\").optional(),\n amount: z.number().int().describe(\"Amount in smallest currency unit (paise for INR). For example, 100000 paise = ₹1000\").optional(),\n tax_id: z.string().describe(\"Tax identifier for the item\").optional(),\n item_id: z.string().describe(\"Reference to existing item entity ID\").optional(),\n currency: z.string().describe(\"Three-letter ISO currency code\").optional(),\n hsn_code: z.string().describe(\"HSN (Harmonized System of Nomenclature) code\").optional(),\n quantity: z.number().int().describe(\"Quantity of the item\").optional(),\n sac_code: z.string().describe(\"SAC (Services Accounting Code)\").optional(),\n tax_rate: z.number().int().describe(\"Tax rate in basis points (e.g., 1800 for 18%). 1 basis point = 0.01%\").optional(),\n description: z.string().describe(\"Description of the item\").optional(),\n unit_amount: z.number().int().describe(\"Unit price in smallest currency unit\").optional(),\n tax_inclusive: z.boolean().describe(\"Whether amount includes tax\").optional(),\n}).describe(\"Individual line item for invoice update.\")).describe(\"Array of line items to update or add. Include 'id' field to update existing items\").optional(),\n payment_id: z.string().describe(\"Pre-associate a payment ID\").optional(),\n sms_notify: z.number().int().describe(\"Send SMS notification (1=yes, 0=no)\").optional(),\n billing_end: z.number().int().describe(\"Billing period end as Unix timestamp\").optional(),\n customer_id: z.string().describe(\"Reference to existing customer ID\").optional(),\n description: z.string().describe(\"Brief description of the invoice\").optional(),\n email_notify: z.number().int().describe(\"Send email notification (1=yes, 0=no)\").optional(),\n billing_start: z.number().int().describe(\"Billing period start as Unix timestamp\").optional(),\n invoice_number: z.string().describe(\"Custom invoice number\").optional(),\n idempotency_key: z.string().describe(\"Unique key for idempotent requests to prevent duplicates\").optional(),\n partial_payment: z.boolean().describe(\"Whether partial payments are allowed\").optional(),\n group_taxes_discounts: z.boolean().describe(\"Group taxes and discounts together\").optional(),\n}).describe(\"Request model for updating a draft invoice. All parameters except invoice_id are optional - only provide the fields you want to update. Note: Only invoices in draft state can be updated.\");\nconst RazorpayUpdateInvoice_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}).describe(\"Tax detail for a line item.\");\nconst RazorpayUpdateInvoice_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(RazorpayUpdateInvoice_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 RazorpayUpdateInvoice_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}).describe(\"Address details for billing or shipping.\");\nconst RazorpayUpdateInvoice_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: RazorpayUpdateInvoice_AddressSchema.nullable().optional(),\n shipping_address: RazorpayUpdateInvoice_AddressSchema.nullable().optional(),\n}).describe(\"Customer details associated with the invoice.\");\nexport const RazorpayUpdateInvoiceOutput = 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.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'\").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(RazorpayUpdateInvoice_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: RazorpayUpdateInvoice_CustomerDetailsSchema.nullable().optional(),\n group_taxes_discounts: z.boolean().describe(\"Whether taxes and discounts are grouped\").nullable().optional(),\n}).describe(\"Response model for updating an invoice.\\nReturns complete updated invoice details including customer information, line items, amounts, and payment status.\");\n\nexport const razorpayUpdateInvoice = action(\"RAZORPAY_UPDATE_INVOICE\", {\n slug: \"razorpay-update-invoice\",\n name: \"Update Invoice\",\n description: \"Tool to update an existing draft invoice in Razorpay. Use when you need to modify invoice details such as customer information, line items, description, notes, or other fields. Only invoices in draft state can be updated.\",\n input: RazorpayUpdateInvoiceInput,\n output: RazorpayUpdateInvoiceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACpF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;C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