@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,65 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/create-web-profile.ts
|
|
4
|
+
const PaypalCreateWebProfileInput = z.object({
|
|
5
|
+
id: z.string().describe("The ID of the web experience profile. If not provided, PayPal generates an ID.").optional(),
|
|
6
|
+
name: z.string().describe("The web experience profile name. Must be unique for a set of profiles for a merchant."),
|
|
7
|
+
temporary: z.boolean().describe("Indicates whether the profile persists for three hours or permanently. Set to false for permanent persistence, true for three-hour persistence.").optional(),
|
|
8
|
+
flow_config: z.object({
|
|
9
|
+
user_action: z.enum(["COMMIT"]).describe("User action for checkout flow.").optional(),
|
|
10
|
+
landing_page_type: z.enum(["login", "billing"]).describe("The type of landing page for checkout.").optional(),
|
|
11
|
+
bank_txn_pending_url: z.string().describe("The merchant site URL to display after a bank transfer payment. In Germany, valid only for the Giropay payment method or bank transfer payment method.").optional(),
|
|
12
|
+
return_uri_http_method: z.enum(["GET", "POST"]).describe("The HTTP method for redirecting to return URL.").optional()
|
|
13
|
+
}).describe("The flow configuration parameters.").optional(),
|
|
14
|
+
input_fields: z.object({
|
|
15
|
+
no_shipping: z.number().int().describe("Indicates whether PayPal displays shipping address fields. 0 displays the shipping address. 1 redacts shipping address fields (required for digital goods). 2 gets the shipping address from the customer's account profile.").optional(),
|
|
16
|
+
address_override: z.number().int().describe("Indicates whether to display the shipping address passed to this call rather than the one on file. 0 displays the address on file. 1 displays the address specified in this call.").optional()
|
|
17
|
+
}).describe("The input field customization parameters.").optional(),
|
|
18
|
+
presentation: z.object({
|
|
19
|
+
brand_name: z.string().describe("A label that overrides the business name in the PayPal account on the PayPal pages. Character limit: 127 single-byte alphanumeric characters.").optional(),
|
|
20
|
+
logo_image: z.string().describe("A URL to the logo image. Valid media types are .gif, .jpg, or .png. Maximum width is 190 pixels and maximum height is 60 pixels. PayPal recommends storing the image on a secure (HTTPS) server.").optional(),
|
|
21
|
+
locale_code: z.string().describe("The locale of pages that the PayPal payment experience displays. Valid values: AU, AT, BE, BR, CA, CH, CN, DE, ES, GB, FR, IT, NL, PL, PT, RU, US, or 5-character codes like da_DK, he_IL, ja_JP, etc.").optional()
|
|
22
|
+
}).describe("The style and presentation parameters.").optional()
|
|
23
|
+
}).describe("Request schema for creating a PayPal web experience profile.\n\nUse this action when you need to create a custom checkout experience\nfor PayPal payments, including branding, landing pages, and flow configuration.\nThe profile name must be unique for a set of profiles for a merchant.");
|
|
24
|
+
const PaypalCreateWebProfile_LinkDescriptionSchema = z.object({
|
|
25
|
+
rel: z.string().describe("The link relationship type."),
|
|
26
|
+
href: z.string().describe("The complete URL to the related resource."),
|
|
27
|
+
method: z.string().describe("The HTTP method required to access the resource.").nullable().optional()
|
|
28
|
+
}).describe("HATEOAS link information.");
|
|
29
|
+
const PaypalCreateWebProfile_UserActionSchema = z.enum(["COMMIT"]).describe("User action for checkout flow.");
|
|
30
|
+
const PaypalCreateWebProfile_LandingPageTypeSchema = z.enum(["login", "billing"]).describe("The type of landing page for checkout.");
|
|
31
|
+
const PaypalCreateWebProfile_ReturnUriHttpMethodSchema = z.enum(["GET", "POST"]).describe("The HTTP method for redirecting to return URL.");
|
|
32
|
+
const PaypalCreateWebProfile_FlowConfigSchema = z.object({
|
|
33
|
+
user_action: PaypalCreateWebProfile_UserActionSchema.nullable().optional(),
|
|
34
|
+
landing_page_type: PaypalCreateWebProfile_LandingPageTypeSchema.nullable().optional(),
|
|
35
|
+
bank_txn_pending_url: z.string().describe("The merchant site URL to display after a bank transfer payment. In Germany, valid only for the Giropay payment method or bank transfer payment method.").nullable().optional(),
|
|
36
|
+
return_uri_http_method: PaypalCreateWebProfile_ReturnUriHttpMethodSchema.nullable().optional()
|
|
37
|
+
}).describe("The flow configuration parameters.");
|
|
38
|
+
const PaypalCreateWebProfile_InputFieldsSchema = z.object({
|
|
39
|
+
no_shipping: z.number().int().describe("Indicates whether PayPal displays shipping address fields. 0 displays the shipping address. 1 redacts shipping address fields (required for digital goods). 2 gets the shipping address from the customer's account profile.").nullable().optional(),
|
|
40
|
+
address_override: z.number().int().describe("Indicates whether to display the shipping address passed to this call rather than the one on file. 0 displays the address on file. 1 displays the address specified in this call.").nullable().optional()
|
|
41
|
+
}).describe("The input field customization parameters.");
|
|
42
|
+
const PaypalCreateWebProfile_PresentationSchema = z.object({
|
|
43
|
+
brand_name: z.string().describe("A label that overrides the business name in the PayPal account on the PayPal pages. Character limit: 127 single-byte alphanumeric characters.").nullable().optional(),
|
|
44
|
+
logo_image: z.string().describe("A URL to the logo image. Valid media types are .gif, .jpg, or .png. Maximum width is 190 pixels and maximum height is 60 pixels. PayPal recommends storing the image on a secure (HTTPS) server.").nullable().optional(),
|
|
45
|
+
locale_code: z.string().describe("The locale of pages that the PayPal payment experience displays. Valid values: AU, AT, BE, BR, CA, CH, CN, DE, ES, GB, FR, IT, NL, PL, PT, RU, US, or 5-character codes like da_DK, he_IL, ja_JP, etc.").nullable().optional()
|
|
46
|
+
}).describe("The style and presentation parameters.");
|
|
47
|
+
const paypalCreateWebProfile = action("PAYPAL_CREATE_WEB_PROFILE", {
|
|
48
|
+
slug: "paypal-create-web-profile",
|
|
49
|
+
name: "Create a web experience profile",
|
|
50
|
+
description: "Creates a PayPal web experience profile for customizing checkout. Use this action when you need to set up a branded, customized checkout experience for PayPal payments. This includes configuring the landing page, branding elements like logo and brand name, input field customization, and checkout flow behavior. The profile can be set as temporary (persists for three hours) or permanent. To use this profile, pass its ID when creating a payment.",
|
|
51
|
+
input: PaypalCreateWebProfileInput,
|
|
52
|
+
output: z.object({
|
|
53
|
+
id: z.string().describe("The ID of the web experience profile.").nullable().optional(),
|
|
54
|
+
name: z.string().describe("The web experience profile name.").nullable().optional(),
|
|
55
|
+
links: z.array(PaypalCreateWebProfile_LinkDescriptionSchema).describe("An array of request-related HATEOAS links.").nullable().optional(),
|
|
56
|
+
temporary: z.boolean().describe("Indicates whether the profile persists for three hours or permanently.").nullable().optional(),
|
|
57
|
+
flow_config: PaypalCreateWebProfile_FlowConfigSchema.nullable().optional(),
|
|
58
|
+
input_fields: PaypalCreateWebProfile_InputFieldsSchema.nullable().optional(),
|
|
59
|
+
presentation: PaypalCreateWebProfile_PresentationSchema.nullable().optional()
|
|
60
|
+
}).describe("Response schema for a created PayPal web experience profile.")
|
|
61
|
+
});
|
|
62
|
+
//#endregion
|
|
63
|
+
export { paypalCreateWebProfile };
|
|
64
|
+
|
|
65
|
+
//# sourceMappingURL=create-web-profile.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-web-profile.mjs","names":[],"sources":["../../src/actions/create-web-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalCreateWebProfileInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the web experience profile. If not provided, PayPal generates an ID.\").optional(),\n name: z.string().describe(\"The web experience profile name. Must be unique for a set of profiles for a merchant.\"),\n temporary: z.boolean().describe(\"Indicates whether the profile persists for three hours or permanently. Set to false for permanent persistence, true for three-hour persistence.\").optional(),\n flow_config: z.object({\n user_action: z.enum([\"COMMIT\"]).describe(\"User action for checkout flow.\").optional(),\n landing_page_type: z.enum([\"login\", \"billing\"]).describe(\"The type of landing page for checkout.\").optional(),\n bank_txn_pending_url: z.string().describe(\"The merchant site URL to display after a bank transfer payment. In Germany, valid only for the Giropay payment method or bank transfer payment method.\").optional(),\n return_uri_http_method: z.enum([\"GET\", \"POST\"]).describe(\"The HTTP method for redirecting to return URL.\").optional(),\n}).describe(\"The flow configuration parameters.\").optional(),\n input_fields: z.object({\n no_shipping: z.number().int().describe(\"Indicates whether PayPal displays shipping address fields. 0 displays the shipping address. 1 redacts shipping address fields (required for digital goods). 2 gets the shipping address from the customer's account profile.\").optional(),\n address_override: z.number().int().describe(\"Indicates whether to display the shipping address passed to this call rather than the one on file. 0 displays the address on file. 1 displays the address specified in this call.\").optional(),\n}).describe(\"The input field customization parameters.\").optional(),\n presentation: z.object({\n brand_name: z.string().describe(\"A label that overrides the business name in the PayPal account on the PayPal pages. Character limit: 127 single-byte alphanumeric characters.\").optional(),\n logo_image: z.string().describe(\"A URL to the logo image. Valid media types are .gif, .jpg, or .png. Maximum width is 190 pixels and maximum height is 60 pixels. PayPal recommends storing the image on a secure (HTTPS) server.\").optional(),\n locale_code: z.string().describe(\"The locale of pages that the PayPal payment experience displays. Valid values: AU, AT, BE, BR, CA, CH, CN, DE, ES, GB, FR, IT, NL, PL, PT, RU, US, or 5-character codes like da_DK, he_IL, ja_JP, etc.\").optional(),\n}).describe(\"The style and presentation parameters.\").optional(),\n}).describe(\"Request schema for creating a PayPal web experience profile.\\n\\nUse this action when you need to create a custom checkout experience\\nfor PayPal payments, including branding, landing pages, and flow configuration.\\nThe profile name must be unique for a set of profiles for a merchant.\");\nconst PaypalCreateWebProfile_LinkDescriptionSchema: z.ZodTypeAny = z.object({\n rel: z.string().describe(\"The link relationship type.\"),\n href: z.string().describe(\"The complete URL to the related resource.\"),\n method: z.string().describe(\"The HTTP method required to access the resource.\").nullable().optional(),\n}).describe(\"HATEOAS link information.\");\nconst PaypalCreateWebProfile_UserActionSchema: z.ZodTypeAny = z.enum([\"COMMIT\"]).describe(\"User action for checkout flow.\");\nconst PaypalCreateWebProfile_LandingPageTypeSchema: z.ZodTypeAny = z.enum([\"login\", \"billing\"]).describe(\"The type of landing page for checkout.\");\nconst PaypalCreateWebProfile_ReturnUriHttpMethodSchema: z.ZodTypeAny = z.enum([\"GET\", \"POST\"]).describe(\"The HTTP method for redirecting to return URL.\");\nconst PaypalCreateWebProfile_FlowConfigSchema: z.ZodTypeAny = z.object({\n user_action: PaypalCreateWebProfile_UserActionSchema.nullable().optional(),\n landing_page_type: PaypalCreateWebProfile_LandingPageTypeSchema.nullable().optional(),\n bank_txn_pending_url: z.string().describe(\"The merchant site URL to display after a bank transfer payment. In Germany, valid only for the Giropay payment method or bank transfer payment method.\").nullable().optional(),\n return_uri_http_method: PaypalCreateWebProfile_ReturnUriHttpMethodSchema.nullable().optional(),\n}).describe(\"The flow configuration parameters.\");\nconst PaypalCreateWebProfile_InputFieldsSchema: z.ZodTypeAny = z.object({\n no_shipping: z.number().int().describe(\"Indicates whether PayPal displays shipping address fields. 0 displays the shipping address. 1 redacts shipping address fields (required for digital goods). 2 gets the shipping address from the customer's account profile.\").nullable().optional(),\n address_override: z.number().int().describe(\"Indicates whether to display the shipping address passed to this call rather than the one on file. 0 displays the address on file. 1 displays the address specified in this call.\").nullable().optional(),\n}).describe(\"The input field customization parameters.\");\nconst PaypalCreateWebProfile_PresentationSchema: z.ZodTypeAny = z.object({\n brand_name: z.string().describe(\"A label that overrides the business name in the PayPal account on the PayPal pages. Character limit: 127 single-byte alphanumeric characters.\").nullable().optional(),\n logo_image: z.string().describe(\"A URL to the logo image. Valid media types are .gif, .jpg, or .png. Maximum width is 190 pixels and maximum height is 60 pixels. PayPal recommends storing the image on a secure (HTTPS) server.\").nullable().optional(),\n locale_code: z.string().describe(\"The locale of pages that the PayPal payment experience displays. Valid values: AU, AT, BE, BR, CA, CH, CN, DE, ES, GB, FR, IT, NL, PL, PT, RU, US, or 5-character codes like da_DK, he_IL, ja_JP, etc.\").nullable().optional(),\n}).describe(\"The style and presentation parameters.\");\nexport const PaypalCreateWebProfileOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the web experience profile.\").nullable().optional(),\n name: z.string().describe(\"The web experience profile name.\").nullable().optional(),\n links: z.array(PaypalCreateWebProfile_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n temporary: z.boolean().describe(\"Indicates whether the profile persists for three hours or permanently.\").nullable().optional(),\n flow_config: PaypalCreateWebProfile_FlowConfigSchema.nullable().optional(),\n input_fields: PaypalCreateWebProfile_InputFieldsSchema.nullable().optional(),\n presentation: PaypalCreateWebProfile_PresentationSchema.nullable().optional(),\n}).describe(\"Response schema for a created PayPal web experience profile.\");\n\nexport const paypalCreateWebProfile = action(\"PAYPAL_CREATE_WEB_PROFILE\", {\n slug: \"paypal-create-web-profile\",\n name: \"Create a web experience profile\",\n description: \"Creates a PayPal web experience profile for customizing checkout. Use this action when you need to set up a branded, customized checkout experience for PayPal payments. This includes configuring the landing page, branding elements like logo and brand name, input field customization, and checkout flow behavior. The profile can be set as temporary (persists for three hours) or permanent. To use this profile, pass its ID when creating a payment.\",\n input: PaypalCreateWebProfileInput,\n output: PaypalCreateWebProfileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4C,EAAE,OAAO;CAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACnH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF;CACjH,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;CAC5L,aAAa,EAAE,OAAO;EACtB,aAAa,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACpF,mBAAmB,EAAE,KAAK,CAAC,SAAS,SAAS,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC5G,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ,CAAC,CAAC,SAAS;EAC7M,wBAAwB,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACtH,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzD,cAAc,EAAE,OAAO;EACvB,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8NAA8N,CAAC,CAAC,SAAS;EAChR,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mLAAmL,CAAC,CAAC,SAAS;CAC5O,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAChE,cAAc,EAAE,OAAO;EACvB,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;EAC1L,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kMAAkM,CAAC,CAAC,SAAS;EAC7O,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM,CAAC,CAAC,SAAS;CACtP,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AAC/D,CAAC,CAAC,CAAC,SAAS,8RAA8R;AAC1S,MAAM,+CAA6D,EAAE,OAAO;CAC1E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,2BAA2B;AACvC,MAAM,0CAAwD,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAC1H,MAAM,+CAA6D,EAAE,KAAK,CAAC,SAAS,SAAS,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACjJ,MAAM,mDAAiE,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,gDAAgD;AACxJ,MAAM,0CAAwD,EAAE,OAAO;CACrE,aAAa,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACzE,mBAAmB,6CAA6C,SAAS,CAAC,CAAC,SAAS;CACpF,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxN,wBAAwB,iDAAiD,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,2CAAyD,EAAE,OAAO;CACtE,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8NAA8N,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3R,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mLAAmL,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvP,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,4CAA0D,EAAE,OAAO;CACvE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrM,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kMAAkM,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxP,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjQ,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAWpD,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfwD,EAAE,OAAO;EACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,OAAO,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxI,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,aAAa,wCAAwC,SAAS,CAAC,CAAC,SAAS;EACzE,cAAc,yCAAyC,SAAS,CAAC,CAAC,SAAS;EAC3E,cAAc,0CAA0C,SAAS,CAAC,CAAC,SAAS;CAC9E,CAAC,CAAC,CAAC,SAAS,8DAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/create-webhook-lookup.ts
|
|
4
|
+
const PaypalCreateWebhookLookupInput = zod.z.object({}).describe("Request model for creating a webhook lookup. This endpoint requires no parameters.");
|
|
5
|
+
const PaypalCreateWebhookLookup_WebhookLookupLinkSchema = zod.z.object({
|
|
6
|
+
rel: zod.z.string().describe("The link relationship type."),
|
|
7
|
+
href: zod.z.string().describe("The URI of the related resource."),
|
|
8
|
+
method: zod.z.string().describe("The HTTP method required to invoke the related resource.").nullable().optional()
|
|
9
|
+
}).describe("HATEOAS link information in webhook lookup responses.");
|
|
10
|
+
const PaypalCreateWebhookLookupOutput = zod.z.object({
|
|
11
|
+
id: zod.z.string().describe("The ID of the webhook lookup."),
|
|
12
|
+
links: zod.z.array(PaypalCreateWebhookLookup_WebhookLookupLinkSchema).describe("An array of request-related HATEOAS links.").nullable().optional(),
|
|
13
|
+
client_id: zod.z.string().describe("The application client ID.").nullable().optional()
|
|
14
|
+
}).describe("Response model for a created PayPal webhook lookup.");
|
|
15
|
+
const paypalCreateWebhookLookup = require_action.action("PAYPAL_CREATE_WEBHOOK_LOOKUP", {
|
|
16
|
+
slug: "paypal-create-webhook-lookup",
|
|
17
|
+
name: "Create a webhook lookup",
|
|
18
|
+
description: "Creates a new PayPal webhook lookup to verify a webhook signature. Use this action when you need to initiate a webhook lookup to validate that a webhook endpoint is correctly receiving and processing PayPal event notifications. This is useful for testing webhook configurations or verifying webhook authenticity before enabling it in production. This is a create operation that returns the newly created webhook lookup details, including the lookup ID, client ID, and related HATEOAS links. The action requires no input parameters.",
|
|
19
|
+
input: PaypalCreateWebhookLookupInput,
|
|
20
|
+
output: PaypalCreateWebhookLookupOutput
|
|
21
|
+
});
|
|
22
|
+
//#endregion
|
|
23
|
+
exports.paypalCreateWebhookLookup = paypalCreateWebhookLookup;
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=create-webhook-lookup.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-webhook-lookup.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook-lookup.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalCreateWebhookLookupInput: z.ZodTypeAny = z.object({}).describe(\"Request model for creating a webhook lookup. This endpoint requires no parameters.\");\nconst PaypalCreateWebhookLookup_WebhookLookupLinkSchema: z.ZodTypeAny = z.object({\n rel: z.string().describe(\"The link relationship type.\"),\n href: z.string().describe(\"The URI of the related resource.\"),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n}).describe(\"HATEOAS link information in webhook lookup responses.\");\nexport const PaypalCreateWebhookLookupOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the webhook lookup.\"),\n links: z.array(PaypalCreateWebhookLookup_WebhookLookupLinkSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n client_id: z.string().describe(\"The application client ID.\").nullable().optional(),\n}).describe(\"Response model for a created PayPal webhook lookup.\");\n\nexport const paypalCreateWebhookLookup = action(\"PAYPAL_CREATE_WEBHOOK_LOOKUP\", {\n slug: \"paypal-create-webhook-lookup\",\n name: \"Create a webhook lookup\",\n description: \"Creates a new PayPal webhook lookup to verify a webhook signature. Use this action when you need to initiate a webhook lookup to validate that a webhook endpoint is correctly receiving and processing PayPal event notifications. This is useful for testing webhook configurations or verifying webhook authenticity before enabling it in production. This is a create operation that returns the newly created webhook lookup details, including the lookup ID, client ID, and related HATEOAS links. The action requires no input parameters.\",\n input: PaypalCreateWebhookLookupInput,\n output: PaypalCreateWebhookLookupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oFAAoF;AACtK,MAAM,oDAAkEA,IAAAA,EAAE,OAAO;CAC/E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC5D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACvD,OAAOA,IAAAA,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAEjE,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,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/create-webhook-lookup.d.ts
|
|
4
|
+
declare const PaypalCreateWebhookLookupInput: z.ZodTypeAny;
|
|
5
|
+
declare const PaypalCreateWebhookLookupOutput: z.ZodTypeAny;
|
|
6
|
+
declare const paypalCreateWebhookLookup: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { paypalCreateWebhookLookup };
|
|
9
|
+
//# sourceMappingURL=create-webhook-lookup.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-webhook-lookup.d.cts","names":[],"sources":["../../src/actions/create-webhook-lookup.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAAwH;AAAA,cAM1J,+BAAA,EAAiC,CAAA,CAAE,UAIkB;AAAA,cAErD,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/create-webhook-lookup.d.ts
|
|
4
|
+
declare const PaypalCreateWebhookLookupInput: z.ZodTypeAny;
|
|
5
|
+
declare const PaypalCreateWebhookLookupOutput: z.ZodTypeAny;
|
|
6
|
+
declare const paypalCreateWebhookLookup: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { paypalCreateWebhookLookup };
|
|
9
|
+
//# sourceMappingURL=create-webhook-lookup.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-webhook-lookup.d.mts","names":[],"sources":["../../src/actions/create-webhook-lookup.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAAwH;AAAA,cAM1J,+BAAA,EAAiC,CAAA,CAAE,UAIkB;AAAA,cAErD,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/create-webhook-lookup.ts
|
|
4
|
+
const PaypalCreateWebhookLookupInput = z.object({}).describe("Request model for creating a webhook lookup. This endpoint requires no parameters.");
|
|
5
|
+
const PaypalCreateWebhookLookup_WebhookLookupLinkSchema = z.object({
|
|
6
|
+
rel: z.string().describe("The link relationship type."),
|
|
7
|
+
href: z.string().describe("The URI of the related resource."),
|
|
8
|
+
method: z.string().describe("The HTTP method required to invoke the related resource.").nullable().optional()
|
|
9
|
+
}).describe("HATEOAS link information in webhook lookup responses.");
|
|
10
|
+
const paypalCreateWebhookLookup = action("PAYPAL_CREATE_WEBHOOK_LOOKUP", {
|
|
11
|
+
slug: "paypal-create-webhook-lookup",
|
|
12
|
+
name: "Create a webhook lookup",
|
|
13
|
+
description: "Creates a new PayPal webhook lookup to verify a webhook signature. Use this action when you need to initiate a webhook lookup to validate that a webhook endpoint is correctly receiving and processing PayPal event notifications. This is useful for testing webhook configurations or verifying webhook authenticity before enabling it in production. This is a create operation that returns the newly created webhook lookup details, including the lookup ID, client ID, and related HATEOAS links. The action requires no input parameters.",
|
|
14
|
+
input: PaypalCreateWebhookLookupInput,
|
|
15
|
+
output: z.object({
|
|
16
|
+
id: z.string().describe("The ID of the webhook lookup."),
|
|
17
|
+
links: z.array(PaypalCreateWebhookLookup_WebhookLookupLinkSchema).describe("An array of request-related HATEOAS links.").nullable().optional(),
|
|
18
|
+
client_id: z.string().describe("The application client ID.").nullable().optional()
|
|
19
|
+
}).describe("Response model for a created PayPal webhook lookup.")
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
export { paypalCreateWebhookLookup };
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=create-webhook-lookup.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-webhook-lookup.mjs","names":[],"sources":["../../src/actions/create-webhook-lookup.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalCreateWebhookLookupInput: z.ZodTypeAny = z.object({}).describe(\"Request model for creating a webhook lookup. This endpoint requires no parameters.\");\nconst PaypalCreateWebhookLookup_WebhookLookupLinkSchema: z.ZodTypeAny = z.object({\n rel: z.string().describe(\"The link relationship type.\"),\n href: z.string().describe(\"The URI of the related resource.\"),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n}).describe(\"HATEOAS link information in webhook lookup responses.\");\nexport const PaypalCreateWebhookLookupOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the webhook lookup.\"),\n links: z.array(PaypalCreateWebhookLookup_WebhookLookupLinkSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n client_id: z.string().describe(\"The application client ID.\").nullable().optional(),\n}).describe(\"Response model for a created PayPal webhook lookup.\");\n\nexport const paypalCreateWebhookLookup = action(\"PAYPAL_CREATE_WEBHOOK_LOOKUP\", {\n slug: \"paypal-create-webhook-lookup\",\n name: \"Create a webhook lookup\",\n description: \"Creates a new PayPal webhook lookup to verify a webhook signature. Use this action when you need to initiate a webhook lookup to validate that a webhook endpoint is correctly receiving and processing PayPal event notifications. This is useful for testing webhook configurations or verifying webhook authenticity before enabling it in production. This is a create operation that returns the newly created webhook lookup details, including the lookup ID, client ID, and related HATEOAS links. The action requires no input parameters.\",\n input: PaypalCreateWebhookLookupInput,\n output: PaypalCreateWebhookLookupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oFAAoF;AACtK,MAAM,oDAAkE,EAAE,OAAO;CAC/E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC5D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAOnE,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX2D,EAAE,OAAO;EACpE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;EACvD,OAAO,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,SAAS,qDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/create-webhook.ts
|
|
4
|
+
const PaypalCreateWebhookInput = zod.z.object({
|
|
5
|
+
url: zod.z.string().describe("The URL that is configured to listen on localhost for incoming POST notification messages that contain event information. The URL must be a valid HTTPS URL."),
|
|
6
|
+
event_types: zod.z.array(zod.z.object({
|
|
7
|
+
name: zod.z.string().describe("The name of the event type. For a list of all available events, use the List Available Events endpoint."),
|
|
8
|
+
status: zod.z.enum(["ENABLED", "DISABLED"]).describe("Status of the event type subscription.").optional(),
|
|
9
|
+
description: zod.z.string().describe("A description of the event type.").optional()
|
|
10
|
+
}).describe("An event type to subscribe to.")).describe("An array of events to which to subscribe your webhook. To subscribe to all events, including events as they are added, specify the asterisk wild card '*' as the name. To list all supported events, use the List Available Events endpoint.")
|
|
11
|
+
}).describe("Request schema for creating a PayPal webhook.\n\nUse this action when you need to set up a webhook endpoint to receive\nnotifications about PayPal events such as payment completions, disputes,\nor subscription updates.");
|
|
12
|
+
const PaypalCreateWebhook_LinkDescriptionSchema = zod.z.object({
|
|
13
|
+
rel: zod.z.string().describe("The link relationship type."),
|
|
14
|
+
href: zod.z.string().describe("The complete URL to the related resource."),
|
|
15
|
+
method: zod.z.string().describe("The HTTP method required to access the resource.").nullable().optional()
|
|
16
|
+
}).describe("HATEOAS link information.");
|
|
17
|
+
const PaypalCreateWebhook_EventTypeStatusSchema = zod.z.enum(["ENABLED", "DISABLED"]).describe("Status of the event type subscription.");
|
|
18
|
+
const PaypalCreateWebhook_EventTypeSchema = zod.z.object({
|
|
19
|
+
name: zod.z.string().describe("The name of the event type. For a list of all available events, use the List Available Events endpoint."),
|
|
20
|
+
status: PaypalCreateWebhook_EventTypeStatusSchema.nullable().optional(),
|
|
21
|
+
description: zod.z.string().describe("A description of the event type.").nullable().optional()
|
|
22
|
+
}).describe("An event type to subscribe to.");
|
|
23
|
+
const PaypalCreateWebhookOutput = zod.z.object({
|
|
24
|
+
id: zod.z.string().describe("The unique PayPal-generated ID for the webhook.").nullable().optional(),
|
|
25
|
+
url: zod.z.string().describe("The URL that is configured to listen on localhost for incoming POST notification messages.").nullable().optional(),
|
|
26
|
+
links: zod.z.array(PaypalCreateWebhook_LinkDescriptionSchema).describe("An array of request-related HATEOAS links.").nullable().optional(),
|
|
27
|
+
event_types: zod.z.array(PaypalCreateWebhook_EventTypeSchema).describe("An array of events to which the webhook is subscribed.").nullable().optional()
|
|
28
|
+
}).describe("Response schema for a created PayPal webhook.");
|
|
29
|
+
const paypalCreateWebhook = require_action.action("PAYPAL_CREATE_WEBHOOK", {
|
|
30
|
+
slug: "paypal-create-webhook",
|
|
31
|
+
name: "Create a webhook",
|
|
32
|
+
description: "Creates a PayPal webhook endpoint to receive notifications about events. Use this action when you need to set up a webhook to receive real-time notifications about PayPal events such as payment completions, refunds, disputes, or subscription changes. The webhook URL must be publicly accessible and support HTTPS. The action returns the created webhook object including its unique ID for later reference.",
|
|
33
|
+
input: PaypalCreateWebhookInput,
|
|
34
|
+
output: PaypalCreateWebhookOutput
|
|
35
|
+
});
|
|
36
|
+
//#endregion
|
|
37
|
+
exports.paypalCreateWebhook = paypalCreateWebhook;
|
|
38
|
+
|
|
39
|
+
//# sourceMappingURL=create-webhook.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-webhook.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalCreateWebhookInput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The URL that is configured to listen on localhost for incoming POST notification messages that contain event information. The URL must be a valid HTTPS URL.\"),\n event_types: z.array(z.object({\n name: z.string().describe(\"The name of the event type. For a list of all available events, use the List Available Events endpoint.\"),\n status: z.enum([\"ENABLED\", \"DISABLED\"]).describe(\"Status of the event type subscription.\").optional(),\n description: z.string().describe(\"A description of the event type.\").optional(),\n}).describe(\"An event type to subscribe to.\")).describe(\"An array of events to which to subscribe your webhook. To subscribe to all events, including events as they are added, specify the asterisk wild card '*' as the name. To list all supported events, use the List Available Events endpoint.\"),\n}).describe(\"Request schema for creating a PayPal webhook.\\n\\nUse this action when you need to set up a webhook endpoint to receive\\nnotifications about PayPal events such as payment completions, disputes,\\nor subscription updates.\");\nconst PaypalCreateWebhook_LinkDescriptionSchema: z.ZodTypeAny = z.object({\n rel: z.string().describe(\"The link relationship type.\"),\n href: z.string().describe(\"The complete URL to the related resource.\"),\n method: z.string().describe(\"The HTTP method required to access the resource.\").nullable().optional(),\n}).describe(\"HATEOAS link information.\");\nconst PaypalCreateWebhook_EventTypeStatusSchema: z.ZodTypeAny = z.enum([\"ENABLED\", \"DISABLED\"]).describe(\"Status of the event type subscription.\");\nconst PaypalCreateWebhook_EventTypeSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the event type. For a list of all available events, use the List Available Events endpoint.\"),\n status: PaypalCreateWebhook_EventTypeStatusSchema.nullable().optional(),\n description: z.string().describe(\"A description of the event type.\").nullable().optional(),\n}).describe(\"An event type to subscribe to.\");\nexport const PaypalCreateWebhookOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique PayPal-generated ID for the webhook.\").nullable().optional(),\n url: z.string().describe(\"The URL that is configured to listen on localhost for incoming POST notification messages.\").nullable().optional(),\n links: z.array(PaypalCreateWebhook_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n event_types: z.array(PaypalCreateWebhook_EventTypeSchema).describe(\"An array of events to which the webhook is subscribed.\").nullable().optional(),\n}).describe(\"Response schema for a created PayPal webhook.\");\n\nexport const paypalCreateWebhook = action(\"PAYPAL_CREATE_WEBHOOK\", {\n slug: \"paypal-create-webhook\",\n name: \"Create a webhook\",\n description: \"Creates a PayPal webhook endpoint to receive notifications about events. Use this action when you need to set up a webhook to receive real-time notifications about PayPal events such as payment completions, refunds, disputes, or subscription changes. The webhook URL must be publicly accessible and support HTTPS. The action returns the created webhook object including its unique ID for later reference.\",\n input: PaypalCreateWebhookInput,\n output: PaypalCreateWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J;CACvL,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC9B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG;EACnI,QAAQA,IAAAA,EAAE,KAAK,CAAC,WAAW,UAAU,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACpG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAChF,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,CAAC,SAAS,8OAA8O;AACtS,CAAC,CAAC,CAAC,SAAS,4NAA4N;AACxO,MAAM,4CAA0DA,IAAAA,EAAE,OAAO;CACvE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,2BAA2B;AACvC,MAAM,4CAA0DA,IAAAA,EAAE,KAAK,CAAC,WAAW,UAAU,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACjJ,MAAM,sCAAoDA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG;CACnI,QAAQ,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACtE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAC5C,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,OAAOA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,aAAaA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnJ,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAE3D,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/create-webhook.d.ts
|
|
4
|
+
declare const PaypalCreateWebhookInput: z.ZodTypeAny;
|
|
5
|
+
declare const PaypalCreateWebhookOutput: z.ZodTypeAny;
|
|
6
|
+
declare const paypalCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { paypalCreateWebhook };
|
|
9
|
+
//# sourceMappingURL=create-webhook.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-webhook.d.cts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAOgM;AAAA,cAY5N,yBAAA,EAA2B,CAAA,CAAE,UAKkB;AAAA,cAE/C,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/create-webhook.d.ts
|
|
4
|
+
declare const PaypalCreateWebhookInput: z.ZodTypeAny;
|
|
5
|
+
declare const PaypalCreateWebhookOutput: z.ZodTypeAny;
|
|
6
|
+
declare const paypalCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { paypalCreateWebhook };
|
|
9
|
+
//# sourceMappingURL=create-webhook.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-webhook.d.mts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAOgM;AAAA,cAY5N,yBAAA,EAA2B,CAAA,CAAE,UAKkB;AAAA,cAE/C,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/create-webhook.ts
|
|
4
|
+
const PaypalCreateWebhookInput = z.object({
|
|
5
|
+
url: z.string().describe("The URL that is configured to listen on localhost for incoming POST notification messages that contain event information. The URL must be a valid HTTPS URL."),
|
|
6
|
+
event_types: z.array(z.object({
|
|
7
|
+
name: z.string().describe("The name of the event type. For a list of all available events, use the List Available Events endpoint."),
|
|
8
|
+
status: z.enum(["ENABLED", "DISABLED"]).describe("Status of the event type subscription.").optional(),
|
|
9
|
+
description: z.string().describe("A description of the event type.").optional()
|
|
10
|
+
}).describe("An event type to subscribe to.")).describe("An array of events to which to subscribe your webhook. To subscribe to all events, including events as they are added, specify the asterisk wild card '*' as the name. To list all supported events, use the List Available Events endpoint.")
|
|
11
|
+
}).describe("Request schema for creating a PayPal webhook.\n\nUse this action when you need to set up a webhook endpoint to receive\nnotifications about PayPal events such as payment completions, disputes,\nor subscription updates.");
|
|
12
|
+
const PaypalCreateWebhook_LinkDescriptionSchema = z.object({
|
|
13
|
+
rel: z.string().describe("The link relationship type."),
|
|
14
|
+
href: z.string().describe("The complete URL to the related resource."),
|
|
15
|
+
method: z.string().describe("The HTTP method required to access the resource.").nullable().optional()
|
|
16
|
+
}).describe("HATEOAS link information.");
|
|
17
|
+
const PaypalCreateWebhook_EventTypeStatusSchema = z.enum(["ENABLED", "DISABLED"]).describe("Status of the event type subscription.");
|
|
18
|
+
const PaypalCreateWebhook_EventTypeSchema = z.object({
|
|
19
|
+
name: z.string().describe("The name of the event type. For a list of all available events, use the List Available Events endpoint."),
|
|
20
|
+
status: PaypalCreateWebhook_EventTypeStatusSchema.nullable().optional(),
|
|
21
|
+
description: z.string().describe("A description of the event type.").nullable().optional()
|
|
22
|
+
}).describe("An event type to subscribe to.");
|
|
23
|
+
const paypalCreateWebhook = action("PAYPAL_CREATE_WEBHOOK", {
|
|
24
|
+
slug: "paypal-create-webhook",
|
|
25
|
+
name: "Create a webhook",
|
|
26
|
+
description: "Creates a PayPal webhook endpoint to receive notifications about events. Use this action when you need to set up a webhook to receive real-time notifications about PayPal events such as payment completions, refunds, disputes, or subscription changes. The webhook URL must be publicly accessible and support HTTPS. The action returns the created webhook object including its unique ID for later reference.",
|
|
27
|
+
input: PaypalCreateWebhookInput,
|
|
28
|
+
output: z.object({
|
|
29
|
+
id: z.string().describe("The unique PayPal-generated ID for the webhook.").nullable().optional(),
|
|
30
|
+
url: z.string().describe("The URL that is configured to listen on localhost for incoming POST notification messages.").nullable().optional(),
|
|
31
|
+
links: z.array(PaypalCreateWebhook_LinkDescriptionSchema).describe("An array of request-related HATEOAS links.").nullable().optional(),
|
|
32
|
+
event_types: z.array(PaypalCreateWebhook_EventTypeSchema).describe("An array of events to which the webhook is subscribed.").nullable().optional()
|
|
33
|
+
}).describe("Response schema for a created PayPal webhook.")
|
|
34
|
+
});
|
|
35
|
+
//#endregion
|
|
36
|
+
export { paypalCreateWebhook };
|
|
37
|
+
|
|
38
|
+
//# sourceMappingURL=create-webhook.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalCreateWebhookInput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The URL that is configured to listen on localhost for incoming POST notification messages that contain event information. The URL must be a valid HTTPS URL.\"),\n event_types: z.array(z.object({\n name: z.string().describe(\"The name of the event type. For a list of all available events, use the List Available Events endpoint.\"),\n status: z.enum([\"ENABLED\", \"DISABLED\"]).describe(\"Status of the event type subscription.\").optional(),\n description: z.string().describe(\"A description of the event type.\").optional(),\n}).describe(\"An event type to subscribe to.\")).describe(\"An array of events to which to subscribe your webhook. To subscribe to all events, including events as they are added, specify the asterisk wild card '*' as the name. To list all supported events, use the List Available Events endpoint.\"),\n}).describe(\"Request schema for creating a PayPal webhook.\\n\\nUse this action when you need to set up a webhook endpoint to receive\\nnotifications about PayPal events such as payment completions, disputes,\\nor subscription updates.\");\nconst PaypalCreateWebhook_LinkDescriptionSchema: z.ZodTypeAny = z.object({\n rel: z.string().describe(\"The link relationship type.\"),\n href: z.string().describe(\"The complete URL to the related resource.\"),\n method: z.string().describe(\"The HTTP method required to access the resource.\").nullable().optional(),\n}).describe(\"HATEOAS link information.\");\nconst PaypalCreateWebhook_EventTypeStatusSchema: z.ZodTypeAny = z.enum([\"ENABLED\", \"DISABLED\"]).describe(\"Status of the event type subscription.\");\nconst PaypalCreateWebhook_EventTypeSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the event type. For a list of all available events, use the List Available Events endpoint.\"),\n status: PaypalCreateWebhook_EventTypeStatusSchema.nullable().optional(),\n description: z.string().describe(\"A description of the event type.\").nullable().optional(),\n}).describe(\"An event type to subscribe to.\");\nexport const PaypalCreateWebhookOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique PayPal-generated ID for the webhook.\").nullable().optional(),\n url: z.string().describe(\"The URL that is configured to listen on localhost for incoming POST notification messages.\").nullable().optional(),\n links: z.array(PaypalCreateWebhook_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n event_types: z.array(PaypalCreateWebhook_EventTypeSchema).describe(\"An array of events to which the webhook is subscribed.\").nullable().optional(),\n}).describe(\"Response schema for a created PayPal webhook.\");\n\nexport const paypalCreateWebhook = action(\"PAYPAL_CREATE_WEBHOOK\", {\n slug: \"paypal-create-webhook\",\n name: \"Create a webhook\",\n description: \"Creates a PayPal webhook endpoint to receive notifications about events. Use this action when you need to set up a webhook to receive real-time notifications about PayPal events such as payment completions, refunds, disputes, or subscription changes. The webhook URL must be publicly accessible and support HTTPS. The action returns the created webhook object including its unique ID for later reference.\",\n input: PaypalCreateWebhookInput,\n output: PaypalCreateWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO;CAC7D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J;CACvL,aAAa,EAAE,MAAM,EAAE,OAAO;EAC9B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG;EACnI,QAAQ,EAAE,KAAK,CAAC,WAAW,UAAU,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACpG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAChF,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,CAAC,SAAS,8OAA8O;AACtS,CAAC,CAAC,CAAC,SAAS,4NAA4N;AACxO,MAAM,4CAA0D,EAAE,OAAO;CACvE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,2BAA2B;AACvC,MAAM,4CAA0D,EAAE,KAAK,CAAC,WAAW,UAAU,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACjJ,MAAM,sCAAoD,EAAE,OAAO;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG;CACnI,QAAQ,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACtE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAQ5C,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZqD,EAAE,OAAO;EAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3I,OAAO,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,aAAa,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnJ,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/deactivate-plan.ts
|
|
4
|
+
const PaypalDeactivatePlanInput = zod.z.object({ id: zod.z.string().describe("The unique plan identifier. Required.") }).describe("Input model for deactivate plan action");
|
|
5
|
+
const PaypalDeactivatePlanOutput = zod.z.object({
|
|
6
|
+
message: zod.z.string().describe("Status message about the deactivation operation"),
|
|
7
|
+
success: zod.z.boolean().describe("Indicates whether the plan deactivation was successful")
|
|
8
|
+
}).describe("Output model for deactivate plan action");
|
|
9
|
+
const paypalDeactivatePlan = require_action.action("PAYPAL_DEACTIVATE_PLAN", {
|
|
10
|
+
slug: "paypal-deactivate-plan",
|
|
11
|
+
name: "Deactivate Plan",
|
|
12
|
+
description: "Deactivates a PayPal billing plan, making it unavailable for new subscriptions while preserving existing subscriptions. Use this action when you need to stop offering a particular billing plan without deleting it. Existing subscriptions will continue to work, but no new subscriptions can be created with this plan. Note: Only plans in an ACTIVE state can be deactivated. Deactivated plans cannot be reactivated.",
|
|
13
|
+
input: PaypalDeactivatePlanInput,
|
|
14
|
+
output: PaypalDeactivatePlanOutput
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
exports.paypalDeactivatePlan = paypalDeactivatePlan;
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=deactivate-plan.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deactivate-plan.cjs","names":["z","action"],"sources":["../../src/actions/deactivate-plan.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeactivatePlanInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique plan identifier. Required.\"),\n}).describe(\"Input model for deactivate plan action\");\nexport const PaypalDeactivatePlanOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Status message about the deactivation operation\"),\n success: z.boolean().describe(\"Indicates whether the plan deactivation was successful\"),\n}).describe(\"Output model for deactivate plan action\");\n\nexport const paypalDeactivatePlan = action(\"PAYPAL_DEACTIVATE_PLAN\", {\n slug: \"paypal-deactivate-plan\",\n name: \"Deactivate Plan\",\n description: \"Deactivates a PayPal billing plan, making it unavailable for new subscriptions while preserving existing subscriptions. Use this action when you need to stop offering a particular billing plan without deleting it. Existing subscriptions will continue to work, but no new subscriptions can be created with this plan. Note: Only plans in an ACTIVE state can be deactivated. Deactivated plans cannot be reactivated.\",\n input: PaypalDeactivatePlanInput,\n output: PaypalDeactivatePlanOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,EACjE,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC9E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD;AACxF,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAErD,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,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/deactivate-plan.d.ts
|
|
4
|
+
declare const PaypalDeactivatePlanInput: z.ZodTypeAny;
|
|
5
|
+
declare const PaypalDeactivatePlanOutput: z.ZodTypeAny;
|
|
6
|
+
declare const paypalDeactivatePlan: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { paypalDeactivatePlan };
|
|
9
|
+
//# sourceMappingURL=deactivate-plan.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deactivate-plan.d.cts","names":[],"sources":["../../src/actions/deactivate-plan.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAEW;AAAA,cACxC,0BAAA,EAA4B,CAAA,CAAE,UAGW;AAAA,cAEzC,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/deactivate-plan.d.ts
|
|
4
|
+
declare const PaypalDeactivatePlanInput: z.ZodTypeAny;
|
|
5
|
+
declare const PaypalDeactivatePlanOutput: z.ZodTypeAny;
|
|
6
|
+
declare const paypalDeactivatePlan: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { paypalDeactivatePlan };
|
|
9
|
+
//# sourceMappingURL=deactivate-plan.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deactivate-plan.d.mts","names":[],"sources":["../../src/actions/deactivate-plan.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAEW;AAAA,cACxC,0BAAA,EAA4B,CAAA,CAAE,UAGW;AAAA,cAEzC,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const paypalDeactivatePlan = action("PAYPAL_DEACTIVATE_PLAN", {
|
|
4
|
+
slug: "paypal-deactivate-plan",
|
|
5
|
+
name: "Deactivate Plan",
|
|
6
|
+
description: "Deactivates a PayPal billing plan, making it unavailable for new subscriptions while preserving existing subscriptions. Use this action when you need to stop offering a particular billing plan without deleting it. Existing subscriptions will continue to work, but no new subscriptions can be created with this plan. Note: Only plans in an ACTIVE state can be deactivated. Deactivated plans cannot be reactivated.",
|
|
7
|
+
input: z.object({ id: z.string().describe("The unique plan identifier. Required.") }).describe("Input model for deactivate plan action"),
|
|
8
|
+
output: z.object({
|
|
9
|
+
message: z.string().describe("Status message about the deactivation operation"),
|
|
10
|
+
success: z.boolean().describe("Indicates whether the plan deactivation was successful")
|
|
11
|
+
}).describe("Output model for deactivate plan action")
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
export { paypalDeactivatePlan };
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=deactivate-plan.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deactivate-plan.mjs","names":[],"sources":["../../src/actions/deactivate-plan.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeactivatePlanInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique plan identifier. Required.\"),\n}).describe(\"Input model for deactivate plan action\");\nexport const PaypalDeactivatePlanOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Status message about the deactivation operation\"),\n success: z.boolean().describe(\"Indicates whether the plan deactivation was successful\"),\n}).describe(\"Output model for deactivate plan action\");\n\nexport const paypalDeactivatePlan = action(\"PAYPAL_DEACTIVATE_PLAN\", {\n slug: \"paypal-deactivate-plan\",\n name: \"Deactivate Plan\",\n description: \"Deactivates a PayPal billing plan, making it unavailable for new subscriptions while preserving existing subscriptions. Use this action when you need to stop offering a particular billing plan without deleting it. Existing subscriptions will continue to work, but no new subscriptions can be created with this plan. Note: Only plans in an ACTIVE state can be deactivated. Deactivated plans cannot be reactivated.\",\n input: PaypalDeactivatePlanInput,\n output: PaypalDeactivatePlanOutput,\n});\n"],"mappings":";;AAYA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZqD,EAAE,OAAO,EAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,EACjE,CAAC,CAAC,CAAC,SAAS,wCAUH;CACP,QAVsD,EAAE,OAAO;EAC/D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EAC9E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD;CACxF,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/delete-external-payment.ts
|
|
4
|
+
const PaypalDeleteExternalPaymentInput = zod.z.object({
|
|
5
|
+
invoice_id: zod.z.string().describe("The unique identifier of the invoice from which to delete the external payment. This is the invoice ID returned when creating or listing invoices."),
|
|
6
|
+
transaction_id: zod.z.string().describe("The unique identifier of the external payment transaction to delete. This is the transaction ID associated with the payment record on the invoice.")
|
|
7
|
+
}).describe("Request schema for deleting an external payment from an invoice.\n\nUse this when you need to remove a specific external payment transaction\nfrom an existing PayPal invoice.");
|
|
8
|
+
const PaypalDeleteExternalPaymentOutput = zod.z.object({
|
|
9
|
+
success: zod.z.boolean().default(true).describe("Indicates whether the external payment deletion was successful.").nullable().optional(),
|
|
10
|
+
invoice_id: zod.z.string().describe("The ID of the invoice from which the external payment was deleted.").nullable().optional(),
|
|
11
|
+
transaction_id: zod.z.string().describe("The ID of the external payment that was deleted.").nullable().optional()
|
|
12
|
+
}).describe("Response schema returned after deleting an external payment from an invoice.");
|
|
13
|
+
const paypalDeleteExternalPayment = require_action.action("PAYPAL_DELETE_EXTERNAL_PAYMENT", {
|
|
14
|
+
slug: "paypal-delete-external-payment",
|
|
15
|
+
name: "Delete Invoice External Payment",
|
|
16
|
+
description: "Permanently deletes an external payment from a specified PayPal invoice. Use when you need to remove a specific external payment transaction that was incorrectly recorded on an invoice. This action is irreversible — once deleted, the payment record cannot be recovered. A successful deletion returns HTTP 204 No Content with no JSON response body. This action is idempotent — attempting to delete a non-existent payment record also returns success.",
|
|
17
|
+
input: PaypalDeleteExternalPaymentInput,
|
|
18
|
+
output: PaypalDeleteExternalPaymentOutput
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
exports.paypalDeleteExternalPayment = paypalDeleteExternalPayment;
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=delete-external-payment.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-external-payment.cjs","names":["z","action"],"sources":["../../src/actions/delete-external-payment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeleteExternalPaymentInput: z.ZodTypeAny = z.object({\n invoice_id: z.string().describe(\"The unique identifier of the invoice from which to delete the external payment. This is the invoice ID returned when creating or listing invoices.\"),\n transaction_id: z.string().describe(\"The unique identifier of the external payment transaction to delete. This is the transaction ID associated with the payment record on the invoice.\"),\n}).describe(\"Request schema for deleting an external payment from an invoice.\\n\\nUse this when you need to remove a specific external payment transaction\\nfrom an existing PayPal invoice.\");\nexport const PaypalDeleteExternalPaymentOutput: z.ZodTypeAny = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the external payment deletion was successful.\").nullable().optional(),\n invoice_id: z.string().describe(\"The ID of the invoice from which the external payment was deleted.\").nullable().optional(),\n transaction_id: z.string().describe(\"The ID of the external payment that was deleted.\").nullable().optional(),\n}).describe(\"Response schema returned after deleting an external payment from an invoice.\");\n\nexport const paypalDeleteExternalPayment = action(\"PAYPAL_DELETE_EXTERNAL_PAYMENT\", {\n slug: \"paypal-delete-external-payment\",\n name: \"Delete Invoice External Payment\",\n description: \"Permanently deletes an external payment from a specified PayPal invoice. Use when you need to remove a specific external payment transaction that was incorrectly recorded on an invoice. This action is irreversible — once deleted, the payment record cannot be recovered. A successful deletion returns HTTP 204 No Content with no JSON response body. This action is idempotent — attempting to delete a non-existent payment record also returns success.\",\n input: PaypalDeleteExternalPaymentInput,\n output: PaypalDeleteExternalPaymentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ;CACpL,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ;AAC1L,CAAC,CAAC,CAAC,SAAS,gLAAgL;AAC5L,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAE1F,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,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/delete-external-payment.d.ts
|
|
4
|
+
declare const PaypalDeleteExternalPaymentInput: z.ZodTypeAny;
|
|
5
|
+
declare const PaypalDeleteExternalPaymentOutput: z.ZodTypeAny;
|
|
6
|
+
declare const paypalDeleteExternalPayment: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { paypalDeleteExternalPayment };
|
|
9
|
+
//# sourceMappingURL=delete-external-payment.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-external-payment.d.cts","names":[],"sources":["../../src/actions/delete-external-payment.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAG4I;AAAA,cAChL,iCAAA,EAAmC,CAAA,CAAE,UAIyC;AAAA,cAE9E,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-external-payment.d.ts
|
|
4
|
+
declare const PaypalDeleteExternalPaymentInput: z.ZodTypeAny;
|
|
5
|
+
declare const PaypalDeleteExternalPaymentOutput: z.ZodTypeAny;
|
|
6
|
+
declare const paypalDeleteExternalPayment: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { paypalDeleteExternalPayment };
|
|
9
|
+
//# sourceMappingURL=delete-external-payment.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-external-payment.d.mts","names":[],"sources":["../../src/actions/delete-external-payment.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAG4I;AAAA,cAChL,iCAAA,EAAmC,CAAA,CAAE,UAIyC;AAAA,cAE9E,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const paypalDeleteExternalPayment = action("PAYPAL_DELETE_EXTERNAL_PAYMENT", {
|
|
4
|
+
slug: "paypal-delete-external-payment",
|
|
5
|
+
name: "Delete Invoice External Payment",
|
|
6
|
+
description: "Permanently deletes an external payment from a specified PayPal invoice. Use when you need to remove a specific external payment transaction that was incorrectly recorded on an invoice. This action is irreversible — once deleted, the payment record cannot be recovered. A successful deletion returns HTTP 204 No Content with no JSON response body. This action is idempotent — attempting to delete a non-existent payment record also returns success.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
invoice_id: z.string().describe("The unique identifier of the invoice from which to delete the external payment. This is the invoice ID returned when creating or listing invoices."),
|
|
9
|
+
transaction_id: z.string().describe("The unique identifier of the external payment transaction to delete. This is the transaction ID associated with the payment record on the invoice.")
|
|
10
|
+
}).describe("Request schema for deleting an external payment from an invoice.\n\nUse this when you need to remove a specific external payment transaction\nfrom an existing PayPal invoice."),
|
|
11
|
+
output: z.object({
|
|
12
|
+
success: z.boolean().default(true).describe("Indicates whether the external payment deletion was successful.").nullable().optional(),
|
|
13
|
+
invoice_id: z.string().describe("The ID of the invoice from which the external payment was deleted.").nullable().optional(),
|
|
14
|
+
transaction_id: z.string().describe("The ID of the external payment that was deleted.").nullable().optional()
|
|
15
|
+
}).describe("Response schema returned after deleting an external payment from an invoice.")
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
export { paypalDeleteExternalPayment };
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=delete-external-payment.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-external-payment.mjs","names":[],"sources":["../../src/actions/delete-external-payment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeleteExternalPaymentInput: z.ZodTypeAny = z.object({\n invoice_id: z.string().describe(\"The unique identifier of the invoice from which to delete the external payment. This is the invoice ID returned when creating or listing invoices.\"),\n transaction_id: z.string().describe(\"The unique identifier of the external payment transaction to delete. This is the transaction ID associated with the payment record on the invoice.\"),\n}).describe(\"Request schema for deleting an external payment from an invoice.\\n\\nUse this when you need to remove a specific external payment transaction\\nfrom an existing PayPal invoice.\");\nexport const PaypalDeleteExternalPaymentOutput: z.ZodTypeAny = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the external payment deletion was successful.\").nullable().optional(),\n invoice_id: z.string().describe(\"The ID of the invoice from which the external payment was deleted.\").nullable().optional(),\n transaction_id: z.string().describe(\"The ID of the external payment that was deleted.\").nullable().optional(),\n}).describe(\"Response schema returned after deleting an external payment from an invoice.\");\n\nexport const paypalDeleteExternalPayment = action(\"PAYPAL_DELETE_EXTERNAL_PAYMENT\", {\n slug: \"paypal-delete-external-payment\",\n name: \"Delete Invoice External Payment\",\n description: \"Permanently deletes an external payment from a specified PayPal invoice. Use when you need to remove a specific external payment transaction that was incorrectly recorded on an invoice. This action is irreversible — once deleted, the payment record cannot be recovered. A successful deletion returns HTTP 204 No Content with no JSON response body. This action is idempotent — attempting to delete a non-existent payment record also returns success.\",\n input: PaypalDeleteExternalPaymentInput,\n output: PaypalDeleteExternalPaymentOutput,\n});\n"],"mappings":";;AAcA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd4D,EAAE,OAAO;EACrE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ;EACpL,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ;CAC1L,CAAC,CAAC,CAAC,SAAS,gLAWH;CACP,QAX6D,EAAE,OAAO;EACtE,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,SAAS,8EAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/delete-invoice-payment-record.ts
|
|
4
|
+
const PaypalDeleteInvoicePaymentRecordInput = zod.z.object({
|
|
5
|
+
invoice_id: zod.z.string().describe("The ID of the invoice from which to delete the payment record."),
|
|
6
|
+
transaction_id: zod.z.string().describe("The ID of the payment transaction record to delete from the invoice.")
|
|
7
|
+
}).describe("Request model for deleting a payment record from an invoice.");
|
|
8
|
+
const PaypalDeleteInvoicePaymentRecordOutput = zod.z.object({
|
|
9
|
+
success: zod.z.boolean().default(true).describe("Indicates whether the payment record deletion was successful.").nullable().optional(),
|
|
10
|
+
invoice_id: zod.z.string().describe("The ID of the invoice from which the payment record was deleted.").nullable().optional(),
|
|
11
|
+
transaction_id: zod.z.string().describe("The ID of the payment record that was deleted.").nullable().optional()
|
|
12
|
+
}).describe("Response model for deleting a payment record from an invoice.");
|
|
13
|
+
const paypalDeleteInvoicePaymentRecord = require_action.action("PAYPAL_DELETE_INVOICE_PAYMENT_RECORD", {
|
|
14
|
+
slug: "paypal-delete-invoice-payment-record",
|
|
15
|
+
name: "Delete invoice payment record",
|
|
16
|
+
description: "Deletes a payment record from a PayPal invoice. Use this action when you need to remove a specific payment transaction record that was incorrectly applied to an invoice. This action permanently removes the payment record from the invoice. This action is irreversible — once deleted, the payment record cannot be recovered. A successful deletion returns HTTP 204 No Content with no response body. This action is idempotent — attempting to delete a non-existent payment record also returns success.",
|
|
17
|
+
input: PaypalDeleteInvoicePaymentRecordInput,
|
|
18
|
+
output: PaypalDeleteInvoicePaymentRecordOutput
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
exports.paypalDeleteInvoicePaymentRecord = paypalDeleteInvoicePaymentRecord;
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=delete-invoice-payment-record.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-invoice-payment-record.cjs","names":["z","action"],"sources":["../../src/actions/delete-invoice-payment-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeleteInvoicePaymentRecordInput: z.ZodTypeAny = z.object({\n invoice_id: z.string().describe(\"The ID of the invoice from which to delete the payment record.\"),\n transaction_id: z.string().describe(\"The ID of the payment transaction record to delete from the invoice.\"),\n}).describe(\"Request model for deleting a payment record from an invoice.\");\nexport const PaypalDeleteInvoicePaymentRecordOutput: z.ZodTypeAny = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the payment record deletion was successful.\").nullable().optional(),\n invoice_id: z.string().describe(\"The ID of the invoice from which the payment record was deleted.\").nullable().optional(),\n transaction_id: z.string().describe(\"The ID of the payment record that was deleted.\").nullable().optional(),\n}).describe(\"Response model for deleting a payment record from an invoice.\");\n\nexport const paypalDeleteInvoicePaymentRecord = action(\"PAYPAL_DELETE_INVOICE_PAYMENT_RECORD\", {\n slug: \"paypal-delete-invoice-payment-record\",\n name: \"Delete invoice payment record\",\n description: \"Deletes a payment record from a PayPal invoice. Use this action when you need to remove a specific payment transaction record that was incorrectly applied to an invoice. This action permanently removes the payment record from the invoice. This action is irreversible — once deleted, the payment record cannot be recovered. A successful deletion returns HTTP 204 No Content with no response body. This action is idempotent — attempting to delete a non-existent payment record also returns success.\",\n input: PaypalDeleteInvoicePaymentRecordInput,\n output: PaypalDeleteInvoicePaymentRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsDA,IAAAA,EAAE,OAAO;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CAChG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;AAC5G,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,yCAAuDA,IAAAA,EAAE,OAAO;CAC3E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAE3E,MAAa,mCAAmCC,eAAAA,OAAO,wCAAwC;CAC7F,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/delete-invoice-payment-record.d.ts
|
|
4
|
+
declare const PaypalDeleteInvoicePaymentRecordInput: z.ZodTypeAny;
|
|
5
|
+
declare const PaypalDeleteInvoicePaymentRecordOutput: z.ZodTypeAny;
|
|
6
|
+
declare const paypalDeleteInvoicePaymentRecord: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { paypalDeleteInvoicePaymentRecord };
|
|
9
|
+
//# sourceMappingURL=delete-invoice-payment-record.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-invoice-payment-record.d.cts","names":[],"sources":["../../src/actions/delete-invoice-payment-record.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAGqB;AAAA,cAC9D,sCAAA,EAAwC,CAAA,CAAE,UAIqB;AAAA,cAE/D,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-invoice-payment-record.d.ts
|
|
4
|
+
declare const PaypalDeleteInvoicePaymentRecordInput: z.ZodTypeAny;
|
|
5
|
+
declare const PaypalDeleteInvoicePaymentRecordOutput: z.ZodTypeAny;
|
|
6
|
+
declare const paypalDeleteInvoicePaymentRecord: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { paypalDeleteInvoicePaymentRecord };
|
|
9
|
+
//# sourceMappingURL=delete-invoice-payment-record.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-invoice-payment-record.d.mts","names":[],"sources":["../../src/actions/delete-invoice-payment-record.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAGqB;AAAA,cAC9D,sCAAA,EAAwC,CAAA,CAAE,UAIqB;AAAA,cAE/D,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|