@keystrokehq/paystack 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (687) hide show
  1. package/dist/actions/add-products-to-page.cjs +3 -3
  2. package/dist/actions/add-products-to-page.cjs.map +1 -1
  3. package/dist/actions/add-products-to-page.d.cts +3 -3
  4. package/dist/actions/add-products-to-page.d.mts +3 -3
  5. package/dist/actions/add-products-to-page.mjs +3 -3
  6. package/dist/actions/add-products-to-page.mjs.map +1 -1
  7. package/dist/actions/add-products-to-storefront.cjs +1 -1
  8. package/dist/actions/add-products-to-storefront.cjs.map +1 -1
  9. package/dist/actions/add-products-to-storefront.d.cts +1 -1
  10. package/dist/actions/add-products-to-storefront.d.mts +1 -1
  11. package/dist/actions/add-products-to-storefront.mjs +1 -1
  12. package/dist/actions/add-products-to-storefront.mjs.map +1 -1
  13. package/dist/actions/add-split-code-to-virtual-terminal.cjs +3 -3
  14. package/dist/actions/add-split-code-to-virtual-terminal.cjs.map +1 -1
  15. package/dist/actions/add-split-code-to-virtual-terminal.d.cts +3 -3
  16. package/dist/actions/add-split-code-to-virtual-terminal.d.mts +3 -3
  17. package/dist/actions/add-split-code-to-virtual-terminal.mjs +3 -3
  18. package/dist/actions/add-split-code-to-virtual-terminal.mjs.map +1 -1
  19. package/dist/actions/add-subaccount-to-split.cjs +3 -3
  20. package/dist/actions/add-subaccount-to-split.cjs.map +1 -1
  21. package/dist/actions/add-subaccount-to-split.d.cts +3 -3
  22. package/dist/actions/add-subaccount-to-split.d.mts +3 -3
  23. package/dist/actions/add-subaccount-to-split.mjs +3 -3
  24. package/dist/actions/add-subaccount-to-split.mjs.map +1 -1
  25. package/dist/actions/archive-payment-request.cjs +1 -1
  26. package/dist/actions/archive-payment-request.cjs.map +1 -1
  27. package/dist/actions/archive-payment-request.d.cts +1 -1
  28. package/dist/actions/archive-payment-request.d.mts +1 -1
  29. package/dist/actions/archive-payment-request.mjs +1 -1
  30. package/dist/actions/archive-payment-request.mjs.map +1 -1
  31. package/dist/actions/assign-destination-to-virtual-terminal.cjs +3 -3
  32. package/dist/actions/assign-destination-to-virtual-terminal.cjs.map +1 -1
  33. package/dist/actions/assign-destination-to-virtual-terminal.d.cts +4 -3
  34. package/dist/actions/assign-destination-to-virtual-terminal.d.mts +4 -3
  35. package/dist/actions/assign-destination-to-virtual-terminal.mjs +3 -3
  36. package/dist/actions/assign-destination-to-virtual-terminal.mjs.map +1 -1
  37. package/dist/actions/check-pending-charge.cjs +5 -5
  38. package/dist/actions/check-pending-charge.cjs.map +1 -1
  39. package/dist/actions/check-pending-charge.d.cts +5 -5
  40. package/dist/actions/check-pending-charge.d.mts +5 -5
  41. package/dist/actions/check-pending-charge.mjs +5 -5
  42. package/dist/actions/check-pending-charge.mjs.map +1 -1
  43. package/dist/actions/check-slug-availability.cjs +1 -1
  44. package/dist/actions/check-slug-availability.cjs.map +1 -1
  45. package/dist/actions/check-slug-availability.d.cts +1 -1
  46. package/dist/actions/check-slug-availability.d.mts +1 -1
  47. package/dist/actions/check-slug-availability.mjs +1 -1
  48. package/dist/actions/check-slug-availability.mjs.map +1 -1
  49. package/dist/actions/create-bulk-transfer-recipient.cjs +5 -5
  50. package/dist/actions/create-bulk-transfer-recipient.cjs.map +1 -1
  51. package/dist/actions/create-bulk-transfer-recipient.d.cts +6 -5
  52. package/dist/actions/create-bulk-transfer-recipient.d.cts.map +1 -1
  53. package/dist/actions/create-bulk-transfer-recipient.d.mts +6 -5
  54. package/dist/actions/create-bulk-transfer-recipient.d.mts.map +1 -1
  55. package/dist/actions/create-bulk-transfer-recipient.mjs +5 -5
  56. package/dist/actions/create-bulk-transfer-recipient.mjs.map +1 -1
  57. package/dist/actions/create-charge.cjs +8 -8
  58. package/dist/actions/create-charge.cjs.map +1 -1
  59. package/dist/actions/create-charge.d.cts +8 -8
  60. package/dist/actions/create-charge.d.mts +8 -8
  61. package/dist/actions/create-charge.mjs +8 -8
  62. package/dist/actions/create-charge.mjs.map +1 -1
  63. package/dist/actions/create-customer.cjs +2 -2
  64. package/dist/actions/create-customer.cjs.map +1 -1
  65. package/dist/actions/create-customer.d.cts +2 -2
  66. package/dist/actions/create-customer.d.mts +2 -2
  67. package/dist/actions/create-customer.mjs +2 -2
  68. package/dist/actions/create-customer.mjs.map +1 -1
  69. package/dist/actions/create-payment-page.cjs +2 -2
  70. package/dist/actions/create-payment-page.cjs.map +1 -1
  71. package/dist/actions/create-payment-page.d.cts +6 -6
  72. package/dist/actions/create-payment-page.d.mts +6 -6
  73. package/dist/actions/create-payment-page.mjs +2 -2
  74. package/dist/actions/create-payment-page.mjs.map +1 -1
  75. package/dist/actions/create-payment-request.cjs +4 -4
  76. package/dist/actions/create-payment-request.cjs.map +1 -1
  77. package/dist/actions/create-payment-request.d.cts +6 -4
  78. package/dist/actions/create-payment-request.d.mts +6 -4
  79. package/dist/actions/create-payment-request.mjs +4 -4
  80. package/dist/actions/create-payment-request.mjs.map +1 -1
  81. package/dist/actions/create-plan.cjs +2 -2
  82. package/dist/actions/create-plan.cjs.map +1 -1
  83. package/dist/actions/create-plan.d.cts +2 -2
  84. package/dist/actions/create-plan.d.mts +2 -2
  85. package/dist/actions/create-plan.mjs +2 -2
  86. package/dist/actions/create-plan.mjs.map +1 -1
  87. package/dist/actions/create-refund.cjs +11 -11
  88. package/dist/actions/create-refund.cjs.map +1 -1
  89. package/dist/actions/create-refund.d.cts +13 -13
  90. package/dist/actions/create-refund.d.mts +13 -13
  91. package/dist/actions/create-refund.mjs +11 -11
  92. package/dist/actions/create-refund.mjs.map +1 -1
  93. package/dist/actions/create-split.cjs +4 -4
  94. package/dist/actions/create-split.cjs.map +1 -1
  95. package/dist/actions/create-split.d.cts +7 -6
  96. package/dist/actions/create-split.d.mts +7 -6
  97. package/dist/actions/create-split.mjs +4 -4
  98. package/dist/actions/create-split.mjs.map +1 -1
  99. package/dist/actions/create-storefront.cjs +7 -7
  100. package/dist/actions/create-storefront.cjs.map +1 -1
  101. package/dist/actions/create-storefront.d.cts +9 -9
  102. package/dist/actions/create-storefront.d.mts +9 -9
  103. package/dist/actions/create-storefront.mjs +7 -7
  104. package/dist/actions/create-storefront.mjs.map +1 -1
  105. package/dist/actions/create-subaccount.cjs +2 -2
  106. package/dist/actions/create-subaccount.cjs.map +1 -1
  107. package/dist/actions/create-subaccount.d.cts +2 -2
  108. package/dist/actions/create-subaccount.d.mts +2 -2
  109. package/dist/actions/create-subaccount.mjs +2 -2
  110. package/dist/actions/create-subaccount.mjs.map +1 -1
  111. package/dist/actions/create-transfer-recipient.cjs +3 -3
  112. package/dist/actions/create-transfer-recipient.cjs.map +1 -1
  113. package/dist/actions/create-transfer-recipient.d.cts +5 -5
  114. package/dist/actions/create-transfer-recipient.d.mts +5 -5
  115. package/dist/actions/create-transfer-recipient.mjs +3 -3
  116. package/dist/actions/create-transfer-recipient.mjs.map +1 -1
  117. package/dist/actions/create-virtual-terminal.cjs +7 -7
  118. package/dist/actions/create-virtual-terminal.cjs.map +1 -1
  119. package/dist/actions/create-virtual-terminal.d.cts +9 -8
  120. package/dist/actions/create-virtual-terminal.d.cts.map +1 -1
  121. package/dist/actions/create-virtual-terminal.d.mts +9 -8
  122. package/dist/actions/create-virtual-terminal.d.mts.map +1 -1
  123. package/dist/actions/create-virtual-terminal.mjs +7 -7
  124. package/dist/actions/create-virtual-terminal.mjs.map +1 -1
  125. package/dist/actions/deactivate-authorization.cjs +1 -1
  126. package/dist/actions/deactivate-authorization.cjs.map +1 -1
  127. package/dist/actions/deactivate-authorization.d.cts +1 -1
  128. package/dist/actions/deactivate-authorization.d.mts +1 -1
  129. package/dist/actions/deactivate-authorization.mjs +1 -1
  130. package/dist/actions/deactivate-authorization.mjs.map +1 -1
  131. package/dist/actions/deactivate-virtual-terminal.cjs +1 -1
  132. package/dist/actions/deactivate-virtual-terminal.cjs.map +1 -1
  133. package/dist/actions/deactivate-virtual-terminal.d.cts +1 -1
  134. package/dist/actions/deactivate-virtual-terminal.d.mts +1 -1
  135. package/dist/actions/deactivate-virtual-terminal.mjs +1 -1
  136. package/dist/actions/deactivate-virtual-terminal.mjs.map +1 -1
  137. package/dist/actions/delete-product.cjs +1 -1
  138. package/dist/actions/delete-product.cjs.map +1 -1
  139. package/dist/actions/delete-product.d.cts +1 -1
  140. package/dist/actions/delete-product.d.mts +1 -1
  141. package/dist/actions/delete-product.mjs +1 -1
  142. package/dist/actions/delete-product.mjs.map +1 -1
  143. package/dist/actions/delete-storefront.cjs +1 -1
  144. package/dist/actions/delete-storefront.cjs.map +1 -1
  145. package/dist/actions/delete-storefront.d.cts +1 -1
  146. package/dist/actions/delete-storefront.d.mts +1 -1
  147. package/dist/actions/delete-storefront.mjs +1 -1
  148. package/dist/actions/delete-storefront.mjs.map +1 -1
  149. package/dist/actions/delete-transfer-recipient.cjs +1 -1
  150. package/dist/actions/delete-transfer-recipient.cjs.map +1 -1
  151. package/dist/actions/delete-transfer-recipient.d.cts +1 -1
  152. package/dist/actions/delete-transfer-recipient.d.mts +1 -1
  153. package/dist/actions/delete-transfer-recipient.mjs +1 -1
  154. package/dist/actions/delete-transfer-recipient.mjs.map +1 -1
  155. package/dist/actions/disable-otp-for-transfers.cjs +1 -1
  156. package/dist/actions/disable-otp-for-transfers.cjs.map +1 -1
  157. package/dist/actions/disable-otp-for-transfers.d.cts +1 -1
  158. package/dist/actions/disable-otp-for-transfers.d.mts +1 -1
  159. package/dist/actions/disable-otp-for-transfers.mjs +1 -1
  160. package/dist/actions/disable-otp-for-transfers.mjs.map +1 -1
  161. package/dist/actions/disable-subscription.cjs +2 -2
  162. package/dist/actions/disable-subscription.cjs.map +1 -1
  163. package/dist/actions/disable-subscription.d.cts +2 -2
  164. package/dist/actions/disable-subscription.d.mts +2 -2
  165. package/dist/actions/disable-subscription.mjs +2 -2
  166. package/dist/actions/disable-subscription.mjs.map +1 -1
  167. package/dist/actions/duplicate-storefront.cjs +2 -2
  168. package/dist/actions/duplicate-storefront.cjs.map +1 -1
  169. package/dist/actions/duplicate-storefront.d.cts +2 -2
  170. package/dist/actions/duplicate-storefront.d.mts +2 -2
  171. package/dist/actions/duplicate-storefront.mjs +2 -2
  172. package/dist/actions/duplicate-storefront.mjs.map +1 -1
  173. package/dist/actions/enable-otp-requirement-for-transfers.cjs +1 -1
  174. package/dist/actions/enable-otp-requirement-for-transfers.cjs.map +1 -1
  175. package/dist/actions/enable-otp-requirement-for-transfers.d.cts +1 -1
  176. package/dist/actions/enable-otp-requirement-for-transfers.d.mts +1 -1
  177. package/dist/actions/enable-otp-requirement-for-transfers.mjs +1 -1
  178. package/dist/actions/enable-otp-requirement-for-transfers.mjs.map +1 -1
  179. package/dist/actions/export-transactions.cjs +2 -2
  180. package/dist/actions/export-transactions.cjs.map +1 -1
  181. package/dist/actions/export-transactions.d.cts +2 -2
  182. package/dist/actions/export-transactions.d.mts +2 -2
  183. package/dist/actions/export-transactions.mjs +2 -2
  184. package/dist/actions/export-transactions.mjs.map +1 -1
  185. package/dist/actions/fetch-balance-ledger.cjs +3 -3
  186. package/dist/actions/fetch-balance-ledger.cjs.map +1 -1
  187. package/dist/actions/fetch-balance-ledger.d.cts +3 -3
  188. package/dist/actions/fetch-balance-ledger.d.mts +3 -3
  189. package/dist/actions/fetch-balance-ledger.mjs +3 -3
  190. package/dist/actions/fetch-balance-ledger.mjs.map +1 -1
  191. package/dist/actions/fetch-balance.cjs +2 -2
  192. package/dist/actions/fetch-balance.cjs.map +1 -1
  193. package/dist/actions/fetch-balance.d.cts +2 -2
  194. package/dist/actions/fetch-balance.d.mts +2 -2
  195. package/dist/actions/fetch-balance.mjs +2 -2
  196. package/dist/actions/fetch-balance.mjs.map +1 -1
  197. package/dist/actions/fetch-bulk-charge-batch.cjs +2 -2
  198. package/dist/actions/fetch-bulk-charge-batch.cjs.map +1 -1
  199. package/dist/actions/fetch-bulk-charge-batch.d.cts +2 -2
  200. package/dist/actions/fetch-bulk-charge-batch.d.mts +2 -2
  201. package/dist/actions/fetch-bulk-charge-batch.mjs +2 -2
  202. package/dist/actions/fetch-bulk-charge-batch.mjs.map +1 -1
  203. package/dist/actions/fetch-customer.cjs +9 -9
  204. package/dist/actions/fetch-customer.cjs.map +1 -1
  205. package/dist/actions/fetch-customer.d.cts +10 -10
  206. package/dist/actions/fetch-customer.d.mts +10 -10
  207. package/dist/actions/fetch-customer.mjs +9 -9
  208. package/dist/actions/fetch-customer.mjs.map +1 -1
  209. package/dist/actions/fetch-mandate-authorizations.cjs +5 -5
  210. package/dist/actions/fetch-mandate-authorizations.cjs.map +1 -1
  211. package/dist/actions/fetch-mandate-authorizations.d.cts +5 -5
  212. package/dist/actions/fetch-mandate-authorizations.d.mts +5 -5
  213. package/dist/actions/fetch-mandate-authorizations.mjs +5 -5
  214. package/dist/actions/fetch-mandate-authorizations.mjs.map +1 -1
  215. package/dist/actions/fetch-payment-page.cjs +2 -2
  216. package/dist/actions/fetch-payment-page.cjs.map +1 -1
  217. package/dist/actions/fetch-payment-page.d.cts +2 -2
  218. package/dist/actions/fetch-payment-page.d.mts +2 -2
  219. package/dist/actions/fetch-payment-page.mjs +2 -2
  220. package/dist/actions/fetch-payment-page.mjs.map +1 -1
  221. package/dist/actions/fetch-payment-request.cjs +7 -7
  222. package/dist/actions/fetch-payment-request.cjs.map +1 -1
  223. package/dist/actions/fetch-payment-request.d.cts +7 -7
  224. package/dist/actions/fetch-payment-request.d.mts +7 -7
  225. package/dist/actions/fetch-payment-request.mjs +7 -7
  226. package/dist/actions/fetch-payment-request.mjs.map +1 -1
  227. package/dist/actions/fetch-payment-session-timeout.cjs +2 -2
  228. package/dist/actions/fetch-payment-session-timeout.cjs.map +1 -1
  229. package/dist/actions/fetch-payment-session-timeout.d.cts +2 -2
  230. package/dist/actions/fetch-payment-session-timeout.d.mts +2 -2
  231. package/dist/actions/fetch-payment-session-timeout.mjs +2 -2
  232. package/dist/actions/fetch-payment-session-timeout.mjs.map +1 -1
  233. package/dist/actions/fetch-plan.cjs +5 -5
  234. package/dist/actions/fetch-plan.cjs.map +1 -1
  235. package/dist/actions/fetch-plan.d.cts +5 -5
  236. package/dist/actions/fetch-plan.d.mts +5 -5
  237. package/dist/actions/fetch-plan.mjs +5 -5
  238. package/dist/actions/fetch-plan.mjs.map +1 -1
  239. package/dist/actions/fetch-product-orders.cjs +11 -11
  240. package/dist/actions/fetch-product-orders.cjs.map +1 -1
  241. package/dist/actions/fetch-product-orders.d.cts +11 -11
  242. package/dist/actions/fetch-product-orders.d.mts +11 -11
  243. package/dist/actions/fetch-product-orders.mjs +11 -11
  244. package/dist/actions/fetch-product-orders.mjs.map +1 -1
  245. package/dist/actions/fetch-product.cjs +8 -8
  246. package/dist/actions/fetch-product.cjs.map +1 -1
  247. package/dist/actions/fetch-product.d.cts +8 -8
  248. package/dist/actions/fetch-product.d.mts +8 -8
  249. package/dist/actions/fetch-product.mjs +8 -8
  250. package/dist/actions/fetch-product.mjs.map +1 -1
  251. package/dist/actions/fetch-refund.cjs +3 -3
  252. package/dist/actions/fetch-refund.cjs.map +1 -1
  253. package/dist/actions/fetch-refund.d.cts +3 -3
  254. package/dist/actions/fetch-refund.d.mts +3 -3
  255. package/dist/actions/fetch-refund.mjs +3 -3
  256. package/dist/actions/fetch-refund.mjs.map +1 -1
  257. package/dist/actions/fetch-split.cjs +3 -3
  258. package/dist/actions/fetch-split.cjs.map +1 -1
  259. package/dist/actions/fetch-split.d.cts +3 -3
  260. package/dist/actions/fetch-split.d.mts +3 -3
  261. package/dist/actions/fetch-split.mjs +3 -3
  262. package/dist/actions/fetch-split.mjs.map +1 -1
  263. package/dist/actions/fetch-storefront-orders.cjs +11 -11
  264. package/dist/actions/fetch-storefront-orders.cjs.map +1 -1
  265. package/dist/actions/fetch-storefront-orders.d.cts +11 -11
  266. package/dist/actions/fetch-storefront-orders.d.mts +11 -11
  267. package/dist/actions/fetch-storefront-orders.mjs +11 -11
  268. package/dist/actions/fetch-storefront-orders.mjs.map +1 -1
  269. package/dist/actions/fetch-storefront.cjs +8 -8
  270. package/dist/actions/fetch-storefront.cjs.map +1 -1
  271. package/dist/actions/fetch-storefront.d.cts +8 -8
  272. package/dist/actions/fetch-storefront.d.mts +8 -8
  273. package/dist/actions/fetch-storefront.mjs +8 -8
  274. package/dist/actions/fetch-storefront.mjs.map +1 -1
  275. package/dist/actions/fetch-subaccount.cjs +2 -2
  276. package/dist/actions/fetch-subaccount.cjs.map +1 -1
  277. package/dist/actions/fetch-subaccount.d.cts +2 -2
  278. package/dist/actions/fetch-subaccount.d.mts +2 -2
  279. package/dist/actions/fetch-subaccount.mjs +2 -2
  280. package/dist/actions/fetch-subaccount.mjs.map +1 -1
  281. package/dist/actions/fetch-subscription.cjs +13 -13
  282. package/dist/actions/fetch-subscription.cjs.map +1 -1
  283. package/dist/actions/fetch-subscription.d.cts +13 -13
  284. package/dist/actions/fetch-subscription.d.mts +13 -13
  285. package/dist/actions/fetch-subscription.mjs +13 -13
  286. package/dist/actions/fetch-subscription.mjs.map +1 -1
  287. package/dist/actions/fetch-transaction-timeline.cjs +4 -4
  288. package/dist/actions/fetch-transaction-timeline.cjs.map +1 -1
  289. package/dist/actions/fetch-transaction-timeline.d.cts +4 -4
  290. package/dist/actions/fetch-transaction-timeline.d.mts +4 -4
  291. package/dist/actions/fetch-transaction-timeline.mjs +4 -4
  292. package/dist/actions/fetch-transaction-timeline.mjs.map +1 -1
  293. package/dist/actions/fetch-transaction.cjs +16 -16
  294. package/dist/actions/fetch-transaction.cjs.map +1 -1
  295. package/dist/actions/fetch-transaction.d.cts +17 -17
  296. package/dist/actions/fetch-transaction.d.mts +17 -17
  297. package/dist/actions/fetch-transaction.mjs +16 -16
  298. package/dist/actions/fetch-transaction.mjs.map +1 -1
  299. package/dist/actions/fetch-transfer-recipient.cjs +3 -3
  300. package/dist/actions/fetch-transfer-recipient.cjs.map +1 -1
  301. package/dist/actions/fetch-transfer-recipient.d.cts +3 -3
  302. package/dist/actions/fetch-transfer-recipient.d.mts +3 -3
  303. package/dist/actions/fetch-transfer-recipient.mjs +3 -3
  304. package/dist/actions/fetch-transfer-recipient.mjs.map +1 -1
  305. package/dist/actions/fetch-virtual-terminal.cjs +4 -4
  306. package/dist/actions/fetch-virtual-terminal.cjs.map +1 -1
  307. package/dist/actions/fetch-virtual-terminal.d.cts +4 -4
  308. package/dist/actions/fetch-virtual-terminal.d.mts +4 -4
  309. package/dist/actions/fetch-virtual-terminal.mjs +4 -4
  310. package/dist/actions/fetch-virtual-terminal.mjs.map +1 -1
  311. package/dist/actions/finalize-payment-request.cjs +7 -7
  312. package/dist/actions/finalize-payment-request.cjs.map +1 -1
  313. package/dist/actions/finalize-payment-request.d.cts +7 -7
  314. package/dist/actions/finalize-payment-request.d.mts +7 -7
  315. package/dist/actions/finalize-payment-request.mjs +7 -7
  316. package/dist/actions/finalize-payment-request.mjs.map +1 -1
  317. package/dist/actions/generate-update-subscription-link.cjs +2 -2
  318. package/dist/actions/generate-update-subscription-link.cjs.map +1 -1
  319. package/dist/actions/generate-update-subscription-link.d.cts +2 -2
  320. package/dist/actions/generate-update-subscription-link.d.mts +2 -2
  321. package/dist/actions/generate-update-subscription-link.mjs +2 -2
  322. package/dist/actions/generate-update-subscription-link.mjs.map +1 -1
  323. package/dist/actions/get-payment-request-totals.cjs +3 -3
  324. package/dist/actions/get-payment-request-totals.cjs.map +1 -1
  325. package/dist/actions/get-payment-request-totals.d.cts +5 -5
  326. package/dist/actions/get-payment-request-totals.d.mts +5 -5
  327. package/dist/actions/get-payment-request-totals.mjs +3 -3
  328. package/dist/actions/get-payment-request-totals.mjs.map +1 -1
  329. package/dist/actions/get-transaction-totals.cjs +3 -3
  330. package/dist/actions/get-transaction-totals.cjs.map +1 -1
  331. package/dist/actions/get-transaction-totals.d.cts +4 -4
  332. package/dist/actions/get-transaction-totals.d.mts +4 -4
  333. package/dist/actions/get-transaction-totals.mjs +3 -3
  334. package/dist/actions/get-transaction-totals.mjs.map +1 -1
  335. package/dist/actions/initialize-authorization.cjs +2 -2
  336. package/dist/actions/initialize-authorization.cjs.map +1 -1
  337. package/dist/actions/initialize-authorization.d.cts +2 -2
  338. package/dist/actions/initialize-authorization.d.mts +2 -2
  339. package/dist/actions/initialize-authorization.mjs +2 -2
  340. package/dist/actions/initialize-authorization.mjs.map +1 -1
  341. package/dist/actions/initialize-transaction.cjs +3 -3
  342. package/dist/actions/initialize-transaction.cjs.map +1 -1
  343. package/dist/actions/initialize-transaction.d.cts +10 -9
  344. package/dist/actions/initialize-transaction.d.cts.map +1 -1
  345. package/dist/actions/initialize-transaction.d.mts +10 -9
  346. package/dist/actions/initialize-transaction.d.mts.map +1 -1
  347. package/dist/actions/initialize-transaction.mjs +3 -3
  348. package/dist/actions/initialize-transaction.mjs.map +1 -1
  349. package/dist/actions/initiate-bulk-charge.cjs +3 -3
  350. package/dist/actions/initiate-bulk-charge.cjs.map +1 -1
  351. package/dist/actions/initiate-bulk-charge.d.cts +4 -3
  352. package/dist/actions/initiate-bulk-charge.d.cts.map +1 -1
  353. package/dist/actions/initiate-bulk-charge.d.mts +4 -3
  354. package/dist/actions/initiate-bulk-charge.d.mts.map +1 -1
  355. package/dist/actions/initiate-bulk-charge.mjs +3 -3
  356. package/dist/actions/initiate-bulk-charge.mjs.map +1 -1
  357. package/dist/actions/list-banks.cjs +3 -3
  358. package/dist/actions/list-banks.cjs.map +1 -1
  359. package/dist/actions/list-banks.d.cts +5 -5
  360. package/dist/actions/list-banks.d.mts +5 -5
  361. package/dist/actions/list-banks.mjs +3 -3
  362. package/dist/actions/list-banks.mjs.map +1 -1
  363. package/dist/actions/list-bulk-charge-batches.cjs +4 -4
  364. package/dist/actions/list-bulk-charge-batches.cjs.map +1 -1
  365. package/dist/actions/list-bulk-charge-batches.d.cts +4 -4
  366. package/dist/actions/list-bulk-charge-batches.d.mts +4 -4
  367. package/dist/actions/list-bulk-charge-batches.mjs +4 -4
  368. package/dist/actions/list-bulk-charge-batches.mjs.map +1 -1
  369. package/dist/actions/list-charges-in-batch.cjs +8 -8
  370. package/dist/actions/list-charges-in-batch.cjs.map +1 -1
  371. package/dist/actions/list-charges-in-batch.d.cts +8 -8
  372. package/dist/actions/list-charges-in-batch.d.mts +8 -8
  373. package/dist/actions/list-charges-in-batch.mjs +8 -8
  374. package/dist/actions/list-charges-in-batch.mjs.map +1 -1
  375. package/dist/actions/list-countries.cjs +2 -2
  376. package/dist/actions/list-countries.cjs.map +1 -1
  377. package/dist/actions/list-countries.d.cts +2 -2
  378. package/dist/actions/list-countries.d.mts +2 -2
  379. package/dist/actions/list-countries.mjs +2 -2
  380. package/dist/actions/list-countries.mjs.map +1 -1
  381. package/dist/actions/list-customers.cjs +3 -3
  382. package/dist/actions/list-customers.cjs.map +1 -1
  383. package/dist/actions/list-customers.d.cts +3 -3
  384. package/dist/actions/list-customers.d.mts +3 -3
  385. package/dist/actions/list-customers.mjs +3 -3
  386. package/dist/actions/list-customers.mjs.map +1 -1
  387. package/dist/actions/list-disputes.cjs +18 -18
  388. package/dist/actions/list-disputes.cjs.map +1 -1
  389. package/dist/actions/list-disputes.d.cts +16 -16
  390. package/dist/actions/list-disputes.d.mts +16 -16
  391. package/dist/actions/list-disputes.mjs +18 -18
  392. package/dist/actions/list-disputes.mjs.map +1 -1
  393. package/dist/actions/list-domains.cjs +2 -2
  394. package/dist/actions/list-domains.cjs.map +1 -1
  395. package/dist/actions/list-domains.d.cts +2 -2
  396. package/dist/actions/list-domains.d.mts +2 -2
  397. package/dist/actions/list-domains.mjs +2 -2
  398. package/dist/actions/list-domains.mjs.map +1 -1
  399. package/dist/actions/list-mandate-authorizations.cjs +5 -5
  400. package/dist/actions/list-mandate-authorizations.cjs.map +1 -1
  401. package/dist/actions/list-mandate-authorizations.d.cts +5 -5
  402. package/dist/actions/list-mandate-authorizations.d.mts +5 -5
  403. package/dist/actions/list-mandate-authorizations.mjs +5 -5
  404. package/dist/actions/list-mandate-authorizations.mjs.map +1 -1
  405. package/dist/actions/list-orders.cjs +3 -3
  406. package/dist/actions/list-orders.cjs.map +1 -1
  407. package/dist/actions/list-orders.d.cts +3 -3
  408. package/dist/actions/list-orders.d.mts +3 -3
  409. package/dist/actions/list-orders.mjs +3 -3
  410. package/dist/actions/list-orders.mjs.map +1 -1
  411. package/dist/actions/list-payment-pages.cjs +3 -3
  412. package/dist/actions/list-payment-pages.cjs.map +1 -1
  413. package/dist/actions/list-payment-pages.d.cts +3 -3
  414. package/dist/actions/list-payment-pages.d.mts +3 -3
  415. package/dist/actions/list-payment-pages.mjs +3 -3
  416. package/dist/actions/list-payment-pages.mjs.map +1 -1
  417. package/dist/actions/list-payment-requests.cjs +8 -8
  418. package/dist/actions/list-payment-requests.cjs.map +1 -1
  419. package/dist/actions/list-payment-requests.d.cts +8 -8
  420. package/dist/actions/list-payment-requests.d.mts +8 -8
  421. package/dist/actions/list-payment-requests.mjs +8 -8
  422. package/dist/actions/list-payment-requests.mjs.map +1 -1
  423. package/dist/actions/list-plans.cjs +5 -5
  424. package/dist/actions/list-plans.cjs.map +1 -1
  425. package/dist/actions/list-plans.d.cts +5 -5
  426. package/dist/actions/list-plans.d.mts +5 -5
  427. package/dist/actions/list-plans.mjs +5 -5
  428. package/dist/actions/list-plans.mjs.map +1 -1
  429. package/dist/actions/list-products.cjs +8 -8
  430. package/dist/actions/list-products.cjs.map +1 -1
  431. package/dist/actions/list-products.d.cts +8 -8
  432. package/dist/actions/list-products.d.mts +8 -8
  433. package/dist/actions/list-products.mjs +8 -8
  434. package/dist/actions/list-products.mjs.map +1 -1
  435. package/dist/actions/list-refunds.cjs +8 -8
  436. package/dist/actions/list-refunds.cjs.map +1 -1
  437. package/dist/actions/list-refunds.d.cts +8 -8
  438. package/dist/actions/list-refunds.d.mts +8 -8
  439. package/dist/actions/list-refunds.mjs +8 -8
  440. package/dist/actions/list-refunds.mjs.map +1 -1
  441. package/dist/actions/list-settlements.cjs +3 -3
  442. package/dist/actions/list-settlements.cjs.map +1 -1
  443. package/dist/actions/list-settlements.d.cts +3 -3
  444. package/dist/actions/list-settlements.d.mts +3 -3
  445. package/dist/actions/list-settlements.mjs +3 -3
  446. package/dist/actions/list-settlements.mjs.map +1 -1
  447. package/dist/actions/list-splits.cjs +4 -4
  448. package/dist/actions/list-splits.cjs.map +1 -1
  449. package/dist/actions/list-splits.d.cts +4 -4
  450. package/dist/actions/list-splits.d.mts +4 -4
  451. package/dist/actions/list-splits.mjs +4 -4
  452. package/dist/actions/list-splits.mjs.map +1 -1
  453. package/dist/actions/list-states-avs.cjs +2 -2
  454. package/dist/actions/list-states-avs.cjs.map +1 -1
  455. package/dist/actions/list-states-avs.d.cts +2 -2
  456. package/dist/actions/list-states-avs.d.mts +2 -2
  457. package/dist/actions/list-states-avs.mjs +2 -2
  458. package/dist/actions/list-states-avs.mjs.map +1 -1
  459. package/dist/actions/list-storefront-products.cjs +8 -8
  460. package/dist/actions/list-storefront-products.cjs.map +1 -1
  461. package/dist/actions/list-storefront-products.d.cts +8 -8
  462. package/dist/actions/list-storefront-products.d.mts +8 -8
  463. package/dist/actions/list-storefront-products.mjs +8 -8
  464. package/dist/actions/list-storefront-products.mjs.map +1 -1
  465. package/dist/actions/list-storefronts.cjs +8 -8
  466. package/dist/actions/list-storefronts.cjs.map +1 -1
  467. package/dist/actions/list-storefronts.d.cts +8 -8
  468. package/dist/actions/list-storefronts.d.mts +8 -8
  469. package/dist/actions/list-storefronts.mjs +8 -8
  470. package/dist/actions/list-storefronts.mjs.map +1 -1
  471. package/dist/actions/list-subaccounts.cjs +3 -3
  472. package/dist/actions/list-subaccounts.cjs.map +1 -1
  473. package/dist/actions/list-subaccounts.d.cts +3 -3
  474. package/dist/actions/list-subaccounts.d.mts +3 -3
  475. package/dist/actions/list-subaccounts.mjs +3 -3
  476. package/dist/actions/list-subaccounts.mjs.map +1 -1
  477. package/dist/actions/list-subscriptions.cjs +12 -12
  478. package/dist/actions/list-subscriptions.cjs.map +1 -1
  479. package/dist/actions/list-subscriptions.d.cts +12 -12
  480. package/dist/actions/list-subscriptions.d.mts +12 -12
  481. package/dist/actions/list-subscriptions.mjs +12 -12
  482. package/dist/actions/list-subscriptions.mjs.map +1 -1
  483. package/dist/actions/list-transactions.cjs +17 -17
  484. package/dist/actions/list-transactions.cjs.map +1 -1
  485. package/dist/actions/list-transactions.d.cts +17 -17
  486. package/dist/actions/list-transactions.d.mts +17 -17
  487. package/dist/actions/list-transactions.mjs +17 -17
  488. package/dist/actions/list-transactions.mjs.map +1 -1
  489. package/dist/actions/list-transfer-recipients.cjs +3 -3
  490. package/dist/actions/list-transfer-recipients.cjs.map +1 -1
  491. package/dist/actions/list-transfer-recipients.d.cts +3 -3
  492. package/dist/actions/list-transfer-recipients.d.mts +3 -3
  493. package/dist/actions/list-transfer-recipients.mjs +3 -3
  494. package/dist/actions/list-transfer-recipients.mjs.map +1 -1
  495. package/dist/actions/list-transfers.cjs +4 -4
  496. package/dist/actions/list-transfers.cjs.map +1 -1
  497. package/dist/actions/list-transfers.d.cts +4 -4
  498. package/dist/actions/list-transfers.d.mts +4 -4
  499. package/dist/actions/list-transfers.mjs +4 -4
  500. package/dist/actions/list-transfers.mjs.map +1 -1
  501. package/dist/actions/list-virtual-terminals.cjs +4 -4
  502. package/dist/actions/list-virtual-terminals.cjs.map +1 -1
  503. package/dist/actions/list-virtual-terminals.d.cts +4 -4
  504. package/dist/actions/list-virtual-terminals.d.mts +4 -4
  505. package/dist/actions/list-virtual-terminals.mjs +4 -4
  506. package/dist/actions/list-virtual-terminals.mjs.map +1 -1
  507. package/dist/actions/pause-bulk-charge.cjs +1 -1
  508. package/dist/actions/pause-bulk-charge.cjs.map +1 -1
  509. package/dist/actions/pause-bulk-charge.d.cts +1 -1
  510. package/dist/actions/pause-bulk-charge.d.mts +1 -1
  511. package/dist/actions/pause-bulk-charge.mjs +1 -1
  512. package/dist/actions/pause-bulk-charge.mjs.map +1 -1
  513. package/dist/actions/publish-storefront.cjs +2 -2
  514. package/dist/actions/publish-storefront.cjs.map +1 -1
  515. package/dist/actions/publish-storefront.d.cts +2 -2
  516. package/dist/actions/publish-storefront.d.mts +2 -2
  517. package/dist/actions/publish-storefront.mjs +2 -2
  518. package/dist/actions/publish-storefront.mjs.map +1 -1
  519. package/dist/actions/remove-subaccount-from-split.cjs +1 -1
  520. package/dist/actions/remove-subaccount-from-split.cjs.map +1 -1
  521. package/dist/actions/remove-subaccount-from-split.d.cts +1 -1
  522. package/dist/actions/remove-subaccount-from-split.d.mts +1 -1
  523. package/dist/actions/remove-subaccount-from-split.mjs +1 -1
  524. package/dist/actions/remove-subaccount-from-split.mjs.map +1 -1
  525. package/dist/actions/resend-otp-for-transfer.cjs +1 -1
  526. package/dist/actions/resend-otp-for-transfer.cjs.map +1 -1
  527. package/dist/actions/resend-otp-for-transfer.d.cts +1 -1
  528. package/dist/actions/resend-otp-for-transfer.d.mts +1 -1
  529. package/dist/actions/resend-otp-for-transfer.mjs +1 -1
  530. package/dist/actions/resend-otp-for-transfer.mjs.map +1 -1
  531. package/dist/actions/resolve-card-bin.cjs +2 -2
  532. package/dist/actions/resolve-card-bin.cjs.map +1 -1
  533. package/dist/actions/resolve-card-bin.d.cts +2 -2
  534. package/dist/actions/resolve-card-bin.d.mts +2 -2
  535. package/dist/actions/resolve-card-bin.mjs +2 -2
  536. package/dist/actions/resolve-card-bin.mjs.map +1 -1
  537. package/dist/actions/resume-bulk-charge-batch.cjs +1 -1
  538. package/dist/actions/resume-bulk-charge-batch.cjs.map +1 -1
  539. package/dist/actions/resume-bulk-charge-batch.d.cts +1 -1
  540. package/dist/actions/resume-bulk-charge-batch.d.mts +1 -1
  541. package/dist/actions/resume-bulk-charge-batch.mjs +1 -1
  542. package/dist/actions/resume-bulk-charge-batch.mjs.map +1 -1
  543. package/dist/actions/send-payment-request-notification.cjs +1 -1
  544. package/dist/actions/send-payment-request-notification.cjs.map +1 -1
  545. package/dist/actions/send-payment-request-notification.d.cts +1 -1
  546. package/dist/actions/send-payment-request-notification.d.mts +1 -1
  547. package/dist/actions/send-payment-request-notification.mjs +1 -1
  548. package/dist/actions/send-payment-request-notification.mjs.map +1 -1
  549. package/dist/actions/send-subscription-update-link.cjs +2 -2
  550. package/dist/actions/send-subscription-update-link.cjs.map +1 -1
  551. package/dist/actions/send-subscription-update-link.d.cts +2 -2
  552. package/dist/actions/send-subscription-update-link.d.mts +2 -2
  553. package/dist/actions/send-subscription-update-link.mjs +2 -2
  554. package/dist/actions/send-subscription-update-link.mjs.map +1 -1
  555. package/dist/actions/set-risk-action.cjs +5 -5
  556. package/dist/actions/set-risk-action.cjs.map +1 -1
  557. package/dist/actions/set-risk-action.d.cts +5 -5
  558. package/dist/actions/set-risk-action.d.mts +5 -5
  559. package/dist/actions/set-risk-action.mjs +5 -5
  560. package/dist/actions/set-risk-action.mjs.map +1 -1
  561. package/dist/actions/submit-phone.cjs +5 -5
  562. package/dist/actions/submit-phone.cjs.map +1 -1
  563. package/dist/actions/submit-phone.d.cts +5 -5
  564. package/dist/actions/submit-phone.d.mts +5 -5
  565. package/dist/actions/submit-phone.mjs +5 -5
  566. package/dist/actions/submit-phone.mjs.map +1 -1
  567. package/dist/actions/trigger-direct-debit-activation-charge.cjs +1 -1
  568. package/dist/actions/trigger-direct-debit-activation-charge.cjs.map +1 -1
  569. package/dist/actions/trigger-direct-debit-activation-charge.d.cts +1 -1
  570. package/dist/actions/trigger-direct-debit-activation-charge.d.mts +1 -1
  571. package/dist/actions/trigger-direct-debit-activation-charge.mjs +1 -1
  572. package/dist/actions/trigger-direct-debit-activation-charge.mjs.map +1 -1
  573. package/dist/actions/unassign-destination-from-virtual-terminal.cjs +1 -1
  574. package/dist/actions/unassign-destination-from-virtual-terminal.cjs.map +1 -1
  575. package/dist/actions/unassign-destination-from-virtual-terminal.d.cts +1 -1
  576. package/dist/actions/unassign-destination-from-virtual-terminal.d.mts +1 -1
  577. package/dist/actions/unassign-destination-from-virtual-terminal.mjs +1 -1
  578. package/dist/actions/unassign-destination-from-virtual-terminal.mjs.map +1 -1
  579. package/dist/actions/unregister-apple-pay-domain.cjs +2 -2
  580. package/dist/actions/unregister-apple-pay-domain.cjs.map +1 -1
  581. package/dist/actions/unregister-apple-pay-domain.d.cts +2 -2
  582. package/dist/actions/unregister-apple-pay-domain.d.mts +2 -2
  583. package/dist/actions/unregister-apple-pay-domain.mjs +2 -2
  584. package/dist/actions/unregister-apple-pay-domain.mjs.map +1 -1
  585. package/dist/actions/update-customer.cjs +4 -4
  586. package/dist/actions/update-customer.cjs.map +1 -1
  587. package/dist/actions/update-customer.d.cts +4 -4
  588. package/dist/actions/update-customer.d.mts +4 -4
  589. package/dist/actions/update-customer.mjs +4 -4
  590. package/dist/actions/update-customer.mjs.map +1 -1
  591. package/dist/actions/update-payment-page.cjs +2 -2
  592. package/dist/actions/update-payment-page.cjs.map +1 -1
  593. package/dist/actions/update-payment-page.d.cts +2 -2
  594. package/dist/actions/update-payment-page.d.mts +2 -2
  595. package/dist/actions/update-payment-page.mjs +2 -2
  596. package/dist/actions/update-payment-page.mjs.map +1 -1
  597. package/dist/actions/update-payment-request.cjs +5 -5
  598. package/dist/actions/update-payment-request.cjs.map +1 -1
  599. package/dist/actions/update-payment-request.d.cts +7 -5
  600. package/dist/actions/update-payment-request.d.mts +7 -5
  601. package/dist/actions/update-payment-request.mjs +5 -5
  602. package/dist/actions/update-payment-request.mjs.map +1 -1
  603. package/dist/actions/update-payment-session-timeout.cjs +2 -2
  604. package/dist/actions/update-payment-session-timeout.cjs.map +1 -1
  605. package/dist/actions/update-payment-session-timeout.d.cts +2 -2
  606. package/dist/actions/update-payment-session-timeout.d.mts +2 -2
  607. package/dist/actions/update-payment-session-timeout.mjs +2 -2
  608. package/dist/actions/update-payment-session-timeout.mjs.map +1 -1
  609. package/dist/actions/update-plan.cjs +1 -1
  610. package/dist/actions/update-plan.cjs.map +1 -1
  611. package/dist/actions/update-plan.d.cts +1 -1
  612. package/dist/actions/update-plan.d.mts +1 -1
  613. package/dist/actions/update-plan.mjs +1 -1
  614. package/dist/actions/update-plan.mjs.map +1 -1
  615. package/dist/actions/update-product.cjs +8 -8
  616. package/dist/actions/update-product.cjs.map +1 -1
  617. package/dist/actions/update-product.d.cts +9 -9
  618. package/dist/actions/update-product.d.mts +9 -9
  619. package/dist/actions/update-product.mjs +8 -8
  620. package/dist/actions/update-product.mjs.map +1 -1
  621. package/dist/actions/update-split.cjs +3 -3
  622. package/dist/actions/update-split.cjs.map +1 -1
  623. package/dist/actions/update-split.d.cts +3 -3
  624. package/dist/actions/update-split.d.mts +3 -3
  625. package/dist/actions/update-split.mjs +3 -3
  626. package/dist/actions/update-split.mjs.map +1 -1
  627. package/dist/actions/update-storefront.cjs +1 -1
  628. package/dist/actions/update-storefront.cjs.map +1 -1
  629. package/dist/actions/update-storefront.d.cts +1 -1
  630. package/dist/actions/update-storefront.d.mts +1 -1
  631. package/dist/actions/update-storefront.mjs +1 -1
  632. package/dist/actions/update-storefront.mjs.map +1 -1
  633. package/dist/actions/update-subaccount.cjs +2 -2
  634. package/dist/actions/update-subaccount.cjs.map +1 -1
  635. package/dist/actions/update-subaccount.d.cts +2 -2
  636. package/dist/actions/update-subaccount.d.mts +2 -2
  637. package/dist/actions/update-subaccount.mjs +2 -2
  638. package/dist/actions/update-subaccount.mjs.map +1 -1
  639. package/dist/actions/update-transfer-recipient.cjs +3 -3
  640. package/dist/actions/update-transfer-recipient.cjs.map +1 -1
  641. package/dist/actions/update-transfer-recipient.d.cts +3 -3
  642. package/dist/actions/update-transfer-recipient.d.mts +3 -3
  643. package/dist/actions/update-transfer-recipient.mjs +3 -3
  644. package/dist/actions/update-transfer-recipient.mjs.map +1 -1
  645. package/dist/actions/validate-bank-account.cjs +2 -2
  646. package/dist/actions/validate-bank-account.cjs.map +1 -1
  647. package/dist/actions/validate-bank-account.d.cts +2 -2
  648. package/dist/actions/validate-bank-account.d.mts +2 -2
  649. package/dist/actions/validate-bank-account.mjs +2 -2
  650. package/dist/actions/validate-bank-account.mjs.map +1 -1
  651. package/dist/actions/validate-customer.cjs +1 -1
  652. package/dist/actions/validate-customer.cjs.map +1 -1
  653. package/dist/actions/validate-customer.d.cts +1 -1
  654. package/dist/actions/validate-customer.d.mts +1 -1
  655. package/dist/actions/validate-customer.mjs +1 -1
  656. package/dist/actions/validate-customer.mjs.map +1 -1
  657. package/dist/actions/validate-order.cjs +13 -13
  658. package/dist/actions/validate-order.cjs.map +1 -1
  659. package/dist/actions/validate-order.d.cts +13 -13
  660. package/dist/actions/validate-order.d.mts +13 -13
  661. package/dist/actions/validate-order.mjs +13 -13
  662. package/dist/actions/validate-order.mjs.map +1 -1
  663. package/dist/actions/verify-payment-request.cjs +10 -10
  664. package/dist/actions/verify-payment-request.cjs.map +1 -1
  665. package/dist/actions/verify-payment-request.d.cts +10 -10
  666. package/dist/actions/verify-payment-request.d.mts +10 -10
  667. package/dist/actions/verify-payment-request.mjs +10 -10
  668. package/dist/actions/verify-payment-request.mjs.map +1 -1
  669. package/dist/actions/verify-storefront-slug.cjs +1 -1
  670. package/dist/actions/verify-storefront-slug.cjs.map +1 -1
  671. package/dist/actions/verify-storefront-slug.d.cts +1 -1
  672. package/dist/actions/verify-storefront-slug.d.mts +1 -1
  673. package/dist/actions/verify-storefront-slug.mjs +1 -1
  674. package/dist/actions/verify-storefront-slug.mjs.map +1 -1
  675. package/dist/actions/verify-transaction.cjs +17 -17
  676. package/dist/actions/verify-transaction.cjs.map +1 -1
  677. package/dist/actions/verify-transaction.d.cts +17 -17
  678. package/dist/actions/verify-transaction.d.mts +17 -17
  679. package/dist/actions/verify-transaction.mjs +17 -17
  680. package/dist/actions/verify-transaction.mjs.map +1 -1
  681. package/dist/catalog.cjs +1 -1
  682. package/dist/catalog.cjs.map +1 -1
  683. package/dist/catalog.d.cts +1 -1
  684. package/dist/catalog.d.mts +1 -1
  685. package/dist/catalog.mjs +1 -1
  686. package/dist/catalog.mjs.map +1 -1
  687. package/package.json +1 -1
