@keystrokehq/paystack 0.1.2 → 0.1.4

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 (687) hide show
  1. package/dist/actions/add-products-to-page.cjs +3 -3
  2. package/dist/actions/add-products-to-page.cjs.map +1 -1
  3. package/dist/actions/add-products-to-page.d.cts +3 -3
  4. package/dist/actions/add-products-to-page.d.mts +3 -3
  5. package/dist/actions/add-products-to-page.mjs +3 -3
  6. package/dist/actions/add-products-to-page.mjs.map +1 -1
  7. package/dist/actions/add-products-to-storefront.cjs +1 -1
  8. package/dist/actions/add-products-to-storefront.cjs.map +1 -1
  9. package/dist/actions/add-products-to-storefront.d.cts +1 -1
  10. package/dist/actions/add-products-to-storefront.d.mts +1 -1
  11. package/dist/actions/add-products-to-storefront.mjs +1 -1
  12. package/dist/actions/add-products-to-storefront.mjs.map +1 -1
  13. package/dist/actions/add-split-code-to-virtual-terminal.cjs +3 -3
  14. package/dist/actions/add-split-code-to-virtual-terminal.cjs.map +1 -1
  15. package/dist/actions/add-split-code-to-virtual-terminal.d.cts +3 -3
  16. package/dist/actions/add-split-code-to-virtual-terminal.d.mts +3 -3
  17. package/dist/actions/add-split-code-to-virtual-terminal.mjs +3 -3
  18. package/dist/actions/add-split-code-to-virtual-terminal.mjs.map +1 -1
  19. package/dist/actions/add-subaccount-to-split.cjs +3 -3
  20. package/dist/actions/add-subaccount-to-split.cjs.map +1 -1
  21. package/dist/actions/add-subaccount-to-split.d.cts +3 -3
  22. package/dist/actions/add-subaccount-to-split.d.mts +3 -3
  23. package/dist/actions/add-subaccount-to-split.mjs +3 -3
  24. package/dist/actions/add-subaccount-to-split.mjs.map +1 -1
  25. package/dist/actions/archive-payment-request.cjs +1 -1
  26. package/dist/actions/archive-payment-request.cjs.map +1 -1
  27. package/dist/actions/archive-payment-request.d.cts +1 -1
  28. package/dist/actions/archive-payment-request.d.mts +1 -1
  29. package/dist/actions/archive-payment-request.mjs +1 -1
  30. package/dist/actions/archive-payment-request.mjs.map +1 -1
  31. package/dist/actions/assign-destination-to-virtual-terminal.cjs +3 -3
  32. package/dist/actions/assign-destination-to-virtual-terminal.cjs.map +1 -1
  33. package/dist/actions/assign-destination-to-virtual-terminal.d.cts +4 -3
  34. package/dist/actions/assign-destination-to-virtual-terminal.d.mts +4 -3
  35. package/dist/actions/assign-destination-to-virtual-terminal.mjs +3 -3
  36. package/dist/actions/assign-destination-to-virtual-terminal.mjs.map +1 -1
  37. package/dist/actions/check-pending-charge.cjs +5 -5
  38. package/dist/actions/check-pending-charge.cjs.map +1 -1
  39. package/dist/actions/check-pending-charge.d.cts +5 -5
  40. package/dist/actions/check-pending-charge.d.mts +5 -5
  41. package/dist/actions/check-pending-charge.mjs +5 -5
  42. package/dist/actions/check-pending-charge.mjs.map +1 -1
  43. package/dist/actions/check-slug-availability.cjs +1 -1
  44. package/dist/actions/check-slug-availability.cjs.map +1 -1
  45. package/dist/actions/check-slug-availability.d.cts +1 -1
  46. package/dist/actions/check-slug-availability.d.mts +1 -1
  47. package/dist/actions/check-slug-availability.mjs +1 -1
  48. package/dist/actions/check-slug-availability.mjs.map +1 -1
  49. package/dist/actions/create-bulk-transfer-recipient.cjs +5 -5
  50. package/dist/actions/create-bulk-transfer-recipient.cjs.map +1 -1
  51. package/dist/actions/create-bulk-transfer-recipient.d.cts +6 -5
  52. package/dist/actions/create-bulk-transfer-recipient.d.cts.map +1 -1
  53. package/dist/actions/create-bulk-transfer-recipient.d.mts +6 -5
  54. package/dist/actions/create-bulk-transfer-recipient.d.mts.map +1 -1
  55. package/dist/actions/create-bulk-transfer-recipient.mjs +5 -5
  56. package/dist/actions/create-bulk-transfer-recipient.mjs.map +1 -1
  57. package/dist/actions/create-charge.cjs +8 -8
  58. package/dist/actions/create-charge.cjs.map +1 -1
  59. package/dist/actions/create-charge.d.cts +8 -8
  60. package/dist/actions/create-charge.d.mts +8 -8
  61. package/dist/actions/create-charge.mjs +8 -8
  62. package/dist/actions/create-charge.mjs.map +1 -1
  63. package/dist/actions/create-customer.cjs +2 -2
  64. package/dist/actions/create-customer.cjs.map +1 -1
  65. package/dist/actions/create-customer.d.cts +2 -2
  66. package/dist/actions/create-customer.d.mts +2 -2
  67. package/dist/actions/create-customer.mjs +2 -2
  68. package/dist/actions/create-customer.mjs.map +1 -1
  69. package/dist/actions/create-payment-page.cjs +2 -2
  70. package/dist/actions/create-payment-page.cjs.map +1 -1
  71. package/dist/actions/create-payment-page.d.cts +6 -6
  72. package/dist/actions/create-payment-page.d.mts +6 -6
  73. package/dist/actions/create-payment-page.mjs +2 -2
  74. package/dist/actions/create-payment-page.mjs.map +1 -1
  75. package/dist/actions/create-payment-request.cjs +4 -4
  76. package/dist/actions/create-payment-request.cjs.map +1 -1
  77. package/dist/actions/create-payment-request.d.cts +6 -4
  78. package/dist/actions/create-payment-request.d.mts +6 -4
  79. package/dist/actions/create-payment-request.mjs +4 -4
  80. package/dist/actions/create-payment-request.mjs.map +1 -1
  81. package/dist/actions/create-plan.cjs +2 -2
  82. package/dist/actions/create-plan.cjs.map +1 -1
  83. package/dist/actions/create-plan.d.cts +2 -2
  84. package/dist/actions/create-plan.d.mts +2 -2
  85. package/dist/actions/create-plan.mjs +2 -2
  86. package/dist/actions/create-plan.mjs.map +1 -1
  87. package/dist/actions/create-refund.cjs +11 -11
  88. package/dist/actions/create-refund.cjs.map +1 -1
  89. package/dist/actions/create-refund.d.cts +13 -13
  90. package/dist/actions/create-refund.d.mts +13 -13
  91. package/dist/actions/create-refund.mjs +11 -11
  92. package/dist/actions/create-refund.mjs.map +1 -1
  93. package/dist/actions/create-split.cjs +4 -4
  94. package/dist/actions/create-split.cjs.map +1 -1
  95. package/dist/actions/create-split.d.cts +7 -6
  96. package/dist/actions/create-split.d.mts +7 -6
  97. package/dist/actions/create-split.mjs +4 -4
  98. package/dist/actions/create-split.mjs.map +1 -1
  99. package/dist/actions/create-storefront.cjs +7 -7
  100. package/dist/actions/create-storefront.cjs.map +1 -1
  101. package/dist/actions/create-storefront.d.cts +9 -9
  102. package/dist/actions/create-storefront.d.mts +9 -9
  103. package/dist/actions/create-storefront.mjs +7 -7
  104. package/dist/actions/create-storefront.mjs.map +1 -1
  105. package/dist/actions/create-subaccount.cjs +2 -2
  106. package/dist/actions/create-subaccount.cjs.map +1 -1
  107. package/dist/actions/create-subaccount.d.cts +2 -2
  108. package/dist/actions/create-subaccount.d.mts +2 -2
  109. package/dist/actions/create-subaccount.mjs +2 -2
  110. package/dist/actions/create-subaccount.mjs.map +1 -1
  111. package/dist/actions/create-transfer-recipient.cjs +3 -3
  112. package/dist/actions/create-transfer-recipient.cjs.map +1 -1
  113. package/dist/actions/create-transfer-recipient.d.cts +5 -5
  114. package/dist/actions/create-transfer-recipient.d.mts +5 -5
  115. package/dist/actions/create-transfer-recipient.mjs +3 -3
  116. package/dist/actions/create-transfer-recipient.mjs.map +1 -1
  117. package/dist/actions/create-virtual-terminal.cjs +7 -7
  118. package/dist/actions/create-virtual-terminal.cjs.map +1 -1
  119. package/dist/actions/create-virtual-terminal.d.cts +9 -8
  120. package/dist/actions/create-virtual-terminal.d.cts.map +1 -1
  121. package/dist/actions/create-virtual-terminal.d.mts +9 -8
  122. package/dist/actions/create-virtual-terminal.d.mts.map +1 -1
  123. package/dist/actions/create-virtual-terminal.mjs +7 -7
  124. package/dist/actions/create-virtual-terminal.mjs.map +1 -1
  125. package/dist/actions/deactivate-authorization.cjs +1 -1
  126. package/dist/actions/deactivate-authorization.cjs.map +1 -1
  127. package/dist/actions/deactivate-authorization.d.cts +1 -1
  128. package/dist/actions/deactivate-authorization.d.mts +1 -1
  129. package/dist/actions/deactivate-authorization.mjs +1 -1
  130. package/dist/actions/deactivate-authorization.mjs.map +1 -1
  131. package/dist/actions/deactivate-virtual-terminal.cjs +1 -1
  132. package/dist/actions/deactivate-virtual-terminal.cjs.map +1 -1
  133. package/dist/actions/deactivate-virtual-terminal.d.cts +1 -1
  134. package/dist/actions/deactivate-virtual-terminal.d.mts +1 -1
  135. package/dist/actions/deactivate-virtual-terminal.mjs +1 -1
  136. package/dist/actions/deactivate-virtual-terminal.mjs.map +1 -1
  137. package/dist/actions/delete-product.cjs +1 -1
  138. package/dist/actions/delete-product.cjs.map +1 -1
  139. package/dist/actions/delete-product.d.cts +1 -1
  140. package/dist/actions/delete-product.d.mts +1 -1
  141. package/dist/actions/delete-product.mjs +1 -1
  142. package/dist/actions/delete-product.mjs.map +1 -1
  143. package/dist/actions/delete-storefront.cjs +1 -1
  144. package/dist/actions/delete-storefront.cjs.map +1 -1
  145. package/dist/actions/delete-storefront.d.cts +1 -1
  146. package/dist/actions/delete-storefront.d.mts +1 -1
  147. package/dist/actions/delete-storefront.mjs +1 -1
  148. package/dist/actions/delete-storefront.mjs.map +1 -1
  149. package/dist/actions/delete-transfer-recipient.cjs +1 -1
  150. package/dist/actions/delete-transfer-recipient.cjs.map +1 -1
  151. package/dist/actions/delete-transfer-recipient.d.cts +1 -1
  152. package/dist/actions/delete-transfer-recipient.d.mts +1 -1
  153. package/dist/actions/delete-transfer-recipient.mjs +1 -1
  154. package/dist/actions/delete-transfer-recipient.mjs.map +1 -1
  155. package/dist/actions/disable-otp-for-transfers.cjs +1 -1
  156. package/dist/actions/disable-otp-for-transfers.cjs.map +1 -1
  157. package/dist/actions/disable-otp-for-transfers.d.cts +1 -1
  158. package/dist/actions/disable-otp-for-transfers.d.mts +1 -1
  159. package/dist/actions/disable-otp-for-transfers.mjs +1 -1
  160. package/dist/actions/disable-otp-for-transfers.mjs.map +1 -1
  161. package/dist/actions/disable-subscription.cjs +2 -2
  162. package/dist/actions/disable-subscription.cjs.map +1 -1
  163. package/dist/actions/disable-subscription.d.cts +2 -2
  164. package/dist/actions/disable-subscription.d.mts +2 -2
  165. package/dist/actions/disable-subscription.mjs +2 -2
  166. package/dist/actions/disable-subscription.mjs.map +1 -1
  167. package/dist/actions/duplicate-storefront.cjs +2 -2
  168. package/dist/actions/duplicate-storefront.cjs.map +1 -1
  169. package/dist/actions/duplicate-storefront.d.cts +2 -2
  170. package/dist/actions/duplicate-storefront.d.mts +2 -2
  171. package/dist/actions/duplicate-storefront.mjs +2 -2
  172. package/dist/actions/duplicate-storefront.mjs.map +1 -1
  173. package/dist/actions/enable-otp-requirement-for-transfers.cjs +1 -1
  174. package/dist/actions/enable-otp-requirement-for-transfers.cjs.map +1 -1
  175. package/dist/actions/enable-otp-requirement-for-transfers.d.cts +1 -1
  176. package/dist/actions/enable-otp-requirement-for-transfers.d.mts +1 -1
  177. package/dist/actions/enable-otp-requirement-for-transfers.mjs +1 -1
  178. package/dist/actions/enable-otp-requirement-for-transfers.mjs.map +1 -1
  179. package/dist/actions/export-transactions.cjs +2 -2
  180. package/dist/actions/export-transactions.cjs.map +1 -1
  181. package/dist/actions/export-transactions.d.cts +2 -2
  182. package/dist/actions/export-transactions.d.mts +2 -2
  183. package/dist/actions/export-transactions.mjs +2 -2
  184. package/dist/actions/export-transactions.mjs.map +1 -1
  185. package/dist/actions/fetch-balance-ledger.cjs +3 -3
  186. package/dist/actions/fetch-balance-ledger.cjs.map +1 -1
  187. package/dist/actions/fetch-balance-ledger.d.cts +3 -3
  188. package/dist/actions/fetch-balance-ledger.d.mts +3 -3
  189. package/dist/actions/fetch-balance-ledger.mjs +3 -3
  190. package/dist/actions/fetch-balance-ledger.mjs.map +1 -1
  191. package/dist/actions/fetch-balance.cjs +2 -2
  192. package/dist/actions/fetch-balance.cjs.map +1 -1
  193. package/dist/actions/fetch-balance.d.cts +2 -2
  194. package/dist/actions/fetch-balance.d.mts +2 -2
  195. package/dist/actions/fetch-balance.mjs +2 -2
  196. package/dist/actions/fetch-balance.mjs.map +1 -1
  197. package/dist/actions/fetch-bulk-charge-batch.cjs +2 -2
  198. package/dist/actions/fetch-bulk-charge-batch.cjs.map +1 -1
  199. package/dist/actions/fetch-bulk-charge-batch.d.cts +2 -2
  200. package/dist/actions/fetch-bulk-charge-batch.d.mts +2 -2
  201. package/dist/actions/fetch-bulk-charge-batch.mjs +2 -2
  202. package/dist/actions/fetch-bulk-charge-batch.mjs.map +1 -1
  203. package/dist/actions/fetch-customer.cjs +9 -9
  204. package/dist/actions/fetch-customer.cjs.map +1 -1
  205. package/dist/actions/fetch-customer.d.cts +10 -10
  206. package/dist/actions/fetch-customer.d.mts +10 -10
  207. package/dist/actions/fetch-customer.mjs +9 -9
  208. package/dist/actions/fetch-customer.mjs.map +1 -1
  209. package/dist/actions/fetch-mandate-authorizations.cjs +5 -5
  210. package/dist/actions/fetch-mandate-authorizations.cjs.map +1 -1
  211. package/dist/actions/fetch-mandate-authorizations.d.cts +5 -5
  212. package/dist/actions/fetch-mandate-authorizations.d.mts +5 -5
  213. package/dist/actions/fetch-mandate-authorizations.mjs +5 -5
  214. package/dist/actions/fetch-mandate-authorizations.mjs.map +1 -1
  215. package/dist/actions/fetch-payment-page.cjs +2 -2
  216. package/dist/actions/fetch-payment-page.cjs.map +1 -1
  217. package/dist/actions/fetch-payment-page.d.cts +2 -2
  218. package/dist/actions/fetch-payment-page.d.mts +2 -2
  219. package/dist/actions/fetch-payment-page.mjs +2 -2
  220. package/dist/actions/fetch-payment-page.mjs.map +1 -1
  221. package/dist/actions/fetch-payment-request.cjs +7 -7
  222. package/dist/actions/fetch-payment-request.cjs.map +1 -1
  223. package/dist/actions/fetch-payment-request.d.cts +7 -7
  224. package/dist/actions/fetch-payment-request.d.mts +7 -7
  225. package/dist/actions/fetch-payment-request.mjs +7 -7
  226. package/dist/actions/fetch-payment-request.mjs.map +1 -1
  227. package/dist/actions/fetch-payment-session-timeout.cjs +2 -2
  228. package/dist/actions/fetch-payment-session-timeout.cjs.map +1 -1
  229. package/dist/actions/fetch-payment-session-timeout.d.cts +2 -2
  230. package/dist/actions/fetch-payment-session-timeout.d.mts +2 -2
  231. package/dist/actions/fetch-payment-session-timeout.mjs +2 -2
  232. package/dist/actions/fetch-payment-session-timeout.mjs.map +1 -1
  233. package/dist/actions/fetch-plan.cjs +5 -5
  234. package/dist/actions/fetch-plan.cjs.map +1 -1
  235. package/dist/actions/fetch-plan.d.cts +5 -5
  236. package/dist/actions/fetch-plan.d.mts +5 -5
  237. package/dist/actions/fetch-plan.mjs +5 -5
  238. package/dist/actions/fetch-plan.mjs.map +1 -1
  239. package/dist/actions/fetch-product-orders.cjs +11 -11
  240. package/dist/actions/fetch-product-orders.cjs.map +1 -1
  241. package/dist/actions/fetch-product-orders.d.cts +11 -11
  242. package/dist/actions/fetch-product-orders.d.mts +11 -11
  243. package/dist/actions/fetch-product-orders.mjs +11 -11
  244. package/dist/actions/fetch-product-orders.mjs.map +1 -1
  245. package/dist/actions/fetch-product.cjs +8 -8
  246. package/dist/actions/fetch-product.cjs.map +1 -1
  247. package/dist/actions/fetch-product.d.cts +8 -8
  248. package/dist/actions/fetch-product.d.mts +8 -8
  249. package/dist/actions/fetch-product.mjs +8 -8
  250. package/dist/actions/fetch-product.mjs.map +1 -1
  251. package/dist/actions/fetch-refund.cjs +3 -3
  252. package/dist/actions/fetch-refund.cjs.map +1 -1
  253. package/dist/actions/fetch-refund.d.cts +3 -3
  254. package/dist/actions/fetch-refund.d.mts +3 -3
  255. package/dist/actions/fetch-refund.mjs +3 -3
  256. package/dist/actions/fetch-refund.mjs.map +1 -1
  257. package/dist/actions/fetch-split.cjs +3 -3
  258. package/dist/actions/fetch-split.cjs.map +1 -1
  259. package/dist/actions/fetch-split.d.cts +3 -3
  260. package/dist/actions/fetch-split.d.mts +3 -3
  261. package/dist/actions/fetch-split.mjs +3 -3
  262. package/dist/actions/fetch-split.mjs.map +1 -1
  263. package/dist/actions/fetch-storefront-orders.cjs +11 -11
  264. package/dist/actions/fetch-storefront-orders.cjs.map +1 -1
  265. package/dist/actions/fetch-storefront-orders.d.cts +11 -11
  266. package/dist/actions/fetch-storefront-orders.d.mts +11 -11
  267. package/dist/actions/fetch-storefront-orders.mjs +11 -11
  268. package/dist/actions/fetch-storefront-orders.mjs.map +1 -1
  269. package/dist/actions/fetch-storefront.cjs +8 -8
  270. package/dist/actions/fetch-storefront.cjs.map +1 -1
  271. package/dist/actions/fetch-storefront.d.cts +8 -8
  272. package/dist/actions/fetch-storefront.d.mts +8 -8
  273. package/dist/actions/fetch-storefront.mjs +8 -8
  274. package/dist/actions/fetch-storefront.mjs.map +1 -1
  275. package/dist/actions/fetch-subaccount.cjs +2 -2
  276. package/dist/actions/fetch-subaccount.cjs.map +1 -1
  277. package/dist/actions/fetch-subaccount.d.cts +2 -2
  278. package/dist/actions/fetch-subaccount.d.mts +2 -2
  279. package/dist/actions/fetch-subaccount.mjs +2 -2
  280. package/dist/actions/fetch-subaccount.mjs.map +1 -1
  281. package/dist/actions/fetch-subscription.cjs +13 -13
  282. package/dist/actions/fetch-subscription.cjs.map +1 -1
  283. package/dist/actions/fetch-subscription.d.cts +13 -13
  284. package/dist/actions/fetch-subscription.d.mts +13 -13
  285. package/dist/actions/fetch-subscription.mjs +13 -13
  286. package/dist/actions/fetch-subscription.mjs.map +1 -1
  287. package/dist/actions/fetch-transaction-timeline.cjs +4 -4
  288. package/dist/actions/fetch-transaction-timeline.cjs.map +1 -1
  289. package/dist/actions/fetch-transaction-timeline.d.cts +4 -4
  290. package/dist/actions/fetch-transaction-timeline.d.mts +4 -4
  291. package/dist/actions/fetch-transaction-timeline.mjs +4 -4
  292. package/dist/actions/fetch-transaction-timeline.mjs.map +1 -1
  293. package/dist/actions/fetch-transaction.cjs +16 -16
  294. package/dist/actions/fetch-transaction.cjs.map +1 -1
  295. package/dist/actions/fetch-transaction.d.cts +17 -17
  296. package/dist/actions/fetch-transaction.d.mts +17 -17
  297. package/dist/actions/fetch-transaction.mjs +16 -16
  298. package/dist/actions/fetch-transaction.mjs.map +1 -1
  299. package/dist/actions/fetch-transfer-recipient.cjs +3 -3
  300. package/dist/actions/fetch-transfer-recipient.cjs.map +1 -1
  301. package/dist/actions/fetch-transfer-recipient.d.cts +3 -3
  302. package/dist/actions/fetch-transfer-recipient.d.mts +3 -3
  303. package/dist/actions/fetch-transfer-recipient.mjs +3 -3
  304. package/dist/actions/fetch-transfer-recipient.mjs.map +1 -1
  305. package/dist/actions/fetch-virtual-terminal.cjs +4 -4
  306. package/dist/actions/fetch-virtual-terminal.cjs.map +1 -1
  307. package/dist/actions/fetch-virtual-terminal.d.cts +4 -4
  308. package/dist/actions/fetch-virtual-terminal.d.mts +4 -4
  309. package/dist/actions/fetch-virtual-terminal.mjs +4 -4
  310. package/dist/actions/fetch-virtual-terminal.mjs.map +1 -1
  311. package/dist/actions/finalize-payment-request.cjs +7 -7
  312. package/dist/actions/finalize-payment-request.cjs.map +1 -1
  313. package/dist/actions/finalize-payment-request.d.cts +7 -7
  314. package/dist/actions/finalize-payment-request.d.mts +7 -7
  315. package/dist/actions/finalize-payment-request.mjs +7 -7
  316. package/dist/actions/finalize-payment-request.mjs.map +1 -1
  317. package/dist/actions/generate-update-subscription-link.cjs +2 -2
  318. package/dist/actions/generate-update-subscription-link.cjs.map +1 -1
  319. package/dist/actions/generate-update-subscription-link.d.cts +2 -2
  320. package/dist/actions/generate-update-subscription-link.d.mts +2 -2
  321. package/dist/actions/generate-update-subscription-link.mjs +2 -2
  322. package/dist/actions/generate-update-subscription-link.mjs.map +1 -1
  323. package/dist/actions/get-payment-request-totals.cjs +3 -3
  324. package/dist/actions/get-payment-request-totals.cjs.map +1 -1
  325. package/dist/actions/get-payment-request-totals.d.cts +5 -5
  326. package/dist/actions/get-payment-request-totals.d.mts +5 -5
  327. package/dist/actions/get-payment-request-totals.mjs +3 -3
  328. package/dist/actions/get-payment-request-totals.mjs.map +1 -1
  329. package/dist/actions/get-transaction-totals.cjs +3 -3
  330. package/dist/actions/get-transaction-totals.cjs.map +1 -1
  331. package/dist/actions/get-transaction-totals.d.cts +4 -4
  332. package/dist/actions/get-transaction-totals.d.mts +4 -4
  333. package/dist/actions/get-transaction-totals.mjs +3 -3
  334. package/dist/actions/get-transaction-totals.mjs.map +1 -1
  335. package/dist/actions/initialize-authorization.cjs +2 -2
  336. package/dist/actions/initialize-authorization.cjs.map +1 -1
  337. package/dist/actions/initialize-authorization.d.cts +2 -2
  338. package/dist/actions/initialize-authorization.d.mts +2 -2
  339. package/dist/actions/initialize-authorization.mjs +2 -2
  340. package/dist/actions/initialize-authorization.mjs.map +1 -1
  341. package/dist/actions/initialize-transaction.cjs +3 -3
  342. package/dist/actions/initialize-transaction.cjs.map +1 -1
  343. package/dist/actions/initialize-transaction.d.cts +10 -9
  344. package/dist/actions/initialize-transaction.d.cts.map +1 -1
  345. package/dist/actions/initialize-transaction.d.mts +10 -9
  346. package/dist/actions/initialize-transaction.d.mts.map +1 -1
  347. package/dist/actions/initialize-transaction.mjs +3 -3
  348. package/dist/actions/initialize-transaction.mjs.map +1 -1
  349. package/dist/actions/initiate-bulk-charge.cjs +3 -3
  350. package/dist/actions/initiate-bulk-charge.cjs.map +1 -1
  351. package/dist/actions/initiate-bulk-charge.d.cts +4 -3
  352. package/dist/actions/initiate-bulk-charge.d.cts.map +1 -1
  353. package/dist/actions/initiate-bulk-charge.d.mts +4 -3
  354. package/dist/actions/initiate-bulk-charge.d.mts.map +1 -1
  355. package/dist/actions/initiate-bulk-charge.mjs +3 -3
  356. package/dist/actions/initiate-bulk-charge.mjs.map +1 -1
  357. package/dist/actions/list-banks.cjs +3 -3
  358. package/dist/actions/list-banks.cjs.map +1 -1
  359. package/dist/actions/list-banks.d.cts +5 -5
  360. package/dist/actions/list-banks.d.mts +5 -5
  361. package/dist/actions/list-banks.mjs +3 -3
  362. package/dist/actions/list-banks.mjs.map +1 -1
  363. package/dist/actions/list-bulk-charge-batches.cjs +4 -4
  364. package/dist/actions/list-bulk-charge-batches.cjs.map +1 -1
  365. package/dist/actions/list-bulk-charge-batches.d.cts +4 -4
  366. package/dist/actions/list-bulk-charge-batches.d.mts +4 -4
  367. package/dist/actions/list-bulk-charge-batches.mjs +4 -4
  368. package/dist/actions/list-bulk-charge-batches.mjs.map +1 -1
  369. package/dist/actions/list-charges-in-batch.cjs +8 -8
  370. package/dist/actions/list-charges-in-batch.cjs.map +1 -1
  371. package/dist/actions/list-charges-in-batch.d.cts +8 -8
  372. package/dist/actions/list-charges-in-batch.d.mts +8 -8
  373. package/dist/actions/list-charges-in-batch.mjs +8 -8
  374. package/dist/actions/list-charges-in-batch.mjs.map +1 -1
  375. package/dist/actions/list-countries.cjs +2 -2
  376. package/dist/actions/list-countries.cjs.map +1 -1
  377. package/dist/actions/list-countries.d.cts +2 -2
  378. package/dist/actions/list-countries.d.mts +2 -2
  379. package/dist/actions/list-countries.mjs +2 -2
  380. package/dist/actions/list-countries.mjs.map +1 -1
  381. package/dist/actions/list-customers.cjs +3 -3
  382. package/dist/actions/list-customers.cjs.map +1 -1
  383. package/dist/actions/list-customers.d.cts +3 -3
  384. package/dist/actions/list-customers.d.mts +3 -3
  385. package/dist/actions/list-customers.mjs +3 -3
  386. package/dist/actions/list-customers.mjs.map +1 -1
  387. package/dist/actions/list-disputes.cjs +18 -18
  388. package/dist/actions/list-disputes.cjs.map +1 -1
  389. package/dist/actions/list-disputes.d.cts +16 -16
  390. package/dist/actions/list-disputes.d.mts +16 -16
  391. package/dist/actions/list-disputes.mjs +18 -18
  392. package/dist/actions/list-disputes.mjs.map +1 -1
  393. package/dist/actions/list-domains.cjs +2 -2
  394. package/dist/actions/list-domains.cjs.map +1 -1
  395. package/dist/actions/list-domains.d.cts +2 -2
  396. package/dist/actions/list-domains.d.mts +2 -2
  397. package/dist/actions/list-domains.mjs +2 -2
  398. package/dist/actions/list-domains.mjs.map +1 -1
  399. package/dist/actions/list-mandate-authorizations.cjs +5 -5
  400. package/dist/actions/list-mandate-authorizations.cjs.map +1 -1
  401. package/dist/actions/list-mandate-authorizations.d.cts +5 -5
  402. package/dist/actions/list-mandate-authorizations.d.mts +5 -5
  403. package/dist/actions/list-mandate-authorizations.mjs +5 -5
  404. package/dist/actions/list-mandate-authorizations.mjs.map +1 -1
  405. package/dist/actions/list-orders.cjs +3 -3
  406. package/dist/actions/list-orders.cjs.map +1 -1
  407. package/dist/actions/list-orders.d.cts +3 -3
  408. package/dist/actions/list-orders.d.mts +3 -3
  409. package/dist/actions/list-orders.mjs +3 -3
  410. package/dist/actions/list-orders.mjs.map +1 -1
  411. package/dist/actions/list-payment-pages.cjs +3 -3
  412. package/dist/actions/list-payment-pages.cjs.map +1 -1
  413. package/dist/actions/list-payment-pages.d.cts +3 -3
  414. package/dist/actions/list-payment-pages.d.mts +3 -3
  415. package/dist/actions/list-payment-pages.mjs +3 -3
  416. package/dist/actions/list-payment-pages.mjs.map +1 -1
  417. package/dist/actions/list-payment-requests.cjs +8 -8
  418. package/dist/actions/list-payment-requests.cjs.map +1 -1
  419. package/dist/actions/list-payment-requests.d.cts +8 -8
  420. package/dist/actions/list-payment-requests.d.mts +8 -8
  421. package/dist/actions/list-payment-requests.mjs +8 -8
  422. package/dist/actions/list-payment-requests.mjs.map +1 -1
  423. package/dist/actions/list-plans.cjs +5 -5
  424. package/dist/actions/list-plans.cjs.map +1 -1
  425. package/dist/actions/list-plans.d.cts +5 -5
  426. package/dist/actions/list-plans.d.mts +5 -5
  427. package/dist/actions/list-plans.mjs +5 -5
  428. package/dist/actions/list-plans.mjs.map +1 -1
  429. package/dist/actions/list-products.cjs +8 -8
  430. package/dist/actions/list-products.cjs.map +1 -1
  431. package/dist/actions/list-products.d.cts +8 -8
  432. package/dist/actions/list-products.d.mts +8 -8
  433. package/dist/actions/list-products.mjs +8 -8
  434. package/dist/actions/list-products.mjs.map +1 -1
  435. package/dist/actions/list-refunds.cjs +8 -8
  436. package/dist/actions/list-refunds.cjs.map +1 -1
  437. package/dist/actions/list-refunds.d.cts +8 -8
  438. package/dist/actions/list-refunds.d.mts +8 -8
  439. package/dist/actions/list-refunds.mjs +8 -8
  440. package/dist/actions/list-refunds.mjs.map +1 -1
  441. package/dist/actions/list-settlements.cjs +3 -3
  442. package/dist/actions/list-settlements.cjs.map +1 -1
  443. package/dist/actions/list-settlements.d.cts +3 -3
  444. package/dist/actions/list-settlements.d.mts +3 -3
  445. package/dist/actions/list-settlements.mjs +3 -3
  446. package/dist/actions/list-settlements.mjs.map +1 -1
  447. package/dist/actions/list-splits.cjs +4 -4
  448. package/dist/actions/list-splits.cjs.map +1 -1
  449. package/dist/actions/list-splits.d.cts +4 -4
  450. package/dist/actions/list-splits.d.mts +4 -4
  451. package/dist/actions/list-splits.mjs +4 -4
  452. package/dist/actions/list-splits.mjs.map +1 -1
  453. package/dist/actions/list-states-avs.cjs +2 -2
  454. package/dist/actions/list-states-avs.cjs.map +1 -1
  455. package/dist/actions/list-states-avs.d.cts +2 -2
  456. package/dist/actions/list-states-avs.d.mts +2 -2
  457. package/dist/actions/list-states-avs.mjs +2 -2
  458. package/dist/actions/list-states-avs.mjs.map +1 -1
  459. package/dist/actions/list-storefront-products.cjs +8 -8
  460. package/dist/actions/list-storefront-products.cjs.map +1 -1
  461. package/dist/actions/list-storefront-products.d.cts +8 -8
  462. package/dist/actions/list-storefront-products.d.mts +8 -8
  463. package/dist/actions/list-storefront-products.mjs +8 -8
  464. package/dist/actions/list-storefront-products.mjs.map +1 -1
  465. package/dist/actions/list-storefronts.cjs +8 -8
  466. package/dist/actions/list-storefronts.cjs.map +1 -1
  467. package/dist/actions/list-storefronts.d.cts +8 -8
  468. package/dist/actions/list-storefronts.d.mts +8 -8
  469. package/dist/actions/list-storefronts.mjs +8 -8
  470. package/dist/actions/list-storefronts.mjs.map +1 -1
  471. package/dist/actions/list-subaccounts.cjs +3 -3
  472. package/dist/actions/list-subaccounts.cjs.map +1 -1
  473. package/dist/actions/list-subaccounts.d.cts +3 -3
  474. package/dist/actions/list-subaccounts.d.mts +3 -3
  475. package/dist/actions/list-subaccounts.mjs +3 -3
  476. package/dist/actions/list-subaccounts.mjs.map +1 -1
  477. package/dist/actions/list-subscriptions.cjs +12 -12
  478. package/dist/actions/list-subscriptions.cjs.map +1 -1
  479. package/dist/actions/list-subscriptions.d.cts +12 -12
  480. package/dist/actions/list-subscriptions.d.mts +12 -12
  481. package/dist/actions/list-subscriptions.mjs +12 -12
  482. package/dist/actions/list-subscriptions.mjs.map +1 -1
  483. package/dist/actions/list-transactions.cjs +17 -17
  484. package/dist/actions/list-transactions.cjs.map +1 -1
  485. package/dist/actions/list-transactions.d.cts +17 -17
  486. package/dist/actions/list-transactions.d.mts +17 -17
  487. package/dist/actions/list-transactions.mjs +17 -17
  488. package/dist/actions/list-transactions.mjs.map +1 -1
  489. package/dist/actions/list-transfer-recipients.cjs +3 -3
  490. package/dist/actions/list-transfer-recipients.cjs.map +1 -1
  491. package/dist/actions/list-transfer-recipients.d.cts +3 -3
  492. package/dist/actions/list-transfer-recipients.d.mts +3 -3
  493. package/dist/actions/list-transfer-recipients.mjs +3 -3
  494. package/dist/actions/list-transfer-recipients.mjs.map +1 -1
  495. package/dist/actions/list-transfers.cjs +4 -4
  496. package/dist/actions/list-transfers.cjs.map +1 -1
  497. package/dist/actions/list-transfers.d.cts +4 -4
  498. package/dist/actions/list-transfers.d.mts +4 -4
  499. package/dist/actions/list-transfers.mjs +4 -4
  500. package/dist/actions/list-transfers.mjs.map +1 -1
  501. package/dist/actions/list-virtual-terminals.cjs +4 -4
  502. package/dist/actions/list-virtual-terminals.cjs.map +1 -1
  503. package/dist/actions/list-virtual-terminals.d.cts +4 -4
  504. package/dist/actions/list-virtual-terminals.d.mts +4 -4
  505. package/dist/actions/list-virtual-terminals.mjs +4 -4
  506. package/dist/actions/list-virtual-terminals.mjs.map +1 -1
  507. package/dist/actions/pause-bulk-charge.cjs +1 -1
  508. package/dist/actions/pause-bulk-charge.cjs.map +1 -1
  509. package/dist/actions/pause-bulk-charge.d.cts +1 -1
  510. package/dist/actions/pause-bulk-charge.d.mts +1 -1
  511. package/dist/actions/pause-bulk-charge.mjs +1 -1
  512. package/dist/actions/pause-bulk-charge.mjs.map +1 -1
  513. package/dist/actions/publish-storefront.cjs +2 -2
  514. package/dist/actions/publish-storefront.cjs.map +1 -1
  515. package/dist/actions/publish-storefront.d.cts +2 -2
  516. package/dist/actions/publish-storefront.d.mts +2 -2
  517. package/dist/actions/publish-storefront.mjs +2 -2
  518. package/dist/actions/publish-storefront.mjs.map +1 -1
  519. package/dist/actions/remove-subaccount-from-split.cjs +1 -1
  520. package/dist/actions/remove-subaccount-from-split.cjs.map +1 -1
  521. package/dist/actions/remove-subaccount-from-split.d.cts +1 -1
  522. package/dist/actions/remove-subaccount-from-split.d.mts +1 -1
  523. package/dist/actions/remove-subaccount-from-split.mjs +1 -1
  524. package/dist/actions/remove-subaccount-from-split.mjs.map +1 -1
  525. package/dist/actions/resend-otp-for-transfer.cjs +1 -1
  526. package/dist/actions/resend-otp-for-transfer.cjs.map +1 -1
  527. package/dist/actions/resend-otp-for-transfer.d.cts +1 -1
  528. package/dist/actions/resend-otp-for-transfer.d.mts +1 -1
  529. package/dist/actions/resend-otp-for-transfer.mjs +1 -1
  530. package/dist/actions/resend-otp-for-transfer.mjs.map +1 -1
  531. package/dist/actions/resolve-card-bin.cjs +2 -2
  532. package/dist/actions/resolve-card-bin.cjs.map +1 -1
  533. package/dist/actions/resolve-card-bin.d.cts +2 -2
  534. package/dist/actions/resolve-card-bin.d.mts +2 -2
  535. package/dist/actions/resolve-card-bin.mjs +2 -2
  536. package/dist/actions/resolve-card-bin.mjs.map +1 -1
  537. package/dist/actions/resume-bulk-charge-batch.cjs +1 -1
  538. package/dist/actions/resume-bulk-charge-batch.cjs.map +1 -1
  539. package/dist/actions/resume-bulk-charge-batch.d.cts +1 -1
  540. package/dist/actions/resume-bulk-charge-batch.d.mts +1 -1
  541. package/dist/actions/resume-bulk-charge-batch.mjs +1 -1
  542. package/dist/actions/resume-bulk-charge-batch.mjs.map +1 -1
  543. package/dist/actions/send-payment-request-notification.cjs +1 -1
  544. package/dist/actions/send-payment-request-notification.cjs.map +1 -1
  545. package/dist/actions/send-payment-request-notification.d.cts +1 -1
  546. package/dist/actions/send-payment-request-notification.d.mts +1 -1
  547. package/dist/actions/send-payment-request-notification.mjs +1 -1
  548. package/dist/actions/send-payment-request-notification.mjs.map +1 -1
  549. package/dist/actions/send-subscription-update-link.cjs +2 -2
  550. package/dist/actions/send-subscription-update-link.cjs.map +1 -1
  551. package/dist/actions/send-subscription-update-link.d.cts +2 -2
  552. package/dist/actions/send-subscription-update-link.d.mts +2 -2
  553. package/dist/actions/send-subscription-update-link.mjs +2 -2
  554. package/dist/actions/send-subscription-update-link.mjs.map +1 -1
  555. package/dist/actions/set-risk-action.cjs +5 -5
  556. package/dist/actions/set-risk-action.cjs.map +1 -1
  557. package/dist/actions/set-risk-action.d.cts +5 -5
  558. package/dist/actions/set-risk-action.d.mts +5 -5
  559. package/dist/actions/set-risk-action.mjs +5 -5
  560. package/dist/actions/set-risk-action.mjs.map +1 -1
  561. package/dist/actions/submit-phone.cjs +5 -5
  562. package/dist/actions/submit-phone.cjs.map +1 -1
  563. package/dist/actions/submit-phone.d.cts +5 -5
  564. package/dist/actions/submit-phone.d.mts +5 -5
  565. package/dist/actions/submit-phone.mjs +5 -5
  566. package/dist/actions/submit-phone.mjs.map +1 -1
  567. package/dist/actions/trigger-direct-debit-activation-charge.cjs +1 -1
  568. package/dist/actions/trigger-direct-debit-activation-charge.cjs.map +1 -1
  569. package/dist/actions/trigger-direct-debit-activation-charge.d.cts +1 -1
  570. package/dist/actions/trigger-direct-debit-activation-charge.d.mts +1 -1
  571. package/dist/actions/trigger-direct-debit-activation-charge.mjs +1 -1
  572. package/dist/actions/trigger-direct-debit-activation-charge.mjs.map +1 -1
  573. package/dist/actions/unassign-destination-from-virtual-terminal.cjs +1 -1
  574. package/dist/actions/unassign-destination-from-virtual-terminal.cjs.map +1 -1
  575. package/dist/actions/unassign-destination-from-virtual-terminal.d.cts +1 -1
  576. package/dist/actions/unassign-destination-from-virtual-terminal.d.mts +1 -1
  577. package/dist/actions/unassign-destination-from-virtual-terminal.mjs +1 -1
  578. package/dist/actions/unassign-destination-from-virtual-terminal.mjs.map +1 -1
  579. package/dist/actions/unregister-apple-pay-domain.cjs +2 -2
  580. package/dist/actions/unregister-apple-pay-domain.cjs.map +1 -1
  581. package/dist/actions/unregister-apple-pay-domain.d.cts +2 -2
  582. package/dist/actions/unregister-apple-pay-domain.d.mts +2 -2
  583. package/dist/actions/unregister-apple-pay-domain.mjs +2 -2
  584. package/dist/actions/unregister-apple-pay-domain.mjs.map +1 -1
  585. package/dist/actions/update-customer.cjs +4 -4
  586. package/dist/actions/update-customer.cjs.map +1 -1
  587. package/dist/actions/update-customer.d.cts +4 -4
  588. package/dist/actions/update-customer.d.mts +4 -4
  589. package/dist/actions/update-customer.mjs +4 -4
  590. package/dist/actions/update-customer.mjs.map +1 -1
  591. package/dist/actions/update-payment-page.cjs +2 -2
  592. package/dist/actions/update-payment-page.cjs.map +1 -1
  593. package/dist/actions/update-payment-page.d.cts +2 -2
  594. package/dist/actions/update-payment-page.d.mts +2 -2
  595. package/dist/actions/update-payment-page.mjs +2 -2
  596. package/dist/actions/update-payment-page.mjs.map +1 -1
  597. package/dist/actions/update-payment-request.cjs +5 -5
  598. package/dist/actions/update-payment-request.cjs.map +1 -1
  599. package/dist/actions/update-payment-request.d.cts +7 -5
  600. package/dist/actions/update-payment-request.d.mts +7 -5
  601. package/dist/actions/update-payment-request.mjs +5 -5
  602. package/dist/actions/update-payment-request.mjs.map +1 -1
  603. package/dist/actions/update-payment-session-timeout.cjs +2 -2
  604. package/dist/actions/update-payment-session-timeout.cjs.map +1 -1
  605. package/dist/actions/update-payment-session-timeout.d.cts +2 -2
  606. package/dist/actions/update-payment-session-timeout.d.mts +2 -2
  607. package/dist/actions/update-payment-session-timeout.mjs +2 -2
  608. package/dist/actions/update-payment-session-timeout.mjs.map +1 -1
  609. package/dist/actions/update-plan.cjs +1 -1
  610. package/dist/actions/update-plan.cjs.map +1 -1
  611. package/dist/actions/update-plan.d.cts +1 -1
  612. package/dist/actions/update-plan.d.mts +1 -1
  613. package/dist/actions/update-plan.mjs +1 -1
  614. package/dist/actions/update-plan.mjs.map +1 -1
  615. package/dist/actions/update-product.cjs +8 -8
  616. package/dist/actions/update-product.cjs.map +1 -1
  617. package/dist/actions/update-product.d.cts +9 -9
  618. package/dist/actions/update-product.d.mts +9 -9
  619. package/dist/actions/update-product.mjs +8 -8
  620. package/dist/actions/update-product.mjs.map +1 -1
  621. package/dist/actions/update-split.cjs +3 -3
  622. package/dist/actions/update-split.cjs.map +1 -1
  623. package/dist/actions/update-split.d.cts +3 -3
  624. package/dist/actions/update-split.d.mts +3 -3
  625. package/dist/actions/update-split.mjs +3 -3
  626. package/dist/actions/update-split.mjs.map +1 -1
  627. package/dist/actions/update-storefront.cjs +1 -1
  628. package/dist/actions/update-storefront.cjs.map +1 -1
  629. package/dist/actions/update-storefront.d.cts +1 -1
  630. package/dist/actions/update-storefront.d.mts +1 -1
  631. package/dist/actions/update-storefront.mjs +1 -1
  632. package/dist/actions/update-storefront.mjs.map +1 -1
  633. package/dist/actions/update-subaccount.cjs +2 -2
  634. package/dist/actions/update-subaccount.cjs.map +1 -1
  635. package/dist/actions/update-subaccount.d.cts +2 -2
  636. package/dist/actions/update-subaccount.d.mts +2 -2
  637. package/dist/actions/update-subaccount.mjs +2 -2
  638. package/dist/actions/update-subaccount.mjs.map +1 -1
  639. package/dist/actions/update-transfer-recipient.cjs +3 -3
  640. package/dist/actions/update-transfer-recipient.cjs.map +1 -1
  641. package/dist/actions/update-transfer-recipient.d.cts +3 -3
  642. package/dist/actions/update-transfer-recipient.d.mts +3 -3
  643. package/dist/actions/update-transfer-recipient.mjs +3 -3
  644. package/dist/actions/update-transfer-recipient.mjs.map +1 -1
  645. package/dist/actions/validate-bank-account.cjs +2 -2
  646. package/dist/actions/validate-bank-account.cjs.map +1 -1
  647. package/dist/actions/validate-bank-account.d.cts +2 -2
  648. package/dist/actions/validate-bank-account.d.mts +2 -2
  649. package/dist/actions/validate-bank-account.mjs +2 -2
  650. package/dist/actions/validate-bank-account.mjs.map +1 -1
  651. package/dist/actions/validate-customer.cjs +1 -1
  652. package/dist/actions/validate-customer.cjs.map +1 -1
  653. package/dist/actions/validate-customer.d.cts +1 -1
  654. package/dist/actions/validate-customer.d.mts +1 -1
  655. package/dist/actions/validate-customer.mjs +1 -1
  656. package/dist/actions/validate-customer.mjs.map +1 -1
  657. package/dist/actions/validate-order.cjs +13 -13
  658. package/dist/actions/validate-order.cjs.map +1 -1
  659. package/dist/actions/validate-order.d.cts +13 -13
  660. package/dist/actions/validate-order.d.mts +13 -13
  661. package/dist/actions/validate-order.mjs +13 -13
  662. package/dist/actions/validate-order.mjs.map +1 -1
  663. package/dist/actions/verify-payment-request.cjs +10 -10
  664. package/dist/actions/verify-payment-request.cjs.map +1 -1
  665. package/dist/actions/verify-payment-request.d.cts +10 -10
  666. package/dist/actions/verify-payment-request.d.mts +10 -10
  667. package/dist/actions/verify-payment-request.mjs +10 -10
  668. package/dist/actions/verify-payment-request.mjs.map +1 -1
  669. package/dist/actions/verify-storefront-slug.cjs +1 -1
  670. package/dist/actions/verify-storefront-slug.cjs.map +1 -1
  671. package/dist/actions/verify-storefront-slug.d.cts +1 -1
  672. package/dist/actions/verify-storefront-slug.d.mts +1 -1
  673. package/dist/actions/verify-storefront-slug.mjs +1 -1
  674. package/dist/actions/verify-storefront-slug.mjs.map +1 -1
  675. package/dist/actions/verify-transaction.cjs +17 -17
  676. package/dist/actions/verify-transaction.cjs.map +1 -1
  677. package/dist/actions/verify-transaction.d.cts +17 -17
  678. package/dist/actions/verify-transaction.d.mts +17 -17
  679. package/dist/actions/verify-transaction.mjs +17 -17
  680. package/dist/actions/verify-transaction.mjs.map +1 -1
  681. package/dist/catalog.cjs +1 -1
  682. package/dist/catalog.cjs.map +1 -1
  683. package/dist/catalog.d.cts +1 -1
  684. package/dist/catalog.d.mts +1 -1
  685. package/dist/catalog.mjs +1 -1
  686. package/dist/catalog.mjs.map +1 -1
  687. package/package.json +1 -1
