@keystrokehq/paystack 0.1.2 → 0.1.3
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 +4 -4
- package/dist/actions/create-payment-page.d.mts +4 -4
- 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 +3 -3
- package/dist/actions/create-transfer-recipient.d.mts +3 -3
- 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 +8 -7
- package/dist/actions/initialize-transaction.d.cts.map +1 -1
- package/dist/actions/initialize-transaction.d.mts +8 -7
- 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 +3 -3
- package/dist/actions/list-banks.d.mts +3 -3
- 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/package.json +1 -1
|
@@ -22,7 +22,7 @@ const PaystackSetRiskAction_TransactionSchema = z.object({
|
|
|
22
22
|
created_at: z.string().describe("Timestamp when transaction was created").nullable().optional(),
|
|
23
23
|
ip_address: z.string().describe("IP address of the customer").nullable().optional(),
|
|
24
24
|
gateway_response: z.string().describe("Gateway response message").nullable().optional()
|
|
25
|
-
}).describe("Customer transaction details.");
|
|
25
|
+
}).passthrough().describe("Customer transaction details.");
|
|
26
26
|
const PaystackSetRiskAction_SubscriptionSchema = z.object({
|
|
27
27
|
id: z.number().int().describe("Subscription ID").nullable().optional(),
|
|
28
28
|
amount: z.number().int().describe("Subscription amount in kobo").nullable().optional(),
|
|
@@ -31,7 +31,7 @@ const PaystackSetRiskAction_SubscriptionSchema = z.object({
|
|
|
31
31
|
cron_expression: z.string().describe("Cron expression for subscription interval").nullable().optional(),
|
|
32
32
|
next_payment_date: z.string().describe("Next payment date").nullable().optional(),
|
|
33
33
|
subscription_code: z.string().describe("Unique subscription code").nullable().optional()
|
|
34
|
-
}).describe("Customer subscription details.");
|
|
34
|
+
}).passthrough().describe("Customer subscription details.");
|
|
35
35
|
const PaystackSetRiskAction_AuthorizationSchema = z.object({
|
|
36
36
|
bin: z.string().describe("First 6 digits of the card").nullable().optional(),
|
|
37
37
|
bank: z.string().describe("Bank name").nullable().optional(),
|
|
@@ -46,7 +46,7 @@ const PaystackSetRiskAction_AuthorizationSchema = z.object({
|
|
|
46
46
|
account_name: z.string().describe("Account name").nullable().optional(),
|
|
47
47
|
country_code: z.string().describe("Country code of the card").nullable().optional(),
|
|
48
48
|
authorization_code: z.string().describe("Authorization code for recurring charges").nullable().optional()
|
|
49
|
-
}).describe("Payment authorization details.");
|
|
49
|
+
}).passthrough().describe("Payment authorization details.");
|
|
50
50
|
const PaystackSetRiskAction_CustomerDataSchema = z.object({
|
|
51
51
|
id: z.string().describe("Unique customer ID").nullable(),
|
|
52
52
|
email: z.string().describe("Customer's email address").nullable(),
|
|
@@ -65,7 +65,7 @@ const PaystackSetRiskAction_CustomerDataSchema = z.object({
|
|
|
65
65
|
subscriptions: z.array(PaystackSetRiskAction_SubscriptionSchema).describe("List of customer subscriptions").nullable().optional(),
|
|
66
66
|
authorizations: z.array(PaystackSetRiskAction_AuthorizationSchema).describe("List of payment authorizations").nullable().optional(),
|
|
67
67
|
identifications: z.unknown().describe("Customer identification information (nullable)").nullable().optional()
|
|
68
|
-
}).describe("Customer data returned in the response.");
|
|
68
|
+
}).passthrough().describe("Customer data returned in the response.");
|
|
69
69
|
const paystackSetRiskAction = action("PAYSTACK_SET_RISK_ACTION", {
|
|
70
70
|
slug: "paystack-set-risk-action",
|
|
71
71
|
name: "Set Risk Action",
|
|
@@ -75,7 +75,7 @@ const paystackSetRiskAction = action("PAYSTACK_SET_RISK_ACTION", {
|
|
|
75
75
|
data: PaystackSetRiskAction_CustomerDataSchema.nullable(),
|
|
76
76
|
status: z.boolean().describe("Indicates if the request was successful").nullable(),
|
|
77
77
|
message: z.string().describe("Response message from the API").nullable()
|
|
78
|
-
}).describe("Response output after setting a customer's risk action in Paystack.")
|
|
78
|
+
}).passthrough().describe("Response output after setting a customer's risk action in Paystack.")
|
|
79
79
|
});
|
|
80
80
|
//#endregion
|
|
81
81
|
export { paystackSetRiskAction };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-risk-action.mjs","names":[],"sources":["../../src/actions/set-risk-action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackSetRiskActionInput = z.object({\n customer: z.string().describe(\"Customer code or email address to set risk action for\"),\n risk_action: z.enum([\"allow\", \"deny\", \"default\"]).describe(\"Risk action types that can be applied to a customer.\").optional(),\n}).describe(\"Request input for setting a customer's risk action in Paystack.\");\nconst PaystackSetRiskAction_TransactionSchema = z.object({\n id: z.number().int().describe(\"Transaction ID\").nullable().optional(),\n amount: z.number().int().describe(\"Transaction amount in kobo\").nullable().optional(),\n domain: z.string().describe(\"Domain associated with the transaction\").nullable().optional(),\n status: z.string().describe(\"Transaction status\").nullable().optional(),\n channel: z.string().describe(\"Payment channel used\").nullable().optional(),\n message: z.string().describe(\"Transaction message\").nullable().optional(),\n paid_at: z.string().describe(\"Timestamp when payment was made\").nullable().optional(),\n currency: z.string().describe(\"Transaction currency\").nullable().optional(),\n reference: z.string().describe(\"Unique transaction reference\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when transaction was created\").nullable().optional(),\n ip_address: z.string().describe(\"IP address of the customer\").nullable().optional(),\n gateway_response: z.string().describe(\"Gateway response message\").nullable().optional(),\n}).describe(\"Customer transaction details.\");\nconst PaystackSetRiskAction_SubscriptionSchema = z.object({\n id: z.number().int().describe(\"Subscription ID\").nullable().optional(),\n amount: z.number().int().describe(\"Subscription amount in kobo\").nullable().optional(),\n status: z.string().describe(\"Subscription status\").nullable().optional(),\n email_token: z.string().describe(\"Email token for subscription\").nullable().optional(),\n cron_expression: z.string().describe(\"Cron expression for subscription interval\").nullable().optional(),\n next_payment_date: z.string().describe(\"Next payment date\").nullable().optional(),\n subscription_code: z.string().describe(\"Unique subscription code\").nullable().optional(),\n}).describe(\"Customer subscription details.\");\nconst PaystackSetRiskAction_AuthorizationSchema = z.object({\n bin: z.string().describe(\"First 6 digits of the card\").nullable().optional(),\n bank: z.string().describe(\"Bank name\").nullable().optional(),\n brand: z.string().describe(\"Card brand\").nullable().optional(),\n last4: z.string().describe(\"Last 4 digits of the card\").nullable().optional(),\n channel: z.string().describe(\"Payment channel used\").nullable().optional(),\n exp_year: z.string().describe(\"Expiry year\").nullable().optional(),\n reusable: z.boolean().describe(\"Whether the authorization is reusable\").nullable().optional(),\n card_type: z.string().describe(\"Type of card\").nullable().optional(),\n exp_month: z.string().describe(\"Expiry month\").nullable().optional(),\n signature: z.string().describe(\"Authorization signature\").nullable().optional(),\n account_name: z.string().describe(\"Account name\").nullable().optional(),\n country_code: z.string().describe(\"Country code of the card\").nullable().optional(),\n authorization_code: z.string().describe(\"Authorization code for recurring charges\").nullable().optional(),\n}).describe(\"Payment authorization details.\");\nconst PaystackSetRiskAction_CustomerDataSchema = z.object({\n id: z.string().describe(\"Unique customer ID\").nullable(),\n email: z.string().describe(\"Customer's email address\").nullable(),\n phone: z.string().describe(\"Customer's phone number\").nullable().optional(),\n domain: z.string().describe(\"Domain associated with the customer\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata for the customer\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the customer was created\").nullable(),\n last_name: z.string().describe(\"Customer's last name\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the customer was last updated\").nullable(),\n first_name: z.string().describe(\"Customer's first name\").nullable().optional(),\n identified: z.boolean().describe(\"Whether the customer has been identified\").nullable(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n risk_action: z.string().describe(\"Current risk action status for the customer (allow, deny, or default)\").nullable(),\n transactions: z.array(PaystackSetRiskAction_TransactionSchema).describe(\"List of customer transactions\").nullable().optional(),\n customer_code: z.string().describe(\"Unique customer code\").nullable(),\n subscriptions: z.array(PaystackSetRiskAction_SubscriptionSchema).describe(\"List of customer subscriptions\").nullable().optional(),\n authorizations: z.array(PaystackSetRiskAction_AuthorizationSchema).describe(\"List of payment authorizations\").nullable().optional(),\n identifications: z.unknown().describe(\"Customer identification information (nullable)\").nullable().optional(),\n}).describe(\"Customer data returned in the response.\");\nexport const PaystackSetRiskActionOutput = z.object({\n data: PaystackSetRiskAction_CustomerDataSchema.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 output after setting a customer's risk action in Paystack.\");\n\nexport const paystackSetRiskAction = action(\"PAYSTACK_SET_RISK_ACTION\", {\n slug: \"paystack-set-risk-action\",\n name: \"Set Risk Action\",\n description: \"Tool to set a customer's risk action by whitelisting or blacklisting them. Use when you need to apply fraud prevention rules to a specific customer by setting their risk action to 'allow' (whitelist), 'deny' (blacklist), or 'default' (no special action).\",\n input: PaystackSetRiskActionInput,\n output: PaystackSetRiskActionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACrF,aAAa,EAAE,KAAK;EAAC;EAAS;EAAQ;CAAS,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,C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C,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACpE,eAAe,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,gBAAgB,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAOrD,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXyC,EAAE,OAAO;EAClD,MAAM,yCAAyC,SAAS;EACxD,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACjF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACzE,CAAC,CAAC,CAAC,SAAS,qEAOF;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"set-risk-action.mjs","names":[],"sources":["../../src/actions/set-risk-action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackSetRiskActionInput = z.object({\n customer: z.string().describe(\"Customer code or email address to set risk action for\"),\n risk_action: z.enum([\"allow\", \"deny\", \"default\"]).describe(\"Risk action types that can be applied to a customer.\").optional(),\n}).describe(\"Request input for setting a customer's risk action in Paystack.\");\nconst PaystackSetRiskAction_TransactionSchema = z.object({\n id: z.number().int().describe(\"Transaction ID\").nullable().optional(),\n amount: z.number().int().describe(\"Transaction amount in kobo\").nullable().optional(),\n domain: z.string().describe(\"Domain associated with the transaction\").nullable().optional(),\n status: z.string().describe(\"Transaction status\").nullable().optional(),\n channel: z.string().describe(\"Payment channel used\").nullable().optional(),\n message: z.string().describe(\"Transaction message\").nullable().optional(),\n paid_at: z.string().describe(\"Timestamp when payment was made\").nullable().optional(),\n currency: z.string().describe(\"Transaction currency\").nullable().optional(),\n reference: z.string().describe(\"Unique transaction reference\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when transaction was created\").nullable().optional(),\n ip_address: z.string().describe(\"IP address of the customer\").nullable().optional(),\n gateway_response: z.string().describe(\"Gateway response message\").nullable().optional(),\n}).passthrough().describe(\"Customer transaction details.\");\nconst PaystackSetRiskAction_SubscriptionSchema = z.object({\n id: z.number().int().describe(\"Subscription ID\").nullable().optional(),\n amount: z.number().int().describe(\"Subscription amount in kobo\").nullable().optional(),\n status: z.string().describe(\"Subscription status\").nullable().optional(),\n email_token: z.string().describe(\"Email token for subscription\").nullable().optional(),\n cron_expression: z.string().describe(\"Cron expression for subscription interval\").nullable().optional(),\n next_payment_date: z.string().describe(\"Next payment date\").nullable().optional(),\n subscription_code: z.string().describe(\"Unique subscription code\").nullable().optional(),\n}).passthrough().describe(\"Customer subscription details.\");\nconst PaystackSetRiskAction_AuthorizationSchema = z.object({\n bin: z.string().describe(\"First 6 digits of the card\").nullable().optional(),\n bank: z.string().describe(\"Bank name\").nullable().optional(),\n brand: z.string().describe(\"Card brand\").nullable().optional(),\n last4: z.string().describe(\"Last 4 digits of the card\").nullable().optional(),\n channel: z.string().describe(\"Payment channel used\").nullable().optional(),\n exp_year: z.string().describe(\"Expiry year\").nullable().optional(),\n reusable: z.boolean().describe(\"Whether the authorization is reusable\").nullable().optional(),\n card_type: z.string().describe(\"Type of card\").nullable().optional(),\n exp_month: z.string().describe(\"Expiry month\").nullable().optional(),\n signature: z.string().describe(\"Authorization signature\").nullable().optional(),\n account_name: z.string().describe(\"Account name\").nullable().optional(),\n country_code: z.string().describe(\"Country code of the card\").nullable().optional(),\n authorization_code: z.string().describe(\"Authorization code for recurring charges\").nullable().optional(),\n}).passthrough().describe(\"Payment authorization details.\");\nconst PaystackSetRiskAction_CustomerDataSchema = z.object({\n id: z.string().describe(\"Unique customer ID\").nullable(),\n email: z.string().describe(\"Customer's email address\").nullable(),\n phone: z.string().describe(\"Customer's phone number\").nullable().optional(),\n domain: z.string().describe(\"Domain associated with the customer\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata for the customer\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the customer was created\").nullable(),\n last_name: z.string().describe(\"Customer's last name\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the customer was last updated\").nullable(),\n first_name: z.string().describe(\"Customer's first name\").nullable().optional(),\n identified: z.boolean().describe(\"Whether the customer has been identified\").nullable(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n risk_action: z.string().describe(\"Current risk action status for the customer (allow, deny, or default)\").nullable(),\n transactions: z.array(PaystackSetRiskAction_TransactionSchema).describe(\"List of customer transactions\").nullable().optional(),\n customer_code: z.string().describe(\"Unique customer code\").nullable(),\n subscriptions: z.array(PaystackSetRiskAction_SubscriptionSchema).describe(\"List of customer subscriptions\").nullable().optional(),\n authorizations: z.array(PaystackSetRiskAction_AuthorizationSchema).describe(\"List of payment authorizations\").nullable().optional(),\n identifications: z.unknown().describe(\"Customer identification information (nullable)\").nullable().optional(),\n}).passthrough().describe(\"Customer data returned in the response.\");\nexport const PaystackSetRiskActionOutput = z.object({\n data: PaystackSetRiskAction_CustomerDataSchema.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 output after setting a customer's risk action in Paystack.\");\n\nexport const paystackSetRiskAction = action(\"PAYSTACK_SET_RISK_ACTION\", {\n slug: \"paystack-set-risk-action\",\n name: \"Set Risk Action\",\n description: \"Tool to set a customer's risk action by whitelisting or blacklisting them. Use when you need to apply fraud prevention rules to a specific customer by setting their risk action to 'allow' (whitelist), 'deny' (blac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yC;AAOnE,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXyC,EAAE,OAAO;EAClD,MAAM,yCAAyC,SAAS;EACxD,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,qEAOhB;AACV,CAAC"}
|
|
@@ -12,7 +12,7 @@ const PaystackSubmitPhone_CustomerDataSchema = zod.z.object({
|
|
|
12
12
|
first_name: zod.z.string().describe("Customer's first name").nullable().optional(),
|
|
13
13
|
risk_action: zod.z.string().describe("Risk action taken for this customer").nullable(),
|
|
14
14
|
customer_code: zod.z.string().describe("Unique code identifying the customer").nullable()
|
|
15
|
-
}).describe("Customer information for the charge.");
|
|
15
|
+
}).passthrough().describe("Customer information for the charge.");
|
|
16
16
|
const PaystackSubmitPhone_AuthorizationDataSchema = zod.z.object({
|
|
17
17
|
bin: zod.z.string().describe("Bank Identification Number (first 6 digits of card)").nullable(),
|
|
18
18
|
bank: zod.z.string().describe("Bank name that issued the card").nullable(),
|
|
@@ -26,7 +26,7 @@ const PaystackSubmitPhone_AuthorizationDataSchema = zod.z.object({
|
|
|
26
26
|
signature: zod.z.string().describe("Signature for the authorization").nullable(),
|
|
27
27
|
country_code: zod.z.string().describe("Country code of the card issuer").nullable(),
|
|
28
28
|
authorization_code: zod.z.string().describe("Authorization code for the card").nullable()
|
|
29
|
-
}).describe("Authorization details for the charge.");
|
|
29
|
+
}).passthrough().describe("Authorization details for the charge.");
|
|
30
30
|
const PaystackSubmitPhone_ChargeDataSchema = zod.z.object({
|
|
31
31
|
fees: zod.z.number().int().describe("Transaction fees in the smallest currency unit").nullable().optional(),
|
|
32
32
|
amount: zod.z.number().int().describe("Amount charged in the smallest currency unit (kobo for NGN)").nullable(),
|
|
@@ -36,19 +36,19 @@ const PaystackSubmitPhone_ChargeDataSchema = zod.z.object({
|
|
|
36
36
|
message: zod.z.string().describe("Additional message about the transaction").nullable().optional(),
|
|
37
37
|
currency: zod.z.string().describe("Currency code (e.g., NGN, USD)").nullable(),
|
|
38
38
|
customer: PaystackSubmitPhone_CustomerDataSchema.nullable(),
|
|
39
|
-
metadata: zod.z.union([zod.z.number().int(), zod.z.
|
|
39
|
+
metadata: zod.z.union([zod.z.number().int(), zod.z.record(zod.z.string(), zod.z.unknown())]),
|
|
40
40
|
reference: zod.z.string().describe("Unique reference for the transaction").nullable(),
|
|
41
41
|
display_text: zod.z.string().describe("Display text for the charge").nullable().optional(),
|
|
42
42
|
redirect_url: zod.z.string().describe("URL to redirect user to for additional authentication").nullable().optional(),
|
|
43
43
|
authorization: PaystackSubmitPhone_AuthorizationDataSchema.nullable(),
|
|
44
44
|
gateway_response: zod.z.string().describe("Response message from the payment gateway").nullable(),
|
|
45
45
|
transaction_date: zod.z.string().describe("Date and time when the transaction occurred").nullable()
|
|
46
|
-
}).describe("Charge transaction data.");
|
|
46
|
+
}).passthrough().describe("Charge transaction data.");
|
|
47
47
|
const PaystackSubmitPhoneOutput = zod.z.object({
|
|
48
48
|
data: PaystackSubmitPhone_ChargeDataSchema.nullable(),
|
|
49
49
|
status: zod.z.boolean().describe("Indicates if the API request was successful").nullable(),
|
|
50
50
|
message: zod.z.string().describe("Response message from the API").nullable()
|
|
51
|
-
}).describe("Response after submitting phone number for a charge.");
|
|
51
|
+
}).passthrough().describe("Response after submitting phone number for a charge.");
|
|
52
52
|
const paystackSubmitPhone = require_action.action("PAYSTACK_SUBMIT_PHONE", {
|
|
53
53
|
slug: "paystack-submit-phone",
|
|
54
54
|
name: "Submit Phone",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"submit-phone.cjs","names":["z","action"],"sources":["../../src/actions/submit-phone.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackSubmitPhoneInput = z.object({\n phone: z.string().describe(\"Customer's mobile phone number\"),\n reference: z.string().describe(\"The reference of the ongoing transaction\"),\n}).describe(\"Request to submit phone number for an ongoing charge transaction.\");\nconst PaystackSubmitPhone_CustomerDataSchema = z.object({\n email: z.string().describe(\"Customer's email address\").nullable(),\n phone: z.string().describe(\"Customer's phone number\").nullable().optional(),\n last_name: z.string().describe(\"Customer's last name\").nullable().optional(),\n first_name: z.string().describe(\"Customer's first name\").nullable().optional(),\n risk_action: z.string().describe(\"Risk action taken for this customer\").nullable(),\n customer_code: z.string().describe(\"Unique code identifying the customer\").nullable(),\n}).describe(\"Customer information for the charge.\");\nconst PaystackSubmitPhone_AuthorizationDataSchema = z.object({\n bin: z.string().describe(\"Bank Identification Number (first 6 digits of card)\").nullable(),\n bank: z.string().describe(\"Bank name that issued the card\").nullable(),\n brand: z.string().describe(\"Card brand (e.g., Visa, Mastercard)\").nullable(),\n last4: z.string().describe(\"Last 4 digits of the card number\").nullable(),\n channel: z.string().describe(\"Channel used for authorization (e.g., card)\").nullable(),\n exp_year: z.string().describe(\"Expiry year of the card\").nullable(),\n reusable: z.boolean().describe(\"Whether the authorization can be reused\").nullable(),\n card_type: z.string().describe(\"Type of card (e.g., visa, mastercard)\").nullable(),\n exp_month: z.string().describe(\"Expiry month of the card\").nullable(),\n signature: z.string().describe(\"Signature for the authorization\").nullable(),\n country_code: z.string().describe(\"Country code of the card issuer\").nullable(),\n authorization_code: z.string().describe(\"Authorization code for the card\").nullable(),\n}).describe(\"Authorization details for the charge.\");\nconst PaystackSubmitPhone_ChargeDataSchema = z.object({\n fees: z.number().int().describe(\"Transaction fees in the smallest currency unit\").nullable().optional(),\n amount: z.number().int().describe(\"Amount charged in the smallest currency unit (kobo for NGN)\").nullable(),\n domain: z.string().describe(\"Domain for the transaction (test or live)\").nullable(),\n status: z.string().describe(\"Status of the charge (e.g., pending, success, failed)\").nullable(),\n channel: z.string().describe(\"Channel used for the transaction\").nullable(),\n message: z.string().describe(\"Additional message about the transaction\").nullable().optional(),\n currency: z.string().describe(\"Currency code (e.g., NGN, USD)\").nullable(),\n customer: PaystackSubmitPhone_CustomerDataSchema.nullable(),\n metadata: z.union([z.number().int(), z.
|
|
1
|
+
{"version":3,"file":"submit-phone.cjs","names":["z","action"],"sources":["../../src/actions/submit-phone.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackSubmitPhoneInput = z.object({\n phone: z.string().describe(\"Customer's mobile phone number\"),\n reference: z.string().describe(\"The reference of the ongoing transaction\"),\n}).describe(\"Request to submit phone number for an ongoing charge transaction.\");\nconst PaystackSubmitPhone_CustomerDataSchema = z.object({\n email: z.string().describe(\"Customer's email address\").nullable(),\n phone: z.string().describe(\"Customer's phone number\").nullable().optional(),\n last_name: z.string().describe(\"Customer's last name\").nullable().optional(),\n first_name: z.string().describe(\"Customer's first name\").nullable().optional(),\n risk_action: z.string().describe(\"Risk action taken for this customer\").nullable(),\n customer_code: z.string().describe(\"Unique code identifying the customer\").nullable(),\n}).passthrough().describe(\"Customer information for the charge.\");\nconst PaystackSubmitPhone_AuthorizationDataSchema = z.object({\n bin: z.string().describe(\"Bank Identification Number (first 6 digits of card)\").nullable(),\n bank: z.string().describe(\"Bank name that issued the card\").nullable(),\n brand: z.string().describe(\"Card brand (e.g., Visa, Mastercard)\").nullable(),\n last4: z.string().describe(\"Last 4 digits of the card number\").nullable(),\n channel: z.string().describe(\"Channel used for authorization (e.g., card)\").nullable(),\n exp_year: z.string().describe(\"Expiry year of the card\").nullable(),\n reusable: z.boolean().describe(\"Whether the authorization can be reused\").nullable(),\n card_type: z.string().describe(\"Type of card (e.g., visa, mastercard)\").nullable(),\n exp_month: z.string().describe(\"Expiry month of the card\").nullable(),\n signature: z.string().describe(\"Signature for the authorization\").nullable(),\n country_code: z.string().describe(\"Country code of the card issuer\").nullable(),\n authorization_code: z.string().describe(\"Authorization code for the card\").nullable(),\n}).passthrough().describe(\"Authorization details for the charge.\");\nconst PaystackSubmitPhone_ChargeDataSchema = z.object({\n fees: z.number().int().describe(\"Transaction fees in the smallest currency unit\").nullable().optional(),\n amount: z.number().int().describe(\"Amount charged in the smallest currency unit (kobo for NGN)\").nullable(),\n domain: z.string().describe(\"Domain for the transaction (test or live)\").nullable(),\n status: z.string().describe(\"Status of the charge (e.g., pending, success, failed)\").nullable(),\n channel: z.string().describe(\"Channel used for the transaction\").nullable(),\n message: z.string().describe(\"Additional message about the transaction\").nullable().optional(),\n currency: z.string().describe(\"Currency code (e.g., NGN, USD)\").nullable(),\n customer: PaystackSubmitPhone_CustomerDataSchema.nullable(),\n metadata: z.union([z.number().int(), z.record(z.string(), z.unknown())]),\n reference: z.string().describe(\"Unique reference for the transaction\").nullable(),\n display_text: z.string().describe(\"Display text for the charge\").nullable().optional(),\n redirect_url: z.string().describe(\"URL to redirect user to for additional authentication\").nullable().optional(),\n authorization: PaystackSubmitPhone_AuthorizationDataSchema.nullable(),\n gateway_response: z.string().describe(\"Response message from the payment gateway\").nullable(),\n transaction_date: z.string().describe(\"Date and time when the transaction occurred\").nullable(),\n}).passthrough().describe(\"Charge transaction data.\");\nexport const PaystackSubmitPhoneOutput = z.object({\n data: PaystackSubmitPhone_ChargeDataSchema.nullable(),\n status: z.boolean().describe(\"Indicates if the API request was successful\").nullable(),\n message: z.string().describe(\"Response message from the API\").nullable(),\n}).passthrough().describe(\"Response after submitting phone number for a charge.\");\n\nexport const paystackSubmitPhone = action(\"PAYSTACK_SUBMIT_PHONE\", {\n slug: \"paystack-submit-phone\",\n name: \"Submit Phone\",\n description: \"Tool to submit phone number when requested during a charge transaction. Use this when a charge requires phone number submission for verification or authentication purposes.\",\n input: PaystackSubmitPhoneInput,\n output: PaystackSubmitPhoneOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC3D,WAAWA,I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,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC;CACvE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAChF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,eAAe,4CAA4C,SAAS;CACpE,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC5F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0BAA0B;AACpD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAM,qCAAqC,SAAS;CACpD,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACrF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -21,8 +21,8 @@ declare const PaystackSubmitPhoneOutput: z.ZodObject<{
|
|
|
21
21
|
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
risk_action: z.ZodNullable<z.ZodString>;
|
|
23
23
|
customer_code: z.ZodNullable<z.ZodString>;
|
|
24
|
-
}, z.core.$
|
|
25
|
-
metadata: z.ZodUnion<readonly [z.ZodNumber, z.
|
|
24
|
+
}, z.core.$loose>>;
|
|
25
|
+
metadata: z.ZodUnion<readonly [z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
|
|
26
26
|
reference: z.ZodNullable<z.ZodString>;
|
|
27
27
|
display_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
redirect_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -39,13 +39,13 @@ declare const PaystackSubmitPhoneOutput: z.ZodObject<{
|
|
|
39
39
|
signature: z.ZodNullable<z.ZodString>;
|
|
40
40
|
country_code: z.ZodNullable<z.ZodString>;
|
|
41
41
|
authorization_code: z.ZodNullable<z.ZodString>;
|
|
42
|
-
}, z.core.$
|
|
42
|
+
}, z.core.$loose>>;
|
|
43
43
|
gateway_response: z.ZodNullable<z.ZodString>;
|
|
44
44
|
transaction_date: z.ZodNullable<z.ZodString>;
|
|
45
|
-
}, z.core.$
|
|
45
|
+
}, z.core.$loose>>;
|
|
46
46
|
status: z.ZodNullable<z.ZodBoolean>;
|
|
47
47
|
message: z.ZodNullable<z.ZodString>;
|
|
48
|
-
}, z.core.$
|
|
48
|
+
}, z.core.$loose>;
|
|
49
49
|
declare const paystackSubmitPhone: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
50
50
|
phone: string;
|
|
51
51
|
reference: string;
|
|
@@ -21,8 +21,8 @@ declare const PaystackSubmitPhoneOutput: z.ZodObject<{
|
|
|
21
21
|
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
risk_action: z.ZodNullable<z.ZodString>;
|
|
23
23
|
customer_code: z.ZodNullable<z.ZodString>;
|
|
24
|
-
}, z.core.$
|
|
25
|
-
metadata: z.ZodUnion<readonly [z.ZodNumber, z.
|
|
24
|
+
}, z.core.$loose>>;
|
|
25
|
+
metadata: z.ZodUnion<readonly [z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
|
|
26
26
|
reference: z.ZodNullable<z.ZodString>;
|
|
27
27
|
display_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
redirect_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -39,13 +39,13 @@ declare const PaystackSubmitPhoneOutput: z.ZodObject<{
|
|
|
39
39
|
signature: z.ZodNullable<z.ZodString>;
|
|
40
40
|
country_code: z.ZodNullable<z.ZodString>;
|
|
41
41
|
authorization_code: z.ZodNullable<z.ZodString>;
|
|
42
|
-
}, z.core.$
|
|
42
|
+
}, z.core.$loose>>;
|
|
43
43
|
gateway_response: z.ZodNullable<z.ZodString>;
|
|
44
44
|
transaction_date: z.ZodNullable<z.ZodString>;
|
|
45
|
-
}, z.core.$
|
|
45
|
+
}, z.core.$loose>>;
|
|
46
46
|
status: z.ZodNullable<z.ZodBoolean>;
|
|
47
47
|
message: z.ZodNullable<z.ZodString>;
|
|
48
|
-
}, z.core.$
|
|
48
|
+
}, z.core.$loose>;
|
|
49
49
|
declare const paystackSubmitPhone: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
50
50
|
phone: string;
|
|
51
51
|
reference: string;
|
|
@@ -12,7 +12,7 @@ const PaystackSubmitPhone_CustomerDataSchema = z.object({
|
|
|
12
12
|
first_name: z.string().describe("Customer's first name").nullable().optional(),
|
|
13
13
|
risk_action: z.string().describe("Risk action taken for this customer").nullable(),
|
|
14
14
|
customer_code: z.string().describe("Unique code identifying the customer").nullable()
|
|
15
|
-
}).describe("Customer information for the charge.");
|
|
15
|
+
}).passthrough().describe("Customer information for the charge.");
|
|
16
16
|
const PaystackSubmitPhone_AuthorizationDataSchema = z.object({
|
|
17
17
|
bin: z.string().describe("Bank Identification Number (first 6 digits of card)").nullable(),
|
|
18
18
|
bank: z.string().describe("Bank name that issued the card").nullable(),
|
|
@@ -26,7 +26,7 @@ const PaystackSubmitPhone_AuthorizationDataSchema = z.object({
|
|
|
26
26
|
signature: z.string().describe("Signature for the authorization").nullable(),
|
|
27
27
|
country_code: z.string().describe("Country code of the card issuer").nullable(),
|
|
28
28
|
authorization_code: z.string().describe("Authorization code for the card").nullable()
|
|
29
|
-
}).describe("Authorization details for the charge.");
|
|
29
|
+
}).passthrough().describe("Authorization details for the charge.");
|
|
30
30
|
const PaystackSubmitPhone_ChargeDataSchema = z.object({
|
|
31
31
|
fees: z.number().int().describe("Transaction fees in the smallest currency unit").nullable().optional(),
|
|
32
32
|
amount: z.number().int().describe("Amount charged in the smallest currency unit (kobo for NGN)").nullable(),
|
|
@@ -36,14 +36,14 @@ const PaystackSubmitPhone_ChargeDataSchema = z.object({
|
|
|
36
36
|
message: z.string().describe("Additional message about the transaction").nullable().optional(),
|
|
37
37
|
currency: z.string().describe("Currency code (e.g., NGN, USD)").nullable(),
|
|
38
38
|
customer: PaystackSubmitPhone_CustomerDataSchema.nullable(),
|
|
39
|
-
metadata: z.union([z.number().int(), z.
|
|
39
|
+
metadata: z.union([z.number().int(), z.record(z.string(), z.unknown())]),
|
|
40
40
|
reference: z.string().describe("Unique reference for the transaction").nullable(),
|
|
41
41
|
display_text: z.string().describe("Display text for the charge").nullable().optional(),
|
|
42
42
|
redirect_url: z.string().describe("URL to redirect user to for additional authentication").nullable().optional(),
|
|
43
43
|
authorization: PaystackSubmitPhone_AuthorizationDataSchema.nullable(),
|
|
44
44
|
gateway_response: z.string().describe("Response message from the payment gateway").nullable(),
|
|
45
45
|
transaction_date: z.string().describe("Date and time when the transaction occurred").nullable()
|
|
46
|
-
}).describe("Charge transaction data.");
|
|
46
|
+
}).passthrough().describe("Charge transaction data.");
|
|
47
47
|
const paystackSubmitPhone = action("PAYSTACK_SUBMIT_PHONE", {
|
|
48
48
|
slug: "paystack-submit-phone",
|
|
49
49
|
name: "Submit Phone",
|
|
@@ -53,7 +53,7 @@ const paystackSubmitPhone = action("PAYSTACK_SUBMIT_PHONE", {
|
|
|
53
53
|
data: PaystackSubmitPhone_ChargeDataSchema.nullable(),
|
|
54
54
|
status: z.boolean().describe("Indicates if the API request was successful").nullable(),
|
|
55
55
|
message: z.string().describe("Response message from the API").nullable()
|
|
56
|
-
}).describe("Response after submitting phone number for a charge.")
|
|
56
|
+
}).passthrough().describe("Response after submitting phone number for a charge.")
|
|
57
57
|
});
|
|
58
58
|
//#endregion
|
|
59
59
|
export { paystackSubmitPhone };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"submit-phone.mjs","names":[],"sources":["../../src/actions/submit-phone.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackSubmitPhoneInput = z.object({\n phone: z.string().describe(\"Customer's mobile phone number\"),\n reference: z.string().describe(\"The reference of the ongoing transaction\"),\n}).describe(\"Request to submit phone number for an ongoing charge transaction.\");\nconst PaystackSubmitPhone_CustomerDataSchema = z.object({\n email: z.string().describe(\"Customer's email address\").nullable(),\n phone: z.string().describe(\"Customer's phone number\").nullable().optional(),\n last_name: z.string().describe(\"Customer's last name\").nullable().optional(),\n first_name: z.string().describe(\"Customer's first name\").nullable().optional(),\n risk_action: z.string().describe(\"Risk action taken for this customer\").nullable(),\n customer_code: z.string().describe(\"Unique code identifying the customer\").nullable(),\n}).describe(\"Customer information for the charge.\");\nconst PaystackSubmitPhone_AuthorizationDataSchema = z.object({\n bin: z.string().describe(\"Bank Identification Number (first 6 digits of card)\").nullable(),\n bank: z.string().describe(\"Bank name that issued the card\").nullable(),\n brand: z.string().describe(\"Card brand (e.g., Visa, Mastercard)\").nullable(),\n last4: z.string().describe(\"Last 4 digits of the card number\").nullable(),\n channel: z.string().describe(\"Channel used for authorization (e.g., card)\").nullable(),\n exp_year: z.string().describe(\"Expiry year of the card\").nullable(),\n reusable: z.boolean().describe(\"Whether the authorization can be reused\").nullable(),\n card_type: z.string().describe(\"Type of card (e.g., visa, mastercard)\").nullable(),\n exp_month: z.string().describe(\"Expiry month of the card\").nullable(),\n signature: z.string().describe(\"Signature for the authorization\").nullable(),\n country_code: z.string().describe(\"Country code of the card issuer\").nullable(),\n authorization_code: z.string().describe(\"Authorization code for the card\").nullable(),\n}).describe(\"Authorization details for the charge.\");\nconst PaystackSubmitPhone_ChargeDataSchema = z.object({\n fees: z.number().int().describe(\"Transaction fees in the smallest currency unit\").nullable().optional(),\n amount: z.number().int().describe(\"Amount charged in the smallest currency unit (kobo for NGN)\").nullable(),\n domain: z.string().describe(\"Domain for the transaction (test or live)\").nullable(),\n status: z.string().describe(\"Status of the charge (e.g., pending, success, failed)\").nullable(),\n channel: z.string().describe(\"Channel used for the transaction\").nullable(),\n message: z.string().describe(\"Additional message about the transaction\").nullable().optional(),\n currency: z.string().describe(\"Currency code (e.g., NGN, USD)\").nullable(),\n customer: PaystackSubmitPhone_CustomerDataSchema.nullable(),\n metadata: z.union([z.number().int(), z.
|
|
1
|
+
{"version":3,"file":"submit-phone.mjs","names":[],"sources":["../../src/actions/submit-phone.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackSubmitPhoneInput = z.object({\n phone: z.string().describe(\"Customer's mobile phone number\"),\n reference: z.string().describe(\"The reference of the ongoing transaction\"),\n}).describe(\"Request to submit phone number for an ongoing charge transaction.\");\nconst PaystackSubmitPhone_CustomerDataSchema = z.object({\n email: z.string().describe(\"Customer's email address\").nullable(),\n phone: z.string().describe(\"Customer's phone number\").nullable().optional(),\n last_name: z.string().describe(\"Customer's last name\").nullable().optional(),\n first_name: z.string().describe(\"Customer's first name\").nullable().optional(),\n risk_action: z.string().describe(\"Risk action taken for this customer\").nullable(),\n customer_code: z.string().describe(\"Unique code identifying the customer\").nullable(),\n}).passthrough().describe(\"Customer information for the charge.\");\nconst PaystackSubmitPhone_AuthorizationDataSchema = z.object({\n bin: z.string().describe(\"Bank Identification Number (first 6 digits of card)\").nullable(),\n bank: z.string().describe(\"Bank name that issued the card\").nullable(),\n brand: z.string().describe(\"Card brand (e.g., Visa, Mastercard)\").nullable(),\n last4: z.string().describe(\"Last 4 digits of the card number\").nullable(),\n channel: z.string().describe(\"Channel used for authorization (e.g., card)\").nullable(),\n exp_year: z.string().describe(\"Expiry year of the card\").nullable(),\n reusable: z.boolean().describe(\"Whether the authorization can be reused\").nullable(),\n card_type: z.string().describe(\"Type of card (e.g., visa, mastercard)\").nullable(),\n exp_month: z.string().describe(\"Expiry month of the card\").nullable(),\n signature: z.string().describe(\"Signature for the authorization\").nullable(),\n country_code: z.string().describe(\"Country code of the card issuer\").nullable(),\n authorization_code: z.string().describe(\"Authorization code for the card\").nullable(),\n}).passthrough().describe(\"Authorization details for the charge.\");\nconst PaystackSubmitPhone_ChargeDataSchema = z.object({\n fees: z.number().int().describe(\"Transaction fees in the smallest currency unit\").nullable().optional(),\n amount: z.number().int().describe(\"Amount charged in the smallest currency unit (kobo for NGN)\").nullable(),\n domain: z.string().describe(\"Domain for the transaction (test or live)\").nullable(),\n status: z.string().describe(\"Status of the charge (e.g., pending, success, failed)\").nullable(),\n channel: z.string().describe(\"Channel used for the transaction\").nullable(),\n message: z.string().describe(\"Additional message about the transaction\").nullable().optional(),\n currency: z.string().describe(\"Currency code (e.g., NGN, USD)\").nullable(),\n customer: PaystackSubmitPhone_CustomerDataSchema.nullable(),\n metadata: z.union([z.number().int(), z.record(z.string(), z.unknown())]),\n reference: z.string().describe(\"Unique reference for the transaction\").nullable(),\n display_text: z.string().describe(\"Display text for the charge\").nullable().optional(),\n redirect_url: z.string().describe(\"URL to redirect user to for additional authentication\").nullable().optional(),\n authorization: PaystackSubmitPhone_AuthorizationDataSchema.nullable(),\n gateway_response: z.string().describe(\"Response message from the payment gateway\").nullable(),\n transaction_date: z.string().describe(\"Date and time when the transaction occurred\").nullable(),\n}).passthrough().describe(\"Charge transaction data.\");\nexport const PaystackSubmitPhoneOutput = z.object({\n data: PaystackSubmitPhone_ChargeDataSchema.nullable(),\n status: z.boolean().describe(\"Indicates if the API request was successful\").nullable(),\n message: z.string().describe(\"Response message from the API\").nullable(),\n}).passthrough().describe(\"Response after submitting phone number for a charge.\");\n\nexport const paystackSubmitPhone = action(\"PAYSTACK_SUBMIT_PHONE\", {\n slug: \"paystack-submit-phone\",\n name: \"Submit Phone\",\n description: \"Tool to submit phone number when requested during a charge transaction. Use this when a charge requires phone number submission for verification or authentication purposes.\",\n input: PaystackSubmitPhoneInput,\n output: PaystackSubmitPhoneOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC3D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;AAC3E,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,yCAAyC,EAAE,OAAO;CACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACjF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAM,8CAA8C,EAAE,OAAO;CAC3D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC3E,OAAO,EAAE,OAA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,CAAC,CAAC,SAAS;CACzE,UAAU,uCAAuC,SAAS;CAC1D,UAAU,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC;CACvE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAChF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,eAAe,4CAA4C,SAAS;CACpE,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC5F,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0BAA0B;AAOpD,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXuC,EAAE,OAAO;EAChD,MAAM,qCAAqC,SAAS;EACpD,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACrF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ const PaystackTriggerDirectDebitActivationChargeInput = zod.z.object({
|
|
|
8
8
|
const PaystackTriggerDirectDebitActivationChargeOutput = zod.z.object({
|
|
9
9
|
status: zod.z.boolean().describe("Indicates whether the activation charge request was successfully queued. True means the mandate is queued for retry.").nullable(),
|
|
10
10
|
message: zod.z.string().describe("Human-readable message describing the outcome of the activation charge request.").nullable()
|
|
11
|
-
}).describe("Response model for direct debit activation charge action.");
|
|
11
|
+
}).passthrough().describe("Response model for direct debit activation charge action.");
|
|
12
12
|
const paystackTriggerDirectDebitActivationCharge = require_action.action("PAYSTACK_TRIGGER_DIRECT_DEBIT_ACTIVATION_CHARGE", {
|
|
13
13
|
slug: "paystack-trigger-direct-debit-activation-charge",
|
|
14
14
|
name: "Trigger direct debit activation charge",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trigger-direct-debit-activation-charge.cjs","names":["z","action"],"sources":["../../src/actions/trigger-direct-debit-activation-charge.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackTriggerDirectDebitActivationChargeInput = z.object({\n id: z.number().int().describe(\"The customer ID attached to the authorization. This identifies the customer whose direct debit mandate needs activation.\"),\n authorization_id: z.number().int().describe(\"The authorization ID obtained from the direct debit initiation response. This identifies the specific mandate to activate.\"),\n}).describe(\"Request model for triggering an activation charge on an inactive direct debit mandate.\");\nexport const PaystackTriggerDirectDebitActivationChargeOutput = z.object({\n status: z.boolean().describe(\"Indicates whether the activation charge request was successfully queued. True means the mandate is queued for retry.\").nullable(),\n message: z.string().describe(\"Human-readable message describing the outcome of the activation charge request.\").nullable(),\n}).describe(\"Response model for direct debit activation charge action.\");\n\nexport const paystackTriggerDirectDebitActivationCharge = action(\"PAYSTACK_TRIGGER_DIRECT_DEBIT_ACTIVATION_CHARGE\", {\n slug: \"paystack-trigger-direct-debit-activation-charge\",\n name: \"Trigger direct debit activation charge\",\n description: \"Tool to trigger an activation charge on an inactive direct debit mandate for a customer. Use when a mandate needs to be reactivated or retried.\",\n input: PaystackTriggerDirectDebitActivationChargeInput,\n output: PaystackTriggerDirectDebitActivationChargeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kDAAkDA,IAAAA,EAAE,OAAO;CACtE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0HAA0H;CACxJ,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4HAA4H;AAC1K,CAAC,CAAC,CAAC,SAAS,wFAAwF;AACpG,MAAa,mDAAmDA,IAAAA,EAAE,OAAO;CACvE,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;CAC9J,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,SAAS,2DAA2D;
|
|
1
|
+
{"version":3,"file":"trigger-direct-debit-activation-charge.cjs","names":["z","action"],"sources":["../../src/actions/trigger-direct-debit-activation-charge.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackTriggerDirectDebitActivationChargeInput = z.object({\n id: z.number().int().describe(\"The customer ID attached to the authorization. This identifies the customer whose direct debit mandate needs activation.\"),\n authorization_id: z.number().int().describe(\"The authorization ID obtained from the direct debit initiation response. This identifies the specific mandate to activate.\"),\n}).describe(\"Request model for triggering an activation charge on an inactive direct debit mandate.\");\nexport const PaystackTriggerDirectDebitActivationChargeOutput = z.object({\n status: z.boolean().describe(\"Indicates whether the activation charge request was successfully queued. True means the mandate is queued for retry.\").nullable(),\n message: z.string().describe(\"Human-readable message describing the outcome of the activation charge request.\").nullable(),\n}).passthrough().describe(\"Response model for direct debit activation charge action.\");\n\nexport const paystackTriggerDirectDebitActivationCharge = action(\"PAYSTACK_TRIGGER_DIRECT_DEBIT_ACTIVATION_CHARGE\", {\n slug: \"paystack-trigger-direct-debit-activation-charge\",\n name: \"Trigger direct debit activation charge\",\n description: \"Tool to trigger an activation charge on an inactive direct debit mandate for a customer. Use when a mandate needs to be reactivated or retried.\",\n input: PaystackTriggerDirectDebitActivationChargeInput,\n output: PaystackTriggerDirectDebitActivationChargeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kDAAkDA,IAAAA,EAAE,OAAO;CACtE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0HAA0H;CACxJ,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4HAA4H;AAC1K,CAAC,CAAC,CAAC,SAAS,wFAAwF;AACpG,MAAa,mDAAmDA,IAAAA,EAAE,OAAO;CACvE,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;CAC9J,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,6CAA6CC,eAAAA,OAAO,mDAAmD;CAClH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ declare const PaystackTriggerDirectDebitActivationChargeInput: z.ZodObject<{
|
|
|
8
8
|
declare const PaystackTriggerDirectDebitActivationChargeOutput: z.ZodObject<{
|
|
9
9
|
status: z.ZodNullable<z.ZodBoolean>;
|
|
10
10
|
message: z.ZodNullable<z.ZodString>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const paystackTriggerDirectDebitActivationCharge: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
id: number;
|
|
14
14
|
authorization_id: number;
|
|
@@ -8,7 +8,7 @@ declare const PaystackTriggerDirectDebitActivationChargeInput: z.ZodObject<{
|
|
|
8
8
|
declare const PaystackTriggerDirectDebitActivationChargeOutput: z.ZodObject<{
|
|
9
9
|
status: z.ZodNullable<z.ZodBoolean>;
|
|
10
10
|
message: z.ZodNullable<z.ZodString>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const paystackTriggerDirectDebitActivationCharge: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
id: number;
|
|
14
14
|
authorization_id: number;
|
|
@@ -11,7 +11,7 @@ const paystackTriggerDirectDebitActivationCharge = action("PAYSTACK_TRIGGER_DIRE
|
|
|
11
11
|
output: z.object({
|
|
12
12
|
status: z.boolean().describe("Indicates whether the activation charge request was successfully queued. True means the mandate is queued for retry.").nullable(),
|
|
13
13
|
message: z.string().describe("Human-readable message describing the outcome of the activation charge request.").nullable()
|
|
14
|
-
}).describe("Response model for direct debit activation charge action.")
|
|
14
|
+
}).passthrough().describe("Response model for direct debit activation charge action.")
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
17
17
|
export { paystackTriggerDirectDebitActivationCharge };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trigger-direct-debit-activation-charge.mjs","names":[],"sources":["../../src/actions/trigger-direct-debit-activation-charge.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackTriggerDirectDebitActivationChargeInput = z.object({\n id: z.number().int().describe(\"The customer ID attached to the authorization. This identifies the customer whose direct debit mandate needs activation.\"),\n authorization_id: z.number().int().describe(\"The authorization ID obtained from the direct debit initiation response. This identifies the specific mandate to activate.\"),\n}).describe(\"Request model for triggering an activation charge on an inactive direct debit mandate.\");\nexport const PaystackTriggerDirectDebitActivationChargeOutput = z.object({\n status: z.boolean().describe(\"Indicates whether the activation charge request was successfully queued. True means the mandate is queued for retry.\").nullable(),\n message: z.string().describe(\"Human-readable message describing the outcome of the activation charge request.\").nullable(),\n}).describe(\"Response model for direct debit activation charge action.\");\n\nexport const paystackTriggerDirectDebitActivationCharge = action(\"PAYSTACK_TRIGGER_DIRECT_DEBIT_ACTIVATION_CHARGE\", {\n slug: \"paystack-trigger-direct-debit-activation-charge\",\n name: \"Trigger direct debit activation charge\",\n description: \"Tool to trigger an activation charge on an inactive direct debit mandate for a customer. Use when a mandate needs to be reactivated or retried.\",\n input: PaystackTriggerDirectDebitActivationChargeInput,\n output: PaystackTriggerDirectDebitActivationChargeOutput,\n});\n"],"mappings":";;AAaA,MAAa,6CAA6C,OAAO,mDAAmD;CAClH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb6D,EAAE,OAAO;EACtE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0HAA0H;EACxJ,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4HAA4H;CAC1K,CAAC,CAAC,CAAC,SAAS,wFAUH;CACP,QAV8D,EAAE,OAAO;EACvE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;EAC9J,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC3H,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"trigger-direct-debit-activation-charge.mjs","names":[],"sources":["../../src/actions/trigger-direct-debit-activation-charge.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackTriggerDirectDebitActivationChargeInput = z.object({\n id: z.number().int().describe(\"The customer ID attached to the authorization. This identifies the customer whose direct debit mandate needs activation.\"),\n authorization_id: z.number().int().describe(\"The authorization ID obtained from the direct debit initiation response. This identifies the specific mandate to activate.\"),\n}).describe(\"Request model for triggering an activation charge on an inactive direct debit mandate.\");\nexport const PaystackTriggerDirectDebitActivationChargeOutput = z.object({\n status: z.boolean().describe(\"Indicates whether the activation charge request was successfully queued. True means the mandate is queued for retry.\").nullable(),\n message: z.string().describe(\"Human-readable message describing the outcome of the activation charge request.\").nullable(),\n}).passthrough().describe(\"Response model for direct debit activation charge action.\");\n\nexport const paystackTriggerDirectDebitActivationCharge = action(\"PAYSTACK_TRIGGER_DIRECT_DEBIT_ACTIVATION_CHARGE\", {\n slug: \"paystack-trigger-direct-debit-activation-charge\",\n name: \"Trigger direct debit activation charge\",\n description: \"Tool to trigger an activation charge on an inactive direct debit mandate for a customer. Use when a mandate needs to be reactivated or retried.\",\n input: PaystackTriggerDirectDebitActivationChargeInput,\n output: PaystackTriggerDirectDebitActivationChargeOutput,\n});\n"],"mappings":";;AAaA,MAAa,6CAA6C,OAAO,mDAAmD;CAClH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb6D,EAAE,OAAO;EACtE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0HAA0H;EACxJ,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4HAA4H;CAC1K,CAAC,CAAC,CAAC,SAAS,wFAUH;CACP,QAV8D,EAAE,OAAO;EACvE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;EAC9J,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAOhB;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ const PaystackUnassignDestinationFromVirtualTerminalInput = zod.z.object({
|
|
|
8
8
|
const PaystackUnassignDestinationFromVirtualTerminalOutput = zod.z.object({
|
|
9
9
|
status: zod.z.boolean().describe("Indicates whether the API call was successful. true for success, false for failure").nullable(),
|
|
10
10
|
message: zod.z.string().describe("Human-readable message describing the result of the operation").nullable()
|
|
11
|
-
}).describe("Response model for unassigning destinations from a Virtual Terminal.");
|
|
11
|
+
}).passthrough().describe("Response model for unassigning destinations from a Virtual Terminal.");
|
|
12
12
|
const paystackUnassignDestinationFromVirtualTerminal = require_action.action("PAYSTACK_UNASSIGN_DESTINATION_FROM_VIRTUAL_TERMINAL", {
|
|
13
13
|
slug: "paystack-unassign-destination-from-virtual-terminal",
|
|
14
14
|
name: "Unassign Destination from Virtual Terminal",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unassign-destination-from-virtual-terminal.cjs","names":["z","action"],"sources":["../../src/actions/unassign-destination-from-virtual-terminal.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackUnassignDestinationFromVirtualTerminalInput = z.object({\n code: z.string().describe(\"Code of the Virtual Terminal to unassign destinations from\"),\n targets: z.array(z.string()).describe(\"Array of WhatsApp numbers in international format (E.164) to unassign from the Virtual Terminal, e.g., +2548012345678\"),\n}).describe(\"Request model for unassigning destinations from a Virtual Terminal.\");\nexport const PaystackUnassignDestinationFromVirtualTerminalOutput = z.object({\n status: z.boolean().describe(\"Indicates whether the API call was successful. true for success, false for failure\").nullable(),\n message: z.string().describe(\"Human-readable message describing the result of the operation\").nullable(),\n}).describe(\"Response model for unassigning destinations from a Virtual Terminal.\");\n\nexport const paystackUnassignDestinationFromVirtualTerminal = action(\"PAYSTACK_UNASSIGN_DESTINATION_FROM_VIRTUAL_TERMINAL\", {\n slug: \"paystack-unassign-destination-from-virtual-terminal\",\n name: \"Unassign Destination from Virtual Terminal\",\n description: \"Tool to unassign WhatsApp destinations from a Virtual Terminal. Use when you need to remove recipients who should no longer receive payment notifications for a specific Virtual Terminal.\",\n input: PaystackUnassignDestinationFromVirtualTerminalInput,\n output: PaystackUnassignDestinationFromVirtualTerminalOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sDAAsDA,IAAAA,EAAE,OAAO;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACtF,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uHAAuH;AAC/J,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAa,uDAAuDA,IAAAA,EAAE,OAAO;CAC3E,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC5H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,sEAAsE;
|
|
1
|
+
{"version":3,"file":"unassign-destination-from-virtual-terminal.cjs","names":["z","action"],"sources":["../../src/actions/unassign-destination-from-virtual-terminal.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackUnassignDestinationFromVirtualTerminalInput = z.object({\n code: z.string().describe(\"Code of the Virtual Terminal to unassign destinations from\"),\n targets: z.array(z.string()).describe(\"Array of WhatsApp numbers in international format (E.164) to unassign from the Virtual Terminal, e.g., +2548012345678\"),\n}).describe(\"Request model for unassigning destinations from a Virtual Terminal.\");\nexport const PaystackUnassignDestinationFromVirtualTerminalOutput = z.object({\n status: z.boolean().describe(\"Indicates whether the API call was successful. true for success, false for failure\").nullable(),\n message: z.string().describe(\"Human-readable message describing the result of the operation\").nullable(),\n}).passthrough().describe(\"Response model for unassigning destinations from a Virtual Terminal.\");\n\nexport const paystackUnassignDestinationFromVirtualTerminal = action(\"PAYSTACK_UNASSIGN_DESTINATION_FROM_VIRTUAL_TERMINAL\", {\n slug: \"paystack-unassign-destination-from-virtual-terminal\",\n name: \"Unassign Destination from Virtual Terminal\",\n description: \"Tool to unassign WhatsApp destinations from a Virtual Terminal. Use when you need to remove recipients who should no longer receive payment notifications for a specific Virtual Terminal.\",\n input: PaystackUnassignDestinationFromVirtualTerminalInput,\n output: PaystackUnassignDestinationFromVirtualTerminalOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sDAAsDA,IAAAA,EAAE,OAAO;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACtF,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uHAAuH;AAC/J,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAa,uDAAuDA,IAAAA,EAAE,OAAO;CAC3E,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC5H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAAsE;AAEhG,MAAa,iDAAiDC,eAAAA,OAAO,uDAAuD;CAC1H,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ declare const PaystackUnassignDestinationFromVirtualTerminalInput: z.ZodObject<{
|
|
|
8
8
|
declare const PaystackUnassignDestinationFromVirtualTerminalOutput: z.ZodObject<{
|
|
9
9
|
status: z.ZodNullable<z.ZodBoolean>;
|
|
10
10
|
message: z.ZodNullable<z.ZodString>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const paystackUnassignDestinationFromVirtualTerminal: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
code: string;
|
|
14
14
|
targets: string[];
|
|
@@ -8,7 +8,7 @@ declare const PaystackUnassignDestinationFromVirtualTerminalInput: z.ZodObject<{
|
|
|
8
8
|
declare const PaystackUnassignDestinationFromVirtualTerminalOutput: z.ZodObject<{
|
|
9
9
|
status: z.ZodNullable<z.ZodBoolean>;
|
|
10
10
|
message: z.ZodNullable<z.ZodString>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const paystackUnassignDestinationFromVirtualTerminal: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
code: string;
|
|
14
14
|
targets: string[];
|
|
@@ -11,7 +11,7 @@ const paystackUnassignDestinationFromVirtualTerminal = action("PAYSTACK_UNASSIGN
|
|
|
11
11
|
output: z.object({
|
|
12
12
|
status: z.boolean().describe("Indicates whether the API call was successful. true for success, false for failure").nullable(),
|
|
13
13
|
message: z.string().describe("Human-readable message describing the result of the operation").nullable()
|
|
14
|
-
}).describe("Response model for unassigning destinations from a Virtual Terminal.")
|
|
14
|
+
}).passthrough().describe("Response model for unassigning destinations from a Virtual Terminal.")
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
17
17
|
export { paystackUnassignDestinationFromVirtualTerminal };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unassign-destination-from-virtual-terminal.mjs","names":[],"sources":["../../src/actions/unassign-destination-from-virtual-terminal.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackUnassignDestinationFromVirtualTerminalInput = z.object({\n code: z.string().describe(\"Code of the Virtual Terminal to unassign destinations from\"),\n targets: z.array(z.string()).describe(\"Array of WhatsApp numbers in international format (E.164) to unassign from the Virtual Terminal, e.g., +2548012345678\"),\n}).describe(\"Request model for unassigning destinations from a Virtual Terminal.\");\nexport const PaystackUnassignDestinationFromVirtualTerminalOutput = z.object({\n status: z.boolean().describe(\"Indicates whether the API call was successful. true for success, false for failure\").nullable(),\n message: z.string().describe(\"Human-readable message describing the result of the operation\").nullable(),\n}).describe(\"Response model for unassigning destinations from a Virtual Terminal.\");\n\nexport const paystackUnassignDestinationFromVirtualTerminal = action(\"PAYSTACK_UNASSIGN_DESTINATION_FROM_VIRTUAL_TERMINAL\", {\n slug: \"paystack-unassign-destination-from-virtual-terminal\",\n name: \"Unassign Destination from Virtual Terminal\",\n description: \"Tool to unassign WhatsApp destinations from a Virtual Terminal. Use when you need to remove recipients who should no longer receive payment notifications for a specific Virtual Terminal.\",\n input: PaystackUnassignDestinationFromVirtualTerminalInput,\n output: PaystackUnassignDestinationFromVirtualTerminalOutput,\n});\n"],"mappings":";;AAaA,MAAa,iDAAiD,OAAO,uDAAuD;CAC1H,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbiE,EAAE,OAAO;EAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;EACtF,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uHAAuH;CAC/J,CAAC,CAAC,CAAC,SAAS,qEAUH;CACP,QAVkE,EAAE,OAAO;EAC3E,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;EAC5H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"unassign-destination-from-virtual-terminal.mjs","names":[],"sources":["../../src/actions/unassign-destination-from-virtual-terminal.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackUnassignDestinationFromVirtualTerminalInput = z.object({\n code: z.string().describe(\"Code of the Virtual Terminal to unassign destinations from\"),\n targets: z.array(z.string()).describe(\"Array of WhatsApp numbers in international format (E.164) to unassign from the Virtual Terminal, e.g., +2548012345678\"),\n}).describe(\"Request model for unassigning destinations from a Virtual Terminal.\");\nexport const PaystackUnassignDestinationFromVirtualTerminalOutput = z.object({\n status: z.boolean().describe(\"Indicates whether the API call was successful. true for success, false for failure\").nullable(),\n message: z.string().describe(\"Human-readable message describing the result of the operation\").nullable(),\n}).passthrough().describe(\"Response model for unassigning destinations from a Virtual Terminal.\");\n\nexport const paystackUnassignDestinationFromVirtualTerminal = action(\"PAYSTACK_UNASSIGN_DESTINATION_FROM_VIRTUAL_TERMINAL\", {\n slug: \"paystack-unassign-destination-from-virtual-terminal\",\n name: \"Unassign Destination from Virtual Terminal\",\n description: \"Tool to unassign WhatsApp destinations from a Virtual Terminal. Use when you need to remove recipients who should no longer receive payment notifications for a specific Virtual Terminal.\",\n input: PaystackUnassignDestinationFromVirtualTerminalInput,\n output: PaystackUnassignDestinationFromVirtualTerminalOutput,\n});\n"],"mappings":";;AAaA,MAAa,iDAAiD,OAAO,uDAAuD;CAC1H,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbiE,EAAE,OAAO;EAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;EACtF,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uHAAuH;CAC/J,CAAC,CAAC,CAAC,SAAS,qEAUH;CACP,QAVkE,EAAE,OAAO;EAC3E,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;EAC5H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAOhB;AACV,CAAC"}
|
|
@@ -3,10 +3,10 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/unregister-apple-pay-domain.ts
|
|
4
4
|
const PaystackUnregisterApplePayDomainInput = zod.z.object({ domainName: zod.z.string().describe("The domain name or subdomain to unregister from Apple Pay integration. Must be a previously registered domain.") }).describe("Request model for unregistering an Apple Pay domain.");
|
|
5
5
|
const PaystackUnregisterApplePayDomainOutput = zod.z.object({
|
|
6
|
-
data: zod.z.
|
|
6
|
+
data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional data returned by the API").nullable().optional(),
|
|
7
7
|
status: zod.z.boolean().describe("Boolean indicating if the API call was successful").nullable().optional(),
|
|
8
8
|
message: zod.z.string().describe("Message describing the result of the unregister operation").nullable().optional()
|
|
9
|
-
}).describe("Response model for unregistering an Apple Pay domain.");
|
|
9
|
+
}).passthrough().describe("Response model for unregistering an Apple Pay domain.");
|
|
10
10
|
const paystackUnregisterApplePayDomain = require_action.action("PAYSTACK_UNREGISTER_APPLE_PAY_DOMAIN", {
|
|
11
11
|
slug: "paystack-unregister-apple-pay-domain",
|
|
12
12
|
name: "Unregister Apple Pay Domain",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unregister-apple-pay-domain.cjs","names":["z","action"],"sources":["../../src/actions/unregister-apple-pay-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackUnregisterApplePayDomainInput = z.object({\n domainName: z.string().describe(\"The domain name or subdomain to unregister from Apple Pay integration. Must be a previously registered domain.\"),\n}).describe(\"Request model for unregistering an Apple Pay domain.\");\nexport const PaystackUnregisterApplePayDomainOutput = z.object({\n data: z.
|
|
1
|
+
{"version":3,"file":"unregister-apple-pay-domain.cjs","names":["z","action"],"sources":["../../src/actions/unregister-apple-pay-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackUnregisterApplePayDomainInput = z.object({\n domainName: z.string().describe(\"The domain name or subdomain to unregister from Apple Pay integration. Must be a previously registered domain.\"),\n}).describe(\"Request model for unregistering an Apple Pay domain.\");\nexport const PaystackUnregisterApplePayDomainOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Additional data returned by the API\").nullable().optional(),\n status: z.boolean().describe(\"Boolean indicating if the API call was successful\").nullable().optional(),\n message: z.string().describe(\"Message describing the result of the unregister operation\").nullable().optional(),\n}).passthrough().describe(\"Response model for unregistering an Apple Pay domain.\");\n\nexport const paystackUnregisterApplePayDomain = action(\"PAYSTACK_UNREGISTER_APPLE_PAY_DOMAIN\", {\n slug: \"paystack-unregister-apple-pay-domain\",\n name: \"Unregister Apple Pay Domain\",\n description: \"Tool to unregister a top-level domain or subdomain previously used for Apple Pay integration. Use when you need to remove a domain from your Apple Pay configuration.\",\n input: PaystackUnregisterApplePayDomainInput,\n output: PaystackUnregisterApplePayDomainOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,EAClJ,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,mCAAmCC,eAAAA,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -5,10 +5,10 @@ declare const PaystackUnregisterApplePayDomainInput: z.ZodObject<{
|
|
|
5
5
|
domainName: z.ZodString;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const PaystackUnregisterApplePayDomainOutput: z.ZodObject<{
|
|
8
|
-
data: z.ZodOptional<z.ZodNullable<z.
|
|
8
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
9
9
|
status: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10
10
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const paystackUnregisterApplePayDomain: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
domainName: string;
|
|
14
14
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -5,10 +5,10 @@ declare const PaystackUnregisterApplePayDomainInput: z.ZodObject<{
|
|
|
5
5
|
domainName: z.ZodString;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const PaystackUnregisterApplePayDomainOutput: z.ZodObject<{
|
|
8
|
-
data: z.ZodOptional<z.ZodNullable<z.
|
|
8
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
9
9
|
status: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10
10
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const paystackUnregisterApplePayDomain: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
domainName: string;
|
|
14
14
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -6,10 +6,10 @@ const paystackUnregisterApplePayDomain = action("PAYSTACK_UNREGISTER_APPLE_PAY_D
|
|
|
6
6
|
description: "Tool to unregister a top-level domain or subdomain previously used for Apple Pay integration. Use when you need to remove a domain from your Apple Pay configuration.",
|
|
7
7
|
input: z.object({ domainName: z.string().describe("The domain name or subdomain to unregister from Apple Pay integration. Must be a previously registered domain.") }).describe("Request model for unregistering an Apple Pay domain."),
|
|
8
8
|
output: z.object({
|
|
9
|
-
data: z.
|
|
9
|
+
data: z.record(z.string(), z.unknown()).describe("Additional data returned by the API").nullable().optional(),
|
|
10
10
|
status: z.boolean().describe("Boolean indicating if the API call was successful").nullable().optional(),
|
|
11
11
|
message: z.string().describe("Message describing the result of the unregister operation").nullable().optional()
|
|
12
|
-
}).describe("Response model for unregistering an Apple Pay domain.")
|
|
12
|
+
}).passthrough().describe("Response model for unregistering an Apple Pay domain.")
|
|
13
13
|
});
|
|
14
14
|
//#endregion
|
|
15
15
|
export { paystackUnregisterApplePayDomain };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unregister-apple-pay-domain.mjs","names":[],"sources":["../../src/actions/unregister-apple-pay-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackUnregisterApplePayDomainInput = z.object({\n domainName: z.string().describe(\"The domain name or subdomain to unregister from Apple Pay integration. Must be a previously registered domain.\"),\n}).describe(\"Request model for unregistering an Apple Pay domain.\");\nexport const PaystackUnregisterApplePayDomainOutput = z.object({\n data: z.
|
|
1
|
+
{"version":3,"file":"unregister-apple-pay-domain.mjs","names":[],"sources":["../../src/actions/unregister-apple-pay-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackUnregisterApplePayDomainInput = z.object({\n domainName: z.string().describe(\"The domain name or subdomain to unregister from Apple Pay integration. Must be a previously registered domain.\"),\n}).describe(\"Request model for unregistering an Apple Pay domain.\");\nexport const PaystackUnregisterApplePayDomainOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Additional data returned by the API\").nullable().optional(),\n status: z.boolean().describe(\"Boolean indicating if the API call was successful\").nullable().optional(),\n message: z.string().describe(\"Message describing the result of the unregister operation\").nullable().optional(),\n}).passthrough().describe(\"Response model for unregistering an Apple Pay domain.\");\n\nexport const paystackUnregisterApplePayDomain = action(\"PAYSTACK_UNREGISTER_APPLE_PAY_DOMAIN\", {\n slug: \"paystack-unregister-apple-pay-domain\",\n name: \"Unregister Apple Pay Domain\",\n description: \"Tool to unregister a top-level domain or subdomain previously used for Apple Pay integration. Use when you need to remove a domain from your Apple Pay configuration.\",\n input: PaystackUnregisterApplePayDomainInput,\n output: PaystackUnregisterApplePayDomainOutput,\n});\n"],"mappings":";;AAaA,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbmD,EAAE,OAAO,EAC5D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,EAClJ,CAAC,CAAC,CAAC,SAAS,sDAWH;CACP,QAXoD,EAAE,OAAO;EAC7D,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAOhB;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ const PaystackUpdateCustomer_UpdateCustomerDataSchema = zod.z.object({
|
|
|
13
13
|
email: zod.z.string().describe("Customer's email address").nullable(),
|
|
14
14
|
phone: zod.z.string().describe("Customer's phone number").nullable().optional(),
|
|
15
15
|
domain: zod.z.string().describe("Domain associated with the customer").nullable(),
|
|
16
|
-
metadata: zod.z.
|
|
16
|
+
metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom metadata object").nullable().optional(),
|
|
17
17
|
createdAt: zod.z.string().describe("ISO 8601 timestamp when the customer was created").nullable(),
|
|
18
18
|
last_name: zod.z.string().describe("Customer's last name").nullable(),
|
|
19
19
|
updatedAt: zod.z.string().describe("ISO 8601 timestamp when the customer was last updated").nullable(),
|
|
@@ -22,13 +22,13 @@ const PaystackUpdateCustomer_UpdateCustomerDataSchema = zod.z.object({
|
|
|
22
22
|
integration: zod.z.number().int().describe("Integration ID").nullable(),
|
|
23
23
|
risk_action: zod.z.string().describe("Risk action status for the customer").nullable(),
|
|
24
24
|
customer_code: zod.z.string().describe("Unique customer code").nullable(),
|
|
25
|
-
identifications: zod.z.
|
|
26
|
-
}).describe("Customer data returned after updating customer.");
|
|
25
|
+
identifications: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Customer identification information (nullable)").nullable().optional()
|
|
26
|
+
}).passthrough().describe("Customer data returned after updating customer.");
|
|
27
27
|
const PaystackUpdateCustomerOutput = zod.z.object({
|
|
28
28
|
data: PaystackUpdateCustomer_UpdateCustomerDataSchema.nullable(),
|
|
29
29
|
status: zod.z.boolean().describe("Status of the API request").nullable(),
|
|
30
30
|
message: zod.z.string().describe("Response message from the API").nullable()
|
|
31
|
-
}).describe("Response after updating a customer's details.");
|
|
31
|
+
}).passthrough().describe("Response after updating a customer's details.");
|
|
32
32
|
const paystackUpdateCustomer = require_action.action("PAYSTACK_UPDATE_CUSTOMER", {
|
|
33
33
|
slug: "paystack-update-customer",
|
|
34
34
|
name: "Update Customer",
|