@@ -20,7 +20,7 @@ const PaystackAddProductsToPage_PageProductSchema = zod.z.object({
20
20
  integration: zod.z.number().int().describe("Integration ID").nullable().optional(),
21
21
  is_shippable: zod.z.boolean().describe("Whether product is shippable").nullable().optional(),
22
22
  quantity_sold: zod.z.number().int().describe("Number of units sold").nullable().optional()
23
- }).describe("Product details in the page response.");
23
+ }).passthrough().describe("Product details in the page response.");
24
24
  const PaystackAddProductsToPage_PageDataSchema = zod.z.object({
25
25
  id: zod.z.number().int().describe("Page ID").nullable(),
26
26
  name: zod.z.string().describe("Page name").nullable(),
@@ -45,12 +45,12 @@ const PaystackAddProductsToPage_PageDataSchema = zod.z.object({
45
45
  custom_fields: zod.z.unknown().describe("Custom fields").nullable().optional(),
46
46
  success_message: zod.z.string().describe("Success message").nullable().optional(),
47
47
  notification_email: zod.z.string().describe("Notification email").nullable().optional()
48
- }).describe("Payment page data in the response.");
48
+ }).passthrough().describe("Payment page data in the response.");
49
49
  const PaystackAddProductsToPageOutput = zod.z.object({
50
50
  data: PaystackAddProductsToPage_PageDataSchema.nullable(),
51
51
  status: zod.z.boolean().describe("Indicates whether the request was successful").nullable(),
52
52
  message: zod.z.string().describe("Response message from the API").nullable()
53
- }).describe("Response model returned after adding products to a payment page.");
53
+ }).passthrough().describe("Response model returned after adding products to a payment page.");
54
54
  const paystackAddProductsToPage = require_action.action("PAYSTACK_ADD_PRODUCTS_TO_PAGE", {
55
55
  slug: "paystack-add-products-to-page",
56
56
  name: "Add Products to Page",
@@ -1 +1 @@
1
- {"version":3,"file":"add-products-to-page.cjs","names":["z","action"],"sources":["../../src/actions/add-products-to-page.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackAddProductsToPageInput = z.object({\n id: z.string().describe(\"The ID or slug of the payment page. Only pages created with 'product' type can have products added.\"),\n products: z.array(z.number().int()).describe(\"List of product IDs to add to the payment page. Each product must already exist in your Paystack account.\"),\n}).describe(\"Request model for adding products to a Paystack payment page.\");\nconst PaystackAddProductsToPage_PageProductSchema = z.object({\n id: z.number().int().describe(\"Product ID\").nullable().optional(),\n name: z.string().describe(\"Product name\").nullable().optional(),\n type: z.string().describe(\"Product type\").nullable().optional(),\n price: z.number().int().describe(\"Product price in kobo\").nullable().optional(),\n active: z.boolean().describe(\"Whether product is active\").nullable().optional(),\n domain: z.string().describe(\"Domain\").nullable().optional(),\n currency: z.string().describe(\"Currency code\").nullable().optional(),\n features: z.unknown().describe(\"Product features\").nullable().optional(),\n in_stock: z.boolean().describe(\"Whether product is in stock\").nullable().optional(),\n quantity: z.number().int().describe(\"Available quantity\").nullable().optional(),\n description: z.string().describe(\"Product description\").nullable().optional(),\n integration: z.number().int().describe(\"Integration ID\").nullable().optional(),\n is_shippable: z.boolean().describe(\"Whether product is shippable\").nullable().optional(),\n quantity_sold: z.number().int().describe(\"Number of units sold\").nullable().optional(),\n}).describe(\"Product details in the page response.\");\nconst PaystackAddProductsToPage_PageDataSchema = z.object({\n id: z.number().int().describe(\"Page ID\").nullable(),\n name: z.string().describe(\"Page name\").nullable(),\n plan: z.unknown().describe(\"Associated plan\").nullable().optional(),\n slug: z.string().describe(\"Page slug\").nullable(),\n type: z.string().describe(\"Page type\").nullable(),\n active: z.boolean().describe(\"Whether page is active\").nullable(),\n amount: z.number().int().describe(\"Page amount\").nullable().optional(),\n domain: z.string().describe(\"Domain\").nullable(),\n migrate: z.boolean().describe(\"Migration status\").nullable(),\n currency: z.string().describe(\"Currency code\").nullable(),\n metadata: z.unknown().describe(\"Page metadata\").nullable().optional(),\n products: z.array(PaystackAddProductsToPage_PageProductSchema).describe(\"List of products associated with the page\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp\").nullable(),\n published: z.boolean().describe(\"Whether page is published\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n split_code: z.string().describe(\"Split code\").nullable().optional(),\n description: z.string().describe(\"Page description\").nullable().optional(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n redirect_url: z.string().describe(\"Redirect URL after payment\").nullable().optional(),\n collect_phone: z.boolean().describe(\"Whether to collect phone number\").nullable(),\n custom_fields: z.unknown().describe(\"Custom fields\").nullable().optional(),\n success_message: z.string().describe(\"Success message\").nullable().optional(),\n notification_email: z.string().describe(\"Notification email\").nullable().optional(),\n}).describe(\"Payment page data in the response.\");\nexport const PaystackAddProductsToPageOutput = z.object({\n data: PaystackAddProductsToPage_PageDataSchema.nullable(),\n status: z.boolean().describe(\"Indicates whether the request was successful\").nullable(),\n message: z.string().describe(\"Response message from the API\").nullable(),\n}).describe(\"Response model returned after adding products to a payment page.\");\n\nexport const paystackAddProductsToPage = action(\"PAYSTACK_ADD_PRODUCTS_TO_PAGE\", {\n slug: \"paystack-add-products-to-page\",\n name: \"Add Products to Page\",\n description: \"Tool to add products to a Paystack payment page. Use when you need to add products to an existing page that was created with 'product' type. This action adds the specified products to the page, allowing customers to select from multiple products when making a payment.\",\n input: PaystackAddProductsToPageInput,\n output: PaystackAddProductsToPageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG;CAC7H,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,2GAA2G;AAC1J,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,QAAQA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O,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CAClE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAChF,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAM,yCAAyC,SAAS;CACxD,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACtF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAE9E,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"add-products-to-page.cjs","names":["z","action"],"sources":["../../src/actions/add-products-to-page.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackAddProductsToPageInput = z.object({\n id: z.string().describe(\"The ID or slug of the payment page. Only pages created with 'product' type can have products added.\"),\n products: z.array(z.number().int()).describe(\"List of product IDs to add to the payment page. Each product must already exist in your Paystack account.\"),\n}).describe(\"Request model for adding products to a Paystack payment page.\");\nconst PaystackAddProductsToPage_PageProductSchema = z.object({\n id: z.number().int().describe(\"Product ID\").nullable().optional(),\n name: z.string().describe(\"Product name\").nullable().optional(),\n type: z.string().describe(\"Product type\").nullable().optional(),\n price: z.number().int().describe(\"Product price in kobo\").nullable().optional(),\n active: z.boolean().describe(\"Whether product is active\").nullable().optional(),\n domain: z.string().describe(\"Domain\").nullable().optional(),\n currency: z.string().describe(\"Currency code\").nullable().optional(),\n features: z.unknown().describe(\"Product features\").nullable().optional(),\n in_stock: z.boolean().describe(\"Whether product is in stock\").nullable().optional(),\n quantity: z.number().int().describe(\"Available quantity\").nullable().optional(),\n description: z.string().describe(\"Product description\").nullable().optional(),\n integration: z.number().int().describe(\"Integration ID\").nullable().optional(),\n is_shippable: z.boolean().describe(\"Whether product is shippable\").nullable().optional(),\n quantity_sold: z.number().int().describe(\"Number of units sold\").nullable().optional(),\n}).passthrough().describe(\"Product details in the page response.\");\nconst PaystackAddProductsToPage_PageDataSchema = z.object({\n id: z.number().int().describe(\"Page ID\").nullable(),\n name: z.string().describe(\"Page name\").nullable(),\n plan: z.unknown().describe(\"Associated plan\").nullable().optional(),\n slug: z.string().describe(\"Page slug\").nullable(),\n type: z.string().describe(\"Page type\").nullable(),\n active: z.boolean().describe(\"Whether page is active\").nullable(),\n amount: z.number().int().describe(\"Page amount\").nullable().optional(),\n domain: z.string().describe(\"Domain\").nullable(),\n migrate: z.boolean().describe(\"Migration status\").nullable(),\n currency: z.string().describe(\"Currency code\").nullable(),\n metadata: z.unknown().describe(\"Page metadata\").nullable().optional(),\n products: z.array(PaystackAddProductsToPage_PageProductSchema).describe(\"List of products associated with the page\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp\").nullable(),\n published: z.boolean().describe(\"Whether page is published\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n split_code: z.string().describe(\"Split code\").nullable().optional(),\n description: z.string().describe(\"Page description\").nullable().optional(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n redirect_url: z.string().describe(\"Redirect URL after payment\").nullable().optional(),\n collect_phone: z.boolean().describe(\"Whether to collect phone number\").nullable(),\n custom_fields: z.unknown().describe(\"Custom fields\").nullable().optional(),\n success_message: z.string().describe(\"Success message\").nullable().optional(),\n notification_email: z.string().describe(\"Notification email\").nullable().optional(),\n}).passthrough().describe(\"Payment page data in the response.\");\nexport const PaystackAddProductsToPageOutput = z.object({\n data: PaystackAddProductsToPage_PageDataSchema.nullable(),\n status: z.boolean().describe(\"Indicates whether the request was successful\").nullable(),\n message: z.string().describe(\"Response message from the API\").nullable(),\n}).passthrough().describe(\"Response model returned after adding products to a payment page.\");\n\nexport const paystackAddProductsToPage = action(\"PAYSTACK_ADD_PRODUCTS_TO_PAGE\", {\n slug: \"paystack-add-products-to-page\",\n name: \"Add Products to Page\",\n description: \"Tool to add products to a Paystack payment page. Use when you need to add products to an existing page that was created with 'product' type. This action adds the specified products to the page, allowing customers to select from multiple products when making a payment.\",\n input: PaystackAddProductsToPageInput,\n output: PaystackAddProductsToPageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG;CAC7H,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,2GAA2G;AAC1J,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,S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a,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -33,7 +33,7 @@ declare const PaystackAddProductsToPageOutput: z.ZodObject<{
33
33
  integration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
34
34
  is_shippable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
35
35
  quantity_sold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
36
- }, z.core.$strip>>>>;
36
+ }, z.core.$loose>>>>;
37
37
  createdAt: z.ZodNullable<z.ZodString>;
38
38
  published: z.ZodNullable<z.ZodBoolean>;
39
39
  updatedAt: z.ZodNullable<z.ZodString>;
@@ -45,10 +45,10 @@ declare const PaystackAddProductsToPageOutput: z.ZodObject<{
45
45
  custom_fields: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
46
46
  success_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
47
  notification_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
- }, z.core.$strip>>;
48
+ }, z.core.$loose>>;
49
49
  status: z.ZodNullable<z.ZodBoolean>;
50
50
  message: z.ZodNullable<z.ZodString>;
51
- }, z.core.$strip>;
51
+ }, z.core.$loose>;
52
52
  declare const paystackAddProductsToPage: import("@keystrokehq/action").WorkflowActionDefinition<{
53
53
  id: string;
54
54
  products: number[];
@@ -33,7 +33,7 @@ declare const PaystackAddProductsToPageOutput: z.ZodObject<{
33
33
  integration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
34
34
  is_shippable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
35
35
  quantity_sold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
36
- }, z.core.$strip>>>>;
36
+ }, z.core.$loose>>>>;
37
37
  createdAt: z.ZodNullable<z.ZodString>;
38
38
  published: z.ZodNullable<z.ZodBoolean>;
39
39
  updatedAt: z.ZodNullable<z.ZodString>;
@@ -45,10 +45,10 @@ declare const PaystackAddProductsToPageOutput: z.ZodObject<{
45
45
  custom_fields: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
46
46
  success_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
47
  notification_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
- }, z.core.$strip>>;
48
+ }, z.core.$loose>>;
49
49
  status: z.ZodNullable<z.ZodBoolean>;
50
50
  message: z.ZodNullable<z.ZodString>;
51
- }, z.core.$strip>;
51
+ }, z.core.$loose>;
52
52
  declare const paystackAddProductsToPage: import("@keystrokehq/action").WorkflowActionDefinition<{
53
53
  id: string;
54
54
  products: number[];
@@ -20,7 +20,7 @@ const PaystackAddProductsToPage_PageProductSchema = z.object({
20
20
  integration: z.number().int().describe("Integration ID").nullable().optional(),
21
21
  is_shippable: z.boolean().describe("Whether product is shippable").nullable().optional(),
22
22
  quantity_sold: z.number().int().describe("Number of units sold").nullable().optional()
23
- }).describe("Product details in the page response.");
23
+ }).passthrough().describe("Product details in the page response.");
24
24
  const PaystackAddProductsToPage_PageDataSchema = z.object({
25
25
  id: z.number().int().describe("Page ID").nullable(),
26
26
  name: z.string().describe("Page name").nullable(),
@@ -45,7 +45,7 @@ const PaystackAddProductsToPage_PageDataSchema = z.object({
45
45
  custom_fields: z.unknown().describe("Custom fields").nullable().optional(),
46
46
  success_message: z.string().describe("Success message").nullable().optional(),
47
47
  notification_email: z.string().describe("Notification email").nullable().optional()
48
- }).describe("Payment page data in the response.");
48
+ }).passthrough().describe("Payment page data in the response.");
49
49
  const paystackAddProductsToPage = action("PAYSTACK_ADD_PRODUCTS_TO_PAGE", {
50
50
  slug: "paystack-add-products-to-page",
51
51
  name: "Add Products to Page",
@@ -55,7 +55,7 @@ const paystackAddProductsToPage = action("PAYSTACK_ADD_PRODUCTS_TO_PAGE", {
55
55
  data: PaystackAddProductsToPage_PageDataSchema.nullable(),
56
56
  status: z.boolean().describe("Indicates whether the request was successful").nullable(),
57
57
  message: z.string().describe("Response message from the API").nullable()
58
- }).describe("Response model returned after adding products to a payment page.")
58
+ }).passthrough().describe("Response model returned after adding products to a payment page.")
59
59
  });
