@keystrokehq/paystack 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/add-products-to-page.cjs +3 -3
- package/dist/actions/add-products-to-page.cjs.map +1 -1
- package/dist/actions/add-products-to-page.d.cts +3 -3
- package/dist/actions/add-products-to-page.d.mts +3 -3
- package/dist/actions/add-products-to-page.mjs +3 -3
- package/dist/actions/add-products-to-page.mjs.map +1 -1
- package/dist/actions/add-products-to-storefront.cjs +1 -1
- package/dist/actions/add-products-to-storefront.cjs.map +1 -1
- package/dist/actions/add-products-to-storefront.d.cts +1 -1
- package/dist/actions/add-products-to-storefront.d.mts +1 -1
- package/dist/actions/add-products-to-storefront.mjs +1 -1
- package/dist/actions/add-products-to-storefront.mjs.map +1 -1
- package/dist/actions/add-split-code-to-virtual-terminal.cjs +3 -3
- package/dist/actions/add-split-code-to-virtual-terminal.cjs.map +1 -1
- package/dist/actions/add-split-code-to-virtual-terminal.d.cts +3 -3
- package/dist/actions/add-split-code-to-virtual-terminal.d.mts +3 -3
- package/dist/actions/add-split-code-to-virtual-terminal.mjs +3 -3
- package/dist/actions/add-split-code-to-virtual-terminal.mjs.map +1 -1
- package/dist/actions/add-subaccount-to-split.cjs +3 -3
- package/dist/actions/add-subaccount-to-split.cjs.map +1 -1
- package/dist/actions/add-subaccount-to-split.d.cts +3 -3
- package/dist/actions/add-subaccount-to-split.d.mts +3 -3
- package/dist/actions/add-subaccount-to-split.mjs +3 -3
- package/dist/actions/add-subaccount-to-split.mjs.map +1 -1
- package/dist/actions/archive-payment-request.cjs +1 -1
- package/dist/actions/archive-payment-request.cjs.map +1 -1
- package/dist/actions/archive-payment-request.d.cts +1 -1
- package/dist/actions/archive-payment-request.d.mts +1 -1
- package/dist/actions/archive-payment-request.mjs +1 -1
- package/dist/actions/archive-payment-request.mjs.map +1 -1
- package/dist/actions/assign-destination-to-virtual-terminal.cjs +3 -3
- package/dist/actions/assign-destination-to-virtual-terminal.cjs.map +1 -1
- package/dist/actions/assign-destination-to-virtual-terminal.d.cts +4 -3
- package/dist/actions/assign-destination-to-virtual-terminal.d.mts +4 -3
- package/dist/actions/assign-destination-to-virtual-terminal.mjs +3 -3
- package/dist/actions/assign-destination-to-virtual-terminal.mjs.map +1 -1
- package/dist/actions/check-pending-charge.cjs +5 -5
- package/dist/actions/check-pending-charge.cjs.map +1 -1
- package/dist/actions/check-pending-charge.d.cts +5 -5
- package/dist/actions/check-pending-charge.d.mts +5 -5
- package/dist/actions/check-pending-charge.mjs +5 -5
- package/dist/actions/check-pending-charge.mjs.map +1 -1
- package/dist/actions/check-slug-availability.cjs +1 -1
- package/dist/actions/check-slug-availability.cjs.map +1 -1
- package/dist/actions/check-slug-availability.d.cts +1 -1
- package/dist/actions/check-slug-availability.d.mts +1 -1
- package/dist/actions/check-slug-availability.mjs +1 -1
- package/dist/actions/check-slug-availability.mjs.map +1 -1
- package/dist/actions/create-bulk-transfer-recipient.cjs +5 -5
- package/dist/actions/create-bulk-transfer-recipient.cjs.map +1 -1
- package/dist/actions/create-bulk-transfer-recipient.d.cts +6 -5
- package/dist/actions/create-bulk-transfer-recipient.d.cts.map +1 -1
- package/dist/actions/create-bulk-transfer-recipient.d.mts +6 -5
- package/dist/actions/create-bulk-transfer-recipient.d.mts.map +1 -1
- package/dist/actions/create-bulk-transfer-recipient.mjs +5 -5
- package/dist/actions/create-bulk-transfer-recipient.mjs.map +1 -1
- package/dist/actions/create-charge.cjs +8 -8
- package/dist/actions/create-charge.cjs.map +1 -1
- package/dist/actions/create-charge.d.cts +8 -8
- package/dist/actions/create-charge.d.mts +8 -8
- package/dist/actions/create-charge.mjs +8 -8
- package/dist/actions/create-charge.mjs.map +1 -1
- package/dist/actions/create-customer.cjs +2 -2
- package/dist/actions/create-customer.cjs.map +1 -1
- package/dist/actions/create-customer.d.cts +2 -2
- package/dist/actions/create-customer.d.mts +2 -2
- package/dist/actions/create-customer.mjs +2 -2
- package/dist/actions/create-customer.mjs.map +1 -1
- package/dist/actions/create-payment-page.cjs +2 -2
- package/dist/actions/create-payment-page.cjs.map +1 -1
- package/dist/actions/create-payment-page.d.cts +4 -4
- package/dist/actions/create-payment-page.d.mts +4 -4
- package/dist/actions/create-payment-page.mjs +2 -2
- package/dist/actions/create-payment-page.mjs.map +1 -1
- package/dist/actions/create-payment-request.cjs +4 -4
- package/dist/actions/create-payment-request.cjs.map +1 -1
- package/dist/actions/create-payment-request.d.cts +6 -4
- package/dist/actions/create-payment-request.d.mts +6 -4
- package/dist/actions/create-payment-request.mjs +4 -4
- package/dist/actions/create-payment-request.mjs.map +1 -1
- package/dist/actions/create-plan.cjs +2 -2
- package/dist/actions/create-plan.cjs.map +1 -1
- package/dist/actions/create-plan.d.cts +2 -2
- package/dist/actions/create-plan.d.mts +2 -2
- package/dist/actions/create-plan.mjs +2 -2
- package/dist/actions/create-plan.mjs.map +1 -1
- package/dist/actions/create-refund.cjs +11 -11
- package/dist/actions/create-refund.cjs.map +1 -1
- package/dist/actions/create-refund.d.cts +13 -13
- package/dist/actions/create-refund.d.mts +13 -13
- package/dist/actions/create-refund.mjs +11 -11
- package/dist/actions/create-refund.mjs.map +1 -1
- package/dist/actions/create-split.cjs +4 -4
- package/dist/actions/create-split.cjs.map +1 -1
- package/dist/actions/create-split.d.cts +7 -6
- package/dist/actions/create-split.d.mts +7 -6
- package/dist/actions/create-split.mjs +4 -4
- package/dist/actions/create-split.mjs.map +1 -1
- package/dist/actions/create-storefront.cjs +7 -7
- package/dist/actions/create-storefront.cjs.map +1 -1
- package/dist/actions/create-storefront.d.cts +9 -9
- package/dist/actions/create-storefront.d.mts +9 -9
- package/dist/actions/create-storefront.mjs +7 -7
- package/dist/actions/create-storefront.mjs.map +1 -1
- package/dist/actions/create-subaccount.cjs +2 -2
- package/dist/actions/create-subaccount.cjs.map +1 -1
- package/dist/actions/create-subaccount.d.cts +2 -2
- package/dist/actions/create-subaccount.d.mts +2 -2
- package/dist/actions/create-subaccount.mjs +2 -2
- package/dist/actions/create-subaccount.mjs.map +1 -1
- package/dist/actions/create-transfer-recipient.cjs +3 -3
- package/dist/actions/create-transfer-recipient.cjs.map +1 -1
- package/dist/actions/create-transfer-recipient.d.cts +3 -3
- package/dist/actions/create-transfer-recipient.d.mts +3 -3
- package/dist/actions/create-transfer-recipient.mjs +3 -3
- package/dist/actions/create-transfer-recipient.mjs.map +1 -1
- package/dist/actions/create-virtual-terminal.cjs +7 -7
- package/dist/actions/create-virtual-terminal.cjs.map +1 -1
- package/dist/actions/create-virtual-terminal.d.cts +9 -8
- package/dist/actions/create-virtual-terminal.d.cts.map +1 -1
- package/dist/actions/create-virtual-terminal.d.mts +9 -8
- package/dist/actions/create-virtual-terminal.d.mts.map +1 -1
- package/dist/actions/create-virtual-terminal.mjs +7 -7
- package/dist/actions/create-virtual-terminal.mjs.map +1 -1
- package/dist/actions/deactivate-authorization.cjs +1 -1
- package/dist/actions/deactivate-authorization.cjs.map +1 -1
- package/dist/actions/deactivate-authorization.d.cts +1 -1
- package/dist/actions/deactivate-authorization.d.mts +1 -1
- package/dist/actions/deactivate-authorization.mjs +1 -1
- package/dist/actions/deactivate-authorization.mjs.map +1 -1
- package/dist/actions/deactivate-virtual-terminal.cjs +1 -1
- package/dist/actions/deactivate-virtual-terminal.cjs.map +1 -1
- package/dist/actions/deactivate-virtual-terminal.d.cts +1 -1
- package/dist/actions/deactivate-virtual-terminal.d.mts +1 -1
- package/dist/actions/deactivate-virtual-terminal.mjs +1 -1
- package/dist/actions/deactivate-virtual-terminal.mjs.map +1 -1
- package/dist/actions/delete-product.cjs +1 -1
- package/dist/actions/delete-product.cjs.map +1 -1
- package/dist/actions/delete-product.d.cts +1 -1
- package/dist/actions/delete-product.d.mts +1 -1
- package/dist/actions/delete-product.mjs +1 -1
- package/dist/actions/delete-product.mjs.map +1 -1
- package/dist/actions/delete-storefront.cjs +1 -1
- package/dist/actions/delete-storefront.cjs.map +1 -1
- package/dist/actions/delete-storefront.d.cts +1 -1
- package/dist/actions/delete-storefront.d.mts +1 -1
- package/dist/actions/delete-storefront.mjs +1 -1
- package/dist/actions/delete-storefront.mjs.map +1 -1
- package/dist/actions/delete-transfer-recipient.cjs +1 -1
- package/dist/actions/delete-transfer-recipient.cjs.map +1 -1
- package/dist/actions/delete-transfer-recipient.d.cts +1 -1
- package/dist/actions/delete-transfer-recipient.d.mts +1 -1
- package/dist/actions/delete-transfer-recipient.mjs +1 -1
- package/dist/actions/delete-transfer-recipient.mjs.map +1 -1
- package/dist/actions/disable-otp-for-transfers.cjs +1 -1
- package/dist/actions/disable-otp-for-transfers.cjs.map +1 -1
- package/dist/actions/disable-otp-for-transfers.d.cts +1 -1
- package/dist/actions/disable-otp-for-transfers.d.mts +1 -1
- package/dist/actions/disable-otp-for-transfers.mjs +1 -1
- package/dist/actions/disable-otp-for-transfers.mjs.map +1 -1
- package/dist/actions/disable-subscription.cjs +2 -2
- package/dist/actions/disable-subscription.cjs.map +1 -1
- package/dist/actions/disable-subscription.d.cts +2 -2
- package/dist/actions/disable-subscription.d.mts +2 -2
- package/dist/actions/disable-subscription.mjs +2 -2
- package/dist/actions/disable-subscription.mjs.map +1 -1
- package/dist/actions/duplicate-storefront.cjs +2 -2
- package/dist/actions/duplicate-storefront.cjs.map +1 -1
- package/dist/actions/duplicate-storefront.d.cts +2 -2
- package/dist/actions/duplicate-storefront.d.mts +2 -2
- package/dist/actions/duplicate-storefront.mjs +2 -2
- package/dist/actions/duplicate-storefront.mjs.map +1 -1
- package/dist/actions/enable-otp-requirement-for-transfers.cjs +1 -1
- package/dist/actions/enable-otp-requirement-for-transfers.cjs.map +1 -1
- package/dist/actions/enable-otp-requirement-for-transfers.d.cts +1 -1
- package/dist/actions/enable-otp-requirement-for-transfers.d.mts +1 -1
- package/dist/actions/enable-otp-requirement-for-transfers.mjs +1 -1
- package/dist/actions/enable-otp-requirement-for-transfers.mjs.map +1 -1
- package/dist/actions/export-transactions.cjs +2 -2
- package/dist/actions/export-transactions.cjs.map +1 -1
- package/dist/actions/export-transactions.d.cts +2 -2
- package/dist/actions/export-transactions.d.mts +2 -2
- package/dist/actions/export-transactions.mjs +2 -2
- package/dist/actions/export-transactions.mjs.map +1 -1
- package/dist/actions/fetch-balance-ledger.cjs +3 -3
- package/dist/actions/fetch-balance-ledger.cjs.map +1 -1
- package/dist/actions/fetch-balance-ledger.d.cts +3 -3
- package/dist/actions/fetch-balance-ledger.d.mts +3 -3
- package/dist/actions/fetch-balance-ledger.mjs +3 -3
- package/dist/actions/fetch-balance-ledger.mjs.map +1 -1
- package/dist/actions/fetch-balance.cjs +2 -2
- package/dist/actions/fetch-balance.cjs.map +1 -1
- package/dist/actions/fetch-balance.d.cts +2 -2
- package/dist/actions/fetch-balance.d.mts +2 -2
- package/dist/actions/fetch-balance.mjs +2 -2
- package/dist/actions/fetch-balance.mjs.map +1 -1
- package/dist/actions/fetch-bulk-charge-batch.cjs +2 -2
- package/dist/actions/fetch-bulk-charge-batch.cjs.map +1 -1
- package/dist/actions/fetch-bulk-charge-batch.d.cts +2 -2
- package/dist/actions/fetch-bulk-charge-batch.d.mts +2 -2
- package/dist/actions/fetch-bulk-charge-batch.mjs +2 -2
- package/dist/actions/fetch-bulk-charge-batch.mjs.map +1 -1
- package/dist/actions/fetch-customer.cjs +9 -9
- package/dist/actions/fetch-customer.cjs.map +1 -1
- package/dist/actions/fetch-customer.d.cts +10 -10
- package/dist/actions/fetch-customer.d.mts +10 -10
- package/dist/actions/fetch-customer.mjs +9 -9
- package/dist/actions/fetch-customer.mjs.map +1 -1
- package/dist/actions/fetch-mandate-authorizations.cjs +5 -5
- package/dist/actions/fetch-mandate-authorizations.cjs.map +1 -1
- package/dist/actions/fetch-mandate-authorizations.d.cts +5 -5
- package/dist/actions/fetch-mandate-authorizations.d.mts +5 -5
- package/dist/actions/fetch-mandate-authorizations.mjs +5 -5
- package/dist/actions/fetch-mandate-authorizations.mjs.map +1 -1
- package/dist/actions/fetch-payment-page.cjs +2 -2
- package/dist/actions/fetch-payment-page.cjs.map +1 -1
- package/dist/actions/fetch-payment-page.d.cts +2 -2
- package/dist/actions/fetch-payment-page.d.mts +2 -2
- package/dist/actions/fetch-payment-page.mjs +2 -2
- package/dist/actions/fetch-payment-page.mjs.map +1 -1
- package/dist/actions/fetch-payment-request.cjs +7 -7
- package/dist/actions/fetch-payment-request.cjs.map +1 -1
- package/dist/actions/fetch-payment-request.d.cts +7 -7
- package/dist/actions/fetch-payment-request.d.mts +7 -7
- package/dist/actions/fetch-payment-request.mjs +7 -7
- package/dist/actions/fetch-payment-request.mjs.map +1 -1
- package/dist/actions/fetch-payment-session-timeout.cjs +2 -2
- package/dist/actions/fetch-payment-session-timeout.cjs.map +1 -1
- package/dist/actions/fetch-payment-session-timeout.d.cts +2 -2
- package/dist/actions/fetch-payment-session-timeout.d.mts +2 -2
- package/dist/actions/fetch-payment-session-timeout.mjs +2 -2
- package/dist/actions/fetch-payment-session-timeout.mjs.map +1 -1
- package/dist/actions/fetch-plan.cjs +5 -5
- package/dist/actions/fetch-plan.cjs.map +1 -1
- package/dist/actions/fetch-plan.d.cts +5 -5
- package/dist/actions/fetch-plan.d.mts +5 -5
- package/dist/actions/fetch-plan.mjs +5 -5
- package/dist/actions/fetch-plan.mjs.map +1 -1
- package/dist/actions/fetch-product-orders.cjs +11 -11
- package/dist/actions/fetch-product-orders.cjs.map +1 -1
- package/dist/actions/fetch-product-orders.d.cts +11 -11
- package/dist/actions/fetch-product-orders.d.mts +11 -11
- package/dist/actions/fetch-product-orders.mjs +11 -11
- package/dist/actions/fetch-product-orders.mjs.map +1 -1
- package/dist/actions/fetch-product.cjs +8 -8
- package/dist/actions/fetch-product.cjs.map +1 -1
- package/dist/actions/fetch-product.d.cts +8 -8
- package/dist/actions/fetch-product.d.mts +8 -8
- package/dist/actions/fetch-product.mjs +8 -8
- package/dist/actions/fetch-product.mjs.map +1 -1
- package/dist/actions/fetch-refund.cjs +3 -3
- package/dist/actions/fetch-refund.cjs.map +1 -1
- package/dist/actions/fetch-refund.d.cts +3 -3
- package/dist/actions/fetch-refund.d.mts +3 -3
- package/dist/actions/fetch-refund.mjs +3 -3
- package/dist/actions/fetch-refund.mjs.map +1 -1
- package/dist/actions/fetch-split.cjs +3 -3
- package/dist/actions/fetch-split.cjs.map +1 -1
- package/dist/actions/fetch-split.d.cts +3 -3
- package/dist/actions/fetch-split.d.mts +3 -3
- package/dist/actions/fetch-split.mjs +3 -3
- package/dist/actions/fetch-split.mjs.map +1 -1
- package/dist/actions/fetch-storefront-orders.cjs +11 -11
- package/dist/actions/fetch-storefront-orders.cjs.map +1 -1
- package/dist/actions/fetch-storefront-orders.d.cts +11 -11
- package/dist/actions/fetch-storefront-orders.d.mts +11 -11
- package/dist/actions/fetch-storefront-orders.mjs +11 -11
- package/dist/actions/fetch-storefront-orders.mjs.map +1 -1
- package/dist/actions/fetch-storefront.cjs +8 -8
- package/dist/actions/fetch-storefront.cjs.map +1 -1
- package/dist/actions/fetch-storefront.d.cts +8 -8
- package/dist/actions/fetch-storefront.d.mts +8 -8
- package/dist/actions/fetch-storefront.mjs +8 -8
- package/dist/actions/fetch-storefront.mjs.map +1 -1
- package/dist/actions/fetch-subaccount.cjs +2 -2
- package/dist/actions/fetch-subaccount.cjs.map +1 -1
- package/dist/actions/fetch-subaccount.d.cts +2 -2
- package/dist/actions/fetch-subaccount.d.mts +2 -2
- package/dist/actions/fetch-subaccount.mjs +2 -2
- package/dist/actions/fetch-subaccount.mjs.map +1 -1
- package/dist/actions/fetch-subscription.cjs +13 -13
- package/dist/actions/fetch-subscription.cjs.map +1 -1
- package/dist/actions/fetch-subscription.d.cts +13 -13
- package/dist/actions/fetch-subscription.d.mts +13 -13
- package/dist/actions/fetch-subscription.mjs +13 -13
- package/dist/actions/fetch-subscription.mjs.map +1 -1
- package/dist/actions/fetch-transaction-timeline.cjs +4 -4
- package/dist/actions/fetch-transaction-timeline.cjs.map +1 -1
- package/dist/actions/fetch-transaction-timeline.d.cts +4 -4
- package/dist/actions/fetch-transaction-timeline.d.mts +4 -4
- package/dist/actions/fetch-transaction-timeline.mjs +4 -4
- package/dist/actions/fetch-transaction-timeline.mjs.map +1 -1
- package/dist/actions/fetch-transaction.cjs +16 -16
- package/dist/actions/fetch-transaction.cjs.map +1 -1
- package/dist/actions/fetch-transaction.d.cts +17 -17
- package/dist/actions/fetch-transaction.d.mts +17 -17
- package/dist/actions/fetch-transaction.mjs +16 -16
- package/dist/actions/fetch-transaction.mjs.map +1 -1
- package/dist/actions/fetch-transfer-recipient.cjs +3 -3
- package/dist/actions/fetch-transfer-recipient.cjs.map +1 -1
- package/dist/actions/fetch-transfer-recipient.d.cts +3 -3
- package/dist/actions/fetch-transfer-recipient.d.mts +3 -3
- package/dist/actions/fetch-transfer-recipient.mjs +3 -3
- package/dist/actions/fetch-transfer-recipient.mjs.map +1 -1
- package/dist/actions/fetch-virtual-terminal.cjs +4 -4
- package/dist/actions/fetch-virtual-terminal.cjs.map +1 -1
- package/dist/actions/fetch-virtual-terminal.d.cts +4 -4
- package/dist/actions/fetch-virtual-terminal.d.mts +4 -4
- package/dist/actions/fetch-virtual-terminal.mjs +4 -4
- package/dist/actions/fetch-virtual-terminal.mjs.map +1 -1
- package/dist/actions/finalize-payment-request.cjs +7 -7
- package/dist/actions/finalize-payment-request.cjs.map +1 -1
- package/dist/actions/finalize-payment-request.d.cts +7 -7
- package/dist/actions/finalize-payment-request.d.mts +7 -7
- package/dist/actions/finalize-payment-request.mjs +7 -7
- package/dist/actions/finalize-payment-request.mjs.map +1 -1
- package/dist/actions/generate-update-subscription-link.cjs +2 -2
- package/dist/actions/generate-update-subscription-link.cjs.map +1 -1
- package/dist/actions/generate-update-subscription-link.d.cts +2 -2
- package/dist/actions/generate-update-subscription-link.d.mts +2 -2
- package/dist/actions/generate-update-subscription-link.mjs +2 -2
- package/dist/actions/generate-update-subscription-link.mjs.map +1 -1
- package/dist/actions/get-payment-request-totals.cjs +3 -3
- package/dist/actions/get-payment-request-totals.cjs.map +1 -1
- package/dist/actions/get-payment-request-totals.d.cts +5 -5
- package/dist/actions/get-payment-request-totals.d.mts +5 -5
- package/dist/actions/get-payment-request-totals.mjs +3 -3
- package/dist/actions/get-payment-request-totals.mjs.map +1 -1
- package/dist/actions/get-transaction-totals.cjs +3 -3
- package/dist/actions/get-transaction-totals.cjs.map +1 -1
- package/dist/actions/get-transaction-totals.d.cts +4 -4
- package/dist/actions/get-transaction-totals.d.mts +4 -4
- package/dist/actions/get-transaction-totals.mjs +3 -3
- package/dist/actions/get-transaction-totals.mjs.map +1 -1
- package/dist/actions/initialize-authorization.cjs +2 -2
- package/dist/actions/initialize-authorization.cjs.map +1 -1
- package/dist/actions/initialize-authorization.d.cts +2 -2
- package/dist/actions/initialize-authorization.d.mts +2 -2
- package/dist/actions/initialize-authorization.mjs +2 -2
- package/dist/actions/initialize-authorization.mjs.map +1 -1
- package/dist/actions/initialize-transaction.cjs +3 -3
- package/dist/actions/initialize-transaction.cjs.map +1 -1
- package/dist/actions/initialize-transaction.d.cts +8 -7
- package/dist/actions/initialize-transaction.d.cts.map +1 -1
- package/dist/actions/initialize-transaction.d.mts +8 -7
- package/dist/actions/initialize-transaction.d.mts.map +1 -1
- package/dist/actions/initialize-transaction.mjs +3 -3
- package/dist/actions/initialize-transaction.mjs.map +1 -1
- package/dist/actions/initiate-bulk-charge.cjs +3 -3
- package/dist/actions/initiate-bulk-charge.cjs.map +1 -1
- package/dist/actions/initiate-bulk-charge.d.cts +4 -3
- package/dist/actions/initiate-bulk-charge.d.cts.map +1 -1
- package/dist/actions/initiate-bulk-charge.d.mts +4 -3
- package/dist/actions/initiate-bulk-charge.d.mts.map +1 -1
- package/dist/actions/initiate-bulk-charge.mjs +3 -3
- package/dist/actions/initiate-bulk-charge.mjs.map +1 -1
- package/dist/actions/list-banks.cjs +3 -3
- package/dist/actions/list-banks.cjs.map +1 -1
- package/dist/actions/list-banks.d.cts +3 -3
- package/dist/actions/list-banks.d.mts +3 -3
- package/dist/actions/list-banks.mjs +3 -3
- package/dist/actions/list-banks.mjs.map +1 -1
- package/dist/actions/list-bulk-charge-batches.cjs +4 -4
- package/dist/actions/list-bulk-charge-batches.cjs.map +1 -1
- package/dist/actions/list-bulk-charge-batches.d.cts +4 -4
- package/dist/actions/list-bulk-charge-batches.d.mts +4 -4
- package/dist/actions/list-bulk-charge-batches.mjs +4 -4
- package/dist/actions/list-bulk-charge-batches.mjs.map +1 -1
- package/dist/actions/list-charges-in-batch.cjs +8 -8
- package/dist/actions/list-charges-in-batch.cjs.map +1 -1
- package/dist/actions/list-charges-in-batch.d.cts +8 -8
- package/dist/actions/list-charges-in-batch.d.mts +8 -8
- package/dist/actions/list-charges-in-batch.mjs +8 -8
- package/dist/actions/list-charges-in-batch.mjs.map +1 -1
- package/dist/actions/list-countries.cjs +2 -2
- package/dist/actions/list-countries.cjs.map +1 -1
- package/dist/actions/list-countries.d.cts +2 -2
- package/dist/actions/list-countries.d.mts +2 -2
- package/dist/actions/list-countries.mjs +2 -2
- package/dist/actions/list-countries.mjs.map +1 -1
- package/dist/actions/list-customers.cjs +3 -3
- package/dist/actions/list-customers.cjs.map +1 -1
- package/dist/actions/list-customers.d.cts +3 -3
- package/dist/actions/list-customers.d.mts +3 -3
- package/dist/actions/list-customers.mjs +3 -3
- package/dist/actions/list-customers.mjs.map +1 -1
- package/dist/actions/list-disputes.cjs +18 -18
- package/dist/actions/list-disputes.cjs.map +1 -1
- package/dist/actions/list-disputes.d.cts +16 -16
- package/dist/actions/list-disputes.d.mts +16 -16
- package/dist/actions/list-disputes.mjs +18 -18
- package/dist/actions/list-disputes.mjs.map +1 -1
- package/dist/actions/list-domains.cjs +2 -2
- package/dist/actions/list-domains.cjs.map +1 -1
- package/dist/actions/list-domains.d.cts +2 -2
- package/dist/actions/list-domains.d.mts +2 -2
- package/dist/actions/list-domains.mjs +2 -2
- package/dist/actions/list-domains.mjs.map +1 -1
- package/dist/actions/list-mandate-authorizations.cjs +5 -5
- package/dist/actions/list-mandate-authorizations.cjs.map +1 -1
- package/dist/actions/list-mandate-authorizations.d.cts +5 -5
- package/dist/actions/list-mandate-authorizations.d.mts +5 -5
- package/dist/actions/list-mandate-authorizations.mjs +5 -5
- package/dist/actions/list-mandate-authorizations.mjs.map +1 -1
- package/dist/actions/list-orders.cjs +3 -3
- package/dist/actions/list-orders.cjs.map +1 -1
- package/dist/actions/list-orders.d.cts +3 -3
- package/dist/actions/list-orders.d.mts +3 -3
- package/dist/actions/list-orders.mjs +3 -3
- package/dist/actions/list-orders.mjs.map +1 -1
- package/dist/actions/list-payment-pages.cjs +3 -3
- package/dist/actions/list-payment-pages.cjs.map +1 -1
- package/dist/actions/list-payment-pages.d.cts +3 -3
- package/dist/actions/list-payment-pages.d.mts +3 -3
- package/dist/actions/list-payment-pages.mjs +3 -3
- package/dist/actions/list-payment-pages.mjs.map +1 -1
- package/dist/actions/list-payment-requests.cjs +8 -8
- package/dist/actions/list-payment-requests.cjs.map +1 -1
- package/dist/actions/list-payment-requests.d.cts +8 -8
- package/dist/actions/list-payment-requests.d.mts +8 -8
- package/dist/actions/list-payment-requests.mjs +8 -8
- package/dist/actions/list-payment-requests.mjs.map +1 -1
- package/dist/actions/list-plans.cjs +5 -5
- package/dist/actions/list-plans.cjs.map +1 -1
- package/dist/actions/list-plans.d.cts +5 -5
- package/dist/actions/list-plans.d.mts +5 -5
- package/dist/actions/list-plans.mjs +5 -5
- package/dist/actions/list-plans.mjs.map +1 -1
- package/dist/actions/list-products.cjs +8 -8
- package/dist/actions/list-products.cjs.map +1 -1
- package/dist/actions/list-products.d.cts +8 -8
- package/dist/actions/list-products.d.mts +8 -8
- package/dist/actions/list-products.mjs +8 -8
- package/dist/actions/list-products.mjs.map +1 -1
- package/dist/actions/list-refunds.cjs +8 -8
- package/dist/actions/list-refunds.cjs.map +1 -1
- package/dist/actions/list-refunds.d.cts +8 -8
- package/dist/actions/list-refunds.d.mts +8 -8
- package/dist/actions/list-refunds.mjs +8 -8
- package/dist/actions/list-refunds.mjs.map +1 -1
- package/dist/actions/list-settlements.cjs +3 -3
- package/dist/actions/list-settlements.cjs.map +1 -1
- package/dist/actions/list-settlements.d.cts +3 -3
- package/dist/actions/list-settlements.d.mts +3 -3
- package/dist/actions/list-settlements.mjs +3 -3
- package/dist/actions/list-settlements.mjs.map +1 -1
- package/dist/actions/list-splits.cjs +4 -4
- package/dist/actions/list-splits.cjs.map +1 -1
- package/dist/actions/list-splits.d.cts +4 -4
- package/dist/actions/list-splits.d.mts +4 -4
- package/dist/actions/list-splits.mjs +4 -4
- package/dist/actions/list-splits.mjs.map +1 -1
- package/dist/actions/list-states-avs.cjs +2 -2
- package/dist/actions/list-states-avs.cjs.map +1 -1
- package/dist/actions/list-states-avs.d.cts +2 -2
- package/dist/actions/list-states-avs.d.mts +2 -2
- package/dist/actions/list-states-avs.mjs +2 -2
- package/dist/actions/list-states-avs.mjs.map +1 -1
- package/dist/actions/list-storefront-products.cjs +8 -8
- package/dist/actions/list-storefront-products.cjs.map +1 -1
- package/dist/actions/list-storefront-products.d.cts +8 -8
- package/dist/actions/list-storefront-products.d.mts +8 -8
- package/dist/actions/list-storefront-products.mjs +8 -8
- package/dist/actions/list-storefront-products.mjs.map +1 -1
- package/dist/actions/list-storefronts.cjs +8 -8
- package/dist/actions/list-storefronts.cjs.map +1 -1
- package/dist/actions/list-storefronts.d.cts +8 -8
- package/dist/actions/list-storefronts.d.mts +8 -8
- package/dist/actions/list-storefronts.mjs +8 -8
- package/dist/actions/list-storefronts.mjs.map +1 -1
- package/dist/actions/list-subaccounts.cjs +3 -3
- package/dist/actions/list-subaccounts.cjs.map +1 -1
- package/dist/actions/list-subaccounts.d.cts +3 -3
- package/dist/actions/list-subaccounts.d.mts +3 -3
- package/dist/actions/list-subaccounts.mjs +3 -3
- package/dist/actions/list-subaccounts.mjs.map +1 -1
- package/dist/actions/list-subscriptions.cjs +12 -12
- package/dist/actions/list-subscriptions.cjs.map +1 -1
- package/dist/actions/list-subscriptions.d.cts +12 -12
- package/dist/actions/list-subscriptions.d.mts +12 -12
- package/dist/actions/list-subscriptions.mjs +12 -12
- package/dist/actions/list-subscriptions.mjs.map +1 -1
- package/dist/actions/list-transactions.cjs +17 -17
- package/dist/actions/list-transactions.cjs.map +1 -1
- package/dist/actions/list-transactions.d.cts +17 -17
- package/dist/actions/list-transactions.d.mts +17 -17
- package/dist/actions/list-transactions.mjs +17 -17
- package/dist/actions/list-transactions.mjs.map +1 -1
- package/dist/actions/list-transfer-recipients.cjs +3 -3
- package/dist/actions/list-transfer-recipients.cjs.map +1 -1
- package/dist/actions/list-transfer-recipients.d.cts +3 -3
- package/dist/actions/list-transfer-recipients.d.mts +3 -3
- package/dist/actions/list-transfer-recipients.mjs +3 -3
- package/dist/actions/list-transfer-recipients.mjs.map +1 -1
- package/dist/actions/list-transfers.cjs +4 -4
- package/dist/actions/list-transfers.cjs.map +1 -1
- package/dist/actions/list-transfers.d.cts +4 -4
- package/dist/actions/list-transfers.d.mts +4 -4
- package/dist/actions/list-transfers.mjs +4 -4
- package/dist/actions/list-transfers.mjs.map +1 -1
- package/dist/actions/list-virtual-terminals.cjs +4 -4
- package/dist/actions/list-virtual-terminals.cjs.map +1 -1
- package/dist/actions/list-virtual-terminals.d.cts +4 -4
- package/dist/actions/list-virtual-terminals.d.mts +4 -4
- package/dist/actions/list-virtual-terminals.mjs +4 -4
- package/dist/actions/list-virtual-terminals.mjs.map +1 -1
- package/dist/actions/pause-bulk-charge.cjs +1 -1
- package/dist/actions/pause-bulk-charge.cjs.map +1 -1
- package/dist/actions/pause-bulk-charge.d.cts +1 -1
- package/dist/actions/pause-bulk-charge.d.mts +1 -1
- package/dist/actions/pause-bulk-charge.mjs +1 -1
- package/dist/actions/pause-bulk-charge.mjs.map +1 -1
- package/dist/actions/publish-storefront.cjs +2 -2
- package/dist/actions/publish-storefront.cjs.map +1 -1
- package/dist/actions/publish-storefront.d.cts +2 -2
- package/dist/actions/publish-storefront.d.mts +2 -2
- package/dist/actions/publish-storefront.mjs +2 -2
- package/dist/actions/publish-storefront.mjs.map +1 -1
- package/dist/actions/remove-subaccount-from-split.cjs +1 -1
- package/dist/actions/remove-subaccount-from-split.cjs.map +1 -1
- package/dist/actions/remove-subaccount-from-split.d.cts +1 -1
- package/dist/actions/remove-subaccount-from-split.d.mts +1 -1
- package/dist/actions/remove-subaccount-from-split.mjs +1 -1
- package/dist/actions/remove-subaccount-from-split.mjs.map +1 -1
- package/dist/actions/resend-otp-for-transfer.cjs +1 -1
- package/dist/actions/resend-otp-for-transfer.cjs.map +1 -1
- package/dist/actions/resend-otp-for-transfer.d.cts +1 -1
- package/dist/actions/resend-otp-for-transfer.d.mts +1 -1
- package/dist/actions/resend-otp-for-transfer.mjs +1 -1
- package/dist/actions/resend-otp-for-transfer.mjs.map +1 -1
- package/dist/actions/resolve-card-bin.cjs +2 -2
- package/dist/actions/resolve-card-bin.cjs.map +1 -1
- package/dist/actions/resolve-card-bin.d.cts +2 -2
- package/dist/actions/resolve-card-bin.d.mts +2 -2
- package/dist/actions/resolve-card-bin.mjs +2 -2
- package/dist/actions/resolve-card-bin.mjs.map +1 -1
- package/dist/actions/resume-bulk-charge-batch.cjs +1 -1
- package/dist/actions/resume-bulk-charge-batch.cjs.map +1 -1
- package/dist/actions/resume-bulk-charge-batch.d.cts +1 -1
- package/dist/actions/resume-bulk-charge-batch.d.mts +1 -1
- package/dist/actions/resume-bulk-charge-batch.mjs +1 -1
- package/dist/actions/resume-bulk-charge-batch.mjs.map +1 -1
- package/dist/actions/send-payment-request-notification.cjs +1 -1
- package/dist/actions/send-payment-request-notification.cjs.map +1 -1
- package/dist/actions/send-payment-request-notification.d.cts +1 -1
- package/dist/actions/send-payment-request-notification.d.mts +1 -1
- package/dist/actions/send-payment-request-notification.mjs +1 -1
- package/dist/actions/send-payment-request-notification.mjs.map +1 -1
- package/dist/actions/send-subscription-update-link.cjs +2 -2
- package/dist/actions/send-subscription-update-link.cjs.map +1 -1
- package/dist/actions/send-subscription-update-link.d.cts +2 -2
- package/dist/actions/send-subscription-update-link.d.mts +2 -2
- package/dist/actions/send-subscription-update-link.mjs +2 -2
- package/dist/actions/send-subscription-update-link.mjs.map +1 -1
- package/dist/actions/set-risk-action.cjs +5 -5
- package/dist/actions/set-risk-action.cjs.map +1 -1
- package/dist/actions/set-risk-action.d.cts +5 -5
- package/dist/actions/set-risk-action.d.mts +5 -5
- package/dist/actions/set-risk-action.mjs +5 -5
- package/dist/actions/set-risk-action.mjs.map +1 -1
- package/dist/actions/submit-phone.cjs +5 -5
- package/dist/actions/submit-phone.cjs.map +1 -1
- package/dist/actions/submit-phone.d.cts +5 -5
- package/dist/actions/submit-phone.d.mts +5 -5
- package/dist/actions/submit-phone.mjs +5 -5
- package/dist/actions/submit-phone.mjs.map +1 -1
- package/dist/actions/trigger-direct-debit-activation-charge.cjs +1 -1
- package/dist/actions/trigger-direct-debit-activation-charge.cjs.map +1 -1
- package/dist/actions/trigger-direct-debit-activation-charge.d.cts +1 -1
- package/dist/actions/trigger-direct-debit-activation-charge.d.mts +1 -1
- package/dist/actions/trigger-direct-debit-activation-charge.mjs +1 -1
- package/dist/actions/trigger-direct-debit-activation-charge.mjs.map +1 -1
- package/dist/actions/unassign-destination-from-virtual-terminal.cjs +1 -1
- package/dist/actions/unassign-destination-from-virtual-terminal.cjs.map +1 -1
- package/dist/actions/unassign-destination-from-virtual-terminal.d.cts +1 -1
- package/dist/actions/unassign-destination-from-virtual-terminal.d.mts +1 -1
- package/dist/actions/unassign-destination-from-virtual-terminal.mjs +1 -1
- package/dist/actions/unassign-destination-from-virtual-terminal.mjs.map +1 -1
- package/dist/actions/unregister-apple-pay-domain.cjs +2 -2
- package/dist/actions/unregister-apple-pay-domain.cjs.map +1 -1
- package/dist/actions/unregister-apple-pay-domain.d.cts +2 -2
- package/dist/actions/unregister-apple-pay-domain.d.mts +2 -2
- package/dist/actions/unregister-apple-pay-domain.mjs +2 -2
- package/dist/actions/unregister-apple-pay-domain.mjs.map +1 -1
- package/dist/actions/update-customer.cjs +4 -4
- package/dist/actions/update-customer.cjs.map +1 -1
- package/dist/actions/update-customer.d.cts +4 -4
- package/dist/actions/update-customer.d.mts +4 -4
- package/dist/actions/update-customer.mjs +4 -4
- package/dist/actions/update-customer.mjs.map +1 -1
- package/dist/actions/update-payment-page.cjs +2 -2
- package/dist/actions/update-payment-page.cjs.map +1 -1
- package/dist/actions/update-payment-page.d.cts +2 -2
- package/dist/actions/update-payment-page.d.mts +2 -2
- package/dist/actions/update-payment-page.mjs +2 -2
- package/dist/actions/update-payment-page.mjs.map +1 -1
- package/dist/actions/update-payment-request.cjs +5 -5
- package/dist/actions/update-payment-request.cjs.map +1 -1
- package/dist/actions/update-payment-request.d.cts +7 -5
- package/dist/actions/update-payment-request.d.mts +7 -5
- package/dist/actions/update-payment-request.mjs +5 -5
- package/dist/actions/update-payment-request.mjs.map +1 -1
- package/dist/actions/update-payment-session-timeout.cjs +2 -2
- package/dist/actions/update-payment-session-timeout.cjs.map +1 -1
- package/dist/actions/update-payment-session-timeout.d.cts +2 -2
- package/dist/actions/update-payment-session-timeout.d.mts +2 -2
- package/dist/actions/update-payment-session-timeout.mjs +2 -2
- package/dist/actions/update-payment-session-timeout.mjs.map +1 -1
- package/dist/actions/update-plan.cjs +1 -1
- package/dist/actions/update-plan.cjs.map +1 -1
- package/dist/actions/update-plan.d.cts +1 -1
- package/dist/actions/update-plan.d.mts +1 -1
- package/dist/actions/update-plan.mjs +1 -1
- package/dist/actions/update-plan.mjs.map +1 -1
- package/dist/actions/update-product.cjs +8 -8
- package/dist/actions/update-product.cjs.map +1 -1
- package/dist/actions/update-product.d.cts +9 -9
- package/dist/actions/update-product.d.mts +9 -9
- package/dist/actions/update-product.mjs +8 -8
- package/dist/actions/update-product.mjs.map +1 -1
- package/dist/actions/update-split.cjs +3 -3
- package/dist/actions/update-split.cjs.map +1 -1
- package/dist/actions/update-split.d.cts +3 -3
- package/dist/actions/update-split.d.mts +3 -3
- package/dist/actions/update-split.mjs +3 -3
- package/dist/actions/update-split.mjs.map +1 -1
- package/dist/actions/update-storefront.cjs +1 -1
- package/dist/actions/update-storefront.cjs.map +1 -1
- package/dist/actions/update-storefront.d.cts +1 -1
- package/dist/actions/update-storefront.d.mts +1 -1
- package/dist/actions/update-storefront.mjs +1 -1
- package/dist/actions/update-storefront.mjs.map +1 -1
- package/dist/actions/update-subaccount.cjs +2 -2
- package/dist/actions/update-subaccount.cjs.map +1 -1
- package/dist/actions/update-subaccount.d.cts +2 -2
- package/dist/actions/update-subaccount.d.mts +2 -2
- package/dist/actions/update-subaccount.mjs +2 -2
- package/dist/actions/update-subaccount.mjs.map +1 -1
- package/dist/actions/update-transfer-recipient.cjs +3 -3
- package/dist/actions/update-transfer-recipient.cjs.map +1 -1
- package/dist/actions/update-transfer-recipient.d.cts +3 -3
- package/dist/actions/update-transfer-recipient.d.mts +3 -3
- package/dist/actions/update-transfer-recipient.mjs +3 -3
- package/dist/actions/update-transfer-recipient.mjs.map +1 -1
- package/dist/actions/validate-bank-account.cjs +2 -2
- package/dist/actions/validate-bank-account.cjs.map +1 -1
- package/dist/actions/validate-bank-account.d.cts +2 -2
- package/dist/actions/validate-bank-account.d.mts +2 -2
- package/dist/actions/validate-bank-account.mjs +2 -2
- package/dist/actions/validate-bank-account.mjs.map +1 -1
- package/dist/actions/validate-customer.cjs +1 -1
- package/dist/actions/validate-customer.cjs.map +1 -1
- package/dist/actions/validate-customer.d.cts +1 -1
- package/dist/actions/validate-customer.d.mts +1 -1
- package/dist/actions/validate-customer.mjs +1 -1
- package/dist/actions/validate-customer.mjs.map +1 -1
- package/dist/actions/validate-order.cjs +13 -13
- package/dist/actions/validate-order.cjs.map +1 -1
- package/dist/actions/validate-order.d.cts +13 -13
- package/dist/actions/validate-order.d.mts +13 -13
- package/dist/actions/validate-order.mjs +13 -13
- package/dist/actions/validate-order.mjs.map +1 -1
- package/dist/actions/verify-payment-request.cjs +10 -10
- package/dist/actions/verify-payment-request.cjs.map +1 -1
- package/dist/actions/verify-payment-request.d.cts +10 -10
- package/dist/actions/verify-payment-request.d.mts +10 -10
- package/dist/actions/verify-payment-request.mjs +10 -10
- package/dist/actions/verify-payment-request.mjs.map +1 -1
- package/dist/actions/verify-storefront-slug.cjs +1 -1
- package/dist/actions/verify-storefront-slug.cjs.map +1 -1
- package/dist/actions/verify-storefront-slug.d.cts +1 -1
- package/dist/actions/verify-storefront-slug.d.mts +1 -1
- package/dist/actions/verify-storefront-slug.mjs +1 -1
- package/dist/actions/verify-storefront-slug.mjs.map +1 -1
- package/dist/actions/verify-transaction.cjs +17 -17
- package/dist/actions/verify-transaction.cjs.map +1 -1
- package/dist/actions/verify-transaction.d.cts +17 -17
- package/dist/actions/verify-transaction.d.mts +17 -17
- package/dist/actions/verify-transaction.mjs +17 -17
- package/dist/actions/verify-transaction.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -11,13 +11,13 @@ const PaystackListStorefrontProducts_StorefrontProductDataSchema = z.object({
|
|
|
11
11
|
name: z.string().describe("Name of the product").nullable(),
|
|
12
12
|
slug: z.string().describe("URL slug for the product").nullable(),
|
|
13
13
|
type: z.string().describe("Type of the product").nullable(),
|
|
14
|
-
files: z.array(z.
|
|
14
|
+
files: z.array(z.record(z.string(), z.unknown())).describe("List of files associated with the product").nullable().optional(),
|
|
15
15
|
price: z.number().int().describe("Price of the product in kobo (or lowest currency unit)").nullable(),
|
|
16
16
|
active: z.boolean().describe("Whether the product is active").nullable(),
|
|
17
17
|
domain: z.string().describe("The domain (test or live)").nullable(),
|
|
18
18
|
currency: z.string().describe("Currency code (e.g., NGN)").nullable(),
|
|
19
19
|
in_stock: z.boolean().describe("Whether the product is in stock").nullable(),
|
|
20
|
-
metadata: z.
|
|
20
|
+
metadata: z.record(z.string(), z.unknown()).describe("Additional metadata for the product").nullable().optional(),
|
|
21
21
|
quantity: z.number().int().describe("Available quantity of the product").nullable(),
|
|
22
22
|
createdAt: z.string().describe("ISO 8601 timestamp when the product was created").nullable(),
|
|
23
23
|
unlimited: z.boolean().describe("Whether the product has unlimited quantity").nullable(),
|
|
@@ -29,15 +29,15 @@ const PaystackListStorefrontProducts_StorefrontProductDataSchema = z.object({
|
|
|
29
29
|
product_code: z.string().describe("Unique product code").nullable(),
|
|
30
30
|
redirect_url: z.string().describe("URL to redirect to after purchase").nullable().optional(),
|
|
31
31
|
quantity_sold: z.number().int().describe("Number of units sold").nullable(),
|
|
32
|
-
digital_assets: z.array(z.
|
|
32
|
+
digital_assets: z.array(z.record(z.string(), z.unknown())).describe("List of digital assets associated with the product").nullable().optional(),
|
|
33
33
|
low_stock_alert: z.number().int().describe("Low stock alert threshold").nullable().optional(),
|
|
34
|
-
shipping_fields: z.
|
|
34
|
+
shipping_fields: z.record(z.string(), z.unknown()).describe("Shipping configuration fields").nullable().optional(),
|
|
35
35
|
success_message: z.string().describe("Success message to display after purchase").nullable().optional(),
|
|
36
|
-
variant_options: z.array(z.
|
|
36
|
+
variant_options: z.array(z.record(z.string(), z.unknown())).describe("List of variant options for the product").nullable().optional(),
|
|
37
37
|
maximum_orderable: z.number().int().describe("Maximum quantity that can be ordered").nullable().optional(),
|
|
38
38
|
minimum_orderable: z.number().int().describe("Minimum quantity that can be ordered").nullable(),
|
|
39
39
|
notification_emails: 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 = z.object({
|
|
42
42
|
page: z.number().int().describe("Current page number").nullable().optional(),
|
|
43
43
|
total: z.number().int().describe("Total number of records").nullable().optional(),
|
|
@@ -45,7 +45,7 @@ const PaystackListStorefrontProducts_StorefrontProductsMetaSchema = z.object({
|
|
|
45
45
|
skipped: z.number().int().describe("Number of skipped records").nullable().optional(),
|
|
46
46
|
pageCount: z.number().int().describe("Total number of pages").nullable().optional(),
|
|
47
47
|
product_count: 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 paystackListStorefrontProducts = action("PAYSTACK_LIST_STOREFRONT_PRODUCTS", {
|
|
50
50
|
slug: "paystack-list-storefront-products",
|
|
51
51
|
name: "List Storefront Products",
|
|
@@ -56,7 +56,7 @@ const paystackListStorefrontProducts = action("PAYSTACK_LIST_STOREFRONT_PRODUCTS
|
|
|
56
56
|
meta: PaystackListStorefrontProducts_StorefrontProductsMetaSchema.nullable().optional(),
|
|
57
57
|
status: z.boolean().describe("Status of the API request").nullable(),
|
|
58
58
|
message: z.string().describe("Response message from the API").nullable()
|
|
59
|
-
}).describe("Response containing storefront products.")
|
|
59
|
+
}).passthrough().describe("Response containing storefront products.")
|
|
60
60
|
});
|
|
61
61
|
//#endregion
|
|
62
62
|
export { paystackListStorefrontProducts };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-storefront-products.mjs","names":[],"sources":["../../src/actions/list-storefront-products.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackListStorefrontProductsInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the Storefront\"),\n page: z.number().int().describe(\"The page number to retrieve (for pagination)\").optional(),\n perPage: z.number().int().describe(\"The number of records to return per page\").optional(),\n}).describe(\"Request to list products in a storefront.\");\nconst PaystackListStorefrontProducts_StorefrontProductDataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the product\").nullable(),\n name: z.string().describe(\"Name of the product\").nullable(),\n slug: z.string().describe(\"URL slug for the product\").nullable(),\n type: z.string().describe(\"Type of the product\").nullable(),\n files: z.array(z.
|
|
1
|
+
{"version":3,"file":"list-storefront-products.mjs","names":[],"sources":["../../src/actions/list-storefront-products.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackListStorefrontProductsInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the Storefront\"),\n page: z.number().int().describe(\"The page number to retrieve (for pagination)\").optional(),\n perPage: z.number().int().describe(\"The number of records to return per page\").optional(),\n}).describe(\"Request to list products in a storefront.\");\nconst PaystackListStorefrontProducts_StorefrontProductDataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the product\").nullable(),\n name: z.string().describe(\"Name of the product\").nullable(),\n slug: z.string().describe(\"URL slug for the product\").nullable(),\n type: z.string().describe(\"Type of the product\").nullable(),\n files: z.array(z.record(z.string(), z.unknown())).describe(\"List of files associated with the product\").nullable().optional(),\n price: z.number().int().describe(\"Price of the product in kobo (or lowest currency unit)\").nullable(),\n active: z.boolean().describe(\"Whether the product is active\").nullable(),\n domain: z.string().describe(\"The domain (test or live)\").nullable(),\n currency: z.string().describe(\"Currency code (e.g., NGN)\").nullable(),\n in_stock: z.boolean().describe(\"Whether the product is in stock\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata for the product\").nullable().optional(),\n quantity: z.number().int().describe(\"Available quantity of the product\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the product was created\").nullable(),\n unlimited: z.boolean().describe(\"Whether the product has unlimited quantity\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the product was last updated\").nullable(),\n split_code: z.string().describe(\"Split code for transaction splitting\").nullable().optional(),\n description: z.string().describe(\"Description of the product\").nullable(),\n integration: z.number().int().describe(\"The integration ID\").nullable(),\n is_shippable: z.boolean().describe(\"Whether the product requires shipping\").nullable(),\n product_code: z.string().describe(\"Unique product code\").nullable(),\n redirect_url: z.string().describe(\"URL to redirect to after purchase\").nullable().optional(),\n quantity_sold: z.number().int().describe(\"Number of units sold\").nullable(),\n digital_assets: z.array(z.record(z.string(), z.unknown())).describe(\"List of digital assets associated with the product\").nullable().optional(),\n low_stock_alert: z.number().int().describe(\"Low stock alert threshold\").nullable().optional(),\n shipping_fields: z.record(z.string(), z.unknown()).describe(\"Shipping configuration fields\").nullable().optional(),\n success_message: z.string().describe(\"Success message to display after purchase\").nullable().optional(),\n variant_options: z.array(z.record(z.string(), z.unknown())).describe(\"List of variant options for the product\").nullable().optional(),\n maximum_orderable: z.number().int().describe(\"Maximum quantity that can be ordered\").nullable().optional(),\n minimum_orderable: z.number().int().describe(\"Minimum quantity that can be ordered\").nullable(),\n notification_emails: z.string().describe(\"Email addresses for notifications\").nullable().optional(),\n}).passthrough().describe(\"Product information returned from a storefront.\");\nconst PaystackListStorefrontProducts_StorefrontProductsMetaSchema = z.object({\n page: z.number().int().describe(\"Current page number\").nullable().optional(),\n total: z.number().int().describe(\"Total number of records\").nullable().optional(),\n perPage: z.number().int().describe(\"Number of records per page\").nullable().optional(),\n skipped: z.number().int().describe(\"Number of skipped records\").nullable().optional(),\n pageCount: z.number().int().describe(\"Total number of pages\").nullable().optional(),\n product_count: z.number().int().describe(\"Total number of products in the storefront\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata for storefront products.\");\nexport const PaystackListStorefrontProductsOutput = z.object({\n data: z.array(PaystackListStorefrontProducts_StorefrontProductDataSchema).describe(\"List of products in the storefront\"),\n meta: PaystackListStorefrontProducts_StorefrontProductsMetaSchema.nullable().optional(),\n status: z.boolean().describe(\"Status of the API request\").nullable(),\n message: z.string().describe(\"Response message from the API\").nullable(),\n}).passthrough().describe(\"Response containing storefront products.\");\n\nexport const paystackListStorefrontProducts = action(\"PAYSTACK_LIST_STOREFRONT_PRODUCTS\", {\n slug: \"paystack-list-storefront-products\",\n name: \"List Storefront Products\",\n description: \"Tool to list all products in a Paystack storefront. Use when you need to retrieve product information for a specific storefront using its ID.\",\n input: PaystackListStorefrontProductsInput,\n output: PaystackListStorefrontProductsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAA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b,OAAO;CACP,QAZkD,EAAE,OAAO;EAC3D,MAAM,EAAE,MAAM,0DAA0D,CAAC,CAAC,SAAS,oCAAoC;EACvH,MAAM,4DAA4D,SAAS,CAAC,CAAC,SAAS;EACtF,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACnE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAOhB;AACV,CAAC"}
|
|
@@ -11,27 +11,27 @@ const PaystackListStorefronts_StorefrontDataSchema = zod.z.object({
|
|
|
11
11
|
name: zod.z.string().describe("Name of the storefront").nullable(),
|
|
12
12
|
slug: zod.z.string().describe("Unique slug to access the storefront").nullable(),
|
|
13
13
|
status: zod.z.string().describe("Status of the storefront (active or inactive)").nullable(),
|
|
14
|
-
revenue: zod.z.
|
|
15
|
-
contacts: zod.z.array(zod.z.
|
|
14
|
+
revenue: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Revenue information for the storefront").nullable().optional(),
|
|
15
|
+
contacts: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Contact information for the storefront"),
|
|
16
16
|
currency: zod.z.string().describe("Currency for product prices").nullable(),
|
|
17
|
-
products: zod.z.array(zod.z.
|
|
17
|
+
products: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List of products available in the storefront"),
|
|
18
18
|
orders_count: zod.z.number().int().describe("Total number of orders placed on the storefront").nullable(),
|
|
19
|
-
social_media: zod.z.array(zod.z.
|
|
20
|
-
shipping_fees: zod.z.array(zod.z.
|
|
21
|
-
}).describe("Individual storefront details.");
|
|
19
|
+
social_media: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Social media links for the storefront"),
|
|
20
|
+
shipping_fees: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Shipping fee configurations for the storefront")
|
|
21
|
+
}).passthrough().describe("Individual storefront details.");
|
|
22
22
|
const PaystackListStorefronts_ListStorefrontsMetaSchema = zod.z.object({
|
|
23
23
|
page: zod.z.number().int().describe("Current page number").nullable(),
|
|
24
24
|
total: zod.z.number().int().describe("Total number of storefronts available").nullable(),
|
|
25
25
|
perPage: zod.z.number().int().describe("Number of storefronts per page").nullable(),
|
|
26
26
|
skipped: zod.z.number().int().describe("Number of storefronts skipped (typically (page - 1) * perPage)").nullable(),
|
|
27
27
|
pageCount: zod.z.number().int().describe("Total number of pages available").nullable()
|
|
28
|
-
}).describe("Pagination metadata for the list storefronts response.");
|
|
28
|
+
}).passthrough().describe("Pagination metadata for the list storefronts response.");
|
|
29
29
|
const PaystackListStorefrontsOutput = zod.z.object({
|
|
30
30
|
data: zod.z.array(PaystackListStorefronts_StorefrontDataSchema).describe("Array of storefronts available on your integration"),
|
|
31
31
|
meta: PaystackListStorefronts_ListStorefrontsMetaSchema.nullable(),
|
|
32
32
|
status: zod.z.boolean().describe("Indicates whether the request was successful").nullable(),
|
|
33
33
|
message: zod.z.string().describe("Response message from the API").nullable()
|
|
34
|
-
}).describe("Response containing the list of storefronts.");
|
|
34
|
+
}).passthrough().describe("Response containing the list of storefronts.");
|
|
35
35
|
const paystackListStorefronts = require_action.action("PAYSTACK_LIST_STOREFRONTS", {
|
|
36
36
|
slug: "paystack-list-storefronts",
|
|
37
37
|
name: "List Storefronts",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-storefronts.cjs","names":["z","action"],"sources":["../../src/actions/list-storefronts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackListStorefrontsInput = z.object({\n page: z.number().int().describe(\"The offset to retrieve data from. Use this to navigate through paginated results.\").optional(),\n status: z.enum([\"active\", \"inactive\"]).describe(\"Storefront status options.\").optional(),\n perPage: z.number().int().describe(\"Number of records to fetch per request. Controls pagination size for the storefront results.\").optional(),\n}).describe(\"Request to list storefronts available on your integration.\");\nconst PaystackListStorefronts_StorefrontDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the storefront\").nullable(),\n name: z.string().describe(\"Name of the storefront\").nullable(),\n slug: z.string().describe(\"Unique slug to access the storefront\").nullable(),\n status: z.string().describe(\"Status of the storefront (active or inactive)\").nullable(),\n revenue: z.
|
|
1
|
+
{"version":3,"file":"list-storefronts.cjs","names":["z","action"],"sources":["../../src/actions/list-storefronts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackListStorefrontsInput = z.object({\n page: z.number().int().describe(\"The offset to retrieve data from. Use this to navigate through paginated results.\").optional(),\n status: z.enum([\"active\", \"inactive\"]).describe(\"Storefront status options.\").optional(),\n perPage: z.number().int().describe(\"Number of records to fetch per request. Controls pagination size for the storefront results.\").optional(),\n}).describe(\"Request to list storefronts available on your integration.\");\nconst PaystackListStorefronts_StorefrontDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the storefront\").nullable(),\n name: z.string().describe(\"Name of the storefront\").nullable(),\n slug: z.string().describe(\"Unique slug to access the storefront\").nullable(),\n status: z.string().describe(\"Status of the storefront (active or inactive)\").nullable(),\n revenue: z.record(z.string(), z.unknown()).describe(\"Revenue information for the storefront\").nullable().optional(),\n contacts: z.array(z.record(z.string(), z.unknown())).describe(\"Contact information for the storefront\"),\n currency: z.string().describe(\"Currency for product prices\").nullable(),\n products: z.array(z.record(z.string(), z.unknown())).describe(\"List of products available in the storefront\"),\n orders_count: z.number().int().describe(\"Total number of orders placed on the storefront\").nullable(),\n social_media: z.array(z.record(z.string(), z.unknown())).describe(\"Social media links for the storefront\"),\n shipping_fees: z.array(z.record(z.string(), z.unknown())).describe(\"Shipping fee configurations for the storefront\"),\n}).passthrough().describe(\"Individual storefront details.\");\nconst PaystackListStorefronts_ListStorefrontsMetaSchema = z.object({\n page: z.number().int().describe(\"Current page number\").nullable(),\n total: z.number().int().describe(\"Total number of storefronts available\").nullable(),\n perPage: z.number().int().describe(\"Number of storefronts per page\").nullable(),\n skipped: z.number().int().describe(\"Number of storefronts skipped (typically (page - 1) * perPage)\").nullable(),\n pageCount: z.number().int().describe(\"Total number of pages available\").nullable(),\n}).passthrough().describe(\"Pagination metadata for the list storefronts response.\");\nexport const PaystackListStorefrontsOutput = z.object({\n data: z.array(PaystackListStorefronts_StorefrontDataSchema).describe(\"Array of storefronts available on your integration\"),\n meta: PaystackListStorefronts_ListStorefrontsMetaSchema.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 storefronts.\");\n\nexport const paystackListStorefronts = action(\"PAYSTACK_LIST_STOREFRONTS\", {\n slug: \"paystack-list-storefronts\",\n name: \"List Storefronts\",\n description: \"Tool to list storefronts available on your integration. Use when you need to retrieve all storefronts with optional filtering by status and pagination support.\",\n input: PaystackListStorefrontsInput,\n output: PaystackListStorefrontsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC9H,QAAQA,IAAAA,EAAE,KAAK,CAAC,UAAU,UAAU,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACvF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;AAC9I,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CA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AS,uCAAuC,CAAC,CAAC,SAAS;CACnF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC9E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC9G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAClF,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,oDAAoD;CACzH,MAAM,kDAAkD,SAAS;CACjE,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACtF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -15,24 +15,24 @@ declare const PaystackListStorefrontsOutput: z.ZodObject<{
|
|
|
15
15
|
name: z.ZodNullable<z.ZodString>;
|
|
16
16
|
slug: z.ZodNullable<z.ZodString>;
|
|
17
17
|
status: z.ZodNullable<z.ZodString>;
|
|
18
|
-
revenue: z.ZodOptional<z.ZodNullable<z.
|
|
19
|
-
contacts: z.ZodArray<z.
|
|
18
|
+
revenue: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
19
|
+
contacts: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
20
20
|
currency: z.ZodNullable<z.ZodString>;
|
|
21
|
-
products: z.ZodArray<z.
|
|
21
|
+
products: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
22
22
|
orders_count: z.ZodNullable<z.ZodNumber>;
|
|
23
|
-
social_media: z.ZodArray<z.
|
|
24
|
-
shipping_fees: z.ZodArray<z.
|
|
25
|
-
}, z.core.$
|
|
23
|
+
social_media: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
24
|
+
shipping_fees: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
25
|
+
}, z.core.$loose>>;
|
|
26
26
|
meta: z.ZodNullable<z.ZodObject<{
|
|
27
27
|
page: z.ZodNullable<z.ZodNumber>;
|
|
28
28
|
total: z.ZodNullable<z.ZodNumber>;
|
|
29
29
|
perPage: z.ZodNullable<z.ZodNumber>;
|
|
30
30
|
skipped: z.ZodNullable<z.ZodNumber>;
|
|
31
31
|
pageCount: z.ZodNullable<z.ZodNumber>;
|
|
32
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>>;
|
|
33
33
|
status: z.ZodNullable<z.ZodBoolean>;
|
|
34
34
|
message: z.ZodNullable<z.ZodString>;
|
|
35
|
-
}, z.core.$
|
|
35
|
+
}, z.core.$loose>;
|
|
36
36
|
declare const paystackListStorefronts: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
37
37
|
page?: number | undefined;
|
|
38
38
|
status?: "active" | "inactive" | undefined;
|
|
@@ -15,24 +15,24 @@ declare const PaystackListStorefrontsOutput: z.ZodObject<{
|
|
|
15
15
|
name: z.ZodNullable<z.ZodString>;
|
|
16
16
|
slug: z.ZodNullable<z.ZodString>;
|
|
17
17
|
status: z.ZodNullable<z.ZodString>;
|
|
18
|
-
revenue: z.ZodOptional<z.ZodNullable<z.
|
|
19
|
-
contacts: z.ZodArray<z.
|
|
18
|
+
revenue: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
19
|
+
contacts: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
20
20
|
currency: z.ZodNullable<z.ZodString>;
|
|
21
|
-
products: z.ZodArray<z.
|
|
21
|
+
products: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
22
22
|
orders_count: z.ZodNullable<z.ZodNumber>;
|
|
23
|
-
social_media: z.ZodArray<z.
|
|
24
|
-
shipping_fees: z.ZodArray<z.
|
|
25
|
-
}, z.core.$
|
|
23
|
+
social_media: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
24
|
+
shipping_fees: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
25
|
+
}, z.core.$loose>>;
|
|
26
26
|
meta: z.ZodNullable<z.ZodObject<{
|
|
27
27
|
page: z.ZodNullable<z.ZodNumber>;
|
|
28
28
|
total: z.ZodNullable<z.ZodNumber>;
|
|
29
29
|
perPage: z.ZodNullable<z.ZodNumber>;
|
|
30
30
|
skipped: z.ZodNullable<z.ZodNumber>;
|
|
31
31
|
pageCount: z.ZodNullable<z.ZodNumber>;
|
|
32
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>>;
|
|
33
33
|
status: z.ZodNullable<z.ZodBoolean>;
|
|
34
34
|
message: z.ZodNullable<z.ZodString>;
|
|
35
|
-
}, z.core.$
|
|
35
|
+
}, z.core.$loose>;
|
|
36
36
|
declare const paystackListStorefronts: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
37
37
|
page?: number | undefined;
|
|
38
38
|
status?: "active" | "inactive" | undefined;
|
|
@@ -11,21 +11,21 @@ const PaystackListStorefronts_StorefrontDataSchema = z.object({
|
|
|
11
11
|
name: z.string().describe("Name of the storefront").nullable(),
|
|
12
12
|
slug: z.string().describe("Unique slug to access the storefront").nullable(),
|
|
13
13
|
status: z.string().describe("Status of the storefront (active or inactive)").nullable(),
|
|
14
|
-
revenue: z.
|
|
15
|
-
contacts: z.array(z.
|
|
14
|
+
revenue: z.record(z.string(), z.unknown()).describe("Revenue information for the storefront").nullable().optional(),
|
|
15
|
+
contacts: z.array(z.record(z.string(), z.unknown())).describe("Contact information for the storefront"),
|
|
16
16
|
currency: z.string().describe("Currency for product prices").nullable(),
|
|
17
|
-
products: z.array(z.
|
|
17
|
+
products: z.array(z.record(z.string(), z.unknown())).describe("List of products available in the storefront"),
|
|
18
18
|
orders_count: z.number().int().describe("Total number of orders placed on the storefront").nullable(),
|
|
19
|
-
social_media: z.array(z.
|
|
20
|
-
shipping_fees: z.array(z.
|
|
21
|
-
}).describe("Individual storefront details.");
|
|
19
|
+
social_media: z.array(z.record(z.string(), z.unknown())).describe("Social media links for the storefront"),
|
|
20
|
+
shipping_fees: z.array(z.record(z.string(), z.unknown())).describe("Shipping fee configurations for the storefront")
|
|
21
|
+
}).passthrough().describe("Individual storefront details.");
|
|
22
22
|
const PaystackListStorefronts_ListStorefrontsMetaSchema = z.object({
|
|
23
23
|
page: z.number().int().describe("Current page number").nullable(),
|
|
24
24
|
total: z.number().int().describe("Total number of storefronts available").nullable(),
|
|
25
25
|
perPage: z.number().int().describe("Number of storefronts per page").nullable(),
|
|
26
26
|
skipped: z.number().int().describe("Number of storefronts skipped (typically (page - 1) * perPage)").nullable(),
|
|
27
27
|
pageCount: z.number().int().describe("Total number of pages available").nullable()
|
|
28
|
-
}).describe("Pagination metadata for the list storefronts response.");
|
|
28
|
+
}).passthrough().describe("Pagination metadata for the list storefronts response.");
|
|
29
29
|
const paystackListStorefronts = action("PAYSTACK_LIST_STOREFRONTS", {
|
|
30
30
|
slug: "paystack-list-storefronts",
|
|
31
31
|
name: "List Storefronts",
|
|
@@ -36,7 +36,7 @@ const paystackListStorefronts = action("PAYSTACK_LIST_STOREFRONTS", {
|
|
|
36
36
|
meta: PaystackListStorefronts_ListStorefrontsMetaSchema.nullable(),
|
|
37
37
|
status: z.boolean().describe("Indicates whether the request was successful").nullable(),
|
|
38
38
|
message: z.string().describe("Response message from the API").nullable()
|
|
39
|
-
}).describe("Response containing the list of storefronts.")
|
|
39
|
+
}).passthrough().describe("Response containing the list of storefronts.")
|
|
40
40
|
});
|
|
41
41
|
//#endregion
|
|
42
42
|
export { paystackListStorefronts };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-storefronts.mjs","names":[],"sources":["../../src/actions/list-storefronts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackListStorefrontsInput = z.object({\n page: z.number().int().describe(\"The offset to retrieve data from. Use this to navigate through paginated results.\").optional(),\n status: z.enum([\"active\", \"inactive\"]).describe(\"Storefront status options.\").optional(),\n perPage: z.number().int().describe(\"Number of records to fetch per request. Controls pagination size for the storefront results.\").optional(),\n}).describe(\"Request to list storefronts available on your integration.\");\nconst PaystackListStorefronts_StorefrontDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the storefront\").nullable(),\n name: z.string().describe(\"Name of the storefront\").nullable(),\n slug: z.string().describe(\"Unique slug to access the storefront\").nullable(),\n status: z.string().describe(\"Status of the storefront (active or inactive)\").nullable(),\n revenue: z.
|
|
1
|
+
{"version":3,"file":"list-storefronts.mjs","names":[],"sources":["../../src/actions/list-storefronts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackListStorefrontsInput = z.object({\n page: z.number().int().describe(\"The offset to retrieve data from. Use this to navigate through paginated results.\").optional(),\n status: z.enum([\"active\", \"inactive\"]).describe(\"Storefront status options.\").optional(),\n perPage: z.number().int().describe(\"Number of records to fetch per request. Controls pagination size for the storefront results.\").optional(),\n}).describe(\"Request to list storefronts available on your integration.\");\nconst PaystackListStorefronts_StorefrontDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the storefront\").nullable(),\n name: z.string().describe(\"Name of the storefront\").nullable(),\n slug: z.string().describe(\"Unique slug to access the storefront\").nullable(),\n status: z.string().describe(\"Status of the storefront (active or inactive)\").nullable(),\n revenue: z.record(z.string(), z.unknown()).describe(\"Revenue information for the storefront\").nullable().optional(),\n contacts: z.array(z.record(z.string(), z.unknown())).describe(\"Contact information for the storefront\"),\n currency: z.string().describe(\"Currency for product prices\").nullable(),\n products: z.array(z.record(z.string(), z.unknown())).describe(\"List of products available in the storefront\"),\n orders_count: z.number().int().describe(\"Total number of orders placed on the storefront\").nullable(),\n social_media: z.array(z.record(z.string(), z.unknown())).describe(\"Social media links for the storefront\"),\n shipping_fees: z.array(z.record(z.string(), z.unknown())).describe(\"Shipping fee configurations for the storefront\"),\n}).passthrough().describe(\"Individual storefront details.\");\nconst PaystackListStorefronts_ListStorefrontsMetaSchema = z.object({\n page: z.number().int().describe(\"Current page number\").nullable(),\n total: z.number().int().describe(\"Total number of storefronts available\").nullable(),\n perPage: z.number().int().describe(\"Number of storefronts per page\").nullable(),\n skipped: z.number().int().describe(\"Number of storefronts skipped (typically (page - 1) * perPage)\").nullable(),\n pageCount: z.number().int().describe(\"Total number of pages available\").nullable(),\n}).passthrough().describe(\"Pagination metadata for the list storefronts response.\");\nexport const PaystackListStorefrontsOutput = z.object({\n data: z.array(PaystackListStorefronts_StorefrontDataSchema).describe(\"Array of storefronts available on your integration\"),\n meta: PaystackListStorefronts_ListStorefrontsMetaSchema.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 storefronts.\");\n\nexport const paystackListStorefronts = action(\"PAYSTACK_LIST_STOREFRONTS\", {\n slug: \"paystack-list-storefronts\",\n name: \"List Storefronts\",\n description: \"Tool to list storefronts available on your integration. Use when you need to retrieve all storefronts with optional filtering by status and pagination support.\",\n input: PaystackListStorefrontsInput,\n output: PaystackListStorefrontsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC9H,QAAQ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AC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAC1D,MAAM,oDAAoD,EAAE,OAAO;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAChE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACnF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC9E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC9G,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAQlF,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZ2C,EAAE,OAAO;EACpD,MAAM,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,oDAAoD;EACzH,MAAM,kDAAkD,SAAS;EACjE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACtF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
|
|
@@ -22,20 +22,20 @@ const PaystackListSubaccounts_SubaccountDataSchema = zod.z.object({
|
|
|
22
22
|
primary_contact_name: zod.z.string().describe("Contact name for the subaccount").nullable().optional(),
|
|
23
23
|
primary_contact_email: zod.z.string().describe("Contact email for the subaccount").nullable().optional(),
|
|
24
24
|
primary_contact_phone: zod.z.string().describe("Contact phone for the subaccount").nullable().optional()
|
|
25
|
-
}).describe("Subaccount information returned by the API.");
|
|
25
|
+
}).passthrough().describe("Subaccount information returned by the API.");
|
|
26
26
|
const PaystackListSubaccounts_MetaDataSchema = zod.z.object({
|
|
27
27
|
page: zod.z.number().int().describe("Current page number").nullable(),
|
|
28
28
|
total: zod.z.number().int().describe("Total number of subaccounts").nullable(),
|
|
29
29
|
perPage: zod.z.number().int().describe("Number of records per page").nullable(),
|
|
30
30
|
skipped: zod.z.number().int().describe("Number of records skipped").nullable(),
|
|
31
31
|
pageCount: zod.z.number().int().describe("Total number of pages").nullable()
|
|
32
|
-
}).describe("Pagination metadata.");
|
|
32
|
+
}).passthrough().describe("Pagination metadata.");
|
|
33
33
|
const PaystackListSubaccountsOutput = zod.z.object({
|
|
34
34
|
data: zod.z.array(PaystackListSubaccounts_SubaccountDataSchema).describe("List of subaccount objects"),
|
|
35
35
|
meta: PaystackListSubaccounts_MetaDataSchema.nullable(),
|
|
36
36
|
status: zod.z.boolean().describe("Indicates if the request was successful").nullable(),
|
|
37
37
|
message: zod.z.string().describe("Response message from the API").nullable()
|
|
38
|
-
}).describe("Response containing the list of subaccounts.");
|
|
38
|
+
}).passthrough().describe("Response containing the list of subaccounts.");
|
|
39
39
|
const paystackListSubaccounts = require_action.action("PAYSTACK_LIST_SUBACCOUNTS", {
|
|
40
40
|
slug: "paystack-list-subaccounts",
|
|
41
41
|
name: "List Subaccounts",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-subaccounts.cjs","names":["z","action"],"sources":["../../src/actions/list-subaccounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackListSubaccountsInput = z.object({\n page: z.number().int().describe(\"The offset to retrieve data from\").optional(),\n active: z.boolean().describe(\"Filter by the state of the subaccounts\").optional(),\n perPage: z.number().int().describe(\"Number of records to fetch per request\").optional(),\n}).describe(\"Request to list subaccounts available on your integration.\");\nconst PaystackListSubaccounts_SubaccountDataSchema = z.object({\n id: z.number().int().describe(\"Unique subaccount ID\").nullable(),\n active: z.number().int().describe(\"Active status\").nullable(),\n bank_id: z.number().int().describe(\"Bank ID\").nullable(),\n currency: z.string().describe(\"Currency code\").nullable(),\n metadata: z.string().describe(\"Custom metadata\").nullable().optional(),\n description: z.string().describe(\"Description for the subaccount\").nullable(),\n is_verified: z.boolean().describe(\"Verification status\").nullable(),\n business_name: z.string().describe(\"Name of business for subaccount\").nullable(),\n account_number: z.string().describe(\"Bank account number\").nullable(),\n settlement_bank: z.string().describe(\"Settlement bank code\").nullable(),\n subaccount_code: z.string().describe(\"Unique subaccount code\").nullable(),\n percentage_charge: z.number().describe(\"Percentage charge\").nullable(),\n primary_contact_name: z.string().describe(\"Contact name for the subaccount\").nullable().optional(),\n primary_contact_email: z.string().describe(\"Contact email for the subaccount\").nullable().optional(),\n primary_contact_phone: z.string().describe(\"Contact phone for the subaccount\").nullable().optional(),\n}).describe(\"Subaccount information returned by the API.\");\nconst PaystackListSubaccounts_MetaDataSchema = z.object({\n page: z.number().int().describe(\"Current page number\").nullable(),\n total: z.number().int().describe(\"Total number of subaccounts\").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 PaystackListSubaccountsOutput = z.object({\n data: z.array(PaystackListSubaccounts_SubaccountDataSchema).describe(\"List of subaccount objects\"),\n meta: PaystackListSubaccounts_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 subaccounts.\");\n\nexport const paystackListSubaccounts = action(\"PAYSTACK_LIST_SUBACCOUNTS\", {\n slug: \"paystack-list-subaccounts\",\n name: \"List Subaccounts\",\n description: \"Tool to list subaccounts available on your integration. Use when you need to retrieve all subaccounts with optional filtering by active status and pagination support.\",\n input: PaystackListSubaccountsInput,\n output: PaystackListSub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AS,sBAAsB,CAAC,CAAC,SAAS;CACtE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACxE,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACrE,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,6CAA6C;
|
|
1
|
+
{"version":3,"file":"list-subaccounts.cjs","names":["z","action"],"sources":["../../src/actions/list-subaccounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackListSubaccountsInput = z.object({\n page: z.number().int().describe(\"The offset to retrieve data from\").optional(),\n active: z.boolean().describe(\"Filter by the state of the subaccounts\").optional(),\n perPage: z.number().int().describe(\"Number of records to fetch per request\").optional(),\n}).describe(\"Request to list subaccounts available on your integration.\");\nconst PaystackListSubaccounts_SubaccountDataSchema = z.object({\n id: z.number().int().describe(\"Unique subaccount ID\").nullable(),\n active: z.number().int().describe(\"Active status\").nullable(),\n bank_id: z.number().int().describe(\"Bank ID\").nullable(),\n currency: z.string().describe(\"Currency code\").nullable(),\n metadata: z.string().describe(\"Custom metadata\").nullable().optional(),\n description: z.string().describe(\"Description for the subaccount\").nullable(),\n is_verified: z.boolean().describe(\"Verification status\").nullable(),\n business_name: z.string().describe(\"Name of business for subaccount\").nullable(),\n account_number: z.string().describe(\"Bank account number\").nullable(),\n settlement_bank: z.string().describe(\"Settlement bank code\").nullable(),\n subaccount_code: z.string().describe(\"Unique subaccount code\").nullable(),\n percentage_charge: z.number().describe(\"Percentage charge\").nullable(),\n primary_contact_name: z.string().describe(\"Contact name for the subaccount\").nullable().optional(),\n primary_contact_email: z.string().describe(\"Contact email for the subaccount\").nullable().optional(),\n primary_contact_phone: z.string().describe(\"Contact phone for the subaccount\").nullable().optional(),\n}).passthrough().describe(\"Subaccount information returned by the API.\");\nconst PaystackListSubaccounts_MetaDataSchema = z.object({\n page: z.number().int().describe(\"Current page number\").nullable(),\n total: z.number().int().describe(\"Total number of subaccounts\").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 PaystackListSubaccountsOutput = z.object({\n data: z.array(PaystackListSubaccounts_SubaccountDataSchema).describe(\"List of subaccount objects\"),\n meta: PaystackListSubaccounts_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 subaccounts.\");\n\nexport const paystackListSubaccounts = action(\"PAYSTACK_LIST_SUBACCOUNTS\", {\n slug: \"paystack-list-subaccounts\",\n name: \"List Subaccounts\",\n description: \"Tool to list subaccounts available on your integration. Use when you need to retrieve all subaccounts with optional filtering by active status and pagination support.\",\n input: PaystackListSubaccountsInput,\n output: PaystackListSubaccountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC7E,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAA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
|
|
@@ -23,17 +23,17 @@ declare const PaystackListSubaccountsOutput: z.ZodObject<{
|
|
|
23
23
|
primary_contact_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
primary_contact_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
primary_contact_phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>>;
|
|
27
27
|
meta: z.ZodNullable<z.ZodObject<{
|
|
28
28
|
page: z.ZodNullable<z.ZodNumber>;
|
|
29
29
|
total: z.ZodNullable<z.ZodNumber>;
|
|
30
30
|
perPage: z.ZodNullable<z.ZodNumber>;
|
|
31
31
|
skipped: z.ZodNullable<z.ZodNumber>;
|
|
32
32
|
pageCount: z.ZodNullable<z.ZodNumber>;
|
|
33
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>;
|
|
34
34
|
status: z.ZodNullable<z.ZodBoolean>;
|
|
35
35
|
message: z.ZodNullable<z.ZodString>;
|
|
36
|
-
}, z.core.$
|
|
36
|
+
}, z.core.$loose>;
|
|
37
37
|
declare const paystackListSubaccounts: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
38
38
|
page?: number | undefined;
|
|
39
39
|
active?: boolean | undefined;
|
|
@@ -23,17 +23,17 @@ declare const PaystackListSubaccountsOutput: z.ZodObject<{
|
|
|
23
23
|
primary_contact_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
primary_contact_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
primary_contact_phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>>;
|
|
27
27
|
meta: z.ZodNullable<z.ZodObject<{
|
|
28
28
|
page: z.ZodNullable<z.ZodNumber>;
|
|
29
29
|
total: z.ZodNullable<z.ZodNumber>;
|
|
30
30
|
perPage: z.ZodNullable<z.ZodNumber>;
|
|
31
31
|
skipped: z.ZodNullable<z.ZodNumber>;
|
|
32
32
|
pageCount: z.ZodNullable<z.ZodNumber>;
|
|
33
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>;
|
|
34
34
|
status: z.ZodNullable<z.ZodBoolean>;
|
|
35
35
|
message: z.ZodNullable<z.ZodString>;
|
|
36
|
-
}, z.core.$
|
|
36
|
+
}, z.core.$loose>;
|
|
37
37
|
declare const paystackListSubaccounts: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
38
38
|
page?: number | undefined;
|
|
39
39
|
active?: boolean | undefined;
|
|
@@ -22,14 +22,14 @@ const PaystackListSubaccounts_SubaccountDataSchema = z.object({
|
|
|
22
22
|
primary_contact_name: z.string().describe("Contact name for the subaccount").nullable().optional(),
|
|
23
23
|
primary_contact_email: z.string().describe("Contact email for the subaccount").nullable().optional(),
|
|
24
24
|
primary_contact_phone: z.string().describe("Contact phone for the subaccount").nullable().optional()
|
|
25
|
-
}).describe("Subaccount information returned by the API.");
|
|
25
|
+
}).passthrough().describe("Subaccount information returned by the API.");
|
|
26
26
|
const PaystackListSubaccounts_MetaDataSchema = z.object({
|
|
27
27
|
page: z.number().int().describe("Current page number").nullable(),
|
|
28
28
|
total: z.number().int().describe("Total number of subaccounts").nullable(),
|
|
29
29
|
perPage: z.number().int().describe("Number of records per page").nullable(),
|
|
30
30
|
skipped: z.number().int().describe("Number of records skipped").nullable(),
|
|
31
31
|
pageCount: z.number().int().describe("Total number of pages").nullable()
|
|
32
|
-
}).describe("Pagination metadata.");
|
|
32
|
+
}).passthrough().describe("Pagination metadata.");
|
|
33
33
|
const paystackListSubaccounts = action("PAYSTACK_LIST_SUBACCOUNTS", {
|
|
34
34
|
slug: "paystack-list-subaccounts",
|
|
35
35
|
name: "List Subaccounts",
|
|
@@ -40,7 +40,7 @@ const paystackListSubaccounts = action("PAYSTACK_LIST_SUBACCOUNTS", {
|
|
|
40
40
|
meta: PaystackListSubaccounts_MetaDataSchema.nullable(),
|
|
41
41
|
status: z.boolean().describe("Indicates if the request was successful").nullable(),
|
|
42
42
|
message: z.string().describe("Response message from the API").nullable()
|
|
43
|
-
}).describe("Response containing the list of subaccounts.")
|
|
43
|
+
}).passthrough().describe("Response containing the list of subaccounts.")
|
|
44
44
|
});
|
|
45
45
|
//#endregion
|
|
46
46
|
export { paystackListSubaccounts };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-subaccounts.mjs","names":[],"sources":["../../src/actions/list-subaccounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackListSubaccountsInput = z.object({\n page: z.number().int().describe(\"The offset to retrieve data from\").optional(),\n active: z.boolean().describe(\"Filter by the state of the subaccounts\").optional(),\n perPage: z.number().int().describe(\"Number of records to fetch per request\").optional(),\n}).describe(\"Request to list subaccounts available on your integration.\");\nconst PaystackListSubaccounts_SubaccountDataSchema = z.object({\n id: z.number().int().describe(\"Unique subaccount ID\").nullable(),\n active: z.number().int().describe(\"Active status\").nullable(),\n bank_id: z.number().int().describe(\"Bank ID\").nullable(),\n currency: z.string().describe(\"Currency code\").nullable(),\n metadata: z.string().describe(\"Custom metadata\").nullable().optional(),\n description: z.string().describe(\"Description for the subaccount\").nullable(),\n is_verified: z.boolean().describe(\"Verification status\").nullable(),\n business_name: z.string().describe(\"Name of business for subaccount\").nullable(),\n account_number: z.string().describe(\"Bank account number\").nullable(),\n settlement_bank: z.string().describe(\"Settlement bank code\").nullable(),\n subaccount_code: z.string().describe(\"Unique subaccount code\").nullable(),\n percentage_charge: z.number().describe(\"Percentage charge\").nullable(),\n primary_contact_name: z.string().describe(\"Contact name for the subaccount\").nullable().optional(),\n primary_contact_email: z.string().describe(\"Contact email for the subaccount\").nullable().optional(),\n primary_contact_phone: z.string().describe(\"Contact phone for the subaccount\").nullable().optional(),\n}).describe(\"Subaccount information returned by the API.\");\nconst PaystackListSubaccounts_MetaDataSchema = z.object({\n page: z.number().int().describe(\"Current page number\").nullable(),\n total: z.number().int().describe(\"Total number of subaccounts\").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 PaystackListSubaccountsOutput = z.object({\n data: z.array(PaystackListSubaccounts_SubaccountDataSchema).describe(\"List of subaccount objects\"),\n meta: PaystackListSubaccounts_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 subaccounts.\");\n\nexport const paystackListSubaccounts = action(\"PAYSTACK_LIST_SUBACCOUNTS\", {\n slug: \"paystack-list-subaccounts\",\n name: \"List Subaccounts\",\n description: \"Tool to list subaccounts available on your integration. Use when you need to retrieve all subaccounts with optional filtering by active status and pagination support.\",\n input: PaystackListSubaccountsInput,\n output: PaystackListSubaccountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC7E,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAChF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS;CACvD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACxD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC5E,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAClE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC/E,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACpE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACtE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACxE,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACrE,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,6CAA6C;
|
|
1
|
+
{"version":3,"file":"list-subaccounts.mjs","names":[],"sources":["../../src/actions/list-subaccounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackListSubaccountsInput = z.object({\n page: z.number().int().describe(\"The offset to retrieve data from\").optional(),\n active: z.boolean().describe(\"Filter by the state of the subaccounts\").optional(),\n perPage: z.number().int().describe(\"Number of records to fetch per request\").optional(),\n}).describe(\"Request to list subaccounts available on your integration.\");\nconst PaystackListSubaccounts_SubaccountDataSchema = z.object({\n id: z.number().int().describe(\"Unique subaccount ID\").nullable(),\n active: z.number().int().describe(\"Active status\").nullable(),\n bank_id: z.number().int().describe(\"Bank ID\").nullable(),\n currency: z.string().describe(\"Currency code\").nullable(),\n metadata: z.string().describe(\"Custom metadata\").nullable().optional(),\n description: z.string().describe(\"Description for the subaccount\").nullable(),\n is_verified: z.boolean().describe(\"Verification status\").nullable(),\n business_name: z.string().describe(\"Name of business for subaccount\").nullable(),\n account_number: z.string().describe(\"Bank account number\").nullable(),\n settlement_bank: z.string().describe(\"Settlement bank code\").nullable(),\n subaccount_code: z.string().describe(\"Unique subaccount code\").nullable(),\n percentage_charge: z.number().describe(\"Percentage charge\").nullable(),\n primary_contact_name: z.string().describe(\"Contact name for the subaccount\").nullable().optional(),\n primary_contact_email: z.string().describe(\"Contact email for the subaccount\").nullable().optional(),\n primary_contact_phone: z.string().describe(\"Contact phone for the subaccount\").nullable().optional(),\n}).passthrough().describe(\"Subaccount information returned by the API.\");\nconst PaystackListSubaccounts_MetaDataSchema = z.object({\n page: z.number().int().describe(\"Current page number\").nullable(),\n total: z.number().int().describe(\"Total number of subaccounts\").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 PaystackListSubaccountsOutput = z.object({\n data: z.array(PaystackListSubaccounts_SubaccountDataSchema).describe(\"List of subaccount objects\"),\n meta: PaystackListSubaccounts_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 subaccounts.\");\n\nexport const paystackListSubaccounts = action(\"PAYSTACK_LIST_SUBACCOUNTS\", {\n slug: \"paystack-list-subaccounts\",\n name: \"List Subaccounts\",\n description: \"Tool to list subaccounts available on your integration. Use when you need to retrieve all subaccounts with optional filtering by active status and pagination support.\",\n input: PaystackListSubaccountsInput,\n output: PaystackListSubaccountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC7E,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAChF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS;CACvD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACxD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC5E,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAClE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC/E,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACpE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC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yCAAyC,CAAC,CAAC,SAAS;EACjF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
|
|
@@ -17,20 +17,20 @@ const PaystackListSubscriptions_SubscriptionPlanSchema = zod.z.object({
|
|
|
17
17
|
interval: zod.z.string().describe("Payment interval (e.g., monthly, annually).").nullable().optional(),
|
|
18
18
|
send_sms: zod.z.boolean().describe("Whether SMS notifications are sent to customers.").nullable().optional(),
|
|
19
19
|
plan_code: zod.z.string().describe("Unique plan code.").nullable().optional(),
|
|
20
|
-
description: zod.z.union([zod.z.string(), zod.z.
|
|
20
|
+
description: zod.z.union([zod.z.string(), zod.z.record(zod.z.string(), zod.z.unknown())]).nullable().optional(),
|
|
21
21
|
send_invoices: zod.z.boolean().describe("Whether invoices are sent to customers.").nullable().optional()
|
|
22
|
-
}).describe("Plan details for the subscription.");
|
|
22
|
+
}).passthrough().describe("Plan details for the subscription.");
|
|
23
23
|
const PaystackListSubscriptions_SubscriptionCustomerSchema = zod.z.object({
|
|
24
24
|
id: zod.z.number().int().describe("Customer ID.").nullable().optional(),
|
|
25
25
|
email: zod.z.string().describe("Customer's email address.").nullable().optional(),
|
|
26
26
|
phone: zod.z.string().describe("Customer's phone number.").nullable().optional(),
|
|
27
|
-
metadata: zod.z.
|
|
27
|
+
metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Customer metadata.").nullable().optional(),
|
|
28
28
|
last_name: zod.z.string().describe("Customer's last name.").nullable().optional(),
|
|
29
29
|
first_name: zod.z.string().describe("Customer's first name.").nullable().optional(),
|
|
30
30
|
risk_action: zod.z.string().describe("Risk action status for the customer.").nullable().optional(),
|
|
31
31
|
customer_code: zod.z.string().describe("Unique customer code.").nullable().optional(),
|
|
32
32
|
international_format_phone: zod.z.string().describe("Phone number in international format.").nullable().optional()
|
|
33
|
-
}).describe("Customer information for the subscription.");
|
|
33
|
+
}).passthrough().describe("Customer information for the subscription.");
|
|
34
34
|
const PaystackListSubscriptions_SubscriptionAuthorizationSchema = zod.z.object({
|
|
35
35
|
bin: zod.z.string().describe("First 6 digits of the card.").nullable().optional(),
|
|
36
36
|
bank: zod.z.string().describe("Bank name.").nullable().optional(),
|
|
@@ -49,7 +49,7 @@ const PaystackListSubscriptions_SubscriptionAuthorizationSchema = zod.z.object({
|
|
|
49
49
|
]).nullable().optional(),
|
|
50
50
|
country_code: zod.z.string().describe("Country code of the card.").nullable().optional(),
|
|
51
51
|
authorization_code: zod.z.string().describe("Authorization code for recurring charges.").nullable().optional()
|
|
52
|
-
}).describe("Payment authorization details for the subscription.");
|
|
52
|
+
}).passthrough().describe("Payment authorization details for the subscription.");
|
|
53
53
|
const PaystackListSubscriptions_SubscriptionDataSchema = zod.z.object({
|
|
54
54
|
id: zod.z.string().describe("Unique subscription ID.").nullable(),
|
|
55
55
|
plan: PaystackListSubscriptions_SubscriptionPlanSchema.nullable(),
|
|
@@ -58,34 +58,34 @@ const PaystackListSubscriptions_SubscriptionDataSchema = zod.z.object({
|
|
|
58
58
|
domain: zod.z.string().describe("Domain (test or live).").nullable(),
|
|
59
59
|
status: zod.z.string().describe("Subscription status (e.g., active, non-renewing, cancelled).").nullable(),
|
|
60
60
|
customer: PaystackListSubscriptions_SubscriptionCustomerSchema.nullable(),
|
|
61
|
-
metadata: zod.z.
|
|
61
|
+
metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional metadata for the subscription.").nullable().optional(),
|
|
62
62
|
quantity: zod.z.number().int().describe("Quantity of subscriptions.").nullable(),
|
|
63
63
|
createdAt: zod.z.string().describe("ISO 8601 timestamp when the subscription was created.").nullable(),
|
|
64
|
-
split_code: zod.z.union([zod.z.string(), zod.z.
|
|
64
|
+
split_code: zod.z.union([zod.z.string(), zod.z.record(zod.z.string(), zod.z.unknown())]).nullable().optional(),
|
|
65
65
|
email_token: zod.z.string().describe("Email token for subscription management.").nullable(),
|
|
66
66
|
integration: zod.z.number().int().describe("Integration ID.").nullable(),
|
|
67
|
-
open_invoice: zod.z.union([zod.z.string(), zod.z.
|
|
67
|
+
open_invoice: zod.z.union([zod.z.string(), zod.z.record(zod.z.string(), zod.z.unknown())]).nullable().optional(),
|
|
68
68
|
authorization: PaystackListSubscriptions_SubscriptionAuthorizationSchema.nullable(),
|
|
69
69
|
invoice_limit: zod.z.number().int().describe("Maximum number of invoices to raise during subscription.").nullable(),
|
|
70
70
|
payments_count: zod.z.number().int().describe("Total number of payments made on this subscription.").nullable(),
|
|
71
71
|
cron_expression: zod.z.string().describe("Cron expression for subscription interval.").nullable(),
|
|
72
72
|
next_payment_date: zod.z.string().describe("Next payment date for the subscription.").nullable().optional(),
|
|
73
73
|
subscription_code: zod.z.string().describe("Unique subscription code.").nullable(),
|
|
74
|
-
most_recent_invoice: zod.z.
|
|
75
|
-
}).describe("Individual subscription details.");
|
|
74
|
+
most_recent_invoice: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Most recent invoice details.").nullable().optional()
|
|
75
|
+
}).passthrough().describe("Individual subscription details.");
|
|
76
76
|
const PaystackListSubscriptions_PaginationMetaSchema = zod.z.object({
|
|
77
77
|
page: zod.z.number().int().describe("Current page number.").nullable(),
|
|
78
78
|
total: zod.z.number().int().describe("Total number of subscriptions available.").nullable(),
|
|
79
79
|
perPage: zod.z.number().int().describe("Number of subscriptions per page.").nullable(),
|
|
80
80
|
skipped: zod.z.number().int().describe("Number of subscriptions skipped (typically (page - 1) * perPage).").nullable(),
|
|
81
81
|
pageCount: zod.z.number().int().describe("Total number of pages available.").nullable()
|
|
82
|
-
}).describe("Pagination metadata for the list subscriptions response.");
|
|
82
|
+
}).passthrough().describe("Pagination metadata for the list subscriptions response.");
|
|
83
83
|
const PaystackListSubscriptionsOutput = zod.z.object({
|
|
84
84
|
data: zod.z.array(PaystackListSubscriptions_SubscriptionDataSchema).describe("Array of subscriptions available on your integration."),
|
|
85
85
|
meta: PaystackListSubscriptions_PaginationMetaSchema.nullable(),
|
|
86
86
|
status: zod.z.boolean().describe("Indicates whether the request was successful.").nullable(),
|
|
87
87
|
message: zod.z.string().describe("Response message from the API.").nullable()
|
|
88
|
-
}).describe("Response from listing subscriptions.");
|
|
88
|
+
}).passthrough().describe("Response from listing subscriptions.");
|
|
89
89
|
const paystackListSubscriptions = require_action.action("PAYSTACK_LIST_SUBSCRIPTIONS", {
|
|
90
90
|
slug: "paystack-list-subscriptions",
|
|
91
91
|
name: "List Subscriptions",
|