@@ -13,13 +13,13 @@ const PaystackListProducts_ProductDataSchema = zod.z.object({
13
13
  name: zod.z.string().describe("Name of the product").nullable(),
14
14
  slug: zod.z.string().describe("URL slug for the product").nullable(),
15
15
  type: zod.z.string().describe("Type of the product").nullable(),
16
- files: zod.z.array(zod.z.object({})).describe("List of files associated with the product").nullable().optional(),
16
+ files: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List of files associated with the product").nullable().optional(),
17
17
  price: zod.z.number().int().describe("Price of the product in kobo (or lowest currency unit)").nullable(),
18
18
  active: zod.z.boolean().describe("Whether the product is active").nullable(),
19
19
  domain: zod.z.string().describe("The domain (test or live)").nullable(),
20
20
  currency: zod.z.string().describe("Currency code (e.g., NGN)").nullable(),
21
21
  in_stock: zod.z.boolean().describe("Whether the product is in stock").nullable(),
22
- metadata: zod.z.object({}).describe("Additional metadata for the product").nullable().optional(),
22
+ metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional metadata for the product").nullable().optional(),
23
23
  quantity: zod.z.number().int().describe("Available quantity of the product").nullable(),
24
24
  createdAt: zod.z.string().describe("ISO 8601 timestamp when the product was created").nullable(),
25
25
  unlimited: zod.z.boolean().describe("Whether the product has unlimited quantity").nullable(),
@@ -31,28 +31,28 @@ const PaystackListProducts_ProductDataSchema = zod.z.object({
31
31
  product_code: zod.z.string().describe("Unique product code").nullable(),
32
32
  redirect_url: zod.z.string().describe("URL to redirect to after purchase").nullable().optional(),
33
33
  quantity_sold: zod.z.number().int().describe("Number of units sold").nullable(),
34
- digital_assets: zod.z.array(zod.z.object({})).describe("List of digital assets associated with the product").nullable().optional(),
34
+ digital_assets: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List of digital assets associated with the product").nullable().optional(),
35
35
  low_stock_alert: zod.z.number().int().describe("Low stock alert threshold").nullable().optional(),
36
- shipping_fields: zod.z.object({}).describe("Shipping configuration fields").nullable().optional(),
36
+ shipping_fields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Shipping configuration fields").nullable().optional(),
37
37
  success_message: zod.z.string().describe("Success message to display after purchase").nullable().optional(),
38
- variant_options: zod.z.array(zod.z.object({})).describe("List of variant options for the product").nullable().optional(),
38
+ variant_options: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List of variant options for the product").nullable().optional(),
39
39
  maximum_orderable: zod.z.number().int().describe("Maximum quantity that can be ordered").nullable().optional(),
40
40
  minimum_orderable: zod.z.number().int().describe("Minimum quantity that can be ordered").nullable(),
41
41
  notification_emails: zod.z.string().describe("Email addresses for notifications").nullable().optional()
42
- }).describe("Product information returned by the API.");
42
+ }).passthrough().describe("Product information returned by the API.");
43
43
  const PaystackListProducts_MetaDataSchema = zod.z.object({
44
44
  page: zod.z.number().int().describe("Current page number").nullable(),
45
45
  total: zod.z.number().int().describe("Total number of products").nullable(),
46
46
  perPage: zod.z.union([zod.z.string(), zod.z.number().int()]),
47
47
  skipped: zod.z.number().int().describe("Number of records skipped").nullable(),
48
48
  pageCount: zod.z.number().int().describe("Total number of pages").nullable()
49
- }).describe("Pagination metadata.");
49
+ }).passthrough().describe("Pagination metadata.");
50
50
  const PaystackListProductsOutput = zod.z.object({
51
51
  data: zod.z.array(PaystackListProducts_ProductDataSchema).describe("List of product objects"),
52
52
  meta: PaystackListProducts_MetaDataSchema.nullable(),
53
53
  status: zod.z.boolean().describe("Indicates if the request was successful").nullable(),
54
54
  message: zod.z.string().describe("Response message from the API").nullable()
55
- }).describe("Response containing the list of products.");
55
+ }).passthrough().describe("Response containing the list of products.");
56
56
  const paystackListProducts = require_action.action("PAYSTACK_LIST_PRODUCTS", {
57
57
  slug: "paystack-list-products",
58
58
  name: "List Products",
@@ -1 +1 @@
1
- {"version":3,"file":"list-products.cjs","names":["z","action"],"sources":["../../src/actions/list-products.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackListProductsInput = z.object({\n page: z.number().int().describe(\"The section to retrieve (page number)\").optional(),\n active: z.boolean().describe(\"The state of the product - filter by active status\").optional(),\n perPage: z.number().int().describe(\"Number of records to fetch per page\").optional(),\n to_date: z.string().describe(\"The end date for filtering products\").optional(),\n from_date: z.string().describe(\"The start date for filtering products\").optional(),\n}).describe(\"Request to list products available on your integration.\");\nconst PaystackListProducts_ProductDataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the product\").nullable(),\n name: z.string().describe(\"Name of the product\").nullable(),\n slug: z.string().describe(\"URL slug for the product\").nullable(),\n type: z.string().describe(\"Type of the product\").nullable(),\n files: z.array(z.object({})).describe(\"List of files associated with the product\").nullable().optional(),\n price: z.number().int().describe(\"Price of the product in kobo (or lowest currency unit)\").nullable(),\n active: z.boolean().describe(\"Whether the product is active\").nullable(),\n domain: z.string().describe(\"The domain (test or live)\").nullable(),\n currency: z.string().describe(\"Currency code (e.g., NGN)\").nullable(),\n in_stock: z.boolean().describe(\"Whether the product is in stock\").nullable(),\n metadata: z.object({}).describe(\"Additional metadata for the product\").nullable().optional(),\n quantity: z.number().int().describe(\"Available quantity of the product\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the product was created\").nullable(),\n unlimited: z.boolean().describe(\"Whether the product has unlimited quantity\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the product was last updated\").nullable(),\n split_code: z.string().describe(\"Split code for transaction splitting\").nullable().optional(),\n description: z.string().describe(\"Description of the product\").nullable(),\n integration: z.number().int().describe(\"The integration ID\").nullable(),\n is_shippable: z.boolean().describe(\"Whether the product requires shipping\").nullable(),\n product_code: z.string().describe(\"Unique product code\").nullable(),\n redirect_url: z.string().describe(\"URL to redirect to after purchase\").nullable().optional(),\n quantity_sold: z.number().int().describe(\"Number of units sold\").nullable(),\n digital_assets: z.array(z.object({})).describe(\"List of digital assets associated with the product\").nullable().optional(),\n low_stock_alert: z.number().int().describe(\"Low stock alert threshold\").nullable().optional(),\n shipping_fields: z.object({}).describe(\"Shipping configuration fields\").nullable().optional(),\n success_message: z.string().describe(\"Success message to display after purchase\").nullable().optional(),\n variant_options: z.array(z.object({})).describe(\"List of variant options for the product\").nullable().optional(),\n maximum_orderable: z.number().int().describe(\"Maximum quantity that can be ordered\").nullable().optional(),\n minimum_orderable: z.number().int().describe(\"Minimum quantity that can be ordered\").nullable(),\n notification_emails: z.string().describe(\"Email addresses for notifications\").nullable().optional(),\n}).describe(\"Product information returned by the API.\");\nconst PaystackListProducts_MetaDataSchema = z.object({\n page: z.number().int().describe(\"Current page number\").nullable(),\n total: z.number().int().describe(\"Total number of products\").nullable(),\n perPage: z.union([z.string(), z.number().int()]),\n skipped: z.number().int().describe(\"Number of records skipped\").nullable(),\n pageCount: z.number().int().describe(\"Total number of pages\").nullable(),\n}).describe(\"Pagination metadata.\");\nexport const PaystackListProductsOutput = z.object({\n data: z.array(PaystackListProducts_ProductDataSchema).describe(\"List of product objects\"),\n meta: PaystackListProducts_MetaDataSchema.nullable(),\n status: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n message: z.string().describe(\"Response message from the API\").nullable(),\n}).describe(\"Response containing the list of products.\");\n\nexport const paystackListProducts = action(\"PAYSTACK_LIST_PRODUCTS\", {\n slug: \"paystack-list-products\",\n name: \"List Products\",\n description: \"Tool to list products available on your integration. Use when you need to retrieve all products with optional filtering by date range, active status, and pagination support.\",\n input: PaystackListProductsInput,\n output: PaystackListProductsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC5F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACnF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,yDAA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SAAS;CACjF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-products.cjs","names":["z","action"],"sources":["../../src/actions/list-products.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackListProductsInput = z.object({\n page: z.number().int().describe(\"The section to retrieve (page number)\").optional(),\n active: z.boolean().describe(\"The state of the product - filter by active status\").optional(),\n perPage: z.number().int().describe(\"Number of records to fetch per page\").optional(),\n to_date: z.string().describe(\"The end date for filtering products\").optional(),\n from_date: z.string().describe(\"The start date for filtering products\").optional(),\n}).describe(\"Request to list products available on your integration.\");\nconst PaystackListProducts_ProductDataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the product\").nullable(),\n name: z.string().describe(\"Name of the product\").nullable(),\n slug: z.string().describe(\"URL slug for the product\").nullable(),\n type: z.string().describe(\"Type of the product\").nullable(),\n files: z.array(z.record(z.string(), z.unknown())).describe(\"List of files associated with the product\").nullable().optional(),\n price: z.number().int().describe(\"Price of the product in kobo (or lowest currency unit)\").nullable(),\n active: z.boolean().describe(\"Whether the product is active\").nullable(),\n domain: z.string().describe(\"The domain (test or live)\").nullable(),\n currency: z.string().describe(\"Currency code (e.g., NGN)\").nullable(),\n in_stock: z.boolean().describe(\"Whether the product is in stock\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata for the product\").nullable().optional(),\n quantity: z.number().int().describe(\"Available quantity of the product\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the product was created\").nullable(),\n unlimited: z.boolean().describe(\"Whether the product has unlimited quantity\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the product was last updated\").nullable(),\n split_code: z.string().describe(\"Split code for transaction splitting\").nullable().optional(),\n description: z.string().describe(\"Description of the product\").nullable(),\n integration: z.number().int().describe(\"The integration ID\").nullable(),\n is_shippable: z.boolean().describe(\"Whether the product requires shipping\").nullable(),\n product_code: z.string().describe(\"Unique product code\").nullable(),\n redirect_url: z.string().describe(\"URL to redirect to after purchase\").nullable().optional(),\n quantity_sold: z.number().int().describe(\"Number of units sold\").nullable(),\n digital_assets: z.array(z.record(z.string(), z.unknown())).describe(\"List of digital assets associated with the product\").nullable().optional(),\n low_stock_alert: z.number().int().describe(\"Low stock alert threshold\").nullable().optional(),\n shipping_fields: z.record(z.string(), z.unknown()).describe(\"Shipping configuration fields\").nullable().optional(),\n success_message: z.string().describe(\"Success message to display after purchase\").nullable().optional(),\n variant_options: z.array(z.record(z.string(), z.unknown())).describe(\"List of variant options for the product\").nullable().optional(),\n maximum_orderable: z.number().int().describe(\"Maximum quantity that can be ordered\").nullable().optional(),\n minimum_orderable: z.number().int().describe(\"Minimum quantity that can be ordered\").nullable(),\n notification_emails: z.string().describe(\"Email addresses for notifications\").nullable().optional(),\n}).passthrough().describe(\"Product information returned by the API.\");\nconst PaystackListProducts_MetaDataSchema = z.object({\n page: z.number().int().describe(\"Current page number\").nullable(),\n total: z.number().int().describe(\"Total number of products\").nullable(),\n perPage: z.union([z.string(), z.number().int()]),\n skipped: z.number().int().describe(\"Number of records skipped\").nullable(),\n pageCount: z.number().int().describe(\"Total number of pages\").nullable(),\n}).passthrough().describe(\"Pagination metadata.\");\nexport const PaystackListProductsOutput = z.object({\n data: z.array(PaystackListProducts_ProductDataSchema).describe(\"List of product objects\"),\n meta: PaystackListProducts_MetaDataSchema.nullable(),\n status: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n message: z.string().describe(\"Response message from the API\").nullable(),\n}).passthrough().describe(\"Response containing the list of products.\");\n\nexport const paystackListProducts = action(\"PAYSTACK_LIST_PRODUCTS\", {\n slug: \"paystack-list-products\",\n name: \"List Products\",\n description: \"Tool to list products available on your integration. Use when you need to retrieve all products with optional filtering by date range, active status, and pagination support.\",\n input: PaystackListProductsInput,\n output: PaystackListProductsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC5F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACnF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SA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.ZodNullable<z.ZodString>;
17
- files: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{}, z.core.$strip>>>>;
17
+ files: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
18
18
  price: z.ZodNullable<z.ZodNumber>;
19
19
  active: z.ZodNullable<z.ZodBoolean>;
20
20
  domain: z.ZodNullable<z.ZodString>;
21
21
  currency: z.ZodNullable<z.ZodString>;
22
22
  in_stock: z.ZodNullable<z.ZodBoolean>;
23
- metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
23
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
24
24
  quantity: z.ZodNullable<z.ZodNumber>;
25
25
  createdAt: z.ZodNullable<z.ZodString>;
26
26
  unlimited: z.ZodNullable<z.ZodBoolean>;
@@ -32,25 +32,25 @@ declare const PaystackListProductsOutput: z.ZodObject<{
32
32
  product_code: z.ZodNullable<z.ZodString>;
33
33
  redirect_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
34
  quantity_sold: z.ZodNullable<z.ZodNumber>;
35
- digital_assets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{}, z.core.$strip>>>>;
35
+ digital_assets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
36
36
  low_stock_alert: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
37
- shipping_fields: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
37
+ shipping_fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
38
38
  success_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
- variant_options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{}, z.core.$strip>>>>;
39
+ variant_options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
40
40
  maximum_orderable: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
41
41
  minimum_orderable: z.ZodNullable<z.ZodNumber>;
42
42
  notification_emails: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
- }, z.core.$strip>>;
43
+ }, z.core.$loose>>;
44
44
  meta: z.ZodNullable<z.ZodObject<{
45
45
  page: z.ZodNullable<z.ZodNumber>;
46
46
  total: z.ZodNullable<z.ZodNumber>;
47
47
  perPage: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
48
48
  skipped: z.ZodNullable<z.ZodNumber>;
49
49
  pageCount: z.ZodNullable<z.ZodNumber>;
50
- }, z.core.$strip>>;
50
+ }, z.core.$loose>>;
51
51
  status: z.ZodNullable<z.ZodBoolean>;
52
52
  message: z.ZodNullable<z.ZodString>;
53
- }, z.core.$strip>;
53
+ }, z.core.$loose>;
54
54
  declare const paystackListProducts: import("@keystrokehq/action").WorkflowActionDefinition<{
55
55
  page?: number | undefined;
56
56
  active?: boolean | undefined;
@@ -14,13 +14,13 @@ declare const PaystackListProductsOutput: z.ZodObject<{
14
14
  name: z.ZodNullable<z.ZodString>;
15
15
  slug: z.ZodNullable<z.ZodString>;
16
16
  type: z.ZodNullable<z.ZodString>;
17
- files: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{}, z.core.$strip>>>>;
17
+ files: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
18
18
  price: z.ZodNullable<z.ZodNumber>;
19
19
  active: z.ZodNullable<z.ZodBoolean>;
20
20
  domain: z.ZodNullable<z.ZodString>;
21
21
  currency: z.ZodNullable<z.ZodString>;
22
22
  in_stock: z.ZodNullable<z.ZodBoolean>;
23
- metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
23
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
24
24
  quantity: z.ZodNullable<z.ZodNumber>;
25
25
  createdAt: z.ZodNullable<z.ZodString>;
26
26
  unlimited: z.ZodNullable<z.ZodBoolean>;
@@ -32,25 +32,25 @@ declare const PaystackListProductsOutput: z.ZodObject<{
32
32
  product_code: z.ZodNullable<z.ZodString>;
33
33
  redirect_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
34
  quantity_sold: z.ZodNullable<z.ZodNumber>;
35
- digital_assets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{}, z.core.$strip>>>>;
35
+ digital_assets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
36
36
  low_stock_alert: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
37
- shipping_fields: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
37
+ shipping_fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
38
38
  success_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
- variant_options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{}, z.core.$strip>>>>;
39
+ variant_options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
40
40
  maximum_orderable: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
41
41
  minimum_orderable: z.ZodNullable<z.ZodNumber>;
42
42
  notification_emails: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
- }, z.core.$strip>>;
43
+ }, z.core.$loose>>;
44
44
  meta: z.ZodNullable<z.ZodObject<{
45
45
  page: z.ZodNullable<z.ZodNumber>;
46
46
  total: z.ZodNullable<z.ZodNumber>;
47
47
  perPage: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
48
48
  skipped: z.ZodNullable<z.ZodNumber>;
49
49
  pageCount: z.ZodNullable<z.ZodNumber>;
50
- }, z.core.$strip>>;
50
+ }, z.core.$loose>>;
51
51
  status: z.ZodNullable<z.ZodBoolean>;
52
52
  message: z.ZodNullable<z.ZodString>;
53
- }, z.core.$strip>;
53
+ }, z.core.$loose>;
54
54
  declare const paystackListProducts: import("@keystrokehq/action").WorkflowActionDefinition<{
55
55
  page?: number | undefined;
56
56
  active?: boolean | undefined;
@@ -13,13 +13,13 @@ const PaystackListProducts_ProductDataSchema = z.object({
13
13
  name: z.string().describe("Name of the product").nullable(),
14
14
  slug: z.string().describe("URL slug for the product").nullable(),
15
15
  type: z.string().describe("Type of the product").nullable(),
16
- files: z.array(z.object({})).describe("List of files associated with the product").nullable().optional(),
16
+ files: z.array(z.record(z.string(), z.unknown())).describe("List of files associated with the product").nullable().optional(),
17
17
  price: z.number().int().describe("Price of the product in kobo (or lowest currency unit)").nullable(),
18
18
  active: z.boolean().describe("Whether the product is active").nullable(),
19
19
  domain: z.string().describe("The domain (test or live)").nullable(),
20
20
  currency: z.string().describe("Currency code (e.g., NGN)").nullable(),
21
21
  in_stock: z.boolean().describe("Whether the product is in stock").nullable(),
22
- metadata: z.object({}).describe("Additional metadata for the product").nullable().optional(),
22
+ metadata: z.record(z.string(), z.unknown()).describe("Additional metadata for the product").nullable().optional(),
23
23
  quantity: z.number().int().describe("Available quantity of the product").nullable(),
24
24
  createdAt: z.string().describe("ISO 8601 timestamp when the product was created").nullable(),
25
25
  unlimited: z.boolean().describe("Whether the product has unlimited quantity").nullable(),
@@ -31,22 +31,22 @@ const PaystackListProducts_ProductDataSchema = z.object({
31
31
  product_code: z.string().describe("Unique product code").nullable(),
32
32
  redirect_url: z.string().describe("URL to redirect to after purchase").nullable().optional(),
33
33
  quantity_sold: z.number().int().describe("Number of units sold").nullable(),
34
- digital_assets: z.array(z.object({})).describe("List of digital assets associated with the product").nullable().optional(),
34
+ digital_assets: z.array(z.record(z.string(), z.unknown())).describe("List of digital assets associated with the product").nullable().optional(),
35
35
  low_stock_alert: z.number().int().describe("Low stock alert threshold").nullable().optional(),
36
- shipping_fields: z.object({}).describe("Shipping configuration fields").nullable().optional(),
36
+ shipping_fields: z.record(z.string(), z.unknown()).describe("Shipping configuration fields").nullable().optional(),
37
37
  success_message: z.string().describe("Success message to display after purchase").nullable().optional(),
38
- variant_options: z.array(z.object({})).describe("List of variant options for the product").nullable().optional(),
38
+ variant_options: z.array(z.record(z.string(), z.unknown())).describe("List of variant options for the product").nullable().optional(),
39
39
  maximum_orderable: z.number().int().describe("Maximum quantity that can be ordered").nullable().optional(),
40
40
  minimum_orderable: z.number().int().describe("Minimum quantity that can be ordered").nullable(),
41
41
  notification_emails: z.string().describe("Email addresses for notifications").nullable().optional()
42
- }).describe("Product information returned by the API.");
42
+ }).passthrough().describe("Product information returned by the API.");
43
43
  const PaystackListProducts_MetaDataSchema = z.object({
44
44
  page: z.number().int().describe("Current page number").nullable(),
45
45
  total: z.number().int().describe("Total number of products").nullable(),
46
46
  perPage: z.union([z.string(), z.number().int()]),
47
47
  skipped: z.number().int().describe("Number of records skipped").nullable(),
48
48
  pageCount: z.number().int().describe("Total number of pages").nullable()
49
- }).describe("Pagination metadata.");
49
+ }).passthrough().describe("Pagination metadata.");
50
50
  const paystackListProducts = action("PAYSTACK_LIST_PRODUCTS", {
51
51
  slug: "paystack-list-products",
52
52
  name: "List Products",
@@ -57,7 +57,7 @@ const paystackListProducts = action("PAYSTACK_LIST_PRODUCTS", {
57
57
  meta: PaystackListProducts_MetaDataSchema.nullable(),
58
58
  status: z.boolean().describe("Indicates if the request was successful").nullable(),
59
59
  message: z.string().describe("Response message from the API").nullable()
60
- }).describe("Response containing the list of products.")
60
+ }).passthrough().describe("Response containing the list of products.")
61
61
  });
