@keystrokehq/paypal 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/activate-plan.cjs.map +1 -1
- package/dist/actions/activate-plan.d.cts +10 -3
- package/dist/actions/activate-plan.d.cts.map +1 -1
- package/dist/actions/activate-plan.d.mts +10 -3
- package/dist/actions/activate-plan.d.mts.map +1 -1
- package/dist/actions/activate-plan.mjs.map +1 -1
- package/dist/actions/add-batch-trackers.cjs +5 -5
- package/dist/actions/add-batch-trackers.cjs.map +1 -1
- package/dist/actions/add-batch-trackers.d.cts +78 -3
- package/dist/actions/add-batch-trackers.d.cts.map +1 -1
- package/dist/actions/add-batch-trackers.d.mts +78 -3
- package/dist/actions/add-batch-trackers.d.mts.map +1 -1
- package/dist/actions/add-batch-trackers.mjs +5 -5
- package/dist/actions/add-batch-trackers.mjs.map +1 -1
- package/dist/actions/authorize-order.cjs +6 -6
- package/dist/actions/authorize-order.cjs.map +1 -1
- package/dist/actions/authorize-order.d.cts +94 -3
- package/dist/actions/authorize-order.d.cts.map +1 -1
- package/dist/actions/authorize-order.d.mts +94 -3
- package/dist/actions/authorize-order.d.mts.map +1 -1
- package/dist/actions/authorize-order.mjs +6 -6
- package/dist/actions/authorize-order.mjs.map +1 -1
- package/dist/actions/cancel-invoice.cjs +1 -1
- package/dist/actions/cancel-invoice.cjs.map +1 -1
- package/dist/actions/cancel-invoice.d.cts +36 -3
- package/dist/actions/cancel-invoice.d.cts.map +1 -1
- package/dist/actions/cancel-invoice.d.mts +36 -3
- package/dist/actions/cancel-invoice.d.mts.map +1 -1
- package/dist/actions/cancel-invoice.mjs +1 -1
- package/dist/actions/cancel-invoice.mjs.map +1 -1
- package/dist/actions/cancel-reminders.cjs +1 -1
- package/dist/actions/cancel-reminders.cjs.map +1 -1
- package/dist/actions/cancel-reminders.d.cts +25 -3
- package/dist/actions/cancel-reminders.d.cts.map +1 -1
- package/dist/actions/cancel-reminders.d.mts +25 -3
- package/dist/actions/cancel-reminders.d.mts.map +1 -1
- package/dist/actions/cancel-reminders.mjs +1 -1
- package/dist/actions/cancel-reminders.mjs.map +1 -1
- package/dist/actions/capture-subscription-payment.cjs +14 -14
- package/dist/actions/capture-subscription-payment.cjs.map +1 -1
- package/dist/actions/capture-subscription-payment.d.cts +67 -3
- package/dist/actions/capture-subscription-payment.d.cts.map +1 -1
- package/dist/actions/capture-subscription-payment.d.mts +67 -3
- package/dist/actions/capture-subscription-payment.d.mts.map +1 -1
- package/dist/actions/capture-subscription-payment.mjs +14 -14
- package/dist/actions/capture-subscription-payment.mjs.map +1 -1
- package/dist/actions/charge-payment-method.cjs.map +1 -1
- package/dist/actions/charge-payment-method.d.cts +89 -3
- package/dist/actions/charge-payment-method.d.cts.map +1 -1
- package/dist/actions/charge-payment-method.d.mts +89 -3
- package/dist/actions/charge-payment-method.d.mts.map +1 -1
- package/dist/actions/charge-payment-method.mjs.map +1 -1
- package/dist/actions/create-invoice.cjs +7 -7
- package/dist/actions/create-invoice.cjs.map +1 -1
- package/dist/actions/create-invoice.d.cts +428 -3
- package/dist/actions/create-invoice.d.cts.map +1 -1
- package/dist/actions/create-invoice.d.mts +428 -3
- package/dist/actions/create-invoice.d.mts.map +1 -1
- package/dist/actions/create-invoice.mjs +7 -7
- package/dist/actions/create-invoice.mjs.map +1 -1
- package/dist/actions/create-payment.cjs +11 -11
- package/dist/actions/create-payment.cjs.map +1 -1
- package/dist/actions/create-payment.d.cts +211 -3
- package/dist/actions/create-payment.d.cts.map +1 -1
- package/dist/actions/create-payment.d.mts +211 -3
- package/dist/actions/create-payment.d.mts.map +1 -1
- package/dist/actions/create-payment.mjs +11 -11
- package/dist/actions/create-payment.mjs.map +1 -1
- package/dist/actions/create-payments-billing-plans.cjs +8 -8
- package/dist/actions/create-payments-billing-plans.cjs.map +1 -1
- package/dist/actions/create-payments-billing-plans.d.cts +152 -3
- package/dist/actions/create-payments-billing-plans.d.cts.map +1 -1
- package/dist/actions/create-payments-billing-plans.d.mts +152 -3
- package/dist/actions/create-payments-billing-plans.d.mts.map +1 -1
- package/dist/actions/create-payments-billing-plans.mjs +8 -8
- package/dist/actions/create-payments-billing-plans.mjs.map +1 -1
- package/dist/actions/create-plan.cjs +8 -8
- package/dist/actions/create-plan.cjs.map +1 -1
- package/dist/actions/create-plan.d.cts +142 -3
- package/dist/actions/create-plan.d.cts.map +1 -1
- package/dist/actions/create-plan.d.mts +142 -3
- package/dist/actions/create-plan.d.mts.map +1 -1
- package/dist/actions/create-plan.mjs +8 -8
- package/dist/actions/create-plan.mjs.map +1 -1
- package/dist/actions/create-product.cjs.map +1 -1
- package/dist/actions/create-product.d.cts +184 -3
- package/dist/actions/create-product.d.cts.map +1 -1
- package/dist/actions/create-product.d.mts +184 -3
- package/dist/actions/create-product.d.mts.map +1 -1
- package/dist/actions/create-product.mjs.map +1 -1
- package/dist/actions/create-subscription.cjs +2 -2
- package/dist/actions/create-subscription.cjs.map +1 -1
- package/dist/actions/create-subscription.d.cts +254 -3
- package/dist/actions/create-subscription.d.cts.map +1 -1
- package/dist/actions/create-subscription.d.mts +254 -3
- package/dist/actions/create-subscription.d.mts.map +1 -1
- package/dist/actions/create-subscription.mjs +2 -2
- package/dist/actions/create-subscription.mjs.map +1 -1
- package/dist/actions/create-template.cjs +5 -5
- package/dist/actions/create-template.cjs.map +1 -1
- package/dist/actions/create-template.d.cts +317 -3
- package/dist/actions/create-template.d.cts.map +1 -1
- package/dist/actions/create-template.d.mts +317 -3
- package/dist/actions/create-template.d.mts.map +1 -1
- package/dist/actions/create-template.mjs +5 -5
- package/dist/actions/create-template.mjs.map +1 -1
- package/dist/actions/create-web-profile.cjs +2 -2
- package/dist/actions/create-web-profile.cjs.map +1 -1
- package/dist/actions/create-web-profile.d.cts +81 -3
- package/dist/actions/create-web-profile.d.cts.map +1 -1
- package/dist/actions/create-web-profile.d.mts +81 -3
- package/dist/actions/create-web-profile.d.mts.map +1 -1
- package/dist/actions/create-web-profile.mjs +2 -2
- package/dist/actions/create-web-profile.mjs.map +1 -1
- package/dist/actions/create-webhook-lookup.cjs +3 -3
- package/dist/actions/create-webhook-lookup.cjs.map +1 -1
- package/dist/actions/create-webhook-lookup.d.cts +11 -3
- package/dist/actions/create-webhook-lookup.d.cts.map +1 -1
- package/dist/actions/create-webhook-lookup.d.mts +11 -3
- package/dist/actions/create-webhook-lookup.d.mts.map +1 -1
- package/dist/actions/create-webhook-lookup.mjs +3 -3
- package/dist/actions/create-webhook-lookup.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +3 -3
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +36 -3
- package/dist/actions/create-webhook.d.cts.map +1 -1
- package/dist/actions/create-webhook.d.mts +36 -3
- package/dist/actions/create-webhook.d.mts.map +1 -1
- package/dist/actions/create-webhook.mjs +3 -3
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/deactivate-plan.cjs +2 -2
- package/dist/actions/deactivate-plan.cjs.map +1 -1
- package/dist/actions/deactivate-plan.d.cts +10 -3
- package/dist/actions/deactivate-plan.d.cts.map +1 -1
- package/dist/actions/deactivate-plan.d.mts +10 -3
- package/dist/actions/deactivate-plan.d.mts.map +1 -1
- package/dist/actions/deactivate-plan.mjs +2 -2
- package/dist/actions/deactivate-plan.mjs.map +1 -1
- package/dist/actions/delete-external-payment.cjs.map +1 -1
- package/dist/actions/delete-external-payment.d.cts +13 -3
- package/dist/actions/delete-external-payment.d.cts.map +1 -1
- package/dist/actions/delete-external-payment.d.mts +13 -3
- package/dist/actions/delete-external-payment.d.mts.map +1 -1
- package/dist/actions/delete-external-payment.mjs.map +1 -1
- package/dist/actions/delete-invoice-payment-record.cjs.map +1 -1
- package/dist/actions/delete-invoice-payment-record.d.cts +13 -3
- package/dist/actions/delete-invoice-payment-record.d.cts.map +1 -1
- package/dist/actions/delete-invoice-payment-record.d.mts +13 -3
- package/dist/actions/delete-invoice-payment-record.d.mts.map +1 -1
- package/dist/actions/delete-invoice-payment-record.mjs.map +1 -1
- package/dist/actions/delete-invoice-refund-record.cjs.map +1 -1
- package/dist/actions/delete-invoice-refund-record.d.cts +12 -3
- package/dist/actions/delete-invoice-refund-record.d.cts.map +1 -1
- package/dist/actions/delete-invoice-refund-record.d.mts +12 -3
- package/dist/actions/delete-invoice-refund-record.d.mts.map +1 -1
- package/dist/actions/delete-invoice-refund-record.mjs.map +1 -1
- package/dist/actions/delete-invoice.cjs +3 -3
- package/dist/actions/delete-invoice.cjs.map +1 -1
- package/dist/actions/delete-invoice.d.cts +25 -3
- package/dist/actions/delete-invoice.d.cts.map +1 -1
- package/dist/actions/delete-invoice.d.mts +25 -3
- package/dist/actions/delete-invoice.d.mts.map +1 -1
- package/dist/actions/delete-invoice.mjs +3 -3
- package/dist/actions/delete-invoice.mjs.map +1 -1
- package/dist/actions/delete-payment-resource.cjs +2 -2
- package/dist/actions/delete-payment-resource.cjs.map +1 -1
- package/dist/actions/delete-payment-resource.d.cts +10 -3
- package/dist/actions/delete-payment-resource.d.cts.map +1 -1
- package/dist/actions/delete-payment-resource.d.mts +10 -3
- package/dist/actions/delete-payment-resource.d.mts.map +1 -1
- package/dist/actions/delete-payment-resource.mjs +2 -2
- package/dist/actions/delete-payment-resource.mjs.map +1 -1
- package/dist/actions/delete-template.cjs +3 -3
- package/dist/actions/delete-template.cjs.map +1 -1
- package/dist/actions/delete-template.d.cts +25 -3
- package/dist/actions/delete-template.d.cts.map +1 -1
- package/dist/actions/delete-template.d.mts +25 -3
- package/dist/actions/delete-template.d.mts.map +1 -1
- package/dist/actions/delete-template.mjs +3 -3
- package/dist/actions/delete-template.mjs.map +1 -1
- package/dist/actions/delete-web-profile.cjs +2 -2
- package/dist/actions/delete-web-profile.cjs.map +1 -1
- package/dist/actions/delete-web-profile.d.cts +10 -3
- package/dist/actions/delete-web-profile.d.cts.map +1 -1
- package/dist/actions/delete-web-profile.d.mts +10 -3
- package/dist/actions/delete-web-profile.d.mts.map +1 -1
- package/dist/actions/delete-web-profile.mjs +2 -2
- package/dist/actions/delete-web-profile.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +3 -3
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +24 -3
- package/dist/actions/delete-webhook.d.cts.map +1 -1
- package/dist/actions/delete-webhook.d.mts +24 -3
- package/dist/actions/delete-webhook.d.mts.map +1 -1
- package/dist/actions/delete-webhook.mjs +3 -3
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/fetch-node.cjs +1 -1
- package/dist/actions/fetch-node.cjs.map +1 -1
- package/dist/actions/fetch-node.d.cts +21 -3
- package/dist/actions/fetch-node.d.cts.map +1 -1
- package/dist/actions/fetch-node.d.mts +21 -3
- package/dist/actions/fetch-node.d.mts.map +1 -1
- package/dist/actions/fetch-node.mjs +1 -1
- package/dist/actions/fetch-node.mjs.map +1 -1
- package/dist/actions/finalize-pay-pal-braintree-dispute.cjs.map +1 -1
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.cts +14 -3
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.cts.map +1 -1
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.mts +14 -3
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.mts.map +1 -1
- package/dist/actions/finalize-pay-pal-braintree-dispute.mjs.map +1 -1
- package/dist/actions/find-eligible-methods.cjs +1 -1
- package/dist/actions/find-eligible-methods.cjs.map +1 -1
- package/dist/actions/find-eligible-methods.d.cts +119 -3
- package/dist/actions/find-eligible-methods.d.cts.map +1 -1
- package/dist/actions/find-eligible-methods.d.mts +119 -3
- package/dist/actions/find-eligible-methods.d.mts.map +1 -1
- package/dist/actions/find-eligible-methods.mjs +1 -1
- package/dist/actions/find-eligible-methods.mjs.map +1 -1
- package/dist/actions/generate-client-token.cjs +1 -1
- package/dist/actions/generate-client-token.cjs.map +1 -1
- package/dist/actions/generate-client-token.d.cts +7 -3
- package/dist/actions/generate-client-token.d.cts.map +1 -1
- package/dist/actions/generate-client-token.d.mts +7 -3
- package/dist/actions/generate-client-token.d.mts.map +1 -1
- package/dist/actions/generate-client-token.mjs +1 -1
- package/dist/actions/generate-client-token.mjs.map +1 -1
- package/dist/actions/generate-next-invoice-number-v2.cjs.map +1 -1
- package/dist/actions/generate-next-invoice-number-v2.d.cts +10 -3
- package/dist/actions/generate-next-invoice-number-v2.d.cts.map +1 -1
- package/dist/actions/generate-next-invoice-number-v2.d.mts +10 -3
- package/dist/actions/generate-next-invoice-number-v2.d.mts.map +1 -1
- package/dist/actions/generate-next-invoice-number-v2.mjs.map +1 -1
- package/dist/actions/generate-next-invoice-number.cjs +1 -1
- package/dist/actions/generate-next-invoice-number.cjs.map +1 -1
- package/dist/actions/generate-next-invoice-number.d.cts +5 -3
- package/dist/actions/generate-next-invoice-number.d.cts.map +1 -1
- package/dist/actions/generate-next-invoice-number.d.mts +5 -3
- package/dist/actions/generate-next-invoice-number.d.mts.map +1 -1
- package/dist/actions/generate-next-invoice-number.mjs +1 -1
- package/dist/actions/generate-next-invoice-number.mjs.map +1 -1
- package/dist/actions/generate-qr-code.cjs +3 -3
- package/dist/actions/generate-qr-code.cjs.map +1 -1
- package/dist/actions/generate-qr-code.d.cts +38 -3
- package/dist/actions/generate-qr-code.d.cts.map +1 -1
- package/dist/actions/generate-qr-code.d.mts +38 -3
- package/dist/actions/generate-qr-code.d.mts.map +1 -1
- package/dist/actions/generate-qr-code.mjs +3 -3
- package/dist/actions/generate-qr-code.mjs.map +1 -1
- package/dist/actions/get-billing-subscriptions.cjs.map +1 -1
- package/dist/actions/get-billing-subscriptions.d.cts +86 -3
- package/dist/actions/get-billing-subscriptions.d.cts.map +1 -1
- package/dist/actions/get-billing-subscriptions.d.mts +86 -3
- package/dist/actions/get-billing-subscriptions.d.mts.map +1 -1
- package/dist/actions/get-billing-subscriptions.mjs.map +1 -1
- package/dist/actions/get-invoice.cjs +9 -9
- package/dist/actions/get-invoice.cjs.map +1 -1
- package/dist/actions/get-invoice.d.cts +151 -3
- package/dist/actions/get-invoice.d.cts.map +1 -1
- package/dist/actions/get-invoice.d.mts +151 -3
- package/dist/actions/get-invoice.d.mts.map +1 -1
- package/dist/actions/get-invoice.mjs +9 -9
- package/dist/actions/get-invoice.mjs.map +1 -1
- package/dist/actions/get-invoicing-invoices-qr-code.cjs +3 -3
- package/dist/actions/get-invoicing-invoices-qr-code.cjs.map +1 -1
- package/dist/actions/get-invoicing-invoices-qr-code.d.cts +20 -3
- package/dist/actions/get-invoicing-invoices-qr-code.d.cts.map +1 -1
- package/dist/actions/get-invoicing-invoices-qr-code.d.mts +20 -3
- package/dist/actions/get-invoicing-invoices-qr-code.d.mts.map +1 -1
- package/dist/actions/get-invoicing-invoices-qr-code.mjs +3 -3
- package/dist/actions/get-invoicing-invoices-qr-code.mjs.map +1 -1
- package/dist/actions/get-invoicing-template.cjs +2 -2
- package/dist/actions/get-invoicing-template.cjs.map +1 -1
- package/dist/actions/get-invoicing-template.d.cts +134 -3
- package/dist/actions/get-invoicing-template.d.cts.map +1 -1
- package/dist/actions/get-invoicing-template.d.mts +134 -3
- package/dist/actions/get-invoicing-template.d.mts.map +1 -1
- package/dist/actions/get-invoicing-template.mjs +2 -2
- package/dist/actions/get-invoicing-template.mjs.map +1 -1
- package/dist/actions/get-order.cjs.map +1 -1
- package/dist/actions/get-order.d.cts +114 -3
- package/dist/actions/get-order.d.cts.map +1 -1
- package/dist/actions/get-order.d.mts +114 -3
- package/dist/actions/get-order.d.mts.map +1 -1
- package/dist/actions/get-order.mjs.map +1 -1
- package/dist/actions/get-payment.cjs.map +1 -1
- package/dist/actions/get-payment.d.cts +93 -3
- package/dist/actions/get-payment.d.cts.map +1 -1
- package/dist/actions/get-payment.d.mts +93 -3
- package/dist/actions/get-payment.d.mts.map +1 -1
- package/dist/actions/get-payment.mjs.map +1 -1
- package/dist/actions/get-payments-refund.cjs.map +1 -1
- package/dist/actions/get-payments-refund.d.cts +26 -3
- package/dist/actions/get-payments-refund.d.cts.map +1 -1
- package/dist/actions/get-payments-refund.d.mts +26 -3
- package/dist/actions/get-payments-refund.d.mts.map +1 -1
- package/dist/actions/get-payments-refund.mjs.map +1 -1
- package/dist/actions/get-plan.cjs.map +1 -1
- package/dist/actions/get-plan.d.cts +52 -3
- package/dist/actions/get-plan.d.cts.map +1 -1
- package/dist/actions/get-plan.d.mts +52 -3
- package/dist/actions/get-plan.d.mts.map +1 -1
- package/dist/actions/get-plan.mjs.map +1 -1
- package/dist/actions/get-product.cjs +3 -3
- package/dist/actions/get-product.cjs.map +1 -1
- package/dist/actions/get-product.d.cts +22 -3
- package/dist/actions/get-product.d.cts.map +1 -1
- package/dist/actions/get-product.d.mts +22 -3
- package/dist/actions/get-product.d.mts.map +1 -1
- package/dist/actions/get-product.mjs +3 -3
- package/dist/actions/get-product.mjs.map +1 -1
- package/dist/actions/get-subscription.cjs.map +1 -1
- package/dist/actions/get-subscription.d.cts +79 -3
- package/dist/actions/get-subscription.d.cts.map +1 -1
- package/dist/actions/get-subscription.d.mts +79 -3
- package/dist/actions/get-subscription.d.mts.map +1 -1
- package/dist/actions/get-subscription.mjs.map +1 -1
- package/dist/actions/get-user-info.cjs.map +1 -1
- package/dist/actions/get-user-info.d.cts +34 -3
- package/dist/actions/get-user-info.d.cts.map +1 -1
- package/dist/actions/get-user-info.d.mts +34 -3
- package/dist/actions/get-user-info.d.mts.map +1 -1
- package/dist/actions/get-user-info.mjs.map +1 -1
- package/dist/actions/get-userinfo.cjs.map +1 -1
- package/dist/actions/get-userinfo.d.cts +47 -3
- package/dist/actions/get-userinfo.d.cts.map +1 -1
- package/dist/actions/get-userinfo.d.mts +47 -3
- package/dist/actions/get-userinfo.d.mts.map +1 -1
- package/dist/actions/get-userinfo.mjs.map +1 -1
- package/dist/actions/get-web-profile.cjs +1 -1
- package/dist/actions/get-web-profile.cjs.map +1 -1
- package/dist/actions/get-web-profile.d.cts +26 -3
- package/dist/actions/get-web-profile.d.cts.map +1 -1
- package/dist/actions/get-web-profile.d.mts +26 -3
- package/dist/actions/get-web-profile.d.mts.map +1 -1
- package/dist/actions/get-web-profile.mjs +1 -1
- package/dist/actions/get-web-profile.mjs.map +1 -1
- package/dist/actions/get-webhook-lookup.cjs +1 -1
- package/dist/actions/get-webhook-lookup.cjs.map +1 -1
- package/dist/actions/get-webhook-lookup.d.cts +15 -3
- package/dist/actions/get-webhook-lookup.d.cts.map +1 -1
- package/dist/actions/get-webhook-lookup.d.mts +15 -3
- package/dist/actions/get-webhook-lookup.d.mts.map +1 -1
- package/dist/actions/get-webhook-lookup.mjs +1 -1
- package/dist/actions/get-webhook-lookup.mjs.map +1 -1
- package/dist/actions/get-webhook.cjs +2 -2
- package/dist/actions/get-webhook.cjs.map +1 -1
- package/dist/actions/get-webhook.d.cts +23 -3
- package/dist/actions/get-webhook.d.cts.map +1 -1
- package/dist/actions/get-webhook.d.mts +23 -3
- package/dist/actions/get-webhook.d.mts.map +1 -1
- package/dist/actions/get-webhook.mjs +2 -2
- package/dist/actions/get-webhook.mjs.map +1 -1
- package/dist/actions/list-disputes.cjs +2 -2
- package/dist/actions/list-disputes.cjs.map +1 -1
- package/dist/actions/list-disputes.d.cts +57 -3
- package/dist/actions/list-disputes.d.cts.map +1 -1
- package/dist/actions/list-disputes.d.mts +57 -3
- package/dist/actions/list-disputes.d.mts.map +1 -1
- package/dist/actions/list-disputes.mjs +2 -2
- package/dist/actions/list-disputes.mjs.map +1 -1
- package/dist/actions/list-invoices.cjs.map +1 -1
- package/dist/actions/list-invoices.d.cts +82 -3
- package/dist/actions/list-invoices.d.cts.map +1 -1
- package/dist/actions/list-invoices.d.mts +82 -3
- package/dist/actions/list-invoices.d.mts.map +1 -1
- package/dist/actions/list-invoices.mjs.map +1 -1
- package/dist/actions/list-legacy-billing-plans.cjs.map +1 -1
- package/dist/actions/list-legacy-billing-plans.d.cts +83 -3
- package/dist/actions/list-legacy-billing-plans.d.cts.map +1 -1
- package/dist/actions/list-legacy-billing-plans.d.mts +83 -3
- package/dist/actions/list-legacy-billing-plans.d.mts.map +1 -1
- package/dist/actions/list-legacy-billing-plans.mjs.map +1 -1
- package/dist/actions/list-payments.cjs.map +1 -1
- package/dist/actions/list-payments.d.cts +109 -3
- package/dist/actions/list-payments.d.cts.map +1 -1
- package/dist/actions/list-payments.d.mts +109 -3
- package/dist/actions/list-payments.d.mts.map +1 -1
- package/dist/actions/list-payments.mjs.map +1 -1
- package/dist/actions/list-plans.cjs +3 -3
- package/dist/actions/list-plans.cjs.map +1 -1
- package/dist/actions/list-plans.d.cts +56 -3
- package/dist/actions/list-plans.d.cts.map +1 -1
- package/dist/actions/list-plans.d.mts +56 -3
- package/dist/actions/list-plans.d.mts.map +1 -1
- package/dist/actions/list-plans.mjs +3 -3
- package/dist/actions/list-plans.mjs.map +1 -1
- package/dist/actions/list-products.cjs.map +1 -1
- package/dist/actions/list-products.d.cts +30 -3
- package/dist/actions/list-products.d.cts.map +1 -1
- package/dist/actions/list-products.d.mts +30 -3
- package/dist/actions/list-products.d.mts.map +1 -1
- package/dist/actions/list-products.mjs.map +1 -1
- package/dist/actions/list-templates.cjs.map +1 -1
- package/dist/actions/list-templates.d.cts +66 -3
- package/dist/actions/list-templates.d.cts.map +1 -1
- package/dist/actions/list-templates.d.mts +66 -3
- package/dist/actions/list-templates.d.mts.map +1 -1
- package/dist/actions/list-templates.mjs.map +1 -1
- package/dist/actions/list-web-profiles.cjs +1 -1
- package/dist/actions/list-web-profiles.cjs.map +1 -1
- package/dist/actions/list-web-profiles.d.cts +35 -3
- package/dist/actions/list-web-profiles.d.cts.map +1 -1
- package/dist/actions/list-web-profiles.d.mts +35 -3
- package/dist/actions/list-web-profiles.d.mts.map +1 -1
- package/dist/actions/list-web-profiles.mjs +1 -1
- package/dist/actions/list-web-profiles.mjs.map +1 -1
- package/dist/actions/list-webhook-event-type-subscriptions.cjs +1 -1
- package/dist/actions/list-webhook-event-type-subscriptions.cjs.map +1 -1
- package/dist/actions/list-webhook-event-type-subscriptions.d.cts +16 -3
- package/dist/actions/list-webhook-event-type-subscriptions.d.cts.map +1 -1
- package/dist/actions/list-webhook-event-type-subscriptions.d.mts +16 -3
- package/dist/actions/list-webhook-event-type-subscriptions.d.mts.map +1 -1
- package/dist/actions/list-webhook-event-type-subscriptions.mjs +1 -1
- package/dist/actions/list-webhook-event-type-subscriptions.mjs.map +1 -1
- package/dist/actions/list-webhook-event-types.cjs +1 -1
- package/dist/actions/list-webhook-event-types.cjs.map +1 -1
- package/dist/actions/list-webhook-event-types.d.cts +12 -3
- package/dist/actions/list-webhook-event-types.d.cts.map +1 -1
- package/dist/actions/list-webhook-event-types.d.mts +12 -3
- package/dist/actions/list-webhook-event-types.d.mts.map +1 -1
- package/dist/actions/list-webhook-event-types.mjs +1 -1
- package/dist/actions/list-webhook-event-types.mjs.map +1 -1
- package/dist/actions/list-webhook-lookups.cjs.map +1 -1
- package/dist/actions/list-webhook-lookups.d.cts +13 -3
- package/dist/actions/list-webhook-lookups.d.cts.map +1 -1
- package/dist/actions/list-webhook-lookups.d.mts +13 -3
- package/dist/actions/list-webhook-lookups.d.mts.map +1 -1
- package/dist/actions/list-webhook-lookups.mjs.map +1 -1
- package/dist/actions/list-webhooks.cjs +1 -1
- package/dist/actions/list-webhooks.cjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +24 -3
- package/dist/actions/list-webhooks.d.cts.map +1 -1
- package/dist/actions/list-webhooks.d.mts +24 -3
- package/dist/actions/list-webhooks.d.mts.map +1 -1
- package/dist/actions/list-webhooks.mjs +1 -1
- package/dist/actions/list-webhooks.mjs.map +1 -1
- package/dist/actions/patch-orders.cjs.map +1 -1
- package/dist/actions/patch-orders.d.cts +31 -3
- package/dist/actions/patch-orders.d.cts.map +1 -1
- package/dist/actions/patch-orders.d.mts +31 -3
- package/dist/actions/patch-orders.d.mts.map +1 -1
- package/dist/actions/patch-orders.mjs.map +1 -1
- package/dist/actions/patch-plan.cjs.map +1 -1
- package/dist/actions/patch-plan.d.cts +29 -3
- package/dist/actions/patch-plan.d.cts.map +1 -1
- package/dist/actions/patch-plan.d.mts +29 -3
- package/dist/actions/patch-plan.d.mts.map +1 -1
- package/dist/actions/patch-plan.mjs.map +1 -1
- package/dist/actions/patch-subscription.cjs +2 -2
- package/dist/actions/patch-subscription.cjs.map +1 -1
- package/dist/actions/patch-subscription.d.cts +36 -3
- package/dist/actions/patch-subscription.d.cts.map +1 -1
- package/dist/actions/patch-subscription.d.mts +36 -3
- package/dist/actions/patch-subscription.d.mts.map +1 -1
- package/dist/actions/patch-subscription.mjs +2 -2
- package/dist/actions/patch-subscription.mjs.map +1 -1
- package/dist/actions/patch-web-profile.cjs.map +1 -1
- package/dist/actions/patch-web-profile.d.cts +29 -3
- package/dist/actions/patch-web-profile.d.cts.map +1 -1
- package/dist/actions/patch-web-profile.d.mts +29 -3
- package/dist/actions/patch-web-profile.d.mts.map +1 -1
- package/dist/actions/patch-web-profile.mjs.map +1 -1
- package/dist/actions/ping-braintree.cjs.map +1 -1
- package/dist/actions/ping-braintree.d.cts +6 -3
- package/dist/actions/ping-braintree.d.cts.map +1 -1
- package/dist/actions/ping-braintree.d.mts +6 -3
- package/dist/actions/ping-braintree.d.mts.map +1 -1
- package/dist/actions/ping-braintree.mjs.map +1 -1
- package/dist/actions/query-braintree-report.cjs +1 -1
- package/dist/actions/query-braintree-report.cjs.map +1 -1
- package/dist/actions/query-braintree-report.d.cts +30 -3
- package/dist/actions/query-braintree-report.d.cts.map +1 -1
- package/dist/actions/query-braintree-report.d.mts +30 -3
- package/dist/actions/query-braintree-report.d.mts.map +1 -1
- package/dist/actions/query-braintree-report.mjs +1 -1
- package/dist/actions/query-braintree-report.mjs.map +1 -1
- package/dist/actions/retrieve-payment-resource.cjs +1 -1
- package/dist/actions/retrieve-payment-resource.cjs.map +1 -1
- package/dist/actions/retrieve-payment-resource.d.cts +60 -3
- package/dist/actions/retrieve-payment-resource.d.cts.map +1 -1
- package/dist/actions/retrieve-payment-resource.d.mts +60 -3
- package/dist/actions/retrieve-payment-resource.d.mts.map +1 -1
- package/dist/actions/retrieve-payment-resource.mjs +1 -1
- package/dist/actions/retrieve-payment-resource.mjs.map +1 -1
- package/dist/actions/search-invoices.cjs +1 -1
- package/dist/actions/search-invoices.cjs.map +1 -1
- package/dist/actions/search-invoices.d.cts +156 -3
- package/dist/actions/search-invoices.d.cts.map +1 -1
- package/dist/actions/search-invoices.d.mts +156 -3
- package/dist/actions/search-invoices.d.mts.map +1 -1
- package/dist/actions/search-invoices.mjs +1 -1
- package/dist/actions/search-invoices.mjs.map +1 -1
- package/dist/actions/send-invoice.cjs +2 -2
- package/dist/actions/send-invoice.cjs.map +1 -1
- package/dist/actions/send-invoice.d.cts +30 -3
- package/dist/actions/send-invoice.d.cts.map +1 -1
- package/dist/actions/send-invoice.d.mts +30 -3
- package/dist/actions/send-invoice.d.mts.map +1 -1
- package/dist/actions/send-invoice.mjs +2 -2
- package/dist/actions/send-invoice.mjs.map +1 -1
- package/dist/actions/simulate-webhook-event.cjs +3 -3
- package/dist/actions/simulate-webhook-event.cjs.map +1 -1
- package/dist/actions/simulate-webhook-event.d.cts +42 -3
- package/dist/actions/simulate-webhook-event.d.cts.map +1 -1
- package/dist/actions/simulate-webhook-event.d.mts +42 -3
- package/dist/actions/simulate-webhook-event.d.mts.map +1 -1
- package/dist/actions/simulate-webhook-event.mjs +3 -3
- package/dist/actions/simulate-webhook-event.mjs.map +1 -1
- package/dist/actions/update-dispute.cjs +2 -2
- package/dist/actions/update-dispute.cjs.map +1 -1
- package/dist/actions/update-dispute.d.cts +39 -3
- package/dist/actions/update-dispute.d.cts.map +1 -1
- package/dist/actions/update-dispute.d.mts +39 -3
- package/dist/actions/update-dispute.d.mts.map +1 -1
- package/dist/actions/update-dispute.mjs +2 -2
- package/dist/actions/update-dispute.mjs.map +1 -1
- package/dist/actions/update-invoice.cjs +15 -15
- package/dist/actions/update-invoice.cjs.map +1 -1
- package/dist/actions/update-invoice.d.cts +538 -3
- package/dist/actions/update-invoice.d.cts.map +1 -1
- package/dist/actions/update-invoice.d.mts +538 -3
- package/dist/actions/update-invoice.d.mts.map +1 -1
- package/dist/actions/update-invoice.mjs +15 -15
- package/dist/actions/update-invoice.mjs.map +1 -1
- package/dist/actions/update-pay-pal-product.cjs.map +1 -1
- package/dist/actions/update-pay-pal-product.d.cts +29 -3
- package/dist/actions/update-pay-pal-product.d.cts.map +1 -1
- package/dist/actions/update-pay-pal-product.d.mts +29 -3
- package/dist/actions/update-pay-pal-product.d.mts.map +1 -1
- package/dist/actions/update-pay-pal-product.mjs.map +1 -1
- package/dist/actions/update-pay-pal-webhook.cjs +3 -3
- package/dist/actions/update-pay-pal-webhook.cjs.map +1 -1
- package/dist/actions/update-pay-pal-webhook.d.cts +40 -3
- package/dist/actions/update-pay-pal-webhook.d.cts.map +1 -1
- package/dist/actions/update-pay-pal-webhook.d.mts +40 -3
- package/dist/actions/update-pay-pal-webhook.d.mts.map +1 -1
- package/dist/actions/update-pay-pal-webhook.mjs +3 -3
- package/dist/actions/update-pay-pal-webhook.mjs.map +1 -1
- package/dist/actions/update-templates.cjs.map +1 -1
- package/dist/actions/update-templates.d.cts +627 -3
- package/dist/actions/update-templates.d.cts.map +1 -1
- package/dist/actions/update-templates.d.mts +627 -3
- package/dist/actions/update-templates.d.mts.map +1 -1
- package/dist/actions/update-templates.mjs.map +1 -1
- package/dist/actions/update-web-profile.cjs +2 -2
- package/dist/actions/update-web-profile.cjs.map +1 -1
- package/dist/actions/update-web-profile.d.cts +59 -3
- package/dist/actions/update-web-profile.d.cts.map +1 -1
- package/dist/actions/update-web-profile.d.mts +59 -3
- package/dist/actions/update-web-profile.d.mts.map +1 -1
- package/dist/actions/update-web-profile.mjs +2 -2
- package/dist/actions/update-web-profile.mjs.map +1 -1
- package/dist/actions/verify-payment-method.cjs +3 -3
- package/dist/actions/verify-payment-method.cjs.map +1 -1
- package/dist/actions/verify-payment-method.d.cts +25 -3
- package/dist/actions/verify-payment-method.d.cts.map +1 -1
- package/dist/actions/verify-payment-method.d.mts +25 -3
- package/dist/actions/verify-payment-method.d.mts.map +1 -1
- package/dist/actions/verify-payment-method.mjs +3 -3
- package/dist/actions/verify-payment-method.mjs.map +1 -1
- package/dist/actions/verify-webhook-signature.cjs +1 -1
- package/dist/actions/verify-webhook-signature.cjs.map +1 -1
- package/dist/actions/verify-webhook-signature.d.cts +52 -3
- package/dist/actions/verify-webhook-signature.d.cts.map +1 -1
- package/dist/actions/verify-webhook-signature.d.mts +52 -3
- package/dist/actions/verify-webhook-signature.d.mts.map +1 -1
- package/dist/actions/verify-webhook-signature.mjs +1 -1
- package/dist/actions/verify-webhook-signature.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,9 +1,31 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/cancel-reminders.d.ts
|
|
4
|
-
declare const PaypalCancelRemindersInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PaypalCancelRemindersInput: z.ZodObject<{
|
|
5
|
+
invoice_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PaypalCancelRemindersOutput: z.ZodObject<{
|
|
8
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
10
|
+
rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
}, z.core.$strip>>>>;
|
|
14
|
+
details: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
15
|
+
field: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
issue: z.ZodNullable<z.ZodString>;
|
|
17
|
+
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
}, z.core.$strip>>>>;
|
|
21
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
23
|
+
debug_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
information_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
}, z.core.$strip>;
|
|
26
|
+
declare const paypalCancelReminders: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
|
+
invoice_id: string;
|
|
28
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
29
|
//#endregion
|
|
8
30
|
export { paypalCancelReminders };
|
|
9
31
|
//# sourceMappingURL=cancel-reminders.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cancel-reminders.d.mts","names":[],"sources":["../../src/actions/cancel-reminders.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"cancel-reminders.d.mts","names":[],"sources":["../../src/actions/cancel-reminders.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAe1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAU3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -9,7 +9,7 @@ const PaypalCancelReminders_LinkDescriptionSchema = z.object({
|
|
|
9
9
|
}).describe("HATEOAS link information.");
|
|
10
10
|
const PaypalCancelReminders_ErrorDetailSchema = z.object({
|
|
11
11
|
field: z.string().describe("The field that caused the error.").nullable().optional(),
|
|
12
|
-
issue: z.string().describe("The issue description."),
|
|
12
|
+
issue: z.string().describe("The issue description.").nullable(),
|
|
13
13
|
value: z.string().describe("The value that caused the error.").nullable().optional(),
|
|
14
14
|
location: z.string().describe("The location of the error (body, path, query, header).").nullable().optional(),
|
|
15
15
|
description: z.string().describe("The error description.").nullable().optional()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cancel-reminders.mjs","names":[],"sources":["../../src/actions/cancel-reminders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalCancelRemindersInput
|
|
1
|
+
{"version":3,"file":"cancel-reminders.mjs","names":[],"sources":["../../src/actions/cancel-reminders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalCancelRemindersInput = z.object({\n invoice_id: z.string().describe(\"The ID of the invoice for which to cancel the reminders.\"),\n}).describe(\"Request schema for canceling auto reminders on a PayPal invoice.\\n\\nUse this when you need to cancel the automatic payment reminders that\\nare scheduled for an invoice. This is useful when you want to stop\\nreminder emails from being sent to the payer.\");\nconst PaypalCancelReminders_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The relationship between the resource and the link.\").nullable().optional(),\n href: z.string().describe(\"The URI of the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method to use for the related resource.\").nullable().optional(),\n}).describe(\"HATEOAS link information.\");\nconst PaypalCancelReminders_ErrorDetailSchema = z.object({\n field: z.string().describe(\"The field that caused the error.\").nullable().optional(),\n issue: z.string().describe(\"The issue description.\").nullable(),\n value: z.string().describe(\"The value that caused the error.\").nullable().optional(),\n location: z.string().describe(\"The location of the error (body, path, query, header).\").nullable().optional(),\n description: z.string().describe(\"The error description.\").nullable().optional(),\n}).describe(\"Error detail information.\");\nexport const PaypalCancelRemindersOutput = z.object({\n name: z.string().describe(\"The human-readable, unique name of the error.\").nullable().optional(),\n links: z.array(PaypalCancelReminders_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n details: z.array(PaypalCancelReminders_ErrorDetailSchema).describe(\"An array of additional details about the error.\").nullable().optional(),\n message: z.string().describe(\"The message that describes the error.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the reminders were successfully canceled.\").nullable().optional(),\n debug_id: z.string().describe(\"The PayPal internal ID. Used for correlation purposes.\").nullable().optional(),\n information_link: z.string().describe(\"The information link, or URI, that shows detailed information about this error for the developer.\").nullable().optional(),\n}).describe(\"Response schema returned after canceling invoice reminders.\\n\\nA successful response indicates that the reminders have been canceled.\\nThe response may be empty or contain minimal information on success.\");\n\nexport const paypalCancelReminders = action(\"PAYPAL_CANCEL_REMINDERS\", {\n slug: \"paypal-cancel-reminders\",\n name: \"Cancel Invoice Reminders\",\n description: \"Cancels the automatic payment reminders for a PayPal invoice. Use this action when you need to stop the automatic reminder emails from being sent to the payer for a particular invoice. This is useful when the invoice has been paid, is no longer relevant, or when you want to handle payment follow-ups manually. Note: This action only cancels future scheduled reminders. It does not affect reminders that have already been sent.\",\n input: PaypalCancelRemindersInput,\n output: PaypalCancelRemindersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO,EACjD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,EAC5F,CAAC,CAAC,CAAC,SAAS,8PAA8P;AAC1Q,MAAM,8CAA8C,EAAE,OAAO;CAC3D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,2BAA2B;AACvC,MAAM,0CAA0C,EAAE,OAAO;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,OAA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name: zod.z.string().describe("When the party is a person, the party's middle name.").nullable().optional()
|
|
28
28
|
}).describe("The name of the payer party.");
|
|
29
29
|
const PaypalCaptureSubscriptionPayment_FeeAmountSchema = zod.z.object({
|
|
30
|
-
value: zod.z.string().describe("The monetary value."),
|
|
31
|
-
currency_code: zod.z.string().describe("The three-character ISO-4217 currency code.")
|
|
30
|
+
value: zod.z.string().describe("The monetary value.").nullable(),
|
|
31
|
+
currency_code: zod.z.string().describe("The three-character ISO-4217 currency code.").nullable()
|
|
32
32
|
}).describe("The currency and amount for a financial transaction (fee portion).");
|
|
33
33
|
const PaypalCaptureSubscriptionPayment_NetAmountSchema = zod.z.object({
|
|
34
|
-
value: zod.z.string().describe("The monetary value."),
|
|
35
|
-
currency_code: zod.z.string().describe("The three-character ISO-4217 currency code.")
|
|
34
|
+
value: zod.z.string().describe("The monetary value.").nullable(),
|
|
35
|
+
currency_code: zod.z.string().describe("The three-character ISO-4217 currency code.").nullable()
|
|
36
36
|
}).describe("The currency and amount for a financial transaction (net portion).");
|
|
37
37
|
const PaypalCaptureSubscriptionPayment_TaxAmountSchema = zod.z.object({
|
|
38
|
-
value: zod.z.string().describe("The monetary value."),
|
|
39
|
-
currency_code: zod.z.string().describe("The three-character ISO-4217 currency code.")
|
|
38
|
+
value: zod.z.string().describe("The monetary value.").nullable(),
|
|
39
|
+
currency_code: zod.z.string().describe("The three-character ISO-4217 currency code.").nullable()
|
|
40
40
|
}).describe("The currency and amount for tax.");
|
|
41
41
|
const PaypalCaptureSubscriptionPayment_GrossAmountSchema = zod.z.object({
|
|
42
|
-
value: zod.z.string().describe("The monetary value."),
|
|
43
|
-
currency_code: zod.z.string().describe("The three-character ISO-4217 currency code.")
|
|
42
|
+
value: zod.z.string().describe("The monetary value.").nullable(),
|
|
43
|
+
currency_code: zod.z.string().describe("The three-character ISO-4217 currency code.").nullable()
|
|
44
44
|
}).describe("The currency and amount for a financial transaction (gross portion).");
|
|
45
45
|
const PaypalCaptureSubscriptionPayment_ShippingAmountSchema = zod.z.object({
|
|
46
|
-
value: zod.z.string().describe("The monetary value."),
|
|
47
|
-
currency_code: zod.z.string().describe("The three-character ISO-4217 currency code.")
|
|
46
|
+
value: zod.z.string().describe("The monetary value.").nullable(),
|
|
47
|
+
currency_code: zod.z.string().describe("The three-character ISO-4217 currency code.").nullable()
|
|
48
48
|
}).describe("The currency and amount for shipping.");
|
|
49
49
|
const PaypalCaptureSubscriptionPayment_TotalItemAmountSchema = zod.z.object({
|
|
50
|
-
value: zod.z.string().describe("The monetary value."),
|
|
51
|
-
currency_code: zod.z.string().describe("The three-character ISO-4217 currency code.")
|
|
50
|
+
value: zod.z.string().describe("The monetary value.").nullable(),
|
|
51
|
+
currency_code: zod.z.string().describe("The three-character ISO-4217 currency code.").nullable()
|
|
52
52
|
}).describe("The currency and amount for total items.");
|
|
53
53
|
const PaypalCaptureSubscriptionPayment_AmountWithBreakdownSchema = zod.z.object({
|
|
54
54
|
fee_amount: PaypalCaptureSubscriptionPayment_FeeAmountSchema.nullable().optional(),
|
|
@@ -59,8 +59,8 @@ const PaypalCaptureSubscriptionPayment_AmountWithBreakdownSchema = zod.z.object(
|
|
|
59
59
|
total_item_amount: PaypalCaptureSubscriptionPayment_TotalItemAmountSchema.nullable().optional()
|
|
60
60
|
}).describe("The breakdown details for the amount.");
|
|
61
61
|
const PaypalCaptureSubscriptionPaymentOutput = zod.z.object({
|
|
62
|
-
id: zod.z.string().describe("The PayPal-generated transaction ID."),
|
|
63
|
-
time: zod.z.string().describe("The date and time, in Internet date and time format."),
|
|
62
|
+
id: zod.z.string().describe("The PayPal-generated transaction ID.").nullable(),
|
|
63
|
+
time: zod.z.string().describe("The date and time, in Internet date and time format.").nullable(),
|
|
64
64
|
status: PaypalCaptureSubscriptionPayment_CaptureStatusSchema.nullable().optional(),
|
|
65
65
|
payer_name: PaypalCaptureSubscriptionPayment_PayerNameSchema.nullable().optional(),
|
|
66
66
|
payer_email: zod.z.string().describe("The internationalized email address of the payer.").nullable().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capture-subscription-payment.cjs","names":["z","action"],"sources":["../../src/actions/capture-subscription-payment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalCaptureSubscriptionPaymentInput
|
|
1
|
+
{"version":3,"file":"capture-subscription-payment.cjs","names":["z","action"],"sources":["../../src/actions/capture-subscription-payment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalCaptureSubscriptionPaymentInput = z.object({\n id: z.string().describe(\"The ID of the subscription.\"),\n note: z.string().describe(\"The reason or note for the subscription charge.\"),\n amount: z.object({\n value: z.string().describe(\"The value, which might be an integer for currencies like JPY that are not typically fractional, or a decimal fraction for currencies like TND that are subdivided into thousandths.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\"),\n}).describe(\"The charge amount from the subscriber.\"),\n capture_type: z.enum([\"OUTSTANDING_BALANCE\"]).describe(\"The type of capture. Currently only OUTSTANDING_BALANCE is supported.\"),\n}).describe(\"Request model for capturing authorized payment on subscription.\");\nconst PaypalCaptureSubscriptionPayment_CaptureStatusSchema = z.enum([\"COMPLETED\", \"DECLINED\", \"PARTIALLY_REFUNDED\", \"PENDING\", \"REFUNDED\", \"FAILED\"]).describe(\"The status of the captured payment.\");\nconst PaypalCaptureSubscriptionPayment_PayerNameSchema = z.object({\n prefix: z.string().describe(\"The prefix, or title, to the party's name.\").nullable().optional(),\n suffix: z.string().describe(\"The suffix for the party's name.\").nullable().optional(),\n surname: z.string().describe(\"When the party is a person, the party's surname or family name.\").nullable().optional(),\n full_name: z.string().describe(\"When the party is a person, the party's full name.\").nullable().optional(),\n given_name: z.string().describe(\"When the party is a person, the party's given, or first, name.\").nullable().optional(),\n middle_name: z.string().describe(\"When the party is a person, the party's middle name.\").nullable().optional(),\n}).describe(\"The name of the payer party.\");\nconst PaypalCaptureSubscriptionPayment_FeeAmountSchema = z.object({\n value: z.string().describe(\"The monetary value.\").nullable(),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code.\").nullable(),\n}).describe(\"The currency and amount for a financial transaction (fee portion).\");\nconst PaypalCaptureSubscriptionPayment_NetAmountSchema = z.object({\n value: z.string().describe(\"The monetary value.\").nullable(),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code.\").nullable(),\n}).describe(\"The currency and amount for a financial transaction (net portion).\");\nconst PaypalCaptureSubscriptionPayment_TaxAmountSchema = z.object({\n value: z.string().describe(\"The monetary value.\").nullable(),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code.\").nullable(),\n}).describe(\"The currency and amount for tax.\");\nconst PaypalCaptureSubscriptionPayment_GrossAmountSchema = z.object({\n value: z.string().describe(\"The monetary value.\").nullable(),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code.\").nullable(),\n}).describe(\"The currency and amount for a financial transaction (gross portion).\");\nconst PaypalCaptureSubscriptionPayment_ShippingAmountSchema = z.object({\n value: z.string().describe(\"The monetary value.\").nullable(),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code.\").nullable(),\n}).describe(\"The currency and amount for shipping.\");\nconst PaypalCaptureSubscriptionPayment_TotalItemAmountSchema = z.object({\n value: z.string().describe(\"The monetary value.\").nullable(),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code.\").nullable(),\n}).describe(\"The currency and amount for total items.\");\nconst PaypalCaptureSubscriptionPayment_AmountWithBreakdownSchema = z.object({\n fee_amount: PaypalCaptureSubscriptionPayment_FeeAmountSchema.nullable().optional(),\n net_amount: PaypalCaptureSubscriptionPayment_NetAmountSchema.nullable().optional(),\n tax_amount: PaypalCaptureSubscriptionPayment_TaxAmountSchema.nullable().optional(),\n gross_amount: PaypalCaptureSubscriptionPayment_GrossAmountSchema.nullable(),\n shipping_amount: PaypalCaptureSubscriptionPayment_ShippingAmountSchema.nullable().optional(),\n total_item_amount: PaypalCaptureSubscriptionPayment_TotalItemAmountSchema.nullable().optional(),\n}).describe(\"The breakdown details for the amount.\");\nexport const PaypalCaptureSubscriptionPaymentOutput = z.object({\n id: z.string().describe(\"The PayPal-generated transaction ID.\").nullable(),\n time: z.string().describe(\"The date and time, in Internet date and time format.\").nullable(),\n status: PaypalCaptureSubscriptionPayment_CaptureStatusSchema.nullable().optional(),\n payer_name: PaypalCaptureSubscriptionPayment_PayerNameSchema.nullable().optional(),\n payer_email: z.string().describe(\"The internationalized email address of the payer.\").nullable().optional(),\n amount_with_breakdown: PaypalCaptureSubscriptionPayment_AmountWithBreakdownSchema.nullable(),\n}).describe(\"Response model for capturing authorized payment on subscription.\");\n\nexport const paypalCaptureSubscriptionPayment = action(\"PAYPAL_CAPTURE_SUBSCRIPTION_PAYMENT\", {\n slug: \"paypal-capture-subscription-payment\",\n name: \"Capture subscription payment\",\n description: \"Captures an authorized payment on a PayPal subscription. Use this action when you need to charge a subscriber for an outstanding balance or capture an authorized payment that was previously approved. This action captures payments for subscriptions that have an outstanding balance to be charged. The capture type must be OUTSTANDING_BALANCE, and you must provide the amount to capture along with a note explaining the reason for the charge.\",\n input: PaypalCaptureSubscriptionPaymentInput,\n output: PaypalCaptureSubscriptionPaymentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC3E,QAAQA,IAAAA,EAAE,OAAO;EACjB,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qLAAqL;EAChN,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;CAC/G,CAAC,CAAC,CAAC,SAAS,wCAAwC;CAClD,cAAcA,IAAAA,EAAE,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,uEAAuE;AAChI,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAA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AAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC3F,QAAQ,qDAAqD,SAAS,CAAC,CAAC,SAAS;CACjF,YAAY,iDAAiD,SAAS,CAAC,CAAC,SAAS;CACjF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,uBAAuB,2DAA2D,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAE9E,MAAa,mCAAmCC,eAAAA,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,73 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/capture-subscription-payment.d.ts
|
|
4
|
-
declare const PaypalCaptureSubscriptionPaymentInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PaypalCaptureSubscriptionPaymentInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
note: z.ZodString;
|
|
7
|
+
amount: z.ZodObject<{
|
|
8
|
+
value: z.ZodString;
|
|
9
|
+
currency_code: z.ZodString;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
capture_type: z.ZodEnum<{
|
|
12
|
+
OUTSTANDING_BALANCE: "OUTSTANDING_BALANCE";
|
|
13
|
+
}>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
declare const PaypalCaptureSubscriptionPaymentOutput: z.ZodObject<{
|
|
16
|
+
id: z.ZodNullable<z.ZodString>;
|
|
17
|
+
time: z.ZodNullable<z.ZodString>;
|
|
18
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
19
|
+
COMPLETED: "COMPLETED";
|
|
20
|
+
PENDING: "PENDING";
|
|
21
|
+
DECLINED: "DECLINED";
|
|
22
|
+
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
23
|
+
REFUNDED: "REFUNDED";
|
|
24
|
+
FAILED: "FAILED";
|
|
25
|
+
}>>>;
|
|
26
|
+
payer_name: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
27
|
+
prefix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
suffix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
full_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
given_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
middle_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
}, z.core.$strip>>>;
|
|
34
|
+
payer_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
amount_with_breakdown: z.ZodNullable<z.ZodObject<{
|
|
36
|
+
fee_amount: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
37
|
+
value: z.ZodNullable<z.ZodString>;
|
|
38
|
+
currency_code: z.ZodNullable<z.ZodString>;
|
|
39
|
+
}, z.core.$strip>>>;
|
|
40
|
+
net_amount: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
41
|
+
value: z.ZodNullable<z.ZodString>;
|
|
42
|
+
currency_code: z.ZodNullable<z.ZodString>;
|
|
43
|
+
}, z.core.$strip>>>;
|
|
44
|
+
tax_amount: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
45
|
+
value: z.ZodNullable<z.ZodString>;
|
|
46
|
+
currency_code: z.ZodNullable<z.ZodString>;
|
|
47
|
+
}, z.core.$strip>>>;
|
|
48
|
+
gross_amount: z.ZodNullable<z.ZodObject<{
|
|
49
|
+
value: z.ZodNullable<z.ZodString>;
|
|
50
|
+
currency_code: z.ZodNullable<z.ZodString>;
|
|
51
|
+
}, z.core.$strip>>;
|
|
52
|
+
shipping_amount: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
53
|
+
value: z.ZodNullable<z.ZodString>;
|
|
54
|
+
currency_code: z.ZodNullable<z.ZodString>;
|
|
55
|
+
}, z.core.$strip>>>;
|
|
56
|
+
total_item_amount: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
57
|
+
value: z.ZodNullable<z.ZodString>;
|
|
58
|
+
currency_code: z.ZodNullable<z.ZodString>;
|
|
59
|
+
}, z.core.$strip>>>;
|
|
60
|
+
}, z.core.$strip>>;
|
|
61
|
+
}, z.core.$strip>;
|
|
62
|
+
declare const paypalCaptureSubscriptionPayment: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
63
|
+
id: string;
|
|
64
|
+
note: string;
|
|
65
|
+
amount: {
|
|
66
|
+
value: string;
|
|
67
|
+
currency_code: string;
|
|
68
|
+
};
|
|
69
|
+
capture_type: "OUTSTANDING_BALANCE";
|
|
70
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
71
|
//#endregion
|
|
8
72
|
export { paypalCaptureSubscriptionPayment };
|
|
9
73
|
//# sourceMappingURL=capture-subscription-payment.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capture-subscription-payment.d.cts","names":[],"sources":["../../src/actions/capture-subscription-payment.ts"],"mappings":";;;cAIa,qCAAA,
|
|
1
|
+
{"version":3,"file":"capture-subscription-payment.d.cts","names":[],"sources":["../../src/actions/capture-subscription-payment.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;cAkDrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAStC,gCAAA,gCAAgC,wBAAA"}
|
|
@@ -1,9 +1,73 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/capture-subscription-payment.d.ts
|
|
4
|
-
declare const PaypalCaptureSubscriptionPaymentInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PaypalCaptureSubscriptionPaymentInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
note: z.ZodString;
|
|
7
|
+
amount: z.ZodObject<{
|
|
8
|
+
value: z.ZodString;
|
|
9
|
+
currency_code: z.ZodString;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
capture_type: z.ZodEnum<{
|
|
12
|
+
OUTSTANDING_BALANCE: "OUTSTANDING_BALANCE";
|
|
13
|
+
}>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
declare const PaypalCaptureSubscriptionPaymentOutput: z.ZodObject<{
|
|
16
|
+
id: z.ZodNullable<z.ZodString>;
|
|
17
|
+
time: z.ZodNullable<z.ZodString>;
|
|
18
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
19
|
+
COMPLETED: "COMPLETED";
|
|
20
|
+
PENDING: "PENDING";
|
|
21
|
+
DECLINED: "DECLINED";
|
|
22
|
+
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
23
|
+
REFUNDED: "REFUNDED";
|
|
24
|
+
FAILED: "FAILED";
|
|
25
|
+
}>>>;
|
|
26
|
+
payer_name: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
27
|
+
prefix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
suffix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
full_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
given_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
middle_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
}, z.core.$strip>>>;
|
|
34
|
+
payer_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
amount_with_breakdown: z.ZodNullable<z.ZodObject<{
|
|
36
|
+
fee_amount: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
37
|
+
value: z.ZodNullable<z.ZodString>;
|
|
38
|
+
currency_code: z.ZodNullable<z.ZodString>;
|
|
39
|
+
}, z.core.$strip>>>;
|
|
40
|
+
net_amount: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
41
|
+
value: z.ZodNullable<z.ZodString>;
|
|
42
|
+
currency_code: z.ZodNullable<z.ZodString>;
|
|
43
|
+
}, z.core.$strip>>>;
|
|
44
|
+
tax_amount: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
45
|
+
value: z.ZodNullable<z.ZodString>;
|
|
46
|
+
currency_code: z.ZodNullable<z.ZodString>;
|
|
47
|
+
}, z.core.$strip>>>;
|
|
48
|
+
gross_amount: z.ZodNullable<z.ZodObject<{
|
|
49
|
+
value: z.ZodNullable<z.ZodString>;
|
|
50
|
+
currency_code: z.ZodNullable<z.ZodString>;
|
|
51
|
+
}, z.core.$strip>>;
|
|
52
|
+
shipping_amount: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
53
|
+
value: z.ZodNullable<z.ZodString>;
|
|
54
|
+
currency_code: z.ZodNullable<z.ZodString>;
|
|
55
|
+
}, z.core.$strip>>>;
|
|
56
|
+
total_item_amount: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
57
|
+
value: z.ZodNullable<z.ZodString>;
|
|
58
|
+
currency_code: z.ZodNullable<z.ZodString>;
|
|
59
|
+
}, z.core.$strip>>>;
|
|
60
|
+
}, z.core.$strip>>;
|
|
61
|
+
}, z.core.$strip>;
|
|
62
|
+
declare const paypalCaptureSubscriptionPayment: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
63
|
+
id: string;
|
|
64
|
+
note: string;
|
|
65
|
+
amount: {
|
|
66
|
+
value: string;
|
|
67
|
+
currency_code: string;
|
|
68
|
+
};
|
|
69
|
+
capture_type: "OUTSTANDING_BALANCE";
|
|
70
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
71
|
//#endregion
|
|
8
72
|
export { paypalCaptureSubscriptionPayment };
|
|
9
73
|
//# sourceMappingURL=capture-subscription-payment.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capture-subscription-payment.d.mts","names":[],"sources":["../../src/actions/capture-subscription-payment.ts"],"mappings":";;;cAIa,qCAAA,
|
|
1
|
+
{"version":3,"file":"capture-subscription-payment.d.mts","names":[],"sources":["../../src/actions/capture-subscription-payment.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;cAkDrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAStC,gCAAA,gCAAgC,wBAAA"}
|
|
@@ -27,28 +27,28 @@ const PaypalCaptureSubscriptionPayment_PayerNameSchema = z.object({
|
|
|
27
27
|
middle_name: z.string().describe("When the party is a person, the party's middle name.").nullable().optional()
|
|
28
28
|
}).describe("The name of the payer party.");
|
|
29
29
|
const PaypalCaptureSubscriptionPayment_FeeAmountSchema = z.object({
|
|
30
|
-
value: z.string().describe("The monetary value."),
|
|
31
|
-
currency_code: z.string().describe("The three-character ISO-4217 currency code.")
|
|
30
|
+
value: z.string().describe("The monetary value.").nullable(),
|
|
31
|
+
currency_code: z.string().describe("The three-character ISO-4217 currency code.").nullable()
|
|
32
32
|
}).describe("The currency and amount for a financial transaction (fee portion).");
|
|
33
33
|
const PaypalCaptureSubscriptionPayment_NetAmountSchema = z.object({
|
|
34
|
-
value: z.string().describe("The monetary value."),
|
|
35
|
-
currency_code: z.string().describe("The three-character ISO-4217 currency code.")
|
|
34
|
+
value: z.string().describe("The monetary value.").nullable(),
|
|
35
|
+
currency_code: z.string().describe("The three-character ISO-4217 currency code.").nullable()
|
|
36
36
|
}).describe("The currency and amount for a financial transaction (net portion).");
|
|
37
37
|
const PaypalCaptureSubscriptionPayment_TaxAmountSchema = z.object({
|
|
38
|
-
value: z.string().describe("The monetary value."),
|
|
39
|
-
currency_code: z.string().describe("The three-character ISO-4217 currency code.")
|
|
38
|
+
value: z.string().describe("The monetary value.").nullable(),
|
|
39
|
+
currency_code: z.string().describe("The three-character ISO-4217 currency code.").nullable()
|
|
40
40
|
}).describe("The currency and amount for tax.");
|
|
41
41
|
const PaypalCaptureSubscriptionPayment_GrossAmountSchema = z.object({
|
|
42
|
-
value: z.string().describe("The monetary value."),
|
|
43
|
-
currency_code: z.string().describe("The three-character ISO-4217 currency code.")
|
|
42
|
+
value: z.string().describe("The monetary value.").nullable(),
|
|
43
|
+
currency_code: z.string().describe("The three-character ISO-4217 currency code.").nullable()
|
|
44
44
|
}).describe("The currency and amount for a financial transaction (gross portion).");
|
|
45
45
|
const PaypalCaptureSubscriptionPayment_ShippingAmountSchema = z.object({
|
|
46
|
-
value: z.string().describe("The monetary value."),
|
|
47
|
-
currency_code: z.string().describe("The three-character ISO-4217 currency code.")
|
|
46
|
+
value: z.string().describe("The monetary value.").nullable(),
|
|
47
|
+
currency_code: z.string().describe("The three-character ISO-4217 currency code.").nullable()
|
|
48
48
|
}).describe("The currency and amount for shipping.");
|
|
49
49
|
const PaypalCaptureSubscriptionPayment_TotalItemAmountSchema = z.object({
|
|
50
|
-
value: z.string().describe("The monetary value."),
|
|
51
|
-
currency_code: z.string().describe("The three-character ISO-4217 currency code.")
|
|
50
|
+
value: z.string().describe("The monetary value.").nullable(),
|
|
51
|
+
currency_code: z.string().describe("The three-character ISO-4217 currency code.").nullable()
|
|
52
52
|
}).describe("The currency and amount for total items.");
|
|
53
53
|
const PaypalCaptureSubscriptionPayment_AmountWithBreakdownSchema = z.object({
|
|
54
54
|
fee_amount: PaypalCaptureSubscriptionPayment_FeeAmountSchema.nullable().optional(),
|
|
@@ -64,8 +64,8 @@ const paypalCaptureSubscriptionPayment = action("PAYPAL_CAPTURE_SUBSCRIPTION_PAY
|
|
|
64
64
|
description: "Captures an authorized payment on a PayPal subscription. Use this action when you need to charge a subscriber for an outstanding balance or capture an authorized payment that was previously approved. This action captures payments for subscriptions that have an outstanding balance to be charged. The capture type must be OUTSTANDING_BALANCE, and you must provide the amount to capture along with a note explaining the reason for the charge.",
|
|
65
65
|
input: PaypalCaptureSubscriptionPaymentInput,
|
|
66
66
|
output: z.object({
|
|
67
|
-
id: z.string().describe("The PayPal-generated transaction ID."),
|
|
68
|
-
time: z.string().describe("The date and time, in Internet date and time format."),
|
|
67
|
+
id: z.string().describe("The PayPal-generated transaction ID.").nullable(),
|
|
68
|
+
time: z.string().describe("The date and time, in Internet date and time format.").nullable(),
|
|
69
69
|
status: PaypalCaptureSubscriptionPayment_CaptureStatusSchema.nullable().optional(),
|
|
70
70
|
payer_name: PaypalCaptureSubscriptionPayment_PayerNameSchema.nullable().optional(),
|
|
71
71
|
payer_email: z.string().describe("The internationalized email address of the payer.").nullable().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capture-subscription-payment.mjs","names":[],"sources":["../../src/actions/capture-subscription-payment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalCaptureSubscriptionPaymentInput
|
|
1
|
+
{"version":3,"file":"capture-subscription-payment.mjs","names":[],"sources":["../../src/actions/capture-subscription-payment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalCaptureSubscriptionPaymentInput = z.object({\n id: z.string().describe(\"The ID of the subscription.\"),\n note: z.string().describe(\"The reason or note for the subscription charge.\"),\n amount: z.object({\n value: z.string().describe(\"The value, which might be an integer for currencies like JPY that are not typically fractional, or a decimal fraction for currencies like TND that are subdivided into thousandths.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\"),\n}).describe(\"The charge amount from the subscriber.\"),\n capture_type: z.enum([\"OUTSTANDING_BALANCE\"]).describe(\"The type of capture. Currently only OUTSTANDING_BALANCE is supported.\"),\n}).describe(\"Request model for capturing authorized payment on subscription.\");\nconst PaypalCaptureSubscriptionPayment_CaptureStatusSchema = z.enum([\"COMPLETED\", \"DECLINED\", \"PARTIALLY_REFUNDED\", \"PENDING\", \"REFUNDED\", \"FAILED\"]).describe(\"The status of the captured payment.\");\nconst PaypalCaptureSubscriptionPayment_PayerNameSchema = z.object({\n prefix: z.string().describe(\"The prefix, or title, to the party's name.\").nullable().optional(),\n suffix: z.string().describe(\"The suffix for the party's name.\").nullable().optional(),\n surname: z.string().describe(\"When the party is a person, the party's surname or family name.\").nullable().optional(),\n full_name: z.string().describe(\"When the party is a person, the party's full name.\").nullable().optional(),\n given_name: z.string().describe(\"When the party is a person, the party's given, or first, name.\").nullable().optional(),\n middle_name: z.string().describe(\"When the party is a person, the party's middle name.\").nullable().optional(),\n}).describe(\"The name of the payer party.\");\nconst PaypalCaptureSubscriptionPayment_FeeAmountSchema = z.object({\n value: z.string().describe(\"The monetary value.\").nullable(),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code.\").nullable(),\n}).describe(\"The currency and amount for a financial transaction (fee portion).\");\nconst PaypalCaptureSubscriptionPayment_NetAmountSchema = z.object({\n value: z.string().describe(\"The monetary value.\").nullable(),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code.\").nullable(),\n}).describe(\"The currency and amount for a financial transaction (net portion).\");\nconst PaypalCaptureSubscriptionPayment_TaxAmountSchema = z.object({\n value: z.string().describe(\"The monetary value.\").nullable(),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code.\").nullable(),\n}).describe(\"The currency and amount for tax.\");\nconst PaypalCaptureSubscriptionPayment_GrossAmountSchema = z.object({\n value: z.string().describe(\"The monetary value.\").nullable(),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code.\").nullable(),\n}).describe(\"The currency and amount for a financial transaction (gross portion).\");\nconst PaypalCaptureSubscriptionPayment_ShippingAmountSchema = z.object({\n value: z.string().describe(\"The monetary value.\").nullable(),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code.\").nullable(),\n}).describe(\"The currency and amount for shipping.\");\nconst PaypalCaptureSubscriptionPayment_TotalItemAmountSchema = z.object({\n value: z.string().describe(\"The monetary value.\").nullable(),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code.\").nullable(),\n}).describe(\"The currency and amount for total items.\");\nconst PaypalCaptureSubscriptionPayment_AmountWithBreakdownSchema = z.object({\n fee_amount: PaypalCaptureSubscriptionPayment_FeeAmountSchema.nullable().optional(),\n net_amount: PaypalCaptureSubscriptionPayment_NetAmountSchema.nullable().optional(),\n tax_amount: PaypalCaptureSubscriptionPayment_TaxAmountSchema.nullable().optional(),\n gross_amount: PaypalCaptureSubscriptionPayment_GrossAmountSchema.nullable(),\n shipping_amount: PaypalCaptureSubscriptionPayment_ShippingAmountSchema.nullable().optional(),\n total_item_amount: PaypalCaptureSubscriptionPayment_TotalItemAmountSchema.nullable().optional(),\n}).describe(\"The breakdown details for the amount.\");\nexport const PaypalCaptureSubscriptionPaymentOutput = z.object({\n id: z.string().describe(\"The PayPal-generated transaction ID.\").nullable(),\n time: z.string().describe(\"The date and time, in Internet date and time format.\").nullable(),\n status: PaypalCaptureSubscriptionPayment_CaptureStatusSchema.nullable().optional(),\n payer_name: PaypalCaptureSubscriptionPayment_PayerNameSchema.nullable().optional(),\n payer_email: z.string().describe(\"The internationalized email address of the payer.\").nullable().optional(),\n amount_with_breakdown: PaypalCaptureSubscriptionPayment_AmountWithBreakdownSchema.nullable(),\n}).describe(\"Response model for capturing authorized payment on subscription.\");\n\nexport const paypalCaptureSubscriptionPayment = action(\"PAYPAL_CAPTURE_SUBSCRIPTION_PAYMENT\", {\n slug: \"paypal-capture-subscription-payment\",\n name: \"Capture subscription payment\",\n description: \"Captures an authorized payment on a PayPal subscription. Use this action when you need to charge a subscriber for an outstanding balance or capture an authorized payment that was previously approved. This action captures payments for subscriptions that have an outstanding balance to be charged. The capture type must be OUTSTANDING_BALANCE, and you must provide the amount to capture along with a note explaining the reason for the charge.\",\n input: PaypalCaptureSubscriptionPaymentInput,\n output: PaypalCaptureSubscriptionPaymentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwC,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC3E,QAAQ,EAAE,OAAO;EACjB,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qLAAqL;EAChN,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;CAC/G,CAAC,CAAC,CAAC,SAAS,wCAAwC;CAClD,cAAc,EAAE,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,uEAAuE;AAChI,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,uDAAuD,EAAE,KAAK;CAAC;CAAa;CAAY;CAAsB;CAAW;CAAY;AAAQ,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACpM,MAAM,mDAAmD,EAAE,OAAO;CAChE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC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,6CAA6C,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,yDAAyD,EAAE,OAAO;CACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC3D,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,6DAA6D,EAAE,OAAO;CAC1E,YAAY,iDAAiD,SAAS,CAAC,CAAC,SAAS;CACjF,YAAY,iDAAiD,SAAS,CAAC,CAAC,SAAS;CACjF,YAAY,iDAAiD,SAAS,CAAC,CAAC,SAAS;CACjF,cAAc,mDAAmD,SAAS;CAC1E,iBAAiB,sDAAsD,SAAS,CAAC,CAAC,SAAS;CAC3F,mBAAmB,uDAAuD,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAUnD,MAAa,mCAAmC,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdoD,EAAE,OAAO;EAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC3F,QAAQ,qDAAqD,SAAS,CAAC,CAAC,SAAS;EACjF,YAAY,iDAAiD,SAAS,CAAC,CAAC,SAAS;EACjF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,uBAAuB,2DAA2D,SAAS;CAC7F,CAAC,CAAC,CAAC,SAAS,kEAOF;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"charge-payment-method.cjs","names":["z","action"],"sources":["../../src/actions/charge-payment-method.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalChargePaymentMethodInput
|
|
1
|
+
{"version":3,"file":"charge-payment-method.cjs","names":["z","action"],"sources":["../../src/actions/charge-payment-method.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalChargePaymentMethodInput = z.object({\n input: z.object({\n options: z.record(z.string(), z.unknown()).describe(\"Additional options for the charge operation such as submit for settlement immediately.\").optional(),\n transaction: z.object({\n amount: z.string().describe(\"The amount to charge. Must be a string representation of a decimal monetary value.\"),\n channel: z.string().describe(\"The channel through which the transaction was initiated.\").optional(),\n order_id: z.string().describe(\"The order ID for tracking the transaction.\").optional(),\n line_items: z.array(z.object({\n kind: z.string().describe(\"The kind of line item (e.g., 'debit' for a charge, 'credit' for a refund).\").optional(),\n name: z.string().describe(\"The name of the line item.\").optional(),\n quantity: z.string().describe(\"The quantity of the line item.\").optional(),\n description: z.string().describe(\"A description of the line item.\").optional(),\n unit_amount: z.string().describe(\"The unit amount for this line item.\").optional(),\n total_amount: z.string().describe(\"The total amount for this line item.\").optional(),\n}).passthrough().describe(\"Line item for transaction details.\")).describe(\"Line items for the transaction.\").optional(),\n tax_exempt: z.boolean().describe(\"Whether the transaction is tax exempt.\").optional(),\n device_data: z.string().describe(\"A JSON string containing device information for fraud prevention.\").optional(),\n billing_address: z.object({\n region: z.string().describe(\"The region/state.\").optional(),\n locality: z.string().describe(\"The locality/city.\").optional(),\n last_name: z.string().describe(\"The last name of the addressee.\").optional(),\n first_name: z.string().describe(\"The first name of the addressee.\").optional(),\n postal_code: z.string().describe(\"The postal/ZIP code.\").optional(),\n country_code: z.string().describe(\"The two-letter country code.\").optional(),\n street_address: z.string().describe(\"The street address line.\").optional(),\n extended_address: z.string().describe(\"The extended address line.\").optional(),\n}).describe(\"Input address details for a transaction.\").optional(),\n shipping_address: z.object({\n region: z.string().describe(\"The region/state.\").optional(),\n locality: z.string().describe(\"The locality/city.\").optional(),\n last_name: z.string().describe(\"The last name of the addressee.\").optional(),\n first_name: z.string().describe(\"The first name of the addressee.\").optional(),\n postal_code: z.string().describe(\"The postal/ZIP code.\").optional(),\n country_code: z.string().describe(\"The two-letter country code.\").optional(),\n street_address: z.string().describe(\"The street address line.\").optional(),\n extended_address: z.string().describe(\"The extended address line.\").optional(),\n}).describe(\"Input address details for a transaction.\").optional(),\n merchant_account_id: z.string().describe(\"The merchant account ID to use for the transaction. If not specified, uses the default merchant account.\").optional(),\n}).describe(\"The transaction details including amount and optional configuration.\"),\n payment_method_id: z.string().describe(\"The unique identifier of the payment method to charge.\"),\n}).describe(\"The input containing the payment method ID and transaction details.\"),\n}).describe(\"Request model for charging a payment method via Braintree GraphQL API.\\n\\nUse this action when you need to charge a customer's payment method (credit card,\\nPayPal account, etc.) and immediately capture funds. This creates a new Braintree\\ntransaction and captures funds immediately, beginning the process of transferring\\nmoney from the customer to your merchant account.\\n\\nThis action requires a valid payment method ID obtained from a previous tokenization\\noperation (e.g., client-side tokenization via Braintree client SDK).\");\nexport const PaypalChargePaymentMethodOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"The response data containing the transaction result.\").nullable().optional(),\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"GraphQL errors if the mutation failed.\").nullable().optional(),\n}).describe(\"Response model for charging a payment method.\\n\\nContains the transaction result or error information.\");\n\nexport const paypalChargePaymentMethod = action(\"PAYPAL_CHARGE_PAYMENT_METHOD\", {\n slug: \"paypal-charge-payment-method\",\n name: \"Charge Payment Method\",\n description: \"Charges a payment method and captures funds immediately using Braintree GraphQL API. Use this action when you need to charge a customer's stored payment method (credit card, PayPal account, Venmo account, etc.) and immediately capture the funds into your merchant account. This creates a Braintree transaction and begins the settlement process. The payment method ID should be obtained from a previous tokenization operation using the Braintree client SDK (e.g., `hostedFields.tokenize()` or PayPal button). Note: This action is irreversible once the transaction is successfully captured.\",\n input: PaypalChargePaymentMethodInput,\n output: PaypalChargePaymentMethodOutput,\n});\n"],"mappings":";;;AAIA,MAAa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AA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;GACzE,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EAC/E,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAC/D,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CAChK,CAAC,CAAC,CAAC,SAAS,sEAAsE;CAChF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;AACjG,CAAC,CAAC,CAAC,SAAS,qEAAqE,EACjF,CAAC,CAAC,CAAC,SAAS,ohBAAohB;AAChiB,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,wGAAwG;AAEpH,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,95 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/charge-payment-method.d.ts
|
|
4
|
-
declare const PaypalChargePaymentMethodInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PaypalChargePaymentMethodInput: z.ZodObject<{
|
|
5
|
+
input: z.ZodObject<{
|
|
6
|
+
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
7
|
+
transaction: z.ZodObject<{
|
|
8
|
+
amount: z.ZodString;
|
|
9
|
+
channel: z.ZodOptional<z.ZodString>;
|
|
10
|
+
order_id: z.ZodOptional<z.ZodString>;
|
|
11
|
+
line_items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
13
|
+
name: z.ZodOptional<z.ZodString>;
|
|
14
|
+
quantity: z.ZodOptional<z.ZodString>;
|
|
15
|
+
description: z.ZodOptional<z.ZodString>;
|
|
16
|
+
unit_amount: z.ZodOptional<z.ZodString>;
|
|
17
|
+
total_amount: z.ZodOptional<z.ZodString>;
|
|
18
|
+
}, z.core.$loose>>>;
|
|
19
|
+
tax_exempt: z.ZodOptional<z.ZodBoolean>;
|
|
20
|
+
device_data: z.ZodOptional<z.ZodString>;
|
|
21
|
+
billing_address: z.ZodOptional<z.ZodObject<{
|
|
22
|
+
region: z.ZodOptional<z.ZodString>;
|
|
23
|
+
locality: z.ZodOptional<z.ZodString>;
|
|
24
|
+
last_name: z.ZodOptional<z.ZodString>;
|
|
25
|
+
first_name: z.ZodOptional<z.ZodString>;
|
|
26
|
+
postal_code: z.ZodOptional<z.ZodString>;
|
|
27
|
+
country_code: z.ZodOptional<z.ZodString>;
|
|
28
|
+
street_address: z.ZodOptional<z.ZodString>;
|
|
29
|
+
extended_address: z.ZodOptional<z.ZodString>;
|
|
30
|
+
}, z.core.$strip>>;
|
|
31
|
+
shipping_address: z.ZodOptional<z.ZodObject<{
|
|
32
|
+
region: z.ZodOptional<z.ZodString>;
|
|
33
|
+
locality: z.ZodOptional<z.ZodString>;
|
|
34
|
+
last_name: z.ZodOptional<z.ZodString>;
|
|
35
|
+
first_name: z.ZodOptional<z.ZodString>;
|
|
36
|
+
postal_code: z.ZodOptional<z.ZodString>;
|
|
37
|
+
country_code: z.ZodOptional<z.ZodString>;
|
|
38
|
+
street_address: z.ZodOptional<z.ZodString>;
|
|
39
|
+
extended_address: z.ZodOptional<z.ZodString>;
|
|
40
|
+
}, z.core.$strip>>;
|
|
41
|
+
merchant_account_id: z.ZodOptional<z.ZodString>;
|
|
42
|
+
}, z.core.$strip>;
|
|
43
|
+
payment_method_id: z.ZodString;
|
|
44
|
+
}, z.core.$strip>;
|
|
45
|
+
}, z.core.$strip>;
|
|
46
|
+
declare const PaypalChargePaymentMethodOutput: z.ZodObject<{
|
|
47
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
48
|
+
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
49
|
+
}, z.core.$strip>;
|
|
50
|
+
declare const paypalChargePaymentMethod: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
51
|
+
input: {
|
|
52
|
+
transaction: {
|
|
53
|
+
amount: string;
|
|
54
|
+
channel?: string | undefined;
|
|
55
|
+
order_id?: string | undefined;
|
|
56
|
+
line_items?: {
|
|
57
|
+
[x: string]: unknown;
|
|
58
|
+
kind?: string | undefined;
|
|
59
|
+
name?: string | undefined;
|
|
60
|
+
quantity?: string | undefined;
|
|
61
|
+
description?: string | undefined;
|
|
62
|
+
unit_amount?: string | undefined;
|
|
63
|
+
total_amount?: string | undefined;
|
|
64
|
+
}[] | undefined;
|
|
65
|
+
tax_exempt?: boolean | undefined;
|
|
66
|
+
device_data?: string | undefined;
|
|
67
|
+
billing_address?: {
|
|
68
|
+
region?: string | undefined;
|
|
69
|
+
locality?: string | undefined;
|
|
70
|
+
last_name?: string | undefined;
|
|
71
|
+
first_name?: string | undefined;
|
|
72
|
+
postal_code?: string | undefined;
|
|
73
|
+
country_code?: string | undefined;
|
|
74
|
+
street_address?: string | undefined;
|
|
75
|
+
extended_address?: string | undefined;
|
|
76
|
+
} | undefined;
|
|
77
|
+
shipping_address?: {
|
|
78
|
+
region?: string | undefined;
|
|
79
|
+
locality?: string | undefined;
|
|
80
|
+
last_name?: string | undefined;
|
|
81
|
+
first_name?: string | undefined;
|
|
82
|
+
postal_code?: string | undefined;
|
|
83
|
+
country_code?: string | undefined;
|
|
84
|
+
street_address?: string | undefined;
|
|
85
|
+
extended_address?: string | undefined;
|
|
86
|
+
} | undefined;
|
|
87
|
+
merchant_account_id?: string | undefined;
|
|
88
|
+
};
|
|
89
|
+
payment_method_id: string;
|
|
90
|
+
options?: Record<string, unknown> | undefined;
|
|
91
|
+
};
|
|
92
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
93
|
//#endregion
|
|
8
94
|
export { paypalChargePaymentMethod };
|
|
9
95
|
//# sourceMappingURL=charge-payment-method.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"charge-payment-method.d.cts","names":[],"sources":["../../src/actions/charge-payment-method.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"charge-payment-method.d.cts","names":[],"sources":["../../src/actions/charge-payment-method.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA0C9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAK/B,yBAAA,gCAAyB,wBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMpC,MAAA;EAAA;AAAA"}
|