@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.
- package/dist/actions/add-products-to-page.cjs +3 -3
- package/dist/actions/add-products-to-page.cjs.map +1 -1
- package/dist/actions/add-products-to-page.d.cts +3 -3
- package/dist/actions/add-products-to-page.d.mts +3 -3
- package/dist/actions/add-products-to-page.mjs +3 -3
- package/dist/actions/add-products-to-page.mjs.map +1 -1
- package/dist/actions/add-products-to-storefront.cjs +1 -1
- package/dist/actions/add-products-to-storefront.cjs.map +1 -1
- package/dist/actions/add-products-to-storefront.d.cts +1 -1
- package/dist/actions/add-products-to-storefront.d.mts +1 -1
- package/dist/actions/add-products-to-storefront.mjs +1 -1
- package/dist/actions/add-products-to-storefront.mjs.map +1 -1
- package/dist/actions/add-split-code-to-virtual-terminal.cjs +3 -3
- package/dist/actions/add-split-code-to-virtual-terminal.cjs.map +1 -1
- package/dist/actions/add-split-code-to-virtual-terminal.d.cts +3 -3
- package/dist/actions/add-split-code-to-virtual-terminal.d.mts +3 -3
- package/dist/actions/add-split-code-to-virtual-terminal.mjs +3 -3
- package/dist/actions/add-split-code-to-virtual-terminal.mjs.map +1 -1
- package/dist/actions/add-subaccount-to-split.cjs +3 -3
- package/dist/actions/add-subaccount-to-split.cjs.map +1 -1
- package/dist/actions/add-subaccount-to-split.d.cts +3 -3
- package/dist/actions/add-subaccount-to-split.d.mts +3 -3
- package/dist/actions/add-subaccount-to-split.mjs +3 -3
- package/dist/actions/add-subaccount-to-split.mjs.map +1 -1
- package/dist/actions/archive-payment-request.cjs +1 -1
- package/dist/actions/archive-payment-request.cjs.map +1 -1
- package/dist/actions/archive-payment-request.d.cts +1 -1
- package/dist/actions/archive-payment-request.d.mts +1 -1
- package/dist/actions/archive-payment-request.mjs +1 -1
- package/dist/actions/archive-payment-request.mjs.map +1 -1
- package/dist/actions/assign-destination-to-virtual-terminal.cjs +3 -3
- package/dist/actions/assign-destination-to-virtual-terminal.cjs.map +1 -1
- package/dist/actions/assign-destination-to-virtual-terminal.d.cts +4 -3
- package/dist/actions/assign-destination-to-virtual-terminal.d.mts +4 -3
- package/dist/actions/assign-destination-to-virtual-terminal.mjs +3 -3
- package/dist/actions/assign-destination-to-virtual-terminal.mjs.map +1 -1
- package/dist/actions/check-pending-charge.cjs +5 -5
- package/dist/actions/check-pending-charge.cjs.map +1 -1
- package/dist/actions/check-pending-charge.d.cts +5 -5
- package/dist/actions/check-pending-charge.d.mts +5 -5
- package/dist/actions/check-pending-charge.mjs +5 -5
- package/dist/actions/check-pending-charge.mjs.map +1 -1
- package/dist/actions/check-slug-availability.cjs +1 -1
- package/dist/actions/check-slug-availability.cjs.map +1 -1
- package/dist/actions/check-slug-availability.d.cts +1 -1
- package/dist/actions/check-slug-availability.d.mts +1 -1
- package/dist/actions/check-slug-availability.mjs +1 -1
- package/dist/actions/check-slug-availability.mjs.map +1 -1
- package/dist/actions/create-bulk-transfer-recipient.cjs +5 -5
- package/dist/actions/create-bulk-transfer-recipient.cjs.map +1 -1
- package/dist/actions/create-bulk-transfer-recipient.d.cts +6 -5
- package/dist/actions/create-bulk-transfer-recipient.d.cts.map +1 -1
- package/dist/actions/create-bulk-transfer-recipient.d.mts +6 -5
- package/dist/actions/create-bulk-transfer-recipient.d.mts.map +1 -1
- package/dist/actions/create-bulk-transfer-recipient.mjs +5 -5
- package/dist/actions/create-bulk-transfer-recipient.mjs.map +1 -1
- package/dist/actions/create-charge.cjs +8 -8
- package/dist/actions/create-charge.cjs.map +1 -1
- package/dist/actions/create-charge.d.cts +8 -8
- package/dist/actions/create-charge.d.mts +8 -8
- package/dist/actions/create-charge.mjs +8 -8
- package/dist/actions/create-charge.mjs.map +1 -1
- package/dist/actions/create-customer.cjs +2 -2
- package/dist/actions/create-customer.cjs.map +1 -1
- package/dist/actions/create-customer.d.cts +2 -2
- package/dist/actions/create-customer.d.mts +2 -2
- package/dist/actions/create-customer.mjs +2 -2
- package/dist/actions/create-customer.mjs.map +1 -1
- package/dist/actions/create-payment-page.cjs +2 -2
- package/dist/actions/create-payment-page.cjs.map +1 -1
- package/dist/actions/create-payment-page.d.cts +6 -6
- package/dist/actions/create-payment-page.d.mts +6 -6
- package/dist/actions/create-payment-page.mjs +2 -2
- package/dist/actions/create-payment-page.mjs.map +1 -1
- package/dist/actions/create-payment-request.cjs +4 -4
- package/dist/actions/create-payment-request.cjs.map +1 -1
- package/dist/actions/create-payment-request.d.cts +6 -4
- package/dist/actions/create-payment-request.d.mts +6 -4
- package/dist/actions/create-payment-request.mjs +4 -4
- package/dist/actions/create-payment-request.mjs.map +1 -1
- package/dist/actions/create-plan.cjs +2 -2
- package/dist/actions/create-plan.cjs.map +1 -1
- package/dist/actions/create-plan.d.cts +2 -2
- package/dist/actions/create-plan.d.mts +2 -2
- package/dist/actions/create-plan.mjs +2 -2
- package/dist/actions/create-plan.mjs.map +1 -1
- package/dist/actions/create-refund.cjs +11 -11
- package/dist/actions/create-refund.cjs.map +1 -1
- package/dist/actions/create-refund.d.cts +13 -13
- package/dist/actions/create-refund.d.mts +13 -13
- package/dist/actions/create-refund.mjs +11 -11
- package/dist/actions/create-refund.mjs.map +1 -1
- package/dist/actions/create-split.cjs +4 -4
- package/dist/actions/create-split.cjs.map +1 -1
- package/dist/actions/create-split.d.cts +7 -6
- package/dist/actions/create-split.d.mts +7 -6
- package/dist/actions/create-split.mjs +4 -4
- package/dist/actions/create-split.mjs.map +1 -1
- package/dist/actions/create-storefront.cjs +7 -7
- package/dist/actions/create-storefront.cjs.map +1 -1
- package/dist/actions/create-storefront.d.cts +9 -9
- package/dist/actions/create-storefront.d.mts +9 -9
- package/dist/actions/create-storefront.mjs +7 -7
- package/dist/actions/create-storefront.mjs.map +1 -1
- package/dist/actions/create-subaccount.cjs +2 -2
- package/dist/actions/create-subaccount.cjs.map +1 -1
- package/dist/actions/create-subaccount.d.cts +2 -2
- package/dist/actions/create-subaccount.d.mts +2 -2
- package/dist/actions/create-subaccount.mjs +2 -2
- package/dist/actions/create-subaccount.mjs.map +1 -1
- package/dist/actions/create-transfer-recipient.cjs +3 -3
- package/dist/actions/create-transfer-recipient.cjs.map +1 -1
- package/dist/actions/create-transfer-recipient.d.cts +5 -5
- package/dist/actions/create-transfer-recipient.d.mts +5 -5
- package/dist/actions/create-transfer-recipient.mjs +3 -3
- package/dist/actions/create-transfer-recipient.mjs.map +1 -1
- package/dist/actions/create-virtual-terminal.cjs +7 -7
- package/dist/actions/create-virtual-terminal.cjs.map +1 -1
- package/dist/actions/create-virtual-terminal.d.cts +9 -8
- package/dist/actions/create-virtual-terminal.d.cts.map +1 -1
- package/dist/actions/create-virtual-terminal.d.mts +9 -8
- package/dist/actions/create-virtual-terminal.d.mts.map +1 -1
- package/dist/actions/create-virtual-terminal.mjs +7 -7
- package/dist/actions/create-virtual-terminal.mjs.map +1 -1
- package/dist/actions/deactivate-authorization.cjs +1 -1
- package/dist/actions/deactivate-authorization.cjs.map +1 -1
- package/dist/actions/deactivate-authorization.d.cts +1 -1
- package/dist/actions/deactivate-authorization.d.mts +1 -1
- package/dist/actions/deactivate-authorization.mjs +1 -1
- package/dist/actions/deactivate-authorization.mjs.map +1 -1
- package/dist/actions/deactivate-virtual-terminal.cjs +1 -1
- package/dist/actions/deactivate-virtual-terminal.cjs.map +1 -1
- package/dist/actions/deactivate-virtual-terminal.d.cts +1 -1
- package/dist/actions/deactivate-virtual-terminal.d.mts +1 -1
- package/dist/actions/deactivate-virtual-terminal.mjs +1 -1
- package/dist/actions/deactivate-virtual-terminal.mjs.map +1 -1
- package/dist/actions/delete-product.cjs +1 -1
- package/dist/actions/delete-product.cjs.map +1 -1
- package/dist/actions/delete-product.d.cts +1 -1
- package/dist/actions/delete-product.d.mts +1 -1
- package/dist/actions/delete-product.mjs +1 -1
- package/dist/actions/delete-product.mjs.map +1 -1
- package/dist/actions/delete-storefront.cjs +1 -1
- package/dist/actions/delete-storefront.cjs.map +1 -1
- package/dist/actions/delete-storefront.d.cts +1 -1
- package/dist/actions/delete-storefront.d.mts +1 -1
- package/dist/actions/delete-storefront.mjs +1 -1
- package/dist/actions/delete-storefront.mjs.map +1 -1
- package/dist/actions/delete-transfer-recipient.cjs +1 -1
- package/dist/actions/delete-transfer-recipient.cjs.map +1 -1
- package/dist/actions/delete-transfer-recipient.d.cts +1 -1
- package/dist/actions/delete-transfer-recipient.d.mts +1 -1
- package/dist/actions/delete-transfer-recipient.mjs +1 -1
- package/dist/actions/delete-transfer-recipient.mjs.map +1 -1
- package/dist/actions/disable-otp-for-transfers.cjs +1 -1
- package/dist/actions/disable-otp-for-transfers.cjs.map +1 -1
- package/dist/actions/disable-otp-for-transfers.d.cts +1 -1
- package/dist/actions/disable-otp-for-transfers.d.mts +1 -1
- package/dist/actions/disable-otp-for-transfers.mjs +1 -1
- package/dist/actions/disable-otp-for-transfers.mjs.map +1 -1
- package/dist/actions/disable-subscription.cjs +2 -2
- package/dist/actions/disable-subscription.cjs.map +1 -1
- package/dist/actions/disable-subscription.d.cts +2 -2
- package/dist/actions/disable-subscription.d.mts +2 -2
- package/dist/actions/disable-subscription.mjs +2 -2
- package/dist/actions/disable-subscription.mjs.map +1 -1
- package/dist/actions/duplicate-storefront.cjs +2 -2
- package/dist/actions/duplicate-storefront.cjs.map +1 -1
- package/dist/actions/duplicate-storefront.d.cts +2 -2
- package/dist/actions/duplicate-storefront.d.mts +2 -2
- package/dist/actions/duplicate-storefront.mjs +2 -2
- package/dist/actions/duplicate-storefront.mjs.map +1 -1
- package/dist/actions/enable-otp-requirement-for-transfers.cjs +1 -1
- package/dist/actions/enable-otp-requirement-for-transfers.cjs.map +1 -1
- package/dist/actions/enable-otp-requirement-for-transfers.d.cts +1 -1
- package/dist/actions/enable-otp-requirement-for-transfers.d.mts +1 -1
- package/dist/actions/enable-otp-requirement-for-transfers.mjs +1 -1
- package/dist/actions/enable-otp-requirement-for-transfers.mjs.map +1 -1
- package/dist/actions/export-transactions.cjs +2 -2
- package/dist/actions/export-transactions.cjs.map +1 -1
- package/dist/actions/export-transactions.d.cts +2 -2
- package/dist/actions/export-transactions.d.mts +2 -2
- package/dist/actions/export-transactions.mjs +2 -2
- package/dist/actions/export-transactions.mjs.map +1 -1
- package/dist/actions/fetch-balance-ledger.cjs +3 -3
- package/dist/actions/fetch-balance-ledger.cjs.map +1 -1
- package/dist/actions/fetch-balance-ledger.d.cts +3 -3
- package/dist/actions/fetch-balance-ledger.d.mts +3 -3
- package/dist/actions/fetch-balance-ledger.mjs +3 -3
- package/dist/actions/fetch-balance-ledger.mjs.map +1 -1
- package/dist/actions/fetch-balance.cjs +2 -2
- package/dist/actions/fetch-balance.cjs.map +1 -1
- package/dist/actions/fetch-balance.d.cts +2 -2
- package/dist/actions/fetch-balance.d.mts +2 -2
- package/dist/actions/fetch-balance.mjs +2 -2
- package/dist/actions/fetch-balance.mjs.map +1 -1
- package/dist/actions/fetch-bulk-charge-batch.cjs +2 -2
- package/dist/actions/fetch-bulk-charge-batch.cjs.map +1 -1
- package/dist/actions/fetch-bulk-charge-batch.d.cts +2 -2
- package/dist/actions/fetch-bulk-charge-batch.d.mts +2 -2
- package/dist/actions/fetch-bulk-charge-batch.mjs +2 -2
- package/dist/actions/fetch-bulk-charge-batch.mjs.map +1 -1
- package/dist/actions/fetch-customer.cjs +9 -9
- package/dist/actions/fetch-customer.cjs.map +1 -1
- package/dist/actions/fetch-customer.d.cts +10 -10
- package/dist/actions/fetch-customer.d.mts +10 -10
- package/dist/actions/fetch-customer.mjs +9 -9
- package/dist/actions/fetch-customer.mjs.map +1 -1
- package/dist/actions/fetch-mandate-authorizations.cjs +5 -5
- package/dist/actions/fetch-mandate-authorizations.cjs.map +1 -1
- package/dist/actions/fetch-mandate-authorizations.d.cts +5 -5
- package/dist/actions/fetch-mandate-authorizations.d.mts +5 -5
- package/dist/actions/fetch-mandate-authorizations.mjs +5 -5
- package/dist/actions/fetch-mandate-authorizations.mjs.map +1 -1
- package/dist/actions/fetch-payment-page.cjs +2 -2
- package/dist/actions/fetch-payment-page.cjs.map +1 -1
- package/dist/actions/fetch-payment-page.d.cts +2 -2
- package/dist/actions/fetch-payment-page.d.mts +2 -2
- package/dist/actions/fetch-payment-page.mjs +2 -2
- package/dist/actions/fetch-payment-page.mjs.map +1 -1
- package/dist/actions/fetch-payment-request.cjs +7 -7
- package/dist/actions/fetch-payment-request.cjs.map +1 -1
- package/dist/actions/fetch-payment-request.d.cts +7 -7
- package/dist/actions/fetch-payment-request.d.mts +7 -7
- package/dist/actions/fetch-payment-request.mjs +7 -7
- package/dist/actions/fetch-payment-request.mjs.map +1 -1
- package/dist/actions/fetch-payment-session-timeout.cjs +2 -2
- package/dist/actions/fetch-payment-session-timeout.cjs.map +1 -1
- package/dist/actions/fetch-payment-session-timeout.d.cts +2 -2
- package/dist/actions/fetch-payment-session-timeout.d.mts +2 -2
- package/dist/actions/fetch-payment-session-timeout.mjs +2 -2
- package/dist/actions/fetch-payment-session-timeout.mjs.map +1 -1
- package/dist/actions/fetch-plan.cjs +5 -5
- package/dist/actions/fetch-plan.cjs.map +1 -1
- package/dist/actions/fetch-plan.d.cts +5 -5
- package/dist/actions/fetch-plan.d.mts +5 -5
- package/dist/actions/fetch-plan.mjs +5 -5
- package/dist/actions/fetch-plan.mjs.map +1 -1
- package/dist/actions/fetch-product-orders.cjs +11 -11
- package/dist/actions/fetch-product-orders.cjs.map +1 -1
- package/dist/actions/fetch-product-orders.d.cts +11 -11
- package/dist/actions/fetch-product-orders.d.mts +11 -11
- package/dist/actions/fetch-product-orders.mjs +11 -11
- package/dist/actions/fetch-product-orders.mjs.map +1 -1
- package/dist/actions/fetch-product.cjs +8 -8
- package/dist/actions/fetch-product.cjs.map +1 -1
- package/dist/actions/fetch-product.d.cts +8 -8
- package/dist/actions/fetch-product.d.mts +8 -8
- package/dist/actions/fetch-product.mjs +8 -8
- package/dist/actions/fetch-product.mjs.map +1 -1
- package/dist/actions/fetch-refund.cjs +3 -3
- package/dist/actions/fetch-refund.cjs.map +1 -1
- package/dist/actions/fetch-refund.d.cts +3 -3
- package/dist/actions/fetch-refund.d.mts +3 -3
- package/dist/actions/fetch-refund.mjs +3 -3
- package/dist/actions/fetch-refund.mjs.map +1 -1
- package/dist/actions/fetch-split.cjs +3 -3
- package/dist/actions/fetch-split.cjs.map +1 -1
- package/dist/actions/fetch-split.d.cts +3 -3
- package/dist/actions/fetch-split.d.mts +3 -3
- package/dist/actions/fetch-split.mjs +3 -3
- package/dist/actions/fetch-split.mjs.map +1 -1
- package/dist/actions/fetch-storefront-orders.cjs +11 -11
- package/dist/actions/fetch-storefront-orders.cjs.map +1 -1
- package/dist/actions/fetch-storefront-orders.d.cts +11 -11
- package/dist/actions/fetch-storefront-orders.d.mts +11 -11
- package/dist/actions/fetch-storefront-orders.mjs +11 -11
- package/dist/actions/fetch-storefront-orders.mjs.map +1 -1
- package/dist/actions/fetch-storefront.cjs +8 -8
- package/dist/actions/fetch-storefront.cjs.map +1 -1
- package/dist/actions/fetch-storefront.d.cts +8 -8
- package/dist/actions/fetch-storefront.d.mts +8 -8
- package/dist/actions/fetch-storefront.mjs +8 -8
- package/dist/actions/fetch-storefront.mjs.map +1 -1
- package/dist/actions/fetch-subaccount.cjs +2 -2
- package/dist/actions/fetch-subaccount.cjs.map +1 -1
- package/dist/actions/fetch-subaccount.d.cts +2 -2
- package/dist/actions/fetch-subaccount.d.mts +2 -2
- package/dist/actions/fetch-subaccount.mjs +2 -2
- package/dist/actions/fetch-subaccount.mjs.map +1 -1
- package/dist/actions/fetch-subscription.cjs +13 -13
- package/dist/actions/fetch-subscription.cjs.map +1 -1
- package/dist/actions/fetch-subscription.d.cts +13 -13
- package/dist/actions/fetch-subscription.d.mts +13 -13
- package/dist/actions/fetch-subscription.mjs +13 -13
- package/dist/actions/fetch-subscription.mjs.map +1 -1
- package/dist/actions/fetch-transaction-timeline.cjs +4 -4
- package/dist/actions/fetch-transaction-timeline.cjs.map +1 -1
- package/dist/actions/fetch-transaction-timeline.d.cts +4 -4
- package/dist/actions/fetch-transaction-timeline.d.mts +4 -4
- package/dist/actions/fetch-transaction-timeline.mjs +4 -4
- package/dist/actions/fetch-transaction-timeline.mjs.map +1 -1
- package/dist/actions/fetch-transaction.cjs +16 -16
- package/dist/actions/fetch-transaction.cjs.map +1 -1
- package/dist/actions/fetch-transaction.d.cts +17 -17
- package/dist/actions/fetch-transaction.d.mts +17 -17
- package/dist/actions/fetch-transaction.mjs +16 -16
- package/dist/actions/fetch-transaction.mjs.map +1 -1
- package/dist/actions/fetch-transfer-recipient.cjs +3 -3
- package/dist/actions/fetch-transfer-recipient.cjs.map +1 -1
- package/dist/actions/fetch-transfer-recipient.d.cts +3 -3
- package/dist/actions/fetch-transfer-recipient.d.mts +3 -3
- package/dist/actions/fetch-transfer-recipient.mjs +3 -3
- package/dist/actions/fetch-transfer-recipient.mjs.map +1 -1
- package/dist/actions/fetch-virtual-terminal.cjs +4 -4
- package/dist/actions/fetch-virtual-terminal.cjs.map +1 -1
- package/dist/actions/fetch-virtual-terminal.d.cts +4 -4
- package/dist/actions/fetch-virtual-terminal.d.mts +4 -4
- package/dist/actions/fetch-virtual-terminal.mjs +4 -4
- package/dist/actions/fetch-virtual-terminal.mjs.map +1 -1
- package/dist/actions/finalize-payment-request.cjs +7 -7
- package/dist/actions/finalize-payment-request.cjs.map +1 -1
- package/dist/actions/finalize-payment-request.d.cts +7 -7
- package/dist/actions/finalize-payment-request.d.mts +7 -7
- package/dist/actions/finalize-payment-request.mjs +7 -7
- package/dist/actions/finalize-payment-request.mjs.map +1 -1
- package/dist/actions/generate-update-subscription-link.cjs +2 -2
- package/dist/actions/generate-update-subscription-link.cjs.map +1 -1
- package/dist/actions/generate-update-subscription-link.d.cts +2 -2
- package/dist/actions/generate-update-subscription-link.d.mts +2 -2
- package/dist/actions/generate-update-subscription-link.mjs +2 -2
- package/dist/actions/generate-update-subscription-link.mjs.map +1 -1
- package/dist/actions/get-payment-request-totals.cjs +3 -3
- package/dist/actions/get-payment-request-totals.cjs.map +1 -1
- package/dist/actions/get-payment-request-totals.d.cts +5 -5
- package/dist/actions/get-payment-request-totals.d.mts +5 -5
- package/dist/actions/get-payment-request-totals.mjs +3 -3
- package/dist/actions/get-payment-request-totals.mjs.map +1 -1
- package/dist/actions/get-transaction-totals.cjs +3 -3
- package/dist/actions/get-transaction-totals.cjs.map +1 -1
- package/dist/actions/get-transaction-totals.d.cts +4 -4
- package/dist/actions/get-transaction-totals.d.mts +4 -4
- package/dist/actions/get-transaction-totals.mjs +3 -3
- package/dist/actions/get-transaction-totals.mjs.map +1 -1
- package/dist/actions/initialize-authorization.cjs +2 -2
- package/dist/actions/initialize-authorization.cjs.map +1 -1
- package/dist/actions/initialize-authorization.d.cts +2 -2
- package/dist/actions/initialize-authorization.d.mts +2 -2
- package/dist/actions/initialize-authorization.mjs +2 -2
- package/dist/actions/initialize-authorization.mjs.map +1 -1
- package/dist/actions/initialize-transaction.cjs +3 -3
- package/dist/actions/initialize-transaction.cjs.map +1 -1
- package/dist/actions/initialize-transaction.d.cts +10 -9
- package/dist/actions/initialize-transaction.d.cts.map +1 -1
- package/dist/actions/initialize-transaction.d.mts +10 -9
- package/dist/actions/initialize-transaction.d.mts.map +1 -1
- package/dist/actions/initialize-transaction.mjs +3 -3
- package/dist/actions/initialize-transaction.mjs.map +1 -1
- package/dist/actions/initiate-bulk-charge.cjs +3 -3
- package/dist/actions/initiate-bulk-charge.cjs.map +1 -1
- package/dist/actions/initiate-bulk-charge.d.cts +4 -3
- package/dist/actions/initiate-bulk-charge.d.cts.map +1 -1
- package/dist/actions/initiate-bulk-charge.d.mts +4 -3
- package/dist/actions/initiate-bulk-charge.d.mts.map +1 -1
- package/dist/actions/initiate-bulk-charge.mjs +3 -3
- package/dist/actions/initiate-bulk-charge.mjs.map +1 -1
- package/dist/actions/list-banks.cjs +3 -3
- package/dist/actions/list-banks.cjs.map +1 -1
- package/dist/actions/list-banks.d.cts +5 -5
- package/dist/actions/list-banks.d.mts +5 -5
- package/dist/actions/list-banks.mjs +3 -3
- package/dist/actions/list-banks.mjs.map +1 -1
- package/dist/actions/list-bulk-charge-batches.cjs +4 -4
- package/dist/actions/list-bulk-charge-batches.cjs.map +1 -1
- package/dist/actions/list-bulk-charge-batches.d.cts +4 -4
- package/dist/actions/list-bulk-charge-batches.d.mts +4 -4
- package/dist/actions/list-bulk-charge-batches.mjs +4 -4
- package/dist/actions/list-bulk-charge-batches.mjs.map +1 -1
- package/dist/actions/list-charges-in-batch.cjs +8 -8
- package/dist/actions/list-charges-in-batch.cjs.map +1 -1
- package/dist/actions/list-charges-in-batch.d.cts +8 -8
- package/dist/actions/list-charges-in-batch.d.mts +8 -8
- package/dist/actions/list-charges-in-batch.mjs +8 -8
- package/dist/actions/list-charges-in-batch.mjs.map +1 -1
- package/dist/actions/list-countries.cjs +2 -2
- package/dist/actions/list-countries.cjs.map +1 -1
- package/dist/actions/list-countries.d.cts +2 -2
- package/dist/actions/list-countries.d.mts +2 -2
- package/dist/actions/list-countries.mjs +2 -2
- package/dist/actions/list-countries.mjs.map +1 -1
- package/dist/actions/list-customers.cjs +3 -3
- package/dist/actions/list-customers.cjs.map +1 -1
- package/dist/actions/list-customers.d.cts +3 -3
- package/dist/actions/list-customers.d.mts +3 -3
- package/dist/actions/list-customers.mjs +3 -3
- package/dist/actions/list-customers.mjs.map +1 -1
- package/dist/actions/list-disputes.cjs +18 -18
- package/dist/actions/list-disputes.cjs.map +1 -1
- package/dist/actions/list-disputes.d.cts +16 -16
- package/dist/actions/list-disputes.d.mts +16 -16
- package/dist/actions/list-disputes.mjs +18 -18
- package/dist/actions/list-disputes.mjs.map +1 -1
- package/dist/actions/list-domains.cjs +2 -2
- package/dist/actions/list-domains.cjs.map +1 -1
- package/dist/actions/list-domains.d.cts +2 -2
- package/dist/actions/list-domains.d.mts +2 -2
- package/dist/actions/list-domains.mjs +2 -2
- package/dist/actions/list-domains.mjs.map +1 -1
- package/dist/actions/list-mandate-authorizations.cjs +5 -5
- package/dist/actions/list-mandate-authorizations.cjs.map +1 -1
- package/dist/actions/list-mandate-authorizations.d.cts +5 -5
- package/dist/actions/list-mandate-authorizations.d.mts +5 -5
- package/dist/actions/list-mandate-authorizations.mjs +5 -5
- package/dist/actions/list-mandate-authorizations.mjs.map +1 -1
- package/dist/actions/list-orders.cjs +3 -3
- package/dist/actions/list-orders.cjs.map +1 -1
- package/dist/actions/list-orders.d.cts +3 -3
- package/dist/actions/list-orders.d.mts +3 -3
- package/dist/actions/list-orders.mjs +3 -3
- package/dist/actions/list-orders.mjs.map +1 -1
- package/dist/actions/list-payment-pages.cjs +3 -3
- package/dist/actions/list-payment-pages.cjs.map +1 -1
- package/dist/actions/list-payment-pages.d.cts +3 -3
- package/dist/actions/list-payment-pages.d.mts +3 -3
- package/dist/actions/list-payment-pages.mjs +3 -3
- package/dist/actions/list-payment-pages.mjs.map +1 -1
- package/dist/actions/list-payment-requests.cjs +8 -8
- package/dist/actions/list-payment-requests.cjs.map +1 -1
- package/dist/actions/list-payment-requests.d.cts +8 -8
- package/dist/actions/list-payment-requests.d.mts +8 -8
- package/dist/actions/list-payment-requests.mjs +8 -8
- package/dist/actions/list-payment-requests.mjs.map +1 -1
- package/dist/actions/list-plans.cjs +5 -5
- package/dist/actions/list-plans.cjs.map +1 -1
- package/dist/actions/list-plans.d.cts +5 -5
- package/dist/actions/list-plans.d.mts +5 -5
- package/dist/actions/list-plans.mjs +5 -5
- package/dist/actions/list-plans.mjs.map +1 -1
- package/dist/actions/list-products.cjs +8 -8
- package/dist/actions/list-products.cjs.map +1 -1
- package/dist/actions/list-products.d.cts +8 -8
- package/dist/actions/list-products.d.mts +8 -8
- package/dist/actions/list-products.mjs +8 -8
- package/dist/actions/list-products.mjs.map +1 -1
- package/dist/actions/list-refunds.cjs +8 -8
- package/dist/actions/list-refunds.cjs.map +1 -1
- package/dist/actions/list-refunds.d.cts +8 -8
- package/dist/actions/list-refunds.d.mts +8 -8
- package/dist/actions/list-refunds.mjs +8 -8
- package/dist/actions/list-refunds.mjs.map +1 -1
- package/dist/actions/list-settlements.cjs +3 -3
- package/dist/actions/list-settlements.cjs.map +1 -1
- package/dist/actions/list-settlements.d.cts +3 -3
- package/dist/actions/list-settlements.d.mts +3 -3
- package/dist/actions/list-settlements.mjs +3 -3
- package/dist/actions/list-settlements.mjs.map +1 -1
- package/dist/actions/list-splits.cjs +4 -4
- package/dist/actions/list-splits.cjs.map +1 -1
- package/dist/actions/list-splits.d.cts +4 -4
- package/dist/actions/list-splits.d.mts +4 -4
- package/dist/actions/list-splits.mjs +4 -4
- package/dist/actions/list-splits.mjs.map +1 -1
- package/dist/actions/list-states-avs.cjs +2 -2
- package/dist/actions/list-states-avs.cjs.map +1 -1
- package/dist/actions/list-states-avs.d.cts +2 -2
- package/dist/actions/list-states-avs.d.mts +2 -2
- package/dist/actions/list-states-avs.mjs +2 -2
- package/dist/actions/list-states-avs.mjs.map +1 -1
- package/dist/actions/list-storefront-products.cjs +8 -8
- package/dist/actions/list-storefront-products.cjs.map +1 -1
- package/dist/actions/list-storefront-products.d.cts +8 -8
- package/dist/actions/list-storefront-products.d.mts +8 -8
- package/dist/actions/list-storefront-products.mjs +8 -8
- package/dist/actions/list-storefront-products.mjs.map +1 -1
- package/dist/actions/list-storefronts.cjs +8 -8
- package/dist/actions/list-storefronts.cjs.map +1 -1
- package/dist/actions/list-storefronts.d.cts +8 -8
- package/dist/actions/list-storefronts.d.mts +8 -8
- package/dist/actions/list-storefronts.mjs +8 -8
- package/dist/actions/list-storefronts.mjs.map +1 -1
- package/dist/actions/list-subaccounts.cjs +3 -3
- package/dist/actions/list-subaccounts.cjs.map +1 -1
- package/dist/actions/list-subaccounts.d.cts +3 -3
- package/dist/actions/list-subaccounts.d.mts +3 -3
- package/dist/actions/list-subaccounts.mjs +3 -3
- package/dist/actions/list-subaccounts.mjs.map +1 -1
- package/dist/actions/list-subscriptions.cjs +12 -12
- package/dist/actions/list-subscriptions.cjs.map +1 -1
- package/dist/actions/list-subscriptions.d.cts +12 -12
- package/dist/actions/list-subscriptions.d.mts +12 -12
- package/dist/actions/list-subscriptions.mjs +12 -12
- package/dist/actions/list-subscriptions.mjs.map +1 -1
- package/dist/actions/list-transactions.cjs +17 -17
- package/dist/actions/list-transactions.cjs.map +1 -1
- package/dist/actions/list-transactions.d.cts +17 -17
- package/dist/actions/list-transactions.d.mts +17 -17
- package/dist/actions/list-transactions.mjs +17 -17
- package/dist/actions/list-transactions.mjs.map +1 -1
- package/dist/actions/list-transfer-recipients.cjs +3 -3
- package/dist/actions/list-transfer-recipients.cjs.map +1 -1
- package/dist/actions/list-transfer-recipients.d.cts +3 -3
- package/dist/actions/list-transfer-recipients.d.mts +3 -3
- package/dist/actions/list-transfer-recipients.mjs +3 -3
- package/dist/actions/list-transfer-recipients.mjs.map +1 -1
- package/dist/actions/list-transfers.cjs +4 -4
- package/dist/actions/list-transfers.cjs.map +1 -1
- package/dist/actions/list-transfers.d.cts +4 -4
- package/dist/actions/list-transfers.d.mts +4 -4
- package/dist/actions/list-transfers.mjs +4 -4
- package/dist/actions/list-transfers.mjs.map +1 -1
- package/dist/actions/list-virtual-terminals.cjs +4 -4
- package/dist/actions/list-virtual-terminals.cjs.map +1 -1
- package/dist/actions/list-virtual-terminals.d.cts +4 -4
- package/dist/actions/list-virtual-terminals.d.mts +4 -4
- package/dist/actions/list-virtual-terminals.mjs +4 -4
- package/dist/actions/list-virtual-terminals.mjs.map +1 -1
- package/dist/actions/pause-bulk-charge.cjs +1 -1
- package/dist/actions/pause-bulk-charge.cjs.map +1 -1
- package/dist/actions/pause-bulk-charge.d.cts +1 -1
- package/dist/actions/pause-bulk-charge.d.mts +1 -1
- package/dist/actions/pause-bulk-charge.mjs +1 -1
- package/dist/actions/pause-bulk-charge.mjs.map +1 -1
- package/dist/actions/publish-storefront.cjs +2 -2
- package/dist/actions/publish-storefront.cjs.map +1 -1
- package/dist/actions/publish-storefront.d.cts +2 -2
- package/dist/actions/publish-storefront.d.mts +2 -2
- package/dist/actions/publish-storefront.mjs +2 -2
- package/dist/actions/publish-storefront.mjs.map +1 -1
- package/dist/actions/remove-subaccount-from-split.cjs +1 -1
- package/dist/actions/remove-subaccount-from-split.cjs.map +1 -1
- package/dist/actions/remove-subaccount-from-split.d.cts +1 -1
- package/dist/actions/remove-subaccount-from-split.d.mts +1 -1
- package/dist/actions/remove-subaccount-from-split.mjs +1 -1
- package/dist/actions/remove-subaccount-from-split.mjs.map +1 -1
- package/dist/actions/resend-otp-for-transfer.cjs +1 -1
- package/dist/actions/resend-otp-for-transfer.cjs.map +1 -1
- package/dist/actions/resend-otp-for-transfer.d.cts +1 -1
- package/dist/actions/resend-otp-for-transfer.d.mts +1 -1
- package/dist/actions/resend-otp-for-transfer.mjs +1 -1
- package/dist/actions/resend-otp-for-transfer.mjs.map +1 -1
- package/dist/actions/resolve-card-bin.cjs +2 -2
- package/dist/actions/resolve-card-bin.cjs.map +1 -1
- package/dist/actions/resolve-card-bin.d.cts +2 -2
- package/dist/actions/resolve-card-bin.d.mts +2 -2
- package/dist/actions/resolve-card-bin.mjs +2 -2
- package/dist/actions/resolve-card-bin.mjs.map +1 -1
- package/dist/actions/resume-bulk-charge-batch.cjs +1 -1
- package/dist/actions/resume-bulk-charge-batch.cjs.map +1 -1
- package/dist/actions/resume-bulk-charge-batch.d.cts +1 -1
- package/dist/actions/resume-bulk-charge-batch.d.mts +1 -1
- package/dist/actions/resume-bulk-charge-batch.mjs +1 -1
- package/dist/actions/resume-bulk-charge-batch.mjs.map +1 -1
- package/dist/actions/send-payment-request-notification.cjs +1 -1
- package/dist/actions/send-payment-request-notification.cjs.map +1 -1
- package/dist/actions/send-payment-request-notification.d.cts +1 -1
- package/dist/actions/send-payment-request-notification.d.mts +1 -1
- package/dist/actions/send-payment-request-notification.mjs +1 -1
- package/dist/actions/send-payment-request-notification.mjs.map +1 -1
- package/dist/actions/send-subscription-update-link.cjs +2 -2
- package/dist/actions/send-subscription-update-link.cjs.map +1 -1
- package/dist/actions/send-subscription-update-link.d.cts +2 -2
- package/dist/actions/send-subscription-update-link.d.mts +2 -2
- package/dist/actions/send-subscription-update-link.mjs +2 -2
- package/dist/actions/send-subscription-update-link.mjs.map +1 -1
- package/dist/actions/set-risk-action.cjs +5 -5
- package/dist/actions/set-risk-action.cjs.map +1 -1
- package/dist/actions/set-risk-action.d.cts +5 -5
- package/dist/actions/set-risk-action.d.mts +5 -5
- package/dist/actions/set-risk-action.mjs +5 -5
- package/dist/actions/set-risk-action.mjs.map +1 -1
- package/dist/actions/submit-phone.cjs +5 -5
- package/dist/actions/submit-phone.cjs.map +1 -1
- package/dist/actions/submit-phone.d.cts +5 -5
- package/dist/actions/submit-phone.d.mts +5 -5
- package/dist/actions/submit-phone.mjs +5 -5
- package/dist/actions/submit-phone.mjs.map +1 -1
- package/dist/actions/trigger-direct-debit-activation-charge.cjs +1 -1
- package/dist/actions/trigger-direct-debit-activation-charge.cjs.map +1 -1
- package/dist/actions/trigger-direct-debit-activation-charge.d.cts +1 -1
- package/dist/actions/trigger-direct-debit-activation-charge.d.mts +1 -1
- package/dist/actions/trigger-direct-debit-activation-charge.mjs +1 -1
- package/dist/actions/trigger-direct-debit-activation-charge.mjs.map +1 -1
- package/dist/actions/unassign-destination-from-virtual-terminal.cjs +1 -1
- package/dist/actions/unassign-destination-from-virtual-terminal.cjs.map +1 -1
- package/dist/actions/unassign-destination-from-virtual-terminal.d.cts +1 -1
- package/dist/actions/unassign-destination-from-virtual-terminal.d.mts +1 -1
- package/dist/actions/unassign-destination-from-virtual-terminal.mjs +1 -1
- package/dist/actions/unassign-destination-from-virtual-terminal.mjs.map +1 -1
- package/dist/actions/unregister-apple-pay-domain.cjs +2 -2
- package/dist/actions/unregister-apple-pay-domain.cjs.map +1 -1
- package/dist/actions/unregister-apple-pay-domain.d.cts +2 -2
- package/dist/actions/unregister-apple-pay-domain.d.mts +2 -2
- package/dist/actions/unregister-apple-pay-domain.mjs +2 -2
- package/dist/actions/unregister-apple-pay-domain.mjs.map +1 -1
- package/dist/actions/update-customer.cjs +4 -4
- package/dist/actions/update-customer.cjs.map +1 -1
- package/dist/actions/update-customer.d.cts +4 -4
- package/dist/actions/update-customer.d.mts +4 -4
- package/dist/actions/update-customer.mjs +4 -4
- package/dist/actions/update-customer.mjs.map +1 -1
- package/dist/actions/update-payment-page.cjs +2 -2
- package/dist/actions/update-payment-page.cjs.map +1 -1
- package/dist/actions/update-payment-page.d.cts +2 -2
- package/dist/actions/update-payment-page.d.mts +2 -2
- package/dist/actions/update-payment-page.mjs +2 -2
- package/dist/actions/update-payment-page.mjs.map +1 -1
- package/dist/actions/update-payment-request.cjs +5 -5
- package/dist/actions/update-payment-request.cjs.map +1 -1
- package/dist/actions/update-payment-request.d.cts +7 -5
- package/dist/actions/update-payment-request.d.mts +7 -5
- package/dist/actions/update-payment-request.mjs +5 -5
- package/dist/actions/update-payment-request.mjs.map +1 -1
- package/dist/actions/update-payment-session-timeout.cjs +2 -2
- package/dist/actions/update-payment-session-timeout.cjs.map +1 -1
- package/dist/actions/update-payment-session-timeout.d.cts +2 -2
- package/dist/actions/update-payment-session-timeout.d.mts +2 -2
- package/dist/actions/update-payment-session-timeout.mjs +2 -2
- package/dist/actions/update-payment-session-timeout.mjs.map +1 -1
- package/dist/actions/update-plan.cjs +1 -1
- package/dist/actions/update-plan.cjs.map +1 -1
- package/dist/actions/update-plan.d.cts +1 -1
- package/dist/actions/update-plan.d.mts +1 -1
- package/dist/actions/update-plan.mjs +1 -1
- package/dist/actions/update-plan.mjs.map +1 -1
- package/dist/actions/update-product.cjs +8 -8
- package/dist/actions/update-product.cjs.map +1 -1
- package/dist/actions/update-product.d.cts +9 -9
- package/dist/actions/update-product.d.mts +9 -9
- package/dist/actions/update-product.mjs +8 -8
- package/dist/actions/update-product.mjs.map +1 -1
- package/dist/actions/update-split.cjs +3 -3
- package/dist/actions/update-split.cjs.map +1 -1
- package/dist/actions/update-split.d.cts +3 -3
- package/dist/actions/update-split.d.mts +3 -3
- package/dist/actions/update-split.mjs +3 -3
- package/dist/actions/update-split.mjs.map +1 -1
- package/dist/actions/update-storefront.cjs +1 -1
- package/dist/actions/update-storefront.cjs.map +1 -1
- package/dist/actions/update-storefront.d.cts +1 -1
- package/dist/actions/update-storefront.d.mts +1 -1
- package/dist/actions/update-storefront.mjs +1 -1
- package/dist/actions/update-storefront.mjs.map +1 -1
- package/dist/actions/update-subaccount.cjs +2 -2
- package/dist/actions/update-subaccount.cjs.map +1 -1
- package/dist/actions/update-subaccount.d.cts +2 -2
- package/dist/actions/update-subaccount.d.mts +2 -2
- package/dist/actions/update-subaccount.mjs +2 -2
- package/dist/actions/update-subaccount.mjs.map +1 -1
- package/dist/actions/update-transfer-recipient.cjs +3 -3
- package/dist/actions/update-transfer-recipient.cjs.map +1 -1
- package/dist/actions/update-transfer-recipient.d.cts +3 -3
- package/dist/actions/update-transfer-recipient.d.mts +3 -3
- package/dist/actions/update-transfer-recipient.mjs +3 -3
- package/dist/actions/update-transfer-recipient.mjs.map +1 -1
- package/dist/actions/validate-bank-account.cjs +2 -2
- package/dist/actions/validate-bank-account.cjs.map +1 -1
- package/dist/actions/validate-bank-account.d.cts +2 -2
- package/dist/actions/validate-bank-account.d.mts +2 -2
- package/dist/actions/validate-bank-account.mjs +2 -2
- package/dist/actions/validate-bank-account.mjs.map +1 -1
- package/dist/actions/validate-customer.cjs +1 -1
- package/dist/actions/validate-customer.cjs.map +1 -1
- package/dist/actions/validate-customer.d.cts +1 -1
- package/dist/actions/validate-customer.d.mts +1 -1
- package/dist/actions/validate-customer.mjs +1 -1
- package/dist/actions/validate-customer.mjs.map +1 -1
- package/dist/actions/validate-order.cjs +13 -13
- package/dist/actions/validate-order.cjs.map +1 -1
- package/dist/actions/validate-order.d.cts +13 -13
- package/dist/actions/validate-order.d.mts +13 -13
- package/dist/actions/validate-order.mjs +13 -13
- package/dist/actions/validate-order.mjs.map +1 -1
- package/dist/actions/verify-payment-request.cjs +10 -10
- package/dist/actions/verify-payment-request.cjs.map +1 -1
- package/dist/actions/verify-payment-request.d.cts +10 -10
- package/dist/actions/verify-payment-request.d.mts +10 -10
- package/dist/actions/verify-payment-request.mjs +10 -10
- package/dist/actions/verify-payment-request.mjs.map +1 -1
- package/dist/actions/verify-storefront-slug.cjs +1 -1
- package/dist/actions/verify-storefront-slug.cjs.map +1 -1
- package/dist/actions/verify-storefront-slug.d.cts +1 -1
- package/dist/actions/verify-storefront-slug.d.mts +1 -1
- package/dist/actions/verify-storefront-slug.mjs +1 -1
- package/dist/actions/verify-storefront-slug.mjs.map +1 -1
- package/dist/actions/verify-transaction.cjs +17 -17
- package/dist/actions/verify-transaction.cjs.map +1 -1
- package/dist/actions/verify-transaction.d.cts +17 -17
- package/dist/actions/verify-transaction.d.mts +17 -17
- package/dist/actions/verify-transaction.mjs +17 -17
- package/dist/actions/verify-transaction.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -19,29 +19,29 @@ const PaystackCreateStorefront_StorefrontDataSchema = zod.z.object({
|
|
|
19
19
|
slug: zod.z.string().describe("Unique slug to access the storefront").nullable(),
|
|
20
20
|
domain: zod.z.string().describe("Domain where the storefront is accessible").nullable(),
|
|
21
21
|
status: zod.z.string().describe("Status of the storefront").nullable(),
|
|
22
|
-
contacts: zod.z.array(zod.z.
|
|
22
|
+
contacts: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Contact information"),
|
|
23
23
|
currency: zod.z.string().describe("Currency for product prices").nullable(),
|
|
24
|
-
metadata: zod.z.
|
|
25
|
-
products: zod.z.array(zod.z.
|
|
24
|
+
metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional metadata for the storefront").nullable().optional(),
|
|
25
|
+
products: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Products in the storefront"),
|
|
26
26
|
createdAt: zod.z.string().describe("Timestamp when the storefront was created").nullable(),
|
|
27
27
|
shippable: zod.z.boolean().describe("Whether the storefront supports shipping").nullable(),
|
|
28
28
|
updatedAt: zod.z.string().describe("Timestamp when the storefront was last updated").nullable(),
|
|
29
29
|
description: zod.z.string().describe("Description of the storefront").nullable().optional(),
|
|
30
30
|
integration: zod.z.number().int().describe("Integration ID").nullable(),
|
|
31
31
|
redirect_url: zod.z.string().describe("URL to redirect after successful purchase").nullable().optional(),
|
|
32
|
-
social_media: zod.z.array(zod.z.
|
|
32
|
+
social_media: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Social media links"),
|
|
33
33
|
delivery_note: zod.z.string().describe("Delivery note for the storefront").nullable(),
|
|
34
|
-
shipping_fees: zod.z.array(zod.z.
|
|
34
|
+
shipping_fees: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Shipping fee configurations"),
|
|
35
35
|
success_message: zod.z.string().describe("Success message after purchase").nullable().optional(),
|
|
36
36
|
welcome_message: zod.z.string().describe("Welcome message for the storefront").nullable().optional(),
|
|
37
37
|
background_color: zod.z.string().describe("Background color of the storefront").nullable(),
|
|
38
38
|
digital_product_expiry: zod.z.number().int().describe("Expiry time for digital products in seconds").nullable().optional()
|
|
39
|
-
}).describe("Storefront data returned from the API.");
|
|
39
|
+
}).passthrough().describe("Storefront data returned from the API.");
|
|
40
40
|
const PaystackCreateStorefrontOutput = zod.z.object({
|
|
41
41
|
data: PaystackCreateStorefront_StorefrontDataSchema.nullable(),
|
|
42
42
|
status: zod.z.boolean().describe("Indicates if the request was successful").nullable(),
|
|
43
43
|
message: zod.z.string().describe("Response message from the API").nullable()
|
|
44
|
-
}).describe("Response containing the created storefront details.");
|
|
44
|
+
}).passthrough().describe("Response containing the created storefront details.");
|
|
45
45
|
const paystackCreateStorefront = require_action.action("PAYSTACK_CREATE_STOREFRONT", {
|
|
46
46
|
slug: "paystack-create-storefront",
|
|
47
47
|
name: "Create Storefront",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-storefront.cjs","names":["z","action"],"sources":["../../src/actions/create-storefront.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackCreateStorefrontInput = z.object({\n name: z.string().describe(\"Name of the storefront\"),\n slug: z.string().describe(\"A unique identifier to access your store. Once the storefront is created, it can be accessed from https://paystack.shop/your-slug\"),\n currency: z.enum([\"GHS\", \"KES\", \"NGN\", \"USD\", \"ZAR\"]).describe(\"Currency for prices of products in your storefront. Must be one of: GHS, KES, NGN, USD, ZAR\"),\n description: z.string().describe(\"The description of the storefront\").optional(),\n}).describe(\"Request to create a new storefront.\");\nconst PaystackCreateStorefront_StorefrontDataSchema = z.object({\n id: z.string().describe(\"Unique storefront identifier\").nullable(),\n name: z.string().describe(\"Name of the storefront\").nullable(),\n slug: z.string().describe(\"Unique slug to access the storefront\").nullable(),\n domain: z.string().describe(\"Domain where the storefront is accessible\").nullable(),\n status: z.string().describe(\"Status of the storefront\").nullable(),\n contacts: z.array(z.
|
|
1
|
+
{"version":3,"file":"create-storefront.cjs","names":["z","action"],"sources":["../../src/actions/create-storefront.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackCreateStorefrontInput = z.object({\n name: z.string().describe(\"Name of the storefront\"),\n slug: z.string().describe(\"A unique identifier to access your store. Once the storefront is created, it can be accessed from https://paystack.shop/your-slug\"),\n currency: z.enum([\"GHS\", \"KES\", \"NGN\", \"USD\", \"ZAR\"]).describe(\"Currency for prices of products in your storefront. Must be one of: GHS, KES, NGN, USD, ZAR\"),\n description: z.string().describe(\"The description of the storefront\").optional(),\n}).describe(\"Request to create a new storefront.\");\nconst PaystackCreateStorefront_StorefrontDataSchema = z.object({\n id: z.string().describe(\"Unique storefront identifier\").nullable(),\n name: z.string().describe(\"Name of the storefront\").nullable(),\n slug: z.string().describe(\"Unique slug to access the storefront\").nullable(),\n domain: z.string().describe(\"Domain where the storefront is accessible\").nullable(),\n status: z.string().describe(\"Status of the storefront\").nullable(),\n contacts: z.array(z.record(z.string(), z.unknown())).describe(\"Contact information\"),\n currency: z.string().describe(\"Currency for product prices\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata for the storefront\").nullable().optional(),\n products: z.array(z.record(z.string(), z.unknown())).describe(\"Products in the storefront\"),\n createdAt: z.string().describe(\"Timestamp when the storefront was created\").nullable(),\n shippable: z.boolean().describe(\"Whether the storefront supports shipping\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the storefront was last updated\").nullable(),\n description: z.string().describe(\"Description of the storefront\").nullable().optional(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n redirect_url: z.string().describe(\"URL to redirect after successful purchase\").nullable().optional(),\n social_media: z.array(z.record(z.string(), z.unknown())).describe(\"Social media links\"),\n delivery_note: z.string().describe(\"Delivery note for the storefront\").nullable(),\n shipping_fees: z.array(z.record(z.string(), z.unknown())).describe(\"Shipping fee configurations\"),\n success_message: z.string().describe(\"Success message after purchase\").nullable().optional(),\n welcome_message: z.string().describe(\"Welcome message for the storefront\").nullable().optional(),\n background_color: z.string().describe(\"Background color of the storefront\").nullable(),\n digital_product_expiry: z.number().int().describe(\"Expiry time for digital products in seconds\").nullable().optional(),\n}).passthrough().describe(\"Storefront data returned from the API.\");\nexport const PaystackCreateStorefrontOutput = z.object({\n data: PaystackCreateStorefront_StorefrontDataSchema.nullable(),\n status: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n message: z.string().describe(\"Response message from the API\").nullable(),\n}).passthrough().describe(\"Response containing the created storefront details.\");\n\nexport const paystackCreateStorefront = action(\"PAYSTACK_CREATE_STOREFRONT\", {\n slug: \"paystack-create-storefront\",\n name: \"Create Storefront\",\n description: \"Create a digital storefront on Paystack to manage and display products. Use this when you need to set up a new online shop for selling digital or physical products.\",\n input: PaystackCreateStorefrontInput,\n output: PaystackCreateStorefrontOutput,\n});\n"],"mappings":";;;AAIA,MAA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AAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAM,8CAA8C,SAAS;CAC7D,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -8,8 +8,8 @@ declare const PaystackCreateStorefrontInput: z.ZodObject<{
|
|
|
8
8
|
NGN: "NGN";
|
|
9
9
|
GHS: "GHS";
|
|
10
10
|
ZAR: "ZAR";
|
|
11
|
-
KES: "KES";
|
|
12
11
|
USD: "USD";
|
|
12
|
+
KES: "KES";
|
|
13
13
|
}>;
|
|
14
14
|
description: z.ZodOptional<z.ZodString>;
|
|
15
15
|
}, z.core.$strip>;
|
|
@@ -20,31 +20,31 @@ declare const PaystackCreateStorefrontOutput: z.ZodObject<{
|
|
|
20
20
|
slug: z.ZodNullable<z.ZodString>;
|
|
21
21
|
domain: z.ZodNullable<z.ZodString>;
|
|
22
22
|
status: z.ZodNullable<z.ZodString>;
|
|
23
|
-
contacts: z.ZodArray<z.
|
|
23
|
+
contacts: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
24
24
|
currency: z.ZodNullable<z.ZodString>;
|
|
25
|
-
metadata: z.ZodOptional<z.ZodNullable<z.
|
|
26
|
-
products: z.ZodArray<z.
|
|
25
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
26
|
+
products: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
27
27
|
createdAt: z.ZodNullable<z.ZodString>;
|
|
28
28
|
shippable: z.ZodNullable<z.ZodBoolean>;
|
|
29
29
|
updatedAt: z.ZodNullable<z.ZodString>;
|
|
30
30
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
integration: z.ZodNullable<z.ZodNumber>;
|
|
32
32
|
redirect_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
-
social_media: z.ZodArray<z.
|
|
33
|
+
social_media: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
34
34
|
delivery_note: z.ZodNullable<z.ZodString>;
|
|
35
|
-
shipping_fees: z.ZodArray<z.
|
|
35
|
+
shipping_fees: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
36
36
|
success_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
37
|
welcome_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
38
|
background_color: z.ZodNullable<z.ZodString>;
|
|
39
39
|
digital_product_expiry: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
40
|
-
}, z.core.$
|
|
40
|
+
}, z.core.$loose>>;
|
|
41
41
|
status: z.ZodNullable<z.ZodBoolean>;
|
|
42
42
|
message: z.ZodNullable<z.ZodString>;
|
|
43
|
-
}, z.core.$
|
|
43
|
+
}, z.core.$loose>;
|
|
44
44
|
declare const paystackCreateStorefront: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
45
45
|
name: string;
|
|
46
46
|
slug: string;
|
|
47
|
-
currency: "NGN" | "GHS" | "ZAR" | "
|
|
47
|
+
currency: "NGN" | "GHS" | "ZAR" | "USD" | "KES";
|
|
48
48
|
description?: string | undefined;
|
|
49
49
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
50
50
|
//#endregion
|
|
@@ -8,8 +8,8 @@ declare const PaystackCreateStorefrontInput: z.ZodObject<{
|
|
|
8
8
|
NGN: "NGN";
|
|
9
9
|
GHS: "GHS";
|
|
10
10
|
ZAR: "ZAR";
|
|
11
|
-
KES: "KES";
|
|
12
11
|
USD: "USD";
|
|
12
|
+
KES: "KES";
|
|
13
13
|
}>;
|
|
14
14
|
description: z.ZodOptional<z.ZodString>;
|
|
15
15
|
}, z.core.$strip>;
|
|
@@ -20,31 +20,31 @@ declare const PaystackCreateStorefrontOutput: z.ZodObject<{
|
|
|
20
20
|
slug: z.ZodNullable<z.ZodString>;
|
|
21
21
|
domain: z.ZodNullable<z.ZodString>;
|
|
22
22
|
status: z.ZodNullable<z.ZodString>;
|
|
23
|
-
contacts: z.ZodArray<z.
|
|
23
|
+
contacts: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
24
24
|
currency: z.ZodNullable<z.ZodString>;
|
|
25
|
-
metadata: z.ZodOptional<z.ZodNullable<z.
|
|
26
|
-
products: z.ZodArray<z.
|
|
25
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
26
|
+
products: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
27
27
|
createdAt: z.ZodNullable<z.ZodString>;
|
|
28
28
|
shippable: z.ZodNullable<z.ZodBoolean>;
|
|
29
29
|
updatedAt: z.ZodNullable<z.ZodString>;
|
|
30
30
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
integration: z.ZodNullable<z.ZodNumber>;
|
|
32
32
|
redirect_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
-
social_media: z.ZodArray<z.
|
|
33
|
+
social_media: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
34
34
|
delivery_note: z.ZodNullable<z.ZodString>;
|
|
35
|
-
shipping_fees: z.ZodArray<z.
|
|
35
|
+
shipping_fees: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
36
36
|
success_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
37
|
welcome_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
38
|
background_color: z.ZodNullable<z.ZodString>;
|
|
39
39
|
digital_product_expiry: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
40
|
-
}, z.core.$
|
|
40
|
+
}, z.core.$loose>>;
|
|
41
41
|
status: z.ZodNullable<z.ZodBoolean>;
|
|
42
42
|
message: z.ZodNullable<z.ZodString>;
|
|
43
|
-
}, z.core.$
|
|
43
|
+
}, z.core.$loose>;
|
|
44
44
|
declare const paystackCreateStorefront: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
45
45
|
name: string;
|
|
46
46
|
slug: string;
|
|
47
|
-
currency: "NGN" | "GHS" | "ZAR" | "
|
|
47
|
+
currency: "NGN" | "GHS" | "ZAR" | "USD" | "KES";
|
|
48
48
|
description?: string | undefined;
|
|
49
49
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
50
50
|
//#endregion
|
|
@@ -19,24 +19,24 @@ const PaystackCreateStorefront_StorefrontDataSchema = z.object({
|
|
|
19
19
|
slug: z.string().describe("Unique slug to access the storefront").nullable(),
|
|
20
20
|
domain: z.string().describe("Domain where the storefront is accessible").nullable(),
|
|
21
21
|
status: z.string().describe("Status of the storefront").nullable(),
|
|
22
|
-
contacts: z.array(z.
|
|
22
|
+
contacts: z.array(z.record(z.string(), z.unknown())).describe("Contact information"),
|
|
23
23
|
currency: z.string().describe("Currency for product prices").nullable(),
|
|
24
|
-
metadata: z.
|
|
25
|
-
products: z.array(z.
|
|
24
|
+
metadata: z.record(z.string(), z.unknown()).describe("Additional metadata for the storefront").nullable().optional(),
|
|
25
|
+
products: z.array(z.record(z.string(), z.unknown())).describe("Products in the storefront"),
|
|
26
26
|
createdAt: z.string().describe("Timestamp when the storefront was created").nullable(),
|
|
27
27
|
shippable: z.boolean().describe("Whether the storefront supports shipping").nullable(),
|
|
28
28
|
updatedAt: z.string().describe("Timestamp when the storefront was last updated").nullable(),
|
|
29
29
|
description: z.string().describe("Description of the storefront").nullable().optional(),
|
|
30
30
|
integration: z.number().int().describe("Integration ID").nullable(),
|
|
31
31
|
redirect_url: z.string().describe("URL to redirect after successful purchase").nullable().optional(),
|
|
32
|
-
social_media: z.array(z.
|
|
32
|
+
social_media: z.array(z.record(z.string(), z.unknown())).describe("Social media links"),
|
|
33
33
|
delivery_note: z.string().describe("Delivery note for the storefront").nullable(),
|
|
34
|
-
shipping_fees: z.array(z.
|
|
34
|
+
shipping_fees: z.array(z.record(z.string(), z.unknown())).describe("Shipping fee configurations"),
|
|
35
35
|
success_message: z.string().describe("Success message after purchase").nullable().optional(),
|
|
36
36
|
welcome_message: z.string().describe("Welcome message for the storefront").nullable().optional(),
|
|
37
37
|
background_color: z.string().describe("Background color of the storefront").nullable(),
|
|
38
38
|
digital_product_expiry: z.number().int().describe("Expiry time for digital products in seconds").nullable().optional()
|
|
39
|
-
}).describe("Storefront data returned from the API.");
|
|
39
|
+
}).passthrough().describe("Storefront data returned from the API.");
|
|
40
40
|
const paystackCreateStorefront = action("PAYSTACK_CREATE_STOREFRONT", {
|
|
41
41
|
slug: "paystack-create-storefront",
|
|
42
42
|
name: "Create Storefront",
|
|
@@ -46,7 +46,7 @@ const paystackCreateStorefront = action("PAYSTACK_CREATE_STOREFRONT", {
|
|
|
46
46
|
data: PaystackCreateStorefront_StorefrontDataSchema.nullable(),
|
|
47
47
|
status: z.boolean().describe("Indicates if the request was successful").nullable(),
|
|
48
48
|
message: z.string().describe("Response message from the API").nullable()
|
|
49
|
-
}).describe("Response containing the created storefront details.")
|
|
49
|
+
}).passthrough().describe("Response containing the created storefront details.")
|
|
50
50
|
});
|
|
51
51
|
//#endregion
|
|
52
52
|
export { paystackCreateStorefront };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-storefront.mjs","names":[],"sources":["../../src/actions/create-storefront.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackCreateStorefrontInput = z.object({\n name: z.string().describe(\"Name of the storefront\"),\n slug: z.string().describe(\"A unique identifier to access your store. Once the storefront is created, it can be accessed from https://paystack.shop/your-slug\"),\n currency: z.enum([\"GHS\", \"KES\", \"NGN\", \"USD\", \"ZAR\"]).describe(\"Currency for prices of products in your storefront. Must be one of: GHS, KES, NGN, USD, ZAR\"),\n description: z.string().describe(\"The description of the storefront\").optional(),\n}).describe(\"Request to create a new storefront.\");\nconst PaystackCreateStorefront_StorefrontDataSchema = z.object({\n id: z.string().describe(\"Unique storefront identifier\").nullable(),\n name: z.string().describe(\"Name of the storefront\").nullable(),\n slug: z.string().describe(\"Unique slug to access the storefront\").nullable(),\n domain: z.string().describe(\"Domain where the storefront is accessible\").nullable(),\n status: z.string().describe(\"Status of the storefront\").nullable(),\n contacts: z.array(z.
|
|
1
|
+
{"version":3,"file":"create-storefront.mjs","names":[],"sources":["../../src/actions/create-storefront.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackCreateStorefrontInput = z.object({\n name: z.string().describe(\"Name of the storefront\"),\n slug: z.string().describe(\"A unique identifier to access your store. Once the storefront is created, it can be accessed from https://paystack.shop/your-slug\"),\n currency: z.enum([\"GHS\", \"KES\", \"NGN\", \"USD\", \"ZAR\"]).describe(\"Currency for prices of products in your storefront. Must be one of: GHS, KES, NGN, USD, ZAR\"),\n description: z.string().describe(\"The description of the storefront\").optional(),\n}).describe(\"Request to create a new storefront.\");\nconst PaystackCreateStorefront_StorefrontDataSchema = z.object({\n id: z.string().describe(\"Unique storefront identifier\").nullable(),\n name: z.string().describe(\"Name of the storefront\").nullable(),\n slug: z.string().describe(\"Unique slug to access the storefront\").nullable(),\n domain: z.string().describe(\"Domain where the storefront is accessible\").nullable(),\n status: z.string().describe(\"Status of the storefront\").nullable(),\n contacts: z.array(z.record(z.string(), z.unknown())).describe(\"Contact information\"),\n currency: z.string().describe(\"Currency for product prices\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata for the storefront\").nullable().optional(),\n products: z.array(z.record(z.string(), z.unknown())).describe(\"Products in the storefront\"),\n createdAt: z.string().describe(\"Timestamp when the storefront was created\").nullable(),\n shippable: z.boolean().describe(\"Whether the storefront supports shipping\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the storefront was last updated\").nullable(),\n description: z.string().describe(\"Description of the storefront\").nullable().optional(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n redirect_url: z.string().describe(\"URL to redirect after successful purchase\").nullable().optional(),\n social_media: z.array(z.record(z.string(), z.unknown())).describe(\"Social media links\"),\n delivery_note: z.string().describe(\"Delivery note for the storefront\").nullable(),\n shipping_fees: z.array(z.record(z.string(), z.unknown())).describe(\"Shipping fee configurations\"),\n success_message: z.string().describe(\"Success message after purchase\").nullable().optional(),\n welcome_message: z.string().describe(\"Welcome message for the storefront\").nullable().optional(),\n background_color: z.string().describe(\"Background color of the storefront\").nullable(),\n digital_product_expiry: z.number().int().describe(\"Expiry time for digital products in seconds\").nullable().optional(),\n}).passthrough().describe(\"Storefront data returned from the API.\");\nexport const PaystackCreateStorefrontOutput = z.object({\n data: PaystackCreateStorefront_StorefrontDataSchema.nullable(),\n status: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n message: z.string().describe(\"Response message from the API\").nullable(),\n}).passthrough().describe(\"Response containing the created storefront details.\");\n\nexport const paystackCreateStorefront = action(\"PAYSTACK_CREATE_STOREFRONT\", {\n slug: \"paystack-create-storefront\",\n name: \"Create Storefront\",\n description: \"Create a digital storefront on Paystack to manage and display products. Use this when you need to set up a new online shop for selling digital or physical products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D,MAAM,8CAA8C,SAAS;EAC7D,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACjF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
|
|
@@ -37,12 +37,12 @@ const PaystackCreateSubaccount_SubaccountDataSchema = zod.z.object({
|
|
|
37
37
|
primary_contact_email: zod.z.string().describe("Contact email for the subaccount").nullable().optional(),
|
|
38
38
|
primary_contact_phone: zod.z.string().describe("Contact phone for the subaccount").nullable().optional(),
|
|
39
39
|
managed_by_integration: zod.z.number().int().describe("Managed by integration ID").nullable()
|
|
40
|
-
});
|
|
40
|
+
}).passthrough();
|
|
41
41
|
const PaystackCreateSubaccountOutput = zod.z.object({
|
|
42
42
|
data: PaystackCreateSubaccount_SubaccountDataSchema.nullable(),
|
|
43
43
|
status: zod.z.boolean().describe("Request status").nullable(),
|
|
44
44
|
message: zod.z.string().describe("Response message").nullable()
|
|
45
|
-
});
|
|
45
|
+
}).passthrough();
|
|
46
46
|
const paystackCreateSubaccount = require_action.action("PAYSTACK_CREATE_SUBACCOUNT", {
|
|
47
47
|
slug: "paystack-create-subaccount",
|
|
48
48
|
name: "Create Subaccount",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-subaccount.cjs","names":["z","action"],"sources":["../../src/actions/create-subaccount.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackCreateSubaccountInput = z.object({\n metadata: z.string().describe(\"Stringified JSON object of custom data\").optional(),\n description: z.string().describe(\"A description for this subaccount\").optional(),\n business_name: z.string().describe(\"Name of business for subaccount\"),\n account_number: z.string().describe(\"Bank account number\"),\n settlement_bank: z.string().describe(\"Bank code for the bank. You can get the list of Bank Codes by calling the List Banks endpoint.\"),\n percentage_charge: z.number().describe(\"Percentage of transaction amount charged by the subaccount\"),\n primary_contact_name: z.string().describe(\"The name of the contact person for this subaccount\").optional(),\n primary_contact_email: z.string().describe(\"A contact email for the subaccount\").optional(),\n primary_contact_phone: z.string().describe(\"A phone number to call for this subaccount\").optional(),\n});\nconst PaystackCreateSubaccount_SubaccountDataSchema = z.object({\n id: z.number().int().describe(\"Subaccount ID\").nullable(),\n bank: z.number().int().describe(\"Bank ID\").nullable(),\n active: z.boolean().describe(\"Active status\").nullable(),\n domain: z.string().describe(\"Domain\").nullable(),\n migrate: z.boolean().describe(\"Migration status\").nullable(),\n product: z.string().describe(\"Product type\").nullable(),\n currency: z.string().describe(\"Currency code\").nullable(),\n metadata: z.string().describe(\"Custom metadata\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n description: z.string().describe(\"Description for the subaccount\").nullable().optional(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n is_verified: z.boolean().describe(\"Verification status\").nullable(),\n account_name: z.string().describe(\"Bank account name\").nullable().optional(),\n business_name: z.string().describe(\"Name of business for subaccount\").nullable(),\n account_number: z.string().describe(\"Bank account number\").nullable(),\n settlement_bank: z.string().describe(\"Settlement bank code\").nullable(),\n subaccount_code: z.string().describe(\"Unique subaccount code\").nullable(),\n percentage_charge: z.number().describe(\"Percentage charge\").nullable(),\n settlement_schedule: z.string().describe(\"Settlement schedule\").nullable(),\n primary_contact_name: z.string().describe(\"Contact name for the subaccount\").nullable().optional(),\n primary_contact_email: z.string().describe(\"Contact email for the subaccount\").nullable().optional(),\n primary_contact_phone: z.string().describe(\"Contact phone for the subaccount\").nullable().optional(),\n managed_by_integration: z.number().int().describe(\"Managed by integration ID\").nullable(),\n});\nexport const PaystackCreateSubaccountOutput = z.object({\n data: PaystackCreateSubaccount_SubaccountDataSchema.nullable(),\n status: z.boolean().describe(\"Request status\").nullable(),\n message: z.string().describe(\"Response message\").nullable(),\n});\n\nexport const paystackCreateSubaccount = action(\"PAYSTACK_CREATE_SUBACCOUNT\", {\n slug: \"paystack-create-subaccount\",\n name: \"Create Subaccount\",\n description: \"Tool to create a subaccount on your Paystack integration. Use when you need to set up a new subaccount with bank details and settlement information.\",\n input: PaystackCreateSubaccountInput,\n output: PaystackCreateSubaccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC/E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CACpE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CACzD,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;CACrI,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACnG,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACzG,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC1F,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACpG,CAAC;AACD,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS;CACpD,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACvD,QAAQA,IAAAA,EAAE,OAAO,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AAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACrE,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACzE,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AAC1F,CAAC;
|
|
1
|
+
{"version":3,"file":"create-subaccount.cjs","names":["z","action"],"sources":["../../src/actions/create-subaccount.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackCreateSubaccountInput = z.object({\n metadata: z.string().describe(\"Stringified JSON object of custom data\").optional(),\n description: z.string().describe(\"A description for this subaccount\").optional(),\n business_name: z.string().describe(\"Name of business for subaccount\"),\n account_number: z.string().describe(\"Bank account number\"),\n settlement_bank: z.string().describe(\"Bank code for the bank. You can get the list of Bank Codes by calling the List Banks endpoint.\"),\n percentage_charge: z.number().describe(\"Percentage of transaction amount charged by the subaccount\"),\n primary_contact_name: z.string().describe(\"The name of the contact person for this subaccount\").optional(),\n primary_contact_email: z.string().describe(\"A contact email for the subaccount\").optional(),\n primary_contact_phone: z.string().describe(\"A phone number to call for this subaccount\").optional(),\n});\nconst PaystackCreateSubaccount_SubaccountDataSchema = z.object({\n id: z.number().int().describe(\"Subaccount ID\").nullable(),\n bank: z.number().int().describe(\"Bank ID\").nullable(),\n active: z.boolean().describe(\"Active status\").nullable(),\n domain: z.string().describe(\"Domain\").nullable(),\n migrate: z.boolean().describe(\"Migration status\").nullable(),\n product: z.string().describe(\"Product type\").nullable(),\n currency: z.string().describe(\"Currency code\").nullable(),\n metadata: z.string().describe(\"Custom metadata\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n description: z.string().describe(\"Description for the subaccount\").nullable().optional(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n is_verified: z.boolean().describe(\"Verification status\").nullable(),\n account_name: z.string().describe(\"Bank account name\").nullable().optional(),\n business_name: z.string().describe(\"Name of business for subaccount\").nullable(),\n account_number: z.string().describe(\"Bank account number\").nullable(),\n settlement_bank: z.string().describe(\"Settlement bank code\").nullable(),\n subaccount_code: z.string().describe(\"Unique subaccount code\").nullable(),\n percentage_charge: z.number().describe(\"Percentage charge\").nullable(),\n settlement_schedule: z.string().describe(\"Settlement schedule\").nullable(),\n primary_contact_name: z.string().describe(\"Contact name for the subaccount\").nullable().optional(),\n primary_contact_email: z.string().describe(\"Contact email for the subaccount\").nullable().optional(),\n primary_contact_phone: z.string().describe(\"Contact phone for the subaccount\").nullable().optional(),\n managed_by_integration: z.number().int().describe(\"Managed by integration ID\").nullable(),\n}).passthrough();\nexport const PaystackCreateSubaccountOutput = z.object({\n data: PaystackCreateSubaccount_SubaccountDataSchema.nullable(),\n status: z.boolean().describe(\"Request status\").nullable(),\n message: z.string().describe(\"Response message\").nullable(),\n}).passthrough();\n\nexport const paystackCreateSubaccount = action(\"PAYSTACK_CREATE_SUBACCOUNT\", {\n slug: \"paystack-create-subaccount\",\n name: \"Create Subaccount\",\n description: \"Tool to create a subaccount on your Paystack integration. Use when you need to set up a new subaccount with bank details and settlement information.\",\n input: PaystackCreateSubaccountInput,\n output: PaystackCreateSubaccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAA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,CAAC,SAAS;CACnG,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAM,8CAA8C,SAAS;CAC7D,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACxD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;AAC5D,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -38,10 +38,10 @@ declare const PaystackCreateSubaccountOutput: z.ZodObject<{
|
|
|
38
38
|
primary_contact_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
39
|
primary_contact_phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
40
|
managed_by_integration: z.ZodNullable<z.ZodNumber>;
|
|
41
|
-
}, z.core.$
|
|
41
|
+
}, z.core.$loose>>;
|
|
42
42
|
status: z.ZodNullable<z.ZodBoolean>;
|
|
43
43
|
message: z.ZodNullable<z.ZodString>;
|
|
44
|
-
}, z.core.$
|
|
44
|
+
}, z.core.$loose>;
|
|
45
45
|
declare const paystackCreateSubaccount: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
46
46
|
business_name: string;
|
|
47
47
|
account_number: string;
|
|
@@ -38,10 +38,10 @@ declare const PaystackCreateSubaccountOutput: z.ZodObject<{
|
|
|
38
38
|
primary_contact_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
39
|
primary_contact_phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
40
|
managed_by_integration: z.ZodNullable<z.ZodNumber>;
|
|
41
|
-
}, z.core.$
|
|
41
|
+
}, z.core.$loose>>;
|
|
42
42
|
status: z.ZodNullable<z.ZodBoolean>;
|
|
43
43
|
message: z.ZodNullable<z.ZodString>;
|
|
44
|
-
}, z.core.$
|
|
44
|
+
}, z.core.$loose>;
|
|
45
45
|
declare const paystackCreateSubaccount: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
46
46
|
business_name: string;
|
|
47
47
|
account_number: string;
|
|
@@ -37,7 +37,7 @@ const PaystackCreateSubaccount_SubaccountDataSchema = z.object({
|
|
|
37
37
|
primary_contact_email: z.string().describe("Contact email for the subaccount").nullable().optional(),
|
|
38
38
|
primary_contact_phone: z.string().describe("Contact phone for the subaccount").nullable().optional(),
|
|
39
39
|
managed_by_integration: z.number().int().describe("Managed by integration ID").nullable()
|
|
40
|
-
});
|
|
40
|
+
}).passthrough();
|
|
41
41
|
const paystackCreateSubaccount = action("PAYSTACK_CREATE_SUBACCOUNT", {
|
|
42
42
|
slug: "paystack-create-subaccount",
|
|
43
43
|
name: "Create Subaccount",
|
|
@@ -47,7 +47,7 @@ const paystackCreateSubaccount = action("PAYSTACK_CREATE_SUBACCOUNT", {
|
|
|
47
47
|
data: PaystackCreateSubaccount_SubaccountDataSchema.nullable(),
|
|
48
48
|
status: z.boolean().describe("Request status").nullable(),
|
|
49
49
|
message: z.string().describe("Response message").nullable()
|
|
50
|
-
})
|
|
50
|
+
}).passthrough()
|
|
51
51
|
});
|
|
52
52
|
//#endregion
|
|
53
53
|
export { paystackCreateSubaccount };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-subaccount.mjs","names":[],"sources":["../../src/actions/create-subaccount.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackCreateSubaccountInput = z.object({\n metadata: z.string().describe(\"Stringified JSON object of custom data\").optional(),\n description: z.string().describe(\"A description for this subaccount\").optional(),\n business_name: z.string().describe(\"Name of business for subaccount\"),\n account_number: z.string().describe(\"Bank account number\"),\n settlement_bank: z.string().describe(\"Bank code for the bank. You can get the list of Bank Codes by calling the List Banks endpoint.\"),\n percentage_charge: z.number().describe(\"Percentage of transaction amount charged by the subaccount\"),\n primary_contact_name: z.string().describe(\"The name of the contact person for this subaccount\").optional(),\n primary_contact_email: z.string().describe(\"A contact email for the subaccount\").optional(),\n primary_contact_phone: z.string().describe(\"A phone number to call for this subaccount\").optional(),\n});\nconst PaystackCreateSubaccount_SubaccountDataSchema = z.object({\n id: z.number().int().describe(\"Subaccount ID\").nullable(),\n bank: z.number().int().describe(\"Bank ID\").nullable(),\n active: z.boolean().describe(\"Active status\").nullable(),\n domain: z.string().describe(\"Domain\").nullable(),\n migrate: z.boolean().describe(\"Migration status\").nullable(),\n product: z.string().describe(\"Product type\").nullable(),\n currency: z.string().describe(\"Currency code\").nullable(),\n metadata: z.string().describe(\"Custom metadata\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n description: z.string().describe(\"Description for the subaccount\").nullable().optional(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n is_verified: z.boolean().describe(\"Verification status\").nullable(),\n account_name: z.string().describe(\"Bank account name\").nullable().optional(),\n business_name: z.string().describe(\"Name of business for subaccount\").nullable(),\n account_number: z.string().describe(\"Bank account number\").nullable(),\n settlement_bank: z.string().describe(\"Settlement bank code\").nullable(),\n subaccount_code: z.string().describe(\"Unique subaccount code\").nullable(),\n percentage_charge: z.number().describe(\"Percentage charge\").nullable(),\n settlement_schedule: z.string().describe(\"Settlement schedule\").nullable(),\n primary_contact_name: z.string().describe(\"Contact name for the subaccount\").nullable().optional(),\n primary_contact_email: z.string().describe(\"Contact email for the subaccount\").nullable().optional(),\n primary_contact_phone: z.string().describe(\"Contact phone for the subaccount\").nullable().optional(),\n managed_by_integration: z.number().int().describe(\"Managed by integration ID\").nullable(),\n});\nexport const PaystackCreateSubaccountOutput = z.object({\n data: PaystackCreateSubaccount_SubaccountDataSchema.nullable(),\n status: z.boolean().describe(\"Request status\").nullable(),\n message: z.string().describe(\"Response message\").nullable(),\n});\n\nexport const paystackCreateSubaccount = action(\"PAYSTACK_CREATE_SUBACCOUNT\", {\n slug: \"paystack-create-subaccount\",\n name: \"Create Subaccount\",\n description: \"Tool to create a subaccount on your Paystack integration. Use when you need to set up a new subaccount with bank details and settlement information.\",\n input: PaystackCreateSubaccountInput,\n output: PaystackCreateSubaccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC/E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CACpE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CACzD,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;CACrI,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACnG,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACzG,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC1F,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACpG,CAAC;AACD,MAAM,gDAAgD,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS;CACpD,QAAQ,EAAE,QAA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E,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACzE,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AAC1F,CAAC;
|
|
1
|
+
{"version":3,"file":"create-subaccount.mjs","names":[],"sources":["../../src/actions/create-subaccount.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackCreateSubaccountInput = z.object({\n metadata: z.string().describe(\"Stringified JSON object of custom data\").optional(),\n description: z.string().describe(\"A description for this subaccount\").optional(),\n business_name: z.string().describe(\"Name of business for subaccount\"),\n account_number: z.string().describe(\"Bank account number\"),\n settlement_bank: z.string().describe(\"Bank code for the bank. You can get the list of Bank Codes by calling the List Banks endpoint.\"),\n percentage_charge: z.number().describe(\"Percentage of transaction amount charged by the subaccount\"),\n primary_contact_name: z.string().describe(\"The name of the contact person for this subaccount\").optional(),\n primary_contact_email: z.string().describe(\"A contact email for the subaccount\").optional(),\n primary_contact_phone: z.string().describe(\"A phone number to call for this subaccount\").optional(),\n});\nconst PaystackCreateSubaccount_SubaccountDataSchema = z.object({\n id: z.number().int().describe(\"Subaccount ID\").nullable(),\n bank: z.number().int().describe(\"Bank ID\").nullable(),\n active: z.boolean().describe(\"Active status\").nullable(),\n domain: z.string().describe(\"Domain\").nullable(),\n migrate: z.boolean().describe(\"Migration status\").nullable(),\n product: z.string().describe(\"Product type\").nullable(),\n currency: z.string().describe(\"Currency code\").nullable(),\n metadata: z.string().describe(\"Custom metadata\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n description: z.string().describe(\"Description for the subaccount\").nullable().optional(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n is_verified: z.boolean().describe(\"Verification status\").nullable(),\n account_name: z.string().describe(\"Bank account name\").nullable().optional(),\n business_name: z.string().describe(\"Name of business for subaccount\").nullable(),\n account_number: z.string().describe(\"Bank account number\").nullable(),\n settlement_bank: z.string().describe(\"Settlement bank code\").nullable(),\n subaccount_code: z.string().describe(\"Unique subaccount code\").nullable(),\n percentage_charge: z.number().describe(\"Percentage charge\").nullable(),\n settlement_schedule: z.string().describe(\"Settlement schedule\").nullable(),\n primary_contact_name: z.string().describe(\"Contact name for the subaccount\").nullable().optional(),\n primary_contact_email: z.string().describe(\"Contact email for the subaccount\").nullable().optional(),\n primary_contact_phone: z.string().describe(\"Contact phone for the subaccount\").nullable().optional(),\n managed_by_integration: z.number().int().describe(\"Managed by integration ID\").nullable(),\n}).passthrough();\nexport const PaystackCreateSubaccountOutput = z.object({\n data: PaystackCreateSubaccount_SubaccountDataSchema.nullable(),\n status: z.boolean().describe(\"Request status\").nullable(),\n message: z.string().describe(\"Response message\").nullable(),\n}).passthrough();\n\nexport const paystackCreateSubaccount = action(\"PAYSTACK_CREATE_SUBACCOUNT\", {\n slug: \"paystack-create-subaccount\",\n name: \"Create Subaccount\",\n description: \"Tool to create a subaccount on your Paystack integration. Use when you need to set up a new subaccount with bank details and settlement information.\",\n input: PaystackCreateSubaccountInput,\n output: PaystackCreateSubaccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC/E,eAAe,EAAE,OAAO,CAAC,CA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,QAAQ,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;EACxD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAC5D,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -24,7 +24,7 @@ const PaystackCreateTransferRecipient_TransferRecipientDetailsSchema = zod.z.obj
|
|
|
24
24
|
account_name: zod.z.string().describe("Name on the recipient's account").nullable(),
|
|
25
25
|
account_number: zod.z.string().describe("Recipient's account number").nullable(),
|
|
26
26
|
authorization_code: zod.z.string().describe("Authorization code if applicable").nullable().optional()
|
|
27
|
-
}).describe("Details of the transfer recipient's account.");
|
|
27
|
+
}).passthrough().describe("Details of the transfer recipient's account.");
|
|
28
28
|
const PaystackCreateTransferRecipient_TransferRecipientDataSchema = zod.z.object({
|
|
29
29
|
id: zod.z.number().int().describe("Unique identifier for the recipient").nullable(),
|
|
30
30
|
name: zod.z.string().describe("Name of the recipient").nullable(),
|
|
@@ -41,12 +41,12 @@ const PaystackCreateTransferRecipient_TransferRecipientDataSchema = zod.z.object
|
|
|
41
41
|
description: zod.z.string().describe("Description of the recipient").nullable().optional(),
|
|
42
42
|
integration: zod.z.number().int().describe("Integration ID").nullable(),
|
|
43
43
|
recipient_code: zod.z.string().describe("Unique recipient code that can be used to initiate transfers").nullable()
|
|
44
|
-
}).describe("Transfer recipient data returned by the API.");
|
|
44
|
+
}).passthrough().describe("Transfer recipient data returned by the API.");
|
|
45
45
|
const PaystackCreateTransferRecipientOutput = zod.z.object({
|
|
46
46
|
data: PaystackCreateTransferRecipient_TransferRecipientDataSchema.nullable(),
|
|
47
47
|
status: zod.z.boolean().describe("Indicates if the request was successful").nullable(),
|
|
48
48
|
message: zod.z.string().describe("Response message from the API").nullable()
|
|
49
|
-
}).describe("Response from creating a transfer recipient.");
|
|
49
|
+
}).passthrough().describe("Response from creating a transfer recipient.");
|
|
50
50
|
const paystackCreateTransferRecipient = require_action.action("PAYSTACK_CREATE_TRANSFER_RECIPIENT", {
|
|
51
51
|
slug: "paystack-create-transfer-recipient",
|
|
52
52
|
name: "Create Transfer Recipient",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-transfer-recipient.cjs","names":["z","action"],"sources":["../../src/actions/create-transfer-recipient.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackCreateTransferRecipientInput = z.object({\n name: z.string().describe(\"The recipient's name according to their account registration. This is the name that will appear on transfer receipts.\"),\n type: z.enum([\"nuban\", \"ghipss\", \"mobile_money\", \"basa\", \"authorization\"]).describe(\"Recipient type. Options: 'nuban' (Nigerian bank account), 'ghipss' (Ghanaian bank account), 'mobile_money' (mobile money account), 'basa' (South African bank account), 'authorization' (Paystack authorization code from previous transaction).\"),\n email: z.string().describe(\"Email address of the recipient. Optional but recommended for better record-keeping and communication.\").optional(),\n currency: z.string().describe(\"Currency for the account receiving the transfer. If not provided, defaults to NGN (Nigerian Naira). Common values: 'NGN', 'GHS' (Ghanaian Cedi), 'ZAR' (South African Rand), 'USD'.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"JSON object of custom data. You can store additional information about the recipient here. Maximum of 10 key-value pairs allowed.\").optional(),\n bank_code: z.string().describe(\"Recipient's bank code. Required for bank account types. You can get the list of bank codes by calling the List Banks endpoint. For Nigerian banks, this is typically a 3-digit code (e.g., '044' for Access Bank).\"),\n description: z.string().describe(\"A description for this recipient. Helpful for identifying the purpose or context of this recipient in your records.\").optional(),\n account_number: z.string().describe(\"Recipient's bank account number. Required for bank account types (nuban, ghipss, basa). Must be a valid account number for the specified bank.\"),\n authorization_code: z.string().describe(\"An authorization code from a previous transaction. Required when type is 'authorization'. This allows creating a recipient from a previously authorized payment method.\").optional(),\n}).describe(\"Request model for creating a transfer recipient.\");\nconst PaystackCreateTransferRecipient_TransferRecipientDetailsSchema = z.object({\n bank_code: z.string().describe(\"Bank code\").nullable(),\n bank_name: z.string().describe(\"Name of the recipient's bank\").nullable(),\n account_name: z.string().describe(\"Name on the recipient's account\").nullable(),\n account_number: z.string().describe(\"Recipient's account number\").nullable(),\n authorization_code: z.string().describe(\"Authorization code if applicable\").nullable().optional(),\n}).describe(\"Details of the transfer recipient's account.\");\nconst PaystackCreateTransferRecipient_TransferRecipientDataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the recipient\").nullable(),\n name: z.string().describe(\"Name of the recipient\").nullable(),\n type: z.string().describe(\"Type of recipient\").nullable(),\n email: z.string().describe(\"Email address of the recipient\").nullable().optional(),\n active: z.boolean().describe(\"Whether the recipient is active\").nullable(),\n domain: z.string().describe(\"Domain associated with the recipient\").nullable(),\n details: PaystackCreateTransferRecipient_TransferRecipientDetailsSchema.nullable(),\n currency: z.string().describe(\"Currency for the recipient's account\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata associated with the recipient\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the recipient was created\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the recipient was last updated\").nullable(),\n is_deleted: z.boolean().describe(\"Whether the recipient has been deleted\").nullable(),\n description: z.string().describe(\"Description of the recipient\").nullable().optional(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n recipient_code: z.string().describe(\"Unique recipient code that can be used to initiate transfers\").nullable(),\n}).describe(\"Transfer recipient data returned by the API.\");\nexport const PaystackCreateTransferRecipientOutput = z.object({\n data: PaystackCreateTransferRecipient_TransferRecipientDataSchema.nullable(),\n status: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n message: z.string().describe(\"Response message from the API\").nullable(),\n}).describe(\"Response from creating a transfer recipient.\");\n\nexport const paystackCreateTransferRecipient = action(\"PAYSTACK_CREATE_TRANSFER_RECIPIENT\", {\n slug: \"paystack-create-transfer-recipient\",\n name: \"Create Transfer Recipient\",\n description: \"Tool to create a new recipient for transfers. Use when you need to set up a recipient before initiating a transfer. Note: A duplicate account number will lead to retrieval of the existing record rather than creating a new one.\",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;CAC3E,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,8CAA8C;
|
|
1
|
+
{"version":3,"file":"create-transfer-recipient.cjs","names":["z","action"],"sources":["../../src/actions/create-transfer-recipient.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackCreateTransferRecipientInput = z.object({\n name: z.string().describe(\"The recipient's name according to their account registration. This is the name that will appear on transfer receipts.\"),\n type: z.enum([\"nuban\", \"ghipss\", \"mobile_money\", \"basa\", \"authorization\"]).describe(\"Recipient type. Options: 'nuban' (Nigerian bank account), 'ghipss' (Ghanaian bank account), 'mobile_money' (mobile money account), 'basa' (South African bank account), 'authorization' (Paystack authorization code from previous transaction).\"),\n email: z.string().describe(\"Email address of the recipient. Optional but recommended for better record-keeping and communication.\").optional(),\n currency: z.string().describe(\"Currency for the account receiving the transfer. If not provided, defaults to NGN (Nigerian Naira). Common values: 'NGN', 'GHS' (Ghanaian Cedi), 'ZAR' (South African Rand), 'USD'.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"JSON object of custom data. You can store additional information about the recipient here. Maximum of 10 key-value pairs allowed.\").optional(),\n bank_code: z.string().describe(\"Recipient's bank code. Required for bank account types. You can get the list of bank codes by calling the List Banks endpoint. For Nigerian banks, this is typically a 3-digit code (e.g., '044' for Access Bank).\"),\n description: z.string().describe(\"A description for this recipient. Helpful for identifying the purpose or context of this recipient in your records.\").optional(),\n account_number: z.string().describe(\"Recipient's bank account number. Required for bank account types (nuban, ghipss, basa). Must be a valid account number for the specified bank.\"),\n authorization_code: z.string().describe(\"An authorization code from a previous transaction. Required when type is 'authorization'. This allows creating a recipient from a previously authorized payment method.\").optional(),\n}).describe(\"Request model for creating a transfer recipient.\");\nconst PaystackCreateTransferRecipient_TransferRecipientDetailsSchema = z.object({\n bank_code: z.string().describe(\"Bank code\").nullable(),\n bank_name: z.string().describe(\"Name of the recipient's bank\").nullable(),\n account_name: z.string().describe(\"Name on the recipient's account\").nullable(),\n account_number: z.string().describe(\"Recipient's account number\").nullable(),\n authorization_code: z.string().describe(\"Authorization code if applicable\").nullable().optional(),\n}).passthrough().describe(\"Details of the transfer recipient's account.\");\nconst PaystackCreateTransferRecipient_TransferRecipientDataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the recipient\").nullable(),\n name: z.string().describe(\"Name of the recipient\").nullable(),\n type: z.string().describe(\"Type of recipient\").nullable(),\n email: z.string().describe(\"Email address of the recipient\").nullable().optional(),\n active: z.boolean().describe(\"Whether the recipient is active\").nullable(),\n domain: z.string().describe(\"Domain associated with the recipient\").nullable(),\n details: PaystackCreateTransferRecipient_TransferRecipientDetailsSchema.nullable(),\n currency: z.string().describe(\"Currency for the recipient's account\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata associated with the recipient\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the recipient was created\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the recipient was last updated\").nullable(),\n is_deleted: z.boolean().describe(\"Whether the recipient has been deleted\").nullable(),\n description: z.string().describe(\"Description of the recipient\").nullable().optional(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n recipient_code: z.string().describe(\"Unique recipient code that can be used to initiate transfers\").nullable(),\n}).passthrough().describe(\"Transfer recipient data returned by the API.\");\nexport const PaystackCreateTransferRecipientOutput = z.object({\n data: PaystackCreateTransferRecipient_TransferRecipientDataSchema.nullable(),\n status: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n message: z.string().describe(\"Response message from the API\").nullable(),\n}).passthrough().describe(\"Response from creating a transfer recipient.\");\n\nexport const paystackCreateTransferRecipient = action(\"PAYSTACK_CREATE_TRANSFER_RECIPIENT\", {\n slug: \"paystack-create-transfer-recipient\",\n name: \"Create Transfer Recipient\",\n description: \"Tool to create a new recipient for transfers. Use when you need to set up a recipient before initiating a transfer. Note: A duplicate account number will lead to retrieval of the existing record rather than creating a new one.\",\n input: PaystackCreateTransferRecipientInput,\n output: PaystackCreateTransferRecipientOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH;CACjJ,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAU;EAAgB;EAAQ;CAAe,CAAC,CAAC,CAAC,SAAS,kPAAkP;CACtU,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CAC7I,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qLAAqL,CAAC,CAAC,SAAS;CAC9N,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS;CACnM,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oNAAoN;CACnP,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CACjK,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ;CACpL,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yKAAyK,CAAC,CAAC,SAAS;AAC9N,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,iEAAiEA,IAAAA,EAAE,OAAO;CAC9E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CACrD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACxE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC9E,gBAAgBA,IAAAA,EAAE,OAAO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;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CAClE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAM,4DAA4D,SAAS;CAC3E,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,kCAAkCC,eAAAA,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -5,9 +5,9 @@ declare const PaystackCreateTransferRecipientInput: z.ZodObject<{
|
|
|
5
5
|
name: z.ZodString;
|
|
6
6
|
type: z.ZodEnum<{
|
|
7
7
|
authorization: "authorization";
|
|
8
|
-
mobile_money: "mobile_money";
|
|
9
8
|
nuban: "nuban";
|
|
10
9
|
ghipss: "ghipss";
|
|
10
|
+
mobile_money: "mobile_money";
|
|
11
11
|
basa: "basa";
|
|
12
12
|
}>;
|
|
13
13
|
email: z.ZodOptional<z.ZodString>;
|
|
@@ -32,7 +32,7 @@ declare const PaystackCreateTransferRecipientOutput: z.ZodObject<{
|
|
|
32
32
|
account_name: z.ZodNullable<z.ZodString>;
|
|
33
33
|
account_number: z.ZodNullable<z.ZodString>;
|
|
34
34
|
authorization_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
-
}, z.core.$
|
|
35
|
+
}, z.core.$loose>>;
|
|
36
36
|
currency: z.ZodNullable<z.ZodString>;
|
|
37
37
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
38
38
|
createdAt: z.ZodNullable<z.ZodString>;
|
|
@@ -41,13 +41,13 @@ declare const PaystackCreateTransferRecipientOutput: z.ZodObject<{
|
|
|
41
41
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
42
|
integration: z.ZodNullable<z.ZodNumber>;
|
|
43
43
|
recipient_code: z.ZodNullable<z.ZodString>;
|
|
44
|
-
}, z.core.$
|
|
44
|
+
}, z.core.$loose>>;
|
|
45
45
|
status: z.ZodNullable<z.ZodBoolean>;
|
|
46
46
|
message: z.ZodNullable<z.ZodString>;
|
|
47
|
-
}, z.core.$
|
|
47
|
+
}, z.core.$loose>;
|
|
48
48
|
declare const paystackCreateTransferRecipient: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
49
49
|
name: string;
|
|
50
|
-
type: "authorization" | "
|
|
50
|
+
type: "authorization" | "nuban" | "ghipss" | "mobile_money" | "basa";
|
|
51
51
|
bank_code: string;
|
|
52
52
|
account_number: string;
|
|
53
53
|
email?: string | undefined;
|
|
@@ -5,9 +5,9 @@ declare const PaystackCreateTransferRecipientInput: z.ZodObject<{
|
|
|
5
5
|
name: z.ZodString;
|
|
6
6
|
type: z.ZodEnum<{
|
|
7
7
|
authorization: "authorization";
|
|
8
|
-
mobile_money: "mobile_money";
|
|
9
8
|
nuban: "nuban";
|
|
10
9
|
ghipss: "ghipss";
|
|
10
|
+
mobile_money: "mobile_money";
|
|
11
11
|
basa: "basa";
|
|
12
12
|
}>;
|
|
13
13
|
email: z.ZodOptional<z.ZodString>;
|
|
@@ -32,7 +32,7 @@ declare const PaystackCreateTransferRecipientOutput: z.ZodObject<{
|
|
|
32
32
|
account_name: z.ZodNullable<z.ZodString>;
|
|
33
33
|
account_number: z.ZodNullable<z.ZodString>;
|
|
34
34
|
authorization_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
-
}, z.core.$
|
|
35
|
+
}, z.core.$loose>>;
|
|
36
36
|
currency: z.ZodNullable<z.ZodString>;
|
|
37
37
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
38
38
|
createdAt: z.ZodNullable<z.ZodString>;
|
|
@@ -41,13 +41,13 @@ declare const PaystackCreateTransferRecipientOutput: z.ZodObject<{
|
|
|
41
41
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
42
|
integration: z.ZodNullable<z.ZodNumber>;
|
|
43
43
|
recipient_code: z.ZodNullable<z.ZodString>;
|
|
44
|
-
}, z.core.$
|
|
44
|
+
}, z.core.$loose>>;
|
|
45
45
|
status: z.ZodNullable<z.ZodBoolean>;
|
|
46
46
|
message: z.ZodNullable<z.ZodString>;
|
|
47
|
-
}, z.core.$
|
|
47
|
+
}, z.core.$loose>;
|
|
48
48
|
declare const paystackCreateTransferRecipient: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
49
49
|
name: string;
|
|
50
|
-
type: "authorization" | "
|
|
50
|
+
type: "authorization" | "nuban" | "ghipss" | "mobile_money" | "basa";
|
|
51
51
|
bank_code: string;
|
|
52
52
|
account_number: string;
|
|
53
53
|
email?: string | undefined;
|
|
@@ -24,7 +24,7 @@ const PaystackCreateTransferRecipient_TransferRecipientDetailsSchema = z.object(
|
|
|
24
24
|
account_name: z.string().describe("Name on the recipient's account").nullable(),
|
|
25
25
|
account_number: z.string().describe("Recipient's account number").nullable(),
|
|
26
26
|
authorization_code: z.string().describe("Authorization code if applicable").nullable().optional()
|
|
27
|
-
}).describe("Details of the transfer recipient's account.");
|
|
27
|
+
}).passthrough().describe("Details of the transfer recipient's account.");
|
|
28
28
|
const PaystackCreateTransferRecipient_TransferRecipientDataSchema = z.object({
|
|
29
29
|
id: z.number().int().describe("Unique identifier for the recipient").nullable(),
|
|
30
30
|
name: z.string().describe("Name of the recipient").nullable(),
|
|
@@ -41,7 +41,7 @@ const PaystackCreateTransferRecipient_TransferRecipientDataSchema = z.object({
|
|
|
41
41
|
description: z.string().describe("Description of the recipient").nullable().optional(),
|
|
42
42
|
integration: z.number().int().describe("Integration ID").nullable(),
|
|
43
43
|
recipient_code: z.string().describe("Unique recipient code that can be used to initiate transfers").nullable()
|
|
44
|
-
}).describe("Transfer recipient data returned by the API.");
|
|
44
|
+
}).passthrough().describe("Transfer recipient data returned by the API.");
|
|
45
45
|
const paystackCreateTransferRecipient = action("PAYSTACK_CREATE_TRANSFER_RECIPIENT", {
|
|
46
46
|
slug: "paystack-create-transfer-recipient",
|
|
47
47
|
name: "Create Transfer Recipient",
|
|
@@ -51,7 +51,7 @@ const paystackCreateTransferRecipient = action("PAYSTACK_CREATE_TRANSFER_RECIPIE
|
|
|
51
51
|
data: PaystackCreateTransferRecipient_TransferRecipientDataSchema.nullable(),
|
|
52
52
|
status: z.boolean().describe("Indicates if the request was successful").nullable(),
|
|
53
53
|
message: z.string().describe("Response message from the API").nullable()
|
|
54
|
-
}).describe("Response from creating a transfer recipient.")
|
|
54
|
+
}).passthrough().describe("Response from creating a transfer recipient.")
|
|
55
55
|
});
|
|
56
56
|
//#endregion
|
|
57
57
|
export { paystackCreateTransferRecipient };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-transfer-recipient.mjs","names":[],"sources":["../../src/actions/create-transfer-recipient.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackCreateTransferRecipientInput = z.object({\n name: z.string().describe(\"The recipient's name according to their account registration. This is the name that will appear on transfer receipts.\"),\n type: z.enum([\"nuban\", \"ghipss\", \"mobile_money\", \"basa\", \"authorization\"]).describe(\"Recipient type. Options: 'nuban' (Nigerian bank account), 'ghipss' (Ghanaian bank account), 'mobile_money' (mobile money account), 'basa' (South African bank account), 'authorization' (Paystack authorization code from previous transaction).\"),\n email: z.string().describe(\"Email address of the recipient. Optional but recommended for better record-keeping and communication.\").optional(),\n currency: z.string().describe(\"Currency for the account receiving the transfer. If not provided, defaults to NGN (Nigerian Naira). Common values: 'NGN', 'GHS' (Ghanaian Cedi), 'ZAR' (South African Rand), 'USD'.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"JSON object of custom data. You can store additional information about the recipient here. Maximum of 10 key-value pairs allowed.\").optional(),\n bank_code: z.string().describe(\"Recipient's bank code. Required for bank account types. You can get the list of bank codes by calling the List Banks endpoint. For Nigerian banks, this is typically a 3-digit code (e.g., '044' for Access Bank).\"),\n description: z.string().describe(\"A description for this recipient. Helpful for identifying the purpose or context of this recipient in your records.\").optional(),\n account_number: z.string().describe(\"Recipient's bank account number. Required for bank account types (nuban, ghipss, basa). Must be a valid account number for the specified bank.\"),\n authorization_code: z.string().describe(\"An authorization code from a previous transaction. Required when type is 'authorization'. This allows creating a recipient from a previously authorized payment method.\").optional(),\n}).describe(\"Request model for creating a transfer recipient.\");\nconst PaystackCreateTransferRecipient_TransferRecipientDetailsSchema = z.object({\n bank_code: z.string().describe(\"Bank code\").nullable(),\n bank_name: z.string().describe(\"Name of the recipient's bank\").nullable(),\n account_name: z.string().describe(\"Name on the recipient's account\").nullable(),\n account_number: z.string().describe(\"Recipient's account number\").nullable(),\n authorization_code: z.string().describe(\"Authorization code if applicable\").nullable().optional(),\n}).describe(\"Details of the transfer recipient's account.\");\nconst PaystackCreateTransferRecipient_TransferRecipientDataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the recipient\").nullable(),\n name: z.string().describe(\"Name of the recipient\").nullable(),\n type: z.string().describe(\"Type of recipient\").nullable(),\n email: z.string().describe(\"Email address of the recipient\").nullable().optional(),\n active: z.boolean().describe(\"Whether the recipient is active\").nullable(),\n domain: z.string().describe(\"Domain associated with the recipient\").nullable(),\n details: PaystackCreateTransferRecipient_TransferRecipientDetailsSchema.nullable(),\n currency: z.string().describe(\"Currency for the recipient's account\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata associated with the recipient\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the recipient was created\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the recipient was last updated\").nullable(),\n is_deleted: z.boolean().describe(\"Whether the recipient has been deleted\").nullable(),\n description: z.string().describe(\"Description of the recipient\").nullable().optional(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n recipient_code: z.string().describe(\"Unique recipient code that can be used to initiate transfers\").nullable(),\n}).describe(\"Transfer recipient data returned by the API.\");\nexport const PaystackCreateTransferRecipientOutput = z.object({\n data: PaystackCreateTransferRecipient_TransferRecipientDataSchema.nullable(),\n status: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n message: z.string().describe(\"Response message from the API\").nullable(),\n}).describe(\"Response from creating a transfer recipient.\");\n\nexport const paystackCreateTransferRecipient = action(\"PAYSTACK_CREATE_TRANSFER_RECIPIENT\", {\n slug: \"paystack-create-transfer-recipient\",\n name: \"Create Transfer Recipient\",\n description: \"Tool to create a new recipient for transfers. Use when you need to set up a recipient before initiating a transfer. Note: A duplicate account number will lead to retrieval of the existing record rather than creating a new one.\",\n input: PaystackCreateTransferRecipientInput,\n output: PaystackCreateTransferRecipientOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuC,EAAE,OAAO;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH;CACjJ,MAAM,EAAE,KAAK;EAAC;EAAS;EAAU;EAAgB;EAAQ;CAAe,CAAC,CAAC,CAAC,SAAS,kPAAkP;CACtU,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CAC7I,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qLAAqL,CAAC,CAAC,SAAS;CAC9N,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS;CACnM,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oNAAoN;CACnP,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CACjK,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ;CACpL,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,yKAAyK,CAAC,CAAC,SAAS;AAC9N,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,iEAAiE,EAAE,OAAO;CAC9E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CACrD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACxE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC9E,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC3E,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,8CAA8C;
|
|
1
|
+
{"version":3,"file":"create-transfer-recipient.mjs","names":[],"sources":["../../src/actions/create-transfer-recipient.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackCreateTransferRecipientInput = z.object({\n name: z.string().describe(\"The recipient's name according to their account registration. This is the name that will appear on transfer receipts.\"),\n type: z.enum([\"nuban\", \"ghipss\", \"mobile_money\", \"basa\", \"authorization\"]).describe(\"Recipient type. Options: 'nuban' (Nigerian bank account), 'ghipss' (Ghanaian bank account), 'mobile_money' (mobile money account), 'basa' (South African bank account), 'authorization' (Paystack authorization code from previous transaction).\"),\n email: z.string().describe(\"Email address of the recipient. Optional but recommended for better record-keeping and communication.\").optional(),\n currency: z.string().describe(\"Currency for the account receiving the transfer. If not provided, defaults to NGN (Nigerian Naira). Common values: 'NGN', 'GHS' (Ghanaian Cedi), 'ZAR' (South African Rand), 'USD'.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"JSON object of custom data. You can store additional information about the recipient here. Maximum of 10 key-value pairs allowed.\").optional(),\n bank_code: z.string().describe(\"Recipient's bank code. Required for bank account types. You can get the list of bank codes by calling the List Banks endpoint. For Nigerian banks, this is typically a 3-digit code (e.g., '044' for Access Bank).\"),\n description: z.string().describe(\"A description for this recipient. Helpful for identifying the purpose or context of this recipient in your records.\").optional(),\n account_number: z.string().describe(\"Recipient's bank account number. Required for bank account types (nuban, ghipss, basa). Must be a valid account number for the specified bank.\"),\n authorization_code: z.string().describe(\"An authorization code from a previous transaction. Required when type is 'authorization'. This allows creating a recipient from a previously authorized payment method.\").optional(),\n}).describe(\"Request model for creating a transfer recipient.\");\nconst PaystackCreateTransferRecipient_TransferRecipientDetailsSchema = z.object({\n bank_code: z.string().describe(\"Bank code\").nullable(),\n bank_name: z.string().describe(\"Name of the recipient's bank\").nullable(),\n account_name: z.string().describe(\"Name on the recipient's account\").nullable(),\n account_number: z.string().describe(\"Recipient's account number\").nullable(),\n authorization_code: z.string().describe(\"Authorization code if applicable\").nullable().optional(),\n}).passthrough().describe(\"Details of the transfer recipient's account.\");\nconst PaystackCreateTransferRecipient_TransferRecipientDataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the recipient\").nullable(),\n name: z.string().describe(\"Name of the recipient\").nullable(),\n type: z.string().describe(\"Type of recipient\").nullable(),\n email: z.string().describe(\"Email address of the recipient\").nullable().optional(),\n active: z.boolean().describe(\"Whether the recipient is active\").nullable(),\n domain: z.string().describe(\"Domain associated with the recipient\").nullable(),\n details: PaystackCreateTransferRecipient_TransferRecipientDetailsSchema.nullable(),\n currency: z.string().describe(\"Currency for the recipient's account\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata associated with the recipient\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the recipient was created\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the recipient was last updated\").nullable(),\n is_deleted: z.boolean().describe(\"Whether the recipient has been deleted\").nullable(),\n description: z.string().describe(\"Description of the recipient\").nullable().optional(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n recipient_code: z.string().describe(\"Unique recipient code that can be used to initiate transfers\").nullable(),\n}).passthrough().describe(\"Transfer recipient data returned by the API.\");\nexport const PaystackCreateTransferRecipientOutput = z.object({\n data: PaystackCreateTransferRecipient_TransferRecipientDataSchema.nullable(),\n status: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n message: z.string().describe(\"Response message from the API\").nullable(),\n}).passthrough().describe(\"Response from creating a transfer recipient.\");\n\nexport const paystackCreateTransferRecipient = action(\"PAYSTACK_CREATE_TRANSFER_RECIPIENT\", {\n slug: \"paystack-create-transfer-recipient\",\n name: \"Create Transfer Recipient\",\n description: \"Tool to create a new recipient for transfers. Use when you need to set up a recipient before initiating a transfer. Note: A duplicate account number will lead to retrieval of the existing record rather than creating a new one.\",\n input: PaystackCreateTransferRecipientInput,\n output: PaystackCreateTransferRecipientOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuC,EAAE,OAAO;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH;CACjJ,MAAM,EAAE,KAAK;EAAC;EAAS;EAAU;EAAgB;EAAQ;CAAe,CAAC,CAAC,CAAC,SAAS,kPAAkP;CACtU,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CAC7I,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qLAAqL,CAAC,CAAC,SAAS;CAC9N,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS;CACnM,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oNAAoN;CACnP,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qHA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