62
62
  //#endregion
63
63
  export { paystackListProducts };
@@ -1 +1 @@
1
- {"version":3,"file":"list-products.mjs","names":[],"sources":["../../src/actions/list-products.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackListProductsInput = z.object({\n page: z.number().int().describe(\"The section to retrieve (page number)\").optional(),\n active: z.boolean().describe(\"The state of the product - filter by active status\").optional(),\n perPage: z.number().int().describe(\"Number of records to fetch per page\").optional(),\n to_date: z.string().describe(\"The end date for filtering products\").optional(),\n from_date: z.string().describe(\"The start date for filtering products\").optional(),\n}).describe(\"Request to list products available on your integration.\");\nconst PaystackListProducts_ProductDataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the product\").nullable(),\n name: z.string().describe(\"Name of the product\").nullable(),\n slug: z.string().describe(\"URL slug for the product\").nullable(),\n type: z.string().describe(\"Type of the product\").nullable(),\n files: z.array(z.object({})).describe(\"List of files associated with the product\").nullable().optional(),\n price: z.number().int().describe(\"Price of the product in kobo (or lowest currency unit)\").nullable(),\n active: z.boolean().describe(\"Whether the product is active\").nullable(),\n domain: z.string().describe(\"The domain (test or live)\").nullable(),\n currency: z.string().describe(\"Currency code (e.g., NGN)\").nullable(),\n in_stock: z.boolean().describe(\"Whether the product is in stock\").nullable(),\n metadata: z.object({}).describe(\"Additional metadata for the product\").nullable().optional(),\n quantity: z.number().int().describe(\"Available quantity of the product\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the product was created\").nullable(),\n unlimited: z.boolean().describe(\"Whether the product has unlimited quantity\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the product was last updated\").nullable(),\n split_code: z.string().describe(\"Split code for transaction splitting\").nullable().optional(),\n description: z.string().describe(\"Description of the product\").nullable(),\n integration: z.number().int().describe(\"The integration ID\").nullable(),\n is_shippable: z.boolean().describe(\"Whether the product requires shipping\").nullable(),\n product_code: z.string().describe(\"Unique product code\").nullable(),\n redirect_url: z.string().describe(\"URL to redirect to after purchase\").nullable().optional(),\n quantity_sold: z.number().int().describe(\"Number of units sold\").nullable(),\n digital_assets: z.array(z.object({})).describe(\"List of digital assets associated with the product\").nullable().optional(),\n low_stock_alert: z.number().int().describe(\"Low stock alert threshold\").nullable().optional(),\n shipping_fields: z.object({}).describe(\"Shipping configuration fields\").nullable().optional(),\n success_message: z.string().describe(\"Success message to display after purchase\").nullable().optional(),\n variant_options: z.array(z.object({})).describe(\"List of variant options for the product\").nullable().optional(),\n maximum_orderable: z.number().int().describe(\"Maximum quantity that can be ordered\").nullable().optional(),\n minimum_orderable: z.number().int().describe(\"Minimum quantity that can be ordered\").nullable(),\n notification_emails: z.string().describe(\"Email addresses for notifications\").nullable().optional(),\n}).describe(\"Product information returned by the API.\");\nconst PaystackListProducts_MetaDataSchema = z.object({\n page: z.number().int().describe(\"Current page number\").nullable(),\n total: z.number().int().describe(\"Total number of products\").nullable(),\n perPage: z.union([z.string(), z.number().int()]),\n skipped: z.number().int().describe(\"Number of records skipped\").nullable(),\n pageCount: z.number().int().describe(\"Total number of pages\").nullable(),\n}).describe(\"Pagination metadata.\");\nexport const PaystackListProductsOutput = z.object({\n data: z.array(PaystackListProducts_ProductDataSchema).describe(\"List of product objects\"),\n meta: PaystackListProducts_MetaDataSchema.nullable(),\n status: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n message: z.string().describe(\"Response message from the API\").nullable(),\n}).describe(\"Response containing the list of products.\");\n\nexport const paystackListProducts = action(\"PAYSTACK_LIST_PRODUCTS\", {\n slug: \"paystack-list-products\",\n name: \"List Products\",\n description: \"Tool to list products available on your integration. Use when you need to retrieve all products with optional filtering by date range, active status, and pagination support.\",\n input: PaystackListProductsInput,\n output: PaystackListProductsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC5F,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACnF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,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CAAC,CAAC,SAAS;CACzG,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC9F,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,sCAAsC,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAChE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACtE,SAAS,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;CAC/C,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACzE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,SAAS,sBAAsB;AAQlC,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZwC,EAAE,OAAO;EACjD,MAAM,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,yBAAyB;EACxF,MAAM,oCAAoC,SAAS;EACnD,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACjF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACzE,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-products.mjs","names":[],"sources":["../../src/actions/list-products.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackListProductsInput = z.object({\n page: z.number().int().describe(\"The section to retrieve (page number)\").optional(),\n active: z.boolean().describe(\"The state of the product - filter by active status\").optional(),\n perPage: z.number().int().describe(\"Number of records to fetch per page\").optional(),\n to_date: z.string().describe(\"The end date for filtering products\").optional(),\n from_date: z.string().describe(\"The start date for filtering products\").optional(),\n}).describe(\"Request to list products available on your integration.\");\nconst PaystackListProducts_ProductDataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the product\").nullable(),\n name: z.string().describe(\"Name of the product\").nullable(),\n slug: z.string().describe(\"URL slug for the product\").nullable(),\n type: z.string().describe(\"Type of the product\").nullable(),\n files: z.array(z.record(z.string(), z.unknown())).describe(\"List of files associated with the product\").nullable().optional(),\n price: z.number().int().describe(\"Price of the product in kobo (or lowest currency unit)\").nullable(),\n active: z.boolean().describe(\"Whether the product is active\").nullable(),\n domain: z.string().describe(\"The domain (test or live)\").nullable(),\n currency: z.string().describe(\"Currency code (e.g., NGN)\").nullable(),\n in_stock: z.boolean().describe(\"Whether the product is in stock\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata for the product\").nullable().optional(),\n quantity: z.number().int().describe(\"Available quantity of the product\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the product was created\").nullable(),\n unlimited: z.boolean().describe(\"Whether the product has unlimited quantity\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the product was last updated\").nullable(),\n split_code: z.string().describe(\"Split code for transaction splitting\").nullable().optional(),\n description: z.string().describe(\"Description of the product\").nullable(),\n integration: z.number().int().describe(\"The integration ID\").nullable(),\n is_shippable: z.boolean().describe(\"Whether the product requires shipping\").nullable(),\n product_code: z.string().describe(\"Unique product code\").nullable(),\n redirect_url: z.string().describe(\"URL to redirect to after purchase\").nullable().optional(),\n quantity_sold: z.number().int().describe(\"Number of units sold\").nullable(),\n digital_assets: z.array(z.record(z.string(), z.unknown())).describe(\"List of digital assets associated with the product\").nullable().optional(),\n low_stock_alert: z.number().int().describe(\"Low stock alert threshold\").nullable().optional(),\n shipping_fields: z.record(z.string(), z.unknown()).describe(\"Shipping configuration fields\").nullable().optional(),\n success_message: z.string().describe(\"Success message to display after purchase\").nullable().optional(),\n variant_options: z.array(z.record(z.string(), z.unknown())).describe(\"List of variant options for the product\").nullable().optional(),\n maximum_orderable: z.number().int().describe(\"Maximum quantity that can be ordered\").nullable().optional(),\n minimum_orderable: z.number().int().describe(\"Minimum quantity that can be ordered\").nullable(),\n notification_emails: z.string().describe(\"Email addresses for notifications\").nullable().optional(),\n}).passthrough().describe(\"Product information returned by the API.\");\nconst PaystackListProducts_MetaDataSchema = z.object({\n page: z.number().int().describe(\"Current page number\").nullable(),\n total: z.number().int().describe(\"Total number of products\").nullable(),\n perPage: z.union([z.string(), z.number().int()]),\n skipped: z.number().int().describe(\"Number of records skipped\").nullable(),\n pageCount: z.number().int().describe(\"Total number of pages\").nullable(),\n}).passthrough().describe(\"Pagination metadata.\");\nexport const PaystackListProductsOutput = z.object({\n data: z.array(PaystackListProducts_ProductDataSchema).describe(\"List of product objects\"),\n meta: PaystackListProducts_MetaDataSchema.nullable(),\n status: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n message: z.string().describe(\"Response message from the API\").nullable(),\n}).passthrough().describe(\"Response containing the list of products.\");\n\nexport const paystackListProducts = action(\"PAYSTACK_LIST_PRODUCTS\", {\n slug: \"paystack-list-products\",\n name: \"List Products\",\n description: \"Tool to list products available on your integration. Use when you need to retrieve all products with optional filtering by date range, active status, and pagination support.\",\n input: PaystackListProductsInput,\n output: PaystackListProductsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC5F,SAAS,EAAE,OAAO,CAAC,CAAC,IA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AM,oCAAoC,SAAS;EACnD,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACjF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
@@ -11,13 +11,13 @@ const PaystackListRefunds_RefundCustomerSchema = zod.z.object({
11
11
  id: zod.z.number().int().describe("Customer ID").nullable().optional(),
12
12
  email: zod.z.string().describe("Customer's email address").nullable().optional(),
13
13
  phone: zod.z.string().describe("Customer's phone number").nullable().optional(),
14
- metadata: zod.z.union([zod.z.string(), zod.z.object({})]).nullable().optional(),
14
+ metadata: zod.z.union([zod.z.string(), zod.z.record(zod.z.string(), zod.z.unknown())]).nullable().optional(),
15
15
  last_name: zod.z.string().describe("Customer's last name").nullable().optional(),
16
16
  first_name: zod.z.string().describe("Customer's first name").nullable().optional(),
17
17
  risk_action: zod.z.string().describe("Risk action status for the customer").nullable().optional(),
18
18
  customer_code: zod.z.string().describe("Unique customer code").nullable().optional(),
19
19
  international_format_phone: zod.z.string().describe("Phone number in international format").nullable().optional()
20
- }).describe("Customer details associated with the refund.");
20
+ }).passthrough().describe("Customer details associated with the refund.");
21
21
  const PaystackListRefunds_RefundItemSchema = zod.z.object({
22
22
  id: zod.z.string().describe("Unique refund ID").nullable(),
23
23
  amount: zod.z.number().int().describe("Refund amount in subunit (kobo for NGN, cents for USD, etc.)").nullable(),
@@ -29,23 +29,23 @@ const PaystackListRefunds_RefundItemSchema = zod.z.object({
29
29
  customer: PaystackListRefunds_RefundCustomerSchema.nullable().optional(),
30
30
  createdAt: zod.z.string().describe("ISO 8601 timestamp when the refund was created").nullable(),
31
31
  retriable: zod.z.boolean().describe("Whether the refund can be retried").nullable().optional(),
32
- session_id: zod.z.union([zod.z.string(), zod.z.object({})]).nullable().optional(),
32
+ session_id: zod.z.union([zod.z.string(), zod.z.record(zod.z.string(), zod.z.unknown())]).nullable().optional(),
33
33
  settlement: zod.z.union([zod.z.string(), zod.z.number().int()]).nullable().optional(),
34
34
  integration: zod.z.number().int().describe("Integration ID").nullable(),
35
35
  refund_type: zod.z.string().describe("Type of refund").nullable(),
36
- refunded_at: zod.z.union([zod.z.string(), zod.z.object({})]).nullable().optional(),
36
+ refunded_at: zod.z.union([zod.z.string(), zod.z.record(zod.z.string(), zod.z.unknown())]).nullable().optional(),
37
37
  refunded_by: zod.z.string().describe("Email of user who initiated the refund").nullable(),
38
38
  transaction: zod.z.number().int().describe("Transaction ID that was refunded").nullable(),
39
39
  initiated_by: zod.z.string().describe("Who initiated the refund").nullable(),
40
40
  customer_note: zod.z.string().describe("Note sent to the customer explaining the refund").nullable(),
41
41
  merchant_note: zod.z.string().describe("Internal merchant note about the refund").nullable(),
42
- bank_reference: zod.z.union([zod.z.string(), zod.z.object({})]).nullable().optional(),
42
+ bank_reference: zod.z.union([zod.z.string(), zod.z.record(zod.z.string(), zod.z.unknown())]).nullable().optional(),
43
43
  fully_deducted: zod.z.number().int().describe("Whether the refund amount was fully deducted (1 for yes, 0 for no)").nullable(),
44
44
  refund_channel: zod.z.string().describe("Channel through which the refund was processed").nullable(),
45
45
  deducted_amount: zod.z.number().int().describe("Amount actually deducted from merchant balance in subunit").nullable(),
46
46
  transaction_amount: zod.z.number().int().describe("Original transaction amount in subunit").nullable(),
47
47
  transaction_reference: zod.z.string().describe("Reference of the original transaction").nullable()
48
- }).describe("Individual refund data in the list.");
48
+ }).passthrough().describe("Individual refund data in the list.");
49
49
  const PaystackListRefunds_RefundPaginationMetaSchema = zod.z.object({
50
50
  page: zod.z.number().int().describe("Current page number").nullable(),
51
51
  total: zod.z.number().int().describe("Total number of refunds").nullable(),
@@ -54,13 +54,13 @@ const PaystackListRefunds_RefundPaginationMetaSchema = zod.z.object({
54
54
  pageCount: zod.z.number().int().describe("Total number of pages").nullable(),
55
55
  totalRetriable: zod.z.number().int().describe("Total number of retriable refunds").nullable().optional(),
56
56
  partialAmountLeft: zod.z.union([zod.z.number().int(), zod.z.string()]).nullable().optional()
57
- }).describe("Pagination metadata for the refund list response.");
57
+ }).passthrough().describe("Pagination metadata for the refund list response.");
58
58
  const PaystackListRefundsOutput = zod.z.object({
59
59
  data: zod.z.array(PaystackListRefunds_RefundItemSchema).describe("List of refunds"),
60
60
  meta: PaystackListRefunds_RefundPaginationMetaSchema.nullable(),
61
61
  status: zod.z.boolean().describe("Whether the request was successful").nullable(),
62
62
  message: zod.z.string().describe("Response message").nullable()
63
- }).describe("Response containing the list of refunds.");
63
+ }).passthrough().describe("Response containing the list of refunds.");
64
64
  const paystackListRefunds = require_action.action("PAYSTACK_LIST_REFUNDS", {
65
65
  slug: "paystack-list-refunds",
66
66
  name: "List Refunds",
@@ -1 +1 @@
1
- {"version":3,"file":"list-refunds.cjs","names":["z","action"],"sources":["../../src/actions/list-refunds.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackListRefundsInput = z.object({\n to: z.string().describe(\"The end date for filtering refunds (ISO 8601 format)\").optional(),\n from: z.string().describe(\"The start date for filtering refunds (ISO 8601 format)\").optional(),\n page: z.number().int().describe(\"The section to retrieve (page number)\").optional(),\n perPage: z.number().int().describe(\"Number of records to fetch per page\").optional(),\n}).describe(\"Request to list refunds available on your integration.\");\nconst PaystackListRefunds_RefundCustomerSchema = z.object({\n id: z.number().int().describe(\"Customer ID\").nullable().optional(),\n email: z.string().describe(\"Customer's email address\").nullable().optional(),\n phone: z.string().describe(\"Customer's phone number\").nullable().optional(),\n metadata: z.union([z.string(), z.object({})]).nullable().optional(),\n last_name: z.string().describe(\"Customer's last name\").nullable().optional(),\n first_name: z.string().describe(\"Customer's first name\").nullable().optional(),\n risk_action: z.string().describe(\"Risk action status for the customer\").nullable().optional(),\n customer_code: z.string().describe(\"Unique customer code\").nullable().optional(),\n international_format_phone: z.string().describe(\"Phone number in international format\").nullable().optional(),\n}).describe(\"Customer details associated with the refund.\");\nconst PaystackListRefunds_RefundItemSchema = z.object({\n id: z.string().describe(\"Unique refund ID\").nullable(),\n amount: z.number().int().describe(\"Refund amount in subunit (kobo for NGN, cents for USD, etc.)\").nullable(),\n domain: z.string().describe(\"Domain (test or live)\").nullable(),\n reason: z.string().describe(\"Reason for the refund\").nullable(),\n status: z.string().describe(\"Refund status (e.g., 'pending', 'processed', 'failed')\").nullable(),\n dispute: z.union([z.string(), z.number().int()]).nullable().optional(),\n currency: z.string().describe(\"Currency code (e.g., NGN, USD, GHS, ZAR, KES)\").nullable(),\n customer: PaystackListRefunds_RefundCustomerSchema.nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the refund was created\").nullable(),\n retriable: z.boolean().describe(\"Whether the refund can be retried\").nullable().optional(),\n session_id: z.union([z.string(), z.object({})]).nullable().optional(),\n settlement: z.union([z.string(), z.number().int()]).nullable().optional(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n refund_type: z.string().describe(\"Type of refund\").nullable(),\n refunded_at: z.union([z.string(), z.object({})]).nullable().optional(),\n refunded_by: z.string().describe(\"Email of user who initiated the refund\").nullable(),\n transaction: z.number().int().describe(\"Transaction ID that was refunded\").nullable(),\n initiated_by: z.string().describe(\"Who initiated the refund\").nullable(),\n customer_note: z.string().describe(\"Note sent to the customer explaining the refund\").nullable(),\n merchant_note: z.string().describe(\"Internal merchant note about the refund\").nullable(),\n bank_reference: z.union([z.string(), z.object({})]).nullable().optional(),\n fully_deducted: z.number().int().describe(\"Whether the refund amount was fully deducted (1 for yes, 0 for no)\").nullable(),\n refund_channel: z.string().describe(\"Channel through which the refund was processed\").nullable(),\n deducted_amount: z.number().int().describe(\"Amount actually deducted from merchant balance in subunit\").nullable(),\n transaction_amount: z.number().int().describe(\"Original transaction amount in subunit\").nullable(),\n transaction_reference: z.string().describe(\"Reference of the original transaction\").nullable(),\n}).describe(\"Individual refund data in the list.\");\nconst PaystackListRefunds_RefundPaginationMetaSchema = z.object({\n page: z.number().int().describe(\"Current page number\").nullable(),\n total: z.number().int().describe(\"Total number of refunds\").nullable(),\n perPage: z.union([z.number().int(), z.string()]),\n skipped: z.number().int().describe(\"Number of records skipped\").nullable(),\n pageCount: z.number().int().describe(\"Total number of pages\").nullable(),\n totalRetriable: z.number().int().describe(\"Total number of retriable refunds\").nullable().optional(),\n partialAmountLeft: z.union([z.number().int(), z.string()]).nullable().optional(),\n}).describe(\"Pagination metadata for the refund list response.\");\nexport const PaystackListRefundsOutput = z.object({\n data: z.array(PaystackListRefunds_RefundItemSchema).describe(\"List of refunds\"),\n meta: PaystackListRefunds_RefundPaginationMetaSchema.nullable(),\n status: z.boolean().describe(\"Whether the request was successful\").nullable(),\n message: z.string().describe(\"Response message\").nullable(),\n}).describe(\"Response containing the list of refunds.\");\n\nexport const paystackListRefunds = action(\"PAYSTACK_LIST_REFUNDS\", {\n slug: \"paystack-list-refunds\",\n name: \"List Refunds\",\n description: \"Tool to list refunds available on your integration. Use when you need to retrieve a list of refunds with optional filters for date range and pagination.\",\n input: PaystackListRefundsInput,\n output: PaystackListRefundsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC7F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,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IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC;CAC/C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACzE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACvE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,mBAAmBA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,iBAAiB;CAC9E,MAAM,+CAA+C,SAAS;CAC9D,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC5E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;AAC5D,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAEtD,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-refunds.cjs","names":["z","action"],"sources":["../../src/actions/list-refunds.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackListRefundsInput = z.object({\n to: z.string().describe(\"The end date for filtering refunds (ISO 8601 format)\").optional(),\n from: z.string().describe(\"The start date for filtering refunds (ISO 8601 format)\").optional(),\n page: z.number().int().describe(\"The section to retrieve (page number)\").optional(),\n perPage: z.number().int().describe(\"Number of records to fetch per page\").optional(),\n}).describe(\"Request to list refunds available on your integration.\");\nconst PaystackListRefunds_RefundCustomerSchema = z.object({\n id: z.number().int().describe(\"Customer ID\").nullable().optional(),\n email: z.string().describe(\"Customer's email address\").nullable().optional(),\n phone: z.string().describe(\"Customer's phone number\").nullable().optional(),\n metadata: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n last_name: z.string().describe(\"Customer's last name\").nullable().optional(),\n first_name: z.string().describe(\"Customer's first name\").nullable().optional(),\n risk_action: z.string().describe(\"Risk action status for the customer\").nullable().optional(),\n customer_code: z.string().describe(\"Unique customer code\").nullable().optional(),\n international_format_phone: z.string().describe(\"Phone number in international format\").nullable().optional(),\n}).passthrough().describe(\"Customer details associated with the refund.\");\nconst PaystackListRefunds_RefundItemSchema = z.object({\n id: z.string().describe(\"Unique refund ID\").nullable(),\n amount: z.number().int().describe(\"Refund amount in subunit (kobo for NGN, cents for USD, etc.)\").nullable(),\n domain: z.string().describe(\"Domain (test or live)\").nullable(),\n reason: z.string().describe(\"Reason for the refund\").nullable(),\n status: z.string().describe(\"Refund status (e.g., 'pending', 'processed', 'failed')\").nullable(),\n dispute: z.union([z.string(), z.number().int()]).nullable().optional(),\n currency: z.string().describe(\"Currency code (e.g., NGN, USD, GHS, ZAR, KES)\").nullable(),\n customer: PaystackListRefunds_RefundCustomerSchema.nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the refund was created\").nullable(),\n retriable: z.boolean().describe(\"Whether the refund can be retried\").nullable().optional(),\n session_id: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n settlement: z.union([z.string(), z.number().int()]).nullable().optional(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n refund_type: z.string().describe(\"Type of refund\").nullable(),\n refunded_at: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n refunded_by: z.string().describe(\"Email of user who initiated the refund\").nullable(),\n transaction: z.number().int().describe(\"Transaction ID that was refunded\").nullable(),\n initiated_by: z.string().describe(\"Who initiated the refund\").nullable(),\n customer_note: z.string().describe(\"Note sent to the customer explaining the refund\").nullable(),\n merchant_note: z.string().describe(\"Internal merchant note about the refund\").nullable(),\n bank_reference: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n fully_deducted: z.number().int().describe(\"Whether the refund amount was fully deducted (1 for yes, 0 for no)\").nullable(),\n refund_channel: z.string().describe(\"Channel through which the refund was processed\").nullable(),\n deducted_amount: z.number().int().describe(\"Amount actually deducted from merchant balance in subunit\").nullable(),\n transaction_amount: z.number().int().describe(\"Original transaction amount in subunit\").nullable(),\n transaction_reference: z.string().describe(\"Reference of the original transaction\").nullable(),\n}).passthrough().describe(\"Individual refund data in the list.\");\nconst PaystackListRefunds_RefundPaginationMetaSchema = z.object({\n page: z.number().int().describe(\"Current page number\").nullable(),\n total: z.number().int().describe(\"Total number of refunds\").nullable(),\n perPage: z.union([z.number().int(), z.string()]),\n skipped: z.number().int().describe(\"Number of records skipped\").nullable(),\n pageCount: z.number().int().describe(\"Total number of pages\").nullable(),\n totalRetriable: z.number().int().describe(\"Total number of retriable refunds\").nullable().optional(),\n partialAmountLeft: z.union([z.number().int(), z.string()]).nullable().optional(),\n}).passthrough().describe(\"Pagination metadata for the refund list response.\");\nexport const PaystackListRefundsOutput = z.object({\n data: z.array(PaystackListRefunds_RefundItemSchema).describe(\"List of refunds\"),\n meta: PaystackListRefunds_RefundPaginationMetaSchema.nullable(),\n status: z.boolean().describe(\"Whether the request was successful\").nullable(),\n message: z.string().describe(\"Response message\").nullable(),\n}).passthrough().describe(\"Response containing the list of refunds.\");\n\nexport const paystackListRefunds = action(\"PAYSTACK_LIST_REFUNDS\", {\n slug: \"paystack-list-refunds\",\n name: \"List Refunds\",\n description: \"Tool to list refunds available on your integration. Use when you need to retrieve a list of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,mBAAmBA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,iBAAiB;CAC9E,MAAM,+CAA+C,SAAS;CAC9D,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC5E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;AAC5D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -20,32 +20,32 @@ declare const PaystackListRefundsOutput: z.ZodObject<{
20
20
  id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
21
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
22
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
- metadata: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{}, z.core.$strip>]>>>;
23
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
24
24
  last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
25
  first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
26
  risk_action: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
27
  customer_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
28
  international_format_phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
- }, z.core.$strip>>>;
29
+ }, z.core.$loose>>>;
30
30
  createdAt: z.ZodNullable<z.ZodString>;
31
31
  retriable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
32
- session_id: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{}, z.core.$strip>]>>>;
32
+ session_id: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
33
33
  settlement: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
34
34
  integration: z.ZodNullable<z.ZodNumber>;
35
35
  refund_type: z.ZodNullable<z.ZodString>;
36
- refunded_at: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{}, z.core.$strip>]>>>;
36
+ refunded_at: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
37
37
  refunded_by: z.ZodNullable<z.ZodString>;
