@keystrokehq/paystack 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/add-products-to-page.cjs +3 -3
- package/dist/actions/add-products-to-page.cjs.map +1 -1
- package/dist/actions/add-products-to-page.d.cts +3 -3
- package/dist/actions/add-products-to-page.d.mts +3 -3
- package/dist/actions/add-products-to-page.mjs +3 -3
- package/dist/actions/add-products-to-page.mjs.map +1 -1
- package/dist/actions/add-products-to-storefront.cjs +1 -1
- package/dist/actions/add-products-to-storefront.cjs.map +1 -1
- package/dist/actions/add-products-to-storefront.d.cts +1 -1
- package/dist/actions/add-products-to-storefront.d.mts +1 -1
- package/dist/actions/add-products-to-storefront.mjs +1 -1
- package/dist/actions/add-products-to-storefront.mjs.map +1 -1
- package/dist/actions/add-split-code-to-virtual-terminal.cjs +3 -3
- package/dist/actions/add-split-code-to-virtual-terminal.cjs.map +1 -1
- package/dist/actions/add-split-code-to-virtual-terminal.d.cts +3 -3
- package/dist/actions/add-split-code-to-virtual-terminal.d.mts +3 -3
- package/dist/actions/add-split-code-to-virtual-terminal.mjs +3 -3
- package/dist/actions/add-split-code-to-virtual-terminal.mjs.map +1 -1
- package/dist/actions/add-subaccount-to-split.cjs +3 -3
- package/dist/actions/add-subaccount-to-split.cjs.map +1 -1
- package/dist/actions/add-subaccount-to-split.d.cts +3 -3
- package/dist/actions/add-subaccount-to-split.d.mts +3 -3
- package/dist/actions/add-subaccount-to-split.mjs +3 -3
- package/dist/actions/add-subaccount-to-split.mjs.map +1 -1
- package/dist/actions/archive-payment-request.cjs +1 -1
- package/dist/actions/archive-payment-request.cjs.map +1 -1
- package/dist/actions/archive-payment-request.d.cts +1 -1
- package/dist/actions/archive-payment-request.d.mts +1 -1
- package/dist/actions/archive-payment-request.mjs +1 -1
- package/dist/actions/archive-payment-request.mjs.map +1 -1
- package/dist/actions/assign-destination-to-virtual-terminal.cjs +3 -3
- package/dist/actions/assign-destination-to-virtual-terminal.cjs.map +1 -1
- package/dist/actions/assign-destination-to-virtual-terminal.d.cts +4 -3
- package/dist/actions/assign-destination-to-virtual-terminal.d.mts +4 -3
- package/dist/actions/assign-destination-to-virtual-terminal.mjs +3 -3
- package/dist/actions/assign-destination-to-virtual-terminal.mjs.map +1 -1
- package/dist/actions/check-pending-charge.cjs +5 -5
- package/dist/actions/check-pending-charge.cjs.map +1 -1
- package/dist/actions/check-pending-charge.d.cts +5 -5
- package/dist/actions/check-pending-charge.d.mts +5 -5
- package/dist/actions/check-pending-charge.mjs +5 -5
- package/dist/actions/check-pending-charge.mjs.map +1 -1
- package/dist/actions/check-slug-availability.cjs +1 -1
- package/dist/actions/check-slug-availability.cjs.map +1 -1
- package/dist/actions/check-slug-availability.d.cts +1 -1
- package/dist/actions/check-slug-availability.d.mts +1 -1
- package/dist/actions/check-slug-availability.mjs +1 -1
- package/dist/actions/check-slug-availability.mjs.map +1 -1
- package/dist/actions/create-bulk-transfer-recipient.cjs +5 -5
- package/dist/actions/create-bulk-transfer-recipient.cjs.map +1 -1
- package/dist/actions/create-bulk-transfer-recipient.d.cts +6 -5
- package/dist/actions/create-bulk-transfer-recipient.d.cts.map +1 -1
- package/dist/actions/create-bulk-transfer-recipient.d.mts +6 -5
- package/dist/actions/create-bulk-transfer-recipient.d.mts.map +1 -1
- package/dist/actions/create-bulk-transfer-recipient.mjs +5 -5
- package/dist/actions/create-bulk-transfer-recipient.mjs.map +1 -1
- package/dist/actions/create-charge.cjs +8 -8
- package/dist/actions/create-charge.cjs.map +1 -1
- package/dist/actions/create-charge.d.cts +8 -8
- package/dist/actions/create-charge.d.mts +8 -8
- package/dist/actions/create-charge.mjs +8 -8
- package/dist/actions/create-charge.mjs.map +1 -1
- package/dist/actions/create-customer.cjs +2 -2
- package/dist/actions/create-customer.cjs.map +1 -1
- package/dist/actions/create-customer.d.cts +2 -2
- package/dist/actions/create-customer.d.mts +2 -2
- package/dist/actions/create-customer.mjs +2 -2
- package/dist/actions/create-customer.mjs.map +1 -1
- package/dist/actions/create-payment-page.cjs +2 -2
- package/dist/actions/create-payment-page.cjs.map +1 -1
- package/dist/actions/create-payment-page.d.cts +6 -6
- package/dist/actions/create-payment-page.d.mts +6 -6
- package/dist/actions/create-payment-page.mjs +2 -2
- package/dist/actions/create-payment-page.mjs.map +1 -1
- package/dist/actions/create-payment-request.cjs +4 -4
- package/dist/actions/create-payment-request.cjs.map +1 -1
- package/dist/actions/create-payment-request.d.cts +6 -4
- package/dist/actions/create-payment-request.d.mts +6 -4
- package/dist/actions/create-payment-request.mjs +4 -4
- package/dist/actions/create-payment-request.mjs.map +1 -1
- package/dist/actions/create-plan.cjs +2 -2
- package/dist/actions/create-plan.cjs.map +1 -1
- package/dist/actions/create-plan.d.cts +2 -2
- package/dist/actions/create-plan.d.mts +2 -2
- package/dist/actions/create-plan.mjs +2 -2
- package/dist/actions/create-plan.mjs.map +1 -1
- package/dist/actions/create-refund.cjs +11 -11
- package/dist/actions/create-refund.cjs.map +1 -1
- package/dist/actions/create-refund.d.cts +13 -13
- package/dist/actions/create-refund.d.mts +13 -13
- package/dist/actions/create-refund.mjs +11 -11
- package/dist/actions/create-refund.mjs.map +1 -1
- package/dist/actions/create-split.cjs +4 -4
- package/dist/actions/create-split.cjs.map +1 -1
- package/dist/actions/create-split.d.cts +7 -6
- package/dist/actions/create-split.d.mts +7 -6
- package/dist/actions/create-split.mjs +4 -4
- package/dist/actions/create-split.mjs.map +1 -1
- package/dist/actions/create-storefront.cjs +7 -7
- package/dist/actions/create-storefront.cjs.map +1 -1
- package/dist/actions/create-storefront.d.cts +9 -9
- package/dist/actions/create-storefront.d.mts +9 -9
- package/dist/actions/create-storefront.mjs +7 -7
- package/dist/actions/create-storefront.mjs.map +1 -1
- package/dist/actions/create-subaccount.cjs +2 -2
- package/dist/actions/create-subaccount.cjs.map +1 -1
- package/dist/actions/create-subaccount.d.cts +2 -2
- package/dist/actions/create-subaccount.d.mts +2 -2
- package/dist/actions/create-subaccount.mjs +2 -2
- package/dist/actions/create-subaccount.mjs.map +1 -1
- package/dist/actions/create-transfer-recipient.cjs +3 -3
- package/dist/actions/create-transfer-recipient.cjs.map +1 -1
- package/dist/actions/create-transfer-recipient.d.cts +5 -5
- package/dist/actions/create-transfer-recipient.d.mts +5 -5
- package/dist/actions/create-transfer-recipient.mjs +3 -3
- package/dist/actions/create-transfer-recipient.mjs.map +1 -1
- package/dist/actions/create-virtual-terminal.cjs +7 -7
- package/dist/actions/create-virtual-terminal.cjs.map +1 -1
- package/dist/actions/create-virtual-terminal.d.cts +9 -8
- package/dist/actions/create-virtual-terminal.d.cts.map +1 -1
- package/dist/actions/create-virtual-terminal.d.mts +9 -8
- package/dist/actions/create-virtual-terminal.d.mts.map +1 -1
- package/dist/actions/create-virtual-terminal.mjs +7 -7
- package/dist/actions/create-virtual-terminal.mjs.map +1 -1
- package/dist/actions/deactivate-authorization.cjs +1 -1
- package/dist/actions/deactivate-authorization.cjs.map +1 -1
- package/dist/actions/deactivate-authorization.d.cts +1 -1
- package/dist/actions/deactivate-authorization.d.mts +1 -1
- package/dist/actions/deactivate-authorization.mjs +1 -1
- package/dist/actions/deactivate-authorization.mjs.map +1 -1
- package/dist/actions/deactivate-virtual-terminal.cjs +1 -1
- package/dist/actions/deactivate-virtual-terminal.cjs.map +1 -1
- package/dist/actions/deactivate-virtual-terminal.d.cts +1 -1
- package/dist/actions/deactivate-virtual-terminal.d.mts +1 -1
- package/dist/actions/deactivate-virtual-terminal.mjs +1 -1
- package/dist/actions/deactivate-virtual-terminal.mjs.map +1 -1
- package/dist/actions/delete-product.cjs +1 -1
- package/dist/actions/delete-product.cjs.map +1 -1
- package/dist/actions/delete-product.d.cts +1 -1
- package/dist/actions/delete-product.d.mts +1 -1
- package/dist/actions/delete-product.mjs +1 -1
- package/dist/actions/delete-product.mjs.map +1 -1
- package/dist/actions/delete-storefront.cjs +1 -1
- package/dist/actions/delete-storefront.cjs.map +1 -1
- package/dist/actions/delete-storefront.d.cts +1 -1
- package/dist/actions/delete-storefront.d.mts +1 -1
- package/dist/actions/delete-storefront.mjs +1 -1
- package/dist/actions/delete-storefront.mjs.map +1 -1
- package/dist/actions/delete-transfer-recipient.cjs +1 -1
- package/dist/actions/delete-transfer-recipient.cjs.map +1 -1
- package/dist/actions/delete-transfer-recipient.d.cts +1 -1
- package/dist/actions/delete-transfer-recipient.d.mts +1 -1
- package/dist/actions/delete-transfer-recipient.mjs +1 -1
- package/dist/actions/delete-transfer-recipient.mjs.map +1 -1
- package/dist/actions/disable-otp-for-transfers.cjs +1 -1
- package/dist/actions/disable-otp-for-transfers.cjs.map +1 -1
- package/dist/actions/disable-otp-for-transfers.d.cts +1 -1
- package/dist/actions/disable-otp-for-transfers.d.mts +1 -1
- package/dist/actions/disable-otp-for-transfers.mjs +1 -1
- package/dist/actions/disable-otp-for-transfers.mjs.map +1 -1
- package/dist/actions/disable-subscription.cjs +2 -2
- package/dist/actions/disable-subscription.cjs.map +1 -1
- package/dist/actions/disable-subscription.d.cts +2 -2
- package/dist/actions/disable-subscription.d.mts +2 -2
- package/dist/actions/disable-subscription.mjs +2 -2
- package/dist/actions/disable-subscription.mjs.map +1 -1
- package/dist/actions/duplicate-storefront.cjs +2 -2
- package/dist/actions/duplicate-storefront.cjs.map +1 -1
- package/dist/actions/duplicate-storefront.d.cts +2 -2
- package/dist/actions/duplicate-storefront.d.mts +2 -2
- package/dist/actions/duplicate-storefront.mjs +2 -2
- package/dist/actions/duplicate-storefront.mjs.map +1 -1
- package/dist/actions/enable-otp-requirement-for-transfers.cjs +1 -1
- package/dist/actions/enable-otp-requirement-for-transfers.cjs.map +1 -1
- package/dist/actions/enable-otp-requirement-for-transfers.d.cts +1 -1
- package/dist/actions/enable-otp-requirement-for-transfers.d.mts +1 -1
- package/dist/actions/enable-otp-requirement-for-transfers.mjs +1 -1
- package/dist/actions/enable-otp-requirement-for-transfers.mjs.map +1 -1
- package/dist/actions/export-transactions.cjs +2 -2
- package/dist/actions/export-transactions.cjs.map +1 -1
- package/dist/actions/export-transactions.d.cts +2 -2
- package/dist/actions/export-transactions.d.mts +2 -2
- package/dist/actions/export-transactions.mjs +2 -2
- package/dist/actions/export-transactions.mjs.map +1 -1
- package/dist/actions/fetch-balance-ledger.cjs +3 -3
- package/dist/actions/fetch-balance-ledger.cjs.map +1 -1
- package/dist/actions/fetch-balance-ledger.d.cts +3 -3
- package/dist/actions/fetch-balance-ledger.d.mts +3 -3
- package/dist/actions/fetch-balance-ledger.mjs +3 -3
- package/dist/actions/fetch-balance-ledger.mjs.map +1 -1
- package/dist/actions/fetch-balance.cjs +2 -2
- package/dist/actions/fetch-balance.cjs.map +1 -1
- package/dist/actions/fetch-balance.d.cts +2 -2
- package/dist/actions/fetch-balance.d.mts +2 -2
- package/dist/actions/fetch-balance.mjs +2 -2
- package/dist/actions/fetch-balance.mjs.map +1 -1
- package/dist/actions/fetch-bulk-charge-batch.cjs +2 -2
- package/dist/actions/fetch-bulk-charge-batch.cjs.map +1 -1
- package/dist/actions/fetch-bulk-charge-batch.d.cts +2 -2
- package/dist/actions/fetch-bulk-charge-batch.d.mts +2 -2
- package/dist/actions/fetch-bulk-charge-batch.mjs +2 -2
- package/dist/actions/fetch-bulk-charge-batch.mjs.map +1 -1
- package/dist/actions/fetch-customer.cjs +9 -9
- package/dist/actions/fetch-customer.cjs.map +1 -1
- package/dist/actions/fetch-customer.d.cts +10 -10
- package/dist/actions/fetch-customer.d.mts +10 -10
- package/dist/actions/fetch-customer.mjs +9 -9
- package/dist/actions/fetch-customer.mjs.map +1 -1
- package/dist/actions/fetch-mandate-authorizations.cjs +5 -5
- package/dist/actions/fetch-mandate-authorizations.cjs.map +1 -1
- package/dist/actions/fetch-mandate-authorizations.d.cts +5 -5
- package/dist/actions/fetch-mandate-authorizations.d.mts +5 -5
- package/dist/actions/fetch-mandate-authorizations.mjs +5 -5
- package/dist/actions/fetch-mandate-authorizations.mjs.map +1 -1
- package/dist/actions/fetch-payment-page.cjs +2 -2
- package/dist/actions/fetch-payment-page.cjs.map +1 -1
- package/dist/actions/fetch-payment-page.d.cts +2 -2
- package/dist/actions/fetch-payment-page.d.mts +2 -2
- package/dist/actions/fetch-payment-page.mjs +2 -2
- package/dist/actions/fetch-payment-page.mjs.map +1 -1
- package/dist/actions/fetch-payment-request.cjs +7 -7
- package/dist/actions/fetch-payment-request.cjs.map +1 -1
- package/dist/actions/fetch-payment-request.d.cts +7 -7
- package/dist/actions/fetch-payment-request.d.mts +7 -7
- package/dist/actions/fetch-payment-request.mjs +7 -7
- package/dist/actions/fetch-payment-request.mjs.map +1 -1
- package/dist/actions/fetch-payment-session-timeout.cjs +2 -2
- package/dist/actions/fetch-payment-session-timeout.cjs.map +1 -1
- package/dist/actions/fetch-payment-session-timeout.d.cts +2 -2
- package/dist/actions/fetch-payment-session-timeout.d.mts +2 -2
- package/dist/actions/fetch-payment-session-timeout.mjs +2 -2
- package/dist/actions/fetch-payment-session-timeout.mjs.map +1 -1
- package/dist/actions/fetch-plan.cjs +5 -5
- package/dist/actions/fetch-plan.cjs.map +1 -1
- package/dist/actions/fetch-plan.d.cts +5 -5
- package/dist/actions/fetch-plan.d.mts +5 -5
- package/dist/actions/fetch-plan.mjs +5 -5
- package/dist/actions/fetch-plan.mjs.map +1 -1
- package/dist/actions/fetch-product-orders.cjs +11 -11
- package/dist/actions/fetch-product-orders.cjs.map +1 -1
- package/dist/actions/fetch-product-orders.d.cts +11 -11
- package/dist/actions/fetch-product-orders.d.mts +11 -11
- package/dist/actions/fetch-product-orders.mjs +11 -11
- package/dist/actions/fetch-product-orders.mjs.map +1 -1
- package/dist/actions/fetch-product.cjs +8 -8
- package/dist/actions/fetch-product.cjs.map +1 -1
- package/dist/actions/fetch-product.d.cts +8 -8
- package/dist/actions/fetch-product.d.mts +8 -8
- package/dist/actions/fetch-product.mjs +8 -8
- package/dist/actions/fetch-product.mjs.map +1 -1
- package/dist/actions/fetch-refund.cjs +3 -3
- package/dist/actions/fetch-refund.cjs.map +1 -1
- package/dist/actions/fetch-refund.d.cts +3 -3
- package/dist/actions/fetch-refund.d.mts +3 -3
- package/dist/actions/fetch-refund.mjs +3 -3
- package/dist/actions/fetch-refund.mjs.map +1 -1
- package/dist/actions/fetch-split.cjs +3 -3
- package/dist/actions/fetch-split.cjs.map +1 -1
- package/dist/actions/fetch-split.d.cts +3 -3
- package/dist/actions/fetch-split.d.mts +3 -3
- package/dist/actions/fetch-split.mjs +3 -3
- package/dist/actions/fetch-split.mjs.map +1 -1
- package/dist/actions/fetch-storefront-orders.cjs +11 -11
- package/dist/actions/fetch-storefront-orders.cjs.map +1 -1
- package/dist/actions/fetch-storefront-orders.d.cts +11 -11
- package/dist/actions/fetch-storefront-orders.d.mts +11 -11
- package/dist/actions/fetch-storefront-orders.mjs +11 -11
- package/dist/actions/fetch-storefront-orders.mjs.map +1 -1
- package/dist/actions/fetch-storefront.cjs +8 -8
- package/dist/actions/fetch-storefront.cjs.map +1 -1
- package/dist/actions/fetch-storefront.d.cts +8 -8
- package/dist/actions/fetch-storefront.d.mts +8 -8
- package/dist/actions/fetch-storefront.mjs +8 -8
- package/dist/actions/fetch-storefront.mjs.map +1 -1
- package/dist/actions/fetch-subaccount.cjs +2 -2
- package/dist/actions/fetch-subaccount.cjs.map +1 -1
- package/dist/actions/fetch-subaccount.d.cts +2 -2
- package/dist/actions/fetch-subaccount.d.mts +2 -2
- package/dist/actions/fetch-subaccount.mjs +2 -2
- package/dist/actions/fetch-subaccount.mjs.map +1 -1
- package/dist/actions/fetch-subscription.cjs +13 -13
- package/dist/actions/fetch-subscription.cjs.map +1 -1
- package/dist/actions/fetch-subscription.d.cts +13 -13
- package/dist/actions/fetch-subscription.d.mts +13 -13
- package/dist/actions/fetch-subscription.mjs +13 -13
- package/dist/actions/fetch-subscription.mjs.map +1 -1
- package/dist/actions/fetch-transaction-timeline.cjs +4 -4
- package/dist/actions/fetch-transaction-timeline.cjs.map +1 -1
- package/dist/actions/fetch-transaction-timeline.d.cts +4 -4
- package/dist/actions/fetch-transaction-timeline.d.mts +4 -4
- package/dist/actions/fetch-transaction-timeline.mjs +4 -4
- package/dist/actions/fetch-transaction-timeline.mjs.map +1 -1
- package/dist/actions/fetch-transaction.cjs +16 -16
- package/dist/actions/fetch-transaction.cjs.map +1 -1
- package/dist/actions/fetch-transaction.d.cts +17 -17
- package/dist/actions/fetch-transaction.d.mts +17 -17
- package/dist/actions/fetch-transaction.mjs +16 -16
- package/dist/actions/fetch-transaction.mjs.map +1 -1
- package/dist/actions/fetch-transfer-recipient.cjs +3 -3
- package/dist/actions/fetch-transfer-recipient.cjs.map +1 -1
- package/dist/actions/fetch-transfer-recipient.d.cts +3 -3
- package/dist/actions/fetch-transfer-recipient.d.mts +3 -3
- package/dist/actions/fetch-transfer-recipient.mjs +3 -3
- package/dist/actions/fetch-transfer-recipient.mjs.map +1 -1
- package/dist/actions/fetch-virtual-terminal.cjs +4 -4
- package/dist/actions/fetch-virtual-terminal.cjs.map +1 -1
- package/dist/actions/fetch-virtual-terminal.d.cts +4 -4
- package/dist/actions/fetch-virtual-terminal.d.mts +4 -4
- package/dist/actions/fetch-virtual-terminal.mjs +4 -4
- package/dist/actions/fetch-virtual-terminal.mjs.map +1 -1
- package/dist/actions/finalize-payment-request.cjs +7 -7
- package/dist/actions/finalize-payment-request.cjs.map +1 -1
- package/dist/actions/finalize-payment-request.d.cts +7 -7
- package/dist/actions/finalize-payment-request.d.mts +7 -7
- package/dist/actions/finalize-payment-request.mjs +7 -7
- package/dist/actions/finalize-payment-request.mjs.map +1 -1
- package/dist/actions/generate-update-subscription-link.cjs +2 -2
- package/dist/actions/generate-update-subscription-link.cjs.map +1 -1
- package/dist/actions/generate-update-subscription-link.d.cts +2 -2
- package/dist/actions/generate-update-subscription-link.d.mts +2 -2
- package/dist/actions/generate-update-subscription-link.mjs +2 -2
- package/dist/actions/generate-update-subscription-link.mjs.map +1 -1
- package/dist/actions/get-payment-request-totals.cjs +3 -3
- package/dist/actions/get-payment-request-totals.cjs.map +1 -1
- package/dist/actions/get-payment-request-totals.d.cts +5 -5
- package/dist/actions/get-payment-request-totals.d.mts +5 -5
- package/dist/actions/get-payment-request-totals.mjs +3 -3
- package/dist/actions/get-payment-request-totals.mjs.map +1 -1
- package/dist/actions/get-transaction-totals.cjs +3 -3
- package/dist/actions/get-transaction-totals.cjs.map +1 -1
- package/dist/actions/get-transaction-totals.d.cts +4 -4
- package/dist/actions/get-transaction-totals.d.mts +4 -4
- package/dist/actions/get-transaction-totals.mjs +3 -3
- package/dist/actions/get-transaction-totals.mjs.map +1 -1
- package/dist/actions/initialize-authorization.cjs +2 -2
- package/dist/actions/initialize-authorization.cjs.map +1 -1
- package/dist/actions/initialize-authorization.d.cts +2 -2
- package/dist/actions/initialize-authorization.d.mts +2 -2
- package/dist/actions/initialize-authorization.mjs +2 -2
- package/dist/actions/initialize-authorization.mjs.map +1 -1
- package/dist/actions/initialize-transaction.cjs +3 -3
- package/dist/actions/initialize-transaction.cjs.map +1 -1
- package/dist/actions/initialize-transaction.d.cts +10 -9
- package/dist/actions/initialize-transaction.d.cts.map +1 -1
- package/dist/actions/initialize-transaction.d.mts +10 -9
- package/dist/actions/initialize-transaction.d.mts.map +1 -1
- package/dist/actions/initialize-transaction.mjs +3 -3
- package/dist/actions/initialize-transaction.mjs.map +1 -1
- package/dist/actions/initiate-bulk-charge.cjs +3 -3
- package/dist/actions/initiate-bulk-charge.cjs.map +1 -1
- package/dist/actions/initiate-bulk-charge.d.cts +4 -3
- package/dist/actions/initiate-bulk-charge.d.cts.map +1 -1
- package/dist/actions/initiate-bulk-charge.d.mts +4 -3
- package/dist/actions/initiate-bulk-charge.d.mts.map +1 -1
- package/dist/actions/initiate-bulk-charge.mjs +3 -3
- package/dist/actions/initiate-bulk-charge.mjs.map +1 -1
- package/dist/actions/list-banks.cjs +3 -3
- package/dist/actions/list-banks.cjs.map +1 -1
- package/dist/actions/list-banks.d.cts +5 -5
- package/dist/actions/list-banks.d.mts +5 -5
- package/dist/actions/list-banks.mjs +3 -3
- package/dist/actions/list-banks.mjs.map +1 -1
- package/dist/actions/list-bulk-charge-batches.cjs +4 -4
- package/dist/actions/list-bulk-charge-batches.cjs.map +1 -1
- package/dist/actions/list-bulk-charge-batches.d.cts +4 -4
- package/dist/actions/list-bulk-charge-batches.d.mts +4 -4
- package/dist/actions/list-bulk-charge-batches.mjs +4 -4
- package/dist/actions/list-bulk-charge-batches.mjs.map +1 -1
- package/dist/actions/list-charges-in-batch.cjs +8 -8
- package/dist/actions/list-charges-in-batch.cjs.map +1 -1
- package/dist/actions/list-charges-in-batch.d.cts +8 -8
- package/dist/actions/list-charges-in-batch.d.mts +8 -8
- package/dist/actions/list-charges-in-batch.mjs +8 -8
- package/dist/actions/list-charges-in-batch.mjs.map +1 -1
- package/dist/actions/list-countries.cjs +2 -2
- package/dist/actions/list-countries.cjs.map +1 -1
- package/dist/actions/list-countries.d.cts +2 -2
- package/dist/actions/list-countries.d.mts +2 -2
- package/dist/actions/list-countries.mjs +2 -2
- package/dist/actions/list-countries.mjs.map +1 -1
- package/dist/actions/list-customers.cjs +3 -3
- package/dist/actions/list-customers.cjs.map +1 -1
- package/dist/actions/list-customers.d.cts +3 -3
- package/dist/actions/list-customers.d.mts +3 -3
- package/dist/actions/list-customers.mjs +3 -3
- package/dist/actions/list-customers.mjs.map +1 -1
- package/dist/actions/list-disputes.cjs +18 -18
- package/dist/actions/list-disputes.cjs.map +1 -1
- package/dist/actions/list-disputes.d.cts +16 -16
- package/dist/actions/list-disputes.d.mts +16 -16
- package/dist/actions/list-disputes.mjs +18 -18
- package/dist/actions/list-disputes.mjs.map +1 -1
- package/dist/actions/list-domains.cjs +2 -2
- package/dist/actions/list-domains.cjs.map +1 -1
- package/dist/actions/list-domains.d.cts +2 -2
- package/dist/actions/list-domains.d.mts +2 -2
- package/dist/actions/list-domains.mjs +2 -2
- package/dist/actions/list-domains.mjs.map +1 -1
- package/dist/actions/list-mandate-authorizations.cjs +5 -5
- package/dist/actions/list-mandate-authorizations.cjs.map +1 -1
- package/dist/actions/list-mandate-authorizations.d.cts +5 -5
- package/dist/actions/list-mandate-authorizations.d.mts +5 -5
- package/dist/actions/list-mandate-authorizations.mjs +5 -5
- package/dist/actions/list-mandate-authorizations.mjs.map +1 -1
- package/dist/actions/list-orders.cjs +3 -3
- package/dist/actions/list-orders.cjs.map +1 -1
- package/dist/actions/list-orders.d.cts +3 -3
- package/dist/actions/list-orders.d.mts +3 -3
- package/dist/actions/list-orders.mjs +3 -3
- package/dist/actions/list-orders.mjs.map +1 -1
- package/dist/actions/list-payment-pages.cjs +3 -3
- package/dist/actions/list-payment-pages.cjs.map +1 -1
- package/dist/actions/list-payment-pages.d.cts +3 -3
- package/dist/actions/list-payment-pages.d.mts +3 -3
- package/dist/actions/list-payment-pages.mjs +3 -3
- package/dist/actions/list-payment-pages.mjs.map +1 -1
- package/dist/actions/list-payment-requests.cjs +8 -8
- package/dist/actions/list-payment-requests.cjs.map +1 -1
- package/dist/actions/list-payment-requests.d.cts +8 -8
- package/dist/actions/list-payment-requests.d.mts +8 -8
- package/dist/actions/list-payment-requests.mjs +8 -8
- package/dist/actions/list-payment-requests.mjs.map +1 -1
- package/dist/actions/list-plans.cjs +5 -5
- package/dist/actions/list-plans.cjs.map +1 -1
- package/dist/actions/list-plans.d.cts +5 -5
- package/dist/actions/list-plans.d.mts +5 -5
- package/dist/actions/list-plans.mjs +5 -5
- package/dist/actions/list-plans.mjs.map +1 -1
- package/dist/actions/list-products.cjs +8 -8
- package/dist/actions/list-products.cjs.map +1 -1
- package/dist/actions/list-products.d.cts +8 -8
- package/dist/actions/list-products.d.mts +8 -8
- package/dist/actions/list-products.mjs +8 -8
- package/dist/actions/list-products.mjs.map +1 -1
- package/dist/actions/list-refunds.cjs +8 -8
- package/dist/actions/list-refunds.cjs.map +1 -1
- package/dist/actions/list-refunds.d.cts +8 -8
- package/dist/actions/list-refunds.d.mts +8 -8
- package/dist/actions/list-refunds.mjs +8 -8
- package/dist/actions/list-refunds.mjs.map +1 -1
- package/dist/actions/list-settlements.cjs +3 -3
- package/dist/actions/list-settlements.cjs.map +1 -1
- package/dist/actions/list-settlements.d.cts +3 -3
- package/dist/actions/list-settlements.d.mts +3 -3
- package/dist/actions/list-settlements.mjs +3 -3
- package/dist/actions/list-settlements.mjs.map +1 -1
- package/dist/actions/list-splits.cjs +4 -4
- package/dist/actions/list-splits.cjs.map +1 -1
- package/dist/actions/list-splits.d.cts +4 -4
- package/dist/actions/list-splits.d.mts +4 -4
- package/dist/actions/list-splits.mjs +4 -4
- package/dist/actions/list-splits.mjs.map +1 -1
- package/dist/actions/list-states-avs.cjs +2 -2
- package/dist/actions/list-states-avs.cjs.map +1 -1
- package/dist/actions/list-states-avs.d.cts +2 -2
- package/dist/actions/list-states-avs.d.mts +2 -2
- package/dist/actions/list-states-avs.mjs +2 -2
- package/dist/actions/list-states-avs.mjs.map +1 -1
- package/dist/actions/list-storefront-products.cjs +8 -8
- package/dist/actions/list-storefront-products.cjs.map +1 -1
- package/dist/actions/list-storefront-products.d.cts +8 -8
- package/dist/actions/list-storefront-products.d.mts +8 -8
- package/dist/actions/list-storefront-products.mjs +8 -8
- package/dist/actions/list-storefront-products.mjs.map +1 -1
- package/dist/actions/list-storefronts.cjs +8 -8
- package/dist/actions/list-storefronts.cjs.map +1 -1
- package/dist/actions/list-storefronts.d.cts +8 -8
- package/dist/actions/list-storefronts.d.mts +8 -8
- package/dist/actions/list-storefronts.mjs +8 -8
- package/dist/actions/list-storefronts.mjs.map +1 -1
- package/dist/actions/list-subaccounts.cjs +3 -3
- package/dist/actions/list-subaccounts.cjs.map +1 -1
- package/dist/actions/list-subaccounts.d.cts +3 -3
- package/dist/actions/list-subaccounts.d.mts +3 -3
- package/dist/actions/list-subaccounts.mjs +3 -3
- package/dist/actions/list-subaccounts.mjs.map +1 -1
- package/dist/actions/list-subscriptions.cjs +12 -12
- package/dist/actions/list-subscriptions.cjs.map +1 -1
- package/dist/actions/list-subscriptions.d.cts +12 -12
- package/dist/actions/list-subscriptions.d.mts +12 -12
- package/dist/actions/list-subscriptions.mjs +12 -12
- package/dist/actions/list-subscriptions.mjs.map +1 -1
- package/dist/actions/list-transactions.cjs +17 -17
- package/dist/actions/list-transactions.cjs.map +1 -1
- package/dist/actions/list-transactions.d.cts +17 -17
- package/dist/actions/list-transactions.d.mts +17 -17
- package/dist/actions/list-transactions.mjs +17 -17
- package/dist/actions/list-transactions.mjs.map +1 -1
- package/dist/actions/list-transfer-recipients.cjs +3 -3
- package/dist/actions/list-transfer-recipients.cjs.map +1 -1
- package/dist/actions/list-transfer-recipients.d.cts +3 -3
- package/dist/actions/list-transfer-recipients.d.mts +3 -3
- package/dist/actions/list-transfer-recipients.mjs +3 -3
- package/dist/actions/list-transfer-recipients.mjs.map +1 -1
- package/dist/actions/list-transfers.cjs +4 -4
- package/dist/actions/list-transfers.cjs.map +1 -1
- package/dist/actions/list-transfers.d.cts +4 -4
- package/dist/actions/list-transfers.d.mts +4 -4
- package/dist/actions/list-transfers.mjs +4 -4
- package/dist/actions/list-transfers.mjs.map +1 -1
- package/dist/actions/list-virtual-terminals.cjs +4 -4
- package/dist/actions/list-virtual-terminals.cjs.map +1 -1
- package/dist/actions/list-virtual-terminals.d.cts +4 -4
- package/dist/actions/list-virtual-terminals.d.mts +4 -4
- package/dist/actions/list-virtual-terminals.mjs +4 -4
- package/dist/actions/list-virtual-terminals.mjs.map +1 -1
- package/dist/actions/pause-bulk-charge.cjs +1 -1
- package/dist/actions/pause-bulk-charge.cjs.map +1 -1
- package/dist/actions/pause-bulk-charge.d.cts +1 -1
- package/dist/actions/pause-bulk-charge.d.mts +1 -1
- package/dist/actions/pause-bulk-charge.mjs +1 -1
- package/dist/actions/pause-bulk-charge.mjs.map +1 -1
- package/dist/actions/publish-storefront.cjs +2 -2
- package/dist/actions/publish-storefront.cjs.map +1 -1
- package/dist/actions/publish-storefront.d.cts +2 -2
- package/dist/actions/publish-storefront.d.mts +2 -2
- package/dist/actions/publish-storefront.mjs +2 -2
- package/dist/actions/publish-storefront.mjs.map +1 -1
- package/dist/actions/remove-subaccount-from-split.cjs +1 -1
- package/dist/actions/remove-subaccount-from-split.cjs.map +1 -1
- package/dist/actions/remove-subaccount-from-split.d.cts +1 -1
- package/dist/actions/remove-subaccount-from-split.d.mts +1 -1
- package/dist/actions/remove-subaccount-from-split.mjs +1 -1
- package/dist/actions/remove-subaccount-from-split.mjs.map +1 -1
- package/dist/actions/resend-otp-for-transfer.cjs +1 -1
- package/dist/actions/resend-otp-for-transfer.cjs.map +1 -1
- package/dist/actions/resend-otp-for-transfer.d.cts +1 -1
- package/dist/actions/resend-otp-for-transfer.d.mts +1 -1
- package/dist/actions/resend-otp-for-transfer.mjs +1 -1
- package/dist/actions/resend-otp-for-transfer.mjs.map +1 -1
- package/dist/actions/resolve-card-bin.cjs +2 -2
- package/dist/actions/resolve-card-bin.cjs.map +1 -1
- package/dist/actions/resolve-card-bin.d.cts +2 -2
- package/dist/actions/resolve-card-bin.d.mts +2 -2
- package/dist/actions/resolve-card-bin.mjs +2 -2
- package/dist/actions/resolve-card-bin.mjs.map +1 -1
- package/dist/actions/resume-bulk-charge-batch.cjs +1 -1
- package/dist/actions/resume-bulk-charge-batch.cjs.map +1 -1
- package/dist/actions/resume-bulk-charge-batch.d.cts +1 -1
- package/dist/actions/resume-bulk-charge-batch.d.mts +1 -1
- package/dist/actions/resume-bulk-charge-batch.mjs +1 -1
- package/dist/actions/resume-bulk-charge-batch.mjs.map +1 -1
- package/dist/actions/send-payment-request-notification.cjs +1 -1
- package/dist/actions/send-payment-request-notification.cjs.map +1 -1
- package/dist/actions/send-payment-request-notification.d.cts +1 -1
- package/dist/actions/send-payment-request-notification.d.mts +1 -1
- package/dist/actions/send-payment-request-notification.mjs +1 -1
- package/dist/actions/send-payment-request-notification.mjs.map +1 -1
- package/dist/actions/send-subscription-update-link.cjs +2 -2
- package/dist/actions/send-subscription-update-link.cjs.map +1 -1
- package/dist/actions/send-subscription-update-link.d.cts +2 -2
- package/dist/actions/send-subscription-update-link.d.mts +2 -2
- package/dist/actions/send-subscription-update-link.mjs +2 -2
- package/dist/actions/send-subscription-update-link.mjs.map +1 -1
- package/dist/actions/set-risk-action.cjs +5 -5
- package/dist/actions/set-risk-action.cjs.map +1 -1
- package/dist/actions/set-risk-action.d.cts +5 -5
- package/dist/actions/set-risk-action.d.mts +5 -5
- package/dist/actions/set-risk-action.mjs +5 -5
- package/dist/actions/set-risk-action.mjs.map +1 -1
- package/dist/actions/submit-phone.cjs +5 -5
- package/dist/actions/submit-phone.cjs.map +1 -1
- package/dist/actions/submit-phone.d.cts +5 -5
- package/dist/actions/submit-phone.d.mts +5 -5
- package/dist/actions/submit-phone.mjs +5 -5
- package/dist/actions/submit-phone.mjs.map +1 -1
- package/dist/actions/trigger-direct-debit-activation-charge.cjs +1 -1
- package/dist/actions/trigger-direct-debit-activation-charge.cjs.map +1 -1
- package/dist/actions/trigger-direct-debit-activation-charge.d.cts +1 -1
- package/dist/actions/trigger-direct-debit-activation-charge.d.mts +1 -1
- package/dist/actions/trigger-direct-debit-activation-charge.mjs +1 -1
- package/dist/actions/trigger-direct-debit-activation-charge.mjs.map +1 -1
- package/dist/actions/unassign-destination-from-virtual-terminal.cjs +1 -1
- package/dist/actions/unassign-destination-from-virtual-terminal.cjs.map +1 -1
- package/dist/actions/unassign-destination-from-virtual-terminal.d.cts +1 -1
- package/dist/actions/unassign-destination-from-virtual-terminal.d.mts +1 -1
- package/dist/actions/unassign-destination-from-virtual-terminal.mjs +1 -1
- package/dist/actions/unassign-destination-from-virtual-terminal.mjs.map +1 -1
- package/dist/actions/unregister-apple-pay-domain.cjs +2 -2
- package/dist/actions/unregister-apple-pay-domain.cjs.map +1 -1
- package/dist/actions/unregister-apple-pay-domain.d.cts +2 -2
- package/dist/actions/unregister-apple-pay-domain.d.mts +2 -2
- package/dist/actions/unregister-apple-pay-domain.mjs +2 -2
- package/dist/actions/unregister-apple-pay-domain.mjs.map +1 -1
- package/dist/actions/update-customer.cjs +4 -4
- package/dist/actions/update-customer.cjs.map +1 -1
- package/dist/actions/update-customer.d.cts +4 -4
- package/dist/actions/update-customer.d.mts +4 -4
- package/dist/actions/update-customer.mjs +4 -4
- package/dist/actions/update-customer.mjs.map +1 -1
- package/dist/actions/update-payment-page.cjs +2 -2
- package/dist/actions/update-payment-page.cjs.map +1 -1
- package/dist/actions/update-payment-page.d.cts +2 -2
- package/dist/actions/update-payment-page.d.mts +2 -2
- package/dist/actions/update-payment-page.mjs +2 -2
- package/dist/actions/update-payment-page.mjs.map +1 -1
- package/dist/actions/update-payment-request.cjs +5 -5
- package/dist/actions/update-payment-request.cjs.map +1 -1
- package/dist/actions/update-payment-request.d.cts +7 -5
- package/dist/actions/update-payment-request.d.mts +7 -5
- package/dist/actions/update-payment-request.mjs +5 -5
- package/dist/actions/update-payment-request.mjs.map +1 -1
- package/dist/actions/update-payment-session-timeout.cjs +2 -2
- package/dist/actions/update-payment-session-timeout.cjs.map +1 -1
- package/dist/actions/update-payment-session-timeout.d.cts +2 -2
- package/dist/actions/update-payment-session-timeout.d.mts +2 -2
- package/dist/actions/update-payment-session-timeout.mjs +2 -2
- package/dist/actions/update-payment-session-timeout.mjs.map +1 -1
- package/dist/actions/update-plan.cjs +1 -1
- package/dist/actions/update-plan.cjs.map +1 -1
- package/dist/actions/update-plan.d.cts +1 -1
- package/dist/actions/update-plan.d.mts +1 -1
- package/dist/actions/update-plan.mjs +1 -1
- package/dist/actions/update-plan.mjs.map +1 -1
- package/dist/actions/update-product.cjs +8 -8
- package/dist/actions/update-product.cjs.map +1 -1
- package/dist/actions/update-product.d.cts +9 -9
- package/dist/actions/update-product.d.mts +9 -9
- package/dist/actions/update-product.mjs +8 -8
- package/dist/actions/update-product.mjs.map +1 -1
- package/dist/actions/update-split.cjs +3 -3
- package/dist/actions/update-split.cjs.map +1 -1
- package/dist/actions/update-split.d.cts +3 -3
- package/dist/actions/update-split.d.mts +3 -3
- package/dist/actions/update-split.mjs +3 -3
- package/dist/actions/update-split.mjs.map +1 -1
- package/dist/actions/update-storefront.cjs +1 -1
- package/dist/actions/update-storefront.cjs.map +1 -1
- package/dist/actions/update-storefront.d.cts +1 -1
- package/dist/actions/update-storefront.d.mts +1 -1
- package/dist/actions/update-storefront.mjs +1 -1
- package/dist/actions/update-storefront.mjs.map +1 -1
- package/dist/actions/update-subaccount.cjs +2 -2
- package/dist/actions/update-subaccount.cjs.map +1 -1
- package/dist/actions/update-subaccount.d.cts +2 -2
- package/dist/actions/update-subaccount.d.mts +2 -2
- package/dist/actions/update-subaccount.mjs +2 -2
- package/dist/actions/update-subaccount.mjs.map +1 -1
- package/dist/actions/update-transfer-recipient.cjs +3 -3
- package/dist/actions/update-transfer-recipient.cjs.map +1 -1
- package/dist/actions/update-transfer-recipient.d.cts +3 -3
- package/dist/actions/update-transfer-recipient.d.mts +3 -3
- package/dist/actions/update-transfer-recipient.mjs +3 -3
- package/dist/actions/update-transfer-recipient.mjs.map +1 -1
- package/dist/actions/validate-bank-account.cjs +2 -2
- package/dist/actions/validate-bank-account.cjs.map +1 -1
- package/dist/actions/validate-bank-account.d.cts +2 -2
- package/dist/actions/validate-bank-account.d.mts +2 -2
- package/dist/actions/validate-bank-account.mjs +2 -2
- package/dist/actions/validate-bank-account.mjs.map +1 -1
- package/dist/actions/validate-customer.cjs +1 -1
- package/dist/actions/validate-customer.cjs.map +1 -1
- package/dist/actions/validate-customer.d.cts +1 -1
- package/dist/actions/validate-customer.d.mts +1 -1
- package/dist/actions/validate-customer.mjs +1 -1
- package/dist/actions/validate-customer.mjs.map +1 -1
- package/dist/actions/validate-order.cjs +13 -13
- package/dist/actions/validate-order.cjs.map +1 -1
- package/dist/actions/validate-order.d.cts +13 -13
- package/dist/actions/validate-order.d.mts +13 -13
- package/dist/actions/validate-order.mjs +13 -13
- package/dist/actions/validate-order.mjs.map +1 -1
- package/dist/actions/verify-payment-request.cjs +10 -10
- package/dist/actions/verify-payment-request.cjs.map +1 -1
- package/dist/actions/verify-payment-request.d.cts +10 -10
- package/dist/actions/verify-payment-request.d.mts +10 -10
- package/dist/actions/verify-payment-request.mjs +10 -10
- package/dist/actions/verify-payment-request.mjs.map +1 -1
- package/dist/actions/verify-storefront-slug.cjs +1 -1
- package/dist/actions/verify-storefront-slug.cjs.map +1 -1
- package/dist/actions/verify-storefront-slug.d.cts +1 -1
- package/dist/actions/verify-storefront-slug.d.mts +1 -1
- package/dist/actions/verify-storefront-slug.mjs +1 -1
- package/dist/actions/verify-storefront-slug.mjs.map +1 -1
- package/dist/actions/verify-transaction.cjs +17 -17
- package/dist/actions/verify-transaction.cjs.map +1 -1
- package/dist/actions/verify-transaction.d.cts +17 -17
- package/dist/actions/verify-transaction.d.mts +17 -17
- package/dist/actions/verify-transaction.mjs +17 -17
- package/dist/actions/verify-transaction.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-refunds.mjs","names":[],"sources":["../../src/actions/list-refunds.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackListRefundsInput = z.object({\n to: z.string().describe(\"The end date for filtering refunds (ISO 8601 format)\").optional(),\n from: z.string().describe(\"The start date for filtering refunds (ISO 8601 format)\").optional(),\n page: z.number().int().describe(\"The section to retrieve (page number)\").optional(),\n perPage: z.number().int().describe(\"Number of records to fetch per page\").optional(),\n}).describe(\"Request to list refunds available on your integration.\");\nconst PaystackListRefunds_RefundCustomerSchema = z.object({\n id: z.number().int().describe(\"Customer ID\").nullable().optional(),\n email: z.string().describe(\"Customer's email address\").nullable().optional(),\n phone: z.string().describe(\"Customer's phone number\").nullable().optional(),\n metadata: z.union([z.string(), z.
|
|
1
|
+
{"version":3,"file":"list-refunds.mjs","names":[],"sources":["../../src/actions/list-refunds.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackListRefundsInput = z.object({\n to: z.string().describe(\"The end date for filtering refunds (ISO 8601 format)\").optional(),\n from: z.string().describe(\"The start date for filtering refunds (ISO 8601 format)\").optional(),\n page: z.number().int().describe(\"The section to retrieve (page number)\").optional(),\n perPage: z.number().int().describe(\"Number of records to fetch per page\").optional(),\n}).describe(\"Request to list refunds available on your integration.\");\nconst PaystackListRefunds_RefundCustomerSchema = z.object({\n id: z.number().int().describe(\"Customer ID\").nullable().optional(),\n email: z.string().describe(\"Customer's email address\").nullable().optional(),\n phone: z.string().describe(\"Customer's phone number\").nullable().optional(),\n metadata: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n last_name: z.string().describe(\"Customer's last name\").nullable().optional(),\n first_name: z.string().describe(\"Customer's first name\").nullable().optional(),\n risk_action: z.string().describe(\"Risk action status for the customer\").nullable().optional(),\n customer_code: z.string().describe(\"Unique customer code\").nullable().optional(),\n international_format_phone: z.string().describe(\"Phone number in international format\").nullable().optional(),\n}).passthrough().describe(\"Customer details associated with the refund.\");\nconst PaystackListRefunds_RefundItemSchema = z.object({\n id: z.string().describe(\"Unique refund ID\").nullable(),\n amount: z.number().int().describe(\"Refund amount in subunit (kobo for NGN, cents for USD, etc.)\").nullable(),\n domain: z.string().describe(\"Domain (test or live)\").nullable(),\n reason: z.string().describe(\"Reason for the refund\").nullable(),\n status: z.string().describe(\"Refund status (e.g., 'pending', 'processed', 'failed')\").nullable(),\n dispute: z.union([z.string(), z.number().int()]).nullable().optional(),\n currency: z.string().describe(\"Currency code (e.g., NGN, USD, GHS, ZAR, KES)\").nullable(),\n customer: PaystackListRefunds_RefundCustomerSchema.nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the refund was created\").nullable(),\n retriable: z.boolean().describe(\"Whether the refund can be retried\").nullable().optional(),\n session_id: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n settlement: z.union([z.string(), z.number().int()]).nullable().optional(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n refund_type: z.string().describe(\"Type of refund\").nullable(),\n refunded_at: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n refunded_by: z.string().describe(\"Email of user who initiated the refund\").nullable(),\n transaction: z.number().int().describe(\"Transaction ID that was refunded\").nullable(),\n initiated_by: z.string().describe(\"Who initiated the refund\").nullable(),\n customer_note: z.string().describe(\"Note sent to the customer explaining the refund\").nullable(),\n merchant_note: z.string().describe(\"Internal merchant note about the refund\").nullable(),\n bank_reference: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n fully_deducted: z.number().int().describe(\"Whether the refund amount was fully deducted (1 for yes, 0 for no)\").nullable(),\n refund_channel: z.string().describe(\"Channel through which the refund was processed\").nullable(),\n deducted_amount: z.number().int().describe(\"Amount actually deducted from merchant balance in subunit\").nullable(),\n transaction_amount: z.number().int().describe(\"Original transaction amount in subunit\").nullable(),\n transaction_reference: z.string().describe(\"Reference of the original transaction\").nullable(),\n}).passthrough().describe(\"Individual refund data in the list.\");\nconst PaystackListRefunds_RefundPaginationMetaSchema = z.object({\n page: z.number().int().describe(\"Current page number\").nullable(),\n total: z.number().int().describe(\"Total number of refunds\").nullable(),\n perPage: z.union([z.number().int(), z.string()]),\n skipped: z.number().int().describe(\"Number of records skipped\").nullable(),\n pageCount: z.number().int().describe(\"Total number of pages\").nullable(),\n totalRetriable: z.number().int().describe(\"Total number of retriable refunds\").nullable().optional(),\n partialAmountLeft: z.union([z.number().int(), z.string()]).nullable().optional(),\n}).passthrough().describe(\"Pagination metadata for the refund list response.\");\nexport const PaystackListRefundsOutput = z.object({\n data: z.array(PaystackListRefunds_RefundItemSchema).describe(\"List of refunds\"),\n meta: PaystackListRefunds_RefundPaginationMetaSchema.nullable(),\n status: z.boolean().describe(\"Whether the request was successful\").nullable(),\n message: z.string().describe(\"Response message\").nullable(),\n}).passthrough().describe(\"Response containing the list of refunds.\");\n\nexport const paystackListRefunds = action(\"PAYSTACK_LIST_REFUNDS\", {\n slug: \"paystack-list-refunds\",\n name: \"List Refunds\",\n description: \"Tool to list refunds available on your integration. Use when you need to retrieve a list of refunds with optional filters for date range and pagination.\",\n input: PaystackListRefundsInput,\n output: PaystackListRefundsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC7F,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,2CAA2C,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,UAAU,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAA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oCAAoC,CAAC,CAAC,SAAS;EAC5E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAC5D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAOhB;AACV,CAAC"}
|
|
@@ -20,20 +20,20 @@ const PaystackListSettlements_SettlementDataSchema = zod.z.object({
|
|
|
20
20
|
settlement_date: zod.z.string().describe("Date when the settlement was made.").nullable().optional(),
|
|
21
21
|
total_processed: zod.z.number().int().describe("Total amount processed in subunit.").nullable().optional(),
|
|
22
22
|
effective_amount: zod.z.number().int().describe("Effective amount settled in subunit.").nullable().optional()
|
|
23
|
-
}).describe("Individual settlement information.");
|
|
23
|
+
}).passthrough().describe("Individual settlement information.");
|
|
24
24
|
const PaystackListSettlements_SettlementMetaSchema = zod.z.object({
|
|
25
25
|
page: zod.z.number().int().describe("Current page number.").nullable(),
|
|
26
26
|
total: zod.z.number().int().describe("Total number of settlements available.").nullable(),
|
|
27
27
|
perPage: zod.z.number().int().describe("Number of settlements per page.").nullable(),
|
|
28
28
|
skipped: zod.z.number().int().describe("Number of settlements skipped (typically (page - 1) * perPage).").nullable(),
|
|
29
29
|
pageCount: zod.z.number().int().describe("Total number of pages available.").nullable()
|
|
30
|
-
}).describe("Pagination metadata for settlements.");
|
|
30
|
+
}).passthrough().describe("Pagination metadata for settlements.");
|
|
31
31
|
const PaystackListSettlementsOutput = zod.z.object({
|
|
32
32
|
data: zod.z.array(PaystackListSettlements_SettlementDataSchema).describe("Array of settlement objects made to your settlement accounts."),
|
|
33
33
|
meta: PaystackListSettlements_SettlementMetaSchema.nullable(),
|
|
34
34
|
status: zod.z.boolean().describe("Indicates whether the request was successful.").nullable(),
|
|
35
35
|
message: zod.z.string().describe("Response message from the API.").nullable()
|
|
36
|
-
}).describe("Response containing the list of settlements.");
|
|
36
|
+
}).passthrough().describe("Response containing the list of settlements.");
|
|
37
37
|
const paystackListSettlements = require_action.action("PAYSTACK_LIST_SETTLEMENTS", {
|
|
38
38
|
slug: "paystack-list-settlements",
|
|
39
39
|
name: "List Settlements",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-settlements.cjs","names":["z","action"],"sources":["../../src/actions/list-settlements.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackListSettlementsInput = z.object({\n page: z.number().int().describe(\"The offset to retrieve data from (page number for pagination).\").optional(),\n perPage: z.number().int().describe(\"The number of records to fetch per request. Controls pagination size.\").optional(),\n}).describe(\"Request model for listing settlements made to your settlement accounts.\");\nconst PaystackListSettlements_SettlementDataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the settlement.\").nullable(),\n domain: z.string().describe(\"Domain associated with the settlement (test or live).\").nullable(),\n status: z.string().describe(\"Status of the settlement.\").nullable(),\n currency: z.string().describe(\"Currency code (NGN, GHS, ZAR, USD).\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the settlement was created.\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the settlement was last updated.\").nullable(),\n deductions: z.unknown().describe(\"Any deductions applied to the settlement.\").nullable().optional(),\n settled_by: z.unknown().describe(\"Information about who or what initiated the settlement.\").nullable().optional(),\n total_fees: z.number().int().describe(\"Total fees deducted in subunit.\").nullable().optional(),\n integration: z.number().int().describe(\"Integration ID.\").nullable().optional(),\n total_amount: z.number().int().describe(\"Total amount settled in subunit (kobo if NGN, pesewas if GHS, cents if ZAR or USD).\").nullable().optional(),\n settlement_date: z.string().describe(\"Date when the settlement was made.\").nullable().optional(),\n total_processed: z.number().int().describe(\"Total amount processed in subunit.\").nullable().optional(),\n effective_amount: z.number().int().describe(\"Effective amount settled in subunit.\").nullable().optional(),\n}).describe(\"Individual settlement information.\");\nconst PaystackListSettlements_SettlementMetaSchema = z.object({\n page: z.number().int().describe(\"Current page number.\").nullable(),\n total: z.number().int().describe(\"Total number of settlements available.\").nullable(),\n perPage: z.number().int().describe(\"Number of settlements per page.\").nullable(),\n skipped: z.number().int().describe(\"Number of settlements skipped (typically (page - 1) * perPage).\").nullable(),\n pageCount: z.number().int().describe(\"Total number of pages available.\").nullable(),\n}).describe(\"Pagination metadata for settlements.\");\nexport const PaystackListSettlementsOutput = z.object({\n data: z.array(PaystackListSettlements_SettlementDataSchema).describe(\"Array of settlement objects made to your settlement accounts.\"),\n meta: PaystackListSettlements_SettlementMetaSchema.nullable(),\n status: z.boolean().describe(\"Indicates whether the request was successful.\").nullable(),\n message: z.string().describe(\"Response message from the API.\").nullable(),\n}).describe(\"Response containing the list of settlements.\");\n\nexport const paystackListSettlements = action(\"PAYSTACK_LIST_SETTLEMENTS\", {\n slug: \"paystack-list-settlements\",\n name: \"List Settlements\",\n description: \"Tool to list settlements made to your settlement accounts. Use when you need to retrieve settlement information with optional pagination support.\",\n input: PaystackListSettlementsInput,\n output: PaystackListSettlementsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC3G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC9F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC9E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC/F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACpG,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnJ,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,SAAS,oCAAoC;
|
|
1
|
+
{"version":3,"file":"list-settlements.cjs","names":["z","action"],"sources":["../../src/actions/list-settlements.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackListSettlementsInput = z.object({\n page: z.number().int().describe(\"The offset to retrieve data from (page number for pagination).\").optional(),\n perPage: z.number().int().describe(\"The number of records to fetch per request. Controls pagination size.\").optional(),\n}).describe(\"Request model for listing settlements made to your settlement accounts.\");\nconst PaystackListSettlements_SettlementDataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the settlement.\").nullable(),\n domain: z.string().describe(\"Domain associated with the settlement (test or live).\").nullable(),\n status: z.string().describe(\"Status of the settlement.\").nullable(),\n currency: z.string().describe(\"Currency code (NGN, GHS, ZAR, USD).\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the settlement was created.\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the settlement was last updated.\").nullable(),\n deductions: z.unknown().describe(\"Any deductions applied to the settlement.\").nullable().optional(),\n settled_by: z.unknown().describe(\"Information about who or what initiated the settlement.\").nullable().optional(),\n total_fees: z.number().int().describe(\"Total fees deducted in subunit.\").nullable().optional(),\n integration: z.number().int().describe(\"Integration ID.\").nullable().optional(),\n total_amount: z.number().int().describe(\"Total amount settled in subunit (kobo if NGN, pesewas if GHS, cents if ZAR or USD).\").nullable().optional(),\n settlement_date: z.string().describe(\"Date when the settlement was made.\").nullable().optional(),\n total_processed: z.number().int().describe(\"Total amount processed in subunit.\").nullable().optional(),\n effective_amount: z.number().int().describe(\"Effective amount settled in subunit.\").nullable().optional(),\n}).passthrough().describe(\"Individual settlement information.\");\nconst PaystackListSettlements_SettlementMetaSchema = z.object({\n page: z.number().int().describe(\"Current page number.\").nullable(),\n total: z.number().int().describe(\"Total number of settlements available.\").nullable(),\n perPage: z.number().int().describe(\"Number of settlements per page.\").nullable(),\n skipped: z.number().int().describe(\"Number of settlements skipped (typically (page - 1) * perPage).\").nullable(),\n pageCount: z.number().int().describe(\"Total number of pages available.\").nullable(),\n}).passthrough().describe(\"Pagination metadata for settlements.\");\nexport const PaystackListSettlementsOutput = z.object({\n data: z.array(PaystackListSettlements_SettlementDataSchema).describe(\"Array of settlement objects made to your settlement accounts.\"),\n meta: PaystackListSettlements_SettlementMetaSchema.nullable(),\n status: z.boolean().describe(\"Indicates whether the request was successful.\").nullable(),\n message: z.string().describe(\"Response message from the API.\").nullable(),\n}).passthrough().describe(\"Response containing the list of settlements.\");\n\nexport const paystackListSettlements = action(\"PAYSTACK_LIST_SETTLEMENTS\", {\n slug: \"paystack-list-settlements\",\n name: \"List Settlements\",\n description: \"Tool to list settlements made to your settlement accounts. Use when you need to retrieve settlement information with optional pagination support.\",\n input: PaystackListSettlementsInput,\n output: PaystackListSettlementsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC3G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC9F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC9E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC/F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACpG,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,YAAYA,IAAAA,EAAE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AAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,+DAA+D;CACpI,MAAM,6CAA6C,SAAS;CAC5D,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACvF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -21,17 +21,17 @@ declare const PaystackListSettlementsOutput: z.ZodObject<{
|
|
|
21
21
|
settlement_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
total_processed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
23
|
effective_amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>>;
|
|
25
25
|
meta: z.ZodNullable<z.ZodObject<{
|
|
26
26
|
page: z.ZodNullable<z.ZodNumber>;
|
|
27
27
|
total: z.ZodNullable<z.ZodNumber>;
|
|
28
28
|
perPage: z.ZodNullable<z.ZodNumber>;
|
|
29
29
|
skipped: z.ZodNullable<z.ZodNumber>;
|
|
30
30
|
pageCount: z.ZodNullable<z.ZodNumber>;
|
|
31
|
-
}, z.core.$
|
|
31
|
+
}, z.core.$loose>>;
|
|
32
32
|
status: z.ZodNullable<z.ZodBoolean>;
|
|
33
33
|
message: z.ZodNullable<z.ZodString>;
|
|
34
|
-
}, z.core.$
|
|
34
|
+
}, z.core.$loose>;
|
|
35
35
|
declare const paystackListSettlements: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
36
36
|
page?: number | undefined;
|
|
37
37
|
perPage?: number | undefined;
|
|
@@ -21,17 +21,17 @@ declare const PaystackListSettlementsOutput: z.ZodObject<{
|
|
|
21
21
|
settlement_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
total_processed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
23
|
effective_amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>>;
|
|
25
25
|
meta: z.ZodNullable<z.ZodObject<{
|
|
26
26
|
page: z.ZodNullable<z.ZodNumber>;
|
|
27
27
|
total: z.ZodNullable<z.ZodNumber>;
|
|
28
28
|
perPage: z.ZodNullable<z.ZodNumber>;
|
|
29
29
|
skipped: z.ZodNullable<z.ZodNumber>;
|
|
30
30
|
pageCount: z.ZodNullable<z.ZodNumber>;
|
|
31
|
-
}, z.core.$
|
|
31
|
+
}, z.core.$loose>>;
|
|
32
32
|
status: z.ZodNullable<z.ZodBoolean>;
|
|
33
33
|
message: z.ZodNullable<z.ZodString>;
|
|
34
|
-
}, z.core.$
|
|
34
|
+
}, z.core.$loose>;
|
|
35
35
|
declare const paystackListSettlements: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
36
36
|
page?: number | undefined;
|
|
37
37
|
perPage?: number | undefined;
|
|
@@ -20,14 +20,14 @@ const PaystackListSettlements_SettlementDataSchema = z.object({
|
|
|
20
20
|
settlement_date: z.string().describe("Date when the settlement was made.").nullable().optional(),
|
|
21
21
|
total_processed: z.number().int().describe("Total amount processed in subunit.").nullable().optional(),
|
|
22
22
|
effective_amount: z.number().int().describe("Effective amount settled in subunit.").nullable().optional()
|
|
23
|
-
}).describe("Individual settlement information.");
|
|
23
|
+
}).passthrough().describe("Individual settlement information.");
|
|
24
24
|
const PaystackListSettlements_SettlementMetaSchema = z.object({
|
|
25
25
|
page: z.number().int().describe("Current page number.").nullable(),
|
|
26
26
|
total: z.number().int().describe("Total number of settlements available.").nullable(),
|
|
27
27
|
perPage: z.number().int().describe("Number of settlements per page.").nullable(),
|
|
28
28
|
skipped: z.number().int().describe("Number of settlements skipped (typically (page - 1) * perPage).").nullable(),
|
|
29
29
|
pageCount: z.number().int().describe("Total number of pages available.").nullable()
|
|
30
|
-
}).describe("Pagination metadata for settlements.");
|
|
30
|
+
}).passthrough().describe("Pagination metadata for settlements.");
|
|
31
31
|
const paystackListSettlements = action("PAYSTACK_LIST_SETTLEMENTS", {
|
|
32
32
|
slug: "paystack-list-settlements",
|
|
33
33
|
name: "List Settlements",
|
|
@@ -38,7 +38,7 @@ const paystackListSettlements = action("PAYSTACK_LIST_SETTLEMENTS", {
|
|
|
38
38
|
meta: PaystackListSettlements_SettlementMetaSchema.nullable(),
|
|
39
39
|
status: z.boolean().describe("Indicates whether the request was successful.").nullable(),
|
|
40
40
|
message: z.string().describe("Response message from the API.").nullable()
|
|
41
|
-
}).describe("Response containing the list of settlements.")
|
|
41
|
+
}).passthrough().describe("Response containing the list of settlements.")
|
|
42
42
|
});
|
|
43
43
|
//#endregion
|
|
44
44
|
export { paystackListSettlements };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-settlements.mjs","names":[],"sources":["../../src/actions/list-settlements.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackListSettlementsInput = z.object({\n page: z.number().int().describe(\"The offset to retrieve data from (page number for pagination).\").optional(),\n perPage: z.number().int().describe(\"The number of records to fetch per request. Controls pagination size.\").optional(),\n}).describe(\"Request model for listing settlements made to your settlement accounts.\");\nconst PaystackListSettlements_SettlementDataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the settlement.\").nullable(),\n domain: z.string().describe(\"Domain associated with the settlement (test or live).\").nullable(),\n status: z.string().describe(\"Status of the settlement.\").nullable(),\n currency: z.string().describe(\"Currency code (NGN, GHS, ZAR, USD).\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the settlement was created.\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the settlement was last updated.\").nullable(),\n deductions: z.unknown().describe(\"Any deductions applied to the settlement.\").nullable().optional(),\n settled_by: z.unknown().describe(\"Information about who or what initiated the settlement.\").nullable().optional(),\n total_fees: z.number().int().describe(\"Total fees deducted in subunit.\").nullable().optional(),\n integration: z.number().int().describe(\"Integration ID.\").nullable().optional(),\n total_amount: z.number().int().describe(\"Total amount settled in subunit (kobo if NGN, pesewas if GHS, cents if ZAR or USD).\").nullable().optional(),\n settlement_date: z.string().describe(\"Date when the settlement was made.\").nullable().optional(),\n total_processed: z.number().int().describe(\"Total amount processed in subunit.\").nullable().optional(),\n effective_amount: z.number().int().describe(\"Effective amount settled in subunit.\").nullable().optional(),\n}).describe(\"Individual settlement information.\");\nconst PaystackListSettlements_SettlementMetaSchema = z.object({\n page: z.number().int().describe(\"Current page number.\").nullable(),\n total: z.number().int().describe(\"Total number of settlements available.\").nullable(),\n perPage: z.number().int().describe(\"Number of settlements per page.\").nullable(),\n skipped: z.number().int().describe(\"Number of settlements skipped (typically (page - 1) * perPage).\").nullable(),\n pageCount: z.number().int().describe(\"Total number of pages available.\").nullable(),\n}).describe(\"Pagination metadata for settlements.\");\nexport const PaystackListSettlementsOutput = z.object({\n data: z.array(PaystackListSettlements_SettlementDataSchema).describe(\"Array of settlement objects made to your settlement accounts.\"),\n meta: PaystackListSettlements_SettlementMetaSchema.nullable(),\n status: z.boolean().describe(\"Indicates whether the request was successful.\").nullable(),\n message: z.string().describe(\"Response message from the API.\").nullable(),\n}).describe(\"Response containing the list of settlements.\");\n\nexport const paystackListSettlements = action(\"PAYSTACK_LIST_SETTLEMENTS\", {\n slug: \"paystack-list-settlements\",\n name: \"List Settlements\",\n description: \"Tool to list settlements made to your settlement accounts. Use when you need to retrieve settlement information with optional pagination support.\",\n input: PaystackListSettlementsInput,\n output: PaystackListSettlementsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC3G,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC9F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAClE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC9E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC/F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACpG,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnJ,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,SAAS,oCAAoC;
|
|
1
|
+
{"version":3,"file":"list-settlements.mjs","names":[],"sources":["../../src/actions/list-settlements.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackListSettlementsInput = z.object({\n page: z.number().int().describe(\"The offset to retrieve data from (page number for pagination).\").optional(),\n perPage: z.number().int().describe(\"The number of records to fetch per request. Controls pagination size.\").optional(),\n}).describe(\"Request model for listing settlements made to your settlement accounts.\");\nconst PaystackListSettlements_SettlementDataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the settlement.\").nullable(),\n domain: z.string().describe(\"Domain associated with the settlement (test or live).\").nullable(),\n status: z.string().describe(\"Status of the settlement.\").nullable(),\n currency: z.string().describe(\"Currency code (NGN, GHS, ZAR, USD).\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the settlement was created.\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the settlement was last updated.\").nullable(),\n deductions: z.unknown().describe(\"Any deductions applied to the settlement.\").nullable().optional(),\n settled_by: z.unknown().describe(\"Information about who or what initiated the settlement.\").nullable().optional(),\n total_fees: z.number().int().describe(\"Total fees deducted in subunit.\").nullable().optional(),\n integration: z.number().int().describe(\"Integration ID.\").nullable().optional(),\n total_amount: z.number().int().describe(\"Total amount settled in subunit (kobo if NGN, pesewas if GHS, cents if ZAR or USD).\").nullable().optional(),\n settlement_date: z.string().describe(\"Date when the settlement was made.\").nullable().optional(),\n total_processed: z.number().int().describe(\"Total amount processed in subunit.\").nullable().optional(),\n effective_amount: z.number().int().describe(\"Effective amount settled in subunit.\").nullable().optional(),\n}).passthrough().describe(\"Individual settlement information.\");\nconst PaystackListSettlements_SettlementMetaSchema = z.object({\n page: z.number().int().describe(\"Current page number.\").nullable(),\n total: z.number().int().describe(\"Total number of settlements available.\").nullable(),\n perPage: z.number().int().describe(\"Number of settlements per page.\").nullable(),\n skipped: z.number().int().describe(\"Number of settlements skipped (typically (page - 1) * perPage).\").nullable(),\n pageCount: z.number().int().describe(\"Total number of pages available.\").nullable(),\n}).passthrough().describe(\"Pagination metadata for settlements.\");\nexport const PaystackListSettlementsOutput = z.object({\n data: z.array(PaystackListSettlements_SettlementDataSchema).describe(\"Array of settlement objects made to your settlement accounts.\"),\n meta: PaystackListSettlements_SettlementMetaSchema.nullable(),\n status: z.boolean().describe(\"Indicates whether the request was successful.\").nullable(),\n message: z.string().describe(\"Response message from the API.\").nullable(),\n}).passthrough().describe(\"Response containing the list of settlements.\");\n\nexport const paystackListSettlements = action(\"PAYSTACK_LIST_SETTLEMENTS\", {\n slug: \"paystack-list-settlements\",\n name: \"List Settlements\",\n description: \"Tool to list settlements made to your settlement accounts. Use when you need to retrieve settlement information with optional pagination support.\",\n input: PaystackListSettlementsInput,\n output: PaystackListSettlementsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC3G,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,IA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CAAC,SAAS,oCAAoC;AAC9D,MAAM,+CAA+C,EAAE,OAAO;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACjE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACpF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC/E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC/G,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAQhE,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZ2C,EAAE,OAAO;EACpD,MAAM,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,+DAA+D;EACpI,MAAM,6CAA6C,SAAS;EAC5D,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACvF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ const PaystackListSplitsInput = zod.z.object({
|
|
|
13
13
|
const PaystackListSplits_SplitSubaccountSchema = zod.z.object({
|
|
14
14
|
share: zod.z.number().int().describe("Share percentage or amount for the subaccount").nullable().optional(),
|
|
15
15
|
subaccount: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Subaccount details object").nullable().optional()
|
|
16
|
-
}).describe("Subaccount details within a split configuration.");
|
|
16
|
+
}).passthrough().describe("Subaccount details within a split configuration.");
|
|
17
17
|
const PaystackListSplits_SplitDataSchema = zod.z.object({
|
|
18
18
|
id: zod.z.number().int().describe("Unique identifier of the split configuration").nullable(),
|
|
19
19
|
name: zod.z.string().describe("Name of the split configuration").nullable(),
|
|
@@ -30,20 +30,20 @@ const PaystackListSplits_SplitDataSchema = zod.z.object({
|
|
|
30
30
|
subaccounts: zod.z.array(PaystackListSplits_SplitSubaccountSchema).describe("List of subaccounts in the split configuration"),
|
|
31
31
|
bearer_subaccount: zod.z.number().int().describe("Bearer subaccount ID if applicable").nullable().optional(),
|
|
32
32
|
total_subaccounts: zod.z.number().int().describe("Total number of subaccounts in the split").nullable()
|
|
33
|
-
}).describe("Split configuration data returned by Paystack API.");
|
|
33
|
+
}).passthrough().describe("Split configuration data returned by Paystack API.");
|
|
34
34
|
const PaystackListSplits_MetaDataSchema = zod.z.object({
|
|
35
35
|
page: zod.z.number().int().describe("Current page number").nullable(),
|
|
36
36
|
total: zod.z.number().int().describe("Total number of splits").nullable(),
|
|
37
37
|
perPage: zod.z.number().int().describe("Number of records per page").nullable(),
|
|
38
38
|
skipped: zod.z.number().int().describe("Number of records skipped").nullable(),
|
|
39
39
|
pageCount: zod.z.number().int().describe("Total number of pages").nullable()
|
|
40
|
-
}).describe("Pagination metadata.");
|
|
40
|
+
}).passthrough().describe("Pagination metadata.");
|
|
41
41
|
const PaystackListSplitsOutput = zod.z.object({
|
|
42
42
|
data: zod.z.array(PaystackListSplits_SplitDataSchema).describe("List of split configuration objects"),
|
|
43
43
|
meta: PaystackListSplits_MetaDataSchema.nullable(),
|
|
44
44
|
status: zod.z.boolean().describe("Indicates if the request was successful").nullable(),
|
|
45
45
|
message: zod.z.string().describe("Response message from the API").nullable()
|
|
46
|
-
}).describe("Response containing the list of transaction splits.");
|
|
46
|
+
}).passthrough().describe("Response containing the list of transaction splits.");
|
|
47
47
|
const paystackListSplits = require_action.action("PAYSTACK_LIST_SPLITS", {
|
|
48
48
|
slug: "paystack-list-splits",
|
|
49
49
|
name: "List Splits",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-splits.cjs","names":["z","action"],"sources":["../../src/actions/list-splits.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackListSplitsInput = z.object({\n name: z.string().describe(\"The name of the split to filter by\").optional(),\n page: z.number().int().describe(\"The offset to retrieve data from (page number)\").optional(),\n active: z.boolean().describe(\"The status of the split - true for active splits, false for inactive splits\").optional(),\n to_date: z.string().describe(\"The end date for filtering splits\").optional(),\n per_page: z.number().int().describe(\"The number of records to fetch per request\").optional(),\n from_date: z.string().describe(\"The start date for filtering splits\").optional(),\n subaccount_code: z.string().describe(\"Filter by subaccount code\").optional(),\n}).describe(\"Request to list transaction splits available on your integration.\");\nconst PaystackListSplits_SplitSubaccountSchema = z.object({\n share: z.number().int().describe(\"Share percentage or amount for the subaccount\").nullable().optional(),\n subaccount: z.record(z.string(), z.unknown()).describe(\"Subaccount details object\").nullable().optional(),\n}).describe(\"Subaccount details within a split configuration.\");\nconst PaystackListSplits_SplitDataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the split configuration\").nullable(),\n name: z.string().describe(\"Name of the split configuration\").nullable(),\n type: z.string().describe(\"Type of split (e.g., percentage, flat)\").nullable(),\n active: z.boolean().describe(\"Whether the split configuration is active\").nullable(),\n domain: z.string().describe(\"Domain (test or live)\").nullable(),\n currency: z.string().describe(\"Currency code for the split\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the split was created\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the split was last updated\").nullable(),\n is_dynamic: z.boolean().describe(\"Whether the split configuration is dynamic\").nullable(),\n split_code: z.string().describe(\"Unique split code identifier\").nullable(),\n bearer_type: z.string().describe(\"Bearer type for the split (who bears the charges)\").nullable(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n subaccounts: z.array(PaystackListSplits_SplitSubaccountSchema).describe(\"List of subaccounts in the split configuration\"),\n bearer_subaccount: z.number().int().describe(\"Bearer subaccount ID if applicable\").nullable().optional(),\n total_subaccounts: z.number().int().describe(\"Total number of subaccounts in the split\").nullable(),\n}).describe(\"Split configuration data returned by Paystack API.\");\nconst PaystackListSplits_MetaDataSchema = z.object({\n page: z.number().int().describe(\"Current page number\").nullable(),\n total: z.number().int().describe(\"Total number of splits\").nullable(),\n perPage: z.number().int().describe(\"Number of records per page\").nullable(),\n skipped: z.number().int().describe(\"Number of records skipped\").nullable(),\n pageCount: z.number().int().describe(\"Total number of pages\").nullable(),\n}).describe(\"Pagination metadata.\");\nexport const PaystackListSplitsOutput = z.object({\n data: z.array(PaystackListSplits_SplitDataSchema).describe(\"List of split configuration objects\"),\n meta: PaystackListSplits_MetaDataSchema.nullable(),\n status: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n message: z.string().describe(\"Response message from the API\").nullable(),\n}).describe(\"Response containing the list of transaction splits.\");\n\nexport const paystackListSplits = action(\"PAYSTACK_LIST_SPLITS\", {\n slug: \"paystack-list-splits\",\n name: \"List Splits\",\n description: \"Tool to list the transaction splits available on your integration. Use when you need to retrieve all split configurations with optional filtering by name, status, subaccount, or date range.\",\n input: PaystackListSplitsInput,\n output: PaystackListSplitsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC3F,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACrH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC3E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC/E,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,SAAS,kDAAkD;
|
|
1
|
+
{"version":3,"file":"list-splits.cjs","names":["z","action"],"sources":["../../src/actions/list-splits.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackListSplitsInput = z.object({\n name: z.string().describe(\"The name of the split to filter by\").optional(),\n page: z.number().int().describe(\"The offset to retrieve data from (page number)\").optional(),\n active: z.boolean().describe(\"The status of the split - true for active splits, false for inactive splits\").optional(),\n to_date: z.string().describe(\"The end date for filtering splits\").optional(),\n per_page: z.number().int().describe(\"The number of records to fetch per request\").optional(),\n from_date: z.string().describe(\"The start date for filtering splits\").optional(),\n subaccount_code: z.string().describe(\"Filter by subaccount code\").optional(),\n}).describe(\"Request to list transaction splits available on your integration.\");\nconst PaystackListSplits_SplitSubaccountSchema = z.object({\n share: z.number().int().describe(\"Share percentage or amount for the subaccount\").nullable().optional(),\n subaccount: z.record(z.string(), z.unknown()).describe(\"Subaccount details object\").nullable().optional(),\n}).passthrough().describe(\"Subaccount details within a split configuration.\");\nconst PaystackListSplits_SplitDataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the split configuration\").nullable(),\n name: z.string().describe(\"Name of the split configuration\").nullable(),\n type: z.string().describe(\"Type of split (e.g., percentage, flat)\").nullable(),\n active: z.boolean().describe(\"Whether the split configuration is active\").nullable(),\n domain: z.string().describe(\"Domain (test or live)\").nullable(),\n currency: z.string().describe(\"Currency code for the split\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the split was created\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the split was last updated\").nullable(),\n is_dynamic: z.boolean().describe(\"Whether the split configuration is dynamic\").nullable(),\n split_code: z.string().describe(\"Unique split code identifier\").nullable(),\n bearer_type: z.string().describe(\"Bearer type for the split (who bears the charges)\").nullable(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n subaccounts: z.array(PaystackListSplits_SplitSubaccountSchema).describe(\"List of subaccounts in the split configuration\"),\n bearer_subaccount: z.number().int().describe(\"Bearer subaccount ID if applicable\").nullable().optional(),\n total_subaccounts: z.number().int().describe(\"Total number of subaccounts in the split\").nullable(),\n}).passthrough().describe(\"Split configuration data returned by Paystack API.\");\nconst PaystackListSplits_MetaDataSchema = z.object({\n page: z.number().int().describe(\"Current page number\").nullable(),\n total: z.number().int().describe(\"Total number of splits\").nullable(),\n perPage: z.number().int().describe(\"Number of records per page\").nullable(),\n skipped: z.number().int().describe(\"Number of records skipped\").nullable(),\n pageCount: z.number().int().describe(\"Total number of pages\").nullable(),\n}).passthrough().describe(\"Pagination metadata.\");\nexport const PaystackListSplitsOutput = z.object({\n data: z.array(PaystackListSplits_SplitDataSchema).describe(\"List of split configuration objects\"),\n meta: PaystackListSplits_MetaDataSchema.nullable(),\n status: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n message: z.string().describe(\"Response message from the API\").nullable(),\n}).passthrough().describe(\"Response containing the list of transaction splits.\");\n\nexport const paystackListSplits = action(\"PAYSTACK_LIST_SPLITS\", {\n slug: \"paystack-list-splits\",\n name: \"List Splits\",\n description: \"Tool to list the transaction splits available on your integration. Use when you need to retrieve all split configurations with optional filtering by name, status, subaccount, or date range.\",\n input: PaystackListSplitsInput,\n output: PaystackListSplitsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC3F,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACrH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC3E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC/E,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC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account: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
30
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>>;
|
|
31
31
|
bearer_subaccount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
32
32
|
total_subaccounts: z.ZodNullable<z.ZodNumber>;
|
|
33
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>;
|
|
34
34
|
meta: z.ZodNullable<z.ZodObject<{
|
|
35
35
|
page: z.ZodNullable<z.ZodNumber>;
|
|
36
36
|
total: z.ZodNullable<z.ZodNumber>;
|
|
37
37
|
perPage: z.ZodNullable<z.ZodNumber>;
|
|
38
38
|
skipped: z.ZodNullable<z.ZodNumber>;
|
|
39
39
|
pageCount: z.ZodNullable<z.ZodNumber>;
|
|
40
|
-
}, z.core.$
|
|
40
|
+
}, z.core.$loose>>;
|
|
41
41
|
status: z.ZodNullable<z.ZodBoolean>;
|
|
42
42
|
message: z.ZodNullable<z.ZodString>;
|
|
43
|
-
}, z.core.$
|
|
43
|
+
}, z.core.$loose>;
|
|
44
44
|
declare const paystackListSplits: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
45
45
|
name?: string | undefined;
|
|
46
46
|
page?: number | undefined;
|
|
@@ -27,20 +27,20 @@ declare const PaystackListSplitsOutput: z.ZodObject<{
|
|
|
27
27
|
subaccounts: z.ZodArray<z.ZodObject<{
|
|
28
28
|
share: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29
29
|
subaccount: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
30
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>>;
|
|
31
31
|
bearer_subaccount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
32
32
|
total_subaccounts: z.ZodNullable<z.ZodNumber>;
|
|
33
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>;
|
|
34
34
|
meta: z.ZodNullable<z.ZodObject<{
|
|
35
35
|
page: z.ZodNullable<z.ZodNumber>;
|
|
36
36
|
total: z.ZodNullable<z.ZodNumber>;
|
|
37
37
|
perPage: z.ZodNullable<z.ZodNumber>;
|
|
38
38
|
skipped: z.ZodNullable<z.ZodNumber>;
|
|
39
39
|
pageCount: z.ZodNullable<z.ZodNumber>;
|
|
40
|
-
}, z.core.$
|
|
40
|
+
}, z.core.$loose>>;
|
|
41
41
|
status: z.ZodNullable<z.ZodBoolean>;
|
|
42
42
|
message: z.ZodNullable<z.ZodString>;
|
|
43
|
-
}, z.core.$
|
|
43
|
+
}, z.core.$loose>;
|
|
44
44
|
declare const paystackListSplits: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
45
45
|
name?: string | undefined;
|
|
46
46
|
page?: number | undefined;
|
|
@@ -13,7 +13,7 @@ const PaystackListSplitsInput = z.object({
|
|
|
13
13
|
const PaystackListSplits_SplitSubaccountSchema = z.object({
|
|
14
14
|
share: z.number().int().describe("Share percentage or amount for the subaccount").nullable().optional(),
|
|
15
15
|
subaccount: z.record(z.string(), z.unknown()).describe("Subaccount details object").nullable().optional()
|
|
16
|
-
}).describe("Subaccount details within a split configuration.");
|
|
16
|
+
}).passthrough().describe("Subaccount details within a split configuration.");
|
|
17
17
|
const PaystackListSplits_SplitDataSchema = z.object({
|
|
18
18
|
id: z.number().int().describe("Unique identifier of the split configuration").nullable(),
|
|
19
19
|
name: z.string().describe("Name of the split configuration").nullable(),
|
|
@@ -30,14 +30,14 @@ const PaystackListSplits_SplitDataSchema = z.object({
|
|
|
30
30
|
subaccounts: z.array(PaystackListSplits_SplitSubaccountSchema).describe("List of subaccounts in the split configuration"),
|
|
31
31
|
bearer_subaccount: z.number().int().describe("Bearer subaccount ID if applicable").nullable().optional(),
|
|
32
32
|
total_subaccounts: z.number().int().describe("Total number of subaccounts in the split").nullable()
|
|
33
|
-
}).describe("Split configuration data returned by Paystack API.");
|
|
33
|
+
}).passthrough().describe("Split configuration data returned by Paystack API.");
|
|
34
34
|
const PaystackListSplits_MetaDataSchema = z.object({
|
|
35
35
|
page: z.number().int().describe("Current page number").nullable(),
|
|
36
36
|
total: z.number().int().describe("Total number of splits").nullable(),
|
|
37
37
|
perPage: z.number().int().describe("Number of records per page").nullable(),
|
|
38
38
|
skipped: z.number().int().describe("Number of records skipped").nullable(),
|
|
39
39
|
pageCount: z.number().int().describe("Total number of pages").nullable()
|
|
40
|
-
}).describe("Pagination metadata.");
|
|
40
|
+
}).passthrough().describe("Pagination metadata.");
|
|
41
41
|
const paystackListSplits = action("PAYSTACK_LIST_SPLITS", {
|
|
42
42
|
slug: "paystack-list-splits",
|
|
43
43
|
name: "List Splits",
|
|
@@ -48,7 +48,7 @@ const paystackListSplits = action("PAYSTACK_LIST_SPLITS", {
|
|
|
48
48
|
meta: PaystackListSplits_MetaDataSchema.nullable(),
|
|
49
49
|
status: z.boolean().describe("Indicates if the request was successful").nullable(),
|
|
50
50
|
message: z.string().describe("Response message from the API").nullable()
|
|
51
|
-
}).describe("Response containing the list of transaction splits.")
|
|
51
|
+
}).passthrough().describe("Response containing the list of transaction splits.")
|
|
52
52
|
});
|
|
53
53
|
//#endregion
|
|
54
54
|
export { paystackListSplits };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-splits.mjs","names":[],"sources":["../../src/actions/list-splits.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackListSplitsInput = z.object({\n name: z.string().describe(\"The name of the split to filter by\").optional(),\n page: z.number().int().describe(\"The offset to retrieve data from (page number)\").optional(),\n active: z.boolean().describe(\"The status of the split - true for active splits, false for inactive splits\").optional(),\n to_date: z.string().describe(\"The end date for filtering splits\").optional(),\n per_page: z.number().int().describe(\"The number of records to fetch per request\").optional(),\n from_date: z.string().describe(\"The start date for filtering splits\").optional(),\n subaccount_code: z.string().describe(\"Filter by subaccount code\").optional(),\n}).describe(\"Request to list transaction splits available on your integration.\");\nconst PaystackListSplits_SplitSubaccountSchema = z.object({\n share: z.number().int().describe(\"Share percentage or amount for the subaccount\").nullable().optional(),\n subaccount: z.record(z.string(), z.unknown()).describe(\"Subaccount details object\").nullable().optional(),\n}).describe(\"Subaccount details within a split configuration.\");\nconst PaystackListSplits_SplitDataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the split configuration\").nullable(),\n name: z.string().describe(\"Name of the split configuration\").nullable(),\n type: z.string().describe(\"Type of split (e.g., percentage, flat)\").nullable(),\n active: z.boolean().describe(\"Whether the split configuration is active\").nullable(),\n domain: z.string().describe(\"Domain (test or live)\").nullable(),\n currency: z.string().describe(\"Currency code for the split\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the split was created\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the split was last updated\").nullable(),\n is_dynamic: z.boolean().describe(\"Whether the split configuration is dynamic\").nullable(),\n split_code: z.string().describe(\"Unique split code identifier\").nullable(),\n bearer_type: z.string().describe(\"Bearer type for the split (who bears the charges)\").nullable(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n subaccounts: z.array(PaystackListSplits_SplitSubaccountSchema).describe(\"List of subaccounts in the split configuration\"),\n bearer_subaccount: z.number().int().describe(\"Bearer subaccount ID if applicable\").nullable().optional(),\n total_subaccounts: z.number().int().describe(\"Total number of subaccounts in the split\").nullable(),\n}).describe(\"Split configuration data returned by Paystack API.\");\nconst PaystackListSplits_MetaDataSchema = z.object({\n page: z.number().int().describe(\"Current page number\").nullable(),\n total: z.number().int().describe(\"Total number of splits\").nullable(),\n perPage: z.number().int().describe(\"Number of records per page\").nullable(),\n skipped: z.number().int().describe(\"Number of records skipped\").nullable(),\n pageCount: z.number().int().describe(\"Total number of pages\").nullable(),\n}).describe(\"Pagination metadata.\");\nexport const PaystackListSplitsOutput = z.object({\n data: z.array(PaystackListSplits_SplitDataSchema).describe(\"List of split configuration objects\"),\n meta: PaystackListSplits_MetaDataSchema.nullable(),\n status: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n message: z.string().describe(\"Response message from the API\").nullable(),\n}).describe(\"Response containing the list of transaction splits.\");\n\nexport const paystackListSplits = action(\"PAYSTACK_LIST_SPLITS\", {\n slug: \"paystack-list-splits\",\n name: \"List Splits\",\n description: \"Tool to list the transaction splits available on your integration. Use when you need to retrieve all split configurations with optional filtering by name, status, subaccount, or date range.\",\n input: PaystackListSplitsInput,\n output: PaystackListSplitsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC3F,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACrH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC/E,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,2CAA2C,EAAE,OAAO;CACxD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,SAAS,kDAAkD;
|
|
1
|
+
{"version":3,"file":"list-splits.mjs","names":[],"sources":["../../src/actions/list-splits.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackListSplitsInput = z.object({\n name: z.string().describe(\"The name of the split to filter by\").optional(),\n page: z.number().int().describe(\"The offset to retrieve data from (page number)\").optional(),\n active: z.boolean().describe(\"The status of the split - true for active splits, false for inactive splits\").optional(),\n to_date: z.string().describe(\"The end date for filtering splits\").optional(),\n per_page: z.number().int().describe(\"The number of records to fetch per request\").optional(),\n from_date: z.string().describe(\"The start date for filtering splits\").optional(),\n subaccount_code: z.string().describe(\"Filter by subaccount code\").optional(),\n}).describe(\"Request to list transaction splits available on your integration.\");\nconst PaystackListSplits_SplitSubaccountSchema = z.object({\n share: z.number().int().describe(\"Share percentage or amount for the subaccount\").nullable().optional(),\n subaccount: z.record(z.string(), z.unknown()).describe(\"Subaccount details object\").nullable().optional(),\n}).passthrough().describe(\"Subaccount details within a split configuration.\");\nconst PaystackListSplits_SplitDataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the split configuration\").nullable(),\n name: z.string().describe(\"Name of the split configuration\").nullable(),\n type: z.string().describe(\"Type of split (e.g., percentage, flat)\").nullable(),\n active: z.boolean().describe(\"Whether the split configuration is active\").nullable(),\n domain: z.string().describe(\"Domain (test or live)\").nullable(),\n currency: z.string().describe(\"Currency code for the split\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the split was created\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the split was last updated\").nullable(),\n is_dynamic: z.boolean().describe(\"Whether the split configuration is dynamic\").nullable(),\n split_code: z.string().describe(\"Unique split code identifier\").nullable(),\n bearer_type: z.string().describe(\"Bearer type for the split (who bears the charges)\").nullable(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n subaccounts: z.array(PaystackListSplits_SplitSubaccountSchema).describe(\"List of subaccounts in the split configuration\"),\n bearer_subaccount: z.number().int().describe(\"Bearer subaccount ID if applicable\").nullable().optional(),\n total_subaccounts: z.number().int().describe(\"Total number of subaccounts in the split\").nullable(),\n}).passthrough().describe(\"Split configuration data returned by Paystack API.\");\nconst PaystackListSplits_MetaDataSchema = z.object({\n page: z.number().int().describe(\"Current page number\").nullable(),\n total: z.number().int().describe(\"Total number of splits\").nullable(),\n perPage: z.number().int().describe(\"Number of records per page\").nullable(),\n skipped: z.number().int().describe(\"Number of records skipped\").nullable(),\n pageCount: z.number().int().describe(\"Total number of pages\").nullable(),\n}).passthrough().describe(\"Pagination metadata.\");\nexport const PaystackListSplitsOutput = z.object({\n data: z.array(PaystackListSplits_SplitDataSchema).describe(\"List of split configuration objects\"),\n meta: PaystackListSplits_MetaDataSchema.nullable(),\n status: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n message: z.string().describe(\"Response message from the API\").nullable(),\n}).passthrough().describe(\"Response containing the list of transaction splits.\");\n\nexport const paystackListSplits = action(\"PAYSTACK_LIST_SPLITS\", {\n slug: \"paystack-list-splits\",\n name: \"List Splits\",\n description: \"Tool to list the transaction splits available on your integration. Use when you need to retrieve all split configurations with optional filtering by name, status, subaccount, or date range.\",\n input: PaystackListSplitsInput,\n output: PaystackListSplitsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC3F,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACrH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC/E,iBAAiB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AA+B,CAAC,CAAC,SAAS;CACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
|
|
@@ -6,12 +6,12 @@ const PaystackListStatesAvs_StateDataSchema = zod.z.object({
|
|
|
6
6
|
name: zod.z.string().describe("Full name of the state or province.").nullable(),
|
|
7
7
|
slug: zod.z.string().describe("URL-friendly identifier for the state.").nullable(),
|
|
8
8
|
abbreviation: zod.z.string().describe("Standard abbreviation for the state or province (e.g., 'ON' for Ontario, 'CA' for California).").nullable()
|
|
9
|
-
}).describe("Individual state information.");
|
|
9
|
+
}).passthrough().describe("Individual state information.");
|
|
10
10
|
const PaystackListStatesAvsOutput = zod.z.object({
|
|
11
11
|
data: zod.z.array(PaystackListStatesAvs_StateDataSchema).describe("Array of states/provinces for the specified country."),
|
|
12
12
|
status: zod.z.boolean().describe("Indicates whether the request was successful.").nullable(),
|
|
13
13
|
message: zod.z.string().describe("Response message from the API.").nullable()
|
|
14
|
-
}).describe("Response from listing states for address verification.");
|
|
14
|
+
}).passthrough().describe("Response from listing states for address verification.");
|
|
15
15
|
const paystackListStatesAvs = require_action.action("PAYSTACK_LIST_STATES_AVS", {
|
|
16
16
|
slug: "paystack-list-states-avs",
|
|
17
17
|
name: "List states for address verification",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-states-avs.cjs","names":["z","action"],"sources":["../../src/actions/list-states-avs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackListStatesAvsInput = z.object({\n country: z.string().describe(\"The country code of the states to list. It is gotten after the charge request.\"),\n}).describe(\"Request model for listing states for address verification.\");\nconst PaystackListStatesAvs_StateDataSchema = z.object({\n name: z.string().describe(\"Full name of the state or province.\").nullable(),\n slug: z.string().describe(\"URL-friendly identifier for the state.\").nullable(),\n abbreviation: z.string().describe(\"Standard abbreviation for the state or province (e.g., 'ON' for Ontario, 'CA' for California).\").nullable(),\n}).describe(\"Individual state information.\");\nexport const PaystackListStatesAvsOutput = z.object({\n data: z.array(PaystackListStatesAvs_StateDataSchema).describe(\"Array of states/provinces for the specified country.\"),\n status: z.boolean().describe(\"Indicates whether the request was successful.\").nullable(),\n message: z.string().describe(\"Response message from the API.\").nullable(),\n}).describe(\"Response from listing states for address verification.\");\n\nexport const paystackListStatesAvs = action(\"PAYSTACK_LIST_STATES_AVS\", {\n slug: \"paystack-list-states-avs\",\n name: \"List states for address verification\",\n description: \"Tool to retrieve a list of states for a country for address verification. Use when you need to get available states/provinces for a specific country code.\",\n input: PaystackListStatesAvsInput,\n output: PaystackListStatesAvsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,EAC/G,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC7E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;AAC/I,CAAC,CAAC,CAAC,SAAS,+BAA+B;
|
|
1
|
+
{"version":3,"file":"list-states-avs.cjs","names":["z","action"],"sources":["../../src/actions/list-states-avs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackListStatesAvsInput = z.object({\n country: z.string().describe(\"The country code of the states to list. It is gotten after the charge request.\"),\n}).describe(\"Request model for listing states for address verification.\");\nconst PaystackListStatesAvs_StateDataSchema = z.object({\n name: z.string().describe(\"Full name of the state or province.\").nullable(),\n slug: z.string().describe(\"URL-friendly identifier for the state.\").nullable(),\n abbreviation: z.string().describe(\"Standard abbreviation for the state or province (e.g., 'ON' for Ontario, 'CA' for California).\").nullable(),\n}).passthrough().describe(\"Individual state information.\");\nexport const PaystackListStatesAvsOutput = z.object({\n data: z.array(PaystackListStatesAvs_StateDataSchema).describe(\"Array of states/provinces for the specified country.\"),\n status: z.boolean().describe(\"Indicates whether the request was successful.\").nullable(),\n message: z.string().describe(\"Response message from the API.\").nullable(),\n}).passthrough().describe(\"Response from listing states for address verification.\");\n\nexport const paystackListStatesAvs = action(\"PAYSTACK_LIST_STATES_AVS\", {\n slug: \"paystack-list-states-avs\",\n name: \"List states for address verification\",\n description: \"Tool to retrieve a list of states for a country for address verification. Use when you need to get available states/provinces for a specific country code.\",\n input: PaystackListStatesAvsInput,\n output: PaystackListStatesAvsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,EAC/G,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC7E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;AAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AACzD,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,sDAAsD;CACpH,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACvF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,10 +9,10 @@ declare const PaystackListStatesAvsOutput: z.ZodObject<{
|
|
|
9
9
|
name: z.ZodNullable<z.ZodString>;
|
|
10
10
|
slug: z.ZodNullable<z.ZodString>;
|
|
11
11
|
abbreviation: z.ZodNullable<z.ZodString>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>;
|
|
13
13
|
status: z.ZodNullable<z.ZodBoolean>;
|
|
14
14
|
message: z.ZodNullable<z.ZodString>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const paystackListStatesAvs: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
country: string;
|
|
18
18
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -9,10 +9,10 @@ declare const PaystackListStatesAvsOutput: z.ZodObject<{
|
|
|
9
9
|
name: z.ZodNullable<z.ZodString>;
|
|
10
10
|
slug: z.ZodNullable<z.ZodString>;
|
|
11
11
|
abbreviation: z.ZodNullable<z.ZodString>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>;
|
|
13
13
|
status: z.ZodNullable<z.ZodBoolean>;
|
|
14
14
|
message: z.ZodNullable<z.ZodString>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const paystackListStatesAvs: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
country: string;
|
|
18
18
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -6,7 +6,7 @@ const PaystackListStatesAvs_StateDataSchema = z.object({
|
|
|
6
6
|
name: z.string().describe("Full name of the state or province.").nullable(),
|
|
7
7
|
slug: z.string().describe("URL-friendly identifier for the state.").nullable(),
|
|
8
8
|
abbreviation: z.string().describe("Standard abbreviation for the state or province (e.g., 'ON' for Ontario, 'CA' for California).").nullable()
|
|
9
|
-
}).describe("Individual state information.");
|
|
9
|
+
}).passthrough().describe("Individual state information.");
|
|
10
10
|
const paystackListStatesAvs = action("PAYSTACK_LIST_STATES_AVS", {
|
|
11
11
|
slug: "paystack-list-states-avs",
|
|
12
12
|
name: "List states for address verification",
|
|
@@ -16,7 +16,7 @@ const paystackListStatesAvs = action("PAYSTACK_LIST_STATES_AVS", {
|
|
|
16
16
|
data: z.array(PaystackListStatesAvs_StateDataSchema).describe("Array of states/provinces for the specified country."),
|
|
17
17
|
status: z.boolean().describe("Indicates whether the request was successful.").nullable(),
|
|
18
18
|
message: z.string().describe("Response message from the API.").nullable()
|
|
19
|
-
}).describe("Response from listing states for address verification.")
|
|
19
|
+
}).passthrough().describe("Response from listing states for address verification.")
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { paystackListStatesAvs };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-states-avs.mjs","names":[],"sources":["../../src/actions/list-states-avs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackListStatesAvsInput = z.object({\n country: z.string().describe(\"The country code of the states to list. It is gotten after the charge request.\"),\n}).describe(\"Request model for listing states for address verification.\");\nconst PaystackListStatesAvs_StateDataSchema = z.object({\n name: z.string().describe(\"Full name of the state or province.\").nullable(),\n slug: z.string().describe(\"URL-friendly identifier for the state.\").nullable(),\n abbreviation: z.string().describe(\"Standard abbreviation for the state or province (e.g., 'ON' for Ontario, 'CA' for California).\").nullable(),\n}).describe(\"Individual state information.\");\nexport const PaystackListStatesAvsOutput = z.object({\n data: z.array(PaystackListStatesAvs_StateDataSchema).describe(\"Array of states/provinces for the specified country.\"),\n status: z.boolean().describe(\"Indicates whether the request was successful.\").nullable(),\n message: z.string().describe(\"Response message from the API.\").nullable(),\n}).describe(\"Response from listing states for address verification.\");\n\nexport const paystackListStatesAvs = action(\"PAYSTACK_LIST_STATES_AVS\", {\n slug: \"paystack-list-states-avs\",\n name: \"List states for address verification\",\n description: \"Tool to retrieve a list of states for a country for address verification. Use when you need to get available states/provinces for a specific country code.\",\n input: PaystackListStatesAvsInput,\n output: PaystackListStatesAvsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO,EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,EAC/G,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,wCAAwC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC7E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;AAC/I,CAAC,CAAC,CAAC,SAAS,+BAA+B;
|
|
1
|
+
{"version":3,"file":"list-states-avs.mjs","names":[],"sources":["../../src/actions/list-states-avs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackListStatesAvsInput = z.object({\n country: z.string().describe(\"The country code of the states to list. It is gotten after the charge request.\"),\n}).describe(\"Request model for listing states for address verification.\");\nconst PaystackListStatesAvs_StateDataSchema = z.object({\n name: z.string().describe(\"Full name of the state or province.\").nullable(),\n slug: z.string().describe(\"URL-friendly identifier for the state.\").nullable(),\n abbreviation: z.string().describe(\"Standard abbreviation for the state or province (e.g., 'ON' for Ontario, 'CA' for California).\").nullable(),\n}).passthrough().describe(\"Individual state information.\");\nexport const PaystackListStatesAvsOutput = z.object({\n data: z.array(PaystackListStatesAvs_StateDataSchema).describe(\"Array of states/provinces for the specified country.\"),\n status: z.boolean().describe(\"Indicates whether the request was successful.\").nullable(),\n message: z.string().describe(\"Response message from the API.\").nullable(),\n}).passthrough().describe(\"Response from listing states for address verification.\");\n\nexport const paystackListStatesAvs = action(\"PAYSTACK_LIST_STATES_AVS\", {\n slug: \"paystack-list-states-avs\",\n name: \"List states for address verification\",\n description: \"Tool to retrieve a list of states for a country for address verification. Use when you need to get available states/provinces for a specific country code.\",\n input: PaystackListStatesAvsInput,\n output: PaystackListStatesAvsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO,EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,EAC/G,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,wCAAwC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC7E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;AAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AAOzD,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXyC,EAAE,OAAO;EAClD,MAAM,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,sDAAsD;EACpH,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACvF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAOhB;AACV,CAAC"}
|
|
@@ -11,13 +11,13 @@ const PaystackListStorefrontProducts_StorefrontProductDataSchema = zod.z.object(
|
|
|
11
11
|
name: zod.z.string().describe("Name of the product").nullable(),
|
|
12
12
|
slug: zod.z.string().describe("URL slug for the product").nullable(),
|
|
13
13
|
type: zod.z.string().describe("Type of the product").nullable(),
|
|
14
|
-
files: zod.z.array(zod.z.
|
|
14
|
+
files: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List of files associated with the product").nullable().optional(),
|
|
15
15
|
price: zod.z.number().int().describe("Price of the product in kobo (or lowest currency unit)").nullable(),
|
|
16
16
|
active: zod.z.boolean().describe("Whether the product is active").nullable(),
|
|
17
17
|
domain: zod.z.string().describe("The domain (test or live)").nullable(),
|
|
18
18
|
currency: zod.z.string().describe("Currency code (e.g., NGN)").nullable(),
|
|
19
19
|
in_stock: zod.z.boolean().describe("Whether the product is in stock").nullable(),
|
|
20
|
-
metadata: zod.z.
|
|
20
|
+
metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional metadata for the product").nullable().optional(),
|
|
21
21
|
quantity: zod.z.number().int().describe("Available quantity of the product").nullable(),
|
|
22
22
|
createdAt: zod.z.string().describe("ISO 8601 timestamp when the product was created").nullable(),
|
|
23
23
|
unlimited: zod.z.boolean().describe("Whether the product has unlimited quantity").nullable(),
|
|
@@ -29,15 +29,15 @@ const PaystackListStorefrontProducts_StorefrontProductDataSchema = zod.z.object(
|
|
|
29
29
|
product_code: zod.z.string().describe("Unique product code").nullable(),
|
|
30
30
|
redirect_url: zod.z.string().describe("URL to redirect to after purchase").nullable().optional(),
|
|
31
31
|
quantity_sold: zod.z.number().int().describe("Number of units sold").nullable(),
|
|
32
|
-
digital_assets: zod.z.array(zod.z.
|
|
32
|
+
digital_assets: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List of digital assets associated with the product").nullable().optional(),
|
|
33
33
|
low_stock_alert: zod.z.number().int().describe("Low stock alert threshold").nullable().optional(),
|
|
34
|
-
shipping_fields: zod.z.
|
|
34
|
+
shipping_fields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Shipping configuration fields").nullable().optional(),
|
|
35
35
|
success_message: zod.z.string().describe("Success message to display after purchase").nullable().optional(),
|
|
36
|
-
variant_options: zod.z.array(zod.z.
|
|
36
|
+
variant_options: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List of variant options for the product").nullable().optional(),
|
|
37
37
|
maximum_orderable: zod.z.number().int().describe("Maximum quantity that can be ordered").nullable().optional(),
|
|
38
38
|
minimum_orderable: zod.z.number().int().describe("Minimum quantity that can be ordered").nullable(),
|
|
39
39
|
notification_emails: zod.z.string().describe("Email addresses for notifications").nullable().optional()
|
|
40
|
-
}).describe("Product information returned from a storefront.");
|
|
40
|
+
}).passthrough().describe("Product information returned from a storefront.");
|
|
41
41
|
const PaystackListStorefrontProducts_StorefrontProductsMetaSchema = zod.z.object({
|
|
42
42
|
page: zod.z.number().int().describe("Current page number").nullable().optional(),
|
|
43
43
|
total: zod.z.number().int().describe("Total number of records").nullable().optional(),
|
|
@@ -45,13 +45,13 @@ const PaystackListStorefrontProducts_StorefrontProductsMetaSchema = zod.z.object
|
|
|
45
45
|
skipped: zod.z.number().int().describe("Number of skipped records").nullable().optional(),
|
|
46
46
|
pageCount: zod.z.number().int().describe("Total number of pages").nullable().optional(),
|
|
47
47
|
product_count: zod.z.number().int().describe("Total number of products in the storefront").nullable().optional()
|
|
48
|
-
}).describe("Pagination metadata for storefront products.");
|
|
48
|
+
}).passthrough().describe("Pagination metadata for storefront products.");
|
|
49
49
|
const PaystackListStorefrontProductsOutput = zod.z.object({
|
|
50
50
|
data: zod.z.array(PaystackListStorefrontProducts_StorefrontProductDataSchema).describe("List of products in the storefront"),
|
|
51
51
|
meta: PaystackListStorefrontProducts_StorefrontProductsMetaSchema.nullable().optional(),
|
|
52
52
|
status: zod.z.boolean().describe("Status of the API request").nullable(),
|
|
53
53
|
message: zod.z.string().describe("Response message from the API").nullable()
|
|
54
|
-
}).describe("Response containing storefront products.");
|
|
54
|
+
}).passthrough().describe("Response containing storefront products.");
|
|
55
55
|
const paystackListStorefrontProducts = require_action.action("PAYSTACK_LIST_STOREFRONT_PRODUCTS", {
|
|
56
56
|
slug: "paystack-list-storefront-products",
|
|
57
57
|
name: "List Storefront Products",
|