60
60
  //#endregion
61
61
  export { paystackAddProductsToPage };
@@ -1 +1 @@
1
- {"version":3,"file":"add-products-to-page.mjs","names":[],"sources":["../../src/actions/add-products-to-page.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackAddProductsToPageInput = z.object({\n id: z.string().describe(\"The ID or slug of the payment page. Only pages created with 'product' type can have products added.\"),\n products: z.array(z.number().int()).describe(\"List of product IDs to add to the payment page. Each product must already exist in your Paystack account.\"),\n}).describe(\"Request model for adding products to a Paystack payment page.\");\nconst PaystackAddProductsToPage_PageProductSchema = z.object({\n id: z.number().int().describe(\"Product ID\").nullable().optional(),\n name: z.string().describe(\"Product name\").nullable().optional(),\n type: z.string().describe(\"Product type\").nullable().optional(),\n price: z.number().int().describe(\"Product price in kobo\").nullable().optional(),\n active: z.boolean().describe(\"Whether product is active\").nullable().optional(),\n domain: z.string().describe(\"Domain\").nullable().optional(),\n currency: z.string().describe(\"Currency code\").nullable().optional(),\n features: z.unknown().describe(\"Product features\").nullable().optional(),\n in_stock: z.boolean().describe(\"Whether product is in stock\").nullable().optional(),\n quantity: z.number().int().describe(\"Available quantity\").nullable().optional(),\n description: z.string().describe(\"Product description\").nullable().optional(),\n integration: z.number().int().describe(\"Integration ID\").nullable().optional(),\n is_shippable: z.boolean().describe(\"Whether product is shippable\").nullable().optional(),\n quantity_sold: z.number().int().describe(\"Number of units sold\").nullable().optional(),\n}).describe(\"Product details in the page response.\");\nconst PaystackAddProductsToPage_PageDataSchema = z.object({\n id: z.number().int().describe(\"Page ID\").nullable(),\n name: z.string().describe(\"Page name\").nullable(),\n plan: z.unknown().describe(\"Associated plan\").nullable().optional(),\n slug: z.string().describe(\"Page slug\").nullable(),\n type: z.string().describe(\"Page type\").nullable(),\n active: z.boolean().describe(\"Whether page is active\").nullable(),\n amount: z.number().int().describe(\"Page amount\").nullable().optional(),\n domain: z.string().describe(\"Domain\").nullable(),\n migrate: z.boolean().describe(\"Migration status\").nullable(),\n currency: z.string().describe(\"Currency code\").nullable(),\n metadata: z.unknown().describe(\"Page metadata\").nullable().optional(),\n products: z.array(PaystackAddProductsToPage_PageProductSchema).describe(\"List of products associated with the page\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp\").nullable(),\n published: z.boolean().describe(\"Whether page is published\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n split_code: z.string().describe(\"Split code\").nullable().optional(),\n description: z.string().describe(\"Page description\").nullable().optional(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n redirect_url: z.string().describe(\"Redirect URL after payment\").nullable().optional(),\n collect_phone: z.boolean().describe(\"Whether to collect phone number\").nullable(),\n custom_fields: z.unknown().describe(\"Custom fields\").nullable().optional(),\n success_message: z.string().describe(\"Success message\").nullable().optional(),\n notification_email: z.string().describe(\"Notification email\").nullable().optional(),\n}).describe(\"Payment page data in the response.\");\nexport const PaystackAddProductsToPageOutput = z.object({\n data: PaystackAddProductsToPage_PageDataSchema.nullable(),\n status: z.boolean().describe(\"Indicates whether the request was successful\").nullable(),\n message: z.string().describe(\"Response message from the API\").nullable(),\n}).describe(\"Response model returned after adding products to a payment page.\");\n\nexport const paystackAddProductsToPage = action(\"PAYSTACK_ADD_PRODUCTS_TO_PAGE\", {\n slug: \"paystack-add-products-to-page\",\n name: \"Add Products to Page\",\n description: \"Tool to add products to a Paystack payment page. Use when you need to add products to an existing page that was created with 'product' type. This action adds the specified products to the page, allowing customers to select from multiple products when making a payment.\",\n input: PaystackAddProductsToPageInput,\n output: PaystackAddProductsToPageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG;CAC7H,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAA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add-products-to-page.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackAddProductsToPageInput = z.object({\n id: z.string().describe(\"The ID or slug of the payment page. Only pages created with 'product' type can have products added.\"),\n products: z.array(z.number().int()).describe(\"List of product IDs to add to the payment page. Each product must already exist in your Paystack account.\"),\n}).describe(\"Request model for adding products to a Paystack payment page.\");\nconst PaystackAddProductsToPage_PageProductSchema = z.object({\n id: z.number().int().describe(\"Product ID\").nullable().optional(),\n name: z.string().describe(\"Product name\").nullable().optional(),\n type: z.string().describe(\"Product type\").nullable().optional(),\n price: z.number().int().describe(\"Product price in kobo\").nullable().optional(),\n active: z.boolean().describe(\"Whether product is active\").nullable().optional(),\n domain: z.string().describe(\"Domain\").nullable().optional(),\n currency: z.string().describe(\"Currency code\").nullable().optional(),\n features: z.unknown().describe(\"Product features\").nullable().optional(),\n in_stock: z.boolean().describe(\"Whether product is in stock\").nullable().optional(),\n quantity: z.number().int().describe(\"Available quantity\").nullable().optional(),\n description: z.string().describe(\"Product description\").nullable().optional(),\n integration: z.number().int().describe(\"Integration ID\").nullable().optional(),\n is_shippable: z.boolean().describe(\"Whether product is shippable\").nullable().optional(),\n quantity_sold: z.number().int().describe(\"Number of units sold\").nullable().optional(),\n}).passthrough().describe(\"Product details in the page response.\");\nconst PaystackAddProductsToPage_PageDataSchema = z.object({\n id: z.number().int().describe(\"Page ID\").nullable(),\n name: z.string().describe(\"Page name\").nullable(),\n plan: z.unknown().describe(\"Associated plan\").nullable().optional(),\n slug: z.string().describe(\"Page slug\").nullable(),\n type: z.string().describe(\"Page type\").nullable(),\n active: z.boolean().describe(\"Whether page is active\").nullable(),\n amount: z.number().int().describe(\"Page amount\").nullable().optional(),\n domain: z.string().describe(\"Domain\").nullable(),\n migrate: z.boolean().describe(\"Migration status\").nullable(),\n currency: z.string().describe(\"Currency code\").nullable(),\n metadata: z.unknown().describe(\"Page metadata\").nullable().optional(),\n products: z.array(PaystackAddProductsToPage_PageProductSchema).describe(\"List of products associated with the page\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp\").nullable(),\n published: z.boolean().describe(\"Whether page is published\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n split_code: z.string().describe(\"Split code\").nullable().optional(),\n description: z.string().describe(\"Page description\").nullable().optional(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n redirect_url: z.string().describe(\"Redirect URL after payment\").nullable().optional(),\n collect_phone: z.boolean().describe(\"Whether to collect phone number\").nullable(),\n custom_fields: z.unknown().describe(\"Custom fields\").nullable().optional(),\n success_message: z.string().describe(\"Success message\").nullable().optional(),\n notification_email: z.string().describe(\"Notification email\").nullable().optional(),\n}).passthrough().describe(\"Payment page data in the response.\");\nexport const PaystackAddProductsToPageOutput = z.object({\n data: PaystackAddProductsToPage_PageDataSchema.nullable(),\n status: z.boolean().describe(\"Indicates whether the request was successful\").nullable(),\n message: z.string().describe(\"Response message from the API\").nullable(),\n}).passthrough().describe(\"Response model returned after adding products to a payment page.\");\n\nexport const paystackAddProductsToPage = action(\"PAYSTACK_ADD_PRODUCTS_TO_PAGE\", {\n slug: \"paystack-add-products-to-page\",\n name: \"Add Products to Page\",\n description: \"Tool to add products to a Paystack payment page. Use when you need to add products to an existing page that was created with 'product' type. This action adds the specified products to the page, allowing customers to select from multiple products when making a payment.\",\n input: PaystackAddProductsToPageInput,\n output: PaystackAddProductsToPageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG;CAC7H,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,2GAA2G;AAC1J,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,8CAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS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AY,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CAClE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAChF,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAO9D,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX6C,EAAE,OAAO;EACtD,MAAM,yCAAyC,SAAS;EACxD,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACtF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAOhB;AACV,CAAC"}
@@ -9,7 +9,7 @@ const PaystackAddProductsToStorefrontOutput = zod.z.object({
9
9
  data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Response data containing details about the operation").nullable().optional(),
10
10
  status: zod.z.boolean().describe("Whether the request was successful").nullable(),
11
11
  message: zod.z.string().describe("Status message from the API").nullable()
12
- }).describe("Response model after adding products to a storefront.");
12
+ }).passthrough().describe("Response model after adding products to a storefront.");
13
13
  const paystackAddProductsToStorefront = require_action.action("PAYSTACK_ADD_PRODUCTS_TO_STOREFRONT", {
14
14
  slug: "paystack-add-products-to-storefront",
15
15
  name: "Add Products to Storefront",
@@ -1 +1 @@
1
- {"version":3,"file":"add-products-to-storefront.cjs","names":["z","action"],"sources":["../../src/actions/add-products-to-storefront.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackAddProductsToStorefrontInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the Storefront\"),\n products: z.array(z.number().int()).describe(\"An array of product IDs to add to the storefront\"),\n}).describe(\"Request model for adding products to a storefront.\");\nexport const PaystackAddProductsToStorefrontOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Response data containing details about the operation\").nullable().optional(),\n status: z.boolean().describe(\"Whether the request was successful\").nullable(),\n message: z.string().describe(\"Status message from the API\").nullable(),\n}).describe(\"Response model after adding products to a storefront.\");\n\nexport const paystackAddProductsToStorefront = action(\"PAYSTACK_ADD_PRODUCTS_TO_STOREFRONT\", {\n slug: \"paystack-add-products-to-storefront\",\n name: \"Add Products to Storefront\",\n description: \"Tool to add previously created products to a Storefront. Use when you need to associate existing products with a specific storefront.\",\n input: PaystackAddProductsToStorefrontInput,\n output: PaystackAddProductsToStorefrontOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;CACvE,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,kDAAkD;AACjG,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC5E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAEnE,MAAa,kCAAkCC,eAAAA,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"add-products-to-storefront.cjs","names":["z","action"],"sources":["../../src/actions/add-products-to-storefront.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackAddProductsToStorefrontInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the Storefront\"),\n products: z.array(z.number().int()).describe(\"An array of product IDs to add to the storefront\"),\n}).describe(\"Request model for adding products to a storefront.\");\nexport const PaystackAddProductsToStorefrontOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Response data containing details about the operation\").nullable().optional(),\n status: z.boolean().describe(\"Whether the request was successful\").nullable(),\n message: z.string().describe(\"Status message from the API\").nullable(),\n}).passthrough().describe(\"Response model after adding products to a storefront.\");\n\nexport const paystackAddProductsToStorefront = action(\"PAYSTACK_ADD_PRODUCTS_TO_STOREFRONT\", {\n slug: \"paystack-add-products-to-storefront\",\n name: \"Add Products to Storefront\",\n description: \"Tool to add previously created products to a Storefront. Use when you need to associate existing products with a specific storefront.\",\n input: PaystackAddProductsToStorefrontInput,\n output: PaystackAddProductsToStorefrontOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;CACvE,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,kDAAkD;AACjG,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC5E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,kCAAkCC,eAAAA,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -9,7 +9,7 @@ declare const PaystackAddProductsToStorefrontOutput: z.ZodObject<{
9
9
  data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
10
10
  status: z.ZodNullable<z.ZodBoolean>;
11
11
  message: z.ZodNullable<z.ZodString>;
12
- }, z.core.$strip>;
12
+ }, z.core.$loose>;
13
13
  declare const paystackAddProductsToStorefront: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  id: number;
15
15
  products: number[];
@@ -9,7 +9,7 @@ declare const PaystackAddProductsToStorefrontOutput: z.ZodObject<{
9
9
  data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
10
10
  status: z.ZodNullable<z.ZodBoolean>;
11
11
  message: z.ZodNullable<z.ZodString>;
12
- }, z.core.$strip>;
12
+ }, z.core.$loose>;
13
13
  declare const paystackAddProductsToStorefront: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  id: number;
15
15
  products: number[];
@@ -12,7 +12,7 @@ const paystackAddProductsToStorefront = action("PAYSTACK_ADD_PRODUCTS_TO_STOREFR
12
12
  data: z.record(z.string(), z.unknown()).describe("Response data containing details about the operation").nullable().optional(),
13
13
  status: z.boolean().describe("Whether the request was successful").nullable(),
14
14
  message: z.string().describe("Status message from the API").nullable()
15
- }).describe("Response model after adding products to a storefront.")
15
+ }).passthrough().describe("Response model after adding products to a storefront.")
16
16
  });