38
38
  transaction: z.ZodNullable<z.ZodNumber>;
39
39
  initiated_by: z.ZodNullable<z.ZodString>;
40
40
  customer_note: z.ZodNullable<z.ZodString>;
41
41
  merchant_note: z.ZodNullable<z.ZodString>;
42
- bank_reference: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{}, z.core.$strip>]>>>;
42
+ bank_reference: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
43
43
  fully_deducted: z.ZodNullable<z.ZodNumber>;
44
44
  refund_channel: z.ZodNullable<z.ZodString>;
45
45
  deducted_amount: z.ZodNullable<z.ZodNumber>;
46
46
  transaction_amount: z.ZodNullable<z.ZodNumber>;
47
47
  transaction_reference: z.ZodNullable<z.ZodString>;
48
- }, z.core.$strip>>;
48
+ }, z.core.$loose>>;
49
49
  meta: z.ZodNullable<z.ZodObject<{
50
50
  page: z.ZodNullable<z.ZodNumber>;
51
51
  total: z.ZodNullable<z.ZodNumber>;
@@ -54,10 +54,10 @@ declare const PaystackListRefundsOutput: z.ZodObject<{
54
54
  pageCount: z.ZodNullable<z.ZodNumber>;
55
55
  totalRetriable: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
56
56
  partialAmountLeft: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
57
- }, z.core.$strip>>;
57
+ }, z.core.$loose>>;
58
58
  status: z.ZodNullable<z.ZodBoolean>;
