@keystrokehq/paystack 0.1.0 → 0.1.2
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/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-products-to-page.cjs +15 -15
- package/dist/actions/add-products-to-page.cjs.map +1 -1
- package/dist/actions/add-products-to-page.d.cts +52 -3
- package/dist/actions/add-products-to-page.d.cts.map +1 -1
- package/dist/actions/add-products-to-page.d.mts +52 -3
- package/dist/actions/add-products-to-page.d.mts.map +1 -1
- package/dist/actions/add-products-to-page.mjs +15 -15
- package/dist/actions/add-products-to-page.mjs.map +1 -1
- package/dist/actions/add-products-to-storefront.cjs +2 -2
- package/dist/actions/add-products-to-storefront.cjs.map +1 -1
- package/dist/actions/add-products-to-storefront.d.cts +13 -3
- package/dist/actions/add-products-to-storefront.d.cts.map +1 -1
- package/dist/actions/add-products-to-storefront.d.mts +13 -3
- package/dist/actions/add-products-to-storefront.d.mts.map +1 -1
- package/dist/actions/add-products-to-storefront.mjs +2 -2
- package/dist/actions/add-products-to-storefront.mjs.map +1 -1
- package/dist/actions/add-split-code-to-virtual-terminal.cjs +15 -15
- package/dist/actions/add-split-code-to-virtual-terminal.cjs.map +1 -1
- package/dist/actions/add-split-code-to-virtual-terminal.d.cts +32 -3
- package/dist/actions/add-split-code-to-virtual-terminal.d.cts.map +1 -1
- package/dist/actions/add-split-code-to-virtual-terminal.d.mts +32 -3
- package/dist/actions/add-split-code-to-virtual-terminal.d.mts.map +1 -1
- package/dist/actions/add-split-code-to-virtual-terminal.mjs +15 -15
- package/dist/actions/add-split-code-to-virtual-terminal.mjs.map +1 -1
- package/dist/actions/add-subaccount-to-split.cjs +16 -16
- package/dist/actions/add-subaccount-to-split.cjs.map +1 -1
- package/dist/actions/add-subaccount-to-split.d.cts +34 -3
- package/dist/actions/add-subaccount-to-split.d.cts.map +1 -1
- package/dist/actions/add-subaccount-to-split.d.mts +34 -3
- package/dist/actions/add-subaccount-to-split.d.mts.map +1 -1
- package/dist/actions/add-subaccount-to-split.mjs +16 -16
- package/dist/actions/add-subaccount-to-split.mjs.map +1 -1
- package/dist/actions/archive-payment-request.cjs +2 -2
- package/dist/actions/archive-payment-request.cjs.map +1 -1
- package/dist/actions/archive-payment-request.d.cts +10 -3
- package/dist/actions/archive-payment-request.d.cts.map +1 -1
- package/dist/actions/archive-payment-request.d.mts +10 -3
- package/dist/actions/archive-payment-request.d.mts.map +1 -1
- package/dist/actions/archive-payment-request.mjs +2 -2
- package/dist/actions/archive-payment-request.mjs.map +1 -1
- package/dist/actions/assign-destination-to-virtual-terminal.cjs +9 -9
- package/dist/actions/assign-destination-to-virtual-terminal.cjs.map +1 -1
- package/dist/actions/assign-destination-to-virtual-terminal.d.cts +27 -3
- package/dist/actions/assign-destination-to-virtual-terminal.d.cts.map +1 -1
- package/dist/actions/assign-destination-to-virtual-terminal.d.mts +27 -3
- package/dist/actions/assign-destination-to-virtual-terminal.d.mts.map +1 -1
- package/dist/actions/assign-destination-to-virtual-terminal.mjs +9 -9
- package/dist/actions/assign-destination-to-virtual-terminal.mjs.map +1 -1
- package/dist/actions/check-pending-charge.cjs +25 -25
- package/dist/actions/check-pending-charge.cjs.map +1 -1
- package/dist/actions/check-pending-charge.d.cts +46 -3
- package/dist/actions/check-pending-charge.d.cts.map +1 -1
- package/dist/actions/check-pending-charge.d.mts +46 -3
- package/dist/actions/check-pending-charge.d.mts.map +1 -1
- package/dist/actions/check-pending-charge.mjs +25 -25
- package/dist/actions/check-pending-charge.mjs.map +1 -1
- package/dist/actions/check-slug-availability.cjs +2 -2
- package/dist/actions/check-slug-availability.cjs.map +1 -1
- package/dist/actions/check-slug-availability.d.cts +10 -3
- package/dist/actions/check-slug-availability.d.cts.map +1 -1
- package/dist/actions/check-slug-availability.d.mts +10 -3
- package/dist/actions/check-slug-availability.d.mts.map +1 -1
- package/dist/actions/check-slug-availability.mjs +2 -2
- package/dist/actions/check-slug-availability.mjs.map +1 -1
- package/dist/actions/create-bulk-transfer-recipient.cjs +2 -2
- package/dist/actions/create-bulk-transfer-recipient.cjs.map +1 -1
- package/dist/actions/create-bulk-transfer-recipient.d.cts +52 -3
- package/dist/actions/create-bulk-transfer-recipient.d.cts.map +1 -1
- package/dist/actions/create-bulk-transfer-recipient.d.mts +52 -3
- package/dist/actions/create-bulk-transfer-recipient.d.mts.map +1 -1
- package/dist/actions/create-bulk-transfer-recipient.mjs +2 -2
- package/dist/actions/create-bulk-transfer-recipient.mjs.map +1 -1
- package/dist/actions/create-charge.cjs +32 -32
- package/dist/actions/create-charge.cjs.map +1 -1
- package/dist/actions/create-charge.d.cts +124 -3
- package/dist/actions/create-charge.d.cts.map +1 -1
- package/dist/actions/create-charge.d.mts +124 -3
- package/dist/actions/create-charge.d.mts.map +1 -1
- package/dist/actions/create-charge.mjs +32 -32
- package/dist/actions/create-charge.mjs.map +1 -1
- package/dist/actions/create-customer.cjs +5 -5
- package/dist/actions/create-customer.cjs.map +1 -1
- package/dist/actions/create-customer.d.cts +37 -3
- package/dist/actions/create-customer.d.cts.map +1 -1
- package/dist/actions/create-customer.d.mts +37 -3
- package/dist/actions/create-customer.d.mts.map +1 -1
- package/dist/actions/create-customer.mjs +5 -5
- package/dist/actions/create-customer.mjs.map +1 -1
- package/dist/actions/create-payment-page.cjs +15 -15
- package/dist/actions/create-payment-page.cjs.map +1 -1
- package/dist/actions/create-payment-page.d.cts +64 -3
- package/dist/actions/create-payment-page.d.cts.map +1 -1
- package/dist/actions/create-payment-page.d.mts +64 -3
- package/dist/actions/create-payment-page.d.mts.map +1 -1
- package/dist/actions/create-payment-page.mjs +15 -15
- package/dist/actions/create-payment-page.mjs.map +1 -1
- package/dist/actions/create-payment-request.cjs +14 -14
- package/dist/actions/create-payment-request.cjs.map +1 -1
- package/dist/actions/create-payment-request.d.cts +74 -3
- package/dist/actions/create-payment-request.d.cts.map +1 -1
- package/dist/actions/create-payment-request.d.mts +74 -3
- package/dist/actions/create-payment-request.d.mts.map +1 -1
- package/dist/actions/create-payment-request.mjs +14 -14
- package/dist/actions/create-payment-request.mjs.map +1 -1
- package/dist/actions/create-plan.cjs +18 -18
- package/dist/actions/create-plan.cjs.map +1 -1
- package/dist/actions/create-plan.d.cts +48 -3
- package/dist/actions/create-plan.d.cts.map +1 -1
- package/dist/actions/create-plan.d.mts +48 -3
- package/dist/actions/create-plan.d.mts.map +1 -1
- package/dist/actions/create-plan.mjs +18 -18
- package/dist/actions/create-plan.mjs.map +1 -1
- package/dist/actions/create-refund.cjs +8 -8
- package/dist/actions/create-refund.cjs.map +1 -1
- package/dist/actions/create-refund.d.cts +59 -3
- package/dist/actions/create-refund.d.cts.map +1 -1
- package/dist/actions/create-refund.d.mts +59 -3
- package/dist/actions/create-refund.d.mts.map +1 -1
- package/dist/actions/create-refund.mjs +8 -8
- package/dist/actions/create-refund.mjs.map +1 -1
- package/dist/actions/create-split.cjs +15 -15
- package/dist/actions/create-split.cjs.map +1 -1
- package/dist/actions/create-split.d.cts +60 -3
- package/dist/actions/create-split.d.cts.map +1 -1
- package/dist/actions/create-split.d.mts +60 -3
- package/dist/actions/create-split.d.mts.map +1 -1
- package/dist/actions/create-split.mjs +15 -15
- package/dist/actions/create-split.mjs.map +1 -1
- package/dist/actions/create-storefront.cjs +14 -14
- package/dist/actions/create-storefront.cjs.map +1 -1
- package/dist/actions/create-storefront.d.cts +46 -3
- package/dist/actions/create-storefront.d.cts.map +1 -1
- package/dist/actions/create-storefront.d.mts +46 -3
- package/dist/actions/create-storefront.d.mts.map +1 -1
- package/dist/actions/create-storefront.mjs +14 -14
- package/dist/actions/create-storefront.mjs.map +1 -1
- package/dist/actions/create-subaccount.cjs +20 -20
- package/dist/actions/create-subaccount.cjs.map +1 -1
- package/dist/actions/create-subaccount.d.cts +52 -3
- package/dist/actions/create-subaccount.d.cts.map +1 -1
- package/dist/actions/create-subaccount.d.mts +52 -3
- package/dist/actions/create-subaccount.d.mts.map +1 -1
- package/dist/actions/create-subaccount.mjs +20 -20
- package/dist/actions/create-subaccount.mjs.map +1 -1
- package/dist/actions/create-transfer-recipient.cjs +17 -17
- package/dist/actions/create-transfer-recipient.cjs.map +1 -1
- package/dist/actions/create-transfer-recipient.d.cts +55 -3
- package/dist/actions/create-transfer-recipient.d.cts.map +1 -1
- package/dist/actions/create-transfer-recipient.d.mts +55 -3
- package/dist/actions/create-transfer-recipient.d.mts.map +1 -1
- package/dist/actions/create-transfer-recipient.mjs +17 -17
- package/dist/actions/create-transfer-recipient.mjs.map +1 -1
- package/dist/actions/create-virtual-terminal.cjs +9 -9
- package/dist/actions/create-virtual-terminal.cjs.map +1 -1
- package/dist/actions/create-virtual-terminal.d.cts +37 -3
- package/dist/actions/create-virtual-terminal.d.cts.map +1 -1
- package/dist/actions/create-virtual-terminal.d.mts +37 -3
- package/dist/actions/create-virtual-terminal.d.mts.map +1 -1
- package/dist/actions/create-virtual-terminal.mjs +9 -9
- package/dist/actions/create-virtual-terminal.mjs.map +1 -1
- package/dist/actions/deactivate-authorization.cjs +2 -2
- package/dist/actions/deactivate-authorization.cjs.map +1 -1
- package/dist/actions/deactivate-authorization.d.cts +10 -3
- package/dist/actions/deactivate-authorization.d.cts.map +1 -1
- package/dist/actions/deactivate-authorization.d.mts +10 -3
- package/dist/actions/deactivate-authorization.d.mts.map +1 -1
- package/dist/actions/deactivate-authorization.mjs +2 -2
- package/dist/actions/deactivate-authorization.mjs.map +1 -1
- package/dist/actions/deactivate-virtual-terminal.cjs +2 -2
- package/dist/actions/deactivate-virtual-terminal.cjs.map +1 -1
- package/dist/actions/deactivate-virtual-terminal.d.cts +10 -3
- package/dist/actions/deactivate-virtual-terminal.d.cts.map +1 -1
- package/dist/actions/deactivate-virtual-terminal.d.mts +10 -3
- package/dist/actions/deactivate-virtual-terminal.d.mts.map +1 -1
- package/dist/actions/deactivate-virtual-terminal.mjs +2 -2
- package/dist/actions/deactivate-virtual-terminal.mjs.map +1 -1
- package/dist/actions/delete-product.cjs.map +1 -1
- package/dist/actions/delete-product.d.cts +10 -3
- package/dist/actions/delete-product.d.cts.map +1 -1
- package/dist/actions/delete-product.d.mts +10 -3
- package/dist/actions/delete-product.d.mts.map +1 -1
- package/dist/actions/delete-product.mjs.map +1 -1
- package/dist/actions/delete-storefront.cjs.map +1 -1
- package/dist/actions/delete-storefront.d.cts +10 -3
- package/dist/actions/delete-storefront.d.cts.map +1 -1
- package/dist/actions/delete-storefront.d.mts +10 -3
- package/dist/actions/delete-storefront.d.mts.map +1 -1
- package/dist/actions/delete-storefront.mjs.map +1 -1
- package/dist/actions/delete-transfer-recipient.cjs.map +1 -1
- package/dist/actions/delete-transfer-recipient.d.cts +10 -3
- package/dist/actions/delete-transfer-recipient.d.cts.map +1 -1
- package/dist/actions/delete-transfer-recipient.d.mts +10 -3
- package/dist/actions/delete-transfer-recipient.d.mts.map +1 -1
- package/dist/actions/delete-transfer-recipient.mjs.map +1 -1
- package/dist/actions/disable-otp-for-transfers.cjs +2 -2
- package/dist/actions/disable-otp-for-transfers.cjs.map +1 -1
- package/dist/actions/disable-otp-for-transfers.d.cts +6 -3
- package/dist/actions/disable-otp-for-transfers.d.cts.map +1 -1
- package/dist/actions/disable-otp-for-transfers.d.mts +6 -3
- package/dist/actions/disable-otp-for-transfers.d.mts.map +1 -1
- package/dist/actions/disable-otp-for-transfers.mjs +2 -2
- package/dist/actions/disable-otp-for-transfers.mjs.map +1 -1
- package/dist/actions/disable-subscription.cjs +3 -3
- package/dist/actions/disable-subscription.cjs.map +1 -1
- package/dist/actions/disable-subscription.d.cts +15 -3
- package/dist/actions/disable-subscription.d.cts.map +1 -1
- package/dist/actions/disable-subscription.d.mts +15 -3
- package/dist/actions/disable-subscription.d.mts.map +1 -1
- package/dist/actions/disable-subscription.mjs +3 -3
- 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 +19 -3
- package/dist/actions/duplicate-storefront.d.cts.map +1 -1
- package/dist/actions/duplicate-storefront.d.mts +19 -3
- package/dist/actions/duplicate-storefront.d.mts.map +1 -1
- 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 +2 -2
- package/dist/actions/enable-otp-requirement-for-transfers.cjs.map +1 -1
- package/dist/actions/enable-otp-requirement-for-transfers.d.cts +6 -3
- package/dist/actions/enable-otp-requirement-for-transfers.d.cts.map +1 -1
- package/dist/actions/enable-otp-requirement-for-transfers.d.mts +6 -3
- package/dist/actions/enable-otp-requirement-for-transfers.d.mts.map +1 -1
- package/dist/actions/enable-otp-requirement-for-transfers.mjs +2 -2
- package/dist/actions/enable-otp-requirement-for-transfers.mjs.map +1 -1
- package/dist/actions/export-transactions.cjs +4 -4
- package/dist/actions/export-transactions.cjs.map +1 -1
- package/dist/actions/export-transactions.d.cts +30 -3
- package/dist/actions/export-transactions.d.cts.map +1 -1
- package/dist/actions/export-transactions.d.mts +30 -3
- package/dist/actions/export-transactions.d.mts.map +1 -1
- package/dist/actions/export-transactions.mjs +4 -4
- package/dist/actions/export-transactions.mjs.map +1 -1
- package/dist/actions/fetch-balance-ledger.cjs +18 -18
- package/dist/actions/fetch-balance-ledger.cjs.map +1 -1
- package/dist/actions/fetch-balance-ledger.d.cts +36 -3
- package/dist/actions/fetch-balance-ledger.d.cts.map +1 -1
- package/dist/actions/fetch-balance-ledger.d.mts +36 -3
- package/dist/actions/fetch-balance-ledger.d.mts.map +1 -1
- package/dist/actions/fetch-balance-ledger.mjs +18 -18
- package/dist/actions/fetch-balance-ledger.mjs.map +1 -1
- package/dist/actions/fetch-balance.cjs +4 -4
- package/dist/actions/fetch-balance.cjs.map +1 -1
- package/dist/actions/fetch-balance.d.cts +10 -3
- package/dist/actions/fetch-balance.d.cts.map +1 -1
- package/dist/actions/fetch-balance.d.mts +10 -3
- package/dist/actions/fetch-balance.d.mts.map +1 -1
- package/dist/actions/fetch-balance.mjs +4 -4
- package/dist/actions/fetch-balance.mjs.map +1 -1
- package/dist/actions/fetch-bulk-charge-batch.cjs +12 -12
- package/dist/actions/fetch-bulk-charge-batch.cjs.map +1 -1
- package/dist/actions/fetch-bulk-charge-batch.d.cts +22 -3
- package/dist/actions/fetch-bulk-charge-batch.d.cts.map +1 -1
- package/dist/actions/fetch-bulk-charge-batch.d.mts +22 -3
- package/dist/actions/fetch-bulk-charge-batch.d.mts.map +1 -1
- package/dist/actions/fetch-bulk-charge-batch.mjs +12 -12
- package/dist/actions/fetch-bulk-charge-batch.mjs.map +1 -1
- package/dist/actions/fetch-customer.cjs +12 -12
- package/dist/actions/fetch-customer.cjs.map +1 -1
- package/dist/actions/fetch-customer.d.cts +85 -3
- package/dist/actions/fetch-customer.d.cts.map +1 -1
- package/dist/actions/fetch-customer.d.mts +85 -3
- package/dist/actions/fetch-customer.d.mts.map +1 -1
- package/dist/actions/fetch-customer.mjs +12 -12
- package/dist/actions/fetch-customer.mjs.map +1 -1
- package/dist/actions/fetch-mandate-authorizations.cjs +14 -14
- package/dist/actions/fetch-mandate-authorizations.cjs.map +1 -1
- package/dist/actions/fetch-mandate-authorizations.d.cts +38 -3
- package/dist/actions/fetch-mandate-authorizations.d.cts.map +1 -1
- package/dist/actions/fetch-mandate-authorizations.d.mts +38 -3
- package/dist/actions/fetch-mandate-authorizations.d.mts.map +1 -1
- package/dist/actions/fetch-mandate-authorizations.mjs +14 -14
- package/dist/actions/fetch-mandate-authorizations.mjs.map +1 -1
- package/dist/actions/fetch-payment-page.cjs +15 -15
- package/dist/actions/fetch-payment-page.cjs.map +1 -1
- package/dist/actions/fetch-payment-page.d.cts +33 -3
- package/dist/actions/fetch-payment-page.d.cts.map +1 -1
- package/dist/actions/fetch-payment-page.d.mts +33 -3
- package/dist/actions/fetch-payment-page.d.mts.map +1 -1
- package/dist/actions/fetch-payment-page.mjs +15 -15
- package/dist/actions/fetch-payment-page.mjs.map +1 -1
- package/dist/actions/fetch-payment-request.cjs +11 -11
- package/dist/actions/fetch-payment-request.cjs.map +1 -1
- package/dist/actions/fetch-payment-request.d.cts +58 -3
- package/dist/actions/fetch-payment-request.d.cts.map +1 -1
- package/dist/actions/fetch-payment-request.d.mts +58 -3
- package/dist/actions/fetch-payment-request.d.mts.map +1 -1
- package/dist/actions/fetch-payment-request.mjs +11 -11
- package/dist/actions/fetch-payment-request.mjs.map +1 -1
- package/dist/actions/fetch-payment-session-timeout.cjs +3 -3
- package/dist/actions/fetch-payment-session-timeout.cjs.map +1 -1
- package/dist/actions/fetch-payment-session-timeout.d.cts +9 -3
- package/dist/actions/fetch-payment-session-timeout.d.cts.map +1 -1
- package/dist/actions/fetch-payment-session-timeout.d.mts +9 -3
- package/dist/actions/fetch-payment-session-timeout.d.mts.map +1 -1
- package/dist/actions/fetch-payment-session-timeout.mjs +3 -3
- package/dist/actions/fetch-payment-session-timeout.mjs.map +1 -1
- package/dist/actions/fetch-plan.cjs +23 -23
- package/dist/actions/fetch-plan.cjs.map +1 -1
- package/dist/actions/fetch-plan.d.cts +52 -3
- package/dist/actions/fetch-plan.d.cts.map +1 -1
- package/dist/actions/fetch-plan.d.mts +52 -3
- package/dist/actions/fetch-plan.d.mts.map +1 -1
- package/dist/actions/fetch-plan.mjs +23 -23
- package/dist/actions/fetch-plan.mjs.map +1 -1
- package/dist/actions/fetch-product-orders.cjs +31 -31
- package/dist/actions/fetch-product-orders.cjs.map +1 -1
- package/dist/actions/fetch-product-orders.d.cts +53 -3
- package/dist/actions/fetch-product-orders.d.cts.map +1 -1
- package/dist/actions/fetch-product-orders.d.mts +53 -3
- package/dist/actions/fetch-product-orders.d.mts.map +1 -1
- package/dist/actions/fetch-product-orders.mjs +31 -31
- package/dist/actions/fetch-product-orders.mjs.map +1 -1
- package/dist/actions/fetch-product.cjs +21 -21
- package/dist/actions/fetch-product.cjs.map +1 -1
- package/dist/actions/fetch-product.d.cts +49 -3
- package/dist/actions/fetch-product.d.cts.map +1 -1
- package/dist/actions/fetch-product.d.mts +49 -3
- package/dist/actions/fetch-product.d.mts.map +1 -1
- package/dist/actions/fetch-product.mjs +21 -21
- package/dist/actions/fetch-product.mjs.map +1 -1
- package/dist/actions/fetch-refund.cjs +21 -21
- package/dist/actions/fetch-refund.cjs.map +1 -1
- package/dist/actions/fetch-refund.d.cts +48 -3
- package/dist/actions/fetch-refund.d.cts.map +1 -1
- package/dist/actions/fetch-refund.d.mts +48 -3
- package/dist/actions/fetch-refund.d.mts.map +1 -1
- package/dist/actions/fetch-refund.mjs +21 -21
- package/dist/actions/fetch-refund.mjs.map +1 -1
- package/dist/actions/fetch-split.cjs +15 -15
- package/dist/actions/fetch-split.cjs.map +1 -1
- package/dist/actions/fetch-split.d.cts +30 -3
- package/dist/actions/fetch-split.d.cts.map +1 -1
- package/dist/actions/fetch-split.d.mts +30 -3
- package/dist/actions/fetch-split.d.mts.map +1 -1
- package/dist/actions/fetch-split.mjs +15 -15
- 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 +58 -3
- package/dist/actions/fetch-storefront-orders.d.cts.map +1 -1
- package/dist/actions/fetch-storefront-orders.d.mts +58 -3
- package/dist/actions/fetch-storefront-orders.d.mts.map +1 -1
- 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 +20 -20
- package/dist/actions/fetch-storefront.cjs.map +1 -1
- package/dist/actions/fetch-storefront.d.cts +42 -3
- package/dist/actions/fetch-storefront.d.cts.map +1 -1
- package/dist/actions/fetch-storefront.d.mts +42 -3
- package/dist/actions/fetch-storefront.d.mts.map +1 -1
- package/dist/actions/fetch-storefront.mjs +20 -20
- package/dist/actions/fetch-storefront.mjs.map +1 -1
- package/dist/actions/fetch-subaccount.cjs +20 -20
- package/dist/actions/fetch-subaccount.cjs.map +1 -1
- package/dist/actions/fetch-subaccount.d.cts +36 -3
- package/dist/actions/fetch-subaccount.d.cts.map +1 -1
- package/dist/actions/fetch-subaccount.d.mts +36 -3
- package/dist/actions/fetch-subaccount.d.mts.map +1 -1
- package/dist/actions/fetch-subaccount.mjs +20 -20
- package/dist/actions/fetch-subaccount.mjs.map +1 -1
- package/dist/actions/fetch-subscription.cjs +39 -39
- package/dist/actions/fetch-subscription.cjs.map +1 -1
- package/dist/actions/fetch-subscription.d.cts +68 -3
- package/dist/actions/fetch-subscription.d.cts.map +1 -1
- package/dist/actions/fetch-subscription.d.mts +68 -3
- package/dist/actions/fetch-subscription.d.mts.map +1 -1
- package/dist/actions/fetch-subscription.mjs +39 -39
- package/dist/actions/fetch-subscription.mjs.map +1 -1
- package/dist/actions/fetch-transaction-timeline.cjs +2 -2
- package/dist/actions/fetch-transaction-timeline.cjs.map +1 -1
- package/dist/actions/fetch-transaction-timeline.d.cts +24 -3
- package/dist/actions/fetch-transaction-timeline.d.cts.map +1 -1
- package/dist/actions/fetch-transaction-timeline.d.mts +24 -3
- package/dist/actions/fetch-transaction-timeline.d.mts.map +1 -1
- package/dist/actions/fetch-transaction-timeline.mjs +2 -2
- package/dist/actions/fetch-transaction-timeline.mjs.map +1 -1
- package/dist/actions/fetch-transaction.cjs +12 -12
- package/dist/actions/fetch-transaction.cjs.map +1 -1
- package/dist/actions/fetch-transaction.d.cts +82 -3
- package/dist/actions/fetch-transaction.d.cts.map +1 -1
- package/dist/actions/fetch-transaction.d.mts +82 -3
- package/dist/actions/fetch-transaction.d.mts.map +1 -1
- package/dist/actions/fetch-transaction.mjs +12 -12
- package/dist/actions/fetch-transaction.mjs.map +1 -1
- package/dist/actions/fetch-transfer-recipient.cjs +18 -18
- package/dist/actions/fetch-transfer-recipient.cjs.map +1 -1
- package/dist/actions/fetch-transfer-recipient.d.cts +34 -3
- package/dist/actions/fetch-transfer-recipient.d.cts.map +1 -1
- package/dist/actions/fetch-transfer-recipient.d.mts +34 -3
- package/dist/actions/fetch-transfer-recipient.d.mts.map +1 -1
- package/dist/actions/fetch-transfer-recipient.mjs +18 -18
- package/dist/actions/fetch-transfer-recipient.mjs.map +1 -1
- package/dist/actions/fetch-virtual-terminal.cjs +10 -10
- package/dist/actions/fetch-virtual-terminal.cjs.map +1 -1
- package/dist/actions/fetch-virtual-terminal.d.cts +26 -3
- package/dist/actions/fetch-virtual-terminal.d.cts.map +1 -1
- package/dist/actions/fetch-virtual-terminal.d.mts +26 -3
- package/dist/actions/fetch-virtual-terminal.d.mts.map +1 -1
- package/dist/actions/fetch-virtual-terminal.mjs +10 -10
- package/dist/actions/fetch-virtual-terminal.mjs.map +1 -1
- package/dist/actions/finalize-payment-request.cjs +22 -22
- package/dist/actions/finalize-payment-request.cjs.map +1 -1
- package/dist/actions/finalize-payment-request.d.cts +59 -3
- package/dist/actions/finalize-payment-request.d.cts.map +1 -1
- package/dist/actions/finalize-payment-request.d.mts +59 -3
- package/dist/actions/finalize-payment-request.d.mts.map +1 -1
- package/dist/actions/finalize-payment-request.mjs +22 -22
- package/dist/actions/finalize-payment-request.mjs.map +1 -1
- package/dist/actions/generate-update-subscription-link.cjs +3 -3
- package/dist/actions/generate-update-subscription-link.cjs.map +1 -1
- package/dist/actions/generate-update-subscription-link.d.cts +13 -3
- package/dist/actions/generate-update-subscription-link.d.cts.map +1 -1
- package/dist/actions/generate-update-subscription-link.d.mts +13 -3
- package/dist/actions/generate-update-subscription-link.d.mts.map +1 -1
- package/dist/actions/generate-update-subscription-link.mjs +3 -3
- package/dist/actions/generate-update-subscription-link.mjs.map +1 -1
- package/dist/actions/get-payment-request-totals.cjs +4 -4
- package/dist/actions/get-payment-request-totals.cjs.map +1 -1
- package/dist/actions/get-payment-request-totals.d.cts +20 -3
- package/dist/actions/get-payment-request-totals.d.cts.map +1 -1
- package/dist/actions/get-payment-request-totals.d.mts +20 -3
- package/dist/actions/get-payment-request-totals.d.mts.map +1 -1
- package/dist/actions/get-payment-request-totals.mjs +4 -4
- package/dist/actions/get-payment-request-totals.mjs.map +1 -1
- package/dist/actions/get-transaction-totals.cjs +7 -7
- package/dist/actions/get-transaction-totals.cjs.map +1 -1
- package/dist/actions/get-transaction-totals.d.cts +25 -3
- package/dist/actions/get-transaction-totals.d.cts.map +1 -1
- package/dist/actions/get-transaction-totals.d.mts +25 -3
- package/dist/actions/get-transaction-totals.d.mts.map +1 -1
- package/dist/actions/get-transaction-totals.mjs +7 -7
- package/dist/actions/get-transaction-totals.mjs.map +1 -1
- package/dist/actions/initialize-authorization.cjs +5 -5
- package/dist/actions/initialize-authorization.cjs.map +1 -1
- package/dist/actions/initialize-authorization.d.cts +39 -3
- package/dist/actions/initialize-authorization.d.cts.map +1 -1
- package/dist/actions/initialize-authorization.d.mts +39 -3
- package/dist/actions/initialize-authorization.d.mts.map +1 -1
- package/dist/actions/initialize-authorization.mjs +5 -5
- package/dist/actions/initialize-authorization.mjs.map +1 -1
- package/dist/actions/initialize-transaction.cjs +5 -5
- package/dist/actions/initialize-transaction.cjs.map +1 -1
- package/dist/actions/initialize-transaction.d.cts +94 -3
- package/dist/actions/initialize-transaction.d.cts.map +1 -1
- package/dist/actions/initialize-transaction.d.mts +94 -3
- package/dist/actions/initialize-transaction.d.mts.map +1 -1
- package/dist/actions/initialize-transaction.mjs +5 -5
- package/dist/actions/initialize-transaction.mjs.map +1 -1
- package/dist/actions/initiate-bulk-charge.cjs +12 -12
- package/dist/actions/initiate-bulk-charge.cjs.map +1 -1
- package/dist/actions/initiate-bulk-charge.d.cts +36 -3
- package/dist/actions/initiate-bulk-charge.d.cts.map +1 -1
- package/dist/actions/initiate-bulk-charge.d.mts +36 -3
- package/dist/actions/initiate-bulk-charge.d.mts.map +1 -1
- package/dist/actions/initiate-bulk-charge.mjs +12 -12
- package/dist/actions/initiate-bulk-charge.mjs.map +1 -1
- package/dist/actions/list-banks.cjs +15 -15
- package/dist/actions/list-banks.cjs.map +1 -1
- package/dist/actions/list-banks.d.cts +76 -3
- package/dist/actions/list-banks.d.cts.map +1 -1
- package/dist/actions/list-banks.d.mts +76 -3
- package/dist/actions/list-banks.d.mts.map +1 -1
- package/dist/actions/list-banks.mjs +15 -15
- package/dist/actions/list-banks.mjs.map +1 -1
- package/dist/actions/list-bulk-charge-batches.cjs +13 -13
- package/dist/actions/list-bulk-charge-batches.cjs.map +1 -1
- package/dist/actions/list-bulk-charge-batches.d.cts +36 -3
- package/dist/actions/list-bulk-charge-batches.d.cts.map +1 -1
- package/dist/actions/list-bulk-charge-batches.d.mts +36 -3
- package/dist/actions/list-bulk-charge-batches.d.mts.map +1 -1
- package/dist/actions/list-bulk-charge-batches.mjs +13 -13
- package/dist/actions/list-bulk-charge-batches.mjs.map +1 -1
- package/dist/actions/list-charges-in-batch.cjs +19 -19
- package/dist/actions/list-charges-in-batch.cjs.map +1 -1
- package/dist/actions/list-charges-in-batch.d.cts +77 -3
- package/dist/actions/list-charges-in-batch.d.cts.map +1 -1
- package/dist/actions/list-charges-in-batch.d.mts +77 -3
- package/dist/actions/list-charges-in-batch.d.mts.map +1 -1
- package/dist/actions/list-charges-in-batch.mjs +19 -19
- package/dist/actions/list-charges-in-batch.mjs.map +1 -1
- package/dist/actions/list-countries.cjs +9 -9
- package/dist/actions/list-countries.cjs.map +1 -1
- package/dist/actions/list-countries.d.cts +17 -3
- package/dist/actions/list-countries.d.cts.map +1 -1
- package/dist/actions/list-countries.d.mts +17 -3
- package/dist/actions/list-countries.d.mts.map +1 -1
- package/dist/actions/list-countries.mjs +9 -9
- package/dist/actions/list-countries.mjs.map +1 -1
- package/dist/actions/list-customers.cjs +14 -14
- package/dist/actions/list-customers.cjs.map +1 -1
- package/dist/actions/list-customers.d.cts +43 -3
- package/dist/actions/list-customers.d.cts.map +1 -1
- package/dist/actions/list-customers.d.mts +43 -3
- package/dist/actions/list-customers.d.mts.map +1 -1
- package/dist/actions/list-customers.mjs +14 -14
- package/dist/actions/list-customers.mjs.map +1 -1
- package/dist/actions/list-disputes.cjs +17 -17
- package/dist/actions/list-disputes.cjs.map +1 -1
- package/dist/actions/list-disputes.d.cts +87 -3
- package/dist/actions/list-disputes.d.cts.map +1 -1
- package/dist/actions/list-disputes.d.mts +87 -3
- package/dist/actions/list-disputes.d.mts.map +1 -1
- package/dist/actions/list-disputes.mjs +17 -17
- 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 +17 -3
- package/dist/actions/list-domains.d.cts.map +1 -1
- package/dist/actions/list-domains.d.mts +17 -3
- package/dist/actions/list-domains.d.mts.map +1 -1
- package/dist/actions/list-domains.mjs +2 -2
- package/dist/actions/list-domains.mjs.map +1 -1
- package/dist/actions/list-mandate-authorizations.cjs +13 -13
- package/dist/actions/list-mandate-authorizations.cjs.map +1 -1
- package/dist/actions/list-mandate-authorizations.d.cts +46 -3
- package/dist/actions/list-mandate-authorizations.d.cts.map +1 -1
- package/dist/actions/list-mandate-authorizations.d.mts +46 -3
- package/dist/actions/list-mandate-authorizations.d.mts.map +1 -1
- package/dist/actions/list-mandate-authorizations.mjs +13 -13
- package/dist/actions/list-mandate-authorizations.mjs.map +1 -1
- package/dist/actions/list-orders.cjs +24 -24
- package/dist/actions/list-orders.cjs.map +1 -1
- package/dist/actions/list-orders.d.cts +52 -3
- package/dist/actions/list-orders.d.cts.map +1 -1
- package/dist/actions/list-orders.d.mts +52 -3
- package/dist/actions/list-orders.d.mts.map +1 -1
- package/dist/actions/list-orders.mjs +24 -24
- package/dist/actions/list-orders.mjs.map +1 -1
- package/dist/actions/list-payment-pages.cjs +20 -20
- package/dist/actions/list-payment-pages.cjs.map +1 -1
- package/dist/actions/list-payment-pages.d.cts +47 -3
- package/dist/actions/list-payment-pages.d.cts.map +1 -1
- package/dist/actions/list-payment-pages.d.mts +47 -3
- package/dist/actions/list-payment-pages.d.mts.map +1 -1
- package/dist/actions/list-payment-pages.mjs +20 -20
- package/dist/actions/list-payment-pages.mjs.map +1 -1
- package/dist/actions/list-payment-requests.cjs +16 -16
- package/dist/actions/list-payment-requests.cjs.map +1 -1
- package/dist/actions/list-payment-requests.d.cts +82 -3
- package/dist/actions/list-payment-requests.d.cts.map +1 -1
- package/dist/actions/list-payment-requests.d.mts +82 -3
- package/dist/actions/list-payment-requests.d.mts.map +1 -1
- package/dist/actions/list-payment-requests.mjs +16 -16
- package/dist/actions/list-payment-requests.mjs.map +1 -1
- package/dist/actions/list-plans.cjs +27 -27
- package/dist/actions/list-plans.cjs.map +1 -1
- package/dist/actions/list-plans.d.cts +60 -3
- package/dist/actions/list-plans.d.cts.map +1 -1
- package/dist/actions/list-plans.d.mts +60 -3
- package/dist/actions/list-plans.d.mts.map +1 -1
- package/dist/actions/list-plans.mjs +27 -27
- package/dist/actions/list-plans.mjs.map +1 -1
- package/dist/actions/list-products.cjs +25 -25
- package/dist/actions/list-products.cjs.map +1 -1
- package/dist/actions/list-products.d.cts +57 -3
- package/dist/actions/list-products.d.cts.map +1 -1
- package/dist/actions/list-products.d.mts +57 -3
- package/dist/actions/list-products.d.mts.map +1 -1
- package/dist/actions/list-products.mjs +25 -25
- package/dist/actions/list-products.mjs.map +1 -1
- package/dist/actions/list-refunds.cjs +25 -25
- package/dist/actions/list-refunds.cjs.map +1 -1
- package/dist/actions/list-refunds.d.cts +63 -3
- package/dist/actions/list-refunds.d.cts.map +1 -1
- package/dist/actions/list-refunds.d.mts +63 -3
- package/dist/actions/list-refunds.d.mts.map +1 -1
- package/dist/actions/list-refunds.mjs +25 -25
- package/dist/actions/list-refunds.mjs.map +1 -1
- package/dist/actions/list-settlements.cjs +13 -13
- package/dist/actions/list-settlements.cjs.map +1 -1
- package/dist/actions/list-settlements.d.cts +35 -3
- package/dist/actions/list-settlements.d.cts.map +1 -1
- package/dist/actions/list-settlements.d.mts +35 -3
- package/dist/actions/list-settlements.d.mts.map +1 -1
- package/dist/actions/list-settlements.mjs +13 -13
- package/dist/actions/list-settlements.mjs.map +1 -1
- package/dist/actions/list-splits.cjs +20 -20
- package/dist/actions/list-splits.cjs.map +1 -1
- package/dist/actions/list-splits.d.cts +49 -3
- package/dist/actions/list-splits.d.cts.map +1 -1
- package/dist/actions/list-splits.d.mts +49 -3
- package/dist/actions/list-splits.d.mts.map +1 -1
- package/dist/actions/list-splits.mjs +20 -20
- package/dist/actions/list-splits.mjs.map +1 -1
- package/dist/actions/list-states-avs.cjs +5 -5
- package/dist/actions/list-states-avs.cjs.map +1 -1
- package/dist/actions/list-states-avs.d.cts +15 -3
- package/dist/actions/list-states-avs.d.cts.map +1 -1
- package/dist/actions/list-states-avs.d.mts +15 -3
- package/dist/actions/list-states-avs.d.mts.map +1 -1
- package/dist/actions/list-states-avs.mjs +5 -5
- package/dist/actions/list-states-avs.mjs.map +1 -1
- package/dist/actions/list-storefront-products.cjs +21 -21
- package/dist/actions/list-storefront-products.cjs.map +1 -1
- package/dist/actions/list-storefront-products.d.cts +54 -3
- package/dist/actions/list-storefront-products.d.cts.map +1 -1
- package/dist/actions/list-storefront-products.d.mts +54 -3
- package/dist/actions/list-storefront-products.d.mts.map +1 -1
- package/dist/actions/list-storefront-products.mjs +21 -21
- package/dist/actions/list-storefront-products.mjs.map +1 -1
- package/dist/actions/list-storefronts.cjs +13 -13
- package/dist/actions/list-storefronts.cjs.map +1 -1
- package/dist/actions/list-storefronts.d.cts +37 -3
- package/dist/actions/list-storefronts.d.cts.map +1 -1
- package/dist/actions/list-storefronts.d.mts +37 -3
- package/dist/actions/list-storefronts.d.mts.map +1 -1
- package/dist/actions/list-storefronts.mjs +13 -13
- package/dist/actions/list-storefronts.mjs.map +1 -1
- package/dist/actions/list-subaccounts.cjs +18 -18
- package/dist/actions/list-subaccounts.cjs.map +1 -1
- package/dist/actions/list-subaccounts.d.cts +38 -3
- package/dist/actions/list-subaccounts.d.cts.map +1 -1
- package/dist/actions/list-subaccounts.d.mts +38 -3
- package/dist/actions/list-subaccounts.d.mts.map +1 -1
- package/dist/actions/list-subaccounts.mjs +18 -18
- package/dist/actions/list-subaccounts.mjs.map +1 -1
- package/dist/actions/list-subscriptions.cjs +20 -20
- package/dist/actions/list-subscriptions.cjs.map +1 -1
- package/dist/actions/list-subscriptions.d.cts +84 -3
- package/dist/actions/list-subscriptions.d.cts.map +1 -1
- package/dist/actions/list-subscriptions.d.mts +84 -3
- package/dist/actions/list-subscriptions.d.mts.map +1 -1
- package/dist/actions/list-subscriptions.mjs +20 -20
- package/dist/actions/list-subscriptions.mjs.map +1 -1
- package/dist/actions/list-transactions.cjs +16 -16
- package/dist/actions/list-transactions.cjs.map +1 -1
- package/dist/actions/list-transactions.d.cts +127 -3
- package/dist/actions/list-transactions.d.cts.map +1 -1
- package/dist/actions/list-transactions.d.mts +127 -3
- package/dist/actions/list-transactions.d.mts.map +1 -1
- package/dist/actions/list-transactions.mjs +16 -16
- package/dist/actions/list-transactions.mjs.map +1 -1
- package/dist/actions/list-transfer-recipients.cjs +18 -18
- package/dist/actions/list-transfer-recipients.cjs.map +1 -1
- package/dist/actions/list-transfer-recipients.d.cts +42 -3
- package/dist/actions/list-transfer-recipients.d.cts.map +1 -1
- package/dist/actions/list-transfer-recipients.d.mts +42 -3
- package/dist/actions/list-transfer-recipients.d.mts.map +1 -1
- package/dist/actions/list-transfer-recipients.mjs +18 -18
- package/dist/actions/list-transfer-recipients.mjs.map +1 -1
- package/dist/actions/list-transfers.cjs +19 -19
- package/dist/actions/list-transfers.cjs.map +1 -1
- package/dist/actions/list-transfers.d.cts +81 -3
- package/dist/actions/list-transfers.d.cts.map +1 -1
- package/dist/actions/list-transfers.d.mts +81 -3
- package/dist/actions/list-transfers.d.mts.map +1 -1
- package/dist/actions/list-transfers.mjs +19 -19
- package/dist/actions/list-transfers.mjs.map +1 -1
- package/dist/actions/list-virtual-terminals.cjs +10 -10
- package/dist/actions/list-virtual-terminals.cjs.map +1 -1
- package/dist/actions/list-virtual-terminals.d.cts +31 -3
- package/dist/actions/list-virtual-terminals.d.cts.map +1 -1
- package/dist/actions/list-virtual-terminals.d.mts +31 -3
- package/dist/actions/list-virtual-terminals.d.mts.map +1 -1
- package/dist/actions/list-virtual-terminals.mjs +10 -10
- package/dist/actions/list-virtual-terminals.mjs.map +1 -1
- package/dist/actions/pause-bulk-charge.cjs +2 -2
- package/dist/actions/pause-bulk-charge.cjs.map +1 -1
- package/dist/actions/pause-bulk-charge.d.cts +10 -3
- package/dist/actions/pause-bulk-charge.d.cts.map +1 -1
- package/dist/actions/pause-bulk-charge.d.mts +10 -3
- package/dist/actions/pause-bulk-charge.d.mts.map +1 -1
- package/dist/actions/pause-bulk-charge.mjs +2 -2
- 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 +16 -3
- package/dist/actions/publish-storefront.d.cts.map +1 -1
- package/dist/actions/publish-storefront.d.mts +16 -3
- package/dist/actions/publish-storefront.d.mts.map +1 -1
- 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 +2 -2
- package/dist/actions/remove-subaccount-from-split.cjs.map +1 -1
- package/dist/actions/remove-subaccount-from-split.d.cts +14 -3
- package/dist/actions/remove-subaccount-from-split.d.cts.map +1 -1
- package/dist/actions/remove-subaccount-from-split.d.mts +14 -3
- package/dist/actions/remove-subaccount-from-split.d.mts.map +1 -1
- package/dist/actions/remove-subaccount-from-split.mjs +2 -2
- package/dist/actions/remove-subaccount-from-split.mjs.map +1 -1
- package/dist/actions/resend-otp-for-transfer.cjs +2 -2
- package/dist/actions/resend-otp-for-transfer.cjs.map +1 -1
- package/dist/actions/resend-otp-for-transfer.d.cts +15 -3
- package/dist/actions/resend-otp-for-transfer.d.cts.map +1 -1
- package/dist/actions/resend-otp-for-transfer.d.mts +15 -3
- package/dist/actions/resend-otp-for-transfer.d.mts.map +1 -1
- package/dist/actions/resend-otp-for-transfer.mjs +2 -2
- package/dist/actions/resend-otp-for-transfer.mjs.map +1 -1
- package/dist/actions/resolve-card-bin.cjs +10 -10
- package/dist/actions/resolve-card-bin.cjs.map +1 -1
- package/dist/actions/resolve-card-bin.d.cts +21 -3
- package/dist/actions/resolve-card-bin.d.cts.map +1 -1
- package/dist/actions/resolve-card-bin.d.mts +21 -3
- package/dist/actions/resolve-card-bin.d.mts.map +1 -1
- package/dist/actions/resolve-card-bin.mjs +10 -10
- package/dist/actions/resolve-card-bin.mjs.map +1 -1
- package/dist/actions/resume-bulk-charge-batch.cjs +2 -2
- package/dist/actions/resume-bulk-charge-batch.cjs.map +1 -1
- package/dist/actions/resume-bulk-charge-batch.d.cts +10 -3
- package/dist/actions/resume-bulk-charge-batch.d.cts.map +1 -1
- package/dist/actions/resume-bulk-charge-batch.d.mts +10 -3
- package/dist/actions/resume-bulk-charge-batch.d.mts.map +1 -1
- package/dist/actions/resume-bulk-charge-batch.mjs +2 -2
- package/dist/actions/resume-bulk-charge-batch.mjs.map +1 -1
- package/dist/actions/send-payment-request-notification.cjs +2 -2
- package/dist/actions/send-payment-request-notification.cjs.map +1 -1
- package/dist/actions/send-payment-request-notification.d.cts +10 -3
- package/dist/actions/send-payment-request-notification.d.cts.map +1 -1
- package/dist/actions/send-payment-request-notification.d.mts +10 -3
- package/dist/actions/send-payment-request-notification.d.mts.map +1 -1
- package/dist/actions/send-payment-request-notification.mjs +2 -2
- 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 +11 -3
- package/dist/actions/send-subscription-update-link.d.cts.map +1 -1
- package/dist/actions/send-subscription-update-link.d.mts +11 -3
- package/dist/actions/send-subscription-update-link.d.mts.map +1 -1
- 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 +11 -11
- package/dist/actions/set-risk-action.cjs.map +1 -1
- package/dist/actions/set-risk-action.d.cts +70 -3
- package/dist/actions/set-risk-action.d.cts.map +1 -1
- package/dist/actions/set-risk-action.d.mts +70 -3
- package/dist/actions/set-risk-action.d.mts.map +1 -1
- package/dist/actions/set-risk-action.mjs +11 -11
- package/dist/actions/set-risk-action.mjs.map +1 -1
- package/dist/actions/submit-phone.cjs +25 -25
- package/dist/actions/submit-phone.cjs.map +1 -1
- package/dist/actions/submit-phone.d.cts +49 -3
- package/dist/actions/submit-phone.d.cts.map +1 -1
- package/dist/actions/submit-phone.d.mts +49 -3
- package/dist/actions/submit-phone.d.mts.map +1 -1
- package/dist/actions/submit-phone.mjs +25 -25
- package/dist/actions/submit-phone.mjs.map +1 -1
- package/dist/actions/trigger-direct-debit-activation-charge.cjs +2 -2
- package/dist/actions/trigger-direct-debit-activation-charge.cjs.map +1 -1
- package/dist/actions/trigger-direct-debit-activation-charge.d.cts +12 -3
- package/dist/actions/trigger-direct-debit-activation-charge.d.cts.map +1 -1
- package/dist/actions/trigger-direct-debit-activation-charge.d.mts +12 -3
- package/dist/actions/trigger-direct-debit-activation-charge.d.mts.map +1 -1
- package/dist/actions/trigger-direct-debit-activation-charge.mjs +2 -2
- package/dist/actions/trigger-direct-debit-activation-charge.mjs.map +1 -1
- package/dist/actions/unassign-destination-from-virtual-terminal.cjs +2 -2
- package/dist/actions/unassign-destination-from-virtual-terminal.cjs.map +1 -1
- package/dist/actions/unassign-destination-from-virtual-terminal.d.cts +12 -3
- package/dist/actions/unassign-destination-from-virtual-terminal.d.cts.map +1 -1
- package/dist/actions/unassign-destination-from-virtual-terminal.d.mts +12 -3
- package/dist/actions/unassign-destination-from-virtual-terminal.d.mts.map +1 -1
- package/dist/actions/unassign-destination-from-virtual-terminal.mjs +2 -2
- package/dist/actions/unassign-destination-from-virtual-terminal.mjs.map +1 -1
- package/dist/actions/unregister-apple-pay-domain.cjs.map +1 -1
- package/dist/actions/unregister-apple-pay-domain.d.cts +11 -3
- package/dist/actions/unregister-apple-pay-domain.d.cts.map +1 -1
- package/dist/actions/unregister-apple-pay-domain.d.mts +11 -3
- package/dist/actions/unregister-apple-pay-domain.d.mts.map +1 -1
- package/dist/actions/unregister-apple-pay-domain.mjs.map +1 -1
- package/dist/actions/update-customer.cjs +13 -13
- package/dist/actions/update-customer.cjs.map +1 -1
- package/dist/actions/update-customer.d.cts +34 -3
- package/dist/actions/update-customer.d.cts.map +1 -1
- package/dist/actions/update-customer.d.mts +34 -3
- package/dist/actions/update-customer.d.mts.map +1 -1
- package/dist/actions/update-customer.mjs +13 -13
- package/dist/actions/update-customer.mjs.map +1 -1
- package/dist/actions/update-payment-page.cjs +15 -15
- package/dist/actions/update-payment-page.cjs.map +1 -1
- package/dist/actions/update-payment-page.d.cts +42 -3
- package/dist/actions/update-payment-page.d.cts.map +1 -1
- package/dist/actions/update-payment-page.d.mts +42 -3
- package/dist/actions/update-payment-page.d.mts.map +1 -1
- package/dist/actions/update-payment-page.mjs +15 -15
- package/dist/actions/update-payment-page.mjs.map +1 -1
- package/dist/actions/update-payment-request.cjs +17 -17
- package/dist/actions/update-payment-request.cjs.map +1 -1
- package/dist/actions/update-payment-request.d.cts +88 -3
- package/dist/actions/update-payment-request.d.cts.map +1 -1
- package/dist/actions/update-payment-request.d.mts +88 -3
- package/dist/actions/update-payment-request.d.mts.map +1 -1
- package/dist/actions/update-payment-request.mjs +17 -17
- package/dist/actions/update-payment-request.mjs.map +1 -1
- package/dist/actions/update-payment-session-timeout.cjs +3 -3
- package/dist/actions/update-payment-session-timeout.cjs.map +1 -1
- package/dist/actions/update-payment-session-timeout.d.cts +13 -3
- package/dist/actions/update-payment-session-timeout.d.cts.map +1 -1
- package/dist/actions/update-payment-session-timeout.d.mts +13 -3
- package/dist/actions/update-payment-session-timeout.d.mts.map +1 -1
- package/dist/actions/update-payment-session-timeout.mjs +3 -3
- package/dist/actions/update-payment-session-timeout.mjs.map +1 -1
- package/dist/actions/update-plan.cjs +2 -2
- package/dist/actions/update-plan.cjs.map +1 -1
- package/dist/actions/update-plan.d.cts +37 -3
- package/dist/actions/update-plan.d.cts.map +1 -1
- package/dist/actions/update-plan.d.mts +37 -3
- package/dist/actions/update-plan.d.mts.map +1 -1
- package/dist/actions/update-plan.mjs +2 -2
- package/dist/actions/update-plan.mjs.map +1 -1
- package/dist/actions/update-product.cjs +21 -21
- package/dist/actions/update-product.cjs.map +1 -1
- package/dist/actions/update-product.d.cts +69 -3
- package/dist/actions/update-product.d.cts.map +1 -1
- package/dist/actions/update-product.d.mts +69 -3
- package/dist/actions/update-product.d.mts.map +1 -1
- package/dist/actions/update-product.mjs +21 -21
- package/dist/actions/update-product.mjs.map +1 -1
- package/dist/actions/update-split.cjs +15 -15
- package/dist/actions/update-split.cjs.map +1 -1
- package/dist/actions/update-split.d.cts +43 -3
- package/dist/actions/update-split.d.cts.map +1 -1
- package/dist/actions/update-split.d.mts +43 -3
- package/dist/actions/update-split.d.mts.map +1 -1
- package/dist/actions/update-split.mjs +15 -15
- package/dist/actions/update-split.mjs.map +1 -1
- package/dist/actions/update-storefront.cjs +2 -2
- package/dist/actions/update-storefront.cjs.map +1 -1
- package/dist/actions/update-storefront.d.cts +16 -3
- package/dist/actions/update-storefront.d.cts.map +1 -1
- package/dist/actions/update-storefront.d.mts +16 -3
- package/dist/actions/update-storefront.d.mts.map +1 -1
- package/dist/actions/update-storefront.mjs +2 -2
- package/dist/actions/update-storefront.mjs.map +1 -1
- package/dist/actions/update-subaccount.cjs +24 -24
- package/dist/actions/update-subaccount.cjs.map +1 -1
- package/dist/actions/update-subaccount.d.cts +56 -3
- package/dist/actions/update-subaccount.d.cts.map +1 -1
- package/dist/actions/update-subaccount.d.mts +56 -3
- package/dist/actions/update-subaccount.d.mts.map +1 -1
- package/dist/actions/update-subaccount.mjs +24 -24
- package/dist/actions/update-subaccount.mjs.map +1 -1
- package/dist/actions/update-transfer-recipient.cjs +17 -17
- package/dist/actions/update-transfer-recipient.cjs.map +1 -1
- package/dist/actions/update-transfer-recipient.d.cts +36 -3
- package/dist/actions/update-transfer-recipient.d.cts.map +1 -1
- package/dist/actions/update-transfer-recipient.d.mts +36 -3
- package/dist/actions/update-transfer-recipient.d.mts.map +1 -1
- package/dist/actions/update-transfer-recipient.mjs +17 -17
- package/dist/actions/update-transfer-recipient.mjs.map +1 -1
- package/dist/actions/validate-bank-account.cjs +8 -8
- package/dist/actions/validate-bank-account.cjs.map +1 -1
- package/dist/actions/validate-bank-account.d.cts +38 -3
- package/dist/actions/validate-bank-account.d.cts.map +1 -1
- package/dist/actions/validate-bank-account.d.mts +38 -3
- package/dist/actions/validate-bank-account.d.mts.map +1 -1
- package/dist/actions/validate-bank-account.mjs +8 -8
- package/dist/actions/validate-bank-account.mjs.map +1 -1
- package/dist/actions/validate-customer.cjs +2 -2
- package/dist/actions/validate-customer.cjs.map +1 -1
- package/dist/actions/validate-customer.d.cts +28 -3
- package/dist/actions/validate-customer.d.cts.map +1 -1
- package/dist/actions/validate-customer.d.mts +28 -3
- package/dist/actions/validate-customer.d.mts.map +1 -1
- package/dist/actions/validate-customer.mjs +2 -2
- package/dist/actions/validate-customer.mjs.map +1 -1
- package/dist/actions/validate-order.cjs +16 -16
- package/dist/actions/validate-order.cjs.map +1 -1
- package/dist/actions/validate-order.d.cts +53 -3
- package/dist/actions/validate-order.d.cts.map +1 -1
- package/dist/actions/validate-order.d.mts +53 -3
- package/dist/actions/validate-order.d.mts.map +1 -1
- package/dist/actions/validate-order.mjs +16 -16
- package/dist/actions/validate-order.mjs.map +1 -1
- package/dist/actions/verify-payment-request.cjs +18 -18
- package/dist/actions/verify-payment-request.cjs.map +1 -1
- package/dist/actions/verify-payment-request.d.cts +51 -3
- package/dist/actions/verify-payment-request.d.cts.map +1 -1
- package/dist/actions/verify-payment-request.d.mts +51 -3
- package/dist/actions/verify-payment-request.d.mts.map +1 -1
- package/dist/actions/verify-payment-request.mjs +18 -18
- package/dist/actions/verify-payment-request.mjs.map +1 -1
- package/dist/actions/verify-storefront-slug.cjs +2 -2
- package/dist/actions/verify-storefront-slug.cjs.map +1 -1
- package/dist/actions/verify-storefront-slug.d.cts +11 -3
- package/dist/actions/verify-storefront-slug.d.cts.map +1 -1
- package/dist/actions/verify-storefront-slug.d.mts +11 -3
- package/dist/actions/verify-storefront-slug.d.mts.map +1 -1
- package/dist/actions/verify-storefront-slug.mjs +2 -2
- package/dist/actions/verify-storefront-slug.mjs.map +1 -1
- package/dist/actions/verify-transaction.cjs +12 -12
- package/dist/actions/verify-transaction.cjs.map +1 -1
- package/dist/actions/verify-transaction.d.cts +87 -3
- package/dist/actions/verify-transaction.d.cts.map +1 -1
- package/dist/actions/verify-transaction.d.mts +87 -3
- package/dist/actions/verify-transaction.d.mts.map +1 -1
- package/dist/actions/verify-transaction.mjs +12 -12
- package/dist/actions/verify-transaction.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -18,39 +18,39 @@ const PaystackFetchPlan_SubscriptionItemSchema = zod.z.object({
|
|
|
18
18
|
subscription_code: zod.z.string().describe("Subscription code").nullable().optional()
|
|
19
19
|
}).describe("Subscription item in the plan's subscriptions list.");
|
|
20
20
|
const PaystackFetchPlan_FetchPlanDataSchema = zod.z.object({
|
|
21
|
-
id: zod.z.number().int().describe("Unique plan ID"),
|
|
22
|
-
name: zod.z.string().describe("Name of the plan"),
|
|
21
|
+
id: zod.z.number().int().describe("Unique plan ID").nullable(),
|
|
22
|
+
name: zod.z.string().describe("Name of the plan").nullable(),
|
|
23
23
|
pages: zod.z.array(PaystackFetchPlan_PageItemSchema).describe("List of pages associated with this plan").nullable().optional(),
|
|
24
|
-
amount: zod.z.number().int().describe("Amount to charge in subunit (kobo if NGN, pesewas if GHS, cents if ZAR or USD)"),
|
|
25
|
-
domain: zod.z.string().describe("Domain (test or live)"),
|
|
26
|
-
migrate: zod.z.boolean().describe("Whether migration is enabled"),
|
|
27
|
-
currency: zod.z.string().describe("Currency code (NGN, GHS, ZAR, USD)"),
|
|
28
|
-
interval: zod.z.string().describe("Payment interval (daily, weekly, monthly, biannually, annually)"),
|
|
29
|
-
send_sms: zod.z.boolean().describe("Whether SMS notifications are sent to customers"),
|
|
30
|
-
createdAt: zod.z.string().describe("ISO 8601 timestamp when the plan was created"),
|
|
31
|
-
plan_code: zod.z.string().describe("Unique plan code"),
|
|
32
|
-
updatedAt: zod.z.string().describe("ISO 8601 timestamp when the plan was last updated"),
|
|
33
|
-
is_deleted: zod.z.boolean().describe("Whether the plan is deleted"),
|
|
24
|
+
amount: zod.z.number().int().describe("Amount to charge in subunit (kobo if NGN, pesewas if GHS, cents if ZAR or USD)").nullable(),
|
|
25
|
+
domain: zod.z.string().describe("Domain (test or live)").nullable(),
|
|
26
|
+
migrate: zod.z.boolean().describe("Whether migration is enabled").nullable(),
|
|
27
|
+
currency: zod.z.string().describe("Currency code (NGN, GHS, ZAR, USD)").nullable(),
|
|
28
|
+
interval: zod.z.string().describe("Payment interval (daily, weekly, monthly, biannually, annually)").nullable(),
|
|
29
|
+
send_sms: zod.z.boolean().describe("Whether SMS notifications are sent to customers").nullable(),
|
|
30
|
+
createdAt: zod.z.string().describe("ISO 8601 timestamp when the plan was created").nullable(),
|
|
31
|
+
plan_code: zod.z.string().describe("Unique plan code").nullable(),
|
|
32
|
+
updatedAt: zod.z.string().describe("ISO 8601 timestamp when the plan was last updated").nullable(),
|
|
33
|
+
is_deleted: zod.z.boolean().describe("Whether the plan is deleted").nullable(),
|
|
34
34
|
description: zod.z.string().describe("Plan description").nullable().optional(),
|
|
35
|
-
hosted_page: zod.z.boolean().describe("Whether hosted page is enabled"),
|
|
36
|
-
integration: zod.z.number().int().describe("Integration ID"),
|
|
37
|
-
is_archived: zod.z.boolean().describe("Whether the plan is archived"),
|
|
38
|
-
pages_count: zod.z.number().int().describe("Total number of pages associated with this plan"),
|
|
35
|
+
hosted_page: zod.z.boolean().describe("Whether hosted page is enabled").nullable(),
|
|
36
|
+
integration: zod.z.number().int().describe("Integration ID").nullable(),
|
|
37
|
+
is_archived: zod.z.boolean().describe("Whether the plan is archived").nullable(),
|
|
38
|
+
pages_count: zod.z.number().int().describe("Total number of pages associated with this plan").nullable(),
|
|
39
39
|
subscribers: zod.z.array(PaystackFetchPlan_SubscriberItemSchema).describe("List of subscribers to this plan").nullable().optional(),
|
|
40
|
-
invoice_limit: zod.z.number().int().describe("Number of invoices to raise during subscription"),
|
|
41
|
-
send_invoices: zod.z.boolean().describe("Whether invoices are sent to customers"),
|
|
40
|
+
invoice_limit: zod.z.number().int().describe("Number of invoices to raise during subscription").nullable(),
|
|
41
|
+
send_invoices: zod.z.boolean().describe("Whether invoices are sent to customers").nullable(),
|
|
42
42
|
subscriptions: zod.z.array(PaystackFetchPlan_SubscriptionItemSchema).describe("List of subscriptions to this plan").nullable().optional(),
|
|
43
|
-
total_revenue: zod.z.number().int().describe("Total revenue generated from this plan in subunit"),
|
|
43
|
+
total_revenue: zod.z.number().int().describe("Total revenue generated from this plan in subunit").nullable(),
|
|
44
44
|
hosted_page_url: zod.z.string().describe("Hosted page URL if enabled").nullable().optional(),
|
|
45
|
-
subscribers_count: zod.z.number().int().describe("Total number of subscribers to this plan"),
|
|
45
|
+
subscribers_count: zod.z.number().int().describe("Total number of subscribers to this plan").nullable(),
|
|
46
46
|
hosted_page_summary: zod.z.string().describe("Hosted page summary").nullable().optional(),
|
|
47
|
-
subscriptions_count: zod.z.number().int().describe("Total number of subscriptions to this plan"),
|
|
47
|
+
subscriptions_count: zod.z.number().int().describe("Total number of subscriptions to this plan").nullable(),
|
|
48
48
|
active_subscriptions_count: zod.z.number().int().describe("Total number of active subscriptions").nullable().optional()
|
|
49
49
|
}).describe("Plan details returned by the API.");
|
|
50
50
|
const PaystackFetchPlanOutput = zod.z.object({
|
|
51
51
|
data: PaystackFetchPlan_FetchPlanDataSchema.nullable(),
|
|
52
|
-
status: zod.z.boolean().describe("Status of the API request"),
|
|
53
|
-
message: zod.z.string().describe("Response message from the API")
|
|
52
|
+
status: zod.z.boolean().describe("Status of the API request").nullable(),
|
|
53
|
+
message: zod.z.string().describe("Response message from the API").nullable()
|
|
54
54
|
}).describe("Response containing plan details.");
|
|
55
55
|
const paystackFetchPlan = require_action.action("PAYSTACK_FETCH_PLAN", {
|
|
56
56
|
slug: "paystack-fetch-plan",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-plan.cjs","names":["z","action"],"sources":["../../src/actions/fetch-plan.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackFetchPlanInput
|
|
1
|
+
{"version":3,"file":"fetch-plan.cjs","names":["z","action"],"sources":["../../src/actions/fetch-plan.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackFetchPlanInput = z.object({\n code: z.string().describe(\"The plan ID or code you want to fetch\"),\n}).describe(\"Request to fetch plan details by plan code or ID.\");\nconst PaystackFetchPlan_PageItemSchema = z.object({\n id: z.number().int().describe(\"Page ID\").nullable().optional(),\n name: z.string().describe(\"Page name\").nullable().optional(),\n slug: z.string().describe(\"Page URL slug\").nullable().optional(),\n}).describe(\"Page item in the plan's pages list.\");\nconst PaystackFetchPlan_SubscriberItemSchema = z.object({\n id: z.number().int().describe(\"Subscriber ID\").nullable().optional(),\n email: z.string().describe(\"Subscriber email\").nullable().optional(),\n customer_code: z.string().describe(\"Customer code\").nullable().optional(),\n}).describe(\"Subscriber item in the plan's subscribers list.\");\nconst PaystackFetchPlan_SubscriptionItemSchema = z.object({\n id: z.number().int().describe(\"Subscription ID\").nullable().optional(),\n status: z.string().describe(\"Subscription status\").nullable().optional(),\n subscription_code: z.string().describe(\"Subscription code\").nullable().optional(),\n}).describe(\"Subscription item in the plan's subscriptions list.\");\nconst PaystackFetchPlan_FetchPlanDataSchema = z.object({\n id: z.number().int().describe(\"Unique plan ID\").nullable(),\n name: z.string().describe(\"Name of the plan\").nullable(),\n pages: z.array(PaystackFetchPlan_PageItemSchema).describe(\"List of pages associated with this plan\").nullable().optional(),\n amount: z.number().int().describe(\"Amount to charge in subunit (kobo if NGN, pesewas if GHS, cents if ZAR or USD)\").nullable(),\n domain: z.string().describe(\"Domain (test or live)\").nullable(),\n migrate: z.boolean().describe(\"Whether migration is enabled\").nullable(),\n currency: z.string().describe(\"Currency code (NGN, GHS, ZAR, USD)\").nullable(),\n interval: z.string().describe(\"Payment interval (daily, weekly, monthly, biannually, annually)\").nullable(),\n send_sms: z.boolean().describe(\"Whether SMS notifications are sent to customers\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the plan was created\").nullable(),\n plan_code: z.string().describe(\"Unique plan code\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the plan was last updated\").nullable(),\n is_deleted: z.boolean().describe(\"Whether the plan is deleted\").nullable(),\n description: z.string().describe(\"Plan description\").nullable().optional(),\n hosted_page: z.boolean().describe(\"Whether hosted page is enabled\").nullable(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n is_archived: z.boolean().describe(\"Whether the plan is archived\").nullable(),\n pages_count: z.number().int().describe(\"Total number of pages associated with this plan\").nullable(),\n subscribers: z.array(PaystackFetchPlan_SubscriberItemSchema).describe(\"List of subscribers to this plan\").nullable().optional(),\n invoice_limit: z.number().int().describe(\"Number of invoices to raise during subscription\").nullable(),\n send_invoices: z.boolean().describe(\"Whether invoices are sent to customers\").nullable(),\n subscriptions: z.array(PaystackFetchPlan_SubscriptionItemSchema).describe(\"List of subscriptions to this plan\").nullable().optional(),\n total_revenue: z.number().int().describe(\"Total revenue generated from this plan in subunit\").nullable(),\n hosted_page_url: z.string().describe(\"Hosted page URL if enabled\").nullable().optional(),\n subscribers_count: z.number().int().describe(\"Total number of subscribers to this plan\").nullable(),\n hosted_page_summary: z.string().describe(\"Hosted page summary\").nullable().optional(),\n subscriptions_count: z.number().int().describe(\"Total number of subscriptions to this plan\").nullable(),\n active_subscriptions_count: z.number().int().describe(\"Total number of active subscriptions\").nullable().optional(),\n}).describe(\"Plan details returned by the API.\");\nexport const PaystackFetchPlanOutput = z.object({\n data: PaystackFetchPlan_FetchPlanDataSchema.nullable(),\n status: z.boolean().describe(\"Status of the API request\").nullable(),\n message: z.string().describe(\"Response message from the API\").nullable(),\n}).describe(\"Response containing plan details.\");\n\nexport const paystackFetchPlan = action(\"PAYSTACK_FETCH_PLAN\", {\n slug: \"paystack-fetch-plan\",\n name: \"Fetch Plan\",\n description: \"Tool to get details of a plan on your integration. Use when you need to retrieve plan information using the plan code or ID.\",\n input: PaystackFetchPlanInput,\n output: PaystackFetchPlanOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,EACnE,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjE,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,OAAOA,IAAAA,EAAE,OAA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-
|
|
4
|
+
declare const PaystackFetchPlanInput: z.ZodObject<{
|
|
5
|
+
code: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PaystackFetchPlanOutput: z.ZodObject<{
|
|
8
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
9
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
name: z.ZodNullable<z.ZodString>;
|
|
11
|
+
pages: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
12
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
}, z.core.$strip>>>>;
|
|
16
|
+
amount: z.ZodNullable<z.ZodNumber>;
|
|
17
|
+
domain: z.ZodNullable<z.ZodString>;
|
|
18
|
+
migrate: z.ZodNullable<z.ZodBoolean>;
|
|
19
|
+
currency: z.ZodNullable<z.ZodString>;
|
|
20
|
+
interval: z.ZodNullable<z.ZodString>;
|
|
21
|
+
send_sms: z.ZodNullable<z.ZodBoolean>;
|
|
22
|
+
createdAt: z.ZodNullable<z.ZodString>;
|
|
23
|
+
plan_code: z.ZodNullable<z.ZodString>;
|
|
24
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
25
|
+
is_deleted: z.ZodNullable<z.ZodBoolean>;
|
|
26
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
hosted_page: z.ZodNullable<z.ZodBoolean>;
|
|
28
|
+
integration: z.ZodNullable<z.ZodNumber>;
|
|
29
|
+
is_archived: z.ZodNullable<z.ZodBoolean>;
|
|
30
|
+
pages_count: z.ZodNullable<z.ZodNumber>;
|
|
31
|
+
subscribers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
32
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
33
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
customer_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
}, z.core.$strip>>>>;
|
|
36
|
+
invoice_limit: z.ZodNullable<z.ZodNumber>;
|
|
37
|
+
send_invoices: z.ZodNullable<z.ZodBoolean>;
|
|
38
|
+
subscriptions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
39
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
40
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
+
subscription_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
+
}, z.core.$strip>>>>;
|
|
43
|
+
total_revenue: z.ZodNullable<z.ZodNumber>;
|
|
44
|
+
hosted_page_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
|
+
subscribers_count: z.ZodNullable<z.ZodNumber>;
|
|
46
|
+
hosted_page_summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
|
+
subscriptions_count: z.ZodNullable<z.ZodNumber>;
|
|
48
|
+
active_subscriptions_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
49
|
+
}, z.core.$strip>>;
|
|
50
|
+
status: z.ZodNullable<z.ZodBoolean>;
|
|
51
|
+
message: z.ZodNullable<z.ZodString>;
|
|
52
|
+
}, z.core.$strip>;
|
|
53
|
+
declare const paystackFetchPlan: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
54
|
+
code: string;
|
|
55
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
56
|
//#endregion
|
|
8
57
|
export { paystackFetchPlan };
|
|
9
58
|
//# sourceMappingURL=fetch-plan.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-plan.d.cts","names":[],"sources":["../../src/actions/fetch-plan.ts"],"mappings":";;;cAIa,sBAAA,
|
|
1
|
+
{"version":3,"file":"fetch-plan.d.cts","names":[],"sources":["../../src/actions/fetch-plan.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAgDtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMvB,iBAAA,gCAAiB,wBAAA"}
|
|
@@ -1,9 +1,58 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/fetch-plan.d.ts
|
|
4
|
-
declare const PaystackFetchPlanInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PaystackFetchPlanInput: z.ZodObject<{
|
|
5
|
+
code: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PaystackFetchPlanOutput: z.ZodObject<{
|
|
8
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
9
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
name: z.ZodNullable<z.ZodString>;
|
|
11
|
+
pages: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
12
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
}, z.core.$strip>>>>;
|
|
16
|
+
amount: z.ZodNullable<z.ZodNumber>;
|
|
17
|
+
domain: z.ZodNullable<z.ZodString>;
|
|
18
|
+
migrate: z.ZodNullable<z.ZodBoolean>;
|
|
19
|
+
currency: z.ZodNullable<z.ZodString>;
|
|
20
|
+
interval: z.ZodNullable<z.ZodString>;
|
|
21
|
+
send_sms: z.ZodNullable<z.ZodBoolean>;
|
|
22
|
+
createdAt: z.ZodNullable<z.ZodString>;
|
|
23
|
+
plan_code: z.ZodNullable<z.ZodString>;
|
|
24
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
25
|
+
is_deleted: z.ZodNullable<z.ZodBoolean>;
|
|
26
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
hosted_page: z.ZodNullable<z.ZodBoolean>;
|
|
28
|
+
integration: z.ZodNullable<z.ZodNumber>;
|
|
29
|
+
is_archived: z.ZodNullable<z.ZodBoolean>;
|
|
30
|
+
pages_count: z.ZodNullable<z.ZodNumber>;
|
|
31
|
+
subscribers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
32
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
33
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
customer_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
}, z.core.$strip>>>>;
|
|
36
|
+
invoice_limit: z.ZodNullable<z.ZodNumber>;
|
|
37
|
+
send_invoices: z.ZodNullable<z.ZodBoolean>;
|
|
38
|
+
subscriptions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
39
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
40
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
+
subscription_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
+
}, z.core.$strip>>>>;
|
|
43
|
+
total_revenue: z.ZodNullable<z.ZodNumber>;
|
|
44
|
+
hosted_page_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
|
+
subscribers_count: z.ZodNullable<z.ZodNumber>;
|
|
46
|
+
hosted_page_summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
|
+
subscriptions_count: z.ZodNullable<z.ZodNumber>;
|
|
48
|
+
active_subscriptions_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
49
|
+
}, z.core.$strip>>;
|
|
50
|
+
status: z.ZodNullable<z.ZodBoolean>;
|
|
51
|
+
message: z.ZodNullable<z.ZodString>;
|
|
52
|
+
}, z.core.$strip>;
|
|
53
|
+
declare const paystackFetchPlan: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
54
|
+
code: string;
|
|
55
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
56
|
//#endregion
|
|
8
57
|
export { paystackFetchPlan };
|
|
9
58
|
//# sourceMappingURL=fetch-plan.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-plan.d.mts","names":[],"sources":["../../src/actions/fetch-plan.ts"],"mappings":";;;cAIa,sBAAA,
|
|
1
|
+
{"version":3,"file":"fetch-plan.d.mts","names":[],"sources":["../../src/actions/fetch-plan.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAgDtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMvB,iBAAA,gCAAiB,wBAAA"}
|
|
@@ -18,33 +18,33 @@ const PaystackFetchPlan_SubscriptionItemSchema = z.object({
|
|
|
18
18
|
subscription_code: z.string().describe("Subscription code").nullable().optional()
|
|
19
19
|
}).describe("Subscription item in the plan's subscriptions list.");
|
|
20
20
|
const PaystackFetchPlan_FetchPlanDataSchema = z.object({
|
|
21
|
-
id: z.number().int().describe("Unique plan ID"),
|
|
22
|
-
name: z.string().describe("Name of the plan"),
|
|
21
|
+
id: z.number().int().describe("Unique plan ID").nullable(),
|
|
22
|
+
name: z.string().describe("Name of the plan").nullable(),
|
|
23
23
|
pages: z.array(PaystackFetchPlan_PageItemSchema).describe("List of pages associated with this plan").nullable().optional(),
|
|
24
|
-
amount: z.number().int().describe("Amount to charge in subunit (kobo if NGN, pesewas if GHS, cents if ZAR or USD)"),
|
|
25
|
-
domain: z.string().describe("Domain (test or live)"),
|
|
26
|
-
migrate: z.boolean().describe("Whether migration is enabled"),
|
|
27
|
-
currency: z.string().describe("Currency code (NGN, GHS, ZAR, USD)"),
|
|
28
|
-
interval: z.string().describe("Payment interval (daily, weekly, monthly, biannually, annually)"),
|
|
29
|
-
send_sms: z.boolean().describe("Whether SMS notifications are sent to customers"),
|
|
30
|
-
createdAt: z.string().describe("ISO 8601 timestamp when the plan was created"),
|
|
31
|
-
plan_code: z.string().describe("Unique plan code"),
|
|
32
|
-
updatedAt: z.string().describe("ISO 8601 timestamp when the plan was last updated"),
|
|
33
|
-
is_deleted: z.boolean().describe("Whether the plan is deleted"),
|
|
24
|
+
amount: z.number().int().describe("Amount to charge in subunit (kobo if NGN, pesewas if GHS, cents if ZAR or USD)").nullable(),
|
|
25
|
+
domain: z.string().describe("Domain (test or live)").nullable(),
|
|
26
|
+
migrate: z.boolean().describe("Whether migration is enabled").nullable(),
|
|
27
|
+
currency: z.string().describe("Currency code (NGN, GHS, ZAR, USD)").nullable(),
|
|
28
|
+
interval: z.string().describe("Payment interval (daily, weekly, monthly, biannually, annually)").nullable(),
|
|
29
|
+
send_sms: z.boolean().describe("Whether SMS notifications are sent to customers").nullable(),
|
|
30
|
+
createdAt: z.string().describe("ISO 8601 timestamp when the plan was created").nullable(),
|
|
31
|
+
plan_code: z.string().describe("Unique plan code").nullable(),
|
|
32
|
+
updatedAt: z.string().describe("ISO 8601 timestamp when the plan was last updated").nullable(),
|
|
33
|
+
is_deleted: z.boolean().describe("Whether the plan is deleted").nullable(),
|
|
34
34
|
description: z.string().describe("Plan description").nullable().optional(),
|
|
35
|
-
hosted_page: z.boolean().describe("Whether hosted page is enabled"),
|
|
36
|
-
integration: z.number().int().describe("Integration ID"),
|
|
37
|
-
is_archived: z.boolean().describe("Whether the plan is archived"),
|
|
38
|
-
pages_count: z.number().int().describe("Total number of pages associated with this plan"),
|
|
35
|
+
hosted_page: z.boolean().describe("Whether hosted page is enabled").nullable(),
|
|
36
|
+
integration: z.number().int().describe("Integration ID").nullable(),
|
|
37
|
+
is_archived: z.boolean().describe("Whether the plan is archived").nullable(),
|
|
38
|
+
pages_count: z.number().int().describe("Total number of pages associated with this plan").nullable(),
|
|
39
39
|
subscribers: z.array(PaystackFetchPlan_SubscriberItemSchema).describe("List of subscribers to this plan").nullable().optional(),
|
|
40
|
-
invoice_limit: z.number().int().describe("Number of invoices to raise during subscription"),
|
|
41
|
-
send_invoices: z.boolean().describe("Whether invoices are sent to customers"),
|
|
40
|
+
invoice_limit: z.number().int().describe("Number of invoices to raise during subscription").nullable(),
|
|
41
|
+
send_invoices: z.boolean().describe("Whether invoices are sent to customers").nullable(),
|
|
42
42
|
subscriptions: z.array(PaystackFetchPlan_SubscriptionItemSchema).describe("List of subscriptions to this plan").nullable().optional(),
|
|
43
|
-
total_revenue: z.number().int().describe("Total revenue generated from this plan in subunit"),
|
|
43
|
+
total_revenue: z.number().int().describe("Total revenue generated from this plan in subunit").nullable(),
|
|
44
44
|
hosted_page_url: z.string().describe("Hosted page URL if enabled").nullable().optional(),
|
|
45
|
-
subscribers_count: z.number().int().describe("Total number of subscribers to this plan"),
|
|
45
|
+
subscribers_count: z.number().int().describe("Total number of subscribers to this plan").nullable(),
|
|
46
46
|
hosted_page_summary: z.string().describe("Hosted page summary").nullable().optional(),
|
|
47
|
-
subscriptions_count: z.number().int().describe("Total number of subscriptions to this plan"),
|
|
47
|
+
subscriptions_count: z.number().int().describe("Total number of subscriptions to this plan").nullable(),
|
|
48
48
|
active_subscriptions_count: z.number().int().describe("Total number of active subscriptions").nullable().optional()
|
|
49
49
|
}).describe("Plan details returned by the API.");
|
|
50
50
|
const paystackFetchPlan = action("PAYSTACK_FETCH_PLAN", {
|
|
@@ -54,8 +54,8 @@ const paystackFetchPlan = action("PAYSTACK_FETCH_PLAN", {
|
|
|
54
54
|
input: PaystackFetchPlanInput,
|
|
55
55
|
output: z.object({
|
|
56
56
|
data: PaystackFetchPlan_FetchPlanDataSchema.nullable(),
|
|
57
|
-
status: z.boolean().describe("Status of the API request"),
|
|
58
|
-
message: z.string().describe("Response message from the API")
|
|
57
|
+
status: z.boolean().describe("Status of the API request").nullable(),
|
|
58
|
+
message: z.string().describe("Response message from the API").nullable()
|
|
59
59
|
}).describe("Response containing plan details.")
|
|
60
60
|
});
|
|
61
61
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-plan.mjs","names":[],"sources":["../../src/actions/fetch-plan.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackFetchPlanInput
|
|
1
|
+
{"version":3,"file":"fetch-plan.mjs","names":[],"sources":["../../src/actions/fetch-plan.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackFetchPlanInput = z.object({\n code: z.string().describe(\"The plan ID or code you want to fetch\"),\n}).describe(\"Request to fetch plan details by plan code or ID.\");\nconst PaystackFetchPlan_PageItemSchema = z.object({\n id: z.number().int().describe(\"Page ID\").nullable().optional(),\n name: z.string().describe(\"Page name\").nullable().optional(),\n slug: z.string().describe(\"Page URL slug\").nullable().optional(),\n}).describe(\"Page item in the plan's pages list.\");\nconst PaystackFetchPlan_SubscriberItemSchema = z.object({\n id: z.number().int().describe(\"Subscriber ID\").nullable().optional(),\n email: z.string().describe(\"Subscriber email\").nullable().optional(),\n customer_code: z.string().describe(\"Customer code\").nullable().optional(),\n}).describe(\"Subscriber item in the plan's subscribers list.\");\nconst PaystackFetchPlan_SubscriptionItemSchema = z.object({\n id: z.number().int().describe(\"Subscription ID\").nullable().optional(),\n status: z.string().describe(\"Subscription status\").nullable().optional(),\n subscription_code: z.string().describe(\"Subscription code\").nullable().optional(),\n}).describe(\"Subscription item in the plan's subscriptions list.\");\nconst PaystackFetchPlan_FetchPlanDataSchema = z.object({\n id: z.number().int().describe(\"Unique plan ID\").nullable(),\n name: z.string().describe(\"Name of the plan\").nullable(),\n pages: z.array(PaystackFetchPlan_PageItemSchema).describe(\"List of pages associated with this plan\").nullable().optional(),\n amount: z.number().int().describe(\"Amount to charge in subunit (kobo if NGN, pesewas if GHS, cents if ZAR or USD)\").nullable(),\n domain: z.string().describe(\"Domain (test or live)\").nullable(),\n migrate: z.boolean().describe(\"Whether migration is enabled\").nullable(),\n currency: z.string().describe(\"Currency code (NGN, GHS, ZAR, USD)\").nullable(),\n interval: z.string().describe(\"Payment interval (daily, weekly, monthly, biannually, annually)\").nullable(),\n send_sms: z.boolean().describe(\"Whether SMS notifications are sent to customers\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the plan was created\").nullable(),\n plan_code: z.string().describe(\"Unique plan code\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the plan was last updated\").nullable(),\n is_deleted: z.boolean().describe(\"Whether the plan is deleted\").nullable(),\n description: z.string().describe(\"Plan description\").nullable().optional(),\n hosted_page: z.boolean().describe(\"Whether hosted page is enabled\").nullable(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n is_archived: z.boolean().describe(\"Whether the plan is archived\").nullable(),\n pages_count: z.number().int().describe(\"Total number of pages associated with this plan\").nullable(),\n subscribers: z.array(PaystackFetchPlan_SubscriberItemSchema).describe(\"List of subscribers to this plan\").nullable().optional(),\n invoice_limit: z.number().int().describe(\"Number of invoices to raise during subscription\").nullable(),\n send_invoices: z.boolean().describe(\"Whether invoices are sent to customers\").nullable(),\n subscriptions: z.array(PaystackFetchPlan_SubscriptionItemSchema).describe(\"List of subscriptions to this plan\").nullable().optional(),\n total_revenue: z.number().int().describe(\"Total revenue generated from this plan in subunit\").nullable(),\n hosted_page_url: z.string().describe(\"Hosted page URL if enabled\").nullable().optional(),\n subscribers_count: z.number().int().describe(\"Total number of subscribers to this plan\").nullable(),\n hosted_page_summary: z.string().describe(\"Hosted page summary\").nullable().optional(),\n subscriptions_count: z.number().int().describe(\"Total number of subscriptions to this plan\").nullable(),\n active_subscriptions_count: z.number().int().describe(\"Total number of active subscriptions\").nullable().optional(),\n}).describe(\"Plan details returned by the API.\");\nexport const PaystackFetchPlanOutput = z.object({\n data: PaystackFetchPlan_FetchPlanDataSchema.nullable(),\n status: z.boolean().describe(\"Status of the API request\").nullable(),\n message: z.string().describe(\"Response message from the API\").nullable(),\n}).describe(\"Response containing plan details.\");\n\nexport const paystackFetchPlan = action(\"PAYSTACK_FETCH_PLAN\", {\n slug: \"paystack-fetch-plan\",\n name: \"Fetch Plan\",\n description: \"Tool to get details of a plan on your integration. Use when you need to retrieve plan information using the plan code or ID.\",\n input: PaystackFetchPlanInput,\n output: PaystackFetchPlanOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO,EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,EACnE,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjE,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,yCAAyC,EAAE,OAAO;CACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D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B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACtG,4BAA4B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAO/C,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXqC,EAAE,OAAO;EAC9C,MAAM,sCAAsC,SAAS;EACrD,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,SAAS,mCAOF;AACV,CAAC"}
|
|
@@ -3,53 +3,53 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/fetch-product-orders.ts
|
|
4
4
|
const PaystackFetchProductOrdersInput = zod.z.object({ id: zod.z.number().int().describe("The unique identifier of the product") }).describe("Request to fetch all orders for a particular product.");
|
|
5
5
|
const PaystackFetchProductOrders_OrderItemSchema = zod.z.object({
|
|
6
|
-
email: zod.z.string().describe("Customer's email address"),
|
|
7
|
-
phone: zod.z.string().describe("Customer's phone number"),
|
|
8
|
-
price: zod.z.number().int().describe("Product price in smallest currency unit (kobo, pesewas, or cents)"),
|
|
9
|
-
amount: zod.z.number().int().describe("Total order amount in smallest currency unit"),
|
|
10
|
-
status: zod.z.string().describe("Order status (e.g., pending, completed, refunded)"),
|
|
11
|
-
paid_at: zod.z.string().describe("ISO 8601 timestamp when payment was made"),
|
|
12
|
-
currency: zod.z.string().describe("Currency code (e.g., NGN, USD, GHS)"),
|
|
13
|
-
customer: zod.z.number().int().describe("Customer ID who placed the order"),
|
|
14
|
-
order_id: zod.z.string().describe("Unique order ID"),
|
|
15
|
-
quantity: zod.z.number().int().describe("Total quantity of the product"),
|
|
16
|
-
refunded: zod.z.boolean().describe("Whether the order has been refunded"),
|
|
6
|
+
email: zod.z.string().describe("Customer's email address").nullable(),
|
|
7
|
+
phone: zod.z.string().describe("Customer's phone number").nullable(),
|
|
8
|
+
price: zod.z.number().int().describe("Product price in smallest currency unit (kobo, pesewas, or cents)").nullable(),
|
|
9
|
+
amount: zod.z.number().int().describe("Total order amount in smallest currency unit").nullable(),
|
|
10
|
+
status: zod.z.string().describe("Order status (e.g., pending, completed, refunded)").nullable(),
|
|
11
|
+
paid_at: zod.z.string().describe("ISO 8601 timestamp when payment was made").nullable(),
|
|
12
|
+
currency: zod.z.string().describe("Currency code (e.g., NGN, USD, GHS)").nullable(),
|
|
13
|
+
customer: zod.z.number().int().describe("Customer ID who placed the order").nullable(),
|
|
14
|
+
order_id: zod.z.string().describe("Unique order ID").nullable(),
|
|
15
|
+
quantity: zod.z.number().int().describe("Total quantity of the product").nullable(),
|
|
16
|
+
refunded: zod.z.boolean().describe("Whether the order has been refunded").nullable(),
|
|
17
17
|
shipping: zod.z.object({}).describe("Shipping details").nullable().optional(),
|
|
18
|
-
is_viewed: zod.z.number().int().describe("View status of the order (0 or 1)"),
|
|
19
|
-
last_name: zod.z.string().describe("Customer's last name"),
|
|
20
|
-
created_at: zod.z.string().describe("ISO 8601 timestamp when the order was created"),
|
|
21
|
-
first_name: zod.z.string().describe("Customer's first name"),
|
|
22
|
-
is_shipped: zod.z.boolean().describe("Whether the order has been shipped"),
|
|
23
|
-
order_code: zod.z.string().describe("Unique order code"),
|
|
24
|
-
product_id: zod.z.number().int().describe("Product ID"),
|
|
18
|
+
is_viewed: zod.z.number().int().describe("View status of the order (0 or 1)").nullable(),
|
|
19
|
+
last_name: zod.z.string().describe("Customer's last name").nullable(),
|
|
20
|
+
created_at: zod.z.string().describe("ISO 8601 timestamp when the order was created").nullable(),
|
|
21
|
+
first_name: zod.z.string().describe("Customer's first name").nullable(),
|
|
22
|
+
is_shipped: zod.z.boolean().describe("Whether the order has been shipped").nullable(),
|
|
23
|
+
order_code: zod.z.string().describe("Unique order code").nullable(),
|
|
24
|
+
product_id: zod.z.number().int().describe("Product ID").nullable(),
|
|
25
25
|
variant_id: zod.z.union([zod.z.number().int(), zod.z.object({})]).nullable().optional(),
|
|
26
|
-
amount_paid: zod.z.number().int().describe("Amount paid in smallest currency unit"),
|
|
27
|
-
transaction: zod.z.number().int().describe("Transaction ID associated with the order"),
|
|
28
|
-
product_code: zod.z.string().describe("Unique product code"),
|
|
29
|
-
product_name: zod.z.string().describe("Name of the product"),
|
|
26
|
+
amount_paid: zod.z.number().int().describe("Amount paid in smallest currency unit").nullable(),
|
|
27
|
+
transaction: zod.z.number().int().describe("Transaction ID associated with the order").nullable(),
|
|
28
|
+
product_code: zod.z.string().describe("Unique product code").nullable(),
|
|
29
|
+
product_name: zod.z.string().describe("Name of the product").nullable(),
|
|
30
30
|
shipping_fee: zod.z.object({}).describe("Shipping fee details").nullable().optional(),
|
|
31
31
|
variant_code: zod.z.union([zod.z.string(), zod.z.object({})]).nullable().optional(),
|
|
32
|
-
customer_name: zod.z.string().describe("Full customer name"),
|
|
32
|
+
customer_name: zod.z.string().describe("Full customer name").nullable(),
|
|
33
33
|
delivery_note: zod.z.object({}).describe("Delivery note for the order").nullable().optional(),
|
|
34
|
-
quantity_sold: zod.z.number().int().describe("Quantity of product sold in this order"),
|
|
34
|
+
quantity_sold: zod.z.number().int().describe("Quantity of product sold in this order").nullable(),
|
|
35
35
|
variant_price: zod.z.union([zod.z.number().int(), zod.z.object({})]).nullable().optional(),
|
|
36
36
|
shipping_method: zod.z.object({}).describe("Shipping method details").nullable().optional(),
|
|
37
|
-
storefront_slug: zod.z.string().describe("Storefront slug where the product was sold"),
|
|
37
|
+
storefront_slug: zod.z.string().describe("Storefront slug where the product was sold").nullable(),
|
|
38
38
|
shipping_address: zod.z.object({}).describe("Shipping address details").nullable().optional()
|
|
39
39
|
}).describe("Individual order details for a product.");
|
|
40
40
|
const PaystackFetchProductOrders_OrderMetaSchema = zod.z.object({
|
|
41
|
-
total: zod.z.number().int().describe("Total number of orders for the product"),
|
|
42
|
-
perPage: zod.z.number().int().describe("Number of orders per page"),
|
|
41
|
+
total: zod.z.number().int().describe("Total number of orders for the product").nullable(),
|
|
42
|
+
perPage: zod.z.number().int().describe("Number of orders per page").nullable(),
|
|
43
43
|
revenue: zod.z.number().int().describe("Total revenue generated from the product in smallest currency unit (null if no orders)").nullable().optional(),
|
|
44
|
-
skipped: zod.z.number().int().describe("Number of skipped records"),
|
|
45
|
-
pageCount: zod.z.number().int().describe("Total number of pages"),
|
|
44
|
+
skipped: zod.z.number().int().describe("Number of skipped records").nullable(),
|
|
45
|
+
pageCount: zod.z.number().int().describe("Total number of pages").nullable(),
|
|
46
46
|
quantity_sold: zod.z.number().int().describe("Total quantity of product sold across all orders (null if no orders)").nullable().optional()
|
|
47
47
|
}).describe("Metadata about the product orders.");
|
|
48
48
|
const PaystackFetchProductOrdersOutput = zod.z.object({
|
|
49
49
|
data: zod.z.array(PaystackFetchProductOrders_OrderItemSchema).describe("List of orders for the product"),
|
|
50
50
|
meta: PaystackFetchProductOrders_OrderMetaSchema.nullable(),
|
|
51
|
-
status: zod.z.boolean().describe("Status of the API request"),
|
|
52
|
-
message: zod.z.string().describe("Response message from the API")
|
|
51
|
+
status: zod.z.boolean().describe("Status of the API request").nullable(),
|
|
52
|
+
message: zod.z.string().describe("Response message from the API").nullable()
|
|
53
53
|
}).describe("Response containing all orders for a particular product.");
|
|
54
54
|
const paystackFetchProductOrders = require_action.action("PAYSTACK_FETCH_PRODUCT_ORDERS", {
|
|
55
55
|
slug: "paystack-fetch-product-orders",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-product-orders.cjs","names":["z","action"],"sources":["../../src/actions/fetch-product-orders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackFetchProductOrdersInput
|
|
1
|
+
{"version":3,"file":"fetch-product-orders.cjs","names":["z","action"],"sources":["../../src/actions/fetch-product-orders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackFetchProductOrdersInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the product\"),\n}).describe(\"Request to fetch all orders for a particular product.\");\nconst PaystackFetchProductOrders_OrderItemSchema = z.object({\n email: z.string().describe(\"Customer's email address\").nullable(),\n phone: z.string().describe(\"Customer's phone number\").nullable(),\n price: z.number().int().describe(\"Product price in smallest currency unit (kobo, pesewas, or cents)\").nullable(),\n amount: z.number().int().describe(\"Total order amount in smallest currency unit\").nullable(),\n status: z.string().describe(\"Order status (e.g., pending, completed, refunded)\").nullable(),\n paid_at: z.string().describe(\"ISO 8601 timestamp when payment was made\").nullable(),\n currency: z.string().describe(\"Currency code (e.g., NGN, USD, GHS)\").nullable(),\n customer: z.number().int().describe(\"Customer ID who placed the order\").nullable(),\n order_id: z.string().describe(\"Unique order ID\").nullable(),\n quantity: z.number().int().describe(\"Total quantity of the product\").nullable(),\n refunded: z.boolean().describe(\"Whether the order has been refunded\").nullable(),\n shipping: z.object({}).describe(\"Shipping details\").nullable().optional(),\n is_viewed: z.number().int().describe(\"View status of the order (0 or 1)\").nullable(),\n last_name: z.string().describe(\"Customer's last name\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the order was created\").nullable(),\n first_name: z.string().describe(\"Customer's first name\").nullable(),\n is_shipped: z.boolean().describe(\"Whether the order has been shipped\").nullable(),\n order_code: z.string().describe(\"Unique order code\").nullable(),\n product_id: z.number().int().describe(\"Product ID\").nullable(),\n variant_id: z.union([z.number().int(), z.object({})]).nullable().optional(),\n amount_paid: z.number().int().describe(\"Amount paid in smallest currency unit\").nullable(),\n transaction: z.number().int().describe(\"Transaction ID associated with the order\").nullable(),\n product_code: z.string().describe(\"Unique product code\").nullable(),\n product_name: z.string().describe(\"Name of the product\").nullable(),\n shipping_fee: z.object({}).describe(\"Shipping fee details\").nullable().optional(),\n variant_code: z.union([z.string(), z.object({})]).nullable().optional(),\n customer_name: z.string().describe(\"Full customer name\").nullable(),\n delivery_note: z.object({}).describe(\"Delivery note for the order\").nullable().optional(),\n quantity_sold: z.number().int().describe(\"Quantity of product sold in this order\").nullable(),\n variant_price: z.union([z.number().int(), z.object({})]).nullable().optional(),\n shipping_method: z.object({}).describe(\"Shipping method details\").nullable().optional(),\n storefront_slug: z.string().describe(\"Storefront slug where the product was sold\").nullable(),\n shipping_address: z.object({}).describe(\"Shipping address details\").nullable().optional(),\n}).describe(\"Individual order details for a product.\");\nconst PaystackFetchProductOrders_OrderMetaSchema = z.object({\n total: z.number().int().describe(\"Total number of orders for the product\").nullable(),\n perPage: z.number().int().describe(\"Number of orders per page\").nullable(),\n revenue: z.number().int().describe(\"Total revenue generated from the product in smallest currency unit (null if no orders)\").nullable().optional(),\n skipped: z.number().int().describe(\"Number of skipped records\").nullable(),\n pageCount: z.number().int().describe(\"Total number of pages\").nullable(),\n quantity_sold: z.number().int().describe(\"Total quantity of product sold across all orders (null if no orders)\").nullable().optional(),\n}).describe(\"Metadata about the product orders.\");\nexport const PaystackFetchProductOrdersOutput = z.object({\n data: z.array(PaystackFetchProductOrders_OrderItemSchema).describe(\"List of orders for the product\"),\n meta: PaystackFetchProductOrders_OrderMetaSchema.nullable(),\n status: z.boolean().describe(\"Status of the API request\").nullable(),\n message: z.string().describe(\"Response message from the API\").nullable(),\n}).describe(\"Response containing all orders for a particular product.\");\n\nexport const paystackFetchProductOrders = action(\"PAYSTACK_FETCH_PRODUCT_ORDERS\", {\n slug: \"paystack-fetch-product-orders\",\n name: \"Fetch Product Orders\",\n description: \"Tool to fetch all orders for a particular product on your Paystack integration. Use when you need to retrieve order history and details for a specific product by its ID.\",\n input: PaystackFetchProductOrdersInput,\n output: PaystackFetchProductOrdersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAA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C,CAAC,SAAS;CACzE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACvE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,gCAAgC;CACnG,MAAM,2CAA2C,SAAS;CAC1D,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACnE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAEtE,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,59 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/fetch-product-orders.d.ts
|
|
4
|
-
declare const PaystackFetchProductOrdersInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PaystackFetchProductOrdersInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodNumber;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PaystackFetchProductOrdersOutput: z.ZodObject<{
|
|
8
|
+
data: z.ZodArray<z.ZodObject<{
|
|
9
|
+
email: z.ZodNullable<z.ZodString>;
|
|
10
|
+
phone: z.ZodNullable<z.ZodString>;
|
|
11
|
+
price: z.ZodNullable<z.ZodNumber>;
|
|
12
|
+
amount: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
status: z.ZodNullable<z.ZodString>;
|
|
14
|
+
paid_at: z.ZodNullable<z.ZodString>;
|
|
15
|
+
currency: z.ZodNullable<z.ZodString>;
|
|
16
|
+
customer: z.ZodNullable<z.ZodNumber>;
|
|
17
|
+
order_id: z.ZodNullable<z.ZodString>;
|
|
18
|
+
quantity: z.ZodNullable<z.ZodNumber>;
|
|
19
|
+
refunded: z.ZodNullable<z.ZodBoolean>;
|
|
20
|
+
shipping: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
21
|
+
is_viewed: z.ZodNullable<z.ZodNumber>;
|
|
22
|
+
last_name: z.ZodNullable<z.ZodString>;
|
|
23
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
24
|
+
first_name: z.ZodNullable<z.ZodString>;
|
|
25
|
+
is_shipped: z.ZodNullable<z.ZodBoolean>;
|
|
26
|
+
order_code: z.ZodNullable<z.ZodString>;
|
|
27
|
+
product_id: z.ZodNullable<z.ZodNumber>;
|
|
28
|
+
variant_id: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{}, z.core.$strip>]>>>;
|
|
29
|
+
amount_paid: z.ZodNullable<z.ZodNumber>;
|
|
30
|
+
transaction: z.ZodNullable<z.ZodNumber>;
|
|
31
|
+
product_code: z.ZodNullable<z.ZodString>;
|
|
32
|
+
product_name: z.ZodNullable<z.ZodString>;
|
|
33
|
+
shipping_fee: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
34
|
+
variant_code: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{}, z.core.$strip>]>>>;
|
|
35
|
+
customer_name: z.ZodNullable<z.ZodString>;
|
|
36
|
+
delivery_note: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
37
|
+
quantity_sold: z.ZodNullable<z.ZodNumber>;
|
|
38
|
+
variant_price: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{}, z.core.$strip>]>>>;
|
|
39
|
+
shipping_method: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
40
|
+
storefront_slug: z.ZodNullable<z.ZodString>;
|
|
41
|
+
shipping_address: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
42
|
+
}, z.core.$strip>>;
|
|
43
|
+
meta: z.ZodNullable<z.ZodObject<{
|
|
44
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
45
|
+
perPage: z.ZodNullable<z.ZodNumber>;
|
|
46
|
+
revenue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
47
|
+
skipped: z.ZodNullable<z.ZodNumber>;
|
|
48
|
+
pageCount: z.ZodNullable<z.ZodNumber>;
|
|
49
|
+
quantity_sold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
50
|
+
}, z.core.$strip>>;
|
|
51
|
+
status: z.ZodNullable<z.ZodBoolean>;
|
|
52
|
+
message: z.ZodNullable<z.ZodString>;
|
|
53
|
+
}, z.core.$strip>;
|
|
54
|
+
declare const paystackFetchProductOrders: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
55
|
+
id: number;
|
|
56
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
57
|
//#endregion
|
|
8
58
|
export { paystackFetchProductOrders };
|
|
9
59
|
//# sourceMappingURL=fetch-product-orders.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-product-orders.d.cts","names":[],"sources":["../../src/actions/fetch-product-orders.ts"],"mappings":";;;cAIa,+BAAA,
|
|
1
|
+
{"version":3,"file":"fetch-product-orders.d.cts","names":[],"sources":["../../src/actions/fetch-product-orders.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cA8C/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAOhC,0BAAA,gCAA0B,wBAAA"}
|