@keystrokehq/paystack 0.1.4 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (909) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-products-to-page.cjs +1 -0
  4. package/dist/actions/add-products-to-page.cjs.map +1 -1
  5. package/dist/actions/add-products-to-page.d.cts +3 -4
  6. package/dist/actions/add-products-to-page.d.cts.map +1 -1
  7. package/dist/actions/add-products-to-page.d.mts +3 -4
  8. package/dist/actions/add-products-to-page.d.mts.map +1 -1
  9. package/dist/actions/add-products-to-page.mjs +1 -0
  10. package/dist/actions/add-products-to-page.mjs.map +1 -1
  11. package/dist/actions/add-products-to-storefront.cjs +1 -0
  12. package/dist/actions/add-products-to-storefront.cjs.map +1 -1
  13. package/dist/actions/add-products-to-storefront.d.cts +3 -4
  14. package/dist/actions/add-products-to-storefront.d.cts.map +1 -1
  15. package/dist/actions/add-products-to-storefront.d.mts +3 -4
  16. package/dist/actions/add-products-to-storefront.d.mts.map +1 -1
  17. package/dist/actions/add-products-to-storefront.mjs +1 -0
  18. package/dist/actions/add-products-to-storefront.mjs.map +1 -1
  19. package/dist/actions/add-split-code-to-virtual-terminal.cjs +1 -0
  20. package/dist/actions/add-split-code-to-virtual-terminal.cjs.map +1 -1
  21. package/dist/actions/add-split-code-to-virtual-terminal.d.cts +3 -4
  22. package/dist/actions/add-split-code-to-virtual-terminal.d.cts.map +1 -1
  23. package/dist/actions/add-split-code-to-virtual-terminal.d.mts +3 -4
  24. package/dist/actions/add-split-code-to-virtual-terminal.d.mts.map +1 -1
  25. package/dist/actions/add-split-code-to-virtual-terminal.mjs +1 -0
  26. package/dist/actions/add-split-code-to-virtual-terminal.mjs.map +1 -1
  27. package/dist/actions/add-subaccount-to-split.cjs +1 -0
  28. package/dist/actions/add-subaccount-to-split.cjs.map +1 -1
  29. package/dist/actions/add-subaccount-to-split.d.cts +3 -5
  30. package/dist/actions/add-subaccount-to-split.d.cts.map +1 -1
  31. package/dist/actions/add-subaccount-to-split.d.mts +3 -5
  32. package/dist/actions/add-subaccount-to-split.d.mts.map +1 -1
  33. package/dist/actions/add-subaccount-to-split.mjs +1 -0
  34. package/dist/actions/add-subaccount-to-split.mjs.map +1 -1
  35. package/dist/actions/archive-payment-request.cjs +1 -0
  36. package/dist/actions/archive-payment-request.cjs.map +1 -1
  37. package/dist/actions/archive-payment-request.d.cts +3 -3
  38. package/dist/actions/archive-payment-request.d.cts.map +1 -1
  39. package/dist/actions/archive-payment-request.d.mts +3 -3
  40. package/dist/actions/archive-payment-request.d.mts.map +1 -1
  41. package/dist/actions/archive-payment-request.mjs +1 -0
  42. package/dist/actions/archive-payment-request.mjs.map +1 -1
  43. package/dist/actions/assign-destination-to-virtual-terminal.cjs +1 -0
  44. package/dist/actions/assign-destination-to-virtual-terminal.cjs.map +1 -1
  45. package/dist/actions/assign-destination-to-virtual-terminal.d.cts +3 -8
  46. package/dist/actions/assign-destination-to-virtual-terminal.d.cts.map +1 -1
  47. package/dist/actions/assign-destination-to-virtual-terminal.d.mts +3 -8
  48. package/dist/actions/assign-destination-to-virtual-terminal.d.mts.map +1 -1
  49. package/dist/actions/assign-destination-to-virtual-terminal.mjs +1 -0
  50. package/dist/actions/assign-destination-to-virtual-terminal.mjs.map +1 -1
  51. package/dist/actions/check-pending-charge.cjs +1 -0
  52. package/dist/actions/check-pending-charge.cjs.map +1 -1
  53. package/dist/actions/check-pending-charge.d.cts +3 -3
  54. package/dist/actions/check-pending-charge.d.cts.map +1 -1
  55. package/dist/actions/check-pending-charge.d.mts +3 -3
  56. package/dist/actions/check-pending-charge.d.mts.map +1 -1
  57. package/dist/actions/check-pending-charge.mjs +1 -0
  58. package/dist/actions/check-pending-charge.mjs.map +1 -1
  59. package/dist/actions/check-slug-availability.cjs +1 -0
  60. package/dist/actions/check-slug-availability.cjs.map +1 -1
  61. package/dist/actions/check-slug-availability.d.cts +3 -3
  62. package/dist/actions/check-slug-availability.d.cts.map +1 -1
  63. package/dist/actions/check-slug-availability.d.mts +3 -3
  64. package/dist/actions/check-slug-availability.d.mts.map +1 -1
  65. package/dist/actions/check-slug-availability.mjs +1 -0
  66. package/dist/actions/check-slug-availability.mjs.map +1 -1
  67. package/dist/actions/create-bulk-transfer-recipient.cjs +1 -0
  68. package/dist/actions/create-bulk-transfer-recipient.cjs.map +1 -1
  69. package/dist/actions/create-bulk-transfer-recipient.d.cts +3 -13
  70. package/dist/actions/create-bulk-transfer-recipient.d.cts.map +1 -1
  71. package/dist/actions/create-bulk-transfer-recipient.d.mts +3 -13
  72. package/dist/actions/create-bulk-transfer-recipient.d.mts.map +1 -1
  73. package/dist/actions/create-bulk-transfer-recipient.mjs +1 -0
  74. package/dist/actions/create-bulk-transfer-recipient.mjs.map +1 -1
  75. package/dist/actions/create-charge.cjs +1 -0
  76. package/dist/actions/create-charge.cjs.map +1 -1
  77. package/dist/actions/create-charge.d.cts +3 -21
  78. package/dist/actions/create-charge.d.cts.map +1 -1
  79. package/dist/actions/create-charge.d.mts +3 -21
  80. package/dist/actions/create-charge.d.mts.map +1 -1
  81. package/dist/actions/create-charge.mjs +1 -0
  82. package/dist/actions/create-charge.mjs.map +1 -1
  83. package/dist/actions/create-customer.cjs +1 -0
  84. package/dist/actions/create-customer.cjs.map +1 -1
  85. package/dist/actions/create-customer.d.cts +3 -7
  86. package/dist/actions/create-customer.d.cts.map +1 -1
  87. package/dist/actions/create-customer.d.mts +3 -7
  88. package/dist/actions/create-customer.d.mts.map +1 -1
  89. package/dist/actions/create-customer.mjs +1 -0
  90. package/dist/actions/create-customer.mjs.map +1 -1
  91. package/dist/actions/create-payment-page.cjs +1 -0
  92. package/dist/actions/create-payment-page.cjs.map +1 -1
  93. package/dist/actions/create-payment-page.d.cts +5 -19
  94. package/dist/actions/create-payment-page.d.cts.map +1 -1
  95. package/dist/actions/create-payment-page.d.mts +5 -19
  96. package/dist/actions/create-payment-page.d.mts.map +1 -1
  97. package/dist/actions/create-payment-page.mjs +1 -0
  98. package/dist/actions/create-payment-page.mjs.map +1 -1
  99. package/dist/actions/create-payment-request.cjs +1 -0
  100. package/dist/actions/create-payment-request.cjs.map +1 -1
  101. package/dist/actions/create-payment-request.d.cts +4 -24
  102. package/dist/actions/create-payment-request.d.cts.map +1 -1
  103. package/dist/actions/create-payment-request.d.mts +4 -24
  104. package/dist/actions/create-payment-request.d.mts.map +1 -1
  105. package/dist/actions/create-payment-request.mjs +1 -0
  106. package/dist/actions/create-payment-request.mjs.map +1 -1
  107. package/dist/actions/create-plan.cjs +1 -0
  108. package/dist/actions/create-plan.cjs.map +1 -1
  109. package/dist/actions/create-plan.d.cts +3 -10
  110. package/dist/actions/create-plan.d.cts.map +1 -1
  111. package/dist/actions/create-plan.d.mts +3 -10
  112. package/dist/actions/create-plan.d.mts.map +1 -1
  113. package/dist/actions/create-plan.mjs +1 -0
  114. package/dist/actions/create-plan.mjs.map +1 -1
  115. package/dist/actions/create-refund.cjs +1 -0
  116. package/dist/actions/create-refund.cjs.map +1 -1
  117. package/dist/actions/create-refund.d.cts +5 -9
  118. package/dist/actions/create-refund.d.cts.map +1 -1
  119. package/dist/actions/create-refund.d.mts +5 -9
  120. package/dist/actions/create-refund.d.mts.map +1 -1
  121. package/dist/actions/create-refund.mjs +1 -0
  122. package/dist/actions/create-refund.mjs.map +1 -1
  123. package/dist/actions/create-split.cjs +1 -0
  124. package/dist/actions/create-split.cjs.map +1 -1
  125. package/dist/actions/create-split.d.cts +5 -14
  126. package/dist/actions/create-split.d.cts.map +1 -1
  127. package/dist/actions/create-split.d.mts +5 -14
  128. package/dist/actions/create-split.d.mts.map +1 -1
  129. package/dist/actions/create-split.mjs +1 -0
  130. package/dist/actions/create-split.mjs.map +1 -1
  131. package/dist/actions/create-storefront.cjs +1 -0
  132. package/dist/actions/create-storefront.cjs.map +1 -1
  133. package/dist/actions/create-storefront.d.cts +5 -8
  134. package/dist/actions/create-storefront.d.cts.map +1 -1
  135. package/dist/actions/create-storefront.d.mts +5 -8
  136. package/dist/actions/create-storefront.d.mts.map +1 -1
  137. package/dist/actions/create-storefront.mjs +1 -0
  138. package/dist/actions/create-storefront.mjs.map +1 -1
  139. package/dist/actions/create-subaccount.cjs +1 -0
  140. package/dist/actions/create-subaccount.cjs.map +1 -1
  141. package/dist/actions/create-subaccount.d.cts +3 -11
  142. package/dist/actions/create-subaccount.d.cts.map +1 -1
  143. package/dist/actions/create-subaccount.d.mts +3 -11
  144. package/dist/actions/create-subaccount.d.mts.map +1 -1
  145. package/dist/actions/create-subaccount.mjs +1 -0
  146. package/dist/actions/create-subaccount.mjs.map +1 -1
  147. package/dist/actions/create-transfer-recipient.cjs +1 -0
  148. package/dist/actions/create-transfer-recipient.cjs.map +1 -1
  149. package/dist/actions/create-transfer-recipient.d.cts +5 -13
  150. package/dist/actions/create-transfer-recipient.d.cts.map +1 -1
  151. package/dist/actions/create-transfer-recipient.d.mts +5 -13
  152. package/dist/actions/create-transfer-recipient.d.mts.map +1 -1
  153. package/dist/actions/create-transfer-recipient.mjs +1 -0
  154. package/dist/actions/create-transfer-recipient.mjs.map +1 -1
  155. package/dist/actions/create-virtual-terminal.cjs +1 -0
  156. package/dist/actions/create-virtual-terminal.cjs.map +1 -1
  157. package/dist/actions/create-virtual-terminal.d.cts +3 -10
  158. package/dist/actions/create-virtual-terminal.d.cts.map +1 -1
  159. package/dist/actions/create-virtual-terminal.d.mts +3 -10
  160. package/dist/actions/create-virtual-terminal.d.mts.map +1 -1
  161. package/dist/actions/create-virtual-terminal.mjs +1 -0
  162. package/dist/actions/create-virtual-terminal.mjs.map +1 -1
  163. package/dist/actions/deactivate-authorization.cjs +1 -0
  164. package/dist/actions/deactivate-authorization.cjs.map +1 -1
  165. package/dist/actions/deactivate-authorization.d.cts +3 -3
  166. package/dist/actions/deactivate-authorization.d.cts.map +1 -1
  167. package/dist/actions/deactivate-authorization.d.mts +3 -3
  168. package/dist/actions/deactivate-authorization.d.mts.map +1 -1
  169. package/dist/actions/deactivate-authorization.mjs +1 -0
  170. package/dist/actions/deactivate-authorization.mjs.map +1 -1
  171. package/dist/actions/deactivate-virtual-terminal.cjs +1 -0
  172. package/dist/actions/deactivate-virtual-terminal.cjs.map +1 -1
  173. package/dist/actions/deactivate-virtual-terminal.d.cts +3 -3
  174. package/dist/actions/deactivate-virtual-terminal.d.cts.map +1 -1
  175. package/dist/actions/deactivate-virtual-terminal.d.mts +3 -3
  176. package/dist/actions/deactivate-virtual-terminal.d.mts.map +1 -1
  177. package/dist/actions/deactivate-virtual-terminal.mjs +1 -0
  178. package/dist/actions/deactivate-virtual-terminal.mjs.map +1 -1
  179. package/dist/actions/delete-product.cjs +1 -0
  180. package/dist/actions/delete-product.cjs.map +1 -1
  181. package/dist/actions/delete-product.d.cts +3 -3
  182. package/dist/actions/delete-product.d.cts.map +1 -1
  183. package/dist/actions/delete-product.d.mts +3 -3
  184. package/dist/actions/delete-product.d.mts.map +1 -1
  185. package/dist/actions/delete-product.mjs +1 -0
  186. package/dist/actions/delete-product.mjs.map +1 -1
  187. package/dist/actions/delete-storefront.cjs +1 -0
  188. package/dist/actions/delete-storefront.cjs.map +1 -1
  189. package/dist/actions/delete-storefront.d.cts +3 -3
  190. package/dist/actions/delete-storefront.d.cts.map +1 -1
  191. package/dist/actions/delete-storefront.d.mts +3 -3
  192. package/dist/actions/delete-storefront.d.mts.map +1 -1
  193. package/dist/actions/delete-storefront.mjs +1 -0
  194. package/dist/actions/delete-storefront.mjs.map +1 -1
  195. package/dist/actions/delete-transfer-recipient.cjs +1 -0
  196. package/dist/actions/delete-transfer-recipient.cjs.map +1 -1
  197. package/dist/actions/delete-transfer-recipient.d.cts +3 -3
  198. package/dist/actions/delete-transfer-recipient.d.cts.map +1 -1
  199. package/dist/actions/delete-transfer-recipient.d.mts +3 -3
  200. package/dist/actions/delete-transfer-recipient.d.mts.map +1 -1
  201. package/dist/actions/delete-transfer-recipient.mjs +1 -0
  202. package/dist/actions/delete-transfer-recipient.mjs.map +1 -1
  203. package/dist/actions/disable-otp-for-transfers.cjs +1 -0
  204. package/dist/actions/disable-otp-for-transfers.cjs.map +1 -1
  205. package/dist/actions/disable-otp-for-transfers.d.cts +3 -1
  206. package/dist/actions/disable-otp-for-transfers.d.cts.map +1 -1
  207. package/dist/actions/disable-otp-for-transfers.d.mts +3 -1
  208. package/dist/actions/disable-otp-for-transfers.d.mts.map +1 -1
  209. package/dist/actions/disable-otp-for-transfers.mjs +1 -0
  210. package/dist/actions/disable-otp-for-transfers.mjs.map +1 -1
  211. package/dist/actions/disable-subscription.cjs +1 -0
  212. package/dist/actions/disable-subscription.cjs.map +1 -1
  213. package/dist/actions/disable-subscription.d.cts +3 -4
  214. package/dist/actions/disable-subscription.d.cts.map +1 -1
  215. package/dist/actions/disable-subscription.d.mts +3 -4
  216. package/dist/actions/disable-subscription.d.mts.map +1 -1
  217. package/dist/actions/disable-subscription.mjs +1 -0
  218. package/dist/actions/disable-subscription.mjs.map +1 -1
  219. package/dist/actions/duplicate-storefront.cjs +1 -0
  220. package/dist/actions/duplicate-storefront.cjs.map +1 -1
  221. package/dist/actions/duplicate-storefront.d.cts +3 -3
  222. package/dist/actions/duplicate-storefront.d.cts.map +1 -1
  223. package/dist/actions/duplicate-storefront.d.mts +3 -3
  224. package/dist/actions/duplicate-storefront.d.mts.map +1 -1
  225. package/dist/actions/duplicate-storefront.mjs +1 -0
  226. package/dist/actions/duplicate-storefront.mjs.map +1 -1
  227. package/dist/actions/enable-otp-requirement-for-transfers.cjs +1 -0
  228. package/dist/actions/enable-otp-requirement-for-transfers.cjs.map +1 -1
  229. package/dist/actions/enable-otp-requirement-for-transfers.d.cts +3 -1
  230. package/dist/actions/enable-otp-requirement-for-transfers.d.cts.map +1 -1
  231. package/dist/actions/enable-otp-requirement-for-transfers.d.mts +3 -1
  232. package/dist/actions/enable-otp-requirement-for-transfers.d.mts.map +1 -1
  233. package/dist/actions/enable-otp-requirement-for-transfers.mjs +1 -0
  234. package/dist/actions/enable-otp-requirement-for-transfers.mjs.map +1 -1
  235. package/dist/actions/export-transactions.cjs +1 -0
  236. package/dist/actions/export-transactions.cjs.map +1 -1
  237. package/dist/actions/export-transactions.d.cts +3 -8
  238. package/dist/actions/export-transactions.d.cts.map +1 -1
  239. package/dist/actions/export-transactions.d.mts +3 -8
  240. package/dist/actions/export-transactions.d.mts.map +1 -1
  241. package/dist/actions/export-transactions.mjs +1 -0
  242. package/dist/actions/export-transactions.mjs.map +1 -1
  243. package/dist/actions/fetch-balance-ledger.cjs +1 -0
  244. package/dist/actions/fetch-balance-ledger.cjs.map +1 -1
  245. package/dist/actions/fetch-balance-ledger.d.cts +3 -6
  246. package/dist/actions/fetch-balance-ledger.d.cts.map +1 -1
  247. package/dist/actions/fetch-balance-ledger.d.mts +3 -6
  248. package/dist/actions/fetch-balance-ledger.d.mts.map +1 -1
  249. package/dist/actions/fetch-balance-ledger.mjs +1 -0
  250. package/dist/actions/fetch-balance-ledger.mjs.map +1 -1
  251. package/dist/actions/fetch-balance.cjs +1 -0
  252. package/dist/actions/fetch-balance.cjs.map +1 -1
  253. package/dist/actions/fetch-balance.d.cts +3 -1
  254. package/dist/actions/fetch-balance.d.cts.map +1 -1
  255. package/dist/actions/fetch-balance.d.mts +3 -1
  256. package/dist/actions/fetch-balance.d.mts.map +1 -1
  257. package/dist/actions/fetch-balance.mjs +1 -0
  258. package/dist/actions/fetch-balance.mjs.map +1 -1
  259. package/dist/actions/fetch-bulk-charge-batch.cjs +1 -0
  260. package/dist/actions/fetch-bulk-charge-batch.cjs.map +1 -1
  261. package/dist/actions/fetch-bulk-charge-batch.d.cts +3 -3
  262. package/dist/actions/fetch-bulk-charge-batch.d.cts.map +1 -1
  263. package/dist/actions/fetch-bulk-charge-batch.d.mts +3 -3
  264. package/dist/actions/fetch-bulk-charge-batch.d.mts.map +1 -1
  265. package/dist/actions/fetch-bulk-charge-batch.mjs +1 -0
  266. package/dist/actions/fetch-bulk-charge-batch.mjs.map +1 -1
  267. package/dist/actions/fetch-customer.cjs +1 -0
  268. package/dist/actions/fetch-customer.cjs.map +1 -1
  269. package/dist/actions/fetch-customer.d.cts +3 -3
  270. package/dist/actions/fetch-customer.d.cts.map +1 -1
  271. package/dist/actions/fetch-customer.d.mts +3 -3
  272. package/dist/actions/fetch-customer.d.mts.map +1 -1
  273. package/dist/actions/fetch-customer.mjs +1 -0
  274. package/dist/actions/fetch-customer.mjs.map +1 -1
  275. package/dist/actions/fetch-mandate-authorizations.cjs +1 -0
  276. package/dist/actions/fetch-mandate-authorizations.cjs.map +1 -1
  277. package/dist/actions/fetch-mandate-authorizations.d.cts +3 -3
  278. package/dist/actions/fetch-mandate-authorizations.d.cts.map +1 -1
  279. package/dist/actions/fetch-mandate-authorizations.d.mts +3 -3
  280. package/dist/actions/fetch-mandate-authorizations.d.mts.map +1 -1
  281. package/dist/actions/fetch-mandate-authorizations.mjs +1 -0
  282. package/dist/actions/fetch-mandate-authorizations.mjs.map +1 -1
  283. package/dist/actions/fetch-payment-page.cjs +1 -0
  284. package/dist/actions/fetch-payment-page.cjs.map +1 -1
  285. package/dist/actions/fetch-payment-page.d.cts +3 -3
  286. package/dist/actions/fetch-payment-page.d.cts.map +1 -1
  287. package/dist/actions/fetch-payment-page.d.mts +3 -3
  288. package/dist/actions/fetch-payment-page.d.mts.map +1 -1
  289. package/dist/actions/fetch-payment-page.mjs +1 -0
  290. package/dist/actions/fetch-payment-page.mjs.map +1 -1
  291. package/dist/actions/fetch-payment-request.cjs +1 -0
  292. package/dist/actions/fetch-payment-request.cjs.map +1 -1
  293. package/dist/actions/fetch-payment-request.d.cts +3 -3
  294. package/dist/actions/fetch-payment-request.d.cts.map +1 -1
  295. package/dist/actions/fetch-payment-request.d.mts +3 -3
  296. package/dist/actions/fetch-payment-request.d.mts.map +1 -1
  297. package/dist/actions/fetch-payment-request.mjs +1 -0
  298. package/dist/actions/fetch-payment-request.mjs.map +1 -1
  299. package/dist/actions/fetch-payment-session-timeout.cjs +1 -0
  300. package/dist/actions/fetch-payment-session-timeout.cjs.map +1 -1
  301. package/dist/actions/fetch-payment-session-timeout.d.cts +3 -1
  302. package/dist/actions/fetch-payment-session-timeout.d.cts.map +1 -1
  303. package/dist/actions/fetch-payment-session-timeout.d.mts +3 -1
  304. package/dist/actions/fetch-payment-session-timeout.d.mts.map +1 -1
  305. package/dist/actions/fetch-payment-session-timeout.mjs +1 -0
  306. package/dist/actions/fetch-payment-session-timeout.mjs.map +1 -1
  307. package/dist/actions/fetch-plan.cjs +1 -0
  308. package/dist/actions/fetch-plan.cjs.map +1 -1
  309. package/dist/actions/fetch-plan.d.cts +3 -3
  310. package/dist/actions/fetch-plan.d.cts.map +1 -1
  311. package/dist/actions/fetch-plan.d.mts +3 -3
  312. package/dist/actions/fetch-plan.d.mts.map +1 -1
  313. package/dist/actions/fetch-plan.mjs +1 -0
  314. package/dist/actions/fetch-plan.mjs.map +1 -1
  315. package/dist/actions/fetch-product-orders.cjs +1 -0
  316. package/dist/actions/fetch-product-orders.cjs.map +1 -1
  317. package/dist/actions/fetch-product-orders.d.cts +3 -3
  318. package/dist/actions/fetch-product-orders.d.cts.map +1 -1
  319. package/dist/actions/fetch-product-orders.d.mts +3 -3
  320. package/dist/actions/fetch-product-orders.d.mts.map +1 -1
  321. package/dist/actions/fetch-product-orders.mjs +1 -0
  322. package/dist/actions/fetch-product-orders.mjs.map +1 -1
  323. package/dist/actions/fetch-product.cjs +1 -0
  324. package/dist/actions/fetch-product.cjs.map +1 -1
  325. package/dist/actions/fetch-product.d.cts +3 -3
  326. package/dist/actions/fetch-product.d.cts.map +1 -1
  327. package/dist/actions/fetch-product.d.mts +3 -3
  328. package/dist/actions/fetch-product.d.mts.map +1 -1
  329. package/dist/actions/fetch-product.mjs +1 -0
  330. package/dist/actions/fetch-product.mjs.map +1 -1
  331. package/dist/actions/fetch-refund.cjs +1 -0
  332. package/dist/actions/fetch-refund.cjs.map +1 -1
  333. package/dist/actions/fetch-refund.d.cts +3 -3
  334. package/dist/actions/fetch-refund.d.cts.map +1 -1
  335. package/dist/actions/fetch-refund.d.mts +3 -3
  336. package/dist/actions/fetch-refund.d.mts.map +1 -1
  337. package/dist/actions/fetch-refund.mjs +1 -0
  338. package/dist/actions/fetch-refund.mjs.map +1 -1
  339. package/dist/actions/fetch-split.cjs +1 -0
  340. package/dist/actions/fetch-split.cjs.map +1 -1
  341. package/dist/actions/fetch-split.d.cts +3 -3
  342. package/dist/actions/fetch-split.d.cts.map +1 -1
  343. package/dist/actions/fetch-split.d.mts +3 -3
  344. package/dist/actions/fetch-split.d.mts.map +1 -1
  345. package/dist/actions/fetch-split.mjs +1 -0
  346. package/dist/actions/fetch-split.mjs.map +1 -1
  347. package/dist/actions/fetch-storefront-orders.cjs +1 -0
  348. package/dist/actions/fetch-storefront-orders.cjs.map +1 -1
  349. package/dist/actions/fetch-storefront-orders.d.cts +3 -5
  350. package/dist/actions/fetch-storefront-orders.d.cts.map +1 -1
  351. package/dist/actions/fetch-storefront-orders.d.mts +3 -5
  352. package/dist/actions/fetch-storefront-orders.d.mts.map +1 -1
  353. package/dist/actions/fetch-storefront-orders.mjs +1 -0
  354. package/dist/actions/fetch-storefront-orders.mjs.map +1 -1
  355. package/dist/actions/fetch-storefront.cjs +1 -0
  356. package/dist/actions/fetch-storefront.cjs.map +1 -1
  357. package/dist/actions/fetch-storefront.d.cts +3 -3
  358. package/dist/actions/fetch-storefront.d.cts.map +1 -1
  359. package/dist/actions/fetch-storefront.d.mts +3 -3
  360. package/dist/actions/fetch-storefront.d.mts.map +1 -1
  361. package/dist/actions/fetch-storefront.mjs +1 -0
  362. package/dist/actions/fetch-storefront.mjs.map +1 -1
  363. package/dist/actions/fetch-subaccount.cjs +1 -0
  364. package/dist/actions/fetch-subaccount.cjs.map +1 -1
  365. package/dist/actions/fetch-subaccount.d.cts +3 -3
  366. package/dist/actions/fetch-subaccount.d.cts.map +1 -1
  367. package/dist/actions/fetch-subaccount.d.mts +3 -3
  368. package/dist/actions/fetch-subaccount.d.mts.map +1 -1
  369. package/dist/actions/fetch-subaccount.mjs +1 -0
  370. package/dist/actions/fetch-subaccount.mjs.map +1 -1
  371. package/dist/actions/fetch-subscription.cjs +1 -0
  372. package/dist/actions/fetch-subscription.cjs.map +1 -1
  373. package/dist/actions/fetch-subscription.d.cts +3 -3
  374. package/dist/actions/fetch-subscription.d.cts.map +1 -1
  375. package/dist/actions/fetch-subscription.d.mts +3 -3
  376. package/dist/actions/fetch-subscription.d.mts.map +1 -1
  377. package/dist/actions/fetch-subscription.mjs +1 -0
  378. package/dist/actions/fetch-subscription.mjs.map +1 -1
  379. package/dist/actions/fetch-transaction-timeline.cjs +1 -0
  380. package/dist/actions/fetch-transaction-timeline.cjs.map +1 -1
  381. package/dist/actions/fetch-transaction-timeline.d.cts +3 -3
  382. package/dist/actions/fetch-transaction-timeline.d.cts.map +1 -1
  383. package/dist/actions/fetch-transaction-timeline.d.mts +3 -3
  384. package/dist/actions/fetch-transaction-timeline.d.mts.map +1 -1
  385. package/dist/actions/fetch-transaction-timeline.mjs +1 -0
  386. package/dist/actions/fetch-transaction-timeline.mjs.map +1 -1
  387. package/dist/actions/fetch-transaction.cjs +1 -0
  388. package/dist/actions/fetch-transaction.cjs.map +1 -1
  389. package/dist/actions/fetch-transaction.d.cts +3 -3
  390. package/dist/actions/fetch-transaction.d.cts.map +1 -1
  391. package/dist/actions/fetch-transaction.d.mts +3 -3
  392. package/dist/actions/fetch-transaction.d.mts.map +1 -1
  393. package/dist/actions/fetch-transaction.mjs +1 -0
  394. package/dist/actions/fetch-transaction.mjs.map +1 -1
  395. package/dist/actions/fetch-transfer-recipient.cjs +1 -0
  396. package/dist/actions/fetch-transfer-recipient.cjs.map +1 -1
  397. package/dist/actions/fetch-transfer-recipient.d.cts +3 -3
  398. package/dist/actions/fetch-transfer-recipient.d.cts.map +1 -1
  399. package/dist/actions/fetch-transfer-recipient.d.mts +3 -3
  400. package/dist/actions/fetch-transfer-recipient.d.mts.map +1 -1
  401. package/dist/actions/fetch-transfer-recipient.mjs +1 -0
  402. package/dist/actions/fetch-transfer-recipient.mjs.map +1 -1
  403. package/dist/actions/fetch-virtual-terminal.cjs +1 -0
  404. package/dist/actions/fetch-virtual-terminal.cjs.map +1 -1
  405. package/dist/actions/fetch-virtual-terminal.d.cts +3 -3
  406. package/dist/actions/fetch-virtual-terminal.d.cts.map +1 -1
  407. package/dist/actions/fetch-virtual-terminal.d.mts +3 -3
  408. package/dist/actions/fetch-virtual-terminal.d.mts.map +1 -1
  409. package/dist/actions/fetch-virtual-terminal.mjs +1 -0
  410. package/dist/actions/fetch-virtual-terminal.mjs.map +1 -1
  411. package/dist/actions/finalize-payment-request.cjs +1 -0
  412. package/dist/actions/finalize-payment-request.cjs.map +1 -1
  413. package/dist/actions/finalize-payment-request.d.cts +3 -3
  414. package/dist/actions/finalize-payment-request.d.cts.map +1 -1
  415. package/dist/actions/finalize-payment-request.d.mts +3 -3
  416. package/dist/actions/finalize-payment-request.d.mts.map +1 -1
  417. package/dist/actions/finalize-payment-request.mjs +1 -0
  418. package/dist/actions/finalize-payment-request.mjs.map +1 -1
  419. package/dist/actions/generate-update-subscription-link.cjs +1 -0
  420. package/dist/actions/generate-update-subscription-link.cjs.map +1 -1
  421. package/dist/actions/generate-update-subscription-link.d.cts +3 -3
  422. package/dist/actions/generate-update-subscription-link.d.cts.map +1 -1
  423. package/dist/actions/generate-update-subscription-link.d.mts +3 -3
  424. package/dist/actions/generate-update-subscription-link.d.mts.map +1 -1
  425. package/dist/actions/generate-update-subscription-link.mjs +1 -0
  426. package/dist/actions/generate-update-subscription-link.mjs.map +1 -1
  427. package/dist/actions/get-payment-request-totals.cjs +1 -0
  428. package/dist/actions/get-payment-request-totals.cjs.map +1 -1
  429. package/dist/actions/get-payment-request-totals.d.cts +3 -1
  430. package/dist/actions/get-payment-request-totals.d.cts.map +1 -1
  431. package/dist/actions/get-payment-request-totals.d.mts +3 -1
  432. package/dist/actions/get-payment-request-totals.d.mts.map +1 -1
  433. package/dist/actions/get-payment-request-totals.mjs +1 -0
  434. package/dist/actions/get-payment-request-totals.mjs.map +1 -1
  435. package/dist/actions/get-transaction-totals.cjs +1 -0
  436. package/dist/actions/get-transaction-totals.cjs.map +1 -1
  437. package/dist/actions/get-transaction-totals.d.cts +3 -4
  438. package/dist/actions/get-transaction-totals.d.cts.map +1 -1
  439. package/dist/actions/get-transaction-totals.d.mts +3 -4
  440. package/dist/actions/get-transaction-totals.d.mts.map +1 -1
  441. package/dist/actions/get-transaction-totals.mjs +1 -0
  442. package/dist/actions/get-transaction-totals.mjs.map +1 -1
  443. package/dist/actions/initialize-authorization.cjs +1 -0
  444. package/dist/actions/initialize-authorization.cjs.map +1 -1
  445. package/dist/actions/initialize-authorization.d.cts +3 -14
  446. package/dist/actions/initialize-authorization.d.cts.map +1 -1
  447. package/dist/actions/initialize-authorization.d.mts +3 -14
  448. package/dist/actions/initialize-authorization.d.mts.map +1 -1
  449. package/dist/actions/initialize-authorization.mjs +1 -0
  450. package/dist/actions/initialize-authorization.mjs.map +1 -1
  451. package/dist/actions/initialize-transaction.cjs +1 -0
  452. package/dist/actions/initialize-transaction.cjs.map +1 -1
  453. package/dist/actions/initialize-transaction.d.cts +8 -33
  454. package/dist/actions/initialize-transaction.d.cts.map +1 -1
  455. package/dist/actions/initialize-transaction.d.mts +8 -33
  456. package/dist/actions/initialize-transaction.d.mts.map +1 -1
  457. package/dist/actions/initialize-transaction.mjs +1 -0
  458. package/dist/actions/initialize-transaction.mjs.map +1 -1
  459. package/dist/actions/initiate-bulk-charge.cjs +1 -0
  460. package/dist/actions/initiate-bulk-charge.cjs.map +1 -1
  461. package/dist/actions/initiate-bulk-charge.d.cts +3 -11
  462. package/dist/actions/initiate-bulk-charge.d.cts.map +1 -1
  463. package/dist/actions/initiate-bulk-charge.d.mts +3 -11
  464. package/dist/actions/initiate-bulk-charge.d.mts.map +1 -1
  465. package/dist/actions/initiate-bulk-charge.mjs +1 -0
  466. package/dist/actions/initiate-bulk-charge.mjs.map +1 -1
  467. package/dist/actions/list-banks.cjs +1 -0
  468. package/dist/actions/list-banks.cjs.map +1 -1
  469. package/dist/actions/list-banks.d.cts +7 -19
  470. package/dist/actions/list-banks.d.cts.map +1 -1
  471. package/dist/actions/list-banks.d.mts +7 -19
  472. package/dist/actions/list-banks.d.mts.map +1 -1
  473. package/dist/actions/list-banks.mjs +1 -0
  474. package/dist/actions/list-banks.mjs.map +1 -1
  475. package/dist/actions/list-bulk-charge-batches.cjs +1 -0
  476. package/dist/actions/list-bulk-charge-batches.cjs.map +1 -1
  477. package/dist/actions/list-bulk-charge-batches.d.cts +3 -5
  478. package/dist/actions/list-bulk-charge-batches.d.cts.map +1 -1
  479. package/dist/actions/list-bulk-charge-batches.d.mts +3 -5
  480. package/dist/actions/list-bulk-charge-batches.d.mts.map +1 -1
  481. package/dist/actions/list-bulk-charge-batches.mjs +1 -0
  482. package/dist/actions/list-bulk-charge-batches.mjs.map +1 -1
  483. package/dist/actions/list-charges-in-batch.cjs +1 -0
  484. package/dist/actions/list-charges-in-batch.cjs.map +1 -1
  485. package/dist/actions/list-charges-in-batch.d.cts +5 -8
  486. package/dist/actions/list-charges-in-batch.d.cts.map +1 -1
  487. package/dist/actions/list-charges-in-batch.d.mts +5 -8
  488. package/dist/actions/list-charges-in-batch.d.mts.map +1 -1
  489. package/dist/actions/list-charges-in-batch.mjs +1 -0
  490. package/dist/actions/list-charges-in-batch.mjs.map +1 -1
  491. package/dist/actions/list-countries.cjs +1 -0
  492. package/dist/actions/list-countries.cjs.map +1 -1
  493. package/dist/actions/list-countries.d.cts +3 -1
  494. package/dist/actions/list-countries.d.cts.map +1 -1
  495. package/dist/actions/list-countries.d.mts +3 -1
  496. package/dist/actions/list-countries.d.mts.map +1 -1
  497. package/dist/actions/list-countries.mjs +1 -0
  498. package/dist/actions/list-countries.mjs.map +1 -1
  499. package/dist/actions/list-customers.cjs +1 -0
  500. package/dist/actions/list-customers.cjs.map +1 -1
  501. package/dist/actions/list-customers.d.cts +3 -9
  502. package/dist/actions/list-customers.d.cts.map +1 -1
  503. package/dist/actions/list-customers.d.mts +3 -9
  504. package/dist/actions/list-customers.d.mts.map +1 -1
  505. package/dist/actions/list-customers.mjs +1 -0
  506. package/dist/actions/list-customers.mjs.map +1 -1
  507. package/dist/actions/list-disputes.cjs +1 -0
  508. package/dist/actions/list-disputes.cjs.map +1 -1
  509. package/dist/actions/list-disputes.d.cts +3 -8
  510. package/dist/actions/list-disputes.d.cts.map +1 -1
  511. package/dist/actions/list-disputes.d.mts +3 -8
  512. package/dist/actions/list-disputes.d.mts.map +1 -1
  513. package/dist/actions/list-disputes.mjs +1 -0
  514. package/dist/actions/list-disputes.mjs.map +1 -1
  515. package/dist/actions/list-domains.cjs +1 -0
  516. package/dist/actions/list-domains.cjs.map +1 -1
  517. package/dist/actions/list-domains.d.cts +3 -5
  518. package/dist/actions/list-domains.d.cts.map +1 -1
  519. package/dist/actions/list-domains.d.mts +3 -5
  520. package/dist/actions/list-domains.d.mts.map +1 -1
  521. package/dist/actions/list-domains.mjs +1 -0
  522. package/dist/actions/list-domains.mjs.map +1 -1
  523. package/dist/actions/list-mandate-authorizations.cjs +1 -0
  524. package/dist/actions/list-mandate-authorizations.cjs.map +1 -1
  525. package/dist/actions/list-mandate-authorizations.d.cts +3 -5
  526. package/dist/actions/list-mandate-authorizations.d.cts.map +1 -1
  527. package/dist/actions/list-mandate-authorizations.d.mts +3 -5
  528. package/dist/actions/list-mandate-authorizations.d.mts.map +1 -1
  529. package/dist/actions/list-mandate-authorizations.mjs +1 -0
  530. package/dist/actions/list-mandate-authorizations.mjs.map +1 -1
  531. package/dist/actions/list-orders.cjs +1 -0
  532. package/dist/actions/list-orders.cjs.map +1 -1
  533. package/dist/actions/list-orders.d.cts +3 -6
  534. package/dist/actions/list-orders.d.cts.map +1 -1
  535. package/dist/actions/list-orders.d.mts +3 -6
  536. package/dist/actions/list-orders.d.mts.map +1 -1
  537. package/dist/actions/list-orders.mjs +1 -0
  538. package/dist/actions/list-orders.mjs.map +1 -1
  539. package/dist/actions/list-payment-pages.cjs +1 -0
  540. package/dist/actions/list-payment-pages.cjs.map +1 -1
  541. package/dist/actions/list-payment-pages.d.cts +3 -6
  542. package/dist/actions/list-payment-pages.d.cts.map +1 -1
  543. package/dist/actions/list-payment-pages.d.mts +3 -6
  544. package/dist/actions/list-payment-pages.d.mts.map +1 -1
  545. package/dist/actions/list-payment-pages.mjs +1 -0
  546. package/dist/actions/list-payment-pages.mjs.map +1 -1
  547. package/dist/actions/list-payment-requests.cjs +1 -0
  548. package/dist/actions/list-payment-requests.cjs.map +1 -1
  549. package/dist/actions/list-payment-requests.d.cts +4 -10
  550. package/dist/actions/list-payment-requests.d.cts.map +1 -1
  551. package/dist/actions/list-payment-requests.d.mts +4 -10
  552. package/dist/actions/list-payment-requests.d.mts.map +1 -1
  553. package/dist/actions/list-payment-requests.mjs +1 -0
  554. package/dist/actions/list-payment-requests.mjs.map +1 -1
  555. package/dist/actions/list-plans.cjs +1 -0
  556. package/dist/actions/list-plans.cjs.map +1 -1
  557. package/dist/actions/list-plans.d.cts +3 -8
  558. package/dist/actions/list-plans.d.cts.map +1 -1
  559. package/dist/actions/list-plans.d.mts +3 -8
  560. package/dist/actions/list-plans.d.mts.map +1 -1
  561. package/dist/actions/list-plans.mjs +1 -0
  562. package/dist/actions/list-plans.mjs.map +1 -1
  563. package/dist/actions/list-products.cjs +1 -0
  564. package/dist/actions/list-products.cjs.map +1 -1
  565. package/dist/actions/list-products.d.cts +3 -7
  566. package/dist/actions/list-products.d.cts.map +1 -1
  567. package/dist/actions/list-products.d.mts +3 -7
  568. package/dist/actions/list-products.d.mts.map +1 -1
  569. package/dist/actions/list-products.mjs +1 -0
  570. package/dist/actions/list-products.mjs.map +1 -1
  571. package/dist/actions/list-refunds.cjs +1 -0
  572. package/dist/actions/list-refunds.cjs.map +1 -1
  573. package/dist/actions/list-refunds.d.cts +3 -6
  574. package/dist/actions/list-refunds.d.cts.map +1 -1
  575. package/dist/actions/list-refunds.d.mts +3 -6
  576. package/dist/actions/list-refunds.d.mts.map +1 -1
  577. package/dist/actions/list-refunds.mjs +1 -0
  578. package/dist/actions/list-refunds.mjs.map +1 -1
  579. package/dist/actions/list-settlements.cjs +1 -0
  580. package/dist/actions/list-settlements.cjs.map +1 -1
  581. package/dist/actions/list-settlements.d.cts +3 -4
  582. package/dist/actions/list-settlements.d.cts.map +1 -1
  583. package/dist/actions/list-settlements.d.mts +3 -4
  584. package/dist/actions/list-settlements.d.mts.map +1 -1
  585. package/dist/actions/list-settlements.mjs +1 -0
  586. package/dist/actions/list-settlements.mjs.map +1 -1
  587. package/dist/actions/list-splits.cjs +1 -0
  588. package/dist/actions/list-splits.cjs.map +1 -1
  589. package/dist/actions/list-splits.d.cts +3 -9
  590. package/dist/actions/list-splits.d.cts.map +1 -1
  591. package/dist/actions/list-splits.d.mts +3 -9
  592. package/dist/actions/list-splits.d.mts.map +1 -1
  593. package/dist/actions/list-splits.mjs +1 -0
  594. package/dist/actions/list-splits.mjs.map +1 -1
  595. package/dist/actions/list-states-avs.cjs +1 -0
  596. package/dist/actions/list-states-avs.cjs.map +1 -1
  597. package/dist/actions/list-states-avs.d.cts +3 -3
  598. package/dist/actions/list-states-avs.d.cts.map +1 -1
  599. package/dist/actions/list-states-avs.d.mts +3 -3
  600. package/dist/actions/list-states-avs.d.mts.map +1 -1
  601. package/dist/actions/list-states-avs.mjs +1 -0
  602. package/dist/actions/list-states-avs.mjs.map +1 -1
  603. package/dist/actions/list-storefront-products.cjs +1 -0
  604. package/dist/actions/list-storefront-products.cjs.map +1 -1
  605. package/dist/actions/list-storefront-products.d.cts +3 -5
  606. package/dist/actions/list-storefront-products.d.cts.map +1 -1
  607. package/dist/actions/list-storefront-products.d.mts +3 -5
  608. package/dist/actions/list-storefront-products.d.mts.map +1 -1
  609. package/dist/actions/list-storefront-products.mjs +1 -0
  610. package/dist/actions/list-storefront-products.mjs.map +1 -1
  611. package/dist/actions/list-storefronts.cjs +1 -0
  612. package/dist/actions/list-storefronts.cjs.map +1 -1
  613. package/dist/actions/list-storefronts.d.cts +3 -5
  614. package/dist/actions/list-storefronts.d.cts.map +1 -1
  615. package/dist/actions/list-storefronts.d.mts +3 -5
  616. package/dist/actions/list-storefronts.d.mts.map +1 -1
  617. package/dist/actions/list-storefronts.mjs +1 -0
  618. package/dist/actions/list-storefronts.mjs.map +1 -1
  619. package/dist/actions/list-subaccounts.cjs +1 -0
  620. package/dist/actions/list-subaccounts.cjs.map +1 -1
  621. package/dist/actions/list-subaccounts.d.cts +3 -5
  622. package/dist/actions/list-subaccounts.d.cts.map +1 -1
  623. package/dist/actions/list-subaccounts.d.mts +3 -5
  624. package/dist/actions/list-subaccounts.d.mts.map +1 -1
  625. package/dist/actions/list-subaccounts.mjs +1 -0
  626. package/dist/actions/list-subaccounts.mjs.map +1 -1
  627. package/dist/actions/list-subscriptions.cjs +1 -0
  628. package/dist/actions/list-subscriptions.cjs.map +1 -1
  629. package/dist/actions/list-subscriptions.d.cts +3 -8
  630. package/dist/actions/list-subscriptions.d.cts.map +1 -1
  631. package/dist/actions/list-subscriptions.d.mts +3 -8
  632. package/dist/actions/list-subscriptions.d.mts.map +1 -1
  633. package/dist/actions/list-subscriptions.mjs +1 -0
  634. package/dist/actions/list-subscriptions.mjs.map +1 -1
  635. package/dist/actions/list-transactions.cjs +1 -0
  636. package/dist/actions/list-transactions.cjs.map +1 -1
  637. package/dist/actions/list-transactions.d.cts +3 -19
  638. package/dist/actions/list-transactions.d.cts.map +1 -1
  639. package/dist/actions/list-transactions.d.mts +3 -19
  640. package/dist/actions/list-transactions.d.mts.map +1 -1
  641. package/dist/actions/list-transactions.mjs +1 -0
  642. package/dist/actions/list-transactions.mjs.map +1 -1
  643. package/dist/actions/list-transfer-recipients.cjs +1 -0
  644. package/dist/actions/list-transfer-recipients.cjs.map +1 -1
  645. package/dist/actions/list-transfer-recipients.d.cts +3 -7
  646. package/dist/actions/list-transfer-recipients.d.cts.map +1 -1
  647. package/dist/actions/list-transfer-recipients.d.mts +3 -7
  648. package/dist/actions/list-transfer-recipients.d.mts.map +1 -1
  649. package/dist/actions/list-transfer-recipients.mjs +1 -0
  650. package/dist/actions/list-transfer-recipients.mjs.map +1 -1
  651. package/dist/actions/list-transfers.cjs +1 -0
  652. package/dist/actions/list-transfers.cjs.map +1 -1
  653. package/dist/actions/list-transfers.d.cts +4 -12
  654. package/dist/actions/list-transfers.d.cts.map +1 -1
  655. package/dist/actions/list-transfers.d.mts +4 -12
  656. package/dist/actions/list-transfers.d.mts.map +1 -1
  657. package/dist/actions/list-transfers.mjs +1 -0
  658. package/dist/actions/list-transfers.mjs.map +1 -1
  659. package/dist/actions/list-virtual-terminals.cjs +1 -0
  660. package/dist/actions/list-virtual-terminals.cjs.map +1 -1
  661. package/dist/actions/list-virtual-terminals.d.cts +3 -4
  662. package/dist/actions/list-virtual-terminals.d.cts.map +1 -1
  663. package/dist/actions/list-virtual-terminals.d.mts +3 -4
  664. package/dist/actions/list-virtual-terminals.d.mts.map +1 -1
  665. package/dist/actions/list-virtual-terminals.mjs +1 -0
  666. package/dist/actions/list-virtual-terminals.mjs.map +1 -1
  667. package/dist/actions/pause-bulk-charge.cjs +1 -0
  668. package/dist/actions/pause-bulk-charge.cjs.map +1 -1
  669. package/dist/actions/pause-bulk-charge.d.cts +3 -3
  670. package/dist/actions/pause-bulk-charge.d.cts.map +1 -1
  671. package/dist/actions/pause-bulk-charge.d.mts +3 -3
  672. package/dist/actions/pause-bulk-charge.d.mts.map +1 -1
  673. package/dist/actions/pause-bulk-charge.mjs +1 -0
  674. package/dist/actions/pause-bulk-charge.mjs.map +1 -1
  675. package/dist/actions/publish-storefront.cjs +1 -0
  676. package/dist/actions/publish-storefront.cjs.map +1 -1
  677. package/dist/actions/publish-storefront.d.cts +3 -3
  678. package/dist/actions/publish-storefront.d.cts.map +1 -1
  679. package/dist/actions/publish-storefront.d.mts +3 -3
  680. package/dist/actions/publish-storefront.d.mts.map +1 -1
  681. package/dist/actions/publish-storefront.mjs +1 -0
  682. package/dist/actions/publish-storefront.mjs.map +1 -1
  683. package/dist/actions/remove-subaccount-from-split.cjs +1 -0
  684. package/dist/actions/remove-subaccount-from-split.cjs.map +1 -1
  685. package/dist/actions/remove-subaccount-from-split.d.cts +3 -5
  686. package/dist/actions/remove-subaccount-from-split.d.cts.map +1 -1
  687. package/dist/actions/remove-subaccount-from-split.d.mts +3 -5
  688. package/dist/actions/remove-subaccount-from-split.d.mts.map +1 -1
  689. package/dist/actions/remove-subaccount-from-split.mjs +1 -0
  690. package/dist/actions/remove-subaccount-from-split.mjs.map +1 -1
  691. package/dist/actions/resend-otp-for-transfer.cjs +1 -0
  692. package/dist/actions/resend-otp-for-transfer.cjs.map +1 -1
  693. package/dist/actions/resend-otp-for-transfer.d.cts +3 -4
  694. package/dist/actions/resend-otp-for-transfer.d.cts.map +1 -1
  695. package/dist/actions/resend-otp-for-transfer.d.mts +3 -4
  696. package/dist/actions/resend-otp-for-transfer.d.mts.map +1 -1
  697. package/dist/actions/resend-otp-for-transfer.mjs +1 -0
  698. package/dist/actions/resend-otp-for-transfer.mjs.map +1 -1
  699. package/dist/actions/resolve-card-bin.cjs +1 -0
  700. package/dist/actions/resolve-card-bin.cjs.map +1 -1
  701. package/dist/actions/resolve-card-bin.d.cts +3 -3
  702. package/dist/actions/resolve-card-bin.d.cts.map +1 -1
  703. package/dist/actions/resolve-card-bin.d.mts +3 -3
  704. package/dist/actions/resolve-card-bin.d.mts.map +1 -1
  705. package/dist/actions/resolve-card-bin.mjs +1 -0
  706. package/dist/actions/resolve-card-bin.mjs.map +1 -1
  707. package/dist/actions/resume-bulk-charge-batch.cjs +1 -0
  708. package/dist/actions/resume-bulk-charge-batch.cjs.map +1 -1
  709. package/dist/actions/resume-bulk-charge-batch.d.cts +3 -3
  710. package/dist/actions/resume-bulk-charge-batch.d.cts.map +1 -1
  711. package/dist/actions/resume-bulk-charge-batch.d.mts +3 -3
  712. package/dist/actions/resume-bulk-charge-batch.d.mts.map +1 -1
  713. package/dist/actions/resume-bulk-charge-batch.mjs +1 -0
  714. package/dist/actions/resume-bulk-charge-batch.mjs.map +1 -1
  715. package/dist/actions/send-payment-request-notification.cjs +1 -0
  716. package/dist/actions/send-payment-request-notification.cjs.map +1 -1
  717. package/dist/actions/send-payment-request-notification.d.cts +3 -3
  718. package/dist/actions/send-payment-request-notification.d.cts.map +1 -1
  719. package/dist/actions/send-payment-request-notification.d.mts +3 -3
  720. package/dist/actions/send-payment-request-notification.d.mts.map +1 -1
  721. package/dist/actions/send-payment-request-notification.mjs +1 -0
  722. package/dist/actions/send-payment-request-notification.mjs.map +1 -1
  723. package/dist/actions/send-subscription-update-link.cjs +1 -0
  724. package/dist/actions/send-subscription-update-link.cjs.map +1 -1
  725. package/dist/actions/send-subscription-update-link.d.cts +3 -3
  726. package/dist/actions/send-subscription-update-link.d.cts.map +1 -1
  727. package/dist/actions/send-subscription-update-link.d.mts +3 -3
  728. package/dist/actions/send-subscription-update-link.d.mts.map +1 -1
  729. package/dist/actions/send-subscription-update-link.mjs +1 -0
  730. package/dist/actions/send-subscription-update-link.mjs.map +1 -1
  731. package/dist/actions/set-risk-action.cjs +1 -0
  732. package/dist/actions/set-risk-action.cjs.map +1 -1
  733. package/dist/actions/set-risk-action.d.cts +3 -4
  734. package/dist/actions/set-risk-action.d.cts.map +1 -1
  735. package/dist/actions/set-risk-action.d.mts +3 -4
  736. package/dist/actions/set-risk-action.d.mts.map +1 -1
  737. package/dist/actions/set-risk-action.mjs +1 -0
  738. package/dist/actions/set-risk-action.mjs.map +1 -1
  739. package/dist/actions/submit-phone.cjs +1 -0
  740. package/dist/actions/submit-phone.cjs.map +1 -1
  741. package/dist/actions/submit-phone.d.cts +3 -4
  742. package/dist/actions/submit-phone.d.cts.map +1 -1
  743. package/dist/actions/submit-phone.d.mts +3 -4
  744. package/dist/actions/submit-phone.d.mts.map +1 -1
  745. package/dist/actions/submit-phone.mjs +1 -0
  746. package/dist/actions/submit-phone.mjs.map +1 -1
  747. package/dist/actions/trigger-direct-debit-activation-charge.cjs +1 -0
  748. package/dist/actions/trigger-direct-debit-activation-charge.cjs.map +1 -1
  749. package/dist/actions/trigger-direct-debit-activation-charge.d.cts +3 -4
  750. package/dist/actions/trigger-direct-debit-activation-charge.d.cts.map +1 -1
  751. package/dist/actions/trigger-direct-debit-activation-charge.d.mts +3 -4
  752. package/dist/actions/trigger-direct-debit-activation-charge.d.mts.map +1 -1
  753. package/dist/actions/trigger-direct-debit-activation-charge.mjs +1 -0
  754. package/dist/actions/trigger-direct-debit-activation-charge.mjs.map +1 -1
  755. package/dist/actions/unassign-destination-from-virtual-terminal.cjs +1 -0
  756. package/dist/actions/unassign-destination-from-virtual-terminal.cjs.map +1 -1
  757. package/dist/actions/unassign-destination-from-virtual-terminal.d.cts +3 -4
  758. package/dist/actions/unassign-destination-from-virtual-terminal.d.cts.map +1 -1
  759. package/dist/actions/unassign-destination-from-virtual-terminal.d.mts +3 -4
  760. package/dist/actions/unassign-destination-from-virtual-terminal.d.mts.map +1 -1
  761. package/dist/actions/unassign-destination-from-virtual-terminal.mjs +1 -0
  762. package/dist/actions/unassign-destination-from-virtual-terminal.mjs.map +1 -1
  763. package/dist/actions/unregister-apple-pay-domain.cjs +1 -0
  764. package/dist/actions/unregister-apple-pay-domain.cjs.map +1 -1
  765. package/dist/actions/unregister-apple-pay-domain.d.cts +3 -3
  766. package/dist/actions/unregister-apple-pay-domain.d.cts.map +1 -1
  767. package/dist/actions/unregister-apple-pay-domain.d.mts +3 -3
  768. package/dist/actions/unregister-apple-pay-domain.d.mts.map +1 -1
  769. package/dist/actions/unregister-apple-pay-domain.mjs +1 -0
  770. package/dist/actions/unregister-apple-pay-domain.mjs.map +1 -1
  771. package/dist/actions/update-customer.cjs +1 -0
  772. package/dist/actions/update-customer.cjs.map +1 -1
  773. package/dist/actions/update-customer.d.cts +3 -7
  774. package/dist/actions/update-customer.d.cts.map +1 -1
  775. package/dist/actions/update-customer.d.mts +3 -7
  776. package/dist/actions/update-customer.d.mts.map +1 -1
  777. package/dist/actions/update-customer.mjs +1 -0
  778. package/dist/actions/update-customer.mjs.map +1 -1
  779. package/dist/actions/update-payment-page.cjs +1 -0
  780. package/dist/actions/update-payment-page.cjs.map +1 -1
  781. package/dist/actions/update-payment-page.d.cts +3 -7
  782. package/dist/actions/update-payment-page.d.cts.map +1 -1
  783. package/dist/actions/update-payment-page.d.mts +3 -7
  784. package/dist/actions/update-payment-page.d.mts.map +1 -1
  785. package/dist/actions/update-payment-page.mjs +1 -0
  786. package/dist/actions/update-payment-page.mjs.map +1 -1
  787. package/dist/actions/update-payment-request.cjs +1 -0
  788. package/dist/actions/update-payment-request.cjs.map +1 -1
  789. package/dist/actions/update-payment-request.d.cts +4 -25
  790. package/dist/actions/update-payment-request.d.cts.map +1 -1
  791. package/dist/actions/update-payment-request.d.mts +4 -25
  792. package/dist/actions/update-payment-request.d.mts.map +1 -1
  793. package/dist/actions/update-payment-request.mjs +1 -0
  794. package/dist/actions/update-payment-request.mjs.map +1 -1
  795. package/dist/actions/update-payment-session-timeout.cjs +1 -0
  796. package/dist/actions/update-payment-session-timeout.cjs.map +1 -1
  797. package/dist/actions/update-payment-session-timeout.d.cts +3 -3
  798. package/dist/actions/update-payment-session-timeout.d.cts.map +1 -1
  799. package/dist/actions/update-payment-session-timeout.d.mts +3 -3
  800. package/dist/actions/update-payment-session-timeout.d.mts.map +1 -1
  801. package/dist/actions/update-payment-session-timeout.mjs +1 -0
  802. package/dist/actions/update-payment-session-timeout.mjs.map +1 -1
  803. package/dist/actions/update-plan.cjs +1 -0
  804. package/dist/actions/update-plan.cjs.map +1 -1
  805. package/dist/actions/update-plan.d.cts +4 -12
  806. package/dist/actions/update-plan.d.cts.map +1 -1
  807. package/dist/actions/update-plan.d.mts +4 -12
  808. package/dist/actions/update-plan.d.mts.map +1 -1
  809. package/dist/actions/update-plan.mjs +1 -0
  810. package/dist/actions/update-plan.mjs.map +1 -1
  811. package/dist/actions/update-product.cjs +1 -0
  812. package/dist/actions/update-product.cjs.map +1 -1
  813. package/dist/actions/update-product.d.cts +4 -12
  814. package/dist/actions/update-product.d.cts.map +1 -1
  815. package/dist/actions/update-product.d.mts +4 -12
  816. package/dist/actions/update-product.d.mts.map +1 -1
  817. package/dist/actions/update-product.mjs +1 -0
  818. package/dist/actions/update-product.mjs.map +1 -1
  819. package/dist/actions/update-split.cjs +1 -0
  820. package/dist/actions/update-split.cjs.map +1 -1
  821. package/dist/actions/update-split.d.cts +3 -7
  822. package/dist/actions/update-split.d.cts.map +1 -1
  823. package/dist/actions/update-split.d.mts +3 -7
  824. package/dist/actions/update-split.d.mts.map +1 -1
  825. package/dist/actions/update-split.mjs +1 -0
  826. package/dist/actions/update-split.mjs.map +1 -1
  827. package/dist/actions/update-storefront.cjs +1 -0
  828. package/dist/actions/update-storefront.cjs.map +1 -1
  829. package/dist/actions/update-storefront.d.cts +3 -6
  830. package/dist/actions/update-storefront.d.cts.map +1 -1
  831. package/dist/actions/update-storefront.d.mts +3 -6
  832. package/dist/actions/update-storefront.d.mts.map +1 -1
  833. package/dist/actions/update-storefront.mjs +1 -0
  834. package/dist/actions/update-storefront.mjs.map +1 -1
  835. package/dist/actions/update-subaccount.cjs +1 -0
  836. package/dist/actions/update-subaccount.cjs.map +1 -1
  837. package/dist/actions/update-subaccount.d.cts +3 -13
  838. package/dist/actions/update-subaccount.d.cts.map +1 -1
  839. package/dist/actions/update-subaccount.d.mts +3 -13
  840. package/dist/actions/update-subaccount.d.mts.map +1 -1
  841. package/dist/actions/update-subaccount.mjs +1 -0
  842. package/dist/actions/update-subaccount.mjs.map +1 -1
  843. package/dist/actions/update-transfer-recipient.cjs +1 -0
  844. package/dist/actions/update-transfer-recipient.cjs.map +1 -1
  845. package/dist/actions/update-transfer-recipient.d.cts +3 -5
  846. package/dist/actions/update-transfer-recipient.d.cts.map +1 -1
  847. package/dist/actions/update-transfer-recipient.d.mts +3 -5
  848. package/dist/actions/update-transfer-recipient.d.mts.map +1 -1
  849. package/dist/actions/update-transfer-recipient.mjs +1 -0
  850. package/dist/actions/update-transfer-recipient.mjs.map +1 -1
  851. package/dist/actions/validate-bank-account.cjs +1 -0
  852. package/dist/actions/validate-bank-account.cjs.map +1 -1
  853. package/dist/actions/validate-bank-account.d.cts +3 -9
  854. package/dist/actions/validate-bank-account.d.cts.map +1 -1
  855. package/dist/actions/validate-bank-account.d.mts +3 -9
  856. package/dist/actions/validate-bank-account.d.mts.map +1 -1
  857. package/dist/actions/validate-bank-account.mjs +1 -0
  858. package/dist/actions/validate-bank-account.mjs.map +1 -1
  859. package/dist/actions/validate-customer.cjs +1 -0
  860. package/dist/actions/validate-customer.cjs.map +1 -1
  861. package/dist/actions/validate-customer.d.cts +3 -12
  862. package/dist/actions/validate-customer.d.cts.map +1 -1
  863. package/dist/actions/validate-customer.d.mts +3 -12
  864. package/dist/actions/validate-customer.d.mts.map +1 -1
  865. package/dist/actions/validate-customer.mjs +1 -0
  866. package/dist/actions/validate-customer.mjs.map +1 -1
  867. package/dist/actions/validate-order.cjs +1 -0
  868. package/dist/actions/validate-order.cjs.map +1 -1
  869. package/dist/actions/validate-order.d.cts +3 -3
  870. package/dist/actions/validate-order.d.cts.map +1 -1
  871. package/dist/actions/validate-order.d.mts +3 -3
  872. package/dist/actions/validate-order.d.mts.map +1 -1
  873. package/dist/actions/validate-order.mjs +1 -0
  874. package/dist/actions/validate-order.mjs.map +1 -1
  875. package/dist/actions/verify-payment-request.cjs +1 -0
  876. package/dist/actions/verify-payment-request.cjs.map +1 -1
  877. package/dist/actions/verify-payment-request.d.cts +3 -3
  878. package/dist/actions/verify-payment-request.d.cts.map +1 -1
  879. package/dist/actions/verify-payment-request.d.mts +3 -3
  880. package/dist/actions/verify-payment-request.d.mts.map +1 -1
  881. package/dist/actions/verify-payment-request.mjs +1 -0
  882. package/dist/actions/verify-payment-request.mjs.map +1 -1
  883. package/dist/actions/verify-storefront-slug.cjs +1 -0
  884. package/dist/actions/verify-storefront-slug.cjs.map +1 -1
  885. package/dist/actions/verify-storefront-slug.d.cts +3 -3
  886. package/dist/actions/verify-storefront-slug.d.cts.map +1 -1
  887. package/dist/actions/verify-storefront-slug.d.mts +3 -3
  888. package/dist/actions/verify-storefront-slug.d.mts.map +1 -1
  889. package/dist/actions/verify-storefront-slug.mjs +1 -0
  890. package/dist/actions/verify-storefront-slug.mjs.map +1 -1
  891. package/dist/actions/verify-transaction.cjs +1 -0
  892. package/dist/actions/verify-transaction.cjs.map +1 -1
  893. package/dist/actions/verify-transaction.d.cts +3 -3
  894. package/dist/actions/verify-transaction.d.cts.map +1 -1
  895. package/dist/actions/verify-transaction.d.mts +3 -3
  896. package/dist/actions/verify-transaction.d.mts.map +1 -1
  897. package/dist/actions/verify-transaction.mjs +1 -0
  898. package/dist/actions/verify-transaction.mjs.map +1 -1
  899. package/dist/app.cjs +5 -2
  900. package/dist/app.cjs.map +1 -1
  901. package/dist/app.d.cts +7 -1
  902. package/dist/app.d.cts.map +1 -1
  903. package/dist/app.d.mts +7 -1
  904. package/dist/app.d.mts.map +1 -1
  905. package/dist/app.mjs +3 -2
  906. package/dist/app.mjs.map +1 -1
  907. package/dist/index.d.cts +1 -1
  908. package/dist/index.d.mts +1 -1
  909. package/package.json +2 -2