59
59
  message: z.ZodNullable<z.ZodString>;
60
- }, z.core.$strip>;
60
+ }, z.core.$loose>;
61
61
  declare const paystackListRefunds: import("@keystrokehq/action").WorkflowActionDefinition<{
62
62
  to?: string | undefined;
63
63
  from?: string | undefined;
@@ -20,32 +20,32 @@ declare const PaystackListRefundsOutput: z.ZodObject<{
20
20
  id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
21
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
22
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
- metadata: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{}, z.core.$strip>]>>>;
23
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
24
24
  last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
25
  first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
26
  risk_action: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
27
  customer_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
28
  international_format_phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
- }, z.core.$strip>>>;
29
+ }, z.core.$loose>>>;
30
30
  createdAt: z.ZodNullable<z.ZodString>;
31
31
  retriable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
32
- session_id: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{}, z.core.$strip>]>>>;
32
+ session_id: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
33
33
  settlement: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
34
34
  integration: z.ZodNullable<z.ZodNumber>;
35
35
  refund_type: z.ZodNullable<z.ZodString>;
36
- refunded_at: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{}, z.core.$strip>]>>>;
36
+ refunded_at: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
37
37
  refunded_by: z.ZodNullable<z.ZodString>;
38
38
  transaction: z.ZodNullable<z.ZodNumber>;
