@keystrokehq/paystack 0.1.4 → 0.1.6
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 +1 -0
- package/dist/actions/add-products-to-page.cjs.map +1 -1
- package/dist/actions/add-products-to-page.d.cts +3 -4
- package/dist/actions/add-products-to-page.d.cts.map +1 -1
- package/dist/actions/add-products-to-page.d.mts +3 -4
- package/dist/actions/add-products-to-page.d.mts.map +1 -1
- package/dist/actions/add-products-to-page.mjs +1 -0
- package/dist/actions/add-products-to-page.mjs.map +1 -1
- package/dist/actions/add-products-to-storefront.cjs +1 -0
- package/dist/actions/add-products-to-storefront.cjs.map +1 -1
- package/dist/actions/add-products-to-storefront.d.cts +3 -4
- package/dist/actions/add-products-to-storefront.d.cts.map +1 -1
- package/dist/actions/add-products-to-storefront.d.mts +3 -4
- package/dist/actions/add-products-to-storefront.d.mts.map +1 -1
- package/dist/actions/add-products-to-storefront.mjs +1 -0
- package/dist/actions/add-products-to-storefront.mjs.map +1 -1
- package/dist/actions/add-split-code-to-virtual-terminal.cjs +1 -0
- package/dist/actions/add-split-code-to-virtual-terminal.cjs.map +1 -1
- package/dist/actions/add-split-code-to-virtual-terminal.d.cts +3 -4
- 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 +3 -4
- package/dist/actions/add-split-code-to-virtual-terminal.d.mts.map +1 -1
- package/dist/actions/add-split-code-to-virtual-terminal.mjs +1 -0
- package/dist/actions/add-split-code-to-virtual-terminal.mjs.map +1 -1
- package/dist/actions/add-subaccount-to-split.cjs +1 -0
- package/dist/actions/add-subaccount-to-split.cjs.map +1 -1
- package/dist/actions/add-subaccount-to-split.d.cts +3 -5
- package/dist/actions/add-subaccount-to-split.d.cts.map +1 -1
- package/dist/actions/add-subaccount-to-split.d.mts +3 -5
- package/dist/actions/add-subaccount-to-split.d.mts.map +1 -1
- package/dist/actions/add-subaccount-to-split.mjs +1 -0
- package/dist/actions/add-subaccount-to-split.mjs.map +1 -1
- package/dist/actions/archive-payment-request.cjs +1 -0
- package/dist/actions/archive-payment-request.cjs.map +1 -1
- package/dist/actions/archive-payment-request.d.cts +3 -3
- package/dist/actions/archive-payment-request.d.cts.map +1 -1
- package/dist/actions/archive-payment-request.d.mts +3 -3
- package/dist/actions/archive-payment-request.d.mts.map +1 -1
- package/dist/actions/archive-payment-request.mjs +1 -0
- package/dist/actions/archive-payment-request.mjs.map +1 -1
- package/dist/actions/assign-destination-to-virtual-terminal.cjs +1 -0
- package/dist/actions/assign-destination-to-virtual-terminal.cjs.map +1 -1
- package/dist/actions/assign-destination-to-virtual-terminal.d.cts +3 -8
- package/dist/actions/assign-destination-to-virtual-terminal.d.cts.map +1 -1
- package/dist/actions/assign-destination-to-virtual-terminal.d.mts +3 -8
- package/dist/actions/assign-destination-to-virtual-terminal.d.mts.map +1 -1
- package/dist/actions/assign-destination-to-virtual-terminal.mjs +1 -0
- package/dist/actions/assign-destination-to-virtual-terminal.mjs.map +1 -1
- package/dist/actions/check-pending-charge.cjs +1 -0
- package/dist/actions/check-pending-charge.cjs.map +1 -1
- package/dist/actions/check-pending-charge.d.cts +3 -3
- package/dist/actions/check-pending-charge.d.cts.map +1 -1
- package/dist/actions/check-pending-charge.d.mts +3 -3
- package/dist/actions/check-pending-charge.d.mts.map +1 -1
- package/dist/actions/check-pending-charge.mjs +1 -0
- package/dist/actions/check-pending-charge.mjs.map +1 -1
- package/dist/actions/check-slug-availability.cjs +1 -0
- package/dist/actions/check-slug-availability.cjs.map +1 -1
- package/dist/actions/check-slug-availability.d.cts +3 -3
- package/dist/actions/check-slug-availability.d.cts.map +1 -1
- package/dist/actions/check-slug-availability.d.mts +3 -3
- package/dist/actions/check-slug-availability.d.mts.map +1 -1
- package/dist/actions/check-slug-availability.mjs +1 -0
- package/dist/actions/check-slug-availability.mjs.map +1 -1
- package/dist/actions/create-bulk-transfer-recipient.cjs +1 -0
- package/dist/actions/create-bulk-transfer-recipient.cjs.map +1 -1
- package/dist/actions/create-bulk-transfer-recipient.d.cts +3 -13
- package/dist/actions/create-bulk-transfer-recipient.d.cts.map +1 -1
- package/dist/actions/create-bulk-transfer-recipient.d.mts +3 -13
- package/dist/actions/create-bulk-transfer-recipient.d.mts.map +1 -1
- package/dist/actions/create-bulk-transfer-recipient.mjs +1 -0
- package/dist/actions/create-bulk-transfer-recipient.mjs.map +1 -1
- package/dist/actions/create-charge.cjs +1 -0
- package/dist/actions/create-charge.cjs.map +1 -1
- package/dist/actions/create-charge.d.cts +3 -21
- package/dist/actions/create-charge.d.cts.map +1 -1
- package/dist/actions/create-charge.d.mts +3 -21
- package/dist/actions/create-charge.d.mts.map +1 -1
- package/dist/actions/create-charge.mjs +1 -0
- package/dist/actions/create-charge.mjs.map +1 -1
- package/dist/actions/create-customer.cjs +1 -0
- package/dist/actions/create-customer.cjs.map +1 -1
- package/dist/actions/create-customer.d.cts +3 -7
- package/dist/actions/create-customer.d.cts.map +1 -1
- package/dist/actions/create-customer.d.mts +3 -7
- package/dist/actions/create-customer.d.mts.map +1 -1
- package/dist/actions/create-customer.mjs +1 -0
- package/dist/actions/create-customer.mjs.map +1 -1
- package/dist/actions/create-payment-page.cjs +1 -0
- package/dist/actions/create-payment-page.cjs.map +1 -1
- package/dist/actions/create-payment-page.d.cts +5 -19
- package/dist/actions/create-payment-page.d.cts.map +1 -1
- package/dist/actions/create-payment-page.d.mts +5 -19
- package/dist/actions/create-payment-page.d.mts.map +1 -1
- package/dist/actions/create-payment-page.mjs +1 -0
- package/dist/actions/create-payment-page.mjs.map +1 -1
- package/dist/actions/create-payment-request.cjs +1 -0
- package/dist/actions/create-payment-request.cjs.map +1 -1
- package/dist/actions/create-payment-request.d.cts +4 -24
- package/dist/actions/create-payment-request.d.cts.map +1 -1
- package/dist/actions/create-payment-request.d.mts +4 -24
- package/dist/actions/create-payment-request.d.mts.map +1 -1
- package/dist/actions/create-payment-request.mjs +1 -0
- package/dist/actions/create-payment-request.mjs.map +1 -1
- package/dist/actions/create-plan.cjs +1 -0
- package/dist/actions/create-plan.cjs.map +1 -1
- package/dist/actions/create-plan.d.cts +3 -10
- package/dist/actions/create-plan.d.cts.map +1 -1
- package/dist/actions/create-plan.d.mts +3 -10
- package/dist/actions/create-plan.d.mts.map +1 -1
- package/dist/actions/create-plan.mjs +1 -0
- package/dist/actions/create-plan.mjs.map +1 -1
- package/dist/actions/create-refund.cjs +1 -0
- package/dist/actions/create-refund.cjs.map +1 -1
- package/dist/actions/create-refund.d.cts +5 -9
- package/dist/actions/create-refund.d.cts.map +1 -1
- package/dist/actions/create-refund.d.mts +5 -9
- package/dist/actions/create-refund.d.mts.map +1 -1
- package/dist/actions/create-refund.mjs +1 -0
- package/dist/actions/create-refund.mjs.map +1 -1
- package/dist/actions/create-split.cjs +1 -0
- package/dist/actions/create-split.cjs.map +1 -1
- package/dist/actions/create-split.d.cts +5 -14
- package/dist/actions/create-split.d.cts.map +1 -1
- package/dist/actions/create-split.d.mts +5 -14
- package/dist/actions/create-split.d.mts.map +1 -1
- package/dist/actions/create-split.mjs +1 -0
- package/dist/actions/create-split.mjs.map +1 -1
- package/dist/actions/create-storefront.cjs +1 -0
- package/dist/actions/create-storefront.cjs.map +1 -1
- package/dist/actions/create-storefront.d.cts +5 -8
- package/dist/actions/create-storefront.d.cts.map +1 -1
- package/dist/actions/create-storefront.d.mts +5 -8
- package/dist/actions/create-storefront.d.mts.map +1 -1
- package/dist/actions/create-storefront.mjs +1 -0
- package/dist/actions/create-storefront.mjs.map +1 -1
- package/dist/actions/create-subaccount.cjs +1 -0
- package/dist/actions/create-subaccount.cjs.map +1 -1
- package/dist/actions/create-subaccount.d.cts +3 -11
- package/dist/actions/create-subaccount.d.cts.map +1 -1
- package/dist/actions/create-subaccount.d.mts +3 -11
- package/dist/actions/create-subaccount.d.mts.map +1 -1
- package/dist/actions/create-subaccount.mjs +1 -0
- package/dist/actions/create-subaccount.mjs.map +1 -1
- package/dist/actions/create-transfer-recipient.cjs +1 -0
- package/dist/actions/create-transfer-recipient.cjs.map +1 -1
- package/dist/actions/create-transfer-recipient.d.cts +5 -13
- package/dist/actions/create-transfer-recipient.d.cts.map +1 -1
- package/dist/actions/create-transfer-recipient.d.mts +5 -13
- package/dist/actions/create-transfer-recipient.d.mts.map +1 -1
- package/dist/actions/create-transfer-recipient.mjs +1 -0
- package/dist/actions/create-transfer-recipient.mjs.map +1 -1
- package/dist/actions/create-virtual-terminal.cjs +1 -0
- package/dist/actions/create-virtual-terminal.cjs.map +1 -1
- package/dist/actions/create-virtual-terminal.d.cts +3 -10
- package/dist/actions/create-virtual-terminal.d.cts.map +1 -1
- package/dist/actions/create-virtual-terminal.d.mts +3 -10
- package/dist/actions/create-virtual-terminal.d.mts.map +1 -1
- package/dist/actions/create-virtual-terminal.mjs +1 -0
- package/dist/actions/create-virtual-terminal.mjs.map +1 -1
- package/dist/actions/deactivate-authorization.cjs +1 -0
- package/dist/actions/deactivate-authorization.cjs.map +1 -1
- package/dist/actions/deactivate-authorization.d.cts +3 -3
- package/dist/actions/deactivate-authorization.d.cts.map +1 -1
- package/dist/actions/deactivate-authorization.d.mts +3 -3
- package/dist/actions/deactivate-authorization.d.mts.map +1 -1
- package/dist/actions/deactivate-authorization.mjs +1 -0
- package/dist/actions/deactivate-authorization.mjs.map +1 -1
- package/dist/actions/deactivate-virtual-terminal.cjs +1 -0
- package/dist/actions/deactivate-virtual-terminal.cjs.map +1 -1
- package/dist/actions/deactivate-virtual-terminal.d.cts +3 -3
- package/dist/actions/deactivate-virtual-terminal.d.cts.map +1 -1
- package/dist/actions/deactivate-virtual-terminal.d.mts +3 -3
- package/dist/actions/deactivate-virtual-terminal.d.mts.map +1 -1
- package/dist/actions/deactivate-virtual-terminal.mjs +1 -0
- package/dist/actions/deactivate-virtual-terminal.mjs.map +1 -1
- package/dist/actions/delete-product.cjs +1 -0
- package/dist/actions/delete-product.cjs.map +1 -1
- package/dist/actions/delete-product.d.cts +3 -3
- package/dist/actions/delete-product.d.cts.map +1 -1
- package/dist/actions/delete-product.d.mts +3 -3
- package/dist/actions/delete-product.d.mts.map +1 -1
- package/dist/actions/delete-product.mjs +1 -0
- package/dist/actions/delete-product.mjs.map +1 -1
- package/dist/actions/delete-storefront.cjs +1 -0
- package/dist/actions/delete-storefront.cjs.map +1 -1
- package/dist/actions/delete-storefront.d.cts +3 -3
- package/dist/actions/delete-storefront.d.cts.map +1 -1
- package/dist/actions/delete-storefront.d.mts +3 -3
- package/dist/actions/delete-storefront.d.mts.map +1 -1
- package/dist/actions/delete-storefront.mjs +1 -0
- package/dist/actions/delete-storefront.mjs.map +1 -1
- package/dist/actions/delete-transfer-recipient.cjs +1 -0
- package/dist/actions/delete-transfer-recipient.cjs.map +1 -1
- package/dist/actions/delete-transfer-recipient.d.cts +3 -3
- package/dist/actions/delete-transfer-recipient.d.cts.map +1 -1
- package/dist/actions/delete-transfer-recipient.d.mts +3 -3
- package/dist/actions/delete-transfer-recipient.d.mts.map +1 -1
- package/dist/actions/delete-transfer-recipient.mjs +1 -0
- package/dist/actions/delete-transfer-recipient.mjs.map +1 -1
- package/dist/actions/disable-otp-for-transfers.cjs +1 -0
- package/dist/actions/disable-otp-for-transfers.cjs.map +1 -1
- package/dist/actions/disable-otp-for-transfers.d.cts +3 -1
- package/dist/actions/disable-otp-for-transfers.d.cts.map +1 -1
- package/dist/actions/disable-otp-for-transfers.d.mts +3 -1
- package/dist/actions/disable-otp-for-transfers.d.mts.map +1 -1
- package/dist/actions/disable-otp-for-transfers.mjs +1 -0
- package/dist/actions/disable-otp-for-transfers.mjs.map +1 -1
- package/dist/actions/disable-subscription.cjs +1 -0
- package/dist/actions/disable-subscription.cjs.map +1 -1
- package/dist/actions/disable-subscription.d.cts +3 -4
- package/dist/actions/disable-subscription.d.cts.map +1 -1
- package/dist/actions/disable-subscription.d.mts +3 -4
- package/dist/actions/disable-subscription.d.mts.map +1 -1
- package/dist/actions/disable-subscription.mjs +1 -0
- package/dist/actions/disable-subscription.mjs.map +1 -1
- package/dist/actions/duplicate-storefront.cjs +1 -0
- package/dist/actions/duplicate-storefront.cjs.map +1 -1
- package/dist/actions/duplicate-storefront.d.cts +3 -3
- package/dist/actions/duplicate-storefront.d.cts.map +1 -1
- package/dist/actions/duplicate-storefront.d.mts +3 -3
- package/dist/actions/duplicate-storefront.d.mts.map +1 -1
- package/dist/actions/duplicate-storefront.mjs +1 -0
- package/dist/actions/duplicate-storefront.mjs.map +1 -1
- package/dist/actions/enable-otp-requirement-for-transfers.cjs +1 -0
- package/dist/actions/enable-otp-requirement-for-transfers.cjs.map +1 -1
- package/dist/actions/enable-otp-requirement-for-transfers.d.cts +3 -1
- package/dist/actions/enable-otp-requirement-for-transfers.d.cts.map +1 -1
- package/dist/actions/enable-otp-requirement-for-transfers.d.mts +3 -1
- package/dist/actions/enable-otp-requirement-for-transfers.d.mts.map +1 -1
- package/dist/actions/enable-otp-requirement-for-transfers.mjs +1 -0
- package/dist/actions/enable-otp-requirement-for-transfers.mjs.map +1 -1
- package/dist/actions/export-transactions.cjs +1 -0
- package/dist/actions/export-transactions.cjs.map +1 -1
- package/dist/actions/export-transactions.d.cts +3 -8
- package/dist/actions/export-transactions.d.cts.map +1 -1
- package/dist/actions/export-transactions.d.mts +3 -8
- package/dist/actions/export-transactions.d.mts.map +1 -1
- package/dist/actions/export-transactions.mjs +1 -0
- package/dist/actions/export-transactions.mjs.map +1 -1
- package/dist/actions/fetch-balance-ledger.cjs +1 -0
- package/dist/actions/fetch-balance-ledger.cjs.map +1 -1
- package/dist/actions/fetch-balance-ledger.d.cts +3 -6
- package/dist/actions/fetch-balance-ledger.d.cts.map +1 -1
- package/dist/actions/fetch-balance-ledger.d.mts +3 -6
- package/dist/actions/fetch-balance-ledger.d.mts.map +1 -1
- package/dist/actions/fetch-balance-ledger.mjs +1 -0
- package/dist/actions/fetch-balance-ledger.mjs.map +1 -1
- package/dist/actions/fetch-balance.cjs +1 -0
- package/dist/actions/fetch-balance.cjs.map +1 -1
- package/dist/actions/fetch-balance.d.cts +3 -1
- package/dist/actions/fetch-balance.d.cts.map +1 -1
- package/dist/actions/fetch-balance.d.mts +3 -1
- package/dist/actions/fetch-balance.d.mts.map +1 -1
- package/dist/actions/fetch-balance.mjs +1 -0
- package/dist/actions/fetch-balance.mjs.map +1 -1
- package/dist/actions/fetch-bulk-charge-batch.cjs +1 -0
- package/dist/actions/fetch-bulk-charge-batch.cjs.map +1 -1
- package/dist/actions/fetch-bulk-charge-batch.d.cts +3 -3
- package/dist/actions/fetch-bulk-charge-batch.d.cts.map +1 -1
- package/dist/actions/fetch-bulk-charge-batch.d.mts +3 -3
- package/dist/actions/fetch-bulk-charge-batch.d.mts.map +1 -1
- package/dist/actions/fetch-bulk-charge-batch.mjs +1 -0
- package/dist/actions/fetch-bulk-charge-batch.mjs.map +1 -1
- package/dist/actions/fetch-customer.cjs +1 -0
- package/dist/actions/fetch-customer.cjs.map +1 -1
- package/dist/actions/fetch-customer.d.cts +3 -3
- package/dist/actions/fetch-customer.d.cts.map +1 -1
- package/dist/actions/fetch-customer.d.mts +3 -3
- package/dist/actions/fetch-customer.d.mts.map +1 -1
- package/dist/actions/fetch-customer.mjs +1 -0
- package/dist/actions/fetch-customer.mjs.map +1 -1
- package/dist/actions/fetch-mandate-authorizations.cjs +1 -0
- package/dist/actions/fetch-mandate-authorizations.cjs.map +1 -1
- package/dist/actions/fetch-mandate-authorizations.d.cts +3 -3
- package/dist/actions/fetch-mandate-authorizations.d.cts.map +1 -1
- package/dist/actions/fetch-mandate-authorizations.d.mts +3 -3
- package/dist/actions/fetch-mandate-authorizations.d.mts.map +1 -1
- package/dist/actions/fetch-mandate-authorizations.mjs +1 -0
- package/dist/actions/fetch-mandate-authorizations.mjs.map +1 -1
- package/dist/actions/fetch-payment-page.cjs +1 -0
- package/dist/actions/fetch-payment-page.cjs.map +1 -1
- package/dist/actions/fetch-payment-page.d.cts +3 -3
- package/dist/actions/fetch-payment-page.d.cts.map +1 -1
- package/dist/actions/fetch-payment-page.d.mts +3 -3
- package/dist/actions/fetch-payment-page.d.mts.map +1 -1
- package/dist/actions/fetch-payment-page.mjs +1 -0
- package/dist/actions/fetch-payment-page.mjs.map +1 -1
- package/dist/actions/fetch-payment-request.cjs +1 -0
- package/dist/actions/fetch-payment-request.cjs.map +1 -1
- package/dist/actions/fetch-payment-request.d.cts +3 -3
- package/dist/actions/fetch-payment-request.d.cts.map +1 -1
- package/dist/actions/fetch-payment-request.d.mts +3 -3
- package/dist/actions/fetch-payment-request.d.mts.map +1 -1
- package/dist/actions/fetch-payment-request.mjs +1 -0
- package/dist/actions/fetch-payment-request.mjs.map +1 -1
- package/dist/actions/fetch-payment-session-timeout.cjs +1 -0
- package/dist/actions/fetch-payment-session-timeout.cjs.map +1 -1
- package/dist/actions/fetch-payment-session-timeout.d.cts +3 -1
- package/dist/actions/fetch-payment-session-timeout.d.cts.map +1 -1
- package/dist/actions/fetch-payment-session-timeout.d.mts +3 -1
- package/dist/actions/fetch-payment-session-timeout.d.mts.map +1 -1
- package/dist/actions/fetch-payment-session-timeout.mjs +1 -0
- package/dist/actions/fetch-payment-session-timeout.mjs.map +1 -1
- package/dist/actions/fetch-plan.cjs +1 -0
- package/dist/actions/fetch-plan.cjs.map +1 -1
- package/dist/actions/fetch-plan.d.cts +3 -3
- package/dist/actions/fetch-plan.d.cts.map +1 -1
- package/dist/actions/fetch-plan.d.mts +3 -3
- package/dist/actions/fetch-plan.d.mts.map +1 -1
- package/dist/actions/fetch-plan.mjs +1 -0
- package/dist/actions/fetch-plan.mjs.map +1 -1
- package/dist/actions/fetch-product-orders.cjs +1 -0
- package/dist/actions/fetch-product-orders.cjs.map +1 -1
- package/dist/actions/fetch-product-orders.d.cts +3 -3
- package/dist/actions/fetch-product-orders.d.cts.map +1 -1
- package/dist/actions/fetch-product-orders.d.mts +3 -3
- package/dist/actions/fetch-product-orders.d.mts.map +1 -1
- package/dist/actions/fetch-product-orders.mjs +1 -0
- package/dist/actions/fetch-product-orders.mjs.map +1 -1
- package/dist/actions/fetch-product.cjs +1 -0
- package/dist/actions/fetch-product.cjs.map +1 -1
- package/dist/actions/fetch-product.d.cts +3 -3
- package/dist/actions/fetch-product.d.cts.map +1 -1
- package/dist/actions/fetch-product.d.mts +3 -3
- package/dist/actions/fetch-product.d.mts.map +1 -1
- package/dist/actions/fetch-product.mjs +1 -0
- package/dist/actions/fetch-product.mjs.map +1 -1
- package/dist/actions/fetch-refund.cjs +1 -0
- package/dist/actions/fetch-refund.cjs.map +1 -1
- package/dist/actions/fetch-refund.d.cts +3 -3
- package/dist/actions/fetch-refund.d.cts.map +1 -1
- package/dist/actions/fetch-refund.d.mts +3 -3
- package/dist/actions/fetch-refund.d.mts.map +1 -1
- package/dist/actions/fetch-refund.mjs +1 -0
- package/dist/actions/fetch-refund.mjs.map +1 -1
- package/dist/actions/fetch-split.cjs +1 -0
- package/dist/actions/fetch-split.cjs.map +1 -1
- package/dist/actions/fetch-split.d.cts +3 -3
- package/dist/actions/fetch-split.d.cts.map +1 -1
- package/dist/actions/fetch-split.d.mts +3 -3
- package/dist/actions/fetch-split.d.mts.map +1 -1
- package/dist/actions/fetch-split.mjs +1 -0
- package/dist/actions/fetch-split.mjs.map +1 -1
- package/dist/actions/fetch-storefront-orders.cjs +1 -0
- package/dist/actions/fetch-storefront-orders.cjs.map +1 -1
- package/dist/actions/fetch-storefront-orders.d.cts +3 -5
- package/dist/actions/fetch-storefront-orders.d.cts.map +1 -1
- package/dist/actions/fetch-storefront-orders.d.mts +3 -5
- package/dist/actions/fetch-storefront-orders.d.mts.map +1 -1
- package/dist/actions/fetch-storefront-orders.mjs +1 -0
- package/dist/actions/fetch-storefront-orders.mjs.map +1 -1
- package/dist/actions/fetch-storefront.cjs +1 -0
- package/dist/actions/fetch-storefront.cjs.map +1 -1
- package/dist/actions/fetch-storefront.d.cts +3 -3
- package/dist/actions/fetch-storefront.d.cts.map +1 -1
- package/dist/actions/fetch-storefront.d.mts +3 -3
- package/dist/actions/fetch-storefront.d.mts.map +1 -1
- package/dist/actions/fetch-storefront.mjs +1 -0
- package/dist/actions/fetch-storefront.mjs.map +1 -1
- package/dist/actions/fetch-subaccount.cjs +1 -0
- package/dist/actions/fetch-subaccount.cjs.map +1 -1
- package/dist/actions/fetch-subaccount.d.cts +3 -3
- package/dist/actions/fetch-subaccount.d.cts.map +1 -1
- package/dist/actions/fetch-subaccount.d.mts +3 -3
- package/dist/actions/fetch-subaccount.d.mts.map +1 -1
- package/dist/actions/fetch-subaccount.mjs +1 -0
- package/dist/actions/fetch-subaccount.mjs.map +1 -1
- package/dist/actions/fetch-subscription.cjs +1 -0
- package/dist/actions/fetch-subscription.cjs.map +1 -1
- package/dist/actions/fetch-subscription.d.cts +3 -3
- package/dist/actions/fetch-subscription.d.cts.map +1 -1
- package/dist/actions/fetch-subscription.d.mts +3 -3
- package/dist/actions/fetch-subscription.d.mts.map +1 -1
- package/dist/actions/fetch-subscription.mjs +1 -0
- package/dist/actions/fetch-subscription.mjs.map +1 -1
- package/dist/actions/fetch-transaction-timeline.cjs +1 -0
- package/dist/actions/fetch-transaction-timeline.cjs.map +1 -1
- package/dist/actions/fetch-transaction-timeline.d.cts +3 -3
- package/dist/actions/fetch-transaction-timeline.d.cts.map +1 -1
- package/dist/actions/fetch-transaction-timeline.d.mts +3 -3
- package/dist/actions/fetch-transaction-timeline.d.mts.map +1 -1
- package/dist/actions/fetch-transaction-timeline.mjs +1 -0
- package/dist/actions/fetch-transaction-timeline.mjs.map +1 -1
- package/dist/actions/fetch-transaction.cjs +1 -0
- package/dist/actions/fetch-transaction.cjs.map +1 -1
- package/dist/actions/fetch-transaction.d.cts +3 -3
- package/dist/actions/fetch-transaction.d.cts.map +1 -1
- package/dist/actions/fetch-transaction.d.mts +3 -3
- package/dist/actions/fetch-transaction.d.mts.map +1 -1
- package/dist/actions/fetch-transaction.mjs +1 -0
- package/dist/actions/fetch-transaction.mjs.map +1 -1
- package/dist/actions/fetch-transfer-recipient.cjs +1 -0
- package/dist/actions/fetch-transfer-recipient.cjs.map +1 -1
- package/dist/actions/fetch-transfer-recipient.d.cts +3 -3
- package/dist/actions/fetch-transfer-recipient.d.cts.map +1 -1
- package/dist/actions/fetch-transfer-recipient.d.mts +3 -3
- package/dist/actions/fetch-transfer-recipient.d.mts.map +1 -1
- package/dist/actions/fetch-transfer-recipient.mjs +1 -0
- package/dist/actions/fetch-transfer-recipient.mjs.map +1 -1
- package/dist/actions/fetch-virtual-terminal.cjs +1 -0
- package/dist/actions/fetch-virtual-terminal.cjs.map +1 -1
- package/dist/actions/fetch-virtual-terminal.d.cts +3 -3
- package/dist/actions/fetch-virtual-terminal.d.cts.map +1 -1
- package/dist/actions/fetch-virtual-terminal.d.mts +3 -3
- package/dist/actions/fetch-virtual-terminal.d.mts.map +1 -1
- package/dist/actions/fetch-virtual-terminal.mjs +1 -0
- package/dist/actions/fetch-virtual-terminal.mjs.map +1 -1
- package/dist/actions/finalize-payment-request.cjs +1 -0
- package/dist/actions/finalize-payment-request.cjs.map +1 -1
- package/dist/actions/finalize-payment-request.d.cts +3 -3
- package/dist/actions/finalize-payment-request.d.cts.map +1 -1
- package/dist/actions/finalize-payment-request.d.mts +3 -3
- package/dist/actions/finalize-payment-request.d.mts.map +1 -1
- package/dist/actions/finalize-payment-request.mjs +1 -0
- package/dist/actions/finalize-payment-request.mjs.map +1 -1
- package/dist/actions/generate-update-subscription-link.cjs +1 -0
- package/dist/actions/generate-update-subscription-link.cjs.map +1 -1
- package/dist/actions/generate-update-subscription-link.d.cts +3 -3
- package/dist/actions/generate-update-subscription-link.d.cts.map +1 -1
- package/dist/actions/generate-update-subscription-link.d.mts +3 -3
- package/dist/actions/generate-update-subscription-link.d.mts.map +1 -1
- package/dist/actions/generate-update-subscription-link.mjs +1 -0
- package/dist/actions/generate-update-subscription-link.mjs.map +1 -1
- package/dist/actions/get-payment-request-totals.cjs +1 -0
- package/dist/actions/get-payment-request-totals.cjs.map +1 -1
- package/dist/actions/get-payment-request-totals.d.cts +3 -1
- package/dist/actions/get-payment-request-totals.d.cts.map +1 -1
- package/dist/actions/get-payment-request-totals.d.mts +3 -1
- package/dist/actions/get-payment-request-totals.d.mts.map +1 -1
- package/dist/actions/get-payment-request-totals.mjs +1 -0
- package/dist/actions/get-payment-request-totals.mjs.map +1 -1
- package/dist/actions/get-transaction-totals.cjs +1 -0
- package/dist/actions/get-transaction-totals.cjs.map +1 -1
- package/dist/actions/get-transaction-totals.d.cts +3 -4
- package/dist/actions/get-transaction-totals.d.cts.map +1 -1
- package/dist/actions/get-transaction-totals.d.mts +3 -4
- package/dist/actions/get-transaction-totals.d.mts.map +1 -1
- package/dist/actions/get-transaction-totals.mjs +1 -0
- package/dist/actions/get-transaction-totals.mjs.map +1 -1
- package/dist/actions/initialize-authorization.cjs +1 -0
- package/dist/actions/initialize-authorization.cjs.map +1 -1
- package/dist/actions/initialize-authorization.d.cts +3 -14
- package/dist/actions/initialize-authorization.d.cts.map +1 -1
- package/dist/actions/initialize-authorization.d.mts +3 -14
- package/dist/actions/initialize-authorization.d.mts.map +1 -1
- package/dist/actions/initialize-authorization.mjs +1 -0
- package/dist/actions/initialize-authorization.mjs.map +1 -1
- package/dist/actions/initialize-transaction.cjs +1 -0
- package/dist/actions/initialize-transaction.cjs.map +1 -1
- package/dist/actions/initialize-transaction.d.cts +8 -33
- package/dist/actions/initialize-transaction.d.cts.map +1 -1
- package/dist/actions/initialize-transaction.d.mts +8 -33
- package/dist/actions/initialize-transaction.d.mts.map +1 -1
- package/dist/actions/initialize-transaction.mjs +1 -0
- package/dist/actions/initialize-transaction.mjs.map +1 -1
- package/dist/actions/initiate-bulk-charge.cjs +1 -0
- package/dist/actions/initiate-bulk-charge.cjs.map +1 -1
- package/dist/actions/initiate-bulk-charge.d.cts +3 -11
- package/dist/actions/initiate-bulk-charge.d.cts.map +1 -1
- package/dist/actions/initiate-bulk-charge.d.mts +3 -11
- package/dist/actions/initiate-bulk-charge.d.mts.map +1 -1
- package/dist/actions/initiate-bulk-charge.mjs +1 -0
- package/dist/actions/initiate-bulk-charge.mjs.map +1 -1
- package/dist/actions/list-banks.cjs +1 -0
- package/dist/actions/list-banks.cjs.map +1 -1
- package/dist/actions/list-banks.d.cts +7 -19
- package/dist/actions/list-banks.d.cts.map +1 -1
- package/dist/actions/list-banks.d.mts +7 -19
- package/dist/actions/list-banks.d.mts.map +1 -1
- package/dist/actions/list-banks.mjs +1 -0
- package/dist/actions/list-banks.mjs.map +1 -1
- package/dist/actions/list-bulk-charge-batches.cjs +1 -0
- package/dist/actions/list-bulk-charge-batches.cjs.map +1 -1
- package/dist/actions/list-bulk-charge-batches.d.cts +3 -5
- package/dist/actions/list-bulk-charge-batches.d.cts.map +1 -1
- package/dist/actions/list-bulk-charge-batches.d.mts +3 -5
- package/dist/actions/list-bulk-charge-batches.d.mts.map +1 -1
- package/dist/actions/list-bulk-charge-batches.mjs +1 -0
- package/dist/actions/list-bulk-charge-batches.mjs.map +1 -1
- package/dist/actions/list-charges-in-batch.cjs +1 -0
- package/dist/actions/list-charges-in-batch.cjs.map +1 -1
- package/dist/actions/list-charges-in-batch.d.cts +5 -8
- package/dist/actions/list-charges-in-batch.d.cts.map +1 -1
- package/dist/actions/list-charges-in-batch.d.mts +5 -8
- package/dist/actions/list-charges-in-batch.d.mts.map +1 -1
- package/dist/actions/list-charges-in-batch.mjs +1 -0
- package/dist/actions/list-charges-in-batch.mjs.map +1 -1
- package/dist/actions/list-countries.cjs +1 -0
- package/dist/actions/list-countries.cjs.map +1 -1
- package/dist/actions/list-countries.d.cts +3 -1
- package/dist/actions/list-countries.d.cts.map +1 -1
- package/dist/actions/list-countries.d.mts +3 -1
- package/dist/actions/list-countries.d.mts.map +1 -1
- package/dist/actions/list-countries.mjs +1 -0
- package/dist/actions/list-countries.mjs.map +1 -1
- package/dist/actions/list-customers.cjs +1 -0
- package/dist/actions/list-customers.cjs.map +1 -1
- package/dist/actions/list-customers.d.cts +3 -9
- package/dist/actions/list-customers.d.cts.map +1 -1
- package/dist/actions/list-customers.d.mts +3 -9
- package/dist/actions/list-customers.d.mts.map +1 -1
- package/dist/actions/list-customers.mjs +1 -0
- package/dist/actions/list-customers.mjs.map +1 -1
- package/dist/actions/list-disputes.cjs +1 -0
- package/dist/actions/list-disputes.cjs.map +1 -1
- package/dist/actions/list-disputes.d.cts +3 -8
- package/dist/actions/list-disputes.d.cts.map +1 -1
- package/dist/actions/list-disputes.d.mts +3 -8
- package/dist/actions/list-disputes.d.mts.map +1 -1
- package/dist/actions/list-disputes.mjs +1 -0
- package/dist/actions/list-disputes.mjs.map +1 -1
- package/dist/actions/list-domains.cjs +1 -0
- package/dist/actions/list-domains.cjs.map +1 -1
- package/dist/actions/list-domains.d.cts +3 -5
- package/dist/actions/list-domains.d.cts.map +1 -1
- package/dist/actions/list-domains.d.mts +3 -5
- package/dist/actions/list-domains.d.mts.map +1 -1
- package/dist/actions/list-domains.mjs +1 -0
- package/dist/actions/list-domains.mjs.map +1 -1
- package/dist/actions/list-mandate-authorizations.cjs +1 -0
- package/dist/actions/list-mandate-authorizations.cjs.map +1 -1
- package/dist/actions/list-mandate-authorizations.d.cts +3 -5
- package/dist/actions/list-mandate-authorizations.d.cts.map +1 -1
- package/dist/actions/list-mandate-authorizations.d.mts +3 -5
- package/dist/actions/list-mandate-authorizations.d.mts.map +1 -1
- package/dist/actions/list-mandate-authorizations.mjs +1 -0
- package/dist/actions/list-mandate-authorizations.mjs.map +1 -1
- package/dist/actions/list-orders.cjs +1 -0
- package/dist/actions/list-orders.cjs.map +1 -1
- package/dist/actions/list-orders.d.cts +3 -6
- package/dist/actions/list-orders.d.cts.map +1 -1
- package/dist/actions/list-orders.d.mts +3 -6
- package/dist/actions/list-orders.d.mts.map +1 -1
- package/dist/actions/list-orders.mjs +1 -0
- package/dist/actions/list-orders.mjs.map +1 -1
- package/dist/actions/list-payment-pages.cjs +1 -0
- package/dist/actions/list-payment-pages.cjs.map +1 -1
- package/dist/actions/list-payment-pages.d.cts +3 -6
- package/dist/actions/list-payment-pages.d.cts.map +1 -1
- package/dist/actions/list-payment-pages.d.mts +3 -6
- package/dist/actions/list-payment-pages.d.mts.map +1 -1
- package/dist/actions/list-payment-pages.mjs +1 -0
- package/dist/actions/list-payment-pages.mjs.map +1 -1
- package/dist/actions/list-payment-requests.cjs +1 -0
- package/dist/actions/list-payment-requests.cjs.map +1 -1
- package/dist/actions/list-payment-requests.d.cts +4 -10
- package/dist/actions/list-payment-requests.d.cts.map +1 -1
- package/dist/actions/list-payment-requests.d.mts +4 -10
- package/dist/actions/list-payment-requests.d.mts.map +1 -1
- package/dist/actions/list-payment-requests.mjs +1 -0
- package/dist/actions/list-payment-requests.mjs.map +1 -1
- package/dist/actions/list-plans.cjs +1 -0
- package/dist/actions/list-plans.cjs.map +1 -1
- package/dist/actions/list-plans.d.cts +3 -8
- package/dist/actions/list-plans.d.cts.map +1 -1
- package/dist/actions/list-plans.d.mts +3 -8
- package/dist/actions/list-plans.d.mts.map +1 -1
- package/dist/actions/list-plans.mjs +1 -0
- package/dist/actions/list-plans.mjs.map +1 -1
- package/dist/actions/list-products.cjs +1 -0
- package/dist/actions/list-products.cjs.map +1 -1
- package/dist/actions/list-products.d.cts +3 -7
- package/dist/actions/list-products.d.cts.map +1 -1
- package/dist/actions/list-products.d.mts +3 -7
- package/dist/actions/list-products.d.mts.map +1 -1
- package/dist/actions/list-products.mjs +1 -0
- package/dist/actions/list-products.mjs.map +1 -1
- package/dist/actions/list-refunds.cjs +1 -0
- package/dist/actions/list-refunds.cjs.map +1 -1
- package/dist/actions/list-refunds.d.cts +3 -6
- package/dist/actions/list-refunds.d.cts.map +1 -1
- package/dist/actions/list-refunds.d.mts +3 -6
- package/dist/actions/list-refunds.d.mts.map +1 -1
- package/dist/actions/list-refunds.mjs +1 -0
- package/dist/actions/list-refunds.mjs.map +1 -1
- package/dist/actions/list-settlements.cjs +1 -0
- package/dist/actions/list-settlements.cjs.map +1 -1
- package/dist/actions/list-settlements.d.cts +3 -4
- package/dist/actions/list-settlements.d.cts.map +1 -1
- package/dist/actions/list-settlements.d.mts +3 -4
- package/dist/actions/list-settlements.d.mts.map +1 -1
- package/dist/actions/list-settlements.mjs +1 -0
- package/dist/actions/list-settlements.mjs.map +1 -1
- package/dist/actions/list-splits.cjs +1 -0
- package/dist/actions/list-splits.cjs.map +1 -1
- package/dist/actions/list-splits.d.cts +3 -9
- package/dist/actions/list-splits.d.cts.map +1 -1
- package/dist/actions/list-splits.d.mts +3 -9
- package/dist/actions/list-splits.d.mts.map +1 -1
- package/dist/actions/list-splits.mjs +1 -0
- package/dist/actions/list-splits.mjs.map +1 -1
- package/dist/actions/list-states-avs.cjs +1 -0
- package/dist/actions/list-states-avs.cjs.map +1 -1
- package/dist/actions/list-states-avs.d.cts +3 -3
- package/dist/actions/list-states-avs.d.cts.map +1 -1
- package/dist/actions/list-states-avs.d.mts +3 -3
- package/dist/actions/list-states-avs.d.mts.map +1 -1
- package/dist/actions/list-states-avs.mjs +1 -0
- package/dist/actions/list-states-avs.mjs.map +1 -1
- package/dist/actions/list-storefront-products.cjs +1 -0
- package/dist/actions/list-storefront-products.cjs.map +1 -1
- package/dist/actions/list-storefront-products.d.cts +3 -5
- package/dist/actions/list-storefront-products.d.cts.map +1 -1
- package/dist/actions/list-storefront-products.d.mts +3 -5
- package/dist/actions/list-storefront-products.d.mts.map +1 -1
- package/dist/actions/list-storefront-products.mjs +1 -0
- package/dist/actions/list-storefront-products.mjs.map +1 -1
- package/dist/actions/list-storefronts.cjs +1 -0
- package/dist/actions/list-storefronts.cjs.map +1 -1
- package/dist/actions/list-storefronts.d.cts +3 -5
- package/dist/actions/list-storefronts.d.cts.map +1 -1
- package/dist/actions/list-storefronts.d.mts +3 -5
- package/dist/actions/list-storefronts.d.mts.map +1 -1
- package/dist/actions/list-storefronts.mjs +1 -0
- package/dist/actions/list-storefronts.mjs.map +1 -1
- package/dist/actions/list-subaccounts.cjs +1 -0
- package/dist/actions/list-subaccounts.cjs.map +1 -1
- package/dist/actions/list-subaccounts.d.cts +3 -5
- package/dist/actions/list-subaccounts.d.cts.map +1 -1
- package/dist/actions/list-subaccounts.d.mts +3 -5
- package/dist/actions/list-subaccounts.d.mts.map +1 -1
- package/dist/actions/list-subaccounts.mjs +1 -0
- package/dist/actions/list-subaccounts.mjs.map +1 -1
- package/dist/actions/list-subscriptions.cjs +1 -0
- package/dist/actions/list-subscriptions.cjs.map +1 -1
- package/dist/actions/list-subscriptions.d.cts +3 -8
- package/dist/actions/list-subscriptions.d.cts.map +1 -1
- package/dist/actions/list-subscriptions.d.mts +3 -8
- package/dist/actions/list-subscriptions.d.mts.map +1 -1
- package/dist/actions/list-subscriptions.mjs +1 -0
- package/dist/actions/list-subscriptions.mjs.map +1 -1
- package/dist/actions/list-transactions.cjs +1 -0
- package/dist/actions/list-transactions.cjs.map +1 -1
- package/dist/actions/list-transactions.d.cts +3 -19
- package/dist/actions/list-transactions.d.cts.map +1 -1
- package/dist/actions/list-transactions.d.mts +3 -19
- package/dist/actions/list-transactions.d.mts.map +1 -1
- package/dist/actions/list-transactions.mjs +1 -0
- package/dist/actions/list-transactions.mjs.map +1 -1
- package/dist/actions/list-transfer-recipients.cjs +1 -0
- package/dist/actions/list-transfer-recipients.cjs.map +1 -1
- package/dist/actions/list-transfer-recipients.d.cts +3 -7
- package/dist/actions/list-transfer-recipients.d.cts.map +1 -1
- package/dist/actions/list-transfer-recipients.d.mts +3 -7
- package/dist/actions/list-transfer-recipients.d.mts.map +1 -1
- package/dist/actions/list-transfer-recipients.mjs +1 -0
- package/dist/actions/list-transfer-recipients.mjs.map +1 -1
- package/dist/actions/list-transfers.cjs +1 -0
- package/dist/actions/list-transfers.cjs.map +1 -1
- package/dist/actions/list-transfers.d.cts +4 -12
- package/dist/actions/list-transfers.d.cts.map +1 -1
- package/dist/actions/list-transfers.d.mts +4 -12
- package/dist/actions/list-transfers.d.mts.map +1 -1
- package/dist/actions/list-transfers.mjs +1 -0
- package/dist/actions/list-transfers.mjs.map +1 -1
- package/dist/actions/list-virtual-terminals.cjs +1 -0
- package/dist/actions/list-virtual-terminals.cjs.map +1 -1
- package/dist/actions/list-virtual-terminals.d.cts +3 -4
- package/dist/actions/list-virtual-terminals.d.cts.map +1 -1
- package/dist/actions/list-virtual-terminals.d.mts +3 -4
- package/dist/actions/list-virtual-terminals.d.mts.map +1 -1
- package/dist/actions/list-virtual-terminals.mjs +1 -0
- package/dist/actions/list-virtual-terminals.mjs.map +1 -1
- package/dist/actions/pause-bulk-charge.cjs +1 -0
- package/dist/actions/pause-bulk-charge.cjs.map +1 -1
- package/dist/actions/pause-bulk-charge.d.cts +3 -3
- package/dist/actions/pause-bulk-charge.d.cts.map +1 -1
- package/dist/actions/pause-bulk-charge.d.mts +3 -3
- package/dist/actions/pause-bulk-charge.d.mts.map +1 -1
- package/dist/actions/pause-bulk-charge.mjs +1 -0
- package/dist/actions/pause-bulk-charge.mjs.map +1 -1
- package/dist/actions/publish-storefront.cjs +1 -0
- package/dist/actions/publish-storefront.cjs.map +1 -1
- package/dist/actions/publish-storefront.d.cts +3 -3
- package/dist/actions/publish-storefront.d.cts.map +1 -1
- package/dist/actions/publish-storefront.d.mts +3 -3
- package/dist/actions/publish-storefront.d.mts.map +1 -1
- package/dist/actions/publish-storefront.mjs +1 -0
- package/dist/actions/publish-storefront.mjs.map +1 -1
- package/dist/actions/remove-subaccount-from-split.cjs +1 -0
- package/dist/actions/remove-subaccount-from-split.cjs.map +1 -1
- package/dist/actions/remove-subaccount-from-split.d.cts +3 -5
- package/dist/actions/remove-subaccount-from-split.d.cts.map +1 -1
- package/dist/actions/remove-subaccount-from-split.d.mts +3 -5
- package/dist/actions/remove-subaccount-from-split.d.mts.map +1 -1
- package/dist/actions/remove-subaccount-from-split.mjs +1 -0
- package/dist/actions/remove-subaccount-from-split.mjs.map +1 -1
- package/dist/actions/resend-otp-for-transfer.cjs +1 -0
- package/dist/actions/resend-otp-for-transfer.cjs.map +1 -1
- package/dist/actions/resend-otp-for-transfer.d.cts +3 -4
- package/dist/actions/resend-otp-for-transfer.d.cts.map +1 -1
- package/dist/actions/resend-otp-for-transfer.d.mts +3 -4
- package/dist/actions/resend-otp-for-transfer.d.mts.map +1 -1
- package/dist/actions/resend-otp-for-transfer.mjs +1 -0
- package/dist/actions/resend-otp-for-transfer.mjs.map +1 -1
- package/dist/actions/resolve-card-bin.cjs +1 -0
- package/dist/actions/resolve-card-bin.cjs.map +1 -1
- package/dist/actions/resolve-card-bin.d.cts +3 -3
- package/dist/actions/resolve-card-bin.d.cts.map +1 -1
- package/dist/actions/resolve-card-bin.d.mts +3 -3
- package/dist/actions/resolve-card-bin.d.mts.map +1 -1
- package/dist/actions/resolve-card-bin.mjs +1 -0
- package/dist/actions/resolve-card-bin.mjs.map +1 -1
- package/dist/actions/resume-bulk-charge-batch.cjs +1 -0
- package/dist/actions/resume-bulk-charge-batch.cjs.map +1 -1
- package/dist/actions/resume-bulk-charge-batch.d.cts +3 -3
- package/dist/actions/resume-bulk-charge-batch.d.cts.map +1 -1
- package/dist/actions/resume-bulk-charge-batch.d.mts +3 -3
- package/dist/actions/resume-bulk-charge-batch.d.mts.map +1 -1
- package/dist/actions/resume-bulk-charge-batch.mjs +1 -0
- package/dist/actions/resume-bulk-charge-batch.mjs.map +1 -1
- package/dist/actions/send-payment-request-notification.cjs +1 -0
- package/dist/actions/send-payment-request-notification.cjs.map +1 -1
- package/dist/actions/send-payment-request-notification.d.cts +3 -3
- package/dist/actions/send-payment-request-notification.d.cts.map +1 -1
- package/dist/actions/send-payment-request-notification.d.mts +3 -3
- package/dist/actions/send-payment-request-notification.d.mts.map +1 -1
- package/dist/actions/send-payment-request-notification.mjs +1 -0
- package/dist/actions/send-payment-request-notification.mjs.map +1 -1
- package/dist/actions/send-subscription-update-link.cjs +1 -0
- package/dist/actions/send-subscription-update-link.cjs.map +1 -1
- package/dist/actions/send-subscription-update-link.d.cts +3 -3
- package/dist/actions/send-subscription-update-link.d.cts.map +1 -1
- package/dist/actions/send-subscription-update-link.d.mts +3 -3
- package/dist/actions/send-subscription-update-link.d.mts.map +1 -1
- package/dist/actions/send-subscription-update-link.mjs +1 -0
- package/dist/actions/send-subscription-update-link.mjs.map +1 -1
- package/dist/actions/set-risk-action.cjs +1 -0
- package/dist/actions/set-risk-action.cjs.map +1 -1
- package/dist/actions/set-risk-action.d.cts +3 -4
- package/dist/actions/set-risk-action.d.cts.map +1 -1
- package/dist/actions/set-risk-action.d.mts +3 -4
- package/dist/actions/set-risk-action.d.mts.map +1 -1
- package/dist/actions/set-risk-action.mjs +1 -0
- package/dist/actions/set-risk-action.mjs.map +1 -1
- package/dist/actions/submit-phone.cjs +1 -0
- package/dist/actions/submit-phone.cjs.map +1 -1
- package/dist/actions/submit-phone.d.cts +3 -4
- package/dist/actions/submit-phone.d.cts.map +1 -1
- package/dist/actions/submit-phone.d.mts +3 -4
- package/dist/actions/submit-phone.d.mts.map +1 -1
- package/dist/actions/submit-phone.mjs +1 -0
- package/dist/actions/submit-phone.mjs.map +1 -1
- package/dist/actions/trigger-direct-debit-activation-charge.cjs +1 -0
- package/dist/actions/trigger-direct-debit-activation-charge.cjs.map +1 -1
- package/dist/actions/trigger-direct-debit-activation-charge.d.cts +3 -4
- package/dist/actions/trigger-direct-debit-activation-charge.d.cts.map +1 -1
- package/dist/actions/trigger-direct-debit-activation-charge.d.mts +3 -4
- package/dist/actions/trigger-direct-debit-activation-charge.d.mts.map +1 -1
- package/dist/actions/trigger-direct-debit-activation-charge.mjs +1 -0
- package/dist/actions/trigger-direct-debit-activation-charge.mjs.map +1 -1
- package/dist/actions/unassign-destination-from-virtual-terminal.cjs +1 -0
- package/dist/actions/unassign-destination-from-virtual-terminal.cjs.map +1 -1
- package/dist/actions/unassign-destination-from-virtual-terminal.d.cts +3 -4
- package/dist/actions/unassign-destination-from-virtual-terminal.d.cts.map +1 -1
- package/dist/actions/unassign-destination-from-virtual-terminal.d.mts +3 -4
- package/dist/actions/unassign-destination-from-virtual-terminal.d.mts.map +1 -1
- package/dist/actions/unassign-destination-from-virtual-terminal.mjs +1 -0
- package/dist/actions/unassign-destination-from-virtual-terminal.mjs.map +1 -1
- package/dist/actions/unregister-apple-pay-domain.cjs +1 -0
- package/dist/actions/unregister-apple-pay-domain.cjs.map +1 -1
- package/dist/actions/unregister-apple-pay-domain.d.cts +3 -3
- package/dist/actions/unregister-apple-pay-domain.d.cts.map +1 -1
- package/dist/actions/unregister-apple-pay-domain.d.mts +3 -3
- package/dist/actions/unregister-apple-pay-domain.d.mts.map +1 -1
- package/dist/actions/unregister-apple-pay-domain.mjs +1 -0
- package/dist/actions/unregister-apple-pay-domain.mjs.map +1 -1
- package/dist/actions/update-customer.cjs +1 -0
- package/dist/actions/update-customer.cjs.map +1 -1
- package/dist/actions/update-customer.d.cts +3 -7
- package/dist/actions/update-customer.d.cts.map +1 -1
- package/dist/actions/update-customer.d.mts +3 -7
- package/dist/actions/update-customer.d.mts.map +1 -1
- package/dist/actions/update-customer.mjs +1 -0
- package/dist/actions/update-customer.mjs.map +1 -1
- package/dist/actions/update-payment-page.cjs +1 -0
- package/dist/actions/update-payment-page.cjs.map +1 -1
- package/dist/actions/update-payment-page.d.cts +3 -7
- package/dist/actions/update-payment-page.d.cts.map +1 -1
- package/dist/actions/update-payment-page.d.mts +3 -7
- package/dist/actions/update-payment-page.d.mts.map +1 -1
- package/dist/actions/update-payment-page.mjs +1 -0
- package/dist/actions/update-payment-page.mjs.map +1 -1
- package/dist/actions/update-payment-request.cjs +1 -0
- package/dist/actions/update-payment-request.cjs.map +1 -1
- package/dist/actions/update-payment-request.d.cts +4 -25
- package/dist/actions/update-payment-request.d.cts.map +1 -1
- package/dist/actions/update-payment-request.d.mts +4 -25
- package/dist/actions/update-payment-request.d.mts.map +1 -1
- package/dist/actions/update-payment-request.mjs +1 -0
- package/dist/actions/update-payment-request.mjs.map +1 -1
- package/dist/actions/update-payment-session-timeout.cjs +1 -0
- package/dist/actions/update-payment-session-timeout.cjs.map +1 -1
- package/dist/actions/update-payment-session-timeout.d.cts +3 -3
- package/dist/actions/update-payment-session-timeout.d.cts.map +1 -1
- package/dist/actions/update-payment-session-timeout.d.mts +3 -3
- package/dist/actions/update-payment-session-timeout.d.mts.map +1 -1
- package/dist/actions/update-payment-session-timeout.mjs +1 -0
- package/dist/actions/update-payment-session-timeout.mjs.map +1 -1
- package/dist/actions/update-plan.cjs +1 -0
- package/dist/actions/update-plan.cjs.map +1 -1
- package/dist/actions/update-plan.d.cts +4 -12
- package/dist/actions/update-plan.d.cts.map +1 -1
- package/dist/actions/update-plan.d.mts +4 -12
- package/dist/actions/update-plan.d.mts.map +1 -1
- package/dist/actions/update-plan.mjs +1 -0
- package/dist/actions/update-plan.mjs.map +1 -1
- package/dist/actions/update-product.cjs +1 -0
- package/dist/actions/update-product.cjs.map +1 -1
- package/dist/actions/update-product.d.cts +4 -12
- package/dist/actions/update-product.d.cts.map +1 -1
- package/dist/actions/update-product.d.mts +4 -12
- package/dist/actions/update-product.d.mts.map +1 -1
- package/dist/actions/update-product.mjs +1 -0
- package/dist/actions/update-product.mjs.map +1 -1
- package/dist/actions/update-split.cjs +1 -0
- package/dist/actions/update-split.cjs.map +1 -1
- package/dist/actions/update-split.d.cts +3 -7
- package/dist/actions/update-split.d.cts.map +1 -1
- package/dist/actions/update-split.d.mts +3 -7
- package/dist/actions/update-split.d.mts.map +1 -1
- package/dist/actions/update-split.mjs +1 -0
- package/dist/actions/update-split.mjs.map +1 -1
- package/dist/actions/update-storefront.cjs +1 -0
- package/dist/actions/update-storefront.cjs.map +1 -1
- package/dist/actions/update-storefront.d.cts +3 -6
- package/dist/actions/update-storefront.d.cts.map +1 -1
- package/dist/actions/update-storefront.d.mts +3 -6
- package/dist/actions/update-storefront.d.mts.map +1 -1
- package/dist/actions/update-storefront.mjs +1 -0
- package/dist/actions/update-storefront.mjs.map +1 -1
- package/dist/actions/update-subaccount.cjs +1 -0
- package/dist/actions/update-subaccount.cjs.map +1 -1
- package/dist/actions/update-subaccount.d.cts +3 -13
- package/dist/actions/update-subaccount.d.cts.map +1 -1
- package/dist/actions/update-subaccount.d.mts +3 -13
- package/dist/actions/update-subaccount.d.mts.map +1 -1
- package/dist/actions/update-subaccount.mjs +1 -0
- package/dist/actions/update-subaccount.mjs.map +1 -1
- package/dist/actions/update-transfer-recipient.cjs +1 -0
- package/dist/actions/update-transfer-recipient.cjs.map +1 -1
- package/dist/actions/update-transfer-recipient.d.cts +3 -5
- package/dist/actions/update-transfer-recipient.d.cts.map +1 -1
- package/dist/actions/update-transfer-recipient.d.mts +3 -5
- package/dist/actions/update-transfer-recipient.d.mts.map +1 -1
- package/dist/actions/update-transfer-recipient.mjs +1 -0
- package/dist/actions/update-transfer-recipient.mjs.map +1 -1
- package/dist/actions/validate-bank-account.cjs +1 -0
- package/dist/actions/validate-bank-account.cjs.map +1 -1
- package/dist/actions/validate-bank-account.d.cts +3 -9
- package/dist/actions/validate-bank-account.d.cts.map +1 -1
- package/dist/actions/validate-bank-account.d.mts +3 -9
- package/dist/actions/validate-bank-account.d.mts.map +1 -1
- package/dist/actions/validate-bank-account.mjs +1 -0
- package/dist/actions/validate-bank-account.mjs.map +1 -1
- package/dist/actions/validate-customer.cjs +1 -0
- package/dist/actions/validate-customer.cjs.map +1 -1
- package/dist/actions/validate-customer.d.cts +3 -12
- package/dist/actions/validate-customer.d.cts.map +1 -1
- package/dist/actions/validate-customer.d.mts +3 -12
- package/dist/actions/validate-customer.d.mts.map +1 -1
- package/dist/actions/validate-customer.mjs +1 -0
- package/dist/actions/validate-customer.mjs.map +1 -1
- package/dist/actions/validate-order.cjs +1 -0
- package/dist/actions/validate-order.cjs.map +1 -1
- package/dist/actions/validate-order.d.cts +3 -3
- package/dist/actions/validate-order.d.cts.map +1 -1
- package/dist/actions/validate-order.d.mts +3 -3
- package/dist/actions/validate-order.d.mts.map +1 -1
- package/dist/actions/validate-order.mjs +1 -0
- package/dist/actions/validate-order.mjs.map +1 -1
- package/dist/actions/verify-payment-request.cjs +1 -0
- package/dist/actions/verify-payment-request.cjs.map +1 -1
- package/dist/actions/verify-payment-request.d.cts +3 -3
- package/dist/actions/verify-payment-request.d.cts.map +1 -1
- package/dist/actions/verify-payment-request.d.mts +3 -3
- package/dist/actions/verify-payment-request.d.mts.map +1 -1
- package/dist/actions/verify-payment-request.mjs +1 -0
- package/dist/actions/verify-payment-request.mjs.map +1 -1
- package/dist/actions/verify-storefront-slug.cjs +1 -0
- package/dist/actions/verify-storefront-slug.cjs.map +1 -1
- package/dist/actions/verify-storefront-slug.d.cts +3 -3
- package/dist/actions/verify-storefront-slug.d.cts.map +1 -1
- package/dist/actions/verify-storefront-slug.d.mts +3 -3
- package/dist/actions/verify-storefront-slug.d.mts.map +1 -1
- package/dist/actions/verify-storefront-slug.mjs +1 -0
- package/dist/actions/verify-storefront-slug.mjs.map +1 -1
- package/dist/actions/verify-transaction.cjs +1 -0
- package/dist/actions/verify-transaction.cjs.map +1 -1
- package/dist/actions/verify-transaction.d.cts +3 -3
- package/dist/actions/verify-transaction.d.cts.map +1 -1
- package/dist/actions/verify-transaction.d.mts +3 -3
- package/dist/actions/verify-transaction.d.mts.map +1 -1
- package/dist/actions/verify-transaction.mjs +1 -0
- package/dist/actions/verify-transaction.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-product.cjs","names":["z","action"],"sources":["../../src/actions/update-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackUpdateProductInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the product to update\"),\n name: z.string().describe(\"Name of product\").optional(),\n price: z.number().int().describe(\"Price should be in kobo if currency is NGN, pesewas if currency is GHS, and cents if currency is ZAR\").optional(),\n currency: z.enum([\"NGN\", \"GHS\", \"ZAR\", \"USD\"]).describe(\"Supported currency codes for Paystack products.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"JSON object of custom data\").optional(),\n quantity: z.number().int().describe(\"Number of products in stock. Use if unlimited is false\").optional(),\n unlimited: z.boolean().describe(\"Set to true if the product has unlimited stock. Leave as false if the product has limited stock\").optional(),\n split_code: z.string().describe(\"The split code if sharing the transaction with partners\").optional(),\n description: z.string().describe(\"The description of the product\").optional(),\n}).describe(\"Request to update a product on your integration.\");\nconst PaystackUpdateProduct_ShippingFieldsSchema = z.object({\n delivery_note: z.string().describe(\"Delivery note instructions\").nullable().optional(),\n shipping_fees: z.array(z.record(z.string(), z.unknown())).describe(\"List of shipping fees\").nullable().optional(),\n shipping_address: z.string().describe(\"Shipping address field\").nullable().optional(),\n}).passthrough().describe(\"Shipping fields for the product.\");\nconst PaystackUpdateProduct_UpdateProductDataSchema = z.object({\n id: z.number().int().describe(\"The unique identifier of the product\").nullable(),\n name: z.string().describe(\"Name of the product\").nullable(),\n slug: z.string().describe(\"URL slug for the product\").nullable(),\n type: z.string().describe(\"Type of the product\").nullable(),\n files: z.array(z.record(z.string(), z.unknown())).describe(\"List of files associated with the product\").nullable().optional(),\n price: z.number().int().describe(\"Price of the product in kobo (or lowest currency unit)\").nullable(),\n active: z.boolean().describe(\"Whether the product is active\").nullable(),\n domain: z.string().describe(\"The domain (test or live)\").nullable(),\n currency: z.string().describe(\"Currency code (e.g., NGN)\").nullable(),\n features: z.union([z.string(), z.array(z.string()), z.record(z.string(), z.unknown())]).nullable().optional(),\n in_stock: z.boolean().describe(\"Whether the product is in stock\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata for the product\").nullable().optional(),\n quantity: z.number().int().describe(\"Available quantity of the product\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the product was created\").nullable(),\n file_path: z.string().describe(\"File path for the product\").nullable().optional(),\n unlimited: z.boolean().describe(\"Whether the product has unlimited quantity\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the product was last updated\").nullable(),\n expires_in: z.union([z.string(), z.number().int()]).nullable().optional(),\n split_code: z.string().describe(\"Split code for transaction splitting\").nullable().optional(),\n description: z.string().describe(\"Description of the product\").nullable(),\n integration: z.number().int().describe(\"The integration ID\").nullable(),\n is_shippable: z.boolean().describe(\"Whether the product requires shipping\").nullable(),\n product_code: z.string().describe(\"Unique product code\").nullable(),\n redirect_url: z.string().describe(\"URL to redirect to after purchase\").nullable().optional(),\n quantity_sold: z.number().int().describe(\"Number of units sold\").nullable().optional(),\n low_stock_alert: z.boolean().describe(\"Whether low stock alerts are enabled\").nullable(),\n shipping_fields: PaystackUpdateProduct_ShippingFieldsSchema.nullable().optional(),\n stock_threshold: z.number().int().describe(\"Stock threshold for low stock alerts\").nullable().optional(),\n success_message: z.string().describe(\"Success message to display after purchase\").nullable().optional(),\n maximum_orderable: z.number().int().describe(\"Maximum quantity that can be ordered\").nullable().optional(),\n minimum_orderable: z.number().int().describe(\"Minimum quantity that can be ordered\").nullable(),\n notification_emails: z.string().describe(\"Email addresses for notifications\").nullable().optional(),\n}).passthrough().describe(\"Product data returned by Paystack API after update.\");\nexport const PaystackUpdateProductOutput = z.object({\n data: PaystackUpdateProduct_UpdateProductDataSchema.nullable(),\n status: z.boolean().describe(\"Status of the API request\").nullable(),\n message: z.string().describe(\"Response message from the API\").nullable(),\n}).passthrough().describe(\"Response model for updating a product.\");\n\nexport const paystackUpdateProduct = action(\"PAYSTACK_UPDATE_PRODUCT\", {\n slug: \"paystack-update-product\",\n name: \"Update Product\",\n description: \"Tool to update a product on your integration. Use when you need to modify product details like name, description, price, or currency.\",\n input: PaystackUpdateProductInput,\n output: PaystackUpdateProductOutput,\n});\n"],"mappings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MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"update-product.cjs","names":["z","action"],"sources":["../../src/actions/update-product.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { paystack } from \"../app\";\n\nexport const PaystackUpdateProductInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the product to update\"),\n name: z.string().describe(\"Name of product\").optional(),\n price: z.number().int().describe(\"Price should be in kobo if currency is NGN, pesewas if currency is GHS, and cents if currency is ZAR\").optional(),\n currency: z.enum([\"NGN\", \"GHS\", \"ZAR\", \"USD\"]).describe(\"Supported currency codes for Paystack products.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"JSON object of custom data\").optional(),\n quantity: z.number().int().describe(\"Number of products in stock. Use if unlimited is false\").optional(),\n unlimited: z.boolean().describe(\"Set to true if the product has unlimited stock. Leave as false if the product has limited stock\").optional(),\n split_code: z.string().describe(\"The split code if sharing the transaction with partners\").optional(),\n description: z.string().describe(\"The description of the product\").optional(),\n}).describe(\"Request to update a product on your integration.\");\nconst PaystackUpdateProduct_ShippingFieldsSchema = z.object({\n delivery_note: z.string().describe(\"Delivery note instructions\").nullable().optional(),\n shipping_fees: z.array(z.record(z.string(), z.unknown())).describe(\"List of shipping fees\").nullable().optional(),\n shipping_address: z.string().describe(\"Shipping address field\").nullable().optional(),\n}).passthrough().describe(\"Shipping fields for the product.\");\nconst PaystackUpdateProduct_UpdateProductDataSchema = z.object({\n id: z.number().int().describe(\"The unique identifier of the product\").nullable(),\n name: z.string().describe(\"Name of the product\").nullable(),\n slug: z.string().describe(\"URL slug for the product\").nullable(),\n type: z.string().describe(\"Type of the product\").nullable(),\n files: z.array(z.record(z.string(), z.unknown())).describe(\"List of files associated with the product\").nullable().optional(),\n price: z.number().int().describe(\"Price of the product in kobo (or lowest currency unit)\").nullable(),\n active: z.boolean().describe(\"Whether the product is active\").nullable(),\n domain: z.string().describe(\"The domain (test or live)\").nullable(),\n currency: z.string().describe(\"Currency code (e.g., NGN)\").nullable(),\n features: z.union([z.string(), z.array(z.string()), z.record(z.string(), z.unknown())]).nullable().optional(),\n in_stock: z.boolean().describe(\"Whether the product is in stock\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata for the product\").nullable().optional(),\n quantity: z.number().int().describe(\"Available quantity of the product\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the product was created\").nullable(),\n file_path: z.string().describe(\"File path for the product\").nullable().optional(),\n unlimited: z.boolean().describe(\"Whether the product has unlimited quantity\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the product was last updated\").nullable(),\n expires_in: z.union([z.string(), z.number().int()]).nullable().optional(),\n split_code: z.string().describe(\"Split code for transaction splitting\").nullable().optional(),\n description: z.string().describe(\"Description of the product\").nullable(),\n integration: z.number().int().describe(\"The integration ID\").nullable(),\n is_shippable: z.boolean().describe(\"Whether the product requires shipping\").nullable(),\n product_code: z.string().describe(\"Unique product code\").nullable(),\n redirect_url: z.string().describe(\"URL to redirect to after purchase\").nullable().optional(),\n quantity_sold: z.number().int().describe(\"Number of units sold\").nullable().optional(),\n low_stock_alert: z.boolean().describe(\"Whether low stock alerts are enabled\").nullable(),\n shipping_fields: PaystackUpdateProduct_ShippingFieldsSchema.nullable().optional(),\n stock_threshold: z.number().int().describe(\"Stock threshold for low stock alerts\").nullable().optional(),\n success_message: z.string().describe(\"Success message to display after purchase\").nullable().optional(),\n maximum_orderable: z.number().int().describe(\"Maximum quantity that can be ordered\").nullable().optional(),\n minimum_orderable: z.number().int().describe(\"Minimum quantity that can be ordered\").nullable(),\n notification_emails: z.string().describe(\"Email addresses for notifications\").nullable().optional(),\n}).passthrough().describe(\"Product data returned by Paystack API after update.\");\nexport const PaystackUpdateProductOutput = z.object({\n data: PaystackUpdateProduct_UpdateProductDataSchema.nullable(),\n status: z.boolean().describe(\"Status of the API request\").nullable(),\n message: z.string().describe(\"Response message from the API\").nullable(),\n}).passthrough().describe(\"Response model for updating a product.\");\n\nexport const paystackUpdateProduct: AppAction<\n typeof PaystackUpdateProductInput,\n typeof PaystackUpdateProductOutput,\n typeof paystack.credential\n> = action(\"PAYSTACK_UPDATE_PRODUCT\", {\n slug: \"paystack-update-product\",\n name: \"Update Product\",\n description: \"Tool to update a product on your integration. Use when you need to modify product details like name, description, price, or currency.\",\n input: PaystackUpdateProductInput,\n output: PaystackUpdateProductOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAClJ,UAAUA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAO;EAAO;CAAK,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACpH,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC5F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACvG,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAC5I,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACpG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gC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AAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAM,8CAA8C,SAAS;CAC7D,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,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,wBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { paystack } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-product.d.ts
|
|
@@ -6,8 +8,8 @@ declare const PaystackUpdateProductInput: z.ZodObject<{
|
|
|
6
8
|
name: z.ZodOptional<z.ZodString>;
|
|
7
9
|
price: z.ZodOptional<z.ZodNumber>;
|
|
8
10
|
currency: z.ZodOptional<z.ZodEnum<{
|
|
9
|
-
NGN: "NGN";
|
|
10
11
|
GHS: "GHS";
|
|
12
|
+
NGN: "NGN";
|
|
11
13
|
ZAR: "ZAR";
|
|
12
14
|
USD: "USD";
|
|
13
15
|
}>>;
|
|
@@ -59,17 +61,7 @@ declare const PaystackUpdateProductOutput: z.ZodObject<{
|
|
|
59
61
|
status: z.ZodNullable<z.ZodBoolean>;
|
|
60
62
|
message: z.ZodNullable<z.ZodString>;
|
|
61
63
|
}, z.core.$loose>;
|
|
62
|
-
declare const paystackUpdateProduct:
|
|
63
|
-
id: number;
|
|
64
|
-
name?: string | undefined;
|
|
65
|
-
price?: number | undefined;
|
|
66
|
-
currency?: "NGN" | "GHS" | "ZAR" | "USD" | undefined;
|
|
67
|
-
metadata?: Record<string, unknown> | undefined;
|
|
68
|
-
quantity?: number | undefined;
|
|
69
|
-
unlimited?: boolean | undefined;
|
|
70
|
-
split_code?: string | undefined;
|
|
71
|
-
description?: string | undefined;
|
|
72
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
64
|
+
declare const paystackUpdateProduct: AppAction<typeof PaystackUpdateProductInput, typeof PaystackUpdateProductOutput, typeof paystack.credential>;
|
|
73
65
|
//#endregion
|
|
74
66
|
export { paystackUpdateProduct };
|
|
75
67
|
//# sourceMappingURL=update-product.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-product.d.cts","names":[],"sources":["../../src/actions/update-product.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-product.d.cts","names":[],"sources":["../../src/actions/update-product.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAkD1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { paystack } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-product.d.ts
|
|
@@ -6,8 +8,8 @@ declare const PaystackUpdateProductInput: z.ZodObject<{
|
|
|
6
8
|
name: z.ZodOptional<z.ZodString>;
|
|
7
9
|
price: z.ZodOptional<z.ZodNumber>;
|
|
8
10
|
currency: z.ZodOptional<z.ZodEnum<{
|
|
9
|
-
NGN: "NGN";
|
|
10
11
|
GHS: "GHS";
|
|
12
|
+
NGN: "NGN";
|
|
11
13
|
ZAR: "ZAR";
|
|
12
14
|
USD: "USD";
|
|
13
15
|
}>>;
|
|
@@ -59,17 +61,7 @@ declare const PaystackUpdateProductOutput: z.ZodObject<{
|
|
|
59
61
|
status: z.ZodNullable<z.ZodBoolean>;
|
|
60
62
|
message: z.ZodNullable<z.ZodString>;
|
|
61
63
|
}, z.core.$loose>;
|
|
62
|
-
declare const paystackUpdateProduct:
|
|
63
|
-
id: number;
|
|
64
|
-
name?: string | undefined;
|
|
65
|
-
price?: number | undefined;
|
|
66
|
-
currency?: "NGN" | "GHS" | "ZAR" | "USD" | undefined;
|
|
67
|
-
metadata?: Record<string, unknown> | undefined;
|
|
68
|
-
quantity?: number | undefined;
|
|
69
|
-
unlimited?: boolean | undefined;
|
|
70
|
-
split_code?: string | undefined;
|
|
71
|
-
description?: string | undefined;
|
|
72
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
64
|
+
declare const paystackUpdateProduct: AppAction<typeof PaystackUpdateProductInput, typeof PaystackUpdateProductOutput, typeof paystack.credential>;
|
|
73
65
|
//#endregion
|
|
74
66
|
export { paystackUpdateProduct };
|
|
75
67
|
//# sourceMappingURL=update-product.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-product.d.mts","names":[],"sources":["../../src/actions/update-product.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-product.d.mts","names":[],"sources":["../../src/actions/update-product.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAkD1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-product.mjs","names":[],"sources":["../../src/actions/update-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackUpdateProductInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the product to update\"),\n name: z.string().describe(\"Name of product\").optional(),\n price: z.number().int().describe(\"Price should be in kobo if currency is NGN, pesewas if currency is GHS, and cents if currency is ZAR\").optional(),\n currency: z.enum([\"NGN\", \"GHS\", \"ZAR\", \"USD\"]).describe(\"Supported currency codes for Paystack products.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"JSON object of custom data\").optional(),\n quantity: z.number().int().describe(\"Number of products in stock. Use if unlimited is false\").optional(),\n unlimited: z.boolean().describe(\"Set to true if the product has unlimited stock. Leave as false if the product has limited stock\").optional(),\n split_code: z.string().describe(\"The split code if sharing the transaction with partners\").optional(),\n description: z.string().describe(\"The description of the product\").optional(),\n}).describe(\"Request to update a product on your integration.\");\nconst PaystackUpdateProduct_ShippingFieldsSchema = z.object({\n delivery_note: z.string().describe(\"Delivery note instructions\").nullable().optional(),\n shipping_fees: z.array(z.record(z.string(), z.unknown())).describe(\"List of shipping fees\").nullable().optional(),\n shipping_address: z.string().describe(\"Shipping address field\").nullable().optional(),\n}).passthrough().describe(\"Shipping fields for the product.\");\nconst PaystackUpdateProduct_UpdateProductDataSchema = z.object({\n id: z.number().int().describe(\"The unique identifier of the product\").nullable(),\n name: z.string().describe(\"Name of the product\").nullable(),\n slug: z.string().describe(\"URL slug for the product\").nullable(),\n type: z.string().describe(\"Type of the product\").nullable(),\n files: z.array(z.record(z.string(), z.unknown())).describe(\"List of files associated with the product\").nullable().optional(),\n price: z.number().int().describe(\"Price of the product in kobo (or lowest currency unit)\").nullable(),\n active: z.boolean().describe(\"Whether the product is active\").nullable(),\n domain: z.string().describe(\"The domain (test or live)\").nullable(),\n currency: z.string().describe(\"Currency code (e.g., NGN)\").nullable(),\n features: z.union([z.string(), z.array(z.string()), z.record(z.string(), z.unknown())]).nullable().optional(),\n in_stock: z.boolean().describe(\"Whether the product is in stock\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata for the product\").nullable().optional(),\n quantity: z.number().int().describe(\"Available quantity of the product\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the product was created\").nullable(),\n file_path: z.string().describe(\"File path for the product\").nullable().optional(),\n unlimited: z.boolean().describe(\"Whether the product has unlimited quantity\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the product was last updated\").nullable(),\n expires_in: z.union([z.string(), z.number().int()]).nullable().optional(),\n split_code: z.string().describe(\"Split code for transaction splitting\").nullable().optional(),\n description: z.string().describe(\"Description of the product\").nullable(),\n integration: z.number().int().describe(\"The integration ID\").nullable(),\n is_shippable: z.boolean().describe(\"Whether the product requires shipping\").nullable(),\n product_code: z.string().describe(\"Unique product code\").nullable(),\n redirect_url: z.string().describe(\"URL to redirect to after purchase\").nullable().optional(),\n quantity_sold: z.number().int().describe(\"Number of units sold\").nullable().optional(),\n low_stock_alert: z.boolean().describe(\"Whether low stock alerts are enabled\").nullable(),\n shipping_fields: PaystackUpdateProduct_ShippingFieldsSchema.nullable().optional(),\n stock_threshold: z.number().int().describe(\"Stock threshold for low stock alerts\").nullable().optional(),\n success_message: z.string().describe(\"Success message to display after purchase\").nullable().optional(),\n maximum_orderable: z.number().int().describe(\"Maximum quantity that can be ordered\").nullable().optional(),\n minimum_orderable: z.number().int().describe(\"Minimum quantity that can be ordered\").nullable(),\n notification_emails: z.string().describe(\"Email addresses for notifications\").nullable().optional(),\n}).passthrough().describe(\"Product data returned by Paystack API after update.\");\nexport const PaystackUpdateProductOutput = z.object({\n data: PaystackUpdateProduct_UpdateProductDataSchema.nullable(),\n status: z.boolean().describe(\"Status of the API request\").nullable(),\n message: z.string().describe(\"Response message from the API\").nullable(),\n}).passthrough().describe(\"Response model for updating a product.\");\n\nexport const paystackUpdateProduct = action(\"PAYSTACK_UPDATE_PRODUCT\", {\n slug: \"paystack-update-product\",\n name: \"Update Product\",\n description: \"Tool to update a product on your integration. Use when you need to modify product details like name, description, price, or currency.\",\n input: PaystackUpdateProductInput,\n output: PaystackUpdateProductOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-product.mjs","names":[],"sources":["../../src/actions/update-product.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { paystack } from \"../app\";\n\nexport const PaystackUpdateProductInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the product to update\"),\n name: z.string().describe(\"Name of product\").optional(),\n price: z.number().int().describe(\"Price should be in kobo if currency is NGN, pesewas if currency is GHS, and cents if currency is ZAR\").optional(),\n currency: z.enum([\"NGN\", \"GHS\", \"ZAR\", \"USD\"]).describe(\"Supported currency codes for Paystack products.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"JSON object of custom data\").optional(),\n quantity: z.number().int().describe(\"Number of products in stock. Use if unlimited is false\").optional(),\n unlimited: z.boolean().describe(\"Set to true if the product has unlimited stock. Leave as false if the product has limited stock\").optional(),\n split_code: z.string().describe(\"The split code if sharing the transaction with partners\").optional(),\n description: z.string().describe(\"The description of the product\").optional(),\n}).describe(\"Request to update a product on your integration.\");\nconst PaystackUpdateProduct_ShippingFieldsSchema = z.object({\n delivery_note: z.string().describe(\"Delivery note instructions\").nullable().optional(),\n shipping_fees: z.array(z.record(z.string(), z.unknown())).describe(\"List of shipping fees\").nullable().optional(),\n shipping_address: z.string().describe(\"Shipping address field\").nullable().optional(),\n}).passthrough().describe(\"Shipping fields for the product.\");\nconst PaystackUpdateProduct_UpdateProductDataSchema = z.object({\n id: z.number().int().describe(\"The unique identifier of the product\").nullable(),\n name: z.string().describe(\"Name of the product\").nullable(),\n slug: z.string().describe(\"URL slug for the product\").nullable(),\n type: z.string().describe(\"Type of the product\").nullable(),\n files: z.array(z.record(z.string(), z.unknown())).describe(\"List of files associated with the product\").nullable().optional(),\n price: z.number().int().describe(\"Price of the product in kobo (or lowest currency unit)\").nullable(),\n active: z.boolean().describe(\"Whether the product is active\").nullable(),\n domain: z.string().describe(\"The domain (test or live)\").nullable(),\n currency: z.string().describe(\"Currency code (e.g., NGN)\").nullable(),\n features: z.union([z.string(), z.array(z.string()), z.record(z.string(), z.unknown())]).nullable().optional(),\n in_stock: z.boolean().describe(\"Whether the product is in stock\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata for the product\").nullable().optional(),\n quantity: z.number().int().describe(\"Available quantity of the product\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the product was created\").nullable(),\n file_path: z.string().describe(\"File path for the product\").nullable().optional(),\n unlimited: z.boolean().describe(\"Whether the product has unlimited quantity\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the product was last updated\").nullable(),\n expires_in: z.union([z.string(), z.number().int()]).nullable().optional(),\n split_code: z.string().describe(\"Split code for transaction splitting\").nullable().optional(),\n description: z.string().describe(\"Description of the product\").nullable(),\n integration: z.number().int().describe(\"The integration ID\").nullable(),\n is_shippable: z.boolean().describe(\"Whether the product requires shipping\").nullable(),\n product_code: z.string().describe(\"Unique product code\").nullable(),\n redirect_url: z.string().describe(\"URL to redirect to after purchase\").nullable().optional(),\n quantity_sold: z.number().int().describe(\"Number of units sold\").nullable().optional(),\n low_stock_alert: z.boolean().describe(\"Whether low stock alerts are enabled\").nullable(),\n shipping_fields: PaystackUpdateProduct_ShippingFieldsSchema.nullable().optional(),\n stock_threshold: z.number().int().describe(\"Stock threshold for low stock alerts\").nullable().optional(),\n success_message: z.string().describe(\"Success message to display after purchase\").nullable().optional(),\n maximum_orderable: z.number().int().describe(\"Maximum quantity that can be ordered\").nullable().optional(),\n minimum_orderable: z.number().int().describe(\"Minimum quantity that can be ordered\").nullable(),\n notification_emails: z.string().describe(\"Email addresses for notifications\").nullable().optional(),\n}).passthrough().describe(\"Product data returned by Paystack API after update.\");\nexport const PaystackUpdateProductOutput = z.object({\n data: PaystackUpdateProduct_UpdateProductDataSchema.nullable(),\n status: z.boolean().describe(\"Status of the API request\").nullable(),\n message: z.string().describe(\"Response message from the API\").nullable(),\n}).passthrough().describe(\"Response model for updating a product.\");\n\nexport const paystackUpdateProduct: AppAction<\n typeof PaystackUpdateProductInput,\n typeof PaystackUpdateProductOutput,\n typeof paystack.credential\n> = action(\"PAYSTACK_UPDATE_PRODUCT\", {\n slug: \"paystack-update-product\",\n name: \"Update Product\",\n description: \"Tool to update a product on your integration. Use when you need to modify product details like name, description, price, or currency.\",\n input: PaystackUpdateProductInput,\n output: PaystackUpdateProductOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6B,EAAE,OAAO;CACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAClJ,UAAU,EAAE,KAAK;EAAC;EAAO;EAAO;EAAO;CAAK,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACpH,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC5F,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACvG,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAC5I,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACpG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAC9E,CA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
|
-
{"version":3,"file":"update-split.cjs","names":["z","action"],"sources":["../../src/actions/update-split.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackUpdateSplitInput = z.object({\n id: z.string().describe(\"The ID or code of the split configuration to update\"),\n name: z.string().describe(\"Name of the transaction split\").optional(),\n active: z.boolean().describe(\"Toggle status of split. When true, the split is active, else it's inactive\").optional(),\n bearer_type: z.enum([\"subaccount\", \"account\", \"all-proportional\", \"all\"]).describe(\"Who bears the Paystack transaction charges.\").optional(),\n bearer_subaccount: z.string().describe(\"Subaccount code that will bear the transaction charges. This is the subaccount code of the customer or partner that would bear the transaction charge if you specified subaccount as the bearer type\").optional(),\n}).describe(\"Request model for updating a split configuration.\");\nconst PaystackUpdateSplit_UpdateSplitSubaccountSchema = z.object({\n share: z.number().int().describe(\"Share amount for this subaccount\").nullable().optional(),\n subaccount: z.record(z.string(), z.unknown()).describe(\"Subaccount details object\").nullable().optional(),\n}).passthrough().describe(\"Subaccount details within a split configuration.\");\nconst PaystackUpdateSplit_UpdateSplitDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the split configuration\").nullable(),\n name: z.string().describe(\"Name of the split configuration\").nullable(),\n type: z.string().describe(\"Type of split (percentage or flat)\").nullable(),\n active: z.boolean().describe(\"Whether the split configuration is active\").nullable(),\n domain: z.string().describe(\"Domain (test or live)\").nullable(),\n currency: z.string().describe(\"Currency code for the split\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the split was created\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the split was last updated\").nullable(),\n is_dynamic: z.boolean().describe(\"Whether the split configuration is dynamic\").nullable(),\n split_code: z.string().describe(\"Unique split code identifier\").nullable(),\n bearer_type: z.string().describe(\"Bearer type for the split (who bears the charges)\").nullable(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n subaccounts: z.array(PaystackUpdateSplit_UpdateSplitSubaccountSchema).describe(\"List of subaccounts in the split configuration\"),\n bearer_subaccount: z.number().int().describe(\"Bearer subaccount ID if applicable\").nullable().optional(),\n total_subaccounts: z.number().int().describe(\"Total number of subaccounts in the split\").nullable(),\n}).passthrough().describe(\"Split configuration data returned by Paystack API.\");\nexport const PaystackUpdateSplitOutput = z.object({\n data: PaystackUpdateSplit_UpdateSplitDataSchema.nullable(),\n status: z.boolean().describe(\"Status of the API request\").nullable(),\n message: z.string().describe(\"Response message from the API\").nullable(),\n}).passthrough().describe(\"Response model for updating a split configuration.\");\n\nexport const paystackUpdateSplit = action(\"PAYSTACK_UPDATE_SPLIT\", {\n slug: \"paystack-update-split\",\n name: \"Update Split Configuration\",\n description: \"Tool to update a split configuration for transactions. Use when you need to modify split settings such as name, active status, or bearer type.\",\n input: PaystackUpdateSplitInput,\n output: PaystackUpdateSplitOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-split.cjs","names":["z","action"],"sources":["../../src/actions/update-split.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { paystack } from \"../app\";\n\nexport const PaystackUpdateSplitInput = z.object({\n id: z.string().describe(\"The ID or code of the split configuration to update\"),\n name: z.string().describe(\"Name of the transaction split\").optional(),\n active: z.boolean().describe(\"Toggle status of split. When true, the split is active, else it's inactive\").optional(),\n bearer_type: z.enum([\"subaccount\", \"account\", \"all-proportional\", \"all\"]).describe(\"Who bears the Paystack transaction charges.\").optional(),\n bearer_subaccount: z.string().describe(\"Subaccount code that will bear the transaction charges. This is the subaccount code of the customer or partner that would bear the transaction charge if you specified subaccount as the bearer type\").optional(),\n}).describe(\"Request model for updating a split configuration.\");\nconst PaystackUpdateSplit_UpdateSplitSubaccountSchema = z.object({\n share: z.number().int().describe(\"Share amount for this subaccount\").nullable().optional(),\n subaccount: z.record(z.string(), z.unknown()).describe(\"Subaccount details object\").nullable().optional(),\n}).passthrough().describe(\"Subaccount details within a split configuration.\");\nconst PaystackUpdateSplit_UpdateSplitDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the split configuration\").nullable(),\n name: z.string().describe(\"Name of the split configuration\").nullable(),\n type: z.string().describe(\"Type of split (percentage or flat)\").nullable(),\n active: z.boolean().describe(\"Whether the split configuration is active\").nullable(),\n domain: z.string().describe(\"Domain (test or live)\").nullable(),\n currency: z.string().describe(\"Currency code for the split\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the split was created\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the split was last updated\").nullable(),\n is_dynamic: z.boolean().describe(\"Whether the split configuration is dynamic\").nullable(),\n split_code: z.string().describe(\"Unique split code identifier\").nullable(),\n bearer_type: z.string().describe(\"Bearer type for the split (who bears the charges)\").nullable(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n subaccounts: z.array(PaystackUpdateSplit_UpdateSplitSubaccountSchema).describe(\"List of subaccounts in the split configuration\"),\n bearer_subaccount: z.number().int().describe(\"Bearer subaccount ID if applicable\").nullable().optional(),\n total_subaccounts: z.number().int().describe(\"Total number of subaccounts in the split\").nullable(),\n}).passthrough().describe(\"Split configuration data returned by Paystack API.\");\nexport const PaystackUpdateSplitOutput = z.object({\n data: PaystackUpdateSplit_UpdateSplitDataSchema.nullable(),\n status: z.boolean().describe(\"Status of the API request\").nullable(),\n message: z.string().describe(\"Response message from the API\").nullable(),\n}).passthrough().describe(\"Response model for updating a split configuration.\");\n\nexport const paystackUpdateSplit: AppAction<\n typeof PaystackUpdateSplitInput,\n typeof PaystackUpdateSplitOutput,\n typeof paystack.credential\n> = action(\"PAYSTACK_UPDATE_SPLIT\", {\n slug: \"paystack-update-split\",\n name: \"Update Split Configuration\",\n description: \"Tool to update a split configuration for transactions. Use when you need to modify split settings such as name, active status, or bearer type.\",\n input: PaystackUpdateSplitInput,\n output: PaystackUpdateSplitOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,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;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { paystack } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-split.d.ts
|
|
@@ -37,13 +39,7 @@ declare const PaystackUpdateSplitOutput: z.ZodObject<{
|
|
|
37
39
|
status: z.ZodNullable<z.ZodBoolean>;
|
|
38
40
|
message: z.ZodNullable<z.ZodString>;
|
|
39
41
|
}, z.core.$loose>;
|
|
40
|
-
declare const paystackUpdateSplit:
|
|
41
|
-
id: string;
|
|
42
|
-
name?: string | undefined;
|
|
43
|
-
active?: boolean | undefined;
|
|
44
|
-
bearer_type?: "subaccount" | "account" | "all-proportional" | "all" | undefined;
|
|
45
|
-
bearer_subaccount?: string | undefined;
|
|
46
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
42
|
+
declare const paystackUpdateSplit: AppAction<typeof PaystackUpdateSplitInput, typeof PaystackUpdateSplitOutput, typeof paystack.credential>;
|
|
47
43
|
//#endregion
|
|
48
44
|
export { paystackUpdateSplit };
|
|
49
45
|
//# sourceMappingURL=update-split.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-split.d.cts","names":[],"sources":["../../src/actions/update-split.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-split.d.cts","names":[],"sources":["../../src/actions/update-split.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;cA4BxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAMzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { paystack } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-split.d.ts
|
|
@@ -37,13 +39,7 @@ declare const PaystackUpdateSplitOutput: z.ZodObject<{
|
|
|
37
39
|
status: z.ZodNullable<z.ZodBoolean>;
|
|
38
40
|
message: z.ZodNullable<z.ZodString>;
|
|
39
41
|
}, z.core.$loose>;
|
|
40
|
-
declare const paystackUpdateSplit:
|
|
41
|
-
id: string;
|
|
42
|
-
name?: string | undefined;
|
|
43
|
-
active?: boolean | undefined;
|
|
44
|
-
bearer_type?: "subaccount" | "account" | "all-proportional" | "all" | undefined;
|
|
45
|
-
bearer_subaccount?: string | undefined;
|
|
46
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
42
|
+
declare const paystackUpdateSplit: AppAction<typeof PaystackUpdateSplitInput, typeof PaystackUpdateSplitOutput, typeof paystack.credential>;
|
|
47
43
|
//#endregion
|
|
48
44
|
export { paystackUpdateSplit };
|
|
49
45
|
//# sourceMappingURL=update-split.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-split.d.mts","names":[],"sources":["../../src/actions/update-split.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-split.d.mts","names":[],"sources":["../../src/actions/update-split.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;cA4BxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAMzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-split.mjs","names":[],"sources":["../../src/actions/update-split.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackUpdateSplitInput = z.object({\n id: z.string().describe(\"The ID or code of the split configuration to update\"),\n name: z.string().describe(\"Name of the transaction split\").optional(),\n active: z.boolean().describe(\"Toggle status of split. When true, the split is active, else it's inactive\").optional(),\n bearer_type: z.enum([\"subaccount\", \"account\", \"all-proportional\", \"all\"]).describe(\"Who bears the Paystack transaction charges.\").optional(),\n bearer_subaccount: z.string().describe(\"Subaccount code that will bear the transaction charges. This is the subaccount code of the customer or partner that would bear the transaction charge if you specified subaccount as the bearer type\").optional(),\n}).describe(\"Request model for updating a split configuration.\");\nconst PaystackUpdateSplit_UpdateSplitSubaccountSchema = z.object({\n share: z.number().int().describe(\"Share amount for this subaccount\").nullable().optional(),\n subaccount: z.record(z.string(), z.unknown()).describe(\"Subaccount details object\").nullable().optional(),\n}).passthrough().describe(\"Subaccount details within a split configuration.\");\nconst PaystackUpdateSplit_UpdateSplitDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the split configuration\").nullable(),\n name: z.string().describe(\"Name of the split configuration\").nullable(),\n type: z.string().describe(\"Type of split (percentage or flat)\").nullable(),\n active: z.boolean().describe(\"Whether the split configuration is active\").nullable(),\n domain: z.string().describe(\"Domain (test or live)\").nullable(),\n currency: z.string().describe(\"Currency code for the split\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the split was created\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the split was last updated\").nullable(),\n is_dynamic: z.boolean().describe(\"Whether the split configuration is dynamic\").nullable(),\n split_code: z.string().describe(\"Unique split code identifier\").nullable(),\n bearer_type: z.string().describe(\"Bearer type for the split (who bears the charges)\").nullable(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n subaccounts: z.array(PaystackUpdateSplit_UpdateSplitSubaccountSchema).describe(\"List of subaccounts in the split configuration\"),\n bearer_subaccount: z.number().int().describe(\"Bearer subaccount ID if applicable\").nullable().optional(),\n total_subaccounts: z.number().int().describe(\"Total number of subaccounts in the split\").nullable(),\n}).passthrough().describe(\"Split configuration data returned by Paystack API.\");\nexport const PaystackUpdateSplitOutput = z.object({\n data: PaystackUpdateSplit_UpdateSplitDataSchema.nullable(),\n status: z.boolean().describe(\"Status of the API request\").nullable(),\n message: z.string().describe(\"Response message from the API\").nullable(),\n}).passthrough().describe(\"Response model for updating a split configuration.\");\n\nexport const paystackUpdateSplit = action(\"PAYSTACK_UPDATE_SPLIT\", {\n slug: \"paystack-update-split\",\n name: \"Update Split Configuration\",\n description: \"Tool to update a split configuration for transactions. Use when you need to modify split settings such as name, active status, or bearer type.\",\n input: PaystackUpdateSplitInput,\n output: PaystackUpdateSplitOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-split.mjs","names":[],"sources":["../../src/actions/update-split.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { paystack } from \"../app\";\n\nexport const PaystackUpdateSplitInput = z.object({\n id: z.string().describe(\"The ID or code of the split configuration to update\"),\n name: z.string().describe(\"Name of the transaction split\").optional(),\n active: z.boolean().describe(\"Toggle status of split. When true, the split is active, else it's inactive\").optional(),\n bearer_type: z.enum([\"subaccount\", \"account\", \"all-proportional\", \"all\"]).describe(\"Who bears the Paystack transaction charges.\").optional(),\n bearer_subaccount: z.string().describe(\"Subaccount code that will bear the transaction charges. This is the subaccount code of the customer or partner that would bear the transaction charge if you specified subaccount as the bearer type\").optional(),\n}).describe(\"Request model for updating a split configuration.\");\nconst PaystackUpdateSplit_UpdateSplitSubaccountSchema = z.object({\n share: z.number().int().describe(\"Share amount for this subaccount\").nullable().optional(),\n subaccount: z.record(z.string(), z.unknown()).describe(\"Subaccount details object\").nullable().optional(),\n}).passthrough().describe(\"Subaccount details within a split configuration.\");\nconst PaystackUpdateSplit_UpdateSplitDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the split configuration\").nullable(),\n name: z.string().describe(\"Name of the split configuration\").nullable(),\n type: z.string().describe(\"Type of split (percentage or flat)\").nullable(),\n active: z.boolean().describe(\"Whether the split configuration is active\").nullable(),\n domain: z.string().describe(\"Domain (test or live)\").nullable(),\n currency: z.string().describe(\"Currency code for the split\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the split was created\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the split was last updated\").nullable(),\n is_dynamic: z.boolean().describe(\"Whether the split configuration is dynamic\").nullable(),\n split_code: z.string().describe(\"Unique split code identifier\").nullable(),\n bearer_type: z.string().describe(\"Bearer type for the split (who bears the charges)\").nullable(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n subaccounts: z.array(PaystackUpdateSplit_UpdateSplitSubaccountSchema).describe(\"List of subaccounts in the split configuration\"),\n bearer_subaccount: z.number().int().describe(\"Bearer subaccount ID if applicable\").nullable().optional(),\n total_subaccounts: z.number().int().describe(\"Total number of subaccounts in the split\").nullable(),\n}).passthrough().describe(\"Split configuration data returned by Paystack API.\");\nexport const PaystackUpdateSplitOutput = z.object({\n data: PaystackUpdateSplit_UpdateSplitDataSchema.nullable(),\n status: z.boolean().describe(\"Status of the API request\").nullable(),\n message: z.string().describe(\"Response message from the API\").nullable(),\n}).passthrough().describe(\"Response model for updating a split configuration.\");\n\nexport const paystackUpdateSplit: AppAction<\n typeof PaystackUpdateSplitInput,\n typeof PaystackUpdateSplitOutput,\n typeof paystack.credential\n> = action(\"PAYSTACK_UPDATE_SPLIT\", {\n slug: \"paystack-update-split\",\n name: \"Update Split Configuration\",\n description: \"Tool to update a split configuration for transactions. Use when you need to modify split settings such as name, active status, or bearer type.\",\n input: PaystackUpdateSplitInput,\n output: PaystackUpdateSplitOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+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AY,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACxF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACzE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC/F,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CAClE,aAAa,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,gDAAgD;CAC/H,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAO9E,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfuC,EAAE,OAAO;EAChD,MAAM,0CAA0C,SAAS;EACzD,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACnE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-storefront.cjs","names":["z","action"],"sources":["../../src/actions/update-storefront.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackUpdateStorefrontInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the Storefront to update\"),\n name: z.string().describe(\"Name of the storefront\").optional(),\n slug: z.string().describe(\"A unique identifier to access your store. Once the storefront is created, it can be accessed from https://paystack.shop/your-slug\").optional(),\n description: z.string().describe(\"The description of the storefront\").optional(),\n}).describe(\"Request to update a storefront's details.\");\nexport const PaystackUpdateStorefrontOutput = z.object({\n status: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n message: z.string().describe(\"Response message from the API\").nullable(),\n}).passthrough().describe(\"Response after updating a storefront.\");\n\nexport const paystackUpdateStorefront = action(\"PAYSTACK_UPDATE_STOREFRONT\", {\n slug: \"paystack-update-storefront\",\n name: \"Update Storefront\",\n description: \"Tool to update the details of a previously created Storefront. Use when you need to modify storefront information such as name, description, or slug.\",\n input: PaystackUpdateStorefrontInput,\n output: PaystackUpdateStorefrontOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-storefront.cjs","names":["z","action"],"sources":["../../src/actions/update-storefront.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { paystack } from \"../app\";\n\nexport const PaystackUpdateStorefrontInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the Storefront to update\"),\n name: z.string().describe(\"Name of the storefront\").optional(),\n slug: z.string().describe(\"A unique identifier to access your store. Once the storefront is created, it can be accessed from https://paystack.shop/your-slug\").optional(),\n description: z.string().describe(\"The description of the storefront\").optional(),\n}).describe(\"Request to update a storefront's details.\");\nexport const PaystackUpdateStorefrontOutput = z.object({\n status: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n message: z.string().describe(\"Response message from the API\").nullable(),\n}).passthrough().describe(\"Response after updating a storefront.\");\n\nexport const paystackUpdateStorefront: AppAction<\n typeof PaystackUpdateStorefrontInput,\n typeof PaystackUpdateStorefrontOutput,\n typeof paystack.credential\n> = action(\"PAYSTACK_UPDATE_STOREFRONT\", {\n slug: \"paystack-update-storefront\",\n name: \"Update Storefront\",\n description: \"Tool to update the details of a previously created Storefront. Use when you need to modify storefront information such as name, description, or slug.\",\n input: PaystackUpdateStorefrontInput,\n output: PaystackUpdateStorefrontOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS;CACxK,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,2BAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { paystack } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-storefront.d.ts
|
|
@@ -11,12 +13,7 @@ declare const PaystackUpdateStorefrontOutput: z.ZodObject<{
|
|
|
11
13
|
status: z.ZodNullable<z.ZodBoolean>;
|
|
12
14
|
message: z.ZodNullable<z.ZodString>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const paystackUpdateStorefront:
|
|
15
|
-
id: number;
|
|
16
|
-
name?: string | undefined;
|
|
17
|
-
slug?: string | undefined;
|
|
18
|
-
description?: string | undefined;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
16
|
+
declare const paystackUpdateStorefront: AppAction<typeof PaystackUpdateStorefrontInput, typeof PaystackUpdateStorefrontOutput, typeof paystack.credential>;
|
|
20
17
|
//#endregion
|
|
21
18
|
export { paystackUpdateStorefront };
|
|
22
19
|
//# sourceMappingURL=update-storefront.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-storefront.d.cts","names":[],"sources":["../../src/actions/update-storefront.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-storefront.d.cts","names":[],"sources":["../../src/actions/update-storefront.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;cAM7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAK9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { paystack } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-storefront.d.ts
|
|
@@ -11,12 +13,7 @@ declare const PaystackUpdateStorefrontOutput: z.ZodObject<{
|
|
|
11
13
|
status: z.ZodNullable<z.ZodBoolean>;
|
|
12
14
|
message: z.ZodNullable<z.ZodString>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const paystackUpdateStorefront:
|
|
15
|
-
id: number;
|
|
16
|
-
name?: string | undefined;
|
|
17
|
-
slug?: string | undefined;
|
|
18
|
-
description?: string | undefined;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
16
|
+
declare const paystackUpdateStorefront: AppAction<typeof PaystackUpdateStorefrontInput, typeof PaystackUpdateStorefrontOutput, typeof paystack.credential>;
|
|
20
17
|
//#endregion
|
|
21
18
|
export { paystackUpdateStorefront };
|
|
22
19
|
//# sourceMappingURL=update-storefront.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-storefront.d.mts","names":[],"sources":["../../src/actions/update-storefront.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-storefront.d.mts","names":[],"sources":["../../src/actions/update-storefront.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;cAM7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAK9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-storefront.mjs","names":[],"sources":["../../src/actions/update-storefront.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackUpdateStorefrontInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the Storefront to update\"),\n name: z.string().describe(\"Name of the storefront\").optional(),\n slug: z.string().describe(\"A unique identifier to access your store. Once the storefront is created, it can be accessed from https://paystack.shop/your-slug\").optional(),\n description: z.string().describe(\"The description of the storefront\").optional(),\n}).describe(\"Request to update a storefront's details.\");\nexport const PaystackUpdateStorefrontOutput = z.object({\n status: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n message: z.string().describe(\"Response message from the API\").nullable(),\n}).passthrough().describe(\"Response after updating a storefront.\");\n\nexport const paystackUpdateStorefront = action(\"PAYSTACK_UPDATE_STOREFRONT\", {\n slug: \"paystack-update-storefront\",\n name: \"Update Storefront\",\n description: \"Tool to update the details of a previously created Storefront. Use when you need to modify storefront information such as name, description, or slug.\",\n input: PaystackUpdateStorefrontInput,\n output: PaystackUpdateStorefrontOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-storefront.mjs","names":[],"sources":["../../src/actions/update-storefront.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { paystack } from \"../app\";\n\nexport const PaystackUpdateStorefrontInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the Storefront to update\"),\n name: z.string().describe(\"Name of the storefront\").optional(),\n slug: z.string().describe(\"A unique identifier to access your store. Once the storefront is created, it can be accessed from https://paystack.shop/your-slug\").optional(),\n description: z.string().describe(\"The description of the storefront\").optional(),\n}).describe(\"Request to update a storefront's details.\");\nexport const PaystackUpdateStorefrontOutput = z.object({\n status: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n message: z.string().describe(\"Response message from the API\").nullable(),\n}).passthrough().describe(\"Response after updating a storefront.\");\n\nexport const paystackUpdateStorefront: AppAction<\n typeof PaystackUpdateStorefrontInput,\n typeof PaystackUpdateStorefrontOutput,\n typeof paystack.credential\n> = action(\"PAYSTACK_UPDATE_STOREFRONT\", {\n slug: \"paystack-update-storefront\",\n name: \"Update Storefront\",\n description: \"Tool to update the details of a previously created Storefront. Use when you need to modify storefront information such as name, description, or slug.\",\n input: PaystackUpdateStorefrontInput,\n output: PaystackUpdateStorefrontOutput,\n});\n"],"mappings":";;;AAiBA,MAAa,2BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnB2C,EAAE,OAAO;EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;EACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS;EACxK,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACjF,CAAC,CAAC,CAAC,SAAS,2CAcH;CACP,QAd4C,EAAE,OAAO;EACrD,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACjF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-subaccount.cjs","names":["z","action"],"sources":["../../src/actions/update-subaccount.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackUpdateSubaccountInput = z.object({\n code: z.string().describe(\"The subaccount code you want to update\"),\n active: z.boolean().describe(\"Activate or deactivate a subaccount\").optional(),\n metadata: z.string().describe(\"Stringified JSON object of custom data\").optional(),\n description: z.string().describe(\"A description for this subaccount\").optional(),\n business_name: z.string().describe(\"Name of business for subaccount\").optional(),\n account_number: z.string().describe(\"Bank account number\").optional(),\n settlement_bank: z.string().describe(\"Bank code for the bank. You can get the list of Bank Codes by calling the List Banks endpoint.\").optional(),\n percentage_charge: z.number().describe(\"Percentage of transaction amount charged by the subaccount\").optional(),\n primary_contact_name: z.string().describe(\"The name of the contact person for this subaccount\").optional(),\n primary_contact_email: z.string().describe(\"A contact email for the subaccount\").optional(),\n primary_contact_phone: z.string().describe(\"A phone number to call for this subaccount\").optional(),\n}).describe(\"Request to update a subaccount's details on Paystack integration.\");\nconst PaystackUpdateSubaccount_UpdateSubaccountDataSchema = z.object({\n id: z.string().describe(\"Unique subaccount ID\").nullable(),\n bank: z.number().int().describe(\"Bank ID\").nullable(),\n active: z.boolean().describe(\"Active status\").nullable(),\n domain: z.string().describe(\"Domain\").nullable(),\n migrate: z.boolean().describe(\"Migration status\").nullable(),\n product: z.string().describe(\"Product type\").nullable(),\n currency: z.string().describe(\"Currency code\").nullable(),\n metadata: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the subaccount was created\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the subaccount was last updated\").nullable(),\n description: z.string().describe(\"Description for the subaccount\").nullable(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n is_verified: z.boolean().describe(\"Verification status\").nullable(),\n account_name: z.string().describe(\"Bank account name\").nullable().optional(),\n business_name: z.string().describe(\"Name of business for subaccount\").nullable(),\n account_number: z.string().describe(\"Bank account number\").nullable(),\n settlement_bank: z.string().describe(\"Settlement bank code\").nullable(),\n subaccount_code: z.string().describe(\"Unique subaccount code\").nullable(),\n percentage_charge: z.number().describe(\"Percentage charge\").nullable(),\n settlement_schedule: z.string().describe(\"Settlement schedule\").nullable(),\n primary_contact_name: z.string().describe(\"Contact name for the subaccount\").nullable(),\n primary_contact_email: z.string().describe(\"Contact email for the subaccount\").nullable(),\n primary_contact_phone: z.string().describe(\"Contact phone for the subaccount\").nullable(),\n managed_by_integration: z.number().int().describe(\"Managed by integration ID\").nullable(),\n}).passthrough().describe(\"Subaccount data returned after updating subaccount.\");\nexport const PaystackUpdateSubaccountOutput = z.object({\n data: PaystackUpdateSubaccount_UpdateSubaccountDataSchema.nullable().optional(),\n status: z.boolean().describe(\"Status of the API request\").nullable(),\n message: z.string().describe(\"Response message from the API\").nullable(),\n}).passthrough().describe(\"Response after updating a subaccount's details.\");\n\nexport const paystackUpdateSubaccount = action(\"PAYSTACK_UPDATE_SUBACCOUNT\", {\n slug: \"paystack-update-subaccount\",\n name: \"Update Subaccount\",\n description: \"Tool to update a subaccount's details on your Paystack integration. Use when you need to modify existing subaccount information such as business name, bank details, contact information, or activation status.\",\n input: PaystackUpdateSubaccountInput,\n output: PaystackUpdateSubaccountOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-subaccount.cjs","names":["z","action"],"sources":["../../src/actions/update-subaccount.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { paystack } from \"../app\";\n\nexport const PaystackUpdateSubaccountInput = z.object({\n code: z.string().describe(\"The subaccount code you want to update\"),\n active: z.boolean().describe(\"Activate or deactivate a subaccount\").optional(),\n metadata: z.string().describe(\"Stringified JSON object of custom data\").optional(),\n description: z.string().describe(\"A description for this subaccount\").optional(),\n business_name: z.string().describe(\"Name of business for subaccount\").optional(),\n account_number: z.string().describe(\"Bank account number\").optional(),\n settlement_bank: z.string().describe(\"Bank code for the bank. You can get the list of Bank Codes by calling the List Banks endpoint.\").optional(),\n percentage_charge: z.number().describe(\"Percentage of transaction amount charged by the subaccount\").optional(),\n primary_contact_name: z.string().describe(\"The name of the contact person for this subaccount\").optional(),\n primary_contact_email: z.string().describe(\"A contact email for the subaccount\").optional(),\n primary_contact_phone: z.string().describe(\"A phone number to call for this subaccount\").optional(),\n}).describe(\"Request to update a subaccount's details on Paystack integration.\");\nconst PaystackUpdateSubaccount_UpdateSubaccountDataSchema = z.object({\n id: z.string().describe(\"Unique subaccount ID\").nullable(),\n bank: z.number().int().describe(\"Bank ID\").nullable(),\n active: z.boolean().describe(\"Active status\").nullable(),\n domain: z.string().describe(\"Domain\").nullable(),\n migrate: z.boolean().describe(\"Migration status\").nullable(),\n product: z.string().describe(\"Product type\").nullable(),\n currency: z.string().describe(\"Currency code\").nullable(),\n metadata: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the subaccount was created\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the subaccount was last updated\").nullable(),\n description: z.string().describe(\"Description for the subaccount\").nullable(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n is_verified: z.boolean().describe(\"Verification status\").nullable(),\n account_name: z.string().describe(\"Bank account name\").nullable().optional(),\n business_name: z.string().describe(\"Name of business for subaccount\").nullable(),\n account_number: z.string().describe(\"Bank account number\").nullable(),\n settlement_bank: z.string().describe(\"Settlement bank code\").nullable(),\n subaccount_code: z.string().describe(\"Unique subaccount code\").nullable(),\n percentage_charge: z.number().describe(\"Percentage charge\").nullable(),\n settlement_schedule: z.string().describe(\"Settlement schedule\").nullable(),\n primary_contact_name: z.string().describe(\"Contact name for the subaccount\").nullable(),\n primary_contact_email: z.string().describe(\"Contact email for the subaccount\").nullable(),\n primary_contact_phone: z.string().describe(\"Contact phone for the subaccount\").nullable(),\n managed_by_integration: z.number().int().describe(\"Managed by integration ID\").nullable(),\n}).passthrough().describe(\"Subaccount data returned after updating subaccount.\");\nexport const PaystackUpdateSubaccountOutput = z.object({\n data: PaystackUpdateSubaccount_UpdateSubaccountDataSchema.nullable().optional(),\n status: z.boolean().describe(\"Status of the API request\").nullable(),\n message: z.string().describe(\"Response message from the API\").nullable(),\n}).passthrough().describe(\"Response after updating a subaccount's details.\");\n\nexport const paystackUpdateSubaccount: AppAction<\n typeof PaystackUpdateSubaccountInput,\n typeof PaystackUpdateSubaccountOutput,\n typeof paystack.credential\n> = action(\"PAYSTACK_UPDATE_SUBACCOUNT\", {\n slug: \"paystack-update-subaccount\",\n name: \"Update Subaccount\",\n description: \"Tool to update a subaccount's details on your Paystack integration. Use when you need to modify existing subaccount information such as business name, bank details, contact information, or activation status.\",\n input: PaystackUpdateSubaccountInput,\n output: PaystackUpdateSubaccountOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CAClE,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC7E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC/E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC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,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACxF,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAM,oDAAoD,SAAS,CAAC,CAAC,SAAS;CAC9E,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,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,2BAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { paystack } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-subaccount.d.ts
|
|
@@ -44,19 +46,7 @@ declare const PaystackUpdateSubaccountOutput: z.ZodObject<{
|
|
|
44
46
|
status: z.ZodNullable<z.ZodBoolean>;
|
|
45
47
|
message: z.ZodNullable<z.ZodString>;
|
|
46
48
|
}, z.core.$loose>;
|
|
47
|
-
declare const paystackUpdateSubaccount:
|
|
48
|
-
code: string;
|
|
49
|
-
active?: boolean | undefined;
|
|
50
|
-
metadata?: string | undefined;
|
|
51
|
-
description?: string | undefined;
|
|
52
|
-
business_name?: string | undefined;
|
|
53
|
-
account_number?: string | undefined;
|
|
54
|
-
settlement_bank?: string | undefined;
|
|
55
|
-
percentage_charge?: number | undefined;
|
|
56
|
-
primary_contact_name?: string | undefined;
|
|
57
|
-
primary_contact_email?: string | undefined;
|
|
58
|
-
primary_contact_phone?: string | undefined;
|
|
59
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
49
|
+
declare const paystackUpdateSubaccount: AppAction<typeof PaystackUpdateSubaccountInput, typeof PaystackUpdateSubaccountOutput, typeof paystack.credential>;
|
|
60
50
|
//#endregion
|
|
61
51
|
export { paystackUpdateSubaccount };
|
|
62
52
|
//# sourceMappingURL=update-subaccount.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-subaccount.d.cts","names":[],"sources":["../../src/actions/update-subaccount.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-subaccount.d.cts","names":[],"sources":["../../src/actions/update-subaccount.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAuC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { paystack } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-subaccount.d.ts
|
|
@@ -44,19 +46,7 @@ declare const PaystackUpdateSubaccountOutput: z.ZodObject<{
|
|
|
44
46
|
status: z.ZodNullable<z.ZodBoolean>;
|
|
45
47
|
message: z.ZodNullable<z.ZodString>;
|
|
46
48
|
}, z.core.$loose>;
|
|
47
|
-
declare const paystackUpdateSubaccount:
|
|
48
|
-
code: string;
|
|
49
|
-
active?: boolean | undefined;
|
|
50
|
-
metadata?: string | undefined;
|
|
51
|
-
description?: string | undefined;
|
|
52
|
-
business_name?: string | undefined;
|
|
53
|
-
account_number?: string | undefined;
|
|
54
|
-
settlement_bank?: string | undefined;
|
|
55
|
-
percentage_charge?: number | undefined;
|
|
56
|
-
primary_contact_name?: string | undefined;
|
|
57
|
-
primary_contact_email?: string | undefined;
|
|
58
|
-
primary_contact_phone?: string | undefined;
|
|
59
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
49
|
+
declare const paystackUpdateSubaccount: AppAction<typeof PaystackUpdateSubaccountInput, typeof PaystackUpdateSubaccountOutput, typeof paystack.credential>;
|
|
60
50
|
//#endregion
|
|
61
51
|
export { paystackUpdateSubaccount };
|
|
62
52
|
//# sourceMappingURL=update-subaccount.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-subaccount.d.mts","names":[],"sources":["../../src/actions/update-subaccount.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-subaccount.d.mts","names":[],"sources":["../../src/actions/update-subaccount.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAuC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-subaccount.mjs","names":[],"sources":["../../src/actions/update-subaccount.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaystackUpdateSubaccountInput = z.object({\n code: z.string().describe(\"The subaccount code you want to update\"),\n active: z.boolean().describe(\"Activate or deactivate a subaccount\").optional(),\n metadata: z.string().describe(\"Stringified JSON object of custom data\").optional(),\n description: z.string().describe(\"A description for this subaccount\").optional(),\n business_name: z.string().describe(\"Name of business for subaccount\").optional(),\n account_number: z.string().describe(\"Bank account number\").optional(),\n settlement_bank: z.string().describe(\"Bank code for the bank. You can get the list of Bank Codes by calling the List Banks endpoint.\").optional(),\n percentage_charge: z.number().describe(\"Percentage of transaction amount charged by the subaccount\").optional(),\n primary_contact_name: z.string().describe(\"The name of the contact person for this subaccount\").optional(),\n primary_contact_email: z.string().describe(\"A contact email for the subaccount\").optional(),\n primary_contact_phone: z.string().describe(\"A phone number to call for this subaccount\").optional(),\n}).describe(\"Request to update a subaccount's details on Paystack integration.\");\nconst PaystackUpdateSubaccount_UpdateSubaccountDataSchema = z.object({\n id: z.string().describe(\"Unique subaccount ID\").nullable(),\n bank: z.number().int().describe(\"Bank ID\").nullable(),\n active: z.boolean().describe(\"Active status\").nullable(),\n domain: z.string().describe(\"Domain\").nullable(),\n migrate: z.boolean().describe(\"Migration status\").nullable(),\n product: z.string().describe(\"Product type\").nullable(),\n currency: z.string().describe(\"Currency code\").nullable(),\n metadata: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the subaccount was created\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the subaccount was last updated\").nullable(),\n description: z.string().describe(\"Description for the subaccount\").nullable(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n is_verified: z.boolean().describe(\"Verification status\").nullable(),\n account_name: z.string().describe(\"Bank account name\").nullable().optional(),\n business_name: z.string().describe(\"Name of business for subaccount\").nullable(),\n account_number: z.string().describe(\"Bank account number\").nullable(),\n settlement_bank: z.string().describe(\"Settlement bank code\").nullable(),\n subaccount_code: z.string().describe(\"Unique subaccount code\").nullable(),\n percentage_charge: z.number().describe(\"Percentage charge\").nullable(),\n settlement_schedule: z.string().describe(\"Settlement schedule\").nullable(),\n primary_contact_name: z.string().describe(\"Contact name for the subaccount\").nullable(),\n primary_contact_email: z.string().describe(\"Contact email for the subaccount\").nullable(),\n primary_contact_phone: z.string().describe(\"Contact phone for the subaccount\").nullable(),\n managed_by_integration: z.number().int().describe(\"Managed by integration ID\").nullable(),\n}).passthrough().describe(\"Subaccount data returned after updating subaccount.\");\nexport const PaystackUpdateSubaccountOutput = z.object({\n data: PaystackUpdateSubaccount_UpdateSubaccountDataSchema.nullable().optional(),\n status: z.boolean().describe(\"Status of the API request\").nullable(),\n message: z.string().describe(\"Response message from the API\").nullable(),\n}).passthrough().describe(\"Response after updating a subaccount's details.\");\n\nexport const paystackUpdateSubaccount = action(\"PAYSTACK_UPDATE_SUBACCOUNT\", {\n slug: \"paystack-update-subaccount\",\n name: \"Update Subaccount\",\n description: \"Tool to update a subaccount's details on your Paystack integration. Use when you need to modify existing subaccount information such as business name, bank details, contact information, or activation status.\",\n input: PaystackUpdateSubaccountInput,\n output: PaystackUpdateSubaccountOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-subaccount.mjs","names":[],"sources":["../../src/actions/update-subaccount.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { paystack } from \"../app\";\n\nexport const PaystackUpdateSubaccountInput = z.object({\n code: z.string().describe(\"The subaccount code you want to update\"),\n active: z.boolean().describe(\"Activate or deactivate a subaccount\").optional(),\n metadata: z.string().describe(\"Stringified JSON object of custom data\").optional(),\n description: z.string().describe(\"A description for this subaccount\").optional(),\n business_name: z.string().describe(\"Name of business for subaccount\").optional(),\n account_number: z.string().describe(\"Bank account number\").optional(),\n settlement_bank: z.string().describe(\"Bank code for the bank. You can get the list of Bank Codes by calling the List Banks endpoint.\").optional(),\n percentage_charge: z.number().describe(\"Percentage of transaction amount charged by the subaccount\").optional(),\n primary_contact_name: z.string().describe(\"The name of the contact person for this subaccount\").optional(),\n primary_contact_email: z.string().describe(\"A contact email for the subaccount\").optional(),\n primary_contact_phone: z.string().describe(\"A phone number to call for this subaccount\").optional(),\n}).describe(\"Request to update a subaccount's details on Paystack integration.\");\nconst PaystackUpdateSubaccount_UpdateSubaccountDataSchema = z.object({\n id: z.string().describe(\"Unique subaccount ID\").nullable(),\n bank: z.number().int().describe(\"Bank ID\").nullable(),\n active: z.boolean().describe(\"Active status\").nullable(),\n domain: z.string().describe(\"Domain\").nullable(),\n migrate: z.boolean().describe(\"Migration status\").nullable(),\n product: z.string().describe(\"Product type\").nullable(),\n currency: z.string().describe(\"Currency code\").nullable(),\n metadata: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the subaccount was created\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the subaccount was last updated\").nullable(),\n description: z.string().describe(\"Description for the subaccount\").nullable(),\n integration: z.number().int().describe(\"Integration ID\").nullable(),\n is_verified: z.boolean().describe(\"Verification status\").nullable(),\n account_name: z.string().describe(\"Bank account name\").nullable().optional(),\n business_name: z.string().describe(\"Name of business for subaccount\").nullable(),\n account_number: z.string().describe(\"Bank account number\").nullable(),\n settlement_bank: z.string().describe(\"Settlement bank code\").nullable(),\n subaccount_code: z.string().describe(\"Unique subaccount code\").nullable(),\n percentage_charge: z.number().describe(\"Percentage charge\").nullable(),\n settlement_schedule: z.string().describe(\"Settlement schedule\").nullable(),\n primary_contact_name: z.string().describe(\"Contact name for the subaccount\").nullable(),\n primary_contact_email: z.string().describe(\"Contact email for the subaccount\").nullable(),\n primary_contact_phone: z.string().describe(\"Contact phone for the subaccount\").nullable(),\n managed_by_integration: z.number().int().describe(\"Managed by integration ID\").nullable(),\n}).passthrough().describe(\"Subaccount data returned after updating subaccount.\");\nexport const PaystackUpdateSubaccountOutput = z.object({\n data: PaystackUpdateSubaccount_UpdateSubaccountDataSchema.nullable().optional(),\n status: z.boolean().describe(\"Status of the API request\").nullable(),\n message: z.string().describe(\"Response message from the API\").nullable(),\n}).passthrough().describe(\"Response after updating a subaccount's details.\");\n\nexport const paystackUpdateSubaccount: AppAction<\n typeof PaystackUpdateSubaccountInput,\n typeof PaystackUpdateSubaccountOutput,\n typeof paystack.credential\n> = action(\"PAYSTACK_UPDATE_SUBACCOUNT\", {\n slug: \"paystack-update-subaccount\",\n name: \"Update Subaccount\",\n description: \"Tool to update a subaccount's details on your Paystack integration. Use when you need to modify existing subaccount information such as business name, bank details, contact information, or activation status.\",\n input: PaystackUpdateSubaccountInput,\n output: PaystackUpdateSubaccountOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CAClE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC7E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC/E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC/E,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACpE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CAChJ,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAC9G,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACzG,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC1F,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,sDAAsD,EAAE,OAAO;CACnE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,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