@@ -1,3 +1,5 @@
1
+ import { paystack } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-split.d.ts
@@ -8,11 +10,11 @@ declare const PaystackCreateSplitInput: z.ZodObject<{
8
10
  percentage: "percentage";
9
11
  }>;
10
12
  currency: z.ZodEnum<{
11
- NGN: "NGN";
12
13
  GHS: "GHS";
14
+ KES: "KES";
15
+ NGN: "NGN";
13
16
  ZAR: "ZAR";
14
17
  USD: "USD";
15
- KES: "KES";
16
18
  }>;
17
19
  bearer_type: z.ZodEnum<{
18
20
  subaccount: "subaccount";
@@ -50,18 +52,7 @@ declare const PaystackCreateSplitOutput: z.ZodObject<{
50
52
  status: z.ZodNullable<z.ZodBoolean>;
51
53
  message: z.ZodNullable<z.ZodString>;
52
54
  }, z.core.$loose>;
53
- declare const paystackCreateSplit: import("@keystrokehq/action").WorkflowActionDefinition<{
54
- name: string;
55
- type: "flat" | "percentage";
56
- currency: "NGN" | "GHS" | "ZAR" | "USD" | "KES";
57
- bearer_type: "subaccount" | "account" | "all-proportional" | "all";
58
- subaccounts: {
59
- [x: string]: unknown;
60
- share: number;
61
- subaccount: string;
62
- }[];
63
- bearer_subaccount?: string | undefined;
64
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
55
+ declare const paystackCreateSplit: AppAction<typeof PaystackCreateSplitInput, typeof PaystackCreateSplitOutput, typeof paystack.credential>;
65
56
  //#endregion
66
57
  export { paystackCreateSplit };
67
58
  //# sourceMappingURL=create-split.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-split.d.cts","names":[],"sources":["../../src/actions/create-split.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAgCxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAMzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"create-split.d.cts","names":[],"sources":["../../src/actions/create-split.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAgCxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAMzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { paystack } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-split.d.ts
@@ -8,11 +10,11 @@ declare const PaystackCreateSplitInput: z.ZodObject<{
8
10
  percentage: "percentage";
9
11
  }>;
10
12
  currency: z.ZodEnum<{
11
- NGN: "NGN";
12
13
  GHS: "GHS";
14
+ KES: "KES";
15
+ NGN: "NGN";
13
16
  ZAR: "ZAR";
14
17
  USD: "USD";
15
- KES: "KES";
16
18
  }>;
17
19
  bearer_type: z.ZodEnum<{
18
20
  subaccount: "subaccount";
@@ -50,18 +52,7 @@ declare const PaystackCreateSplitOutput: z.ZodObject<{
50
52
  status: z.ZodNullable<z.ZodBoolean>;
51
53
  message: z.ZodNullable<z.ZodString>;
52
54
  }, z.core.$loose>;
53
- declare const paystackCreateSplit: import("@keystrokehq/action").WorkflowActionDefinition<{
54
- name: string;
55
- type: "flat" | "percentage";
56
- currency: "NGN" | "GHS" | "ZAR" | "USD" | "KES";
57
- bearer_type: "subaccount" | "account" | "all-proportional" | "all";
58
- subaccounts: {
59
- [x: string]: unknown;
60
- share: number;
61
- subaccount: string;
62
- }[];
63
- bearer_subaccount?: string | undefined;
64
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
55
+ declare const paystackCreateSplit: AppAction<typeof PaystackCreateSplitInput, typeof PaystackCreateSplitOutput, typeof paystack.credential>;
65
56
  //#endregion
66
57
  export { paystackCreateSplit };
67
58
  //# sourceMappingURL=create-split.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-split.d.mts","names":[],"sources":["../../src/actions/create-split.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAgCxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAMzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"create-split.d.mts","names":[],"sources":["../../src/actions/create-split.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAgCxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAMzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/create-split.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-split.mjs","names":[],"sources":["../../src/actions/create-split.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackCreateSplitInput = z.object({\n name: z.string().describe(\"Name for the transaction split configuration\"),\n type: z.enum([\"percentage\", \"flat\"]).describe(\"The type of transaction split - 'percentage' for percentage-based splits or 'flat' for fixed amount splits\"),\n currency: z.enum([\"NGN\", \"GHS\", \"ZAR\", \"USD\", \"KES\"]).describe(\"The transaction currency for this split configuration\"),\n bearer_type: z.enum([\"subaccount\", \"account\", \"all-proportional\", \"all\"]).describe(\"Specifies who bears the Paystack transaction charges. 'subaccount' means a specific subaccount bears it, 'account' means the main account bears it, 'all-proportional' distributes charges proportionally, 'all' means all parties share charges\"),\n subaccounts: z.array(z.object({\n share: z.number().int().describe(\"Share amount for this subaccount. For percentage type, this is the percentage (e.g., 50 for 50%). For flat type, this is the amount in kobo/cents\"),\n subaccount: z.string().describe(\"Subaccount code (e.g., ACCT_xxxxxxx) to receive a share of the transaction\"),\n}).passthrough().describe(\"Subaccount with share allocation.\")).describe(\"List of subaccounts with their respective share allocations. Each subaccount specifies the subaccount code and the share amount\"),\n bearer_subaccount: z.string().describe(\"Subaccount code that will bear the transaction charges. Required only when bearer_type is 'subaccount'. This subaccount will be charged for the Paystack fees\").optional(),\n}).describe(\"Request model for creating a transaction split configuration.\");\nconst PaystackCreateSplit_SubaccountResponseSchema = z.object({\n share: z.number().int().describe(\"Share amount for this subaccount\").nullable().optional(),\n subaccount: z.record(z.string(), z.unknown()).describe(\"Subaccount details object\").nullable().optional(),\n}).passthrough().describe(\"Subaccount information in the response.\");\nconst PaystackCreateSplit_SplitDataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the split configuration\").nullable(),\n name: z.string().describe(\"Name of the split configuration\").nullable(),\n type: z.string().describe(\"Type of split (percentage or flat)\").nullable(),\n active: z.boolean().describe(\"Whether the split is active\").nullable(),\n domain: z.string().describe(\"Domain (test or live)\").nullable(),\n currency: z.string().describe(\"Currency code for the split\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the split was created\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the split was last updated\").nullable(),\n is_dynamic: z.boolean().describe(\"Whether the split is dynamic\").nullable(),\n split_code: z.string().describe(\"Unique split code (e.g., SPL_xxxxxxx)\").nullable(),\n bearer_type: z.string().describe(\"Who bears the transaction charges\").nullable(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n subaccounts: z.array(PaystackCreateSplit_SubaccountResponseSchema).describe(\"List of subaccounts in the split\"),\n bearer_subaccount: z.number().int().describe(\"Subaccount ID bearing charges, if applicable\").nullable().optional(),\n total_subaccounts: z.number().int().describe(\"Total number of subaccounts in the split\").nullable(),\n}).passthrough().describe(\"Split configuration data returned from the API.\");\nexport const PaystackCreateSplitOutput = z.object({\n data: PaystackCreateSplit_SplitDataSchema.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 from creating a split configuration.\");\n\nexport const paystackCreateSplit = action(\"PAYSTACK_CREATE_SPLIT\", {\n slug: \"paystack-create-split\",\n name: \"Create Split Configuration\",\n description: \"Tool to create a split configuration for transaction revenue sharing. Use when you need to configure how transaction revenue should be split between multiple subaccounts (e.g., for marketplace platforms, revenue sharing, or commission distribution).\",\n input: PaystackCreateSplitInput,\n output: PaystackCreateSplitOutput,\n});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E,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"create-split.mjs","names":[],"sources":["../../src/actions/create-split.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { paystack } from \"../app\";\n\nexport const PaystackCreateSplitInput = z.object({\n name: z.string().describe(\"Name for the transaction split configuration\"),\n type: z.enum([\"percentage\", \"flat\"]).describe(\"The type of transaction split - 'percentage' for percentage-based splits or 'flat' for fixed amount splits\"),\n currency: z.enum([\"NGN\", \"GHS\", \"ZAR\", \"USD\", \"KES\"]).describe(\"The transaction currency for this split configuration\"),\n bearer_type: z.enum([\"subaccount\", \"account\", \"all-proportional\", \"all\"]).describe(\"Specifies who bears the Paystack transaction charges. 'subaccount' means a specific subaccount bears it, 'account' means the main account bears it, 'all-proportional' distributes charges proportionally, 'all' means all parties share charges\"),\n subaccounts: z.array(z.object({\n share: z.number().int().describe(\"Share amount for this subaccount. For percentage type, this is the percentage (e.g., 50 for 50%). For flat type, this is the amount in kobo/cents\"),\n subaccount: z.string().describe(\"Subaccount code (e.g., ACCT_xxxxxxx) to receive a share of the transaction\"),\n}).passthrough().describe(\"Subaccount with share allocation.\")).describe(\"List of subaccounts with their respective share allocations. Each subaccount specifies the subaccount code and the share amount\"),\n bearer_subaccount: z.string().describe(\"Subaccount code that will bear the transaction charges. Required only when bearer_type is 'subaccount'. This subaccount will be charged for the Paystack fees\").optional(),\n}).describe(\"Request model for creating a transaction split configuration.\");\nconst PaystackCreateSplit_SubaccountResponseSchema = z.object({\n share: z.number().int().describe(\"Share amount for this subaccount\").nullable().optional(),\n subaccount: z.record(z.string(), z.unknown()).describe(\"Subaccount details object\").nullable().optional(),\n}).passthrough().describe(\"Subaccount information in the response.\");\nconst PaystackCreateSplit_SplitDataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the split configuration\").nullable(),\n name: z.string().describe(\"Name of the split configuration\").nullable(),\n type: z.string().describe(\"Type of split (percentage or flat)\").nullable(),\n active: z.boolean().describe(\"Whether the split is active\").nullable(),\n domain: z.string().describe(\"Domain (test or live)\").nullable(),\n currency: z.string().describe(\"Currency code for the split\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the split was created\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the split was last updated\").nullable(),\n is_dynamic: z.boolean().describe(\"Whether the split is dynamic\").nullable(),\n split_code: z.string().describe(\"Unique split code (e.g., SPL_xxxxxxx)\").nullable(),\n bearer_type: z.string().describe(\"Who bears the transaction charges\").nullable(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n subaccounts: z.array(PaystackCreateSplit_SubaccountResponseSchema).describe(\"List of subaccounts in the split\"),\n bearer_subaccount: z.number().int().describe(\"Subaccount ID bearing charges, if applicable\").nullable().optional(),\n total_subaccounts: z.number().int().describe(\"Total number of subaccounts in the split\").nullable(),\n}).passthrough().describe(\"Split configuration data returned from the API.\");\nexport const PaystackCreateSplitOutput = z.object({\n data: PaystackCreateSplit_SplitDataSchema.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 from creating a split configuration.\");\n\nexport const paystackCreateSplit: AppAction<\n typeof PaystackCreateSplitInput,\n typeof PaystackCreateSplitOutput,\n typeof paystack.credential\n> = action(\"PAYSTACK_CREATE_SPLIT\", {\n slug: \"paystack-create-split\",\n name: \"Create Split Configuration\",\n description: \"Tool to create a split configuration for transaction revenue sharing. Use when you need to configure how transaction revenue should be split between multiple subaccounts (e.g., for marketplace platforms, revenue sharing, or commission distribution).\",\n input: PaystackCreateSplitInput,\n output: PaystackCreateSplitOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,S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C,CAAC,SAAS,+CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/create-storefront.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-storefront.cjs","names":["z","action"],"sources":["../../src/actions/create-storefront.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackCreateStorefrontInput = z.object({\n name: z.string().describe(\"Name of the storefront\"),\n slug: z.string().describe(\"A unique identifier to access your store. Once the storefront is created, it can be accessed from https://paystack.shop/your-slug\"),\n currency: z.enum([\"GHS\", \"KES\", \"NGN\", \"USD\", \"ZAR\"]).describe(\"Currency for prices of products in your storefront. Must be one of: GHS, KES, NGN, USD, ZAR\"),\n description: z.string().describe(\"The description of the storefront\").optional(),\n}).describe(\"Request to create a new storefront.\");\nconst PaystackCreateStorefront_StorefrontDataSchema = z.object({\n id: z.string().describe(\"Unique storefront identifier\").nullable(),\n name: z.string().describe(\"Name of the storefront\").nullable(),\n slug: z.string().describe(\"Unique slug to access the storefront\").nullable(),\n domain: z.string().describe(\"Domain where the storefront is accessible\").nullable(),\n status: z.string().describe(\"Status of the storefront\").nullable(),\n contacts: z.array(z.record(z.string(), z.unknown())).describe(\"Contact information\"),\n currency: z.string().describe(\"Currency for product prices\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata for the storefront\").nullable().optional(),\n products: z.array(z.record(z.string(), z.unknown())).describe(\"Products in the storefront\"),\n createdAt: z.string().describe(\"Timestamp when the storefront was created\").nullable(),\n shippable: z.boolean().describe(\"Whether the storefront supports shipping\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the storefront was last updated\").nullable(),\n description: z.string().describe(\"Description of the storefront\").nullable().optional(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n redirect_url: z.string().describe(\"URL to redirect after successful purchase\").nullable().optional(),\n social_media: z.array(z.record(z.string(), z.unknown())).describe(\"Social media links\"),\n delivery_note: z.string().describe(\"Delivery note for the storefront\").nullable(),\n shipping_fees: z.array(z.record(z.string(), z.unknown())).describe(\"Shipping fee configurations\"),\n success_message: z.string().describe(\"Success message after purchase\").nullable().optional(),\n welcome_message: z.string().describe(\"Welcome message for the storefront\").nullable().optional(),\n background_color: z.string().describe(\"Background color of the storefront\").nullable(),\n digital_product_expiry: z.number().int().describe(\"Expiry time for digital products in seconds\").nullable().optional(),\n}).passthrough().describe(\"Storefront data returned from the API.\");\nexport const PaystackCreateStorefrontOutput = z.object({\n data: PaystackCreateStorefront_StorefrontDataSchema.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 created storefront details.\");\n\nexport const paystackCreateStorefront = action(\"PAYSTACK_CREATE_STOREFRONT\", {\n slug: \"paystack-create-storefront\",\n name: \"Create Storefront\",\n description: \"Create a digital storefront on Paystack to manage and display products. Use this when you need to set up a new online shop for selling digital or physical products.\",\n input: PaystackCreateStorefrontInput,\n output: PaystackCreateStorefrontOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI;CAC7J,UAAUA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAO;EAAO;EAAO;CAAK,CAAC,CAAC,CAAC,SAAS,6FAA6F;CAC5J,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACjE,MAAMA,IAAAA,EAA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CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-storefront.cjs","names":["z","action"],"sources":["../../src/actions/create-storefront.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { paystack } from \"../app\";\n\nexport const PaystackCreateStorefrontInput = z.object({\n name: z.string().describe(\"Name of the storefront\"),\n slug: z.string().describe(\"A unique identifier to access your store. Once the storefront is created, it can be accessed from https://paystack.shop/your-slug\"),\n currency: z.enum([\"GHS\", \"KES\", \"NGN\", \"USD\", \"ZAR\"]).describe(\"Currency for prices of products in your storefront. Must be one of: GHS, KES, NGN, USD, ZAR\"),\n description: z.string().describe(\"The description of the storefront\").optional(),\n}).describe(\"Request to create a new storefront.\");\nconst PaystackCreateStorefront_StorefrontDataSchema = z.object({\n id: z.string().describe(\"Unique storefront identifier\").nullable(),\n name: z.string().describe(\"Name of the storefront\").nullable(),\n slug: z.string().describe(\"Unique slug to access the storefront\").nullable(),\n domain: z.string().describe(\"Domain where the storefront is accessible\").nullable(),\n status: z.string().describe(\"Status of the storefront\").nullable(),\n contacts: z.array(z.record(z.string(), z.unknown())).describe(\"Contact information\"),\n currency: z.string().describe(\"Currency for product prices\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata for the storefront\").nullable().optional(),\n products: z.array(z.record(z.string(), z.unknown())).describe(\"Products in the storefront\"),\n createdAt: z.string().describe(\"Timestamp when the storefront was created\").nullable(),\n shippable: z.boolean().describe(\"Whether the storefront supports shipping\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the storefront was last updated\").nullable(),\n description: z.string().describe(\"Description of the storefront\").nullable().optional(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n redirect_url: z.string().describe(\"URL to redirect after successful purchase\").nullable().optional(),\n social_media: z.array(z.record(z.string(), z.unknown())).describe(\"Social media links\"),\n delivery_note: z.string().describe(\"Delivery note for the storefront\").nullable(),\n shipping_fees: z.array(z.record(z.string(), z.unknown())).describe(\"Shipping fee configurations\"),\n success_message: z.string().describe(\"Success message after purchase\").nullable().optional(),\n welcome_message: z.string().describe(\"Welcome message for the storefront\").nullable().optional(),\n background_color: z.string().describe(\"Background color of the storefront\").nullable(),\n digital_product_expiry: z.number().int().describe(\"Expiry time for digital products in seconds\").nullable().optional(),\n}).passthrough().describe(\"Storefront data returned from the API.\");\nexport const PaystackCreateStorefrontOutput = z.object({\n data: PaystackCreateStorefront_StorefrontDataSchema.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 created storefront details.\");\n\nexport const paystackCreateStorefront: AppAction<\n typeof PaystackCreateStorefrontInput,\n typeof PaystackCreateStorefrontOutput,\n typeof paystack.credential\n> = action(\"PAYSTACK_CREATE_STOREFRONT\", {\n slug: \"paystack-create-storefront\",\n name: \"Create Storefront\",\n description: \"Create a digital storefront on Paystack to manage and display products. Use this when you need to set up a new online shop for selling digital or physical products.\",\n input: PaystackCreateStorefrontInput,\n output: PaystackCreateStorefrontOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI;CAC7J,UAAUA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAO;EAAO;EAAO;CAAK,CAAC,CAAC,CAAC,SAAS,6FAA6F;CAC5J,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;C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C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { paystack } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-storefront.d.ts
@@ -5,11 +7,11 @@ declare const PaystackCreateStorefrontInput: z.ZodObject<{
5
7
  name: z.ZodString;
6
8
  slug: z.ZodString;
7
9
  currency: z.ZodEnum<{
8
- NGN: "NGN";
9
10
  GHS: "GHS";
11
+ KES: "KES";
12
+ NGN: "NGN";
10
13
  ZAR: "ZAR";
11
14
  USD: "USD";
12
- KES: "KES";
13
15
  }>;
14
16
  description: z.ZodOptional<z.ZodString>;
15
17
  }, z.core.$strip>;
@@ -41,12 +43,7 @@ declare const PaystackCreateStorefrontOutput: z.ZodObject<{
41
43
  status: z.ZodNullable<z.ZodBoolean>;
42
44
  message: z.ZodNullable<z.ZodString>;
43
45
  }, z.core.$loose>;
44
- declare const paystackCreateStorefront: import("@keystrokehq/action").WorkflowActionDefinition<{
45
- name: string;
46
- slug: string;
47
- currency: "NGN" | "GHS" | "ZAR" | "USD" | "KES";
48
- description?: string | undefined;
49
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
46
+ declare const paystackCreateStorefront: AppAction<typeof PaystackCreateStorefrontInput, typeof PaystackCreateStorefrontOutput, typeof paystack.credential>;
50
47
  //#endregion
51
48
  export { paystackCreateStorefront };
52
49
  //# sourceMappingURL=create-storefront.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-storefront.d.cts","names":[],"sources":["../../src/actions/create-storefront.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;cA8B7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"create-storefront.d.cts","names":[],"sources":["../../src/actions/create-storefront.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;cA8B7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { paystack } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-storefront.d.ts
@@ -5,11 +7,11 @@ declare const PaystackCreateStorefrontInput: z.ZodObject<{
5
7
  name: z.ZodString;
6
8
  slug: z.ZodString;
7
9
  currency: z.ZodEnum<{
8
- NGN: "NGN";
9
10
  GHS: "GHS";
11
+ KES: "KES";
12
+ NGN: "NGN";
10
13
  ZAR: "ZAR";
11
14
  USD: "USD";
12
- KES: "KES";
13
15
  }>;
14
16
  description: z.ZodOptional<z.ZodString>;
15
17
  }, z.core.$strip>;
@@ -41,12 +43,7 @@ declare const PaystackCreateStorefrontOutput: z.ZodObject<{
41
43
  status: z.ZodNullable<z.ZodBoolean>;
42
44
  message: z.ZodNullable<z.ZodString>;
43
45
  }, z.core.$loose>;
44
- declare const paystackCreateStorefront: import("@keystrokehq/action").WorkflowActionDefinition<{
45
- name: string;
46
- slug: string;
47
- currency: "NGN" | "GHS" | "ZAR" | "USD" | "KES";
48
- description?: string | undefined;
49
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
46
+ declare const paystackCreateStorefront: AppAction<typeof PaystackCreateStorefrontInput, typeof PaystackCreateStorefrontOutput, typeof paystack.credential>;
50
47
  //#endregion
51
48
  export { paystackCreateStorefront };
52
49
  //# sourceMappingURL=create-storefront.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-storefront.d.mts","names":[],"sources":["../../src/actions/create-storefront.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;cA8B7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"create-storefront.d.mts","names":[],"sources":["../../src/actions/create-storefront.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;cA8B7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/create-storefront.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-storefront.mjs","names":[],"sources":["../../src/actions/create-storefront.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackCreateStorefrontInput = z.object({\n name: z.string().describe(\"Name of the storefront\"),\n slug: z.string().describe(\"A unique identifier to access your store. Once the storefront is created, it can be accessed from https://paystack.shop/your-slug\"),\n currency: z.enum([\"GHS\", \"KES\", \"NGN\", \"USD\", \"ZAR\"]).describe(\"Currency for prices of products in your storefront. Must be one of: GHS, KES, NGN, USD, ZAR\"),\n description: z.string().describe(\"The description of the storefront\").optional(),\n}).describe(\"Request to create a new storefront.\");\nconst PaystackCreateStorefront_StorefrontDataSchema = z.object({\n id: z.string().describe(\"Unique storefront identifier\").nullable(),\n name: z.string().describe(\"Name of the storefront\").nullable(),\n slug: z.string().describe(\"Unique slug to access the storefront\").nullable(),\n domain: z.string().describe(\"Domain where the storefront is accessible\").nullable(),\n status: z.string().describe(\"Status of the storefront\").nullable(),\n contacts: z.array(z.record(z.string(), z.unknown())).describe(\"Contact information\"),\n currency: z.string().describe(\"Currency for product prices\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata for the storefront\").nullable().optional(),\n products: z.array(z.record(z.string(), z.unknown())).describe(\"Products in the storefront\"),\n createdAt: z.string().describe(\"Timestamp when the storefront was created\").nullable(),\n shippable: z.boolean().describe(\"Whether the storefront supports shipping\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the storefront was last updated\").nullable(),\n description: z.string().describe(\"Description of the storefront\").nullable().optional(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n redirect_url: z.string().describe(\"URL to redirect after successful purchase\").nullable().optional(),\n social_media: z.array(z.record(z.string(), z.unknown())).describe(\"Social media links\"),\n delivery_note: z.string().describe(\"Delivery note for the storefront\").nullable(),\n shipping_fees: z.array(z.record(z.string(), z.unknown())).describe(\"Shipping fee configurations\"),\n success_message: z.string().describe(\"Success message after purchase\").nullable().optional(),\n welcome_message: z.string().describe(\"Welcome message for the storefront\").nullable().optional(),\n background_color: z.string().describe(\"Background color of the storefront\").nullable(),\n digital_product_expiry: z.number().int().describe(\"Expiry time for digital products in seconds\").nullable().optional(),\n}).passthrough().describe(\"Storefront data returned from the API.\");\nexport const PaystackCreateStorefrontOutput = z.object({\n data: PaystackCreateStorefront_StorefrontDataSchema.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 created storefront details.\");\n\nexport const paystackCreateStorefront = action(\"PAYSTACK_CREATE_STOREFRONT\", {\n slug: \"paystack-create-storefront\",\n name: \"Create Storefront\",\n description: \"Create a digital storefront on Paystack to manage and display products. Use this when you need to set up a new online shop for selling digital or physical products.\",\n input: PaystackCreateStorefrontInput,\n output: PaystackCreateStorefrontOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD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,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"create-storefront.mjs","names":[],"sources":["../../src/actions/create-storefront.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { paystack } from \"../app\";\n\nexport const PaystackCreateStorefrontInput = z.object({\n name: z.string().describe(\"Name of the storefront\"),\n slug: z.string().describe(\"A unique identifier to access your store. Once the storefront is created, it can be accessed from https://paystack.shop/your-slug\"),\n currency: z.enum([\"GHS\", \"KES\", \"NGN\", \"USD\", \"ZAR\"]).describe(\"Currency for prices of products in your storefront. Must be one of: GHS, KES, NGN, USD, ZAR\"),\n description: z.string().describe(\"The description of the storefront\").optional(),\n}).describe(\"Request to create a new storefront.\");\nconst PaystackCreateStorefront_StorefrontDataSchema = z.object({\n id: z.string().describe(\"Unique storefront identifier\").nullable(),\n name: z.string().describe(\"Name of the storefront\").nullable(),\n slug: z.string().describe(\"Unique slug to access the storefront\").nullable(),\n domain: z.string().describe(\"Domain where the storefront is accessible\").nullable(),\n status: z.string().describe(\"Status of the storefront\").nullable(),\n contacts: z.array(z.record(z.string(), z.unknown())).describe(\"Contact information\"),\n currency: z.string().describe(\"Currency for product prices\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata for the storefront\").nullable().optional(),\n products: z.array(z.record(z.string(), z.unknown())).describe(\"Products in the storefront\"),\n createdAt: z.string().describe(\"Timestamp when the storefront was created\").nullable(),\n shippable: z.boolean().describe(\"Whether the storefront supports shipping\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the storefront was last updated\").nullable(),\n description: z.string().describe(\"Description of the storefront\").nullable().optional(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n redirect_url: z.string().describe(\"URL to redirect after successful purchase\").nullable().optional(),\n social_media: z.array(z.record(z.string(), z.unknown())).describe(\"Social media links\"),\n delivery_note: z.string().describe(\"Delivery note for the storefront\").nullable(),\n shipping_fees: z.array(z.record(z.string(), z.unknown())).describe(\"Shipping fee configurations\"),\n success_message: z.string().describe(\"Success message after purchase\").nullable().optional(),\n welcome_message: z.string().describe(\"Welcome message for the storefront\").nullable().optional(),\n background_color: z.string().describe(\"Background color of the storefront\").nullable(),\n digital_product_expiry: z.number().int().describe(\"Expiry time for digital products in seconds\").nullable().optional(),\n}).passthrough().describe(\"Storefront data returned from the API.\");\nexport const PaystackCreateStorefrontOutput = z.object({\n data: PaystackCreateStorefront_StorefrontDataSchema.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 created storefront details.\");\n\nexport const paystackCreateStorefront: AppAction<\n typeof PaystackCreateStorefrontInput,\n typeof PaystackCreateStorefrontOutput,\n typeof paystack.credential\n> = action(\"PAYSTACK_CREATE_STOREFRONT\", {\n slug: \"paystack-create-storefront\",\n name: \"Create Storefront\",\n description: \"Create a digital storefront on Paystack to manage and display products. Use this when you need to set up a new online shop for selling digital or physical products.\",\n input: PaystackCreateStorefrontInput,\n output: PaystackCreateStorefrontOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI;CAC7J,UAAU,EAAE,KAAK;EAAC;EAAO;EAAO;EAAO;EAAO;CAAK,CAAC,CAAC,CAAC,SAAS,6FAA6F;CAC5J,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,gDAAgD,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CA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Q,CAAC,CAAC,CAAC,CAAC,SAAS,oBAAoB;CACtF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAChF,eAAe,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,6BAA6B;CAChG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACrF,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAOlE,MAAa,2BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf4C,EAAE,OAAO;EACrD,MAAM,8CAA8C,SAAS;EAC7D,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,qDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/create-subaccount.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-subaccount.cjs","names":["z","action"],"sources":["../../src/actions/create-subaccount.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackCreateSubaccountInput = z.object({\n metadata: z.string().describe(\"Stringified JSON object of custom data\").optional(),\n description: z.string().describe(\"A description for this subaccount\").optional(),\n business_name: z.string().describe(\"Name of business for subaccount\"),\n account_number: z.string().describe(\"Bank account number\"),\n settlement_bank: z.string().describe(\"Bank code for the bank. You can get the list of Bank Codes by calling the List Banks endpoint.\"),\n percentage_charge: z.number().describe(\"Percentage of transaction amount charged by the subaccount\"),\n primary_contact_name: z.string().describe(\"The name of the contact person for this subaccount\").optional(),\n primary_contact_email: z.string().describe(\"A contact email for the subaccount\").optional(),\n primary_contact_phone: z.string().describe(\"A phone number to call for this subaccount\").optional(),\n});\nconst PaystackCreateSubaccount_SubaccountDataSchema = z.object({\n id: z.number().int().describe(\"Subaccount ID\").nullable(),\n bank: z.number().int().describe(\"Bank ID\").nullable(),\n active: z.boolean().describe(\"Active status\").nullable(),\n domain: z.string().describe(\"Domain\").nullable(),\n migrate: z.boolean().describe(\"Migration status\").nullable(),\n product: z.string().describe(\"Product type\").nullable(),\n currency: z.string().describe(\"Currency code\").nullable(),\n metadata: z.string().describe(\"Custom metadata\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n description: z.string().describe(\"Description for the subaccount\").nullable().optional(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n is_verified: z.boolean().describe(\"Verification status\").nullable(),\n account_name: z.string().describe(\"Bank account name\").nullable().optional(),\n business_name: z.string().describe(\"Name of business for subaccount\").nullable(),\n account_number: z.string().describe(\"Bank account number\").nullable(),\n settlement_bank: z.string().describe(\"Settlement bank code\").nullable(),\n subaccount_code: z.string().describe(\"Unique subaccount code\").nullable(),\n percentage_charge: z.number().describe(\"Percentage charge\").nullable(),\n settlement_schedule: z.string().describe(\"Settlement schedule\").nullable(),\n primary_contact_name: z.string().describe(\"Contact name for the subaccount\").nullable().optional(),\n primary_contact_email: z.string().describe(\"Contact email for the subaccount\").nullable().optional(),\n primary_contact_phone: z.string().describe(\"Contact phone for the subaccount\").nullable().optional(),\n managed_by_integration: z.number().int().describe(\"Managed by integration ID\").nullable(),\n}).passthrough();\nexport const PaystackCreateSubaccountOutput = z.object({\n data: PaystackCreateSubaccount_SubaccountDataSchema.nullable(),\n status: z.boolean().describe(\"Request status\").nullable(),\n message: z.string().describe(\"Response message\").nullable(),\n}).passthrough();\n\nexport const paystackCreateSubaccount = action(\"PAYSTACK_CREATE_SUBACCOUNT\", {\n slug: \"paystack-create-subaccount\",\n name: \"Create Subaccount\",\n description: \"Tool to create a subaccount on your Paystack integration. Use when you need to set up a new subaccount with bank details and settlement information.\",\n input: PaystackCreateSubaccountInput,\n output: PaystackCreateSubaccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC/E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CACpE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CACzD,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;CACrI,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACnG,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACzG,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC1F,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACpG,CAAC;AACD,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CA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ent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { paystack } from \"../app\";\n\nexport const PaystackCreateSubaccountInput = z.object({\n metadata: z.string().describe(\"Stringified JSON object of custom data\").optional(),\n description: z.string().describe(\"A description for this subaccount\").optional(),\n business_name: z.string().describe(\"Name of business for subaccount\"),\n account_number: z.string().describe(\"Bank account number\"),\n settlement_bank: z.string().describe(\"Bank code for the bank. You can get the list of Bank Codes by calling the List Banks endpoint.\"),\n percentage_charge: z.number().describe(\"Percentage of transaction amount charged by the subaccount\"),\n primary_contact_name: z.string().describe(\"The name of the contact person for this subaccount\").optional(),\n primary_contact_email: z.string().describe(\"A contact email for the subaccount\").optional(),\n primary_contact_phone: z.string().describe(\"A phone number to call for this subaccount\").optional(),\n});\nconst PaystackCreateSubaccount_SubaccountDataSchema = z.object({\n id: z.number().int().describe(\"Subaccount ID\").nullable(),\n bank: z.number().int().describe(\"Bank ID\").nullable(),\n active: z.boolean().describe(\"Active status\").nullable(),\n domain: z.string().describe(\"Domain\").nullable(),\n migrate: z.boolean().describe(\"Migration status\").nullable(),\n product: z.string().describe(\"Product type\").nullable(),\n currency: z.string().describe(\"Currency code\").nullable(),\n metadata: z.string().describe(\"Custom metadata\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n description: z.string().describe(\"Description for the subaccount\").nullable().optional(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n is_verified: z.boolean().describe(\"Verification status\").nullable(),\n account_name: z.string().describe(\"Bank account name\").nullable().optional(),\n business_name: z.string().describe(\"Name of business for subaccount\").nullable(),\n account_number: z.string().describe(\"Bank account number\").nullable(),\n settlement_bank: z.string().describe(\"Settlement bank code\").nullable(),\n subaccount_code: z.string().describe(\"Unique subaccount code\").nullable(),\n percentage_charge: z.number().describe(\"Percentage charge\").nullable(),\n settlement_schedule: z.string().describe(\"Settlement schedule\").nullable(),\n primary_contact_name: z.string().describe(\"Contact name for the subaccount\").nullable().optional(),\n primary_contact_email: z.string().describe(\"Contact email for the subaccount\").nullable().optional(),\n primary_contact_phone: z.string().describe(\"Contact phone for the subaccount\").nullable().optional(),\n managed_by_integration: z.number().int().describe(\"Managed by integration ID\").nullable(),\n}).passthrough();\nexport const PaystackCreateSubaccountOutput = z.object({\n data: PaystackCreateSubaccount_SubaccountDataSchema.nullable(),\n status: z.boolean().describe(\"Request status\").nullable(),\n message: z.string().describe(\"Response message\").nullable(),\n}).passthrough();\n\nexport const paystackCreateSubaccount: AppAction<\n typeof PaystackCreateSubaccountInput,\n typeof PaystackCreateSubaccountOutput,\n typeof paystack.credential\n> = action(\"PAYSTACK_CREATE_SUBACCOUNT\", {\n slug: \"paystack-create-subaccount\",\n name: \"Create Subaccount\",\n description: \"Tool to create a subaccount on your Paystack integration. Use when you need to set up a new subaccount with bank details and settlement information.\",\n input: PaystackCreateSubaccountInput,\n output: PaystackCreateSubaccountOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC/E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CACpE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CACzD,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;CACrI,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACnG,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACzG,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CA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,YAAY;AAEf,MAAa,2BAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { paystack } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-subaccount.d.ts
@@ -42,17 +44,7 @@ declare const PaystackCreateSubaccountOutput: z.ZodObject<{
42
44
  status: z.ZodNullable<z.ZodBoolean>;
43
45
  message: z.ZodNullable<z.ZodString>;
44
46
  }, z.core.$loose>;
45
- declare const paystackCreateSubaccount: import("@keystrokehq/action").WorkflowActionDefinition<{
46
- business_name: string;
47
- account_number: string;
48
- settlement_bank: string;
49
- percentage_charge: number;
50
- metadata?: string | undefined;
51
- description?: string | undefined;
52
- primary_contact_name?: string | undefined;
53
- primary_contact_email?: string | undefined;
54
- primary_contact_phone?: string | undefined;
55
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
47
+ declare const paystackCreateSubaccount: AppAction<typeof PaystackCreateSubaccountInput, typeof PaystackCreateSubaccountOutput, typeof paystack.credential>;
56
48
  //#endregion
57
49
  export { paystackCreateSubaccount };
58
50
  //# sourceMappingURL=create-subaccount.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-subaccount.d.cts","names":[],"sources":["../../src/actions/create-subaccount.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;cAqC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"create-subaccount.d.cts","names":[],"sources":["../../src/actions/create-subaccount.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;cAqC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { paystack } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-subaccount.d.ts
@@ -42,17 +44,7 @@ declare const PaystackCreateSubaccountOutput: z.ZodObject<{
42
44
  status: z.ZodNullable<z.ZodBoolean>;
43
45
  message: z.ZodNullable<z.ZodString>;
44
46
  }, z.core.$loose>;
45
- declare const paystackCreateSubaccount: import("@keystrokehq/action").WorkflowActionDefinition<{
46
- business_name: string;
47
- account_number: string;
48
- settlement_bank: string;
49
- percentage_charge: number;
50
- metadata?: string | undefined;
51
- description?: string | undefined;
52
- primary_contact_name?: string | undefined;
53
- primary_contact_email?: string | undefined;
54
- primary_contact_phone?: string | undefined;
55
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
47
+ declare const paystackCreateSubaccount: AppAction<typeof PaystackCreateSubaccountInput, typeof PaystackCreateSubaccountOutput, typeof paystack.credential>;
56
48
  //#endregion
57
49
  export { paystackCreateSubaccount };
58
50
  //# sourceMappingURL=create-subaccount.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-subaccount.d.mts","names":[],"sources":["../../src/actions/create-subaccount.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;cAqC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"create-subaccount.d.mts","names":[],"sources":["../../src/actions/create-subaccount.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;cAqC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/create-subaccount.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-subaccount.mjs","names":[],"sources":["../../src/actions/create-subaccount.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackCreateSubaccountInput = z.object({\n metadata: z.string().describe(\"Stringified JSON object of custom data\").optional(),\n description: z.string().describe(\"A description for this subaccount\").optional(),\n business_name: z.string().describe(\"Name of business for subaccount\"),\n account_number: z.string().describe(\"Bank account number\"),\n settlement_bank: z.string().describe(\"Bank code for the bank. You can get the list of Bank Codes by calling the List Banks endpoint.\"),\n percentage_charge: z.number().describe(\"Percentage of transaction amount charged by the subaccount\"),\n primary_contact_name: z.string().describe(\"The name of the contact person for this subaccount\").optional(),\n primary_contact_email: z.string().describe(\"A contact email for the subaccount\").optional(),\n primary_contact_phone: z.string().describe(\"A phone number to call for this subaccount\").optional(),\n});\nconst PaystackCreateSubaccount_SubaccountDataSchema = z.object({\n id: z.number().int().describe(\"Subaccount ID\").nullable(),\n bank: z.number().int().describe(\"Bank ID\").nullable(),\n active: z.boolean().describe(\"Active status\").nullable(),\n domain: z.string().describe(\"Domain\").nullable(),\n migrate: z.boolean().describe(\"Migration status\").nullable(),\n product: z.string().describe(\"Product type\").nullable(),\n currency: z.string().describe(\"Currency code\").nullable(),\n metadata: z.string().describe(\"Custom metadata\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n description: z.string().describe(\"Description for the subaccount\").nullable().optional(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n is_verified: z.boolean().describe(\"Verification status\").nullable(),\n account_name: z.string().describe(\"Bank account name\").nullable().optional(),\n business_name: z.string().describe(\"Name of business for subaccount\").nullable(),\n account_number: z.string().describe(\"Bank account number\").nullable(),\n settlement_bank: z.string().describe(\"Settlement bank code\").nullable(),\n subaccount_code: z.string().describe(\"Unique subaccount code\").nullable(),\n percentage_charge: z.number().describe(\"Percentage charge\").nullable(),\n settlement_schedule: z.string().describe(\"Settlement schedule\").nullable(),\n primary_contact_name: z.string().describe(\"Contact name for the subaccount\").nullable().optional(),\n primary_contact_email: z.string().describe(\"Contact email for the subaccount\").nullable().optional(),\n primary_contact_phone: z.string().describe(\"Contact phone for the subaccount\").nullable().optional(),\n managed_by_integration: z.number().int().describe(\"Managed by integration ID\").nullable(),\n}).passthrough();\nexport const PaystackCreateSubaccountOutput = z.object({\n data: PaystackCreateSubaccount_SubaccountDataSchema.nullable(),\n status: z.boolean().describe(\"Request status\").nullable(),\n message: z.string().describe(\"Response message\").nullable(),\n}).passthrough();\n\nexport const paystackCreateSubaccount = action(\"PAYSTACK_CREATE_SUBACCOUNT\", {\n slug: \"paystack-create-subaccount\",\n name: \"Create Subaccount\",\n description: \"Tool to create a subaccount on your Paystack integration. Use when you need to set up a new subaccount with bank details and settlement information.\",\n input: PaystackCreateSubaccountInput,\n output: PaystackCreateSubaccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC/E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CACpE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CACzD,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;CACrI,mBAAmB,E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,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"create-subaccount.mjs","names":[],"sources":["../../src/actions/create-subaccount.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { paystack } from \"../app\";\n\nexport const PaystackCreateSubaccountInput = z.object({\n metadata: z.string().describe(\"Stringified JSON object of custom data\").optional(),\n description: z.string().describe(\"A description for this subaccount\").optional(),\n business_name: z.string().describe(\"Name of business for subaccount\"),\n account_number: z.string().describe(\"Bank account number\"),\n settlement_bank: z.string().describe(\"Bank code for the bank. You can get the list of Bank Codes by calling the List Banks endpoint.\"),\n percentage_charge: z.number().describe(\"Percentage of transaction amount charged by the subaccount\"),\n primary_contact_name: z.string().describe(\"The name of the contact person for this subaccount\").optional(),\n primary_contact_email: z.string().describe(\"A contact email for the subaccount\").optional(),\n primary_contact_phone: z.string().describe(\"A phone number to call for this subaccount\").optional(),\n});\nconst PaystackCreateSubaccount_SubaccountDataSchema = z.object({\n id: z.number().int().describe(\"Subaccount ID\").nullable(),\n bank: z.number().int().describe(\"Bank ID\").nullable(),\n active: z.boolean().describe(\"Active status\").nullable(),\n domain: z.string().describe(\"Domain\").nullable(),\n migrate: z.boolean().describe(\"Migration status\").nullable(),\n product: z.string().describe(\"Product type\").nullable(),\n currency: z.string().describe(\"Currency code\").nullable(),\n metadata: z.string().describe(\"Custom metadata\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n description: z.string().describe(\"Description for the subaccount\").nullable().optional(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n is_verified: z.boolean().describe(\"Verification status\").nullable(),\n account_name: z.string().describe(\"Bank account name\").nullable().optional(),\n business_name: z.string().describe(\"Name of business for subaccount\").nullable(),\n account_number: z.string().describe(\"Bank account number\").nullable(),\n settlement_bank: z.string().describe(\"Settlement bank code\").nullable(),\n subaccount_code: z.string().describe(\"Unique subaccount code\").nullable(),\n percentage_charge: z.number().describe(\"Percentage charge\").nullable(),\n settlement_schedule: z.string().describe(\"Settlement schedule\").nullable(),\n primary_contact_name: z.string().describe(\"Contact name for the subaccount\").nullable().optional(),\n primary_contact_email: z.string().describe(\"Contact email for the subaccount\").nullable().optional(),\n primary_contact_phone: z.string().describe(\"Contact phone for the subaccount\").nullable().optional(),\n managed_by_integration: z.number().int().describe(\"Managed by integration ID\").nullable(),\n}).passthrough();\nexport const PaystackCreateSubaccountOutput = z.object({\n data: PaystackCreateSubaccount_SubaccountDataSchema.nullable(),\n status: z.boolean().describe(\"Request status\").nullable(),\n message: z.string().describe(\"Response message\").nullable(),\n}).passthrough();\n\nexport const paystackCreateSubaccount: AppAction<\n typeof PaystackCreateSubaccountInput,\n typeof PaystackCreateSubaccountOutput,\n typeof paystack.credential\n> = action(\"PAYSTACK_CREATE_SUBACCOUNT\", {\n slug: \"paystack-create-subaccount\",\n name: \"Create Subaccount\",\n description: \"Tool to create a subaccount on your Paystack integration. Use when you need to set up a new subaccount with bank details and settlement information.\",\n input: PaystackCreateSubaccountInput,\n output: PaystackCreateSubaccountOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgC,EAAE,OAAO;CACpD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC/E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CACpE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CACzD,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;CACrI,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACnG,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACzG,uBAAuB,EAAE,OAAO,CAAC,CAAC,SA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AAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC/E,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACpE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACtE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACxE,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACrE,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACzE,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY;AAOf,MAAa,2BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf4C,EAAE,OAAO;EACrD,MAAM,8CAA8C,SAAS;EAC7D,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;EACxD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAC5D,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/create-transfer-recipient.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-transfer-recipient.cjs","names":["z","action"],"sources":["../../src/actions/create-transfer-recipient.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackCreateTransferRecipientInput = z.object({\n name: z.string().describe(\"The recipient's name according to their account registration. This is the name that will appear on transfer receipts.\"),\n type: z.enum([\"nuban\", \"ghipss\", \"mobile_money\", \"basa\", \"authorization\"]).describe(\"Recipient type. Options: 'nuban' (Nigerian bank account), 'ghipss' (Ghanaian bank account), 'mobile_money' (mobile money account), 'basa' (South African bank account), 'authorization' (Paystack authorization code from previous transaction).\"),\n email: z.string().describe(\"Email address of the recipient. Optional but recommended for better record-keeping and communication.\").optional(),\n currency: z.string().describe(\"Currency for the account receiving the transfer. If not provided, defaults to NGN (Nigerian Naira). Common values: 'NGN', 'GHS' (Ghanaian Cedi), 'ZAR' (South African Rand), 'USD'.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"JSON object of custom data. You can store additional information about the recipient here. Maximum of 10 key-value pairs allowed.\").optional(),\n bank_code: z.string().describe(\"Recipient's bank code. Required for bank account types. You can get the list of bank codes by calling the List Banks endpoint. For Nigerian banks, this is typically a 3-digit code (e.g., '044' for Access Bank).\"),\n description: z.string().describe(\"A description for this recipient. Helpful for identifying the purpose or context of this recipient in your records.\").optional(),\n account_number: z.string().describe(\"Recipient's bank account number. Required for bank account types (nuban, ghipss, basa). Must be a valid account number for the specified bank.\"),\n authorization_code: z.string().describe(\"An authorization code from a previous transaction. Required when type is 'authorization'. This allows creating a recipient from a previously authorized payment method.\").optional(),\n}).describe(\"Request model for creating a transfer recipient.\");\nconst PaystackCreateTransferRecipient_TransferRecipientDetailsSchema = z.object({\n bank_code: z.string().describe(\"Bank code\").nullable(),\n bank_name: z.string().describe(\"Name of the recipient's bank\").nullable(),\n account_name: z.string().describe(\"Name on the recipient's account\").nullable(),\n account_number: z.string().describe(\"Recipient's account number\").nullable(),\n authorization_code: z.string().describe(\"Authorization code if applicable\").nullable().optional(),\n}).passthrough().describe(\"Details of the transfer recipient's account.\");\nconst PaystackCreateTransferRecipient_TransferRecipientDataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the recipient\").nullable(),\n name: z.string().describe(\"Name of the recipient\").nullable(),\n type: z.string().describe(\"Type of recipient\").nullable(),\n email: z.string().describe(\"Email address of the recipient\").nullable().optional(),\n active: z.boolean().describe(\"Whether the recipient is active\").nullable(),\n domain: z.string().describe(\"Domain associated with the recipient\").nullable(),\n details: PaystackCreateTransferRecipient_TransferRecipientDetailsSchema.nullable(),\n currency: z.string().describe(\"Currency for the recipient's account\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata associated with the recipient\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the recipient was created\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the recipient was last updated\").nullable(),\n is_deleted: z.boolean().describe(\"Whether the recipient has been deleted\").nullable(),\n description: z.string().describe(\"Description of the recipient\").nullable().optional(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n recipient_code: z.string().describe(\"Unique recipient code that can be used to initiate transfers\").nullable(),\n}).passthrough().describe(\"Transfer recipient data returned by the API.\");\nexport const PaystackCreateTransferRecipientOutput = z.object({\n data: PaystackCreateTransferRecipient_TransferRecipientDataSchema.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 from creating a transfer recipient.\");\n\nexport const paystackCreateTransferRecipient = action(\"PAYSTACK_CREATE_TRANSFER_RECIPIENT\", {\n slug: \"paystack-create-transfer-recipient\",\n name: \"Create Transfer Recipient\",\n description: \"Tool to create a new recipient for transfers. Use when you need to set up a recipient before initiating a transfer. Note: A duplicate account number will lead to retrieval of the existing record rather than creating a new one.\",\n input: PaystackCreateTransferRecipientInput,\n output: PaystackCreateTransferRecipientOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,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AC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CAClE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAM,4DAA4D,SAAS;CAC3E,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,kCAAkCC,eAAAA,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-transfer-recipient.cjs","names":["z","action"],"sources":["../../src/actions/create-transfer-recipient.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { paystack } from \"../app\";\n\nexport const PaystackCreateTransferRecipientInput = z.object({\n name: z.string().describe(\"The recipient's name according to their account registration. This is the name that will appear on transfer receipts.\"),\n type: z.enum([\"nuban\", \"ghipss\", \"mobile_money\", \"basa\", \"authorization\"]).describe(\"Recipient type. Options: 'nuban' (Nigerian bank account), 'ghipss' (Ghanaian bank account), 'mobile_money' (mobile money account), 'basa' (South African bank account), 'authorization' (Paystack authorization code from previous transaction).\"),\n email: z.string().describe(\"Email address of the recipient. Optional but recommended for better record-keeping and communication.\").optional(),\n currency: z.string().describe(\"Currency for the account receiving the transfer. If not provided, defaults to NGN (Nigerian Naira). Common values: 'NGN', 'GHS' (Ghanaian Cedi), 'ZAR' (South African Rand), 'USD'.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"JSON object of custom data. You can store additional information about the recipient here. Maximum of 10 key-value pairs allowed.\").optional(),\n bank_code: z.string().describe(\"Recipient's bank code. Required for bank account types. You can get the list of bank codes by calling the List Banks endpoint. For Nigerian banks, this is typically a 3-digit code (e.g., '044' for Access Bank).\"),\n description: z.string().describe(\"A description for this recipient. Helpful for identifying the purpose or context of this recipient in your records.\").optional(),\n account_number: z.string().describe(\"Recipient's bank account number. Required for bank account types (nuban, ghipss, basa). Must be a valid account number for the specified bank.\"),\n authorization_code: z.string().describe(\"An authorization code from a previous transaction. Required when type is 'authorization'. This allows creating a recipient from a previously authorized payment method.\").optional(),\n}).describe(\"Request model for creating a transfer recipient.\");\nconst PaystackCreateTransferRecipient_TransferRecipientDetailsSchema = z.object({\n bank_code: z.string().describe(\"Bank code\").nullable(),\n bank_name: z.string().describe(\"Name of the recipient's bank\").nullable(),\n account_name: z.string().describe(\"Name on the recipient's account\").nullable(),\n account_number: z.string().describe(\"Recipient's account number\").nullable(),\n authorization_code: z.string().describe(\"Authorization code if applicable\").nullable().optional(),\n}).passthrough().describe(\"Details of the transfer recipient's account.\");\nconst PaystackCreateTransferRecipient_TransferRecipientDataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the recipient\").nullable(),\n name: z.string().describe(\"Name of the recipient\").nullable(),\n type: z.string().describe(\"Type of recipient\").nullable(),\n email: z.string().describe(\"Email address of the recipient\").nullable().optional(),\n active: z.boolean().describe(\"Whether the recipient is active\").nullable(),\n domain: z.string().describe(\"Domain associated with the recipient\").nullable(),\n details: PaystackCreateTransferRecipient_TransferRecipientDetailsSchema.nullable(),\n currency: z.string().describe(\"Currency for the recipient's account\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata associated with the recipient\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the recipient was created\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the recipient was last updated\").nullable(),\n is_deleted: z.boolean().describe(\"Whether the recipient has been deleted\").nullable(),\n description: z.string().describe(\"Description of the recipient\").nullable().optional(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n recipient_code: z.string().describe(\"Unique recipient code that can be used to initiate transfers\").nullable(),\n}).passthrough().describe(\"Transfer recipient data returned by the API.\");\nexport const PaystackCreateTransferRecipientOutput = z.object({\n data: PaystackCreateTransferRecipient_TransferRecipientDataSchema.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 from creating a transfer recipient.\");\n\nexport const paystackCreateTransferRecipient: AppAction<\n typeof PaystackCreateTransferRecipientInput,\n typeof PaystackCreateTransferRecipientOutput,\n typeof paystack.credential\n> = action(\"PAYSTACK_CREATE_TRANSFER_RECIPIENT\", {\n slug: \"paystack-create-transfer-recipient\",\n name: \"Create Transfer Recipient\",\n description: \"Tool to create a new recipient for transfers. Use when you need to set up a recipient before initiating a transfer. Note: A duplicate account number will lead to retrieval of the existing record rather than creating a new one.\",\n input: PaystackCreateTransferRecipientInput,\n output: PaystackCreateTransferRecipientOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH;CACjJ,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAU;EAAgB;EAAQ;CAAe,CAAC,CAAC,CAAC,SAAS,kPAAkP;CACtU,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CAC7I,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qLAAqL,CAAC,CAAC,SAAS;CAC9N,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS;CACnM,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oNAAoN;CACn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AM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { paystack } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-transfer-recipient.d.ts
@@ -5,10 +7,10 @@ declare const PaystackCreateTransferRecipientInput: z.ZodObject<{
5
7
  name: z.ZodString;
6
8
  type: z.ZodEnum<{
7
9
  authorization: "authorization";
8
- nuban: "nuban";
9
- ghipss: "ghipss";
10
10
  mobile_money: "mobile_money";
11
+ nuban: "nuban";
11
12
  basa: "basa";
13
+ ghipss: "ghipss";
12
14
  }>;
13
15
  email: z.ZodOptional<z.ZodString>;
14
16
  currency: z.ZodOptional<z.ZodString>;
@@ -45,17 +47,7 @@ declare const PaystackCreateTransferRecipientOutput: z.ZodObject<{
45
47
  status: z.ZodNullable<z.ZodBoolean>;
46
48
  message: z.ZodNullable<z.ZodString>;
47
49
  }, z.core.$loose>;
48
- declare const paystackCreateTransferRecipient: import("@keystrokehq/action").WorkflowActionDefinition<{
49
- name: string;
50
- type: "authorization" | "nuban" | "ghipss" | "mobile_money" | "basa";
51
- bank_code: string;
52
- account_number: string;
53
- email?: string | undefined;
54
- currency?: string | undefined;
55
- metadata?: Record<string, unknown> | undefined;
56
- description?: string | undefined;
57
- authorization_code?: string | undefined;
58
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
50
+ declare const paystackCreateTransferRecipient: AppAction<typeof PaystackCreateTransferRecipientInput, typeof PaystackCreateTransferRecipientOutput, typeof paystack.credential>;
59
51
  //#endregion
60
52
  export { paystackCreateTransferRecipient };
61
53
  //# sourceMappingURL=create-transfer-recipient.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-transfer-recipient.d.cts","names":[],"sources":["../../src/actions/create-transfer-recipient.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAmCpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMrC,+BAAA,gCAA+B,wBAAA;;;;;;;aAM1C,MAAA"}
1
+ {"version":3,"file":"create-transfer-recipient.d.cts","names":[],"sources":["../../src/actions/create-transfer-recipient.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAmCpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { paystack } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-transfer-recipient.d.ts
@@ -5,10 +7,10 @@ declare const PaystackCreateTransferRecipientInput: z.ZodObject<{
5
7
  name: z.ZodString;
6
8
  type: z.ZodEnum<{
7
9
  authorization: "authorization";
8
- nuban: "nuban";
9
- ghipss: "ghipss";
10
10
  mobile_money: "mobile_money";
11
+ nuban: "nuban";
11
12
  basa: "basa";
13
+ ghipss: "ghipss";
12
14
  }>;
13
15
  email: z.ZodOptional<z.ZodString>;
14
16
  currency: z.ZodOptional<z.ZodString>;
@@ -45,17 +47,7 @@ declare const PaystackCreateTransferRecipientOutput: z.ZodObject<{
45
47
  status: z.ZodNullable<z.ZodBoolean>;
46
48
  message: z.ZodNullable<z.ZodString>;
47
49
  }, z.core.$loose>;
48
- declare const paystackCreateTransferRecipient: import("@keystrokehq/action").WorkflowActionDefinition<{
49
- name: string;
50
- type: "authorization" | "nuban" | "ghipss" | "mobile_money" | "basa";
51
- bank_code: string;
52
- account_number: string;
53
- email?: string | undefined;
54
- currency?: string | undefined;
55
- metadata?: Record<string, unknown> | undefined;
56
- description?: string | undefined;
57
- authorization_code?: string | undefined;
58
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
50
+ declare const paystackCreateTransferRecipient: AppAction<typeof PaystackCreateTransferRecipientInput, typeof PaystackCreateTransferRecipientOutput, typeof paystack.credential>;
59
51
  //#endregion
60
52
  export { paystackCreateTransferRecipient };
61
53
  //# sourceMappingURL=create-transfer-recipient.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-transfer-recipient.d.mts","names":[],"sources":["../../src/actions/create-transfer-recipient.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAmCpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMrC,+BAAA,gCAA+B,wBAAA;;;;;;;aAM1C,MAAA"}
1
+ {"version":3,"file":"create-transfer-recipient.d.mts","names":[],"sources":["../../src/actions/create-transfer-recipient.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAmCpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/create-transfer-recipient.ts