39
39
  initiated_by: z.ZodNullable<z.ZodString>;
40
40
  customer_note: z.ZodNullable<z.ZodString>;
41
41
  merchant_note: z.ZodNullable<z.ZodString>;
42
- bank_reference: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{}, z.core.$strip>]>>>;
42
+ bank_reference: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
43
43
  fully_deducted: z.ZodNullable<z.ZodNumber>;
44
44
  refund_channel: z.ZodNullable<z.ZodString>;
45
45
  deducted_amount: z.ZodNullable<z.ZodNumber>;
46
46
  transaction_amount: z.ZodNullable<z.ZodNumber>;
47
47
  transaction_reference: z.ZodNullable<z.ZodString>;
48
- }, z.core.$strip>>;
48
+ }, z.core.$loose>>;
49
49
  meta: z.ZodNullable<z.ZodObject<{
50
50
  page: z.ZodNullable<z.ZodNumber>;
51
51
  total: z.ZodNullable<z.ZodNumber>;
@@ -54,10 +54,10 @@ declare const PaystackListRefundsOutput: z.ZodObject<{
54
54
  pageCount: z.ZodNullable<z.ZodNumber>;
55
55
  totalRetriable: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
56
56
  partialAmountLeft: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
57
- }, z.core.$strip>>;
57
+ }, z.core.$loose>>;
58
58
  status: z.ZodNullable<z.ZodBoolean>;