17
17
  //#endregion
18
18
  export { paystackAddProductsToStorefront };
@@ -1 +1 @@
1
- {"version":3,"file":"add-products-to-storefront.mjs","names":[],"sources":["../../src/actions/add-products-to-storefront.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackAddProductsToStorefrontInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the Storefront\"),\n products: z.array(z.number().int()).describe(\"An array of product IDs to add to the storefront\"),\n}).describe(\"Request model for adding products to a storefront.\");\nexport const PaystackAddProductsToStorefrontOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Response data containing details about the operation\").nullable().optional(),\n status: z.boolean().describe(\"Whether the request was successful\").nullable(),\n message: z.string().describe(\"Status message from the API\").nullable(),\n}).describe(\"Response model after adding products to a storefront.\");\n\nexport const paystackAddProductsToStorefront = action(\"PAYSTACK_ADD_PRODUCTS_TO_STOREFRONT\", {\n slug: \"paystack-add-products-to-storefront\",\n name: \"Add Products to Storefront\",\n description: \"Tool to add previously created products to a Storefront. Use when you need to associate existing products with a specific storefront.\",\n input: PaystackAddProductsToStorefrontInput,\n output: PaystackAddProductsToStorefrontOutput,\n});\n"],"mappings":";;AAcA,MAAa,kCAAkC,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdkD,EAAE,OAAO;EAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;EACvE,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,kDAAkD;CACjG,CAAC,CAAC,CAAC,SAAS,oDAWH;CACP,QAXmD,EAAE,OAAO;EAC5D,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC5E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACvE,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"add-products-to-storefront.mjs","names":[],"sources":["../../src/actions/add-products-to-storefront.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackAddProductsToStorefrontInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the Storefront\"),\n products: z.array(z.number().int()).describe(\"An array of product IDs to add to the storefront\"),\n}).describe(\"Request model for adding products to a storefront.\");\nexport const PaystackAddProductsToStorefrontOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Response data containing details about the operation\").nullable().optional(),\n status: z.boolean().describe(\"Whether the request was successful\").nullable(),\n message: z.string().describe(\"Status message from the API\").nullable(),\n}).passthrough().describe(\"Response model after adding products to a storefront.\");\n\nexport const paystackAddProductsToStorefront = action(\"PAYSTACK_ADD_PRODUCTS_TO_STOREFRONT\", {\n slug: \"paystack-add-products-to-storefront\",\n name: \"Add Products to Storefront\",\n description: \"Tool to add previously created products to a Storefront. Use when you need to associate existing products with a specific storefront.\",\n input: PaystackAddProductsToStorefrontInput,\n output: PaystackAddProductsToStorefrontOutput,\n});\n"],"mappings":";;AAcA,MAAa,kCAAkC,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdkD,EAAE,OAAO;EAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;EACvE,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,kDAAkD;CACjG,CAAC,CAAC,CAAC,SAAS,oDAWH;CACP,QAXmD,EAAE,OAAO;EAC5D,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC5E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAOhB;AACV,CAAC"}
@@ -8,7 +8,7 @@ const PaystackAddSplitCodeToVirtualTerminalInput = zod.z.object({
8
8
  const PaystackAddSplitCodeToVirtualTerminal_SubaccountSchema = zod.z.object({
9
9
  share: zod.z.number().int().describe("Share percentage or amount").nullable().optional(),
10
10
  subaccount: zod.z.unknown().describe("Subaccount code or full subaccount object").nullable().optional()
11
- }).describe("Subaccount details within a split configuration.");
11
+ }).passthrough().describe("Subaccount details within a split configuration.");
12
12
  const PaystackAddSplitCodeToVirtualTerminal_VirtualTerminalDataSchema = zod.z.object({
13
13
  id: zod.z.string().describe("Unique identifier of the virtual terminal").nullable(),
14
14
  name: zod.z.string().describe("Name of the virtual terminal").nullable(),
@@ -25,12 +25,12 @@ const PaystackAddSplitCodeToVirtualTerminal_VirtualTerminalDataSchema = zod.z.ob
25
25
  subaccounts: zod.z.array(PaystackAddSplitCodeToVirtualTerminal_SubaccountSchema).describe("List of subaccounts in the split"),
26
26
  bearer_subaccount: zod.z.unknown().describe("Bearer subaccount if applicable").nullable().optional(),
27
27
  total_subaccounts: zod.z.number().int().describe("Total number of subaccounts in the split").nullable()
28
- }).describe("Virtual terminal data returned after assigning a split code.");
28
+ }).passthrough().describe("Virtual terminal data returned after assigning a split code.");
29
29
  const PaystackAddSplitCodeToVirtualTerminalOutput = zod.z.object({
30
30
  data: PaystackAddSplitCodeToVirtualTerminal_VirtualTerminalDataSchema.nullable(),
31
31
  status: zod.z.boolean().describe("Status of the operation").nullable(),
32
32
  message: zod.z.string().describe("Response message from the API").nullable()
33
- }).describe("Response model returned after adding a split code to a virtual terminal.");
33
+ }).passthrough().describe("Response model returned after adding a split code to a virtual terminal.");
34
34
  const paystackAddSplitCodeToVirtualTerminal = require_action.action("PAYSTACK_ADD_SPLIT_CODE_TO_VIRTUAL_TERMINAL", {
35
35
  slug: "paystack-add-split-code-to-virtual-terminal",
36
36
  name: "Add Split Code to Virtual Terminal",
@@ -1 +1 @@
1
- {"version":3,"file":"add-split-code-to-virtual-terminal.cjs","names":["z","action"],"sources":["../../src/actions/add-split-code-to-virtual-terminal.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackAddSplitCodeToVirtualTerminalInput = z.object({\n code: z.string().describe(\"Code of the Virtual Terminal to update\"),\n split_code: z.string().describe(\"The split code to assign to the virtual terminal\"),\n}).describe(\"Request model for adding a split code to a virtual terminal.\");\nconst PaystackAddSplitCodeToVirtualTerminal_SubaccountSchema = z.object({\n share: z.number().int().describe(\"Share percentage or amount\").nullable().optional(),\n subaccount: z.unknown().describe(\"Subaccount code or full subaccount object\").nullable().optional(),\n}).describe(\"Subaccount details within a split configuration.\");\nconst PaystackAddSplitCodeToVirtualTerminal_VirtualTerminalDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the virtual terminal\").nullable(),\n name: z.string().describe(\"Name of the virtual terminal\").nullable(),\n type: z.string().describe(\"Type of the split\").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\").nullable(),\n createdAt: z.string().describe(\"Creation timestamp\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n is_dynamic: z.boolean().describe(\"Whether the split configuration is dynamic\").nullable(),\n split_code: z.string().describe(\"Split code assigned to the terminal\").nullable(),\n bearer_type: z.string().describe(\"Bearer type for the split\").nullable(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n subaccounts: z.array(PaystackAddSplitCodeToVirtualTerminal_SubaccountSchema).describe(\"List of subaccounts in the split\"),\n bearer_subaccount: z.unknown().describe(\"Bearer subaccount if applicable\").nullable().optional(),\n total_subaccounts: z.number().int().describe(\"Total number of subaccounts in the split\").nullable(),\n}).describe(\"Virtual terminal data returned after assigning a split code.\");\nexport const PaystackAddSplitCodeToVirtualTerminalOutput = z.object({\n data: PaystackAddSplitCodeToVirtualTerminal_VirtualTerminalDataSchema.nullable(),\n status: z.boolean().describe(\"Status of the operation\").nullable(),\n message: z.string().describe(\"Response message from the API\").nullable(),\n}).describe(\"Response model returned after adding a split code to a virtual terminal.\");\n\nexport const paystackAddSplitCodeToVirtualTerminal = action(\"PAYSTACK_ADD_SPLIT_CODE_TO_VIRTUAL_TERMINAL\", {\n slug: \"paystack-add-split-code-to-virtual-terminal\",\n name: \"Add Split Code to Virtual Terminal\",\n description: \"Tool to add a split code to a virtual terminal. Use when you need to assign payment splitting configuration to a virtual terminal.\",\n input: PaystackAddSplitCodeToVirtualTerminalInput,\n output: PaystackAddSplitCodeToVirtualTerminalOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CAClE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;AACpF,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,yDAAyDA,IAAAA,EAAE,OAAO;CACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI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C,CAAC,SAAS,kCAAkC;CACxH,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAM,gEAAgE,SAAS;CAC/E,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,SAAS,0EAA0E;AAEtF,MAAa,wCAAwCC,eAAAA,OAAO,+CAA+C;CACzG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"add-split-code-to-virtual-terminal.cjs","names":["z","action"],"sources":["../../src/actions/add-split-code-to-virtual-terminal.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackAddSplitCodeToVirtualTerminalInput = z.object({\n code: z.string().describe(\"Code of the Virtual Terminal to update\"),\n split_code: z.string().describe(\"The split code to assign to the virtual terminal\"),\n}).describe(\"Request model for adding a split code to a virtual terminal.\");\nconst PaystackAddSplitCodeToVirtualTerminal_SubaccountSchema = z.object({\n share: z.number().int().describe(\"Share percentage or amount\").nullable().optional(),\n subaccount: z.unknown().describe(\"Subaccount code or full subaccount object\").nullable().optional(),\n}).passthrough().describe(\"Subaccount details within a split configuration.\");\nconst PaystackAddSplitCodeToVirtualTerminal_VirtualTerminalDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the virtual terminal\").nullable(),\n name: z.string().describe(\"Name of the virtual terminal\").nullable(),\n type: z.string().describe(\"Type of the split\").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\").nullable(),\n createdAt: z.string().describe(\"Creation timestamp\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n is_dynamic: z.boolean().describe(\"Whether the split configuration is dynamic\").nullable(),\n split_code: z.string().describe(\"Split code assigned to the terminal\").nullable(),\n bearer_type: z.string().describe(\"Bearer type for the split\").nullable(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n subaccounts: z.array(PaystackAddSplitCodeToVirtualTerminal_SubaccountSchema).describe(\"List of subaccounts in the split\"),\n bearer_subaccount: z.unknown().describe(\"Bearer subaccount if applicable\").nullable().optional(),\n total_subaccounts: z.number().int().describe(\"Total number of subaccounts in the split\").nullable(),\n}).passthrough().describe(\"Virtual terminal data returned after assigning a split code.\");\nexport const PaystackAddSplitCodeToVirtualTerminalOutput = z.object({\n data: PaystackAddSplitCodeToVirtualTerminal_VirtualTerminalDataSchema.nullable(),\n status: z.boolean().describe(\"Status of the operation\").nullable(),\n message: z.string().describe(\"Response message from the API\").nullable(),\n}).passthrough().describe(\"Response model returned after adding a split code to a virtual terminal.\");\n\nexport const paystackAddSplitCodeToVirtualTerminal = action(\"PAYSTACK_ADD_SPLIT_CODE_TO_VIRTUAL_TERMINAL\", {\n slug: \"paystack-add-split-code-to-virtual-terminal\",\n name: \"Add Split Code to Virtual Terminal\",\n description: \"Tool to add a split code to a virtual terminal. Use when you need to assign payment splitting configuration to a virtual terminal.\",\n input: PaystackAddSplitCodeToVirtualTerminalInput,\n output: PaystackAddSplitCodeToVirtualTerminalOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CAClE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;AACpF,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S;CACvE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CAClE,aAAaA,IAAAA,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,kCAAkC;CACxH,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AACxF,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAM,gEAAgE,SAAS;CAC/E,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0EAA0E;AAEpG,MAAa,wCAAwCC,eAAAA,OAAO,+CAA+C;CACzG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -22,13 +22,13 @@ declare const PaystackAddSplitCodeToVirtualTerminalOutput: z.ZodObject<{
22
22
  subaccounts: z.ZodArray<z.ZodObject<{
23
23
  share: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
24
  subaccount: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
25
- }, z.core.$strip>>;
25
+ }, z.core.$loose>>;
26
26
  bearer_subaccount: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
27
27
  total_subaccounts: z.ZodNullable<z.ZodNumber>;
28
- }, z.core.$strip>>;
28
+ }, z.core.$loose>>;
29
29
  status: z.ZodNullable<z.ZodBoolean>;
30
30
  message: z.ZodNullable<z.ZodString>;
31
- }, z.core.$strip>;
31
+ }, z.core.$loose>;
32
32
  declare const paystackAddSplitCodeToVirtualTerminal: import("@keystrokehq/action").WorkflowActionDefinition<{
33
33
  code: string;
34
34
  split_code: string;
@@ -22,13 +22,13 @@ declare const PaystackAddSplitCodeToVirtualTerminalOutput: z.ZodObject<{
22
22
  subaccounts: z.ZodArray<z.ZodObject<{
23
23
  share: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
24
  subaccount: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
25
- }, z.core.$strip>>;
25
+ }, z.core.$loose>>;
26
26
  bearer_subaccount: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
27
27
  total_subaccounts: z.ZodNullable<z.ZodNumber>;
28
- }, z.core.$strip>>;
28
+ }, z.core.$loose>>;
29
29
  status: z.ZodNullable<z.ZodBoolean>;
30
30
  message: z.ZodNullable<z.ZodString>;
31
- }, z.core.$strip>;
31
+ }, z.core.$loose>;
32
32
  declare const paystackAddSplitCodeToVirtualTerminal: import("@keystrokehq/action").WorkflowActionDefinition<{
33
33
  code: string;
34
34
  split_code: string;
@@ -8,7 +8,7 @@ const PaystackAddSplitCodeToVirtualTerminalInput = z.object({
8
8
  const PaystackAddSplitCodeToVirtualTerminal_SubaccountSchema = z.object({
9
9
  share: z.number().int().describe("Share percentage or amount").nullable().optional(),
10
10
  subaccount: z.unknown().describe("Subaccount code or full subaccount object").nullable().optional()
11
- }).describe("Subaccount details within a split configuration.");
11
+ }).passthrough().describe("Subaccount details within a split configuration.");
12
12
  const PaystackAddSplitCodeToVirtualTerminal_VirtualTerminalDataSchema = z.object({
13
13
  id: z.string().describe("Unique identifier of the virtual terminal").nullable(),
14
14
  name: z.string().describe("Name of the virtual terminal").nullable(),
@@ -25,7 +25,7 @@ const PaystackAddSplitCodeToVirtualTerminal_VirtualTerminalDataSchema = z.object
25
25
  subaccounts: z.array(PaystackAddSplitCodeToVirtualTerminal_SubaccountSchema).describe("List of subaccounts in the split"),
26
26
  bearer_subaccount: z.unknown().describe("Bearer subaccount if applicable").nullable().optional(),
27
27
  total_subaccounts: z.number().int().describe("Total number of subaccounts in the split").nullable()
28
- }).describe("Virtual terminal data returned after assigning a split code.");
28
+ }).passthrough().describe("Virtual terminal data returned after assigning a split code.");
29
29
  const paystackAddSplitCodeToVirtualTerminal = action("PAYSTACK_ADD_SPLIT_CODE_TO_VIRTUAL_TERMINAL", {
30
30
  slug: "paystack-add-split-code-to-virtual-terminal",
31
31
  name: "Add Split Code to Virtual Terminal",
@@ -35,7 +35,7 @@ const paystackAddSplitCodeToVirtualTerminal = action("PAYSTACK_ADD_SPLIT_CODE_TO
35
35
  data: PaystackAddSplitCodeToVirtualTerminal_VirtualTerminalDataSchema.nullable(),
36
36
  status: z.boolean().describe("Status of the operation").nullable(),
37
37
  message: z.string().describe("Response message from the API").nullable()
38
- }).describe("Response model returned after adding a split code to a virtual terminal.")
38
+ }).passthrough().describe("Response model returned after adding a split code to a virtual terminal.")
39
39
  });
