@keystrokehq/paypal 0.1.0
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/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/activate-plan.cjs +19 -0
- package/dist/actions/activate-plan.cjs.map +1 -0
- package/dist/actions/activate-plan.d.cts +9 -0
- package/dist/actions/activate-plan.d.cts.map +1 -0
- package/dist/actions/activate-plan.d.mts +9 -0
- package/dist/actions/activate-plan.d.mts.map +1 -0
- package/dist/actions/activate-plan.mjs +16 -0
- package/dist/actions/activate-plan.mjs.map +1 -0
- package/dist/actions/add-batch-trackers.cjs +62 -0
- package/dist/actions/add-batch-trackers.cjs.map +1 -0
- package/dist/actions/add-batch-trackers.d.cts +9 -0
- package/dist/actions/add-batch-trackers.d.cts.map +1 -0
- package/dist/actions/add-batch-trackers.d.mts +9 -0
- package/dist/actions/add-batch-trackers.d.mts.map +1 -0
- package/dist/actions/add-batch-trackers.mjs +61 -0
- package/dist/actions/add-batch-trackers.mjs.map +1 -0
- package/dist/actions/authorize-order.cjs +101 -0
- package/dist/actions/authorize-order.cjs.map +1 -0
- package/dist/actions/authorize-order.d.cts +9 -0
- package/dist/actions/authorize-order.d.cts.map +1 -0
- package/dist/actions/authorize-order.d.mts +9 -0
- package/dist/actions/authorize-order.d.mts.map +1 -0
- package/dist/actions/authorize-order.mjs +100 -0
- package/dist/actions/authorize-order.mjs.map +1 -0
- package/dist/actions/cancel-invoice.cjs +44 -0
- package/dist/actions/cancel-invoice.cjs.map +1 -0
- package/dist/actions/cancel-invoice.d.cts +9 -0
- package/dist/actions/cancel-invoice.d.cts.map +1 -0
- package/dist/actions/cancel-invoice.d.mts +9 -0
- package/dist/actions/cancel-invoice.d.mts.map +1 -0
- package/dist/actions/cancel-invoice.mjs +43 -0
- package/dist/actions/cancel-invoice.mjs.map +1 -0
- package/dist/actions/cancel-reminders.cjs +36 -0
- package/dist/actions/cancel-reminders.cjs.map +1 -0
- package/dist/actions/cancel-reminders.d.cts +9 -0
- package/dist/actions/cancel-reminders.d.cts.map +1 -0
- package/dist/actions/cancel-reminders.d.mts +9 -0
- package/dist/actions/cancel-reminders.d.mts.map +1 -0
- package/dist/actions/cancel-reminders.mjs +35 -0
- package/dist/actions/cancel-reminders.mjs.map +1 -0
- package/dist/actions/capture-subscription-payment.cjs +79 -0
- package/dist/actions/capture-subscription-payment.cjs.map +1 -0
- package/dist/actions/capture-subscription-payment.d.cts +9 -0
- package/dist/actions/capture-subscription-payment.d.cts.map +1 -0
- package/dist/actions/capture-subscription-payment.d.mts +9 -0
- package/dist/actions/capture-subscription-payment.d.mts.map +1 -0
- package/dist/actions/capture-subscription-payment.mjs +78 -0
- package/dist/actions/capture-subscription-payment.mjs.map +1 -0
- package/dist/actions/charge-payment-method.cjs +58 -0
- package/dist/actions/charge-payment-method.cjs.map +1 -0
- package/dist/actions/charge-payment-method.d.cts +9 -0
- package/dist/actions/charge-payment-method.d.cts.map +1 -0
- package/dist/actions/charge-payment-method.d.mts +9 -0
- package/dist/actions/charge-payment-method.d.mts.map +1 -0
- package/dist/actions/charge-payment-method.mjs +55 -0
- package/dist/actions/charge-payment-method.mjs.map +1 -0
- package/dist/actions/create-invoice.cjs +294 -0
- package/dist/actions/create-invoice.cjs.map +1 -0
- package/dist/actions/create-invoice.d.cts +9 -0
- package/dist/actions/create-invoice.d.cts.map +1 -0
- package/dist/actions/create-invoice.d.mts +9 -0
- package/dist/actions/create-invoice.d.mts.map +1 -0
- package/dist/actions/create-invoice.mjs +293 -0
- package/dist/actions/create-invoice.mjs.map +1 -0
- package/dist/actions/create-payment.cjs +178 -0
- package/dist/actions/create-payment.cjs.map +1 -0
- package/dist/actions/create-payment.d.cts +9 -0
- package/dist/actions/create-payment.d.cts.map +1 -0
- package/dist/actions/create-payment.d.mts +9 -0
- package/dist/actions/create-payment.d.mts.map +1 -0
- package/dist/actions/create-payment.mjs +177 -0
- package/dist/actions/create-payment.mjs.map +1 -0
- package/dist/actions/create-payments-billing-plans.cjs +111 -0
- package/dist/actions/create-payments-billing-plans.cjs.map +1 -0
- package/dist/actions/create-payments-billing-plans.d.cts +9 -0
- package/dist/actions/create-payments-billing-plans.d.cts.map +1 -0
- package/dist/actions/create-payments-billing-plans.d.mts +9 -0
- package/dist/actions/create-payments-billing-plans.d.mts.map +1 -0
- package/dist/actions/create-payments-billing-plans.mjs +110 -0
- package/dist/actions/create-payments-billing-plans.mjs.map +1 -0
- package/dist/actions/create-plan.cjs +119 -0
- package/dist/actions/create-plan.cjs.map +1 -0
- package/dist/actions/create-plan.d.cts +9 -0
- package/dist/actions/create-plan.d.cts.map +1 -0
- package/dist/actions/create-plan.d.mts +9 -0
- package/dist/actions/create-plan.d.mts.map +1 -0
- package/dist/actions/create-plan.mjs +118 -0
- package/dist/actions/create-plan.mjs.map +1 -0
- package/dist/actions/create-product.cjs +190 -0
- package/dist/actions/create-product.cjs.map +1 -0
- package/dist/actions/create-product.d.cts +9 -0
- package/dist/actions/create-product.d.cts.map +1 -0
- package/dist/actions/create-product.d.mts +9 -0
- package/dist/actions/create-product.d.mts.map +1 -0
- package/dist/actions/create-product.mjs +189 -0
- package/dist/actions/create-product.mjs.map +1 -0
- package/dist/actions/create-subscription.cjs +183 -0
- package/dist/actions/create-subscription.cjs.map +1 -0
- package/dist/actions/create-subscription.d.cts +9 -0
- package/dist/actions/create-subscription.d.cts.map +1 -0
- package/dist/actions/create-subscription.d.mts +9 -0
- package/dist/actions/create-subscription.d.mts.map +1 -0
- package/dist/actions/create-subscription.mjs +182 -0
- package/dist/actions/create-subscription.mjs.map +1 -0
- package/dist/actions/create-template.cjs +234 -0
- package/dist/actions/create-template.cjs.map +1 -0
- package/dist/actions/create-template.d.cts +9 -0
- package/dist/actions/create-template.d.cts.map +1 -0
- package/dist/actions/create-template.d.mts +9 -0
- package/dist/actions/create-template.d.mts.map +1 -0
- package/dist/actions/create-template.mjs +233 -0
- package/dist/actions/create-template.mjs.map +1 -0
- package/dist/actions/create-web-profile.cjs +66 -0
- package/dist/actions/create-web-profile.cjs.map +1 -0
- package/dist/actions/create-web-profile.d.cts +9 -0
- package/dist/actions/create-web-profile.d.cts.map +1 -0
- package/dist/actions/create-web-profile.d.mts +9 -0
- package/dist/actions/create-web-profile.d.mts.map +1 -0
- package/dist/actions/create-web-profile.mjs +65 -0
- package/dist/actions/create-web-profile.mjs.map +1 -0
- package/dist/actions/create-webhook-lookup.cjs +25 -0
- package/dist/actions/create-webhook-lookup.cjs.map +1 -0
- package/dist/actions/create-webhook-lookup.d.cts +9 -0
- package/dist/actions/create-webhook-lookup.d.cts.map +1 -0
- package/dist/actions/create-webhook-lookup.d.mts +9 -0
- package/dist/actions/create-webhook-lookup.d.mts.map +1 -0
- package/dist/actions/create-webhook-lookup.mjs +24 -0
- package/dist/actions/create-webhook-lookup.mjs.map +1 -0
- package/dist/actions/create-webhook.cjs +39 -0
- package/dist/actions/create-webhook.cjs.map +1 -0
- package/dist/actions/create-webhook.d.cts +9 -0
- package/dist/actions/create-webhook.d.cts.map +1 -0
- package/dist/actions/create-webhook.d.mts +9 -0
- package/dist/actions/create-webhook.d.mts.map +1 -0
- package/dist/actions/create-webhook.mjs +38 -0
- package/dist/actions/create-webhook.mjs.map +1 -0
- package/dist/actions/deactivate-plan.cjs +19 -0
- package/dist/actions/deactivate-plan.cjs.map +1 -0
- package/dist/actions/deactivate-plan.d.cts +9 -0
- package/dist/actions/deactivate-plan.d.cts.map +1 -0
- package/dist/actions/deactivate-plan.d.mts +9 -0
- package/dist/actions/deactivate-plan.d.mts.map +1 -0
- package/dist/actions/deactivate-plan.mjs +16 -0
- package/dist/actions/deactivate-plan.mjs.map +1 -0
- package/dist/actions/delete-external-payment.cjs +23 -0
- package/dist/actions/delete-external-payment.cjs.map +1 -0
- package/dist/actions/delete-external-payment.d.cts +9 -0
- package/dist/actions/delete-external-payment.d.cts.map +1 -0
- package/dist/actions/delete-external-payment.d.mts +9 -0
- package/dist/actions/delete-external-payment.d.mts.map +1 -0
- package/dist/actions/delete-external-payment.mjs +20 -0
- package/dist/actions/delete-external-payment.mjs.map +1 -0
- package/dist/actions/delete-invoice-payment-record.cjs +23 -0
- package/dist/actions/delete-invoice-payment-record.cjs.map +1 -0
- package/dist/actions/delete-invoice-payment-record.d.cts +9 -0
- package/dist/actions/delete-invoice-payment-record.d.cts.map +1 -0
- package/dist/actions/delete-invoice-payment-record.d.mts +9 -0
- package/dist/actions/delete-invoice-payment-record.d.mts.map +1 -0
- package/dist/actions/delete-invoice-payment-record.mjs +20 -0
- package/dist/actions/delete-invoice-payment-record.mjs.map +1 -0
- package/dist/actions/delete-invoice-refund-record.cjs +22 -0
- package/dist/actions/delete-invoice-refund-record.cjs.map +1 -0
- package/dist/actions/delete-invoice-refund-record.d.cts +9 -0
- package/dist/actions/delete-invoice-refund-record.d.cts.map +1 -0
- package/dist/actions/delete-invoice-refund-record.d.mts +9 -0
- package/dist/actions/delete-invoice-refund-record.d.mts.map +1 -0
- package/dist/actions/delete-invoice-refund-record.mjs +19 -0
- package/dist/actions/delete-invoice-refund-record.mjs.map +1 -0
- package/dist/actions/delete-invoice.cjs +36 -0
- package/dist/actions/delete-invoice.cjs.map +1 -0
- package/dist/actions/delete-invoice.d.cts +9 -0
- package/dist/actions/delete-invoice.d.cts.map +1 -0
- package/dist/actions/delete-invoice.d.mts +9 -0
- package/dist/actions/delete-invoice.d.mts.map +1 -0
- package/dist/actions/delete-invoice.mjs +35 -0
- package/dist/actions/delete-invoice.mjs.map +1 -0
- package/dist/actions/delete-payment-resource.cjs +19 -0
- package/dist/actions/delete-payment-resource.cjs.map +1 -0
- package/dist/actions/delete-payment-resource.d.cts +9 -0
- package/dist/actions/delete-payment-resource.d.cts.map +1 -0
- package/dist/actions/delete-payment-resource.d.mts +9 -0
- package/dist/actions/delete-payment-resource.d.mts.map +1 -0
- package/dist/actions/delete-payment-resource.mjs +16 -0
- package/dist/actions/delete-payment-resource.mjs.map +1 -0
- package/dist/actions/delete-template.cjs +36 -0
- package/dist/actions/delete-template.cjs.map +1 -0
- package/dist/actions/delete-template.d.cts +9 -0
- package/dist/actions/delete-template.d.cts.map +1 -0
- package/dist/actions/delete-template.d.mts +9 -0
- package/dist/actions/delete-template.d.mts.map +1 -0
- package/dist/actions/delete-template.mjs +35 -0
- package/dist/actions/delete-template.mjs.map +1 -0
- package/dist/actions/delete-web-profile.cjs +19 -0
- package/dist/actions/delete-web-profile.cjs.map +1 -0
- package/dist/actions/delete-web-profile.d.cts +9 -0
- package/dist/actions/delete-web-profile.d.cts.map +1 -0
- package/dist/actions/delete-web-profile.d.mts +9 -0
- package/dist/actions/delete-web-profile.d.mts.map +1 -0
- package/dist/actions/delete-web-profile.mjs +16 -0
- package/dist/actions/delete-web-profile.mjs.map +1 -0
- package/dist/actions/delete-webhook.cjs +35 -0
- package/dist/actions/delete-webhook.cjs.map +1 -0
- package/dist/actions/delete-webhook.d.cts +9 -0
- package/dist/actions/delete-webhook.d.cts.map +1 -0
- package/dist/actions/delete-webhook.d.mts +9 -0
- package/dist/actions/delete-webhook.d.mts.map +1 -0
- package/dist/actions/delete-webhook.mjs +34 -0
- package/dist/actions/delete-webhook.mjs.map +1 -0
- package/dist/actions/fetch-node.cjs +30 -0
- package/dist/actions/fetch-node.cjs.map +1 -0
- package/dist/actions/fetch-node.d.cts +9 -0
- package/dist/actions/fetch-node.d.cts.map +1 -0
- package/dist/actions/fetch-node.d.mts +9 -0
- package/dist/actions/fetch-node.d.mts.map +1 -0
- package/dist/actions/fetch-node.mjs +29 -0
- package/dist/actions/fetch-node.mjs.map +1 -0
- package/dist/actions/finalize-pay-pal-braintree-dispute.cjs +21 -0
- package/dist/actions/finalize-pay-pal-braintree-dispute.cjs.map +1 -0
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.cts +9 -0
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.cts.map +1 -0
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.mts +9 -0
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.mts.map +1 -0
- package/dist/actions/finalize-pay-pal-braintree-dispute.mjs +20 -0
- package/dist/actions/finalize-pay-pal-braintree-dispute.mjs.map +1 -0
- package/dist/actions/find-eligible-methods.cjs +87 -0
- package/dist/actions/find-eligible-methods.cjs.map +1 -0
- package/dist/actions/find-eligible-methods.d.cts +9 -0
- package/dist/actions/find-eligible-methods.d.cts.map +1 -0
- package/dist/actions/find-eligible-methods.d.mts +9 -0
- package/dist/actions/find-eligible-methods.d.mts.map +1 -0
- package/dist/actions/find-eligible-methods.mjs +86 -0
- package/dist/actions/find-eligible-methods.mjs.map +1 -0
- package/dist/actions/generate-client-token.cjs +20 -0
- package/dist/actions/generate-client-token.cjs.map +1 -0
- package/dist/actions/generate-client-token.d.cts +9 -0
- package/dist/actions/generate-client-token.d.cts.map +1 -0
- package/dist/actions/generate-client-token.d.mts +9 -0
- package/dist/actions/generate-client-token.d.mts.map +1 -0
- package/dist/actions/generate-client-token.mjs +17 -0
- package/dist/actions/generate-client-token.mjs.map +1 -0
- package/dist/actions/generate-next-invoice-number-v2.cjs +19 -0
- package/dist/actions/generate-next-invoice-number-v2.cjs.map +1 -0
- package/dist/actions/generate-next-invoice-number-v2.d.cts +9 -0
- package/dist/actions/generate-next-invoice-number-v2.d.cts.map +1 -0
- package/dist/actions/generate-next-invoice-number-v2.d.mts +9 -0
- package/dist/actions/generate-next-invoice-number-v2.d.mts.map +1 -0
- package/dist/actions/generate-next-invoice-number-v2.mjs +16 -0
- package/dist/actions/generate-next-invoice-number-v2.mjs.map +1 -0
- package/dist/actions/generate-next-invoice-number.cjs +16 -0
- package/dist/actions/generate-next-invoice-number.cjs.map +1 -0
- package/dist/actions/generate-next-invoice-number.d.cts +9 -0
- package/dist/actions/generate-next-invoice-number.d.cts.map +1 -0
- package/dist/actions/generate-next-invoice-number.d.mts +9 -0
- package/dist/actions/generate-next-invoice-number.d.mts.map +1 -0
- package/dist/actions/generate-next-invoice-number.mjs +13 -0
- package/dist/actions/generate-next-invoice-number.mjs.map +1 -0
- package/dist/actions/generate-qr-code.cjs +46 -0
- package/dist/actions/generate-qr-code.cjs.map +1 -0
- package/dist/actions/generate-qr-code.d.cts +9 -0
- package/dist/actions/generate-qr-code.d.cts.map +1 -0
- package/dist/actions/generate-qr-code.d.mts +9 -0
- package/dist/actions/generate-qr-code.d.mts.map +1 -0
- package/dist/actions/generate-qr-code.mjs +45 -0
- package/dist/actions/generate-qr-code.mjs.map +1 -0
- package/dist/actions/get-billing-subscriptions.cjs +98 -0
- package/dist/actions/get-billing-subscriptions.cjs.map +1 -0
- package/dist/actions/get-billing-subscriptions.d.cts +9 -0
- package/dist/actions/get-billing-subscriptions.d.cts.map +1 -0
- package/dist/actions/get-billing-subscriptions.d.mts +9 -0
- package/dist/actions/get-billing-subscriptions.d.mts.map +1 -0
- package/dist/actions/get-billing-subscriptions.mjs +97 -0
- package/dist/actions/get-billing-subscriptions.mjs.map +1 -0
- package/dist/actions/get-invoice.cjs +159 -0
- package/dist/actions/get-invoice.cjs.map +1 -0
- package/dist/actions/get-invoice.d.cts +9 -0
- package/dist/actions/get-invoice.d.cts.map +1 -0
- package/dist/actions/get-invoice.d.mts +9 -0
- package/dist/actions/get-invoice.d.mts.map +1 -0
- package/dist/actions/get-invoice.mjs +158 -0
- package/dist/actions/get-invoice.mjs.map +1 -0
- package/dist/actions/get-invoicing-invoices-qr-code.cjs +29 -0
- package/dist/actions/get-invoicing-invoices-qr-code.cjs.map +1 -0
- package/dist/actions/get-invoicing-invoices-qr-code.d.cts +9 -0
- package/dist/actions/get-invoicing-invoices-qr-code.d.cts.map +1 -0
- package/dist/actions/get-invoicing-invoices-qr-code.d.mts +9 -0
- package/dist/actions/get-invoicing-invoices-qr-code.d.mts.map +1 -0
- package/dist/actions/get-invoicing-invoices-qr-code.mjs +28 -0
- package/dist/actions/get-invoicing-invoices-qr-code.mjs.map +1 -0
- package/dist/actions/get-invoicing-template.cjs +136 -0
- package/dist/actions/get-invoicing-template.cjs.map +1 -0
- package/dist/actions/get-invoicing-template.d.cts +9 -0
- package/dist/actions/get-invoicing-template.d.cts.map +1 -0
- package/dist/actions/get-invoicing-template.d.mts +9 -0
- package/dist/actions/get-invoicing-template.d.mts.map +1 -0
- package/dist/actions/get-invoicing-template.mjs +135 -0
- package/dist/actions/get-invoicing-template.mjs.map +1 -0
- package/dist/actions/get-order.cjs +112 -0
- package/dist/actions/get-order.cjs.map +1 -0
- package/dist/actions/get-order.d.cts +9 -0
- package/dist/actions/get-order.d.cts.map +1 -0
- package/dist/actions/get-order.d.mts +9 -0
- package/dist/actions/get-order.d.mts.map +1 -0
- package/dist/actions/get-order.mjs +111 -0
- package/dist/actions/get-order.mjs.map +1 -0
- package/dist/actions/get-payment.cjs +98 -0
- package/dist/actions/get-payment.cjs.map +1 -0
- package/dist/actions/get-payment.d.cts +9 -0
- package/dist/actions/get-payment.d.cts.map +1 -0
- package/dist/actions/get-payment.d.mts +9 -0
- package/dist/actions/get-payment.d.mts.map +1 -0
- package/dist/actions/get-payment.mjs +97 -0
- package/dist/actions/get-payment.mjs.map +1 -0
- package/dist/actions/get-payments-refund.cjs +37 -0
- package/dist/actions/get-payments-refund.cjs.map +1 -0
- package/dist/actions/get-payments-refund.d.cts +9 -0
- package/dist/actions/get-payments-refund.d.cts.map +1 -0
- package/dist/actions/get-payments-refund.d.mts +9 -0
- package/dist/actions/get-payments-refund.d.mts.map +1 -0
- package/dist/actions/get-payments-refund.mjs +36 -0
- package/dist/actions/get-payments-refund.mjs.map +1 -0
- package/dist/actions/get-plan.cjs +69 -0
- package/dist/actions/get-plan.cjs.map +1 -0
- package/dist/actions/get-plan.d.cts +9 -0
- package/dist/actions/get-plan.d.cts.map +1 -0
- package/dist/actions/get-plan.d.mts +9 -0
- package/dist/actions/get-plan.d.mts.map +1 -0
- package/dist/actions/get-plan.mjs +68 -0
- package/dist/actions/get-plan.mjs.map +1 -0
- package/dist/actions/get-product.cjs +32 -0
- package/dist/actions/get-product.cjs.map +1 -0
- package/dist/actions/get-product.d.cts +9 -0
- package/dist/actions/get-product.d.cts.map +1 -0
- package/dist/actions/get-product.d.mts +9 -0
- package/dist/actions/get-product.d.mts.map +1 -0
- package/dist/actions/get-product.mjs +31 -0
- package/dist/actions/get-product.mjs.map +1 -0
- package/dist/actions/get-subscription.cjs +88 -0
- package/dist/actions/get-subscription.cjs.map +1 -0
- package/dist/actions/get-subscription.d.cts +9 -0
- package/dist/actions/get-subscription.d.cts.map +1 -0
- package/dist/actions/get-subscription.d.mts +9 -0
- package/dist/actions/get-subscription.d.mts.map +1 -0
- package/dist/actions/get-subscription.mjs +87 -0
- package/dist/actions/get-subscription.mjs.map +1 -0
- package/dist/actions/get-user-info.cjs +43 -0
- package/dist/actions/get-user-info.cjs.map +1 -0
- package/dist/actions/get-user-info.d.cts +9 -0
- package/dist/actions/get-user-info.d.cts.map +1 -0
- package/dist/actions/get-user-info.d.mts +9 -0
- package/dist/actions/get-user-info.d.mts.map +1 -0
- package/dist/actions/get-user-info.mjs +42 -0
- package/dist/actions/get-user-info.mjs.map +1 -0
- package/dist/actions/get-userinfo.cjs +55 -0
- package/dist/actions/get-userinfo.cjs.map +1 -0
- package/dist/actions/get-userinfo.d.cts +9 -0
- package/dist/actions/get-userinfo.d.cts.map +1 -0
- package/dist/actions/get-userinfo.d.mts +9 -0
- package/dist/actions/get-userinfo.d.mts.map +1 -0
- package/dist/actions/get-userinfo.mjs +54 -0
- package/dist/actions/get-userinfo.mjs.map +1 -0
- package/dist/actions/get-web-profile.cjs +38 -0
- package/dist/actions/get-web-profile.cjs.map +1 -0
- package/dist/actions/get-web-profile.d.cts +9 -0
- package/dist/actions/get-web-profile.d.cts.map +1 -0
- package/dist/actions/get-web-profile.d.mts +9 -0
- package/dist/actions/get-web-profile.d.mts.map +1 -0
- package/dist/actions/get-web-profile.mjs +37 -0
- package/dist/actions/get-web-profile.mjs.map +1 -0
- package/dist/actions/get-webhook-lookup.cjs +25 -0
- package/dist/actions/get-webhook-lookup.cjs.map +1 -0
- package/dist/actions/get-webhook-lookup.d.cts +9 -0
- package/dist/actions/get-webhook-lookup.d.cts.map +1 -0
- package/dist/actions/get-webhook-lookup.d.mts +9 -0
- package/dist/actions/get-webhook-lookup.d.mts.map +1 -0
- package/dist/actions/get-webhook-lookup.mjs +24 -0
- package/dist/actions/get-webhook-lookup.mjs.map +1 -0
- package/dist/actions/get-webhook.cjs +33 -0
- package/dist/actions/get-webhook.cjs.map +1 -0
- package/dist/actions/get-webhook.d.cts +9 -0
- package/dist/actions/get-webhook.d.cts.map +1 -0
- package/dist/actions/get-webhook.d.mts +9 -0
- package/dist/actions/get-webhook.d.mts.map +1 -0
- package/dist/actions/get-webhook.mjs +32 -0
- package/dist/actions/get-webhook.mjs.map +1 -0
- package/dist/actions/index.cjs +157 -0
- package/dist/actions/index.d.cts +79 -0
- package/dist/actions/index.d.mts +79 -0
- package/dist/actions/index.mjs +79 -0
- package/dist/actions/list-disputes.cjs +62 -0
- package/dist/actions/list-disputes.cjs.map +1 -0
- package/dist/actions/list-disputes.d.cts +9 -0
- package/dist/actions/list-disputes.d.cts.map +1 -0
- package/dist/actions/list-disputes.d.mts +9 -0
- package/dist/actions/list-disputes.d.mts.map +1 -0
- package/dist/actions/list-disputes.mjs +61 -0
- package/dist/actions/list-disputes.mjs.map +1 -0
- package/dist/actions/list-invoices.cjs +81 -0
- package/dist/actions/list-invoices.cjs.map +1 -0
- package/dist/actions/list-invoices.d.cts +9 -0
- package/dist/actions/list-invoices.d.cts.map +1 -0
- package/dist/actions/list-invoices.d.mts +9 -0
- package/dist/actions/list-invoices.d.mts.map +1 -0
- package/dist/actions/list-invoices.mjs +80 -0
- package/dist/actions/list-invoices.mjs.map +1 -0
- package/dist/actions/list-legacy-billing-plans.cjs +87 -0
- package/dist/actions/list-legacy-billing-plans.cjs.map +1 -0
- package/dist/actions/list-legacy-billing-plans.d.cts +9 -0
- package/dist/actions/list-legacy-billing-plans.d.cts.map +1 -0
- package/dist/actions/list-legacy-billing-plans.d.mts +9 -0
- package/dist/actions/list-legacy-billing-plans.d.mts.map +1 -0
- package/dist/actions/list-legacy-billing-plans.mjs +86 -0
- package/dist/actions/list-legacy-billing-plans.mjs.map +1 -0
- package/dist/actions/list-payments.cjs +112 -0
- package/dist/actions/list-payments.cjs.map +1 -0
- package/dist/actions/list-payments.d.cts +9 -0
- package/dist/actions/list-payments.d.cts.map +1 -0
- package/dist/actions/list-payments.d.mts +9 -0
- package/dist/actions/list-payments.d.mts.map +1 -0
- package/dist/actions/list-payments.mjs +111 -0
- package/dist/actions/list-payments.mjs.map +1 -0
- package/dist/actions/list-plans.cjs +66 -0
- package/dist/actions/list-plans.cjs.map +1 -0
- package/dist/actions/list-plans.d.cts +9 -0
- package/dist/actions/list-plans.d.cts.map +1 -0
- package/dist/actions/list-plans.d.mts +9 -0
- package/dist/actions/list-plans.d.mts.map +1 -0
- package/dist/actions/list-plans.mjs +65 -0
- package/dist/actions/list-plans.mjs.map +1 -0
- package/dist/actions/list-products.cjs +37 -0
- package/dist/actions/list-products.cjs.map +1 -0
- package/dist/actions/list-products.d.cts +9 -0
- package/dist/actions/list-products.d.cts.map +1 -0
- package/dist/actions/list-products.d.mts +9 -0
- package/dist/actions/list-products.d.mts.map +1 -0
- package/dist/actions/list-products.mjs +36 -0
- package/dist/actions/list-products.mjs.map +1 -0
- package/dist/actions/list-templates.cjs +74 -0
- package/dist/actions/list-templates.cjs.map +1 -0
- package/dist/actions/list-templates.d.cts +9 -0
- package/dist/actions/list-templates.d.cts.map +1 -0
- package/dist/actions/list-templates.d.mts +9 -0
- package/dist/actions/list-templates.d.mts.map +1 -0
- package/dist/actions/list-templates.mjs +73 -0
- package/dist/actions/list-templates.mjs.map +1 -0
- package/dist/actions/list-web-profiles.cjs +48 -0
- package/dist/actions/list-web-profiles.cjs.map +1 -0
- package/dist/actions/list-web-profiles.d.cts +9 -0
- package/dist/actions/list-web-profiles.d.cts.map +1 -0
- package/dist/actions/list-web-profiles.d.mts +9 -0
- package/dist/actions/list-web-profiles.d.mts.map +1 -0
- package/dist/actions/list-web-profiles.mjs +47 -0
- package/dist/actions/list-web-profiles.mjs.map +1 -0
- package/dist/actions/list-webhook-event-type-subscriptions.cjs +23 -0
- package/dist/actions/list-webhook-event-type-subscriptions.cjs.map +1 -0
- package/dist/actions/list-webhook-event-type-subscriptions.d.cts +9 -0
- package/dist/actions/list-webhook-event-type-subscriptions.d.cts.map +1 -0
- package/dist/actions/list-webhook-event-type-subscriptions.d.mts +9 -0
- package/dist/actions/list-webhook-event-type-subscriptions.d.mts.map +1 -0
- package/dist/actions/list-webhook-event-type-subscriptions.mjs +22 -0
- package/dist/actions/list-webhook-event-type-subscriptions.mjs.map +1 -0
- package/dist/actions/list-webhook-event-types.cjs +23 -0
- package/dist/actions/list-webhook-event-types.cjs.map +1 -0
- package/dist/actions/list-webhook-event-types.d.cts +9 -0
- package/dist/actions/list-webhook-event-types.d.cts.map +1 -0
- package/dist/actions/list-webhook-event-types.d.mts +9 -0
- package/dist/actions/list-webhook-event-types.d.mts.map +1 -0
- package/dist/actions/list-webhook-event-types.mjs +22 -0
- package/dist/actions/list-webhook-event-types.mjs.map +1 -0
- package/dist/actions/list-webhook-lookups.cjs +26 -0
- package/dist/actions/list-webhook-lookups.cjs.map +1 -0
- package/dist/actions/list-webhook-lookups.d.cts +9 -0
- package/dist/actions/list-webhook-lookups.d.cts.map +1 -0
- package/dist/actions/list-webhook-lookups.d.mts +9 -0
- package/dist/actions/list-webhook-lookups.d.mts.map +1 -0
- package/dist/actions/list-webhook-lookups.mjs +25 -0
- package/dist/actions/list-webhook-lookups.mjs.map +1 -0
- package/dist/actions/list-webhooks.cjs +31 -0
- package/dist/actions/list-webhooks.cjs.map +1 -0
- package/dist/actions/list-webhooks.d.cts +9 -0
- package/dist/actions/list-webhooks.d.cts.map +1 -0
- package/dist/actions/list-webhooks.d.mts +9 -0
- package/dist/actions/list-webhooks.d.mts.map +1 -0
- package/dist/actions/list-webhooks.mjs +30 -0
- package/dist/actions/list-webhooks.mjs.map +1 -0
- package/dist/actions/patch-orders.cjs +43 -0
- package/dist/actions/patch-orders.cjs.map +1 -0
- package/dist/actions/patch-orders.d.cts +9 -0
- package/dist/actions/patch-orders.d.cts.map +1 -0
- package/dist/actions/patch-orders.d.mts +9 -0
- package/dist/actions/patch-orders.d.mts.map +1 -0
- package/dist/actions/patch-orders.mjs +40 -0
- package/dist/actions/patch-orders.mjs.map +1 -0
- package/dist/actions/patch-plan.cjs +34 -0
- package/dist/actions/patch-plan.cjs.map +1 -0
- package/dist/actions/patch-plan.d.cts +9 -0
- package/dist/actions/patch-plan.d.cts.map +1 -0
- package/dist/actions/patch-plan.d.mts +9 -0
- package/dist/actions/patch-plan.d.mts.map +1 -0
- package/dist/actions/patch-plan.mjs +31 -0
- package/dist/actions/patch-plan.mjs.map +1 -0
- package/dist/actions/patch-subscription.cjs +49 -0
- package/dist/actions/patch-subscription.cjs.map +1 -0
- package/dist/actions/patch-subscription.d.cts +9 -0
- package/dist/actions/patch-subscription.d.cts.map +1 -0
- package/dist/actions/patch-subscription.d.mts +9 -0
- package/dist/actions/patch-subscription.d.mts.map +1 -0
- package/dist/actions/patch-subscription.mjs +48 -0
- package/dist/actions/patch-subscription.mjs.map +1 -0
- package/dist/actions/patch-web-profile.cjs +41 -0
- package/dist/actions/patch-web-profile.cjs.map +1 -0
- package/dist/actions/patch-web-profile.d.cts +9 -0
- package/dist/actions/patch-web-profile.d.cts.map +1 -0
- package/dist/actions/patch-web-profile.d.mts +9 -0
- package/dist/actions/patch-web-profile.d.mts.map +1 -0
- package/dist/actions/patch-web-profile.mjs +38 -0
- package/dist/actions/patch-web-profile.mjs.map +1 -0
- package/dist/actions/ping-braintree.cjs +19 -0
- package/dist/actions/ping-braintree.cjs.map +1 -0
- package/dist/actions/ping-braintree.d.cts +9 -0
- package/dist/actions/ping-braintree.d.cts.map +1 -0
- package/dist/actions/ping-braintree.d.mts +9 -0
- package/dist/actions/ping-braintree.d.mts.map +1 -0
- package/dist/actions/ping-braintree.mjs +16 -0
- package/dist/actions/ping-braintree.mjs.map +1 -0
- package/dist/actions/query-braintree-report.cjs +39 -0
- package/dist/actions/query-braintree-report.cjs.map +1 -0
- package/dist/actions/query-braintree-report.d.cts +9 -0
- package/dist/actions/query-braintree-report.d.cts.map +1 -0
- package/dist/actions/query-braintree-report.d.mts +9 -0
- package/dist/actions/query-braintree-report.d.mts.map +1 -0
- package/dist/actions/query-braintree-report.mjs +38 -0
- package/dist/actions/query-braintree-report.mjs.map +1 -0
- package/dist/actions/retrieve-payment-resource.cjs +72 -0
- package/dist/actions/retrieve-payment-resource.cjs.map +1 -0
- package/dist/actions/retrieve-payment-resource.d.cts +9 -0
- package/dist/actions/retrieve-payment-resource.d.cts.map +1 -0
- package/dist/actions/retrieve-payment-resource.d.mts +9 -0
- package/dist/actions/retrieve-payment-resource.d.mts.map +1 -0
- package/dist/actions/retrieve-payment-resource.mjs +71 -0
- package/dist/actions/retrieve-payment-resource.mjs.map +1 -0
- package/dist/actions/search-invoices.cjs +120 -0
- package/dist/actions/search-invoices.cjs.map +1 -0
- package/dist/actions/search-invoices.d.cts +9 -0
- package/dist/actions/search-invoices.d.cts.map +1 -0
- package/dist/actions/search-invoices.d.mts +9 -0
- package/dist/actions/search-invoices.d.mts.map +1 -0
- package/dist/actions/search-invoices.mjs +119 -0
- package/dist/actions/search-invoices.mjs.map +1 -0
- package/dist/actions/send-invoice.cjs +37 -0
- package/dist/actions/send-invoice.cjs.map +1 -0
- package/dist/actions/send-invoice.d.cts +9 -0
- package/dist/actions/send-invoice.d.cts.map +1 -0
- package/dist/actions/send-invoice.d.mts +9 -0
- package/dist/actions/send-invoice.d.mts.map +1 -0
- package/dist/actions/send-invoice.mjs +36 -0
- package/dist/actions/send-invoice.mjs.map +1 -0
- package/dist/actions/simulate-webhook-event.cjs +52 -0
- package/dist/actions/simulate-webhook-event.cjs.map +1 -0
- package/dist/actions/simulate-webhook-event.d.cts +9 -0
- package/dist/actions/simulate-webhook-event.d.cts.map +1 -0
- package/dist/actions/simulate-webhook-event.d.mts +9 -0
- package/dist/actions/simulate-webhook-event.d.mts.map +1 -0
- package/dist/actions/simulate-webhook-event.mjs +51 -0
- package/dist/actions/simulate-webhook-event.mjs.map +1 -0
- package/dist/actions/update-dispute.cjs +45 -0
- package/dist/actions/update-dispute.cjs.map +1 -0
- package/dist/actions/update-dispute.d.cts +9 -0
- package/dist/actions/update-dispute.d.cts.map +1 -0
- package/dist/actions/update-dispute.d.mts +9 -0
- package/dist/actions/update-dispute.d.mts.map +1 -0
- package/dist/actions/update-dispute.mjs +44 -0
- package/dist/actions/update-dispute.mjs.map +1 -0
- package/dist/actions/update-invoice.cjs +367 -0
- package/dist/actions/update-invoice.cjs.map +1 -0
- package/dist/actions/update-invoice.d.cts +9 -0
- package/dist/actions/update-invoice.d.cts.map +1 -0
- package/dist/actions/update-invoice.d.mts +9 -0
- package/dist/actions/update-invoice.d.mts.map +1 -0
- package/dist/actions/update-invoice.mjs +366 -0
- package/dist/actions/update-invoice.mjs.map +1 -0
- package/dist/actions/update-pay-pal-product.cjs +41 -0
- package/dist/actions/update-pay-pal-product.cjs.map +1 -0
- package/dist/actions/update-pay-pal-product.d.cts +9 -0
- package/dist/actions/update-pay-pal-product.d.cts.map +1 -0
- package/dist/actions/update-pay-pal-product.d.mts +9 -0
- package/dist/actions/update-pay-pal-product.d.mts.map +1 -0
- package/dist/actions/update-pay-pal-product.mjs +38 -0
- package/dist/actions/update-pay-pal-product.mjs.map +1 -0
- package/dist/actions/update-pay-pal-webhook.cjs +54 -0
- package/dist/actions/update-pay-pal-webhook.cjs.map +1 -0
- package/dist/actions/update-pay-pal-webhook.d.cts +9 -0
- package/dist/actions/update-pay-pal-webhook.d.cts.map +1 -0
- package/dist/actions/update-pay-pal-webhook.d.mts +9 -0
- package/dist/actions/update-pay-pal-webhook.d.mts.map +1 -0
- package/dist/actions/update-pay-pal-webhook.mjs +53 -0
- package/dist/actions/update-pay-pal-webhook.mjs.map +1 -0
- package/dist/actions/update-templates.cjs +403 -0
- package/dist/actions/update-templates.cjs.map +1 -0
- package/dist/actions/update-templates.d.cts +9 -0
- package/dist/actions/update-templates.d.cts.map +1 -0
- package/dist/actions/update-templates.d.mts +9 -0
- package/dist/actions/update-templates.d.mts.map +1 -0
- package/dist/actions/update-templates.mjs +402 -0
- package/dist/actions/update-templates.mjs.map +1 -0
- package/dist/actions/update-web-profile.cjs +50 -0
- package/dist/actions/update-web-profile.cjs.map +1 -0
- package/dist/actions/update-web-profile.d.cts +9 -0
- package/dist/actions/update-web-profile.d.cts.map +1 -0
- package/dist/actions/update-web-profile.d.mts +9 -0
- package/dist/actions/update-web-profile.d.mts.map +1 -0
- package/dist/actions/update-web-profile.mjs +49 -0
- package/dist/actions/update-web-profile.mjs.map +1 -0
- package/dist/actions/verify-payment-method.cjs +33 -0
- package/dist/actions/verify-payment-method.cjs.map +1 -0
- package/dist/actions/verify-payment-method.d.cts +9 -0
- package/dist/actions/verify-payment-method.d.cts.map +1 -0
- package/dist/actions/verify-payment-method.d.mts +9 -0
- package/dist/actions/verify-payment-method.d.mts.map +1 -0
- package/dist/actions/verify-payment-method.mjs +32 -0
- package/dist/actions/verify-payment-method.mjs.map +1 -0
- package/dist/actions/verify-webhook-signature.cjs +37 -0
- package/dist/actions/verify-webhook-signature.cjs.map +1 -0
- package/dist/actions/verify-webhook-signature.d.cts +9 -0
- package/dist/actions/verify-webhook-signature.d.cts.map +1 -0
- package/dist/actions/verify-webhook-signature.d.mts +9 -0
- package/dist/actions/verify-webhook-signature.d.mts.map +1 -0
- package/dist/actions/verify-webhook-signature.mjs +34 -0
- package/dist/actions/verify-webhook-signature.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +162 -0
- package/dist/index.d.cts +81 -0
- package/dist/index.d.mts +81 -0
- package/dist/index.mjs +82 -0
- package/package.json +49 -0
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/authorize-order.ts
|
|
4
|
+
const PaypalAuthorizeOrderInput = z.object({
|
|
5
|
+
prefer: z.string().describe("The preferred server response upon successful completion of the request. Use 'return=minimal' for minimal response or 'return=representation' for full response.").optional(),
|
|
6
|
+
order_id: z.string().describe("The ID of the order to authorize."),
|
|
7
|
+
payment_source: z.object({
|
|
8
|
+
card: z.object({}).describe("Card payment source details including card number, expiry, security code, and billing address.").optional(),
|
|
9
|
+
paypal: z.object({}).describe("PayPal payment source details including account information.").optional()
|
|
10
|
+
}).describe("Payment source for the order authorization.").optional(),
|
|
11
|
+
paypal_request_id: z.string().describe("The server stores keys for 72 hours. Used to enforce idempotency for multiple authorizations on the same order.").optional(),
|
|
12
|
+
paypal_auth_assertion: z.string().describe("Deprecated. Caller-supplied PayPal-Auth-Assertion headers are not supported.").optional(),
|
|
13
|
+
paypal_client_metadata_id: z.string().describe("Optional. Verifies that the payment originates from a valid, user-consented device and application.").optional()
|
|
14
|
+
}).describe("Request to authorize payment for an order.");
|
|
15
|
+
const PaypalAuthorizeOrder_LinkSchema = z.object({
|
|
16
|
+
rel: z.string().describe("The link relation type, which serves as an ID for a link that unambiguously describes the semantics of the link."),
|
|
17
|
+
href: z.string().describe("The complete target URL."),
|
|
18
|
+
method: z.string().describe("The HTTP method required to make the related call.").nullable().optional()
|
|
19
|
+
}).describe("A HATEOAS link.");
|
|
20
|
+
const PaypalAuthorizeOrder_PayerNameSchema = z.object({
|
|
21
|
+
surname: z.string().describe("When the party is a person, the party's surname or family name.").nullable().optional(),
|
|
22
|
+
given_name: z.string().describe("When the party is a person, the party's given, or first, name.").nullable().optional()
|
|
23
|
+
}).describe("The name of the payer.");
|
|
24
|
+
const PaypalAuthorizeOrder_PayerAddressSchema = z.object({ country_code: z.string().describe("The two-character ISO 3166-1 code that identifies the country or region.").nullable().optional() }).describe("The address of the payer.");
|
|
25
|
+
const PaypalAuthorizeOrder_PayerSchema = z.object({
|
|
26
|
+
name: PaypalAuthorizeOrder_PayerNameSchema.nullable().optional(),
|
|
27
|
+
phone: z.object({}).describe("The phone number of the payer.").nullable().optional(),
|
|
28
|
+
address: PaypalAuthorizeOrder_PayerAddressSchema.nullable().optional(),
|
|
29
|
+
payer_id: z.string().describe("The PayPal-assigned ID for the payer.").nullable().optional(),
|
|
30
|
+
email_address: z.string().describe("The internationalized email address of the payer.").nullable().optional()
|
|
31
|
+
}).describe("The payer for the order.");
|
|
32
|
+
const PaypalAuthorizeOrder_OrderStatusSchema = z.enum([
|
|
33
|
+
"CREATED",
|
|
34
|
+
"SAVED",
|
|
35
|
+
"APPROVED",
|
|
36
|
+
"VOIDED",
|
|
37
|
+
"COMPLETED",
|
|
38
|
+
"PAYER_ACTION_REQUIRED"
|
|
39
|
+
]).describe("Status of the order after authorization.");
|
|
40
|
+
const PaypalAuthorizeOrder_AmountSchema = z.object({
|
|
41
|
+
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."),
|
|
42
|
+
currency_code: z.string().describe("The three-character ISO-4217 currency code that identifies the currency.")
|
|
43
|
+
}).describe("The currency and amount for a financial transaction.");
|
|
44
|
+
const PaypalAuthorizeOrder_AuthorizationStatusSchema = z.enum([
|
|
45
|
+
"CREATED",
|
|
46
|
+
"CAPTURED",
|
|
47
|
+
"DENIED",
|
|
48
|
+
"EXPIRED",
|
|
49
|
+
"PARTIALLY_CAPTURED",
|
|
50
|
+
"VOIDED",
|
|
51
|
+
"PENDING"
|
|
52
|
+
]).describe("Status of the authorization.");
|
|
53
|
+
const PaypalAuthorizeOrder_SellerProtectionSchema = z.object({
|
|
54
|
+
status: z.string().describe("Indicates whether the transaction is eligible for seller protection.").nullable().optional(),
|
|
55
|
+
dispute_categories: z.array(z.string()).describe("An array of conditions that are covered for the transaction.").nullable().optional()
|
|
56
|
+
}).describe("The seller protection details for the authorization.");
|
|
57
|
+
const PaypalAuthorizeOrder_AuthorizationSchema = z.object({
|
|
58
|
+
id: z.string().describe("The PayPal-generated ID for the authorized payment."),
|
|
59
|
+
links: z.array(z.object({})).describe("An array of related HATEOAS links.").nullable().optional(),
|
|
60
|
+
amount: PaypalAuthorizeOrder_AmountSchema.nullable(),
|
|
61
|
+
status: PaypalAuthorizeOrder_AuthorizationStatusSchema.nullable(),
|
|
62
|
+
custom_id: z.string().describe("The API caller-provided external ID. Used to reconcile API caller-initiated transactions with PayPal transactions.").nullable().optional(),
|
|
63
|
+
invoice_id: z.string().describe("The API caller-provided external invoice number for this order.").nullable().optional(),
|
|
64
|
+
create_time: z.string().describe("The date and time when the transaction occurred, in Internet date and time format.").nullable().optional(),
|
|
65
|
+
update_time: z.string().describe("The date and time when the transaction was last updated, in Internet date and time format.").nullable().optional(),
|
|
66
|
+
expiration_time: z.string().describe("The date and time when the authorized payment expires, in Internet date and time format.").nullable().optional(),
|
|
67
|
+
seller_protection: PaypalAuthorizeOrder_SellerProtectionSchema.nullable().optional()
|
|
68
|
+
}).describe("An authorized payment to be captured later.");
|
|
69
|
+
const PaypalAuthorizeOrder_PaymentCollectionSchema = z.object({ authorizations: z.array(PaypalAuthorizeOrder_AuthorizationSchema).describe("An array of authorized payments for the purchase unit. A purchase unit can have zero or more authorized payments.").nullable().optional() }).describe("The payment collection details including authorizations.");
|
|
70
|
+
const PaypalAuthorizeOrder_PurchaseUnitSchema = z.object({
|
|
71
|
+
payee: z.object({}).describe("The merchant who receives payment for this transaction.").nullable().optional(),
|
|
72
|
+
amount: PaypalAuthorizeOrder_AmountSchema.nullable().optional(),
|
|
73
|
+
payments: PaypalAuthorizeOrder_PaymentCollectionSchema.nullable().optional(),
|
|
74
|
+
shipping: z.object({}).describe("The shipping details for the purchase unit.").nullable().optional(),
|
|
75
|
+
custom_id: z.string().describe("The API caller-provided external ID. Used to reconcile API caller-initiated transactions with PayPal transactions.").nullable().optional(),
|
|
76
|
+
invoice_id: z.string().describe("The API caller-provided external invoice number for this order.").nullable().optional(),
|
|
77
|
+
description: z.string().describe("The purchase description.").nullable().optional(),
|
|
78
|
+
reference_id: z.string().describe("The API caller-provided external ID for the purchase unit.").nullable().optional(),
|
|
79
|
+
soft_descriptor: z.string().describe("The soft descriptor is the dynamic text used to construct the statement descriptor that appears on a payer's card statement.").nullable().optional()
|
|
80
|
+
}).describe("A purchase unit for the order.");
|
|
81
|
+
const paypalAuthorizeOrder = action("PAYPAL_AUTHORIZE_ORDER", {
|
|
82
|
+
slug: "paypal-authorize-order",
|
|
83
|
+
name: "Authorize order payment",
|
|
84
|
+
description: "Authorizes payment for an order. Use this action when you need to authorize funds from a payer's payment source but delay capturing the payment until a later time, such as when goods are shipped or services are delivered. The authorization creates a hold on the payer's funds and returns authorization details including an authorization ID that can be used later to capture or void the payment. Authorizations are typically valid for 3 days for most payment sources, though this may vary. Use this action after an order has been created and approved by the payer, when you want to authorize but not immediately capture the payment.",
|
|
85
|
+
input: PaypalAuthorizeOrderInput,
|
|
86
|
+
output: z.object({
|
|
87
|
+
id: z.string().describe("The ID of the order."),
|
|
88
|
+
links: z.array(PaypalAuthorizeOrder_LinkSchema).describe("An array of request-related HATEOAS links.").nullable().optional(),
|
|
89
|
+
payer: PaypalAuthorizeOrder_PayerSchema.nullable().optional(),
|
|
90
|
+
intent: z.string().describe("The intent to either capture payment immediately or authorize a payment for an order after order creation.").nullable().optional(),
|
|
91
|
+
status: PaypalAuthorizeOrder_OrderStatusSchema.nullable(),
|
|
92
|
+
create_time: z.string().describe("The date and time when the transaction occurred, in Internet date and time format.").nullable().optional(),
|
|
93
|
+
update_time: z.string().describe("The date and time when the transaction was last updated, in Internet date and time format.").nullable().optional(),
|
|
94
|
+
purchase_units: z.array(PaypalAuthorizeOrder_PurchaseUnitSchema).describe("An array of purchase units. Each purchase unit establishes a contract between a payer and the payee. May not be included in minimal responses.").nullable().optional()
|
|
95
|
+
}).describe("Response from authorizing payment for an order.")
|
|
96
|
+
});
|
|
97
|
+
//#endregion
|
|
98
|
+
export { paypalAuthorizeOrder };
|
|
99
|
+
|
|
100
|
+
//# sourceMappingURL=authorize-order.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authorize-order.mjs","names":[],"sources":["../../src/actions/authorize-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalAuthorizeOrderInput: z.ZodTypeAny = z.object({\n prefer: z.string().describe(\"The preferred server response upon successful completion of the request. Use 'return=minimal' for minimal response or 'return=representation' for full response.\").optional(),\n order_id: z.string().describe(\"The ID of the order to authorize.\"),\n payment_source: z.object({\n card: z.object({}).describe(\"Card payment source details including card number, expiry, security code, and billing address.\").optional(),\n paypal: z.object({}).describe(\"PayPal payment source details including account information.\").optional(),\n}).describe(\"Payment source for the order authorization.\").optional(),\n paypal_request_id: z.string().describe(\"The server stores keys for 72 hours. Used to enforce idempotency for multiple authorizations on the same order.\").optional(),\n paypal_auth_assertion: z.string().describe(\"Deprecated. Caller-supplied PayPal-Auth-Assertion headers are not supported.\").optional(),\n paypal_client_metadata_id: z.string().describe(\"Optional. Verifies that the payment originates from a valid, user-consented device and application.\").optional(),\n}).describe(\"Request to authorize payment for an order.\");\nconst PaypalAuthorizeOrder_LinkSchema: z.ZodTypeAny = z.object({\n rel: z.string().describe(\"The link relation type, which serves as an ID for a link that unambiguously describes the semantics of the link.\"),\n href: z.string().describe(\"The complete target URL.\"),\n method: z.string().describe(\"The HTTP method required to make the related call.\").nullable().optional(),\n}).describe(\"A HATEOAS link.\");\nconst PaypalAuthorizeOrder_PayerNameSchema: z.ZodTypeAny = z.object({\n surname: z.string().describe(\"When the party is a person, the party's surname or family 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}).describe(\"The name of the payer.\");\nconst PaypalAuthorizeOrder_PayerAddressSchema: z.ZodTypeAny = z.object({\n country_code: z.string().describe(\"The two-character ISO 3166-1 code that identifies the country or region.\").nullable().optional(),\n}).describe(\"The address of the payer.\");\nconst PaypalAuthorizeOrder_PayerSchema: z.ZodTypeAny = z.object({\n name: PaypalAuthorizeOrder_PayerNameSchema.nullable().optional(),\n phone: z.object({}).describe(\"The phone number of the payer.\").nullable().optional(),\n address: PaypalAuthorizeOrder_PayerAddressSchema.nullable().optional(),\n payer_id: z.string().describe(\"The PayPal-assigned ID for the payer.\").nullable().optional(),\n email_address: z.string().describe(\"The internationalized email address of the payer.\").nullable().optional(),\n}).describe(\"The payer for the order.\");\nconst PaypalAuthorizeOrder_OrderStatusSchema: z.ZodTypeAny = z.enum([\"CREATED\", \"SAVED\", \"APPROVED\", \"VOIDED\", \"COMPLETED\", \"PAYER_ACTION_REQUIRED\"]).describe(\"Status of the order after authorization.\");\nconst PaypalAuthorizeOrder_AmountSchema: z.ZodTypeAny = 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 currency and amount for a financial transaction.\");\nconst PaypalAuthorizeOrder_AuthorizationStatusSchema: z.ZodTypeAny = z.enum([\"CREATED\", \"CAPTURED\", \"DENIED\", \"EXPIRED\", \"PARTIALLY_CAPTURED\", \"VOIDED\", \"PENDING\"]).describe(\"Status of the authorization.\");\nconst PaypalAuthorizeOrder_SellerProtectionSchema: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Indicates whether the transaction is eligible for seller protection.\").nullable().optional(),\n dispute_categories: z.array(z.string()).describe(\"An array of conditions that are covered for the transaction.\").nullable().optional(),\n}).describe(\"The seller protection details for the authorization.\");\nconst PaypalAuthorizeOrder_AuthorizationSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The PayPal-generated ID for the authorized payment.\"),\n links: z.array(z.object({})).describe(\"An array of related HATEOAS links.\").nullable().optional(),\n amount: PaypalAuthorizeOrder_AmountSchema.nullable(),\n status: PaypalAuthorizeOrder_AuthorizationStatusSchema.nullable(),\n custom_id: z.string().describe(\"The API caller-provided external ID. Used to reconcile API caller-initiated transactions with PayPal transactions.\").nullable().optional(),\n invoice_id: z.string().describe(\"The API caller-provided external invoice number for this order.\").nullable().optional(),\n create_time: z.string().describe(\"The date and time when the transaction occurred, in Internet date and time format.\").nullable().optional(),\n update_time: z.string().describe(\"The date and time when the transaction was last updated, in Internet date and time format.\").nullable().optional(),\n expiration_time: z.string().describe(\"The date and time when the authorized payment expires, in Internet date and time format.\").nullable().optional(),\n seller_protection: PaypalAuthorizeOrder_SellerProtectionSchema.nullable().optional(),\n}).describe(\"An authorized payment to be captured later.\");\nconst PaypalAuthorizeOrder_PaymentCollectionSchema: z.ZodTypeAny = z.object({\n authorizations: z.array(PaypalAuthorizeOrder_AuthorizationSchema).describe(\"An array of authorized payments for the purchase unit. A purchase unit can have zero or more authorized payments.\").nullable().optional(),\n}).describe(\"The payment collection details including authorizations.\");\nconst PaypalAuthorizeOrder_PurchaseUnitSchema: z.ZodTypeAny = z.object({\n payee: z.object({}).describe(\"The merchant who receives payment for this transaction.\").nullable().optional(),\n amount: PaypalAuthorizeOrder_AmountSchema.nullable().optional(),\n payments: PaypalAuthorizeOrder_PaymentCollectionSchema.nullable().optional(),\n shipping: z.object({}).describe(\"The shipping details for the purchase unit.\").nullable().optional(),\n custom_id: z.string().describe(\"The API caller-provided external ID. Used to reconcile API caller-initiated transactions with PayPal transactions.\").nullable().optional(),\n invoice_id: z.string().describe(\"The API caller-provided external invoice number for this order.\").nullable().optional(),\n description: z.string().describe(\"The purchase description.\").nullable().optional(),\n reference_id: z.string().describe(\"The API caller-provided external ID for the purchase unit.\").nullable().optional(),\n soft_descriptor: z.string().describe(\"The soft descriptor is the dynamic text used to construct the statement descriptor that appears on a payer's card statement.\").nullable().optional(),\n}).describe(\"A purchase unit for the order.\");\nexport const PaypalAuthorizeOrderOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the order.\"),\n links: z.array(PaypalAuthorizeOrder_LinkSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n payer: PaypalAuthorizeOrder_PayerSchema.nullable().optional(),\n intent: z.string().describe(\"The intent to either capture payment immediately or authorize a payment for an order after order creation.\").nullable().optional(),\n status: PaypalAuthorizeOrder_OrderStatusSchema.nullable(),\n create_time: z.string().describe(\"The date and time when the transaction occurred, in Internet date and time format.\").nullable().optional(),\n update_time: z.string().describe(\"The date and time when the transaction was last updated, in Internet date and time format.\").nullable().optional(),\n purchase_units: z.array(PaypalAuthorizeOrder_PurchaseUnitSchema).describe(\"An array of purchase units. Each purchase unit establishes a contract between a payer and the payee. May not be included in minimal responses.\").nullable().optional(),\n}).describe(\"Response from authorizing payment for an order.\");\n\nexport const paypalAuthorizeOrder = action(\"PAYPAL_AUTHORIZE_ORDER\", {\n slug: \"paypal-authorize-order\",\n name: \"Authorize order payment\",\n description: \"Authorizes payment for an order. Use this action when you need to authorize funds from a payer's payment source but delay capturing the payment until a later time, such as when goods are shipped or services are delivered. The authorization creates a hold on the payer's funds and returns authorization details including an authorization ID that can be used later to capture or void the payment. Authorizations are typically valid for 3 days for most payment sources, though this may vary. Use this action after an order has been created and approved by the payer, when you want to authorize but not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AAC,SAAS;CAClP,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/cancel-invoice.ts
|
|
4
|
+
const PaypalCancelInvoiceInput = zod.z.object({
|
|
5
|
+
note: zod.z.string().describe("A note about the cancellation reason. Maximum 1000 characters.").optional(),
|
|
6
|
+
subject: zod.z.string().describe("The subject of the email notification sent about the cancellation. Maximum 150 characters.").optional(),
|
|
7
|
+
invoice_id: zod.z.string().describe("The ID of the invoice to cancel."),
|
|
8
|
+
send_to_invoicer: zod.z.boolean().describe("Whether to send the cancellation notification email to the merchant (invoicer). Default is true.").optional(),
|
|
9
|
+
send_to_recipient: zod.z.boolean().describe("Whether to send the cancellation notification email to the recipient (payer). Default is true.").optional(),
|
|
10
|
+
additional_recipients: zod.z.array(zod.z.string()).describe("An array of CC email addresses to which the cancellation notification is sent. Maximum 100 email addresses.").optional()
|
|
11
|
+
}).describe("Request schema for canceling a PayPal invoice.\n\nUse this when you need to cancel an invoice that has been sent to a payer.\nYou can optionally include a cancellation reason and control who receives\nnotifications about the cancellation.");
|
|
12
|
+
const PaypalCancelInvoice_LinkDescriptionSchema = zod.z.object({
|
|
13
|
+
rel: zod.z.string().describe("The relationship between the resource and the link.").nullable().optional(),
|
|
14
|
+
href: zod.z.string().describe("The URI of the related resource.").nullable().optional(),
|
|
15
|
+
method: zod.z.string().describe("The HTTP method to use for the related resource.").nullable().optional()
|
|
16
|
+
}).describe("HATEOAS link information.");
|
|
17
|
+
const PaypalCancelInvoice_ErrorDetailSchema = zod.z.object({
|
|
18
|
+
field: zod.z.string().describe("The field that caused the error.").nullable().optional(),
|
|
19
|
+
issue: zod.z.string().describe("The issue description."),
|
|
20
|
+
value: zod.z.string().describe("The value that caused the error.").nullable().optional(),
|
|
21
|
+
location: zod.z.string().describe("The location of the error (body, path, query, header).").nullable().optional(),
|
|
22
|
+
description: zod.z.string().describe("The error description.").nullable().optional()
|
|
23
|
+
}).describe("Error detail information.");
|
|
24
|
+
const PaypalCancelInvoiceOutput = zod.z.object({
|
|
25
|
+
name: zod.z.string().describe("The human-readable, unique name of the error.").nullable().optional(),
|
|
26
|
+
links: zod.z.array(PaypalCancelInvoice_LinkDescriptionSchema).describe("An array of request-related HATEOAS links.").nullable().optional(),
|
|
27
|
+
details: zod.z.array(PaypalCancelInvoice_ErrorDetailSchema).describe("An array of additional details about the error.").nullable().optional(),
|
|
28
|
+
message: zod.z.string().describe("A message describing the result of the cancellation operation.").nullable().optional(),
|
|
29
|
+
success: zod.z.boolean().describe("Indicates whether the invoice cancellation was successful.").nullable().optional(),
|
|
30
|
+
debug_id: zod.z.string().describe("The PayPal internal ID. Used for correlation purposes.").nullable().optional(),
|
|
31
|
+
status_code: zod.z.number().int().describe("The HTTP status code of the response.").nullable().optional(),
|
|
32
|
+
information_link: zod.z.string().describe("The information link, or URI, that shows detailed information about this error for the developer.").nullable().optional()
|
|
33
|
+
}).describe("Response model for canceling a PayPal invoice.");
|
|
34
|
+
const paypalCancelInvoice = require_action.action("PAYPAL_CANCEL_INVOICE", {
|
|
35
|
+
slug: "paypal-cancel-invoice",
|
|
36
|
+
name: "Cancel Invoice",
|
|
37
|
+
description: "Cancels a sent PayPal invoice and optionally notifies relevant parties. Use this action when you need to cancel an invoice that has already been sent to a payer. The action allows you to provide a cancellation reason and control who receives email notifications about the cancellation (recipient, invoicer, and additional CC recipients). This action is irreversible — once canceled, the invoice cannot be reinstated and the payer will no longer be able to pay it through PayPal. Note: Only invoices in SENT or SCHEDULED status can be canceled. Draft invoices should be deleted instead, and paid invoices must be refunded.",
|
|
38
|
+
input: PaypalCancelInvoiceInput,
|
|
39
|
+
output: PaypalCancelInvoiceOutput
|
|
40
|
+
});
|
|
41
|
+
//#endregion
|
|
42
|
+
exports.paypalCancelInvoice = paypalCancelInvoice;
|
|
43
|
+
|
|
44
|
+
//# sourceMappingURL=cancel-invoice.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cancel-invoice.cjs","names":["z","action"],"sources":["../../src/actions/cancel-invoice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalCancelInvoiceInput: z.ZodTypeAny = z.object({\n note: z.string().describe(\"A note about the cancellation reason. Maximum 1000 characters.\").optional(),\n subject: z.string().describe(\"The subject of the email notification sent about the cancellation. Maximum 150 characters.\").optional(),\n invoice_id: z.string().describe(\"The ID of the invoice to cancel.\"),\n send_to_invoicer: z.boolean().describe(\"Whether to send the cancellation notification email to the merchant (invoicer). Default is true.\").optional(),\n send_to_recipient: z.boolean().describe(\"Whether to send the cancellation notification email to the recipient (payer). Default is true.\").optional(),\n additional_recipients: z.array(z.string()).describe(\"An array of CC email addresses to which the cancellation notification is sent. Maximum 100 email addresses.\").optional(),\n}).describe(\"Request schema for canceling a PayPal invoice.\\n\\nUse this when you need to cancel an invoice that has been sent to a payer.\\nYou can optionally include a cancellation reason and control who receives\\nnotifications about the cancellation.\");\nconst PaypalCancelInvoice_LinkDescriptionSchema: z.ZodTypeAny = 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 PaypalCancelInvoice_ErrorDetailSchema: z.ZodTypeAny = z.object({\n field: z.string().describe(\"The field that caused the error.\").nullable().optional(),\n issue: z.string().describe(\"The issue description.\"),\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 PaypalCancelInvoiceOutput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The human-readable, unique name of the error.\").nullable().optional(),\n links: z.array(PaypalCancelInvoice_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n details: z.array(PaypalCancelInvoice_ErrorDetailSchema).describe(\"An array of additional details about the error.\").nullable().optional(),\n message: z.string().describe(\"A message describing the result of the cancellation operation.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the invoice cancellation was successful.\").nullable().optional(),\n debug_id: z.string().describe(\"The PayPal internal ID. Used for correlation purposes.\").nullable().optional(),\n status_code: z.number().int().describe(\"The HTTP status code of the response.\").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 model for canceling a PayPal invoice.\");\n\nexport const paypalCancelInvoice = action(\"PAYPAL_CANCEL_INVOICE\", {\n slug: \"paypal-cancel-invoice\",\n name: \"Cancel Invoice\",\n description: \"Cancels a sent PayPal invoice and optionally notifies relevant parties. Use this action when you need to cancel an invoice that has already been sent to a payer. The action allows you to provide a cancellation reason and control who receives email notifications about the cancellation (recipient, invoicer, and additional CC recipients). This action is irreversible — once canceled, the invoice cannot be reinstated and the payer will no longer be able to pay it through PayPal. Note: Only invoices in SENT or SCHEDULED status can be canceled. Draft invoices should be deleted instead, and paid invoices must be refunded.\",\n input: PaypalCancelInvoiceInput,\n output: PaypalCancelInvoiceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACrG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACpI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAClE,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CACpJ,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gGAAgG,CAAC,CA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,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,SAASA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjK,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/cancel-invoice.d.ts
|
|
4
|
+
declare const PaypalCancelInvoiceInput: z.ZodTypeAny;
|
|
5
|
+
declare const PaypalCancelInvoiceOutput: z.ZodTypeAny;
|
|
6
|
+
declare const paypalCancelInvoice: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { paypalCancelInvoice };
|
|
9
|
+
//# sourceMappingURL=cancel-invoice.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cancel-invoice.d.cts","names":[],"sources":["../../src/actions/cancel-invoice.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAOoN;AAAA,cAahP,yBAAA,EAA2B,CAAA,CAAE,UASmB;AAAA,cAEhD,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/cancel-invoice.d.ts
|
|
4
|
+
declare const PaypalCancelInvoiceInput: z.ZodTypeAny;
|
|
5
|
+
declare const PaypalCancelInvoiceOutput: z.ZodTypeAny;
|
|
6
|
+
declare const paypalCancelInvoice: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { paypalCancelInvoice };
|
|
9
|
+
//# sourceMappingURL=cancel-invoice.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cancel-invoice.d.mts","names":[],"sources":["../../src/actions/cancel-invoice.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAOoN;AAAA,cAahP,yBAAA,EAA2B,CAAA,CAAE,UASmB;AAAA,cAEhD,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/cancel-invoice.ts
|
|
4
|
+
const PaypalCancelInvoiceInput = z.object({
|
|
5
|
+
note: z.string().describe("A note about the cancellation reason. Maximum 1000 characters.").optional(),
|
|
6
|
+
subject: z.string().describe("The subject of the email notification sent about the cancellation. Maximum 150 characters.").optional(),
|
|
7
|
+
invoice_id: z.string().describe("The ID of the invoice to cancel."),
|
|
8
|
+
send_to_invoicer: z.boolean().describe("Whether to send the cancellation notification email to the merchant (invoicer). Default is true.").optional(),
|
|
9
|
+
send_to_recipient: z.boolean().describe("Whether to send the cancellation notification email to the recipient (payer). Default is true.").optional(),
|
|
10
|
+
additional_recipients: z.array(z.string()).describe("An array of CC email addresses to which the cancellation notification is sent. Maximum 100 email addresses.").optional()
|
|
11
|
+
}).describe("Request schema for canceling a PayPal invoice.\n\nUse this when you need to cancel an invoice that has been sent to a payer.\nYou can optionally include a cancellation reason and control who receives\nnotifications about the cancellation.");
|
|
12
|
+
const PaypalCancelInvoice_LinkDescriptionSchema = z.object({
|
|
13
|
+
rel: z.string().describe("The relationship between the resource and the link.").nullable().optional(),
|
|
14
|
+
href: z.string().describe("The URI of the related resource.").nullable().optional(),
|
|
15
|
+
method: z.string().describe("The HTTP method to use for the related resource.").nullable().optional()
|
|
16
|
+
}).describe("HATEOAS link information.");
|
|
17
|
+
const PaypalCancelInvoice_ErrorDetailSchema = z.object({
|
|
18
|
+
field: z.string().describe("The field that caused the error.").nullable().optional(),
|
|
19
|
+
issue: z.string().describe("The issue description."),
|
|
20
|
+
value: z.string().describe("The value that caused the error.").nullable().optional(),
|
|
21
|
+
location: z.string().describe("The location of the error (body, path, query, header).").nullable().optional(),
|
|
22
|
+
description: z.string().describe("The error description.").nullable().optional()
|
|
23
|
+
}).describe("Error detail information.");
|
|
24
|
+
const paypalCancelInvoice = action("PAYPAL_CANCEL_INVOICE", {
|
|
25
|
+
slug: "paypal-cancel-invoice",
|
|
26
|
+
name: "Cancel Invoice",
|
|
27
|
+
description: "Cancels a sent PayPal invoice and optionally notifies relevant parties. Use this action when you need to cancel an invoice that has already been sent to a payer. The action allows you to provide a cancellation reason and control who receives email notifications about the cancellation (recipient, invoicer, and additional CC recipients). This action is irreversible — once canceled, the invoice cannot be reinstated and the payer will no longer be able to pay it through PayPal. Note: Only invoices in SENT or SCHEDULED status can be canceled. Draft invoices should be deleted instead, and paid invoices must be refunded.",
|
|
28
|
+
input: PaypalCancelInvoiceInput,
|
|
29
|
+
output: z.object({
|
|
30
|
+
name: z.string().describe("The human-readable, unique name of the error.").nullable().optional(),
|
|
31
|
+
links: z.array(PaypalCancelInvoice_LinkDescriptionSchema).describe("An array of request-related HATEOAS links.").nullable().optional(),
|
|
32
|
+
details: z.array(PaypalCancelInvoice_ErrorDetailSchema).describe("An array of additional details about the error.").nullable().optional(),
|
|
33
|
+
message: z.string().describe("A message describing the result of the cancellation operation.").nullable().optional(),
|
|
34
|
+
success: z.boolean().describe("Indicates whether the invoice cancellation was successful.").nullable().optional(),
|
|
35
|
+
debug_id: z.string().describe("The PayPal internal ID. Used for correlation purposes.").nullable().optional(),
|
|
36
|
+
status_code: z.number().int().describe("The HTTP status code of the response.").nullable().optional(),
|
|
37
|
+
information_link: z.string().describe("The information link, or URI, that shows detailed information about this error for the developer.").nullable().optional()
|
|
38
|
+
}).describe("Response model for canceling a PayPal invoice.")
|
|
39
|
+
});
|
|
40
|
+
//#endregion
|
|
41
|
+
export { paypalCancelInvoice };
|
|
42
|
+
|
|
43
|
+
//# sourceMappingURL=cancel-invoice.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cancel-invoice.mjs","names":[],"sources":["../../src/actions/cancel-invoice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalCancelInvoiceInput: z.ZodTypeAny = z.object({\n note: z.string().describe(\"A note about the cancellation reason. Maximum 1000 characters.\").optional(),\n subject: z.string().describe(\"The subject of the email notification sent about the cancellation. Maximum 150 characters.\").optional(),\n invoice_id: z.string().describe(\"The ID of the invoice to cancel.\"),\n send_to_invoicer: z.boolean().describe(\"Whether to send the cancellation notification email to the merchant (invoicer). Default is true.\").optional(),\n send_to_recipient: z.boolean().describe(\"Whether to send the cancellation notification email to the recipient (payer). Default is true.\").optional(),\n additional_recipients: z.array(z.string()).describe(\"An array of CC email addresses to which the cancellation notification is sent. Maximum 100 email addresses.\").optional(),\n}).describe(\"Request schema for canceling a PayPal invoice.\\n\\nUse this when you need to cancel an invoice that has been sent to a payer.\\nYou can optionally include a cancellation reason and control who receives\\nnotifications about the cancellation.\");\nconst PaypalCancelInvoice_LinkDescriptionSchema: z.ZodTypeAny = 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 PaypalCancelInvoice_ErrorDetailSchema: z.ZodTypeAny = z.object({\n field: z.string().describe(\"The field that caused the error.\").nullable().optional(),\n issue: z.string().describe(\"The issue description.\"),\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 PaypalCancelInvoiceOutput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The human-readable, unique name of the error.\").nullable().optional(),\n links: z.array(PaypalCancelInvoice_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n details: z.array(PaypalCancelInvoice_ErrorDetailSchema).describe(\"An array of additional details about the error.\").nullable().optional(),\n message: z.string().describe(\"A message describing the result of the cancellation operation.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the invoice cancellation was successful.\").nullable().optional(),\n debug_id: z.string().describe(\"The PayPal internal ID. Used for correlation purposes.\").nullable().optional(),\n status_code: z.number().int().describe(\"The HTTP status code of the response.\").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 model for canceling a PayPal invoice.\");\n\nexport const paypalCancelInvoice = action(\"PAYPAL_CANCEL_INVOICE\", {\n slug: \"paypal-cancel-invoice\",\n name: \"Cancel Invoice\",\n description: \"Cancels a sent PayPal invoice and optionally notifies relevant parties. Use this action when you need to cancel an invoice that has already been sent to a payer. The action allows you to provide a cancellation reason and control who receives email notifications about the cancellation (recipient, invoicer, and additional CC recipients). This action is irreversible — once canceled, the invoice cannot be reinstated and the payer will no longer be able to pay it through PayPal. Note: Only invoices in SENT or SCHEDULED status can be canceled. Draft invoices should be deleted instead, and paid invoices must be refunded.\",\n input: PaypalCancelInvoiceInput,\n output: PaypalCancelInvoiceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACrG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACpI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAClE,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CACpJ,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CACnJ,uBAAuB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;AAC9K,CAAC,CAAC,CAAC,SAAS,gPAAgP;AAC5P,MAAM,4CAA0D,EAAE,OAAO;CACvE,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,wCAAsD,EAAE,OAAO;CACnE,OAAO,EAAE,O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C,SAAS,CAAC,CAAC,SAAS;CACjK,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/cancel-reminders.ts
|
|
4
|
+
const PaypalCancelRemindersInput = zod.z.object({ invoice_id: zod.z.string().describe("The ID of the invoice for which to cancel the reminders.") }).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.");
|
|
5
|
+
const PaypalCancelReminders_LinkDescriptionSchema = zod.z.object({
|
|
6
|
+
rel: zod.z.string().describe("The relationship between the resource and the link.").nullable().optional(),
|
|
7
|
+
href: zod.z.string().describe("The URI of the related resource.").nullable().optional(),
|
|
8
|
+
method: zod.z.string().describe("The HTTP method to use for the related resource.").nullable().optional()
|
|
9
|
+
}).describe("HATEOAS link information.");
|
|
10
|
+
const PaypalCancelReminders_ErrorDetailSchema = zod.z.object({
|
|
11
|
+
field: zod.z.string().describe("The field that caused the error.").nullable().optional(),
|
|
12
|
+
issue: zod.z.string().describe("The issue description."),
|
|
13
|
+
value: zod.z.string().describe("The value that caused the error.").nullable().optional(),
|
|
14
|
+
location: zod.z.string().describe("The location of the error (body, path, query, header).").nullable().optional(),
|
|
15
|
+
description: zod.z.string().describe("The error description.").nullable().optional()
|
|
16
|
+
}).describe("Error detail information.");
|
|
17
|
+
const PaypalCancelRemindersOutput = zod.z.object({
|
|
18
|
+
name: zod.z.string().describe("The human-readable, unique name of the error.").nullable().optional(),
|
|
19
|
+
links: zod.z.array(PaypalCancelReminders_LinkDescriptionSchema).describe("An array of request-related HATEOAS links.").nullable().optional(),
|
|
20
|
+
details: zod.z.array(PaypalCancelReminders_ErrorDetailSchema).describe("An array of additional details about the error.").nullable().optional(),
|
|
21
|
+
message: zod.z.string().describe("The message that describes the error.").nullable().optional(),
|
|
22
|
+
success: zod.z.boolean().describe("Indicates whether the reminders were successfully canceled.").nullable().optional(),
|
|
23
|
+
debug_id: zod.z.string().describe("The PayPal internal ID. Used for correlation purposes.").nullable().optional(),
|
|
24
|
+
information_link: zod.z.string().describe("The information link, or URI, that shows detailed information about this error for the developer.").nullable().optional()
|
|
25
|
+
}).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.");
|
|
26
|
+
const paypalCancelReminders = require_action.action("PAYPAL_CANCEL_REMINDERS", {
|
|
27
|
+
slug: "paypal-cancel-reminders",
|
|
28
|
+
name: "Cancel Invoice Reminders",
|
|
29
|
+
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.",
|
|
30
|
+
input: PaypalCancelRemindersInput,
|
|
31
|
+
output: PaypalCancelRemindersOutput
|
|
32
|
+
});
|
|
33
|
+
//#endregion
|
|
34
|
+
exports.paypalCancelReminders = paypalCancelReminders;
|
|
35
|
+
|
|
36
|
+
//# sourceMappingURL=cancel-reminders.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cancel-reminders.cjs","names":["z","action"],"sources":["../../src/actions/cancel-reminders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalCancelRemindersInput: z.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = z.object({\n field: z.string().describe(\"The field that caused the error.\").nullable().optional(),\n issue: z.string().describe(\"The issue description.\"),\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.ZodTypeAny = 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,6BAA2CA,IAAAA,EAAE,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;CACvI,SAASA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjK,CAAC,CAAC,CAAC,SAAS,6MAA6M;AAEzN,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/cancel-reminders.d.ts
|
|
4
|
+
declare const PaypalCancelRemindersInput: z.ZodTypeAny;
|
|
5
|
+
declare const PaypalCancelRemindersOutput: z.ZodTypeAny;
|
|
6
|
+
declare const paypalCancelReminders: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { paypalCancelReminders };
|
|
9
|
+
//# sourceMappingURL=cancel-reminders.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cancel-reminders.d.cts","names":[],"sources":["../../src/actions/cancel-reminders.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAEgO;AAAA,cAa9P,2BAAA,EAA6B,CAAA,CAAE,UAQ8K;AAAA,cAE7M,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/cancel-reminders.d.ts
|
|
4
|
+
declare const PaypalCancelRemindersInput: z.ZodTypeAny;
|
|
5
|
+
declare const PaypalCancelRemindersOutput: z.ZodTypeAny;
|
|
6
|
+
declare const paypalCancelReminders: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { paypalCancelReminders };
|
|
9
|
+
//# sourceMappingURL=cancel-reminders.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cancel-reminders.d.mts","names":[],"sources":["../../src/actions/cancel-reminders.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAEgO;AAAA,cAa9P,2BAAA,EAA6B,CAAA,CAAE,UAQ8K;AAAA,cAE7M,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/cancel-reminders.ts
|
|
4
|
+
const PaypalCancelRemindersInput = z.object({ invoice_id: z.string().describe("The ID of the invoice for which to cancel the reminders.") }).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.");
|
|
5
|
+
const PaypalCancelReminders_LinkDescriptionSchema = z.object({
|
|
6
|
+
rel: z.string().describe("The relationship between the resource and the link.").nullable().optional(),
|
|
7
|
+
href: z.string().describe("The URI of the related resource.").nullable().optional(),
|
|
8
|
+
method: z.string().describe("The HTTP method to use for the related resource.").nullable().optional()
|
|
9
|
+
}).describe("HATEOAS link information.");
|
|
10
|
+
const PaypalCancelReminders_ErrorDetailSchema = z.object({
|
|
11
|
+
field: z.string().describe("The field that caused the error.").nullable().optional(),
|
|
12
|
+
issue: z.string().describe("The issue description."),
|
|
13
|
+
value: z.string().describe("The value that caused the error.").nullable().optional(),
|
|
14
|
+
location: z.string().describe("The location of the error (body, path, query, header).").nullable().optional(),
|
|
15
|
+
description: z.string().describe("The error description.").nullable().optional()
|
|
16
|
+
}).describe("Error detail information.");
|
|
17
|
+
const paypalCancelReminders = action("PAYPAL_CANCEL_REMINDERS", {
|
|
18
|
+
slug: "paypal-cancel-reminders",
|
|
19
|
+
name: "Cancel Invoice Reminders",
|
|
20
|
+
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.",
|
|
21
|
+
input: PaypalCancelRemindersInput,
|
|
22
|
+
output: z.object({
|
|
23
|
+
name: z.string().describe("The human-readable, unique name of the error.").nullable().optional(),
|
|
24
|
+
links: z.array(PaypalCancelReminders_LinkDescriptionSchema).describe("An array of request-related HATEOAS links.").nullable().optional(),
|
|
25
|
+
details: z.array(PaypalCancelReminders_ErrorDetailSchema).describe("An array of additional details about the error.").nullable().optional(),
|
|
26
|
+
message: z.string().describe("The message that describes the error.").nullable().optional(),
|
|
27
|
+
success: z.boolean().describe("Indicates whether the reminders were successfully canceled.").nullable().optional(),
|
|
28
|
+
debug_id: z.string().describe("The PayPal internal ID. Used for correlation purposes.").nullable().optional(),
|
|
29
|
+
information_link: z.string().describe("The information link, or URI, that shows detailed information about this error for the developer.").nullable().optional()
|
|
30
|
+
}).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.")
|
|
31
|
+
});
|
|
32
|
+
//#endregion
|
|
33
|
+
export { paypalCancelReminders };
|
|
34
|
+
|
|
35
|
+
//# sourceMappingURL=cancel-reminders.mjs.map
|
|
@@ -0,0 +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: z.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = z.object({\n field: z.string().describe(\"The field that caused the error.\").nullable().optional(),\n issue: z.string().describe(\"The issue description.\"),\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.ZodTypeAny = 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,6BAA2C,EAAE,OAAO,EAC/D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,EAC5F,CAAC,CAAC,CAAC,SAAS,8PAA8P;AAC1Q,MAAM,8CAA4D,EAAE,OAAO;CACzE,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,0CAAwD,EAAE,OAAO;CACrE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CACnD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,SAAS,2BAA2B;AAWvC,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfuD,EAAE,OAAO;EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,OAAO,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvI,SAAS,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1I,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjK,CAAC,CAAC,CAAC,SAAS,6MAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/capture-subscription-payment.ts
|
|
4
|
+
const PaypalCaptureSubscriptionPaymentInput = zod.z.object({
|
|
5
|
+
id: zod.z.string().describe("The ID of the subscription."),
|
|
6
|
+
note: zod.z.string().describe("The reason or note for the subscription charge."),
|
|
7
|
+
amount: zod.z.object({
|
|
8
|
+
value: zod.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."),
|
|
9
|
+
currency_code: zod.z.string().describe("The three-character ISO-4217 currency code that identifies the currency.")
|
|
10
|
+
}).describe("The charge amount from the subscriber."),
|
|
11
|
+
capture_type: zod.z.enum(["OUTSTANDING_BALANCE"]).describe("The type of capture. Currently only OUTSTANDING_BALANCE is supported.")
|
|
12
|
+
}).describe("Request model for capturing authorized payment on subscription.");
|
|
13
|
+
const PaypalCaptureSubscriptionPayment_CaptureStatusSchema = zod.z.enum([
|
|
14
|
+
"COMPLETED",
|
|
15
|
+
"DECLINED",
|
|
16
|
+
"PARTIALLY_REFUNDED",
|
|
17
|
+
"PENDING",
|
|
18
|
+
"REFUNDED",
|
|
19
|
+
"FAILED"
|
|
20
|
+
]).describe("The status of the captured payment.");
|
|
21
|
+
const PaypalCaptureSubscriptionPayment_PayerNameSchema = zod.z.object({
|
|
22
|
+
prefix: zod.z.string().describe("The prefix, or title, to the party's name.").nullable().optional(),
|
|
23
|
+
suffix: zod.z.string().describe("The suffix for the party's name.").nullable().optional(),
|
|
24
|
+
surname: zod.z.string().describe("When the party is a person, the party's surname or family name.").nullable().optional(),
|
|
25
|
+
full_name: zod.z.string().describe("When the party is a person, the party's full name.").nullable().optional(),
|
|
26
|
+
given_name: zod.z.string().describe("When the party is a person, the party's given, or first, name.").nullable().optional(),
|
|
27
|
+
middle_name: zod.z.string().describe("When the party is a person, the party's middle name.").nullable().optional()
|
|
28
|
+
}).describe("The name of the payer party.");
|
|
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.")
|
|
32
|
+
}).describe("The currency and amount for a financial transaction (fee portion).");
|
|
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.")
|
|
36
|
+
}).describe("The currency and amount for a financial transaction (net portion).");
|
|
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.")
|
|
40
|
+
}).describe("The currency and amount for tax.");
|
|
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.")
|
|
44
|
+
}).describe("The currency and amount for a financial transaction (gross portion).");
|
|
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.")
|
|
48
|
+
}).describe("The currency and amount for shipping.");
|
|
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.")
|
|
52
|
+
}).describe("The currency and amount for total items.");
|
|
53
|
+
const PaypalCaptureSubscriptionPayment_AmountWithBreakdownSchema = zod.z.object({
|
|
54
|
+
fee_amount: PaypalCaptureSubscriptionPayment_FeeAmountSchema.nullable().optional(),
|
|
55
|
+
net_amount: PaypalCaptureSubscriptionPayment_NetAmountSchema.nullable().optional(),
|
|
56
|
+
tax_amount: PaypalCaptureSubscriptionPayment_TaxAmountSchema.nullable().optional(),
|
|
57
|
+
gross_amount: PaypalCaptureSubscriptionPayment_GrossAmountSchema.nullable(),
|
|
58
|
+
shipping_amount: PaypalCaptureSubscriptionPayment_ShippingAmountSchema.nullable().optional(),
|
|
59
|
+
total_item_amount: PaypalCaptureSubscriptionPayment_TotalItemAmountSchema.nullable().optional()
|
|
60
|
+
}).describe("The breakdown details for the amount.");
|
|
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."),
|
|
64
|
+
status: PaypalCaptureSubscriptionPayment_CaptureStatusSchema.nullable().optional(),
|
|
65
|
+
payer_name: PaypalCaptureSubscriptionPayment_PayerNameSchema.nullable().optional(),
|
|
66
|
+
payer_email: zod.z.string().describe("The internationalized email address of the payer.").nullable().optional(),
|
|
67
|
+
amount_with_breakdown: PaypalCaptureSubscriptionPayment_AmountWithBreakdownSchema.nullable()
|
|
68
|
+
}).describe("Response model for capturing authorized payment on subscription.");
|
|
69
|
+
const paypalCaptureSubscriptionPayment = require_action.action("PAYPAL_CAPTURE_SUBSCRIPTION_PAYMENT", {
|
|
70
|
+
slug: "paypal-capture-subscription-payment",
|
|
71
|
+
name: "Capture subscription payment",
|
|
72
|
+
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.",
|
|
73
|
+
input: PaypalCaptureSubscriptionPaymentInput,
|
|
74
|
+
output: PaypalCaptureSubscriptionPaymentOutput
|
|
75
|
+
});
|
|
76
|
+
//#endregion
|
|
77
|
+
exports.paypalCaptureSubscriptionPayment = paypalCaptureSubscriptionPayment;
|
|
78
|
+
|
|
79
|
+
//# sourceMappingURL=capture-subscription-payment.cjs.map
|
|
@@ -0,0 +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: z.ZodTypeAny = 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.ZodTypeAny = z.enum([\"COMPLETED\", \"DECLINED\", \"PARTIALLY_REFUNDED\", \"PENDING\", \"REFUNDED\", \"FAILED\"]).describe(\"The status of the captured payment.\");\nconst PaypalCaptureSubscriptionPayment_PayerNameSchema: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n value: z.string().describe(\"The monetary value.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code.\"),\n}).describe(\"The currency and amount for a financial transaction (fee portion).\");\nconst PaypalCaptureSubscriptionPayment_NetAmountSchema: z.ZodTypeAny = z.object({\n value: z.string().describe(\"The monetary value.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code.\"),\n}).describe(\"The currency and amount for a financial transaction (net portion).\");\nconst PaypalCaptureSubscriptionPayment_TaxAmountSchema: z.ZodTypeAny = z.object({\n value: z.string().describe(\"The monetary value.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code.\"),\n}).describe(\"The currency and amount for tax.\");\nconst PaypalCaptureSubscriptionPayment_GrossAmountSchema: z.ZodTypeAny = z.object({\n value: z.string().describe(\"The monetary value.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code.\"),\n}).describe(\"The currency and amount for a financial transaction (gross portion).\");\nconst PaypalCaptureSubscriptionPayment_ShippingAmountSchema: z.ZodTypeAny = z.object({\n value: z.string().describe(\"The monetary value.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code.\"),\n}).describe(\"The currency and amount for shipping.\");\nconst PaypalCaptureSubscriptionPayment_TotalItemAmountSchema: z.ZodTypeAny = z.object({\n value: z.string().describe(\"The monetary value.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code.\"),\n}).describe(\"The currency and amount for total items.\");\nconst PaypalCaptureSubscriptionPayment_AmountWithBreakdownSchema: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"The PayPal-generated transaction ID.\"),\n time: z.string().describe(\"The date and time, in Internet date and time format.\"),\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,wCAAsDA,IAAAA,EAAE,OAAO;CAC1E,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,MAAM,uDAAqEA,IAAAA,EAAE,KAAK;CAAC;CAAa;CAAY;CAAsB;CAAW;CAAY;AAAQ,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAClN,MAAM,mDAAiEA,IAAAA,EAAE,OAAO;CAC9E,QAA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C,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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/capture-subscription-payment.d.ts
|
|
4
|
+
declare const PaypalCaptureSubscriptionPaymentInput: z.ZodTypeAny;
|
|
5
|
+
declare const PaypalCaptureSubscriptionPaymentOutput: z.ZodTypeAny;
|
|
6
|
+
declare const paypalCaptureSubscriptionPayment: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { paypalCaptureSubscriptionPayment };
|
|
9
|
+
//# sourceMappingURL=capture-subscription-payment.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"capture-subscription-payment.d.cts","names":[],"sources":["../../src/actions/capture-subscription-payment.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAQwB;AAAA,cA0CjE,sCAAA,EAAwC,CAAA,CAAE,UAOwB;AAAA,cAElE,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/capture-subscription-payment.d.ts
|
|
4
|
+
declare const PaypalCaptureSubscriptionPaymentInput: z.ZodTypeAny;
|
|
5
|
+
declare const PaypalCaptureSubscriptionPaymentOutput: z.ZodTypeAny;
|
|
6
|
+
declare const paypalCaptureSubscriptionPayment: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { paypalCaptureSubscriptionPayment };
|
|
9
|
+
//# sourceMappingURL=capture-subscription-payment.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"capture-subscription-payment.d.mts","names":[],"sources":["../../src/actions/capture-subscription-payment.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAQwB;AAAA,cA0CjE,sCAAA,EAAwC,CAAA,CAAE,UAOwB;AAAA,cAElE,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|