59
59
  message: z.ZodNullable<z.ZodString>;
60
- }, z.core.$strip>;
60
+ }, z.core.$loose>;
61
61
  declare const paystackListRefunds: import("@keystrokehq/action").WorkflowActionDefinition<{
62
62
  to?: string | undefined;
63
63
  from?: string | undefined;
@@ -11,13 +11,13 @@ const PaystackListRefunds_RefundCustomerSchema = z.object({
11
11
  id: z.number().int().describe("Customer ID").nullable().optional(),
12
12
  email: z.string().describe("Customer's email address").nullable().optional(),
13
13
  phone: z.string().describe("Customer's phone number").nullable().optional(),
14
- metadata: z.union([z.string(), z.object({})]).nullable().optional(),
14
+ metadata: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),
15
15
  last_name: z.string().describe("Customer's last name").nullable().optional(),
16
16
  first_name: z.string().describe("Customer's first name").nullable().optional(),
17
17
  risk_action: z.string().describe("Risk action status for the customer").nullable().optional(),
18
18
  customer_code: z.string().describe("Unique customer code").nullable().optional(),
19
19
  international_format_phone: z.string().describe("Phone number in international format").nullable().optional()
20
- }).describe("Customer details associated with the refund.");
20
+ }).passthrough().describe("Customer details associated with the refund.");
21
21
  const PaystackListRefunds_RefundItemSchema = z.object({
22
22
  id: z.string().describe("Unique refund ID").nullable(),
23
23
  amount: z.number().int().describe("Refund amount in subunit (kobo for NGN, cents for USD, etc.)").nullable(),
@@ -29,23 +29,23 @@ const PaystackListRefunds_RefundItemSchema = z.object({
29
29
  customer: PaystackListRefunds_RefundCustomerSchema.nullable().optional(),
30
30
  createdAt: z.string().describe("ISO 8601 timestamp when the refund was created").nullable(),
31
31
  retriable: z.boolean().describe("Whether the refund can be retried").nullable().optional(),
32
- session_id: z.union([z.string(), z.object({})]).nullable().optional(),
32
+ session_id: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),
33
33
  settlement: z.union([z.string(), z.number().int()]).nullable().optional(),
34
34
  integration: z.number().int().describe("Integration ID").nullable(),
35
35
  refund_type: z.string().describe("Type of refund").nullable(),
36
- refunded_at: z.union([z.string(), z.object({})]).nullable().optional(),
36
+ refunded_at: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),
37
37
  refunded_by: z.string().describe("Email of user who initiated the refund").nullable(),
38
38
  transaction: z.number().int().describe("Transaction ID that was refunded").nullable(),
39
39
  initiated_by: z.string().describe("Who initiated the refund").nullable(),
40
40
  customer_note: z.string().describe("Note sent to the customer explaining the refund").nullable(),
41
41
  merchant_note: z.string().describe("Internal merchant note about the refund").nullable(),
42
- bank_reference: z.union([z.string(), z.object({})]).nullable().optional(),
42
+ bank_reference: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),
43
43
  fully_deducted: z.number().int().describe("Whether the refund amount was fully deducted (1 for yes, 0 for no)").nullable(),
44
44
  refund_channel: z.string().describe("Channel through which the refund was processed").nullable(),
45
45
  deducted_amount: z.number().int().describe("Amount actually deducted from merchant balance in subunit").nullable(),
46
46
  transaction_amount: z.number().int().describe("Original transaction amount in subunit").nullable(),
47
47
  transaction_reference: z.string().describe("Reference of the original transaction").nullable()
48
- }).describe("Individual refund data in the list.");
48
+ }).passthrough().describe("Individual refund data in the list.");
49
49
  const PaystackListRefunds_RefundPaginationMetaSchema = z.object({
50
50
  page: z.number().int().describe("Current page number").nullable(),
51
51
  total: z.number().int().describe("Total number of refunds").nullable(),
@@ -54,7 +54,7 @@ const PaystackListRefunds_RefundPaginationMetaSchema = z.object({
54
54
  pageCount: z.number().int().describe("Total number of pages").nullable(),
55
55
  totalRetriable: z.number().int().describe("Total number of retriable refunds").nullable().optional(),
56
56
  partialAmountLeft: z.union([z.number().int(), z.string()]).nullable().optional()
57
- }).describe("Pagination metadata for the refund list response.");
57
+ }).passthrough().describe("Pagination metadata for the refund list response.");
58
58
  const paystackListRefunds = action("PAYSTACK_LIST_REFUNDS", {
59
59
  slug: "paystack-list-refunds",
60
60
  name: "List Refunds",
@@ -65,7 +65,7 @@ const paystackListRefunds = action("PAYSTACK_LIST_REFUNDS", {
65
65
  meta: PaystackListRefunds_RefundPaginationMetaSchema.nullable(),
66
66
  status: z.boolean().describe("Whether the request was successful").nullable(),
67
67
  message: z.string().describe("Response message").nullable()
68
- }).describe("Response containing the list of refunds.")
68
+ }).passthrough().describe("Response containing the list of refunds.")
69
69
  });
70
70
  //#endregion
71
71
  export { paystackListRefunds };