40
40
  //#endregion
41
41
  export { paystackAddSplitCodeToVirtualTerminal };
@@ -1 +1 @@
1
- {"version":3,"file":"add-split-code-to-virtual-terminal.mjs","names":[],"sources":["../../src/actions/add-split-code-to-virtual-terminal.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackAddSplitCodeToVirtualTerminalInput = z.object({\n code: z.string().describe(\"Code of the Virtual Terminal to update\"),\n split_code: z.string().describe(\"The split code to assign to the virtual terminal\"),\n}).describe(\"Request model for adding a split code to a virtual terminal.\");\nconst PaystackAddSplitCodeToVirtualTerminal_SubaccountSchema = z.object({\n share: z.number().int().describe(\"Share percentage or amount\").nullable().optional(),\n subaccount: z.unknown().describe(\"Subaccount code or full subaccount object\").nullable().optional(),\n}).describe(\"Subaccount details within a split configuration.\");\nconst PaystackAddSplitCodeToVirtualTerminal_VirtualTerminalDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the virtual terminal\").nullable(),\n name: z.string().describe(\"Name of the virtual terminal\").nullable(),\n type: z.string().describe(\"Type of the split\").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\").nullable(),\n createdAt: z.string().describe(\"Creation timestamp\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n is_dynamic: z.boolean().describe(\"Whether the split configuration is dynamic\").nullable(),\n split_code: z.string().describe(\"Split code assigned to the terminal\").nullable(),\n bearer_type: z.string().describe(\"Bearer type for the split\").nullable(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n subaccounts: z.array(PaystackAddSplitCodeToVirtualTerminal_SubaccountSchema).describe(\"List of subaccounts in the split\"),\n bearer_subaccount: z.unknown().describe(\"Bearer subaccount if applicable\").nullable().optional(),\n total_subaccounts: z.number().int().describe(\"Total number of subaccounts in the split\").nullable(),\n}).describe(\"Virtual terminal data returned after assigning a split code.\");\nexport const PaystackAddSplitCodeToVirtualTerminalOutput = z.object({\n data: PaystackAddSplitCodeToVirtualTerminal_VirtualTerminalDataSchema.nullable(),\n status: z.boolean().describe(\"Status of the operation\").nullable(),\n message: z.string().describe(\"Response message from the API\").nullable(),\n}).describe(\"Response model returned after adding a split code to a virtual terminal.\");\n\nexport const paystackAddSplitCodeToVirtualTerminal = action(\"PAYSTACK_ADD_SPLIT_CODE_TO_VIRTUAL_TERMINAL\", {\n slug: \"paystack-add-split-code-to-virtual-terminal\",\n name: \"Add Split Code to Virtual Terminal\",\n description: \"Tool to add a split code to a virtual terminal. Use when you need to assign payment splitting configuration to a virtual terminal.\",\n input: PaystackAddSplitCodeToVirtualTerminalInput,\n output: PaystackAddSplitCodeToVirtualTerminalOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA6C,EAAE,OAAO;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CAClE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;A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S,kCAAkC;CACxH,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAO1E,MAAa,wCAAwC,OAAO,+CAA+C;CACzG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXyD,EAAE,OAAO;EAClE,MAAM,gEAAgE,SAAS;EAC/E,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EACjE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACzE,CAAC,CAAC,CAAC,SAAS,0EAOF;AACV,CAAC"}
1
+ {"version":3,"file":"add-split-code-to-virtual-terminal.mjs","names":[],"sources":["../../src/actions/add-split-code-to-virtual-terminal.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackAddSplitCodeToVirtualTerminalInput = z.object({\n code: z.string().describe(\"Code of the Virtual Terminal to update\"),\n split_code: z.string().describe(\"The split code to assign to the virtual terminal\"),\n}).describe(\"Request model for adding a split code to a virtual terminal.\");\nconst PaystackAddSplitCodeToVirtualTerminal_SubaccountSchema = z.object({\n share: z.number().int().describe(\"Share percentage or amount\").nullable().optional(),\n subaccount: z.unknown().describe(\"Subaccount code or full subaccount object\").nullable().optional(),\n}).passthrough().describe(\"Subaccount details within a split configuration.\");\nconst PaystackAddSplitCodeToVirtualTerminal_VirtualTerminalDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the virtual terminal\").nullable(),\n name: z.string().describe(\"Name of the virtual terminal\").nullable(),\n type: z.string().describe(\"Type of the split\").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\").nullable(),\n createdAt: z.string().describe(\"Creation timestamp\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n is_dynamic: z.boolean().describe(\"Whether the split configuration is dynamic\").nullable(),\n split_code: z.string().describe(\"Split code assigned to the terminal\").nullable(),\n bearer_type: z.string().describe(\"Bearer type for the split\").nullable(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n subaccounts: z.array(PaystackAddSplitCodeToVirtualTerminal_SubaccountSchema).describe(\"List of subaccounts in the split\"),\n bearer_subaccount: z.unknown().describe(\"Bearer subaccount if applicable\").nullable().optional(),\n total_subaccounts: z.number().int().describe(\"Total number of subaccounts in the split\").nullable(),\n}).passthrough().describe(\"Virtual terminal data returned after assigning a split code.\");\nexport const PaystackAddSplitCodeToVirtualTerminalOutput = z.object({\n data: PaystackAddSplitCodeToVirtualTerminal_VirtualTerminalDataSchema.nullable(),\n status: z.boolean().describe(\"Status of the operation\").nullable(),\n message: z.string().describe(\"Response message from the API\").nullable(),\n}).passthrough().describe(\"Response model returned after adding a split code to a virtual terminal.\");\n\nexport const paystackAddSplitCodeToVirtualTerminal = action(\"PAYSTACK_ADD_SPLIT_CODE_TO_VIRTUAL_TERMINAL\", {\n slug: \"paystack-add-split-code-to-virtual-terminal\",\n name: \"Add Split Code to Virtual Terminal\",\n description: \"Tool to add a split code to a virtual terminal. Use when you need to assign payment splitting configuration to a virtual terminal.\",\n input: PaystackAddSplitCodeToVirtualTerminalInput,\n output: PaystackAddSplitCodeToVirtualTerminalOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA6C,EAAE,OAAO;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CAClE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;AACpF,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,yDAAyD,EAAE,OAAO;CACtE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC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;CAC/F,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AAOxF,MAAa,wCAAwC,OAAO,+CAA+C;CACzG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXyD,EAAE,OAAO;EAClE,MAAM,gEAAgE,SAAS;EAC/E,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EACjE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0EAOhB;AACV,CAAC"}
@@ -9,7 +9,7 @@ const PaystackAddSubaccountToSplitInput = zod.z.object({
9
9
  const PaystackAddSubaccountToSplit_SubaccountDetailsSchema = zod.z.object({
10
10
  share: zod.z.number().int().describe("The share allocated to this subaccount in the split").nullable(),
11
11
  subaccount: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Subaccount object containing details like code, name, etc.")
12
- }).describe("Details of a subaccount within the split configuration.");
12
+ }).passthrough().describe("Details of a subaccount within the split configuration.");
13
13
  const PaystackAddSubaccountToSplit_SplitDataSchema = zod.z.object({
14
14
  id: zod.z.string().describe("Unique identifier of the split configuration").nullable(),
15
15
  name: zod.z.string().describe("Name of the split configuration").nullable(),
@@ -26,12 +26,12 @@ const PaystackAddSubaccountToSplit_SplitDataSchema = zod.z.object({
26
26
  subaccounts: zod.z.array(PaystackAddSubaccountToSplit_SubaccountDetailsSchema).describe("List of subaccounts in the split configuration"),
27
27
  bearer_subaccount: zod.z.number().int().describe("Subaccount ID that bears the fees (if applicable)").nullable().optional(),
28
28
  total_subaccounts: zod.z.number().int().describe("Total number of subaccounts in this split").nullable()
29
- }).describe("Complete split configuration data.");
29
+ }).passthrough().describe("Complete split configuration data.");
30
30
  const PaystackAddSubaccountToSplitOutput = zod.z.object({
31
31
  data: PaystackAddSubaccountToSplit_SplitDataSchema.nullable(),
32
32
  status: zod.z.boolean().describe("Whether the API request was successful").nullable(),
33
33
  message: zod.z.string().describe("Human-readable message describing the result").nullable()
34
- }).describe("Response model after adding a subaccount to a split configuration.");
34
+ }).passthrough().describe("Response model after adding a subaccount to a split configuration.");
35
35
  const paystackAddSubaccountToSplit = require_action.action("PAYSTACK_ADD_SUBACCOUNT_TO_SPLIT", {
36
36
  slug: "paystack-add-subaccount-to-split",
37
37
  name: "Add Subaccount to Split",
@@ -1 +1 @@
1
- {"version":3,"file":"add-subaccount-to-split.cjs","names":["z","action"],"sources":["../../src/actions/add-subaccount-to-split.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackAddSubaccountToSplitInput = z.object({\n id: z.number().int().describe(\"The ID of the split configuration to update\"),\n share: z.number().int().describe(\"The percentage or flat quota allocated to this subaccount. The value depends on the split type (percentage vs flat amount).\"),\n subaccount: z.string().describe(\"Subaccount code of the customer or partner to add to the split. This code starts with 'ACCT_'.\"),\n}).describe(\"Request model for adding a subaccount to a split configuration.\");\nconst PaystackAddSubaccountToSplit_SubaccountDetailsSchema = z.object({\n share: z.number().int().describe(\"The share allocated to this subaccount in the split\").nullable(),\n subaccount: z.record(z.string(), z.unknown()).describe(\"Subaccount object containing details like code, name, etc.\"),\n}).describe(\"Details of a subaccount within the split configuration.\");\nconst PaystackAddSubaccountToSplit_SplitDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the split configuration\").nullable(),\n name: z.string().describe(\"Name of the split configuration\").nullable(),\n type: z.string().describe(\"Type of split (e.g., percentage, flat)\").nullable(),\n active: z.boolean().describe(\"Whether the split configuration is active\").nullable(),\n domain: z.string().describe(\"Domain associated with the split (test or live)\").nullable(),\n currency: z.string().describe(\"Currency code for the split (e.g., NGN, USD)\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the split was created\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the split was last updated\").nullable(),\n is_dynamic: z.boolean().describe(\"Whether the split is dynamic (can be modified)\").nullable(),\n split_code: z.string().describe(\"Unique code for this split configuration\").nullable(),\n bearer_type: z.string().describe(\"Who bears the Paystack fees (account, subaccount, all-proportional, all)\").nullable(),\n integration: z.number().int().describe(\"Integration ID associated with this split\").nullable(),\n subaccounts: z.array(PaystackAddSubaccountToSplit_SubaccountDetailsSchema).describe(\"List of subaccounts in the split configuration\"),\n bearer_subaccount: z.number().int().describe(\"Subaccount ID that bears the fees (if applicable)\").nullable().optional(),\n total_subaccounts: z.number().int().describe(\"Total number of subaccounts in this split\").nullable(),\n}).describe(\"Complete split configuration data.\");\nexport const PaystackAddSubaccountToSplitOutput = z.object({\n data: PaystackAddSubaccountToSplit_SplitDataSchema.nullable(),\n status: z.boolean().describe(\"Whether the API request was successful\").nullable(),\n message: z.string().describe(\"Human-readable message describing the result\").nullable(),\n}).describe(\"Response model after adding a subaccount to a split configuration.\");\n\nexport const paystackAddSubaccountToSplit = action(\"PAYSTACK_ADD_SUBACCOUNT_TO_SPLIT\", {\n slug: \"paystack-add-subaccount-to-split\",\n name: \"Add Subaccount to Split\",\n description: \"Tool to add a subaccount to a split configuration, or update the share of an existing subaccount. Use this when you need to modify the payment distribution by adding new partners/customers to a split or adjusting their allocation. The split must already exist before adding subaccounts to it.\",\n input: PaystackAddSubaccountToSplitInput,\n output: PaystackAddSubaccountToSplitOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6HAA6H;CAC9J,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;AAClI,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E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C,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC7F,aAAaA,IAAAA,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,gDAAgD;CACpI,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAM,6CAA6C,SAAS;CAC5D,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAEhF,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"add-subaccount-to-split.cjs","names":["z","action"],"sources":["../../src/actions/add-subaccount-to-split.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackAddSubaccountToSplitInput = z.object({\n id: z.number().int().describe(\"The ID of the split configuration to update\"),\n share: z.number().int().describe(\"The percentage or flat quota allocated to this subaccount. The value depends on the split type (percentage vs flat amount).\"),\n subaccount: z.string().describe(\"Subaccount code of the customer or partner to add to the split. This code starts with 'ACCT_'.\"),\n}).describe(\"Request model for adding a subaccount to a split configuration.\");\nconst PaystackAddSubaccountToSplit_SubaccountDetailsSchema = z.object({\n share: z.number().int().describe(\"The share allocated to this subaccount in the split\").nullable(),\n subaccount: z.record(z.string(), z.unknown()).describe(\"Subaccount object containing details like code, name, etc.\"),\n}).passthrough().describe(\"Details of a subaccount within the split configuration.\");\nconst PaystackAddSubaccountToSplit_SplitDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the split configuration\").nullable(),\n name: z.string().describe(\"Name of the split configuration\").nullable(),\n type: z.string().describe(\"Type of split (e.g., percentage, flat)\").nullable(),\n active: z.boolean().describe(\"Whether the split configuration is active\").nullable(),\n domain: z.string().describe(\"Domain associated with the split (test or live)\").nullable(),\n currency: z.string().describe(\"Currency code for the split (e.g., NGN, USD)\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the split was created\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the split was last updated\").nullable(),\n is_dynamic: z.boolean().describe(\"Whether the split is dynamic (can be modified)\").nullable(),\n split_code: z.string().describe(\"Unique code for this split configuration\").nullable(),\n bearer_type: z.string().describe(\"Who bears the Paystack fees (account, subaccount, all-proportional, all)\").nullable(),\n integration: z.number().int().describe(\"Integration ID associated with this split\").nullable(),\n subaccounts: z.array(PaystackAddSubaccountToSplit_SubaccountDetailsSchema).describe(\"List of subaccounts in the split configuration\"),\n bearer_subaccount: z.number().int().describe(\"Subaccount ID that bears the fees (if applicable)\").nullable().optional(),\n total_subaccounts: z.number().int().describe(\"Total number of subaccounts in this split\").nullable(),\n}).passthrough().describe(\"Complete split configuration data.\");\nexport const PaystackAddSubaccountToSplitOutput = z.object({\n data: PaystackAddSubaccountToSplit_SplitDataSchema.nullable(),\n status: z.boolean().describe(\"Whether the API request was successful\").nullable(),\n message: z.string().describe(\"Human-readable message describing the result\").nullable(),\n}).passthrough().describe(\"Response model after adding a subaccount to a split configuration.\");\n\nexport const paystackAddSubaccountToSplit = action(\"PAYSTACK_ADD_SUBACCOUNT_TO_SPLIT\", {\n slug: \"paystack-add-subaccount-to-split\",\n name: \"Add Subaccount to Split\",\n description: \"Tool to add a subaccount to a split configuration, or update the share of an existing subaccount. Use this when you need to modify the payment distribution by adding new partners/customers to a split or adjusting their allocation. The split must already exist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Object<{
23
23
  subaccounts: z.ZodArray<z.ZodObject<{
24
24
  share: z.ZodNullable<z.ZodNumber>;
25
25
  subaccount: z.ZodRecord<z.ZodString, z.ZodUnknown>;
26
- }, z.core.$strip>>;
26
+ }, z.core.$loose>>;
27
27
  bearer_subaccount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
28
28
  total_subaccounts: z.ZodNullable<z.ZodNumber>;
29
- }, z.core.$strip>>;
29
+ }, z.core.$loose>>;
30
30
  status: z.ZodNullable<z.ZodBoolean>;
31
31
  message: z.ZodNullable<z.ZodString>;
32
- }, z.core.$strip>;
32
+ }, z.core.$loose>;
33
33
  declare const paystackAddSubaccountToSplit: import("@keystrokehq/action").WorkflowActionDefinition<{
34
34
  id: number;
35
35
  share: number;
@@ -23,13 +23,13 @@ declare const PaystackAddSubaccountToSplitOutput: z.ZodObject<{
23
23
  subaccounts: z.ZodArray<z.ZodObject<{
24
24
  share: z.ZodNullable<z.ZodNumber>;
25
25
  subaccount: z.ZodRecord<z.ZodString, z.ZodUnknown>;
26
- }, z.core.$strip>>;
26
+ }, z.core.$loose>>;
27
27
  bearer_subaccount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
28
28
  total_subaccounts: z.ZodNullable<z.ZodNumber>;
29
- }, z.core.$strip>>;
29
+ }, z.core.$loose>>;
30
30
  status: z.ZodNullable<z.ZodBoolean>;
31
31
  message: z.ZodNullable<z.ZodString>;
32
- }, z.core.$strip>;
32
+ }, z.core.$loose>;
33
33
  declare const paystackAddSubaccountToSplit: import("@keystrokehq/action").WorkflowActionDefinition<{
34
34
  id: number;
35
35
  share: number;
@@ -9,7 +9,7 @@ const PaystackAddSubaccountToSplitInput = z.object({
9
9
  const PaystackAddSubaccountToSplit_SubaccountDetailsSchema = z.object({
10
10
  share: z.number().int().describe("The share allocated to this subaccount in the split").nullable(),
11
11
  subaccount: z.record(z.string(), z.unknown()).describe("Subaccount object containing details like code, name, etc.")
12
- }).describe("Details of a subaccount within the split configuration.");
12
+ }).passthrough().describe("Details of a subaccount within the split configuration.");
13
13
  const PaystackAddSubaccountToSplit_SplitDataSchema = z.object({
14
14
  id: z.string().describe("Unique identifier of the split configuration").nullable(),
15
15
  name: z.string().describe("Name of the split configuration").nullable(),
@@ -26,7 +26,7 @@ const PaystackAddSubaccountToSplit_SplitDataSchema = z.object({
26
26
  subaccounts: z.array(PaystackAddSubaccountToSplit_SubaccountDetailsSchema).describe("List of subaccounts in the split configuration"),
27
27
  bearer_subaccount: z.number().int().describe("Subaccount ID that bears the fees (if applicable)").nullable().optional(),
28
28
  total_subaccounts: z.number().int().describe("Total number of subaccounts in this split").nullable()
29
- }).describe("Complete split configuration data.");
29
+ }).passthrough().describe("Complete split configuration data.");
30
30
  const paystackAddSubaccountToSplit = action("PAYSTACK_ADD_SUBACCOUNT_TO_SPLIT", {
31
31
  slug: "paystack-add-subaccount-to-split",
32
32
  name: "Add Subaccount to Split",
@@ -36,7 +36,7 @@ const paystackAddSubaccountToSplit = action("PAYSTACK_ADD_SUBACCOUNT_TO_SPLIT",
36
36
  data: PaystackAddSubaccountToSplit_SplitDataSchema.nullable(),
37
37
  status: z.boolean().describe("Whether the API request was successful").nullable(),
38
38
  message: z.string().describe("Human-readable message describing the result").nullable()
39
- }).describe("Response model after adding a subaccount to a split configuration.")
39
+ }).passthrough().describe("Response model after adding a subaccount to a split configuration.")
40
40
  });
41
41
  //#endregion
42
42
  export { paystackAddSubaccountToSplit };
@@ -1 +1 @@
1
- {"version":3,"file":"add-subaccount-to-split.mjs","names":[],"sources":["../../src/actions/add-subaccount-to-split.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackAddSubaccountToSplitInput = z.object({\n id: z.number().int().describe(\"The ID of the split configuration to update\"),\n share: z.number().int().describe(\"The percentage or flat quota allocated to this subaccount. The value depends on the split type (percentage vs flat amount).\"),\n subaccount: z.string().describe(\"Subaccount code of the customer or partner to add to the split. This code starts with 'ACCT_'.\"),\n}).describe(\"Request model for adding a subaccount to a split configuration.\");\nconst PaystackAddSubaccountToSplit_SubaccountDetailsSchema = z.object({\n share: z.number().int().describe(\"The share allocated to this subaccount in the split\").nullable(),\n subaccount: z.record(z.string(), z.unknown()).describe(\"Subaccount object containing details like code, name, etc.\"),\n}).describe(\"Details of a subaccount within the split configuration.\");\nconst PaystackAddSubaccountToSplit_SplitDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the split configuration\").nullable(),\n name: z.string().describe(\"Name of the split configuration\").nullable(),\n type: z.string().describe(\"Type of split (e.g., percentage, flat)\").nullable(),\n active: z.boolean().describe(\"Whether the split configuration is active\").nullable(),\n domain: z.string().describe(\"Domain associated with the split (test or live)\").nullable(),\n currency: z.string().describe(\"Currency code for the split (e.g., NGN, USD)\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the split was created\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the split was last updated\").nullable(),\n is_dynamic: z.boolean().describe(\"Whether the split is dynamic (can be modified)\").nullable(),\n split_code: z.string().describe(\"Unique code for this split configuration\").nullable(),\n bearer_type: z.string().describe(\"Who bears the Paystack fees (account, subaccount, all-proportional, all)\").nullable(),\n integration: z.number().int().describe(\"Integration ID associated with this split\").nullable(),\n subaccounts: z.array(PaystackAddSubaccountToSplit_SubaccountDetailsSchema).describe(\"List of subaccounts in the split configuration\"),\n bearer_subaccount: z.number().int().describe(\"Subaccount ID that bears the fees (if applicable)\").nullable().optional(),\n total_subaccounts: z.number().int().describe(\"Total number of subaccounts in this split\").nullable(),\n}).describe(\"Complete split configuration data.\");\nexport const PaystackAddSubaccountToSplitOutput = z.object({\n data: PaystackAddSubaccountToSplit_SplitDataSchema.nullable(),\n status: z.boolean().describe(\"Whether the API request was successful\").nullable(),\n message: z.string().describe(\"Human-readable message describing the result\").nullable(),\n}).describe(\"Response model after adding a subaccount to a split configuration.\");\n\nexport const paystackAddSubaccountToSplit = action(\"PAYSTACK_ADD_SUBACCOUNT_TO_SPLIT\", {\n slug: \"paystack-add-subaccount-to-split\",\n name: \"Add Subaccount to Split\",\n description: \"Tool to add a subaccount to a split configuration, or update the share of an existing subaccount. Use this when you need to modify the payment distribution by adding new partners/customers to a split or adjusting their allocation. The split must already exist before adding subaccounts to it.\",\n input: PaystackAddSubaccountToSplitInput,\n output: PaystackAddSubaccountToSplitOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6HAA6H;CAC9J,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;AAClI,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,uDAAuD,EAAE,OAAO;CACpE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACjG,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACrH,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC7E,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACxF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACzF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC9F,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACtH,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC7F,aAAa,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,gDAAgD;CACpI,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAOhD,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXgD,EAAE,OAAO;EACzD,MAAM,6CAA6C,SAAS;EAC5D,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAChF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACxF,CAAC,CAAC,CAAC,SAAS,oEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"add-subaccount-to-split.mjs","names":[],"sources":["../../src/actions/add-subaccount-to-split.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackAddSubaccountToSplitInput = z.object({\n id: z.number().int().describe(\"The ID of the split configuration to update\"),\n share: z.number().int().describe(\"The percentage or flat quota allocated to this subaccount. The value depends on the split type (percentage vs flat amount).\"),\n subaccount: z.string().describe(\"Subaccount code of the customer or partner to add to the split. This code starts with 'ACCT_'.\"),\n}).describe(\"Request model for adding a subaccount to a split configuration.\");\nconst PaystackAddSubaccountToSplit_SubaccountDetailsSchema = z.object({\n share: z.number().int().describe(\"The share allocated to this subaccount in the split\").nullable(),\n subaccount: z.record(z.string(), z.unknown()).describe(\"Subaccount object containing details like code, name, etc.\"),\n}).passthrough().describe(\"Details of a subaccount within the split configuration.\");\nconst PaystackAddSubaccountToSplit_SplitDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the split configuration\").nullable(),\n name: z.string().describe(\"Name of the split configuration\").nullable(),\n type: z.string().describe(\"Type of split (e.g., percentage, flat)\").nullable(),\n active: z.boolean().describe(\"Whether the split configuration is active\").nullable(),\n domain: z.string().describe(\"Domain associated with the split (test or live)\").nullable(),\n currency: z.string().describe(\"Currency code for the split (e.g., NGN, USD)\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the split was created\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the split was last updated\").nullable(),\n is_dynamic: z.boolean().describe(\"Whether the split is dynamic (can be modified)\").nullable(),\n split_code: z.string().describe(\"Unique code for this split configuration\").nullable(),\n bearer_type: z.string().describe(\"Who bears the Paystack fees (account, subaccount, all-proportional, all)\").nullable(),\n integration: z.number().int().describe(\"Integration ID associated with this split\").nullable(),\n subaccounts: z.array(PaystackAddSubaccountToSplit_SubaccountDetailsSchema).describe(\"List of subaccounts in the split configuration\"),\n bearer_subaccount: z.number().int().describe(\"Subaccount ID that bears the fees (if applicable)\").nullable().optional(),\n total_subaccounts: z.number().int().describe(\"Total number of subaccounts in this split\").nullable(),\n}).passthrough().describe(\"Complete split configuration data.\");\nexport const PaystackAddSubaccountToSplitOutput = z.object({\n data: PaystackAddSubaccountToSplit_SplitDataSchema.nullable(),\n status: z.boolean().describe(\"Whether the API request was successful\").nullable(),\n message: z.string().describe(\"Human-readable message describing the result\").nullable(),\n}).passthrough().describe(\"Response model after adding a subaccount to a split configuration.\");\n\nexport const paystackAddSubaccountToSplit = action(\"PAYSTACK_ADD_SUBACCOUNT_TO_SPLIT\", {\n slug: \"paystack-add-subaccount-to-split\",\n name: \"Add Subaccount to Split\",\n description: \"Tool to add a subaccount to a split configuration, or update the share of an existing subaccount. Use this when you need to modify the payment distribution by adding new partners/customers to a split or adjusting their allocation. The split must already exist before adding subaccounts to it.\",\n input: PaystackAddSubaccountToSplitInput,\n output: PaystackAddSubaccountToSplitOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6HAA6H;CAC9J,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;AAClI,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,uDAAuD,EAAE,OAAO;CACpE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACjG,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AACnF,MAAM,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC7E,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnF,QAAQ,EAAE,OAAO,CAAC,CAA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zod.z.object({ id: zod.z.number().int
5
5
  const PaystackArchivePaymentRequestOutput = zod.z.object({
6
6
  status: zod.z.boolean().describe("Indicates whether the request was successful (true) or failed (false).").nullable(),
7
7
  message: zod.z.string().describe("Status message describing the result of the archive operation.").nullable()
8
- }).describe("Response from archiving a payment request.");
8
+ }).passthrough().describe("Response from archiving a payment request.");
9
9
  const paystackArchivePaymentRequest = require_action.action("PAYSTACK_ARCHIVE_PAYMENT_REQUEST", {
10
10
  slug: "paystack-archive-payment-request",
11
11
  name: "Archive Payment Request",
@@ -1 +1 @@
1
- {"version":3,"file":"archive-payment-request.cjs","names":["z","action"],"sources":["../../src/actions/archive-payment-request.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackArchivePaymentRequestInput = z.object({\n id: z.number().int().describe(\"The unique identifier of a previously created payment request. Once archived, the payment request cannot be verified and will not be returned when listing payment requests.\"),\n}).describe(\"Request to archive a payment request.\");\nexport const PaystackArchivePaymentRequestOutput = z.object({\n status: z.boolean().describe(\"Indicates whether the request was successful (true) or failed (false).\").nullable(),\n message: z.string().describe(\"Status message describing the result of the archive operation.\").nullable(),\n}).describe(\"Response from archiving a payment request.\");\n\nexport const paystackArchivePaymentRequest = action(\"PAYSTACK_ARCHIVE_PAYMENT_REQUEST\", {\n slug: \"paystack-archive-payment-request\",\n name: \"Archive Payment Request\",\n description: \"Tool to archive a payment request to clean up records. Use when you need to remove a payment request from active listings. An archived payment request cannot be verified and will not appear when listing payment requests.\",\n input: PaystackArchivePaymentRequestInput,\n output: PaystackArchivePaymentRequestOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8KAA8K,EAC9M,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAChH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"archive-payment-request.cjs","names":["z","action"],"sources":["../../src/actions/archive-payment-request.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackArchivePaymentRequestInput = z.object({\n id: z.number().int().describe(\"The unique identifier of a previously created payment request. Once archived, the payment request cannot be verified and will not be returned when listing payment requests.\"),\n}).describe(\"Request to archive a payment request.\");\nexport const PaystackArchivePaymentRequestOutput = z.object({\n status: z.boolean().describe(\"Indicates whether the request was successful (true) or failed (false).\").nullable(),\n message: z.string().describe(\"Status message describing the result of the archive operation.\").nullable(),\n}).passthrough().describe(\"Response from archiving a payment request.\");\n\nexport const paystackArchivePaymentRequest = action(\"PAYSTACK_ARCHIVE_PAYMENT_REQUEST\", {\n slug: \"paystack-archive-payment-request\",\n name: \"Archive Payment Request\",\n description: \"Tool to archive a payment request to clean up records. Use when you need to remove a payment request from active listings. An archived payment request cannot be verified and will not appear when listing payment requests.\",\n input: PaystackArchivePaymentRequestInput,\n output: PaystackArchivePaymentRequestOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8KAA8K,EAC9M,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAChH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -7,7 +7,7 @@ declare const PaystackArchivePaymentRequestInput: z.ZodObject<{
7
7
  declare const PaystackArchivePaymentRequestOutput: z.ZodObject<{
8
8
  status: z.ZodNullable<z.ZodBoolean>;
9
9
  message: z.ZodNullable<z.ZodString>;
10
- }, z.core.$strip>;
10
+ }, z.core.$loose>;
11
11
  declare const paystackArchivePaymentRequest: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  id: number;
13
13
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -7,7 +7,7 @@ declare const PaystackArchivePaymentRequestInput: z.ZodObject<{
7
7
  declare const PaystackArchivePaymentRequestOutput: z.ZodObject<{
8
8
  status: z.ZodNullable<z.ZodBoolean>;
9
9
  message: z.ZodNullable<z.ZodString>;
10
- }, z.core.$strip>;
10
+ }, z.core.$loose>;
11
11
  declare const paystackArchivePaymentRequest: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  id: number